2024-01-13 02:16:57 +08:00
|
|
|
import { z } from 'zod';
|
2024-01-20 16:22:44 +08:00
|
|
|
import { MonitorStatusPageListSchema } from '../server/prisma/zod/schemas';
|
2024-01-13 02:16:57 +08:00
|
|
|
|
2024-01-20 16:22:44 +08:00
|
|
|
export * as schemas from '../server/prisma/zod/index';
|
2023-10-03 20:45:00 +08:00
|
|
|
export * from './server';
|
2023-10-10 00:09:39 +08:00
|
|
|
export * from './monitor';
|
2023-10-05 21:09:03 +08:00
|
|
|
export * from './utils';
|
2023-11-30 00:43:55 +08:00
|
|
|
|
|
|
|
declare global {
|
|
|
|
namespace PrismaJson {
|
|
|
|
type CommonPayload = Record<string, any>;
|
|
|
|
type DashboardLayout = {
|
|
|
|
layouts: Record<string, any[]>;
|
|
|
|
items: any[];
|
|
|
|
} | null;
|
2024-01-13 02:16:57 +08:00
|
|
|
type MonitorStatusPageList = z.infer<typeof MonitorStatusPageListSchema>;
|
2023-11-30 00:43:55 +08:00
|
|
|
}
|
|
|
|
}
|