mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-11 14:08:55 +08:00
18 lines
388 B
TypeScript
18 lines
388 B
TypeScript
import type { Prisma } from '@prisma/client';
|
|
|
|
import { defineStartupConfig, ModuleConfig } from '../config';
|
|
|
|
interface PrismaStartupConfiguration extends Prisma.PrismaClientOptions {
|
|
datasourceUrl: string;
|
|
}
|
|
|
|
declare module '../config' {
|
|
interface AppConfig {
|
|
database: ModuleConfig<PrismaStartupConfiguration>;
|
|
}
|
|
}
|
|
|
|
defineStartupConfig('database', {
|
|
datasourceUrl: '',
|
|
});
|