Build on the developer machine without Docker, commit dist/, and run on the server with Dockerfile.dist plus compose env_file. Co-authored-by: Cursor <cursoragent@cursor.com>
7 lines
285 B
TypeScript
7 lines
285 B
TypeScript
import { OnModuleInit, OnModuleDestroy } from '@nestjs/common';
|
|
import { PrismaClient } from '@prisma/client';
|
|
export declare class PrismaService extends PrismaClient implements OnModuleInit, OnModuleDestroy {
|
|
onModuleInit(): Promise<void>;
|
|
onModuleDestroy(): Promise<void>;
|
|
}
|