VideoUltra API
    Preparing search index...

    Variable AssetSchemaConst

    AssetSchema: 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<
                                    {
                                        highlight: ZodMiniEnum<
                                            {
                                                box: ...;
                                                fill: ...;
                                                none: ...;
                                                reveal: ...;
                                                type: ...;
                                                word: ...;
                                            },
                                        >;
                                        highlightColor: ZodMiniString<string>;
                                        preset: ZodMiniString<string>;
                                    },
                                    $strip,
                                >,
                            >;
                            hidden: ZodMiniBoolean<boolean>;
                            id: ZodMiniString<string>;
                            items: ZodMiniArray<
                                ZodMiniDiscriminatedUnion<
                                    [
                                        ZodMiniObject<
                                            {
                                                adjust: ...;
                                                animation: ...;
                                                assetId: ...;
                                                audioFx: ...;
                                                blend: ...;
                                                crop: ...;
                                                duck: ...;
                                                duration: ...;
                                                fadeIn: ...;
                                                fadeOut: ...;
                                                filter: ...;
                                                fit: ...;
                                                groupId: ...;
                                                hidden: ...;
                                                id: ...;
                                                key: ...;
                                                keyframes: ...;
                                                kind: ...;
                                                locked: ...;
                                                lut: ...;
                                                mask: ...;
                                                muted: ...;
                                                name: ...;
                                                sourceIn: ...;
                                                speed: ...;
                                                start: ...;
                                                transform: ...;
                                                transitionIn: ...;
                                                volume: ...;
                                            },
                                            $strip,
                                        >,
                                        ZodMiniObject<
                                            {
                                                adjust: ...;
                                                animation: ...;
                                                assetId: ...;
                                                blend: ...;
                                                crop: ...;
                                                cutout: ...;
                                                duration: ...;
                                                filter: ...;
                                                fit: ...;
                                                groupId: ...;
                                                hidden: ...;
                                                id: ...;
                                                key: ...;
                                                keyframes: ...;
                                                kind: ...;
                                                locked: ...;
                                                lut: ...;
                                                mask: ...;
                                                name: ...;
                                                start: ...;
                                                transform: ...;
                                                transitionIn: ...;
                                            },
                                            $strip,
                                        >,
                                        ZodMiniObject<
                                            {
                                                adjust: ...;
                                                animation: ...;
                                                assetId: ...;
                                                blend: ...;
                                                crop: ...;
                                                duration: ...;
                                                filter: ...;
                                                fit: ...;
                                                groupId: ...;
                                                hidden: ...;
                                                id: ...;
                                                key: ...;
                                                keyframes: ...;
                                                kind: ...;
                                                locked: ...;
                                                lut: ...;
                                                mask: ...;
                                                name: ...;
                                                sourceTime: ...;
                                                start: ...;
                                                transform: ...;
                                                transitionIn: ...;
                                            },
                                            $strip,
                                        >,
                                    ],
                                    "kind",
                                >,
                            >;
                            kind: ZodMiniEnum<
                                {
                                    audio: "audio";
                                    caption: "caption";
                                    main: "main";
                                    overlay: "overlay";
                                    text: "text";
                                },
                            >;
                            locked: ZodMiniBoolean<boolean>;
                            muted: ZodMiniBoolean<boolean>;
                        },
                        $strip,
                    >,
                >,
            >;
            vfr: ZodMiniOptional<ZodMiniBoolean<boolean>>;
            width: ZodMiniOptional<ZodMiniInt>;
        },
        $strip,
    > = ...