forked from Yara724/api
fanavaran configs seeding
This commit is contained in:
@@ -5,11 +5,16 @@ import { MongooseModule } from "@nestjs/mongoose";
|
||||
import { createHttpModuleOptions } from "src/core/config/http-proxy.factory";
|
||||
import { FanavaranAuditModule } from "./fanavaran-audit.module";
|
||||
import { FanavaranAuthService } from "./fanavaran-auth.service";
|
||||
import { FanavaranClientConfigService } from "./fanavaran-client-config.service";
|
||||
import { FanavaranLookupService } from "./fanavaran-lookup.service";
|
||||
import {
|
||||
FanavaranAuthToken,
|
||||
FanavaranAuthTokenSchema,
|
||||
} from "./schema/fanavaran-auth-token.schema";
|
||||
import {
|
||||
FanavaranClientConfig,
|
||||
FanavaranClientConfigSchema,
|
||||
} from "./schema/fanavaran-client-config.schema";
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
@@ -20,10 +25,22 @@ import {
|
||||
}),
|
||||
MongooseModule.forFeature([
|
||||
{ name: FanavaranAuthToken.name, schema: FanavaranAuthTokenSchema },
|
||||
{
|
||||
name: FanavaranClientConfig.name,
|
||||
schema: FanavaranClientConfigSchema,
|
||||
},
|
||||
]),
|
||||
FanavaranAuditModule,
|
||||
],
|
||||
providers: [FanavaranAuthService, FanavaranLookupService],
|
||||
exports: [FanavaranAuthService, FanavaranLookupService],
|
||||
providers: [
|
||||
FanavaranClientConfigService,
|
||||
FanavaranAuthService,
|
||||
FanavaranLookupService,
|
||||
],
|
||||
exports: [
|
||||
FanavaranClientConfigService,
|
||||
FanavaranAuthService,
|
||||
FanavaranLookupService,
|
||||
],
|
||||
})
|
||||
export class FanavaranLookupModule {}
|
||||
|
||||
Reference in New Issue
Block a user