Variable ProjectSchemaConst
ProjectSchema: ZodMiniObject<
{
assets: ZodMiniRecord<
ZodMiniString<string>,
ZodMiniObject<
{
audioTrack: ZodMiniOptional<ZodMiniInt>;
credit: ZodMiniOptional<ZodMiniString<string>>;
duration: ZodMiniInt;
fps: ZodMiniOptional<ZodMiniNumber<number>>;
hasAudio: ZodMiniBoolean<boolean>;
hdr: ZodMiniOptional<ZodMiniBoolean<boolean>>;
height: ZodMiniOptional<ZodMiniInt>;
id: ZodMiniString<string>;
kind: ZodMiniEnum<
{
audio: "audio";
compound: "compound";
image: "image";
lut: "lut";
video: "video";
},
>;
mimeType: ZodMiniString<string>;
name: ZodMiniString<string>;
rotation: ZodMiniOptional<
ZodMiniUnion<
readonly [
ZodMiniLiteral<0>,
ZodMiniLiteral<90>,
ZodMiniLiteral<180>,
ZodMiniLiteral<270>,
],
>,
>;
size: ZodMiniInt;
source: ZodMiniDiscriminatedUnion<
[
ZodMiniObject<
{ key: ZodMiniString<string>; type: ZodMiniLiteral<"opfs"> },
$strip,
>,
ZodMiniObject<
{ key: ZodMiniString<string>; type: ZodMiniLiteral<"handle"> },
$strip,
>,
ZodMiniObject<
{ type: ZodMiniLiteral<"url">; url: ZodMiniString<string> },
$strip,
>,
ZodMiniObject<{ type: ZodMiniLiteral<"compound"> }, $strip>,
],
"type",
>;
tracks: ZodMiniOptional<
ZodMiniArray<
ZodMiniObject<
{
caption: ZodMiniOptional<ZodMiniObject<(...), (...)>>;
hidden: ZodMiniBoolean<boolean>;
id: ZodMiniString<string>;
items: ZodMiniArray<ZodMiniDiscriminatedUnion<(...), (...)>>;
kind: ZodMiniEnum<
{
audio: ...;
caption: ...;
main: ...;
overlay: ...;
text: ...;
},
>;
locked: ZodMiniBoolean<boolean>;
muted: ZodMiniBoolean<boolean>;
},
$strip,
>,
>,
>;
vfr: ZodMiniOptional<ZodMiniBoolean<boolean>>;
width: ZodMiniOptional<ZodMiniInt>;
},
$strip,
>,
>;
createdAt: ZodMiniString<string>;
id: ZodMiniString<string>;
markers: ZodMiniOptional<
ZodMiniArray<
ZodMiniObject<
{
id: ZodMiniString<string>;
label: ZodMiniOptional<ZodMiniString<string>>;
time: ZodMiniInt;
},
$strip,
>,
>,
>;
name: ZodMiniString<string>;
settings: ZodMiniObject<
{
background: ZodMiniDiscriminatedUnion<
[
ZodMiniObject<
{ color: ZodMiniString<string>; type: ZodMiniLiteral<"color"> },
$strip,
>,
ZodMiniObject<
{ amount: ZodMiniNumber<number>; type: ZodMiniLiteral<"blur"> },
$strip,
>,
],
"type",
>;
exportRange: ZodMiniOptional<
ZodMiniObject<{ end: ZodMiniInt; start: ZodMiniInt }, $strip>,
>;
frameRate: ZodMiniObject<{ den: ZodMiniInt; num: ZodMiniInt }, $strip>;
height: ZodMiniInt;
width: ZodMiniInt;
},
$strip,
>;
tracks: ZodMiniArray<
ZodMiniObject<
{
caption: ZodMiniOptional<
ZodMiniObject<
{
highlight: ZodMiniEnum<
{
box: "box";
fill: "fill";
none: "none";
reveal: "reveal";
type: "type";
word: "word";
},
>;
highlightColor: ZodMiniString<string>;
preset: ZodMiniString<string>;
},
$strip,
>,
>;
hidden: ZodMiniBoolean<boolean>;
id: ZodMiniString<string>;
items: ZodMiniArray<
ZodMiniDiscriminatedUnion<
[
ZodMiniObject<
{
adjust: ZodMiniObject<(...), (...)>;
animation: ZodMiniOptional<(...)>;
assetId: ZodMiniString<(...)>;
audioFx: ZodMiniOptional<(...)>;
blend: ZodMiniOptional<(...)>;
crop: ZodMiniObject<(...), (...)>;
duck: ZodMiniOptional<(...)>;
duration: ZodMiniInt;
fadeIn: ZodMiniInt;
fadeOut: ZodMiniInt;
filter: ZodMiniNullable<(...)>;
fit: ZodMiniEnum<(...)>;
groupId: ZodMiniOptional<(...)>;
hidden: ZodMiniOptional<(...)>;
id: ZodMiniString<(...)>;
key: ZodMiniOptional<(...)>;
keyframes: ZodMiniOptional<(...)>;
kind: ZodMiniLiteral<(...)>;
locked: ZodMiniOptional<(...)>;
lut: ZodMiniOptional<(...)>;
mask: ZodMiniOptional<(...)>;
muted: ZodMiniBoolean<(...)>;
name: ZodMiniOptional<(...)>;
sourceIn: ZodMiniInt;
speed: ZodMiniNumber<(...)>;
start: ZodMiniInt;
transform: ZodMiniObject<(...), (...)>;
transitionIn: ZodMiniNullable<(...)>;
volume: ZodMiniNumber<(...)>;
},
$strip,
>,
ZodMiniObject<
{
adjust: ZodMiniObject<(...), (...)>;
animation: ZodMiniOptional<(...)>;
assetId: ZodMiniString<(...)>;
blend: ZodMiniOptional<(...)>;
crop: ZodMiniObject<(...), (...)>;
cutout: ZodMiniOptional<(...)>;
duration: ZodMiniInt;
filter: ZodMiniNullable<(...)>;
fit: ZodMiniEnum<(...)>;
groupId: ZodMiniOptional<(...)>;
hidden: ZodMiniOptional<(...)>;
id: ZodMiniString<(...)>;
key: ZodMiniOptional<(...)>;
keyframes: ZodMiniOptional<(...)>;
kind: ZodMiniLiteral<(...)>;
locked: ZodMiniOptional<(...)>;
lut: ZodMiniOptional<(...)>;
mask: ZodMiniOptional<(...)>;
name: ZodMiniOptional<(...)>;
start: ZodMiniInt;
transform: ZodMiniObject<(...), (...)>;
transitionIn: ZodMiniNullable<(...)>;
},
$strip,
>,
ZodMiniObject<
{
adjust: ZodMiniObject<(...), (...)>;
animation: ZodMiniOptional<(...)>;
assetId: ZodMiniString<(...)>;
blend: ZodMiniOptional<(...)>;
crop: ZodMiniObject<(...), (...)>;
duration: ZodMiniInt;
filter: ZodMiniNullable<(...)>;
fit: ZodMiniEnum<(...)>;
groupId: ZodMiniOptional<(...)>;
hidden: ZodMiniOptional<(...)>;
id: ZodMiniString<(...)>;
key: ZodMiniOptional<(...)>;
keyframes: ZodMiniOptional<(...)>;
kind: ZodMiniLiteral<(...)>;
locked: ZodMiniOptional<(...)>;
lut: ZodMiniOptional<(...)>;
mask: ZodMiniOptional<(...)>;
name: ZodMiniOptional<(...)>;
sourceTime: ZodMiniInt;
start: ZodMiniInt;
transform: ZodMiniObject<(...), (...)>;
transitionIn: ZodMiniNullable<(...)>;
},
$strip,
>,
],
"kind",
>,
>;
kind: ZodMiniEnum<
{
audio: "audio";
caption: "caption";
main: "main";
overlay: "overlay";
text: "text";
},
>;
locked: ZodMiniBoolean<boolean>;
muted: ZodMiniBoolean<boolean>;
},
$strip,
>,
>;
updatedAt: ZodMiniString<string>;
version: ZodMiniLiteral<6>;
},
$strip,
> = ...