Skip to content

Commit

Permalink
fix: #841/remove unsued imports
Browse files Browse the repository at this point in the history
  • Loading branch information
tsvetelina-e-y committed Apr 15, 2020
1 parent 03fce4b commit fbb706f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 21 deletions.
11 changes: 3 additions & 8 deletions apps/api/src/app/core/seeds/SeedDataService.ts
Expand Up @@ -289,14 +289,9 @@ export class SeedDataService {
employees: [...employees.defaultEmployees]
});

const productCategories = await createProductCategories(
this.connection,
defaultOrganization
);
const productTypes = await createProductTypes(
this.connection,
defaultOrganization
);
await createProductCategories(this.connection, defaultOrganization);

await createProductTypes(this.connection, defaultOrganization);

this.log(
chalk.green(
Expand Down
@@ -1,6 +1,5 @@
import { ApiTags, ApiOperation, ApiResponse } from '@nestjs/swagger';
import { UseGuards, Controller, Get, HttpStatus, Query } from '@nestjs/common';
import { AuthGuard } from '@nestjs/passport';
import { Controller, Get, HttpStatus, Query } from '@nestjs/common';
import { CrudController, IPagination } from '../core';
import { ProductCategory } from './product-category.entity';
import { ProductCategoryService } from './product-category.service';
Expand Down
11 changes: 1 addition & 10 deletions apps/api/src/app/product-variant/product-variant.entity.ts
@@ -1,14 +1,5 @@
import { Base } from '../core/entities/base';
import {
Entity,
Column,
OneToMany,
ManyToOne,
ManyToMany,
JoinTable,
OneToOne,
RelationId
} from 'typeorm';
import { Entity, Column, ManyToOne, OneToOne, RelationId } from 'typeorm';
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
import { ProductVariant as IProductVariant } from '@gauzy/models';
import { ProductVariantPrice } from '../product-variant-price/product-variant-price.entity';
Expand Down
1 change: 0 additions & 1 deletion apps/gauzy/src/app/pages/inventory/inventory.module.ts
Expand Up @@ -17,7 +17,6 @@ import { TranslateHttpLoader } from '@ngx-translate/http-loader';
import { HttpClient } from '@angular/common/http';
import { ProductMutationComponent } from '../../@shared/product-mutation/product-mutation.component';
import { ProductMutationModule } from '../../@shared/product-mutation/product-mutation.module';
import { UserFormsModule } from '../../@shared/user/forms/user-forms.module';
import { ThemeModule } from '../../@theme/theme.module';

export function HttpLoaderFactory(http: HttpClient) {
Expand Down

0 comments on commit fbb706f

Please sign in to comment.