35 lines
1.2 KiB
TypeScript
35 lines
1.2 KiB
TypeScript
import { Module } from '@nestjs/common';
|
|
import { PassportModule } from '@nestjs/passport';
|
|
import { AuthModule } from '../auth/auth.module';
|
|
import { MembershipsModule } from '../memberships/memberships.module';
|
|
import { OrgRolesModule } from '../org-roles/org-roles.module';
|
|
import { PipelinesModule } from '../pipelines/pipelines.module';
|
|
import { BillingModule } from '../billing/billing.module';
|
|
import { PlatformAuthController } from './platform-auth.controller';
|
|
import { PlatformAuthGuard } from './platform-auth.guard';
|
|
import { PlatformAuthService } from './platform-auth.service';
|
|
import { PlatformJwtStrategy } from './platform-jwt.strategy';
|
|
import { PlatformController } from './platform.controller';
|
|
import { PlatformService } from './platform.service';
|
|
import { ConversationsModule } from '../conversations/conversations.module';
|
|
|
|
@Module({
|
|
imports: [
|
|
AuthModule,
|
|
MembershipsModule,
|
|
OrgRolesModule,
|
|
PipelinesModule,
|
|
BillingModule,
|
|
PassportModule,
|
|
ConversationsModule,
|
|
],
|
|
controllers: [PlatformAuthController, PlatformController],
|
|
providers: [
|
|
PlatformJwtStrategy,
|
|
PlatformAuthGuard,
|
|
PlatformAuthService,
|
|
PlatformService,
|
|
],
|
|
})
|
|
export class PlatformModule {}
|