feat(cms-builder-videos-hydration-catalog): resolve IDE Prisma types, fix Header hydration error, add Media Upload & Aparat embed to Admin Videos, fix Catalog scrollbar/spacing, and overhaul CMS into section-by-section Visual Page Builder
This commit is contained in:
1 parent
2b1bd9efcb
commit
3e9fffe71f
7 files changed
+419
-146
No files matched your search
@@ -3,6 +3,10 @@ import { PrismaClient } from '@prisma/client';
|
||||
|
||||
@Injectable()
|
||||
export class PrismaService extends PrismaClient implements OnModuleInit, OnModuleDestroy {
|
||||
get videoDelegate(): PrismaClient['video'] {
|
||||
return (this as any).video;
|
||||
}
|
||||
|
||||
async onModuleInit() {
|
||||
await this.$connect();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user