propertyPresetSchema
Generated TypeScript API reference for the public mcut SDK.
mcut SDK / timeline/src / propertyPresetSchema
Variable: propertyPresetSchema
const propertyPresetSchema: ZodObject<{
id: ZodString;
kind: ZodString;
name: ZodString;
values: ZodRecord<ZodString, ZodUnknown>;
}, $strip>;Defined in: packages/timeline/src/presets.ts:16
Property presets: named bundles of inspector values, the ONE preset
primitive every editing surface shares (Figma styles, loosely). A preset
is pure data — kind names the surface that captured it ("effects",
"text-style", "slot-style", …) and values holds whatever that surface
chose to capture. Applying is the surface's job: it reads values and
writes them back through its normal commands, so presets work identically
for timeline elements and multicam layout slots without bespoke plumbing.
Presets referenced by a project live IN the project (project.presets)
so documents stay self-contained, mirroring project.layouts.