2
0
Files

13 lines
311 B
TypeScript
Raw Permalink Normal View History

2024-08-09 00:39:27 +02:00
import { z } from "zod";
export const ZSaveKeysInputSchema = z.object({
slug: z.string(),
dirName: z.string(),
type: z.string(),
// Validate w/ app specific schema
keys: z.unknown(),
fromEnabled: z.boolean().optional(),
});
export type TSaveKeysInputSchema = z.infer<typeof ZSaveKeysInputSchema>;