videosphere
    Preparing search index...

    Interface UpdateDraftInput

    Defines the shape of update draft input.

    interface UpdateDraftInput {
        targets?: ConnectedAccountPlatform[];
        title?: string;
        description?: string;
        tags?: string[];
        visibility?: PlatformUploadVisibility;
        platformsPatch?: unknown;
        backupNaming?: BackupFileNameSettings;
        backupNamingPatch?: unknown;
        thumbnailR2Key?: string;
        thumbnailContentType?: string;
    }
    Index

    Properties

    title?: string
    description?: string
    tags?: string[]
    platformsPatch?: unknown

    Partial platforms object from PATCH; merged without wiping omitted fields.

    backupNaming?: BackupFileNameSettings

    Backup filename settings; merged when provided as a partial object.

    backupNamingPatch?: unknown
    thumbnailR2Key?: string

    Pass null to atomically clear both thumbnailR2Key and thumbnailContentType. Pass a string to set/replace the key (pair with thumbnailContentType). Omit to leave the existing key unchanged.

    thumbnailContentType?: string

    Ignored when thumbnailR2Key is null (both fields are cleared together).