UNPKG

n8n

Version:

n8n Workflow Automation Tool

34 lines (33 loc) 872 B
import { z } from 'zod'; export declare const serializedProjectSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional<z.ZodString>; icon: z.ZodOptional<z.ZodObject<{ type: z.ZodEnum<["emoji", "icon"]>; value: z.ZodString; }, "strip", z.ZodTypeAny, { type: "emoji" | "icon"; value: string; }, { type: "emoji" | "icon"; value: string; }>>; }, "strip", z.ZodTypeAny, { id: string; name: string; description?: string | undefined; icon?: { type: "emoji" | "icon"; value: string; } | undefined; }, { id: string; name: string; description?: string | undefined; icon?: { type: "emoji" | "icon"; value: string; } | undefined; }>; export type SerializedProject = z.infer<typeof serializedProjectSchema>;