docs
This commit is contained in:
23
apps/api/src/shops/shops.module.ts
Normal file
23
apps/api/src/shops/shops.module.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { Character } from '../characters/entities/character.entity';
|
||||
import { ConditionsModule } from '../conditions/conditions.module';
|
||||
import { CharacterItem } from '../items/entities/character-item.entity';
|
||||
import { NpcsModule } from '../npcs/npcs.module';
|
||||
import { NpcShop } from './entities/npc-shop.entity';
|
||||
import { ShopOffer } from './entities/shop-offer.entity';
|
||||
import { ShopController } from './shop.controller';
|
||||
import { ShopService } from './shop.service';
|
||||
|
||||
/** Buying things for Silver (NPC spec §15, §29). */
|
||||
@Module({
|
||||
imports: [
|
||||
TypeOrmModule.forFeature([Character, CharacterItem, NpcShop, ShopOffer]),
|
||||
ConditionsModule,
|
||||
NpcsModule,
|
||||
],
|
||||
controllers: [ShopController],
|
||||
providers: [ShopService],
|
||||
exports: [ShopService],
|
||||
})
|
||||
export class ShopsModule {}
|
||||
Reference in New Issue
Block a user