@mediafly/frontend-api - v20.4.1
    Preparing search index...

    Function MockFolder

    • Parameters

      • Optionaloverrides: {
            airshipItemUrl?: string;
            autoStart?: boolean;
            canAddFiles?: boolean;
            canAddFolders?: boolean;
            canBroadcast?: boolean;
            canDelete?: boolean;
            canEdit?: boolean;
            canEditMetadata?: boolean;
            canEditThumbnail?: boolean;
            canEditWatermarks?: boolean;
            canShare?: boolean;
            channelCount?: number;
            containsNewItems?: boolean;
            containsUpdatedItems?: boolean;
            contentCount?: number;
            created?: string;
            description?: string;
            downloadStatus?: {
                canSync?: boolean;
                completed?: number;
                currentStatus?: string;
                isSynced?: boolean;
                lastModified?: number;
                total?: number | null;
                willSync?: boolean;
            };
            draftItems?: (
                | {
                    airshipItemUrl?: string;
                    assetCreated?: string;
                    assetErrorMessage?: string
                    | null;
                    assetState?: AssetState;
                    canAccessAssetOffline?: boolean;
                    canBeUsedForAssembly?: boolean;
                    canBroadcast?: boolean;
                    canCopy?: boolean;
                    canDelete?: boolean;
                    canDownloadAsset?: boolean;
                    canEdit?: boolean;
                    canEditAssets?: boolean;
                    canEditMetadata?: boolean;
                    canEditThumbnail?: boolean;
                    canEditWatermarks?: boolean;
                    canShare?: boolean;
                    channelName?: string;
                    channelSlug?: string;
                    created?: string;
                    description?: string;
                    downloadStatus?: {
                        canSync?: boolean;
                        completed?: number;
                        currentStatus?: string;
                        isSynced?: boolean;
                        lastModified?: number;
                        total?: number | null;
                        willSync?: boolean;
                    };
                    downloadUrl?: string;
                    draftParentSlug?: string;
                    drafts?: ({ slug?: (...) | (...) } | undefined)[];
                    filename?: string;
                    filesize?: string;
                    fileType?: string;
                    hasStoryboard?: boolean;
                    hierarchy?: (
                        | {
                            autoStart?: (...)
                            | (...)
                            | (...);
                            id?: (...) | (...);
                            launchpadId?: (...) | (...);
                            name?: (...) | (...);
                        }
                        | undefined
                    )[];
                    iconType?: string;
                    imageHeight?: number;
                    imageUrl?: string;
                    imageVersionHash?: string;
                    imageWidth?: number;
                    interactiveDownloadUrl?: string;
                    isDraft?: boolean;
                    isFavorite?: boolean;
                    isLesson?: boolean;
                    isMyItem?: boolean;
                    isNew?: boolean;
                    isSharedMyItem?: boolean;
                    isSortOrderLocked?: boolean;
                    isUpdated?: boolean;
                    lastViewed?: string;
                    launchpadId?: string;
                    link?: string;
                    mediaType?: "Document"
                    | "Audio"
                    | "Video";
                    metadata?: { [key: string]: any };
                    mirrorSourceId?: string;
                    modified?: string;
                    processingStates?: (
                        { containerType?: (...) | (...); state?: (...) | (...) }
                        | undefined
                    )[];
                    resourceUrl?: string;
                    settings?: {
                        documentControls?:
                            | {
                                hideFullscreen?: (...)
                                | (...)
                                | (...);
                                hideNavigationArrows?: (...) | (...) | (...);
                                hidePagePicker?: (...) | (...) | (...);
                                hideZoomAndFit?: (...) | (...) | (...);
                            }
                            | null;
                        isFixedPageOrder?: boolean;
                        isLesson?: boolean;
                        isMirrorItem?: boolean;
                        isPromoted?: boolean;
                        isSearchFolder?: boolean;
                        isTemplate?: boolean;
                        term?: string
                        | null;
                    };
                    skipPostActions?: boolean;
                    slug?: string;
                    thumbnailFilename?: string;
                    thumbnailState?: AssetState;
                    thumbnailUrl?: string;
                    title?: string;
                    type?: "Document"
                    | "Episode";
                    versionHash?: string;
                    viewed?: string;
                    watermark?:
                        | {
                            align?: WatermarkAlign
                            | null;
                            backgroundAlpha?: number | null;
                            backgroundColor?: string | null;
                            backgroundRGBAColor?: string | null;
                            id?: string;
                            signature?: string;
                            size?: number | null;
                            text?: string | null;
                            textAlpha?: number | null;
                            textColor?: string | null;
                            textRGBAColor?: string | null;
                            watermarkAlign?: string | null;
                        }
                        | null;
                }
                | undefined
            )[];
            fileType?: string;
            hasStoryboard?: boolean;
            hierarchy?: (
                | {
                    autoStart?: boolean;
                    id?: string;
                    launchpadId?: string;
                    name?: string;
                }
                | undefined
            )[];
            iconType?: string;
            imageHeight?: number;
            imageUrl?: string;
            imageVersionHash?: string;
            imageWidth?: number;
            isFavorite?: boolean;
            isLesson?: boolean;
            isMyItem?: boolean;
            isRoot?: boolean;
            isSearchFolder?: boolean;
            isSharedMyItem?: boolean;
            isSortable?: boolean;
            isSortOrderLocked?: boolean;
            items?: (
                | {
                    airshipItemUrl?: string;
                    canBroadcast?: boolean;
                    canDelete?: boolean;
                    canEdit?: boolean;
                    canEditMetadata?: boolean;
                    canEditThumbnail?: boolean;
                    canEditWatermarks?: boolean;
                    canShare?: boolean;
                    created?: string;
                    description?: string;
                    downloadStatus?: {
                        canSync?: boolean;
                        completed?: number;
                        currentStatus?: string;
                        isSynced?: boolean;
                        lastModified?: number;
                        total?: number
                        | null;
                        willSync?: boolean;
                    };
                    fileType?: string;
                    hasStoryboard?: boolean;
                    hierarchy?: (
                        | {
                            autoStart?: (...)
                            | (...)
                            | (...);
                            id?: (...) | (...);
                            launchpadId?: (...) | (...);
                            name?: (...) | (...);
                        }
                        | undefined
                    )[];
                    iconType?: string;
                    imageHeight?: number;
                    imageUrl?: string;
                    imageVersionHash?: string;
                    imageWidth?: number;
                    isFavorite?: boolean;
                    isLesson?: boolean;
                    isMyItem?: boolean;
                    isSharedMyItem?: boolean;
                    isSortOrderLocked?: boolean;
                    lastViewed?: string;
                    launchpadId?: string;
                    link?: string;
                    metadata?: { [key: string]: any };
                    mirrorSourceId?: string;
                    modified?: string;
                    settings?: {
                        documentControls?:
                            | {
                                hideFullscreen?: (...)
                                | (...)
                                | (...);
                                hideNavigationArrows?: (...) | (...) | (...);
                                hidePagePicker?: (...) | (...) | (...);
                                hideZoomAndFit?: (...) | (...) | (...);
                            }
                            | null;
                        isFixedPageOrder?: boolean;
                        isLesson?: boolean;
                        isMirrorItem?: boolean;
                        isPromoted?: boolean;
                        isSearchFolder?: boolean;
                        isTemplate?: boolean;
                        term?: string
                        | null;
                    };
                    slug?: string;
                    thumbnailFilename?: string;
                    thumbnailState?: AssetState;
                    thumbnailUrl?: string;
                    title?: string;
                    type?: string;
                    versionHash?: string;
                }
                | undefined
            )[];
            lastViewed?: string;
            launchpadId?: string;
            link?: string;
            metadata?: { [key: string]: any };
            mirrorSourceId?: string;
            modified?: string;
            newCount?: number;
            parentChannelName?: string;
            parentChannelSlug?: string | null;
            searchFolderTerm?: string | null;
            settings?: {
                documentControls?:
                    | {
                        hideFullscreen?: boolean;
                        hideNavigationArrows?: boolean;
                        hidePagePicker?: boolean;
                        hideZoomAndFit?: boolean;
                    }
                    | null;
                isFixedPageOrder?: boolean;
                isLesson?: boolean;
                isMirrorItem?: boolean;
                isPromoted?: boolean;
                isSearchFolder?: boolean;
                isTemplate?: boolean;
                term?: string
                | null;
            };
            slug?: string;
            thumbnailFilename?: string;
            thumbnailState?: AssetState;
            thumbnailUrl?: string;
            title?: string;
            totalCount?: number;
            type?: "Channel";
            updatedCount?: number;
            versionHash?: string;
        }

      Returns Folder