* wip * fixup! Merge branch 'main' into platform-oauth-client-webhooks * wip * fixup! Merge branch 'main' into platform-oauth-client-webhooks * fixup! fixup! Merge branch 'main' into platform-oauth-client-webhooks * fixup! fixup! fixup! Merge branch 'main' into platform-oauth-client-webhooks * fixup! fixup! fixup! fixup! Merge branch 'main' into platform-oauth-client-webhooks * fixup! fixup! fixup! fixup! fixup! Merge branch 'main' into platform-oauth-client-webhooks * fixup! fixup! fixup! fixup! fixup! fixup! Merge branch 'main' into platform-oauth-client-webhooks * fixup! fixup! fixup! fixup! fixup! fixup! fixup! Merge branch 'main' into platform-oauth-client-webhooks * fixup! Merge branch 'platform-oauth-client-webhooks' of github.com:calcom/cal.com into platform-oauth-client-webhooks * fixup! fixup! Merge branch 'platform-oauth-client-webhooks' of github.com:calcom/cal.com into platform-oauth-client-webhooks --------- Co-authored-by: Peer Richelsen <peeroke@gmail.com>
45 lines
1.8 KiB
TypeScript
45 lines
1.8 KiB
TypeScript
import { EventTypesModule_2024_06_14 } from "@/ee/event-types/event-types_2024_06_14/event-types.module";
|
|
import { EventTypeWebhooksController } from "@/modules/event-types/controllers/event-types-webhooks.controller";
|
|
import { OAuthClientWebhooksController } from "@/modules/oauth-clients/controllers/oauth-client-webhooks/oauth-client-webhooks.controller";
|
|
import { OAuthClientModule } from "@/modules/oauth-clients/oauth-client.module";
|
|
import { Module } from "@nestjs/common";
|
|
|
|
import { MembershipsModule } from "../memberships/memberships.module";
|
|
import { OrganizationsModule } from "../organizations/organizations.module";
|
|
import { PrismaModule } from "../prisma/prisma.module";
|
|
import { UsersModule } from "../users/users.module";
|
|
import { WebhooksController } from "./controllers/webhooks.controller";
|
|
import { EventTypeWebhooksService } from "./services/event-type-webhooks.service";
|
|
import { OAuthClientWebhooksService } from "./services/oauth-clients-webhooks.service";
|
|
import { UserWebhooksService } from "./services/user-webhooks.service";
|
|
import { WebhooksService } from "./services/webhooks.service";
|
|
import { WebhooksRepository } from "./webhooks.repository";
|
|
|
|
@Module({
|
|
imports: [
|
|
PrismaModule,
|
|
UsersModule,
|
|
EventTypesModule_2024_06_14,
|
|
OAuthClientModule,
|
|
OrganizationsModule,
|
|
MembershipsModule,
|
|
OAuthClientModule,
|
|
],
|
|
controllers: [WebhooksController, EventTypeWebhooksController, OAuthClientWebhooksController],
|
|
providers: [
|
|
WebhooksService,
|
|
WebhooksRepository,
|
|
UserWebhooksService,
|
|
EventTypeWebhooksService,
|
|
OAuthClientWebhooksService,
|
|
],
|
|
exports: [
|
|
WebhooksService,
|
|
WebhooksRepository,
|
|
UserWebhooksService,
|
|
EventTypeWebhooksService,
|
|
OAuthClientWebhooksService,
|
|
],
|
|
})
|
|
export class WebhooksModule {}
|