Moved the product model for consistency with other model types

This commit is contained in:
Christopher Allford 2020-09-25 14:08:19 -07:00
parent 789773c65c
commit ef93f22321
5 changed files with 8 additions and 8 deletions

View File

@ -1 +1 @@
export { SimpleProduct } from './product/simple-product';
export { SimpleProduct } from './products/simple-product';

View File

@ -1,7 +1,7 @@
import { AbstractProduct } from './abstract-product';
import { HTTPClient } from '../../http';
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.

View File

@ -1,8 +1,8 @@
import { simpleProductRESTRepository } from '../simple-product';
import { mock, MockProxy } from 'jest-mock-extended';
import { HTTPClient, HTTPResponse } from '../../../http';
import { SimpleProduct } from '../../../models';
import { CreatesModels } from '../../../framework/model-repository';
import { HTTPClient, HTTPResponse } from '../../../../http';
import { SimpleProduct } from '../../../../models';
import { CreatesModels } from '../../../../framework/model-repository';
describe( 'simpleProductRESTRepository', () => {
let httpClient: MockProxy< HTTPClient >;

View File

@ -1,6 +1,6 @@
import { HTTPClient } from '../../http';
import { CreateFn, CreatesModels, ModelRepository } from '../../framework/model-repository';
import { SimpleProduct } from '../../models';
import { HTTPClient } from '../../../http';
import { CreateFn, CreatesModels, ModelRepository } from '../../../framework/model-repository';
import { SimpleProduct } from '../../../models';
/**
* Creates a callback for REST model creation.