init commit,

This commit is contained in:
louiscklaw
2025-05-28 09:55:51 +08:00
commit efe70ceb69
8042 changed files with 951668 additions and 0 deletions

21
03_source/cms_backend/global.d.ts vendored Normal file
View File

@@ -0,0 +1,21 @@
/* eslint-disable no-var */
/* eslint-disable vars-on-top */
import { PrismaClient } from '@prisma/client'
import { SupabaseClient } from '@supabase/supabase-js'
declare global {
var prisma: PrismaClient | null
var supabase: SupabaseClient | null
}
declare module 'next-auth' {
export interface Session extends NextAuth.Session {
user: User | null
}
}
declare module 'next/server' {
export interface NextRequest extends NextServer.NextRequest {
consumedBody: any | null = null
}
}