mirror of
https://github.com/docmost/docmost.git
synced 2026-05-07 14:43:06 +08:00
40 lines
1.4 KiB
TypeScript
40 lines
1.4 KiB
TypeScript
import { Module } from '@nestjs/common';
|
|
import { IntegrationRegistry } from './registry/integration-registry';
|
|
import { IntegrationService } from './integration.service';
|
|
import { IntegrationConnectionService } from './integration-connection.service';
|
|
import { IntegrationController } from './integration.controller';
|
|
import { OAuthController } from './oauth/oauth.controller';
|
|
import { OAuthService } from './oauth/oauth.service';
|
|
import { UnfurlController } from './unfurl/unfurl.controller';
|
|
import { UnfurlService } from './unfurl/unfurl.service';
|
|
import { IntegrationRepo } from './repos/integration.repo';
|
|
import { IntegrationConnectionRepo } from './repos/integration-connection.repo';
|
|
import { IntegrationWebhookRepo } from './repos/integration-webhook.repo';
|
|
import { IntegrationListener } from './integration.listener';
|
|
import { IntegrationProcessor } from './integration.processor';
|
|
|
|
@Module({
|
|
controllers: [IntegrationController, OAuthController, UnfurlController],
|
|
providers: [
|
|
IntegrationRegistry,
|
|
IntegrationService,
|
|
IntegrationConnectionService,
|
|
OAuthService,
|
|
UnfurlService,
|
|
IntegrationRepo,
|
|
IntegrationConnectionRepo,
|
|
IntegrationWebhookRepo,
|
|
IntegrationListener,
|
|
IntegrationProcessor,
|
|
],
|
|
exports: [
|
|
IntegrationRegistry,
|
|
IntegrationService,
|
|
IntegrationConnectionService,
|
|
OAuthService,
|
|
IntegrationRepo,
|
|
IntegrationConnectionRepo,
|
|
],
|
|
})
|
|
export class IntegrationModule {}
|