UNPKG

@n8n-plus/n8n-plus

Version:

n8n Workflow Automation Tool (plus edition)

56 lines (55 loc) 1.41 kB
import { z } from 'zod'; export declare const manifestEntrySchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; target: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; id: string; target: string; }, { name: string; id: string; target: string; }>; export declare const packageManifestSchema: z.ZodObject<{ packageFormatVersion: z.ZodString; exportedAt: z.ZodString; sourceN8nVersion: z.ZodString; sourceId: z.ZodString; workflows: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodString; target: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; id: string; target: string; }, { name: string; id: string; target: string; }>, "many">>; }, "strip", z.ZodTypeAny, { sourceId: string; packageFormatVersion: string; exportedAt: string; sourceN8nVersion: string; workflows?: { name: string; id: string; target: string; }[] | undefined; }, { sourceId: string; packageFormatVersion: string; exportedAt: string; sourceN8nVersion: string; workflows?: { name: string; id: string; target: string; }[] | undefined; }>; export type ManifestEntry = z.infer<typeof manifestEntrySchema>; export type PackageManifest = z.infer<typeof packageManifestSchema>;