|
1 | 1 | import { |
2 | | - ClassSerializerInterceptor, |
3 | 2 | DynamicModule, |
4 | 3 | MiddlewareConsumer, |
5 | 4 | Module, |
6 | 5 | NestModule, |
7 | 6 | ValidationPipe, |
8 | 7 | } from '@nestjs/common'; |
| 8 | +import { SerializerInterceptor } from 'omniboxd/interceptor/serializer.interceptor'; |
9 | 9 | import { APP_INTERCEPTOR, APP_PIPE } from '@nestjs/core'; |
10 | 10 | import { TypeOrmModule } from '@nestjs/typeorm'; |
11 | 11 | import { TagModule } from 'omniboxd/tag/tag.module'; |
@@ -42,6 +42,7 @@ import { ApiKeys1754550165406 } from 'omniboxd/migrations/1754550165406-api-keys |
42 | 42 | import { ResourceAttachments1755059371000 } from 'omniboxd/migrations/1755059371000-resource-attachments'; |
43 | 43 | import { AddTagIdsToResources1755248141570 } from 'omniboxd/migrations/1755248141570-add-tag-ids-to-resources'; |
44 | 44 | import { TelemetryModule } from 'omniboxd/telemetry'; |
| 45 | +import { SeoModule } from 'omniboxd/seo/seo.module'; |
45 | 46 | import { CleanResourceNames1755396702021 } from 'omniboxd/migrations/1755396702021-clean-resource-names'; |
46 | 47 | import { UpdateAttachmentUrls1755499552000 } from 'omniboxd/migrations/1755499552000-update-attachment-urls'; |
47 | 48 | import { ScanResourceAttachments1755504936756 } from 'omniboxd/migrations/1755504936756-scan-resource-attachments'; |
@@ -79,7 +80,7 @@ export class AppModule implements NestModule { |
79 | 80 | }, |
80 | 81 | { |
81 | 82 | provide: APP_INTERCEPTOR, |
82 | | - useClass: ClassSerializerInterceptor, |
| 83 | + useClass: SerializerInterceptor, |
83 | 84 | }, |
84 | 85 | { |
85 | 86 | provide: APP_INTERCEPTOR, |
@@ -111,6 +112,7 @@ export class AppModule implements NestModule { |
111 | 112 | AttachmentsModule, |
112 | 113 | SharesModule, |
113 | 114 | SharedResourcesModule, |
| 115 | + SeoModule, |
114 | 116 | TraceModule, |
115 | 117 | FeedbackModule, |
116 | 118 | ApplicationsModule, |
|
0 commit comments