Skip to content

@morph-mapper/source


@morph-mapper/source / templateSaveSchema

Variable: templateSaveSchema

const templateSaveSchema: ZodObject<{ config: ZodObject<{ configSnapshot: ZodOptional<ZodAny>; lastTextContentHash: ZodNullable<ZodString>; preconfiguration: ZodAny; updateDiscardIds: ZodArray<ZodString, "many">; }, "strip", ZodTypeAny, { configSnapshot?: any; lastTextContentHash: string | null; preconfiguration?: any; updateDiscardIds: string[]; }, { configSnapshot?: any; lastTextContentHash: string | null; preconfiguration?: any; updateDiscardIds: string[]; }>; domain: ZodString; entries: ZodRecord<ZodString, ZodAny>; graphs: ZodRecord<ZodString, ZodAny>; id: ZodString; name: ZodString; operatorId: ZodNumber; plugins: ZodObject<{ global: ZodObject<{ bootstrapped: ZodRecord<ZodString, ZodBoolean>; plugins: ZodArray<ZodAny, "many">; versions: ZodRecord<ZodString, ZodString>; }, "strip", ZodTypeAny, { bootstrapped: Record<string, boolean>; plugins: any[]; versions: Record<string, string>; }, { bootstrapped: Record<string, boolean>; plugins: any[]; versions: Record<string, string>; }>; registered: ZodRecord<ZodString, ZodObject<{ slice: ZodAny; version: ZodString; }, "strip", ZodTypeAny, { slice?: any; version: string; }, { slice?: any; version: string; }>>; }, "strip", ZodTypeAny, { global: { bootstrapped: Record<string, boolean>; plugins: any[]; versions: Record<string, string>; }; registered: Record<string, { slice?: any; version: string; }>; }, { global: { bootstrapped: Record<string, boolean>; plugins: any[]; versions: Record<string, string>; }; registered: Record<string, { slice?: any; version: string; }>; }>; schemaId: ZodString; type: ZodString; variant: ZodNativeEnum<typeof SchemaVariant>; }, "strip", ZodTypeAny, { config: { configSnapshot?: any; lastTextContentHash: string | null; preconfiguration?: any; updateDiscardIds: string[]; }; domain: string; entries: Record<string, any>; graphs: Record<string, any>; id: string; name: string; operatorId: number; plugins: { global: { bootstrapped: Record<string, boolean>; plugins: any[]; versions: Record<string, string>; }; registered: Record<string, { slice?: any; version: string; }>; }; schemaId: string; type: string; variant: SchemaVariant; }, { config: { configSnapshot?: any; lastTextContentHash: string | null; preconfiguration?: any; updateDiscardIds: string[]; }; domain: string; entries: Record<string, any>; graphs: Record<string, any>; id: string; name: string; operatorId: number; plugins: { global: { bootstrapped: Record<string, boolean>; plugins: any[]; versions: Record<string, string>; }; registered: Record<string, { slice?: any; version: string; }>; }; schemaId: string; type: string; variant: SchemaVariant; }>

Defined in: templates-api/template-ref.ts:47