tianji/src/types/index.ts

19 lines
509 B
TypeScript
Raw Normal View History

import { z } from 'zod';
import { MonitorStatusPageListSchema } from '../server/prisma/zod/schemas';
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';
declare global {
namespace PrismaJson {
type CommonPayload = Record<string, any>;
type DashboardLayout = {
layouts: Record<string, any[]>;
items: any[];
} | null;
type MonitorStatusPageList = z.infer<typeof MonitorStatusPageListSchema>;
}
}