promptSchema
const promptSchema: ZodObject<{ content: ZodOptional<ZodArray<ZodObject<{ text: ZodString; type: ZodLiteral<"text">; }, $strip>>>; id: ZodString; output: ZodArray<ZodUnion<readonly [ZodObject<{ id: ZodString; text: ZodString; timestamp: ZodISODateTime; type: ZodLiteral<"text">; }, $strip>, ZodObject<{ error: ZodOptional<ZodUnknown>; id: ZodString; input: ZodUnknown; interrupts: ZodOptional<ZodArray<ZodObject<{ data: ...; message: ...; resolution: ...; state: ...; timestamp: ...; }, $strip>>>; name: ZodString; output: ZodOptional<ZodUnknown>; timestamp: ZodISODateTime; type: ZodLiteral<"tool">; }, $strip>, ZodObject<{ data: ZodUnknown; id: ZodString; itemType: ZodString; key: ZodOptional<ZodString>; origin: ZodOptional<ZodString>; timestamp: ZodISODateTime; type: ZodLiteral<"item">; }, $strip>]>>; timestamp: ZodISODateTime;}, $strip>;Defined in: core/src/prompt/prompt.ts:115
Schema for a prompt: its user content and the ordered output transcript it produces.