Skip to content

Variable: RenderManifestSchema ​

const RenderManifestSchema: ZodObject<{ editLog: ZodOptional<ZodObject<{ index: ZodNumber; log: ZodRecord<ZodString, ZodUnknown>; }, $strip>>; editLogHash: ZodOptional<ZodString>; kernels: ZodOptional<ZodArray<ZodString>>; output: ZodObject<{ byteHash: ZodString; embedEditLog: ZodOptional<ZodBoolean>; height: ZodNumber; options: ZodRecord<ZodString, ZodUnknown>; pixelHash: ZodString; width: ZodNumber; }, $strip>; plan: ZodOptional<ZodRecord<ZodString, ZodUnknown>>; plugins: ZodRecord<ZodString, ZodNumber>; renderer: ZodObject<{ binarySha256: ZodNullable<ZodString>; kind: ZodEnum<{ native: "native"; wasm: "wasm"; }>; version: ZodString; }, $strip>; renderHash: ZodString; source: ZodObject<{ hash: ZodString; height: ZodNumber; mimeType: ZodOptional<ZodString>; width: ZodNumber; }, $strip>; version: ZodLiteral<1>; }, $strip>

Defined in: packages/core/src/manifest.ts:71

The manifest as untrusted input: the shape, the hashes and the numbers. The edit log inside it is only an object here; verify() parses it with the registry, and the core checks the plan when it renders.