25 lines
873 B
TypeScript
25 lines
873 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { DatabaseModule } from '../database/database.module';
|
|
import { IdentityModule } from '../identity/identity.module';
|
|
import { ProductStore } from './product.store';
|
|
import { VariantStore } from './variant.store';
|
|
import { GroupStore } from './group.store';
|
|
import { StorefrontStore } from './storefront.store';
|
|
import { ProductsController } from './products.controller';
|
|
import { GroupsController } from './groups.controller';
|
|
import { StorefrontController } from './storefront.controller';
|
|
import { StorefrontGuard } from './storefront.guard';
|
|
|
|
@Module({
|
|
imports: [DatabaseModule, IdentityModule],
|
|
providers: [
|
|
ProductStore,
|
|
VariantStore,
|
|
GroupStore,
|
|
StorefrontStore,
|
|
StorefrontGuard,
|
|
],
|
|
controllers: [ProductsController, GroupsController, StorefrontController],
|
|
})
|
|
export class CatalogModule {}
|