Moved the product model for consistency with other model types
This commit is contained in:
parent
789773c65c
commit
ef93f22321
|
@ -1 +1 @@
|
||||||
export { SimpleProduct } from './product/simple-product';
|
export { SimpleProduct } from './products/simple-product';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { AbstractProduct } from './abstract-product';
|
import { AbstractProduct } from './abstract-product';
|
||||||
import { HTTPClient } from '../../http';
|
import { HTTPClient } from '../../http';
|
||||||
import { CreatesModels } from '../../framework/model-repository';
|
import { CreatesModels } from '../../framework/model-repository';
|
||||||
import { simpleProductRESTRepository } from '../../repositories/rest/simple-product';
|
import { simpleProductRESTRepository } from '../../repositories/rest/products/simple-product';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A simple product object.
|
* A simple product object.
|
|
@ -1,8 +1,8 @@
|
||||||
import { simpleProductRESTRepository } from '../simple-product';
|
import { simpleProductRESTRepository } from '../simple-product';
|
||||||
import { mock, MockProxy } from 'jest-mock-extended';
|
import { mock, MockProxy } from 'jest-mock-extended';
|
||||||
import { HTTPClient, HTTPResponse } from '../../../http';
|
import { HTTPClient, HTTPResponse } from '../../../../http';
|
||||||
import { SimpleProduct } from '../../../models';
|
import { SimpleProduct } from '../../../../models';
|
||||||
import { CreatesModels } from '../../../framework/model-repository';
|
import { CreatesModels } from '../../../../framework/model-repository';
|
||||||
|
|
||||||
describe( 'simpleProductRESTRepository', () => {
|
describe( 'simpleProductRESTRepository', () => {
|
||||||
let httpClient: MockProxy< HTTPClient >;
|
let httpClient: MockProxy< HTTPClient >;
|
|
@ -1,6 +1,6 @@
|
||||||
import { HTTPClient } from '../../http';
|
import { HTTPClient } from '../../../http';
|
||||||
import { CreateFn, CreatesModels, ModelRepository } from '../../framework/model-repository';
|
import { CreateFn, CreatesModels, ModelRepository } from '../../../framework/model-repository';
|
||||||
import { SimpleProduct } from '../../models';
|
import { SimpleProduct } from '../../../models';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a callback for REST model creation.
|
* Creates a callback for REST model creation.
|
Loading…
Reference in New Issue