9 lines
189 B
TypeScript
9 lines
189 B
TypeScript
|
import { z } from "zod";
|
||
|
|
||
|
export const ZToggleInputSchema = z.object({
|
||
|
slug: z.string(),
|
||
|
enabled: z.boolean(),
|
||
|
});
|
||
|
|
||
|
export type TToggleInputSchema = z.infer<typeof ZToggleInputSchema>;
|