- MockFolder(overrides?): Viewer.Folder
Parameters
Optional
overrides: {
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?: null | number;
willSync?: boolean;
};
draftItems?: (undefined | {
airshipItemUrl?: string;
assetCreated?: string;
assetErrorMessage?: null | string;
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?: null | number;
willSync?: boolean;
};
downloadUrl?: string;
draftParentSlug?: string;
drafts?: (undefined | {
slug?: (...) | (...);
})[];
fileType?: string;
filename?: string;
filesize?: string;
hasStoryboard?: boolean;
hierarchy?: (undefined | {
autoStart?: (...) | (...) | (...);
id?: (...) | (...);
launchpadId?: (...) | (...);
name?: (...) | (...);
})[];
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?: "Audio" | "Document" | "Video";
metadata?: {};
mirrorSourceId?: string;
modified?: string;
processingStates?: (undefined | {
containerType?: (...) | (...);
state?: (...) | (...);
})[];
resourceUrl?: string;
settings?: {
documentControls?: null | {
hideFullscreen?: (...) | (...) | (...);
hideNavigationArrows?: (...) | (...) | (...);
hidePagePicker?: (...) | (...) | (...);
hideZoomAndFit?: (...) | (...) | (...);
};
isFixedPageOrder?: boolean;
isLesson?: boolean;
isMirrorItem?: boolean;
isPromoted?: boolean;
isSearchFolder?: boolean;
isTemplate?: boolean;
term?: null | string;
};
skipPostActions?: boolean;
slug?: string;
thumbnailFilename?: string;
thumbnailUrl?: string;
title?: string;
type?: "Document" | "Episode";
versionHash?: string;
viewed?: string;
watermark?: null | {
align?: null | WatermarkAlign;
backgroundAlpha?: null | number;
backgroundColor?: null | string;
backgroundRGBAColor?: null | string;
id?: string;
signature?: string;
size?: null | number;
text?: null | string;
textAlpha?: null | number;
textColor?: null | string;
textRGBAColor?: null | string;
watermarkAlign?: null | string;
};
})[];
fileType?: string;
hasStoryboard?: boolean;
hierarchy?: (undefined | {
autoStart?: boolean;
id?: string;
launchpadId?: string;
name?: string;
})[];
iconType?: string;
imageHeight?: number;
imageUrl?: string;
imageVersionHash?: string;
imageWidth?: number;
isFavorite?: boolean;
isLesson?: boolean;
isMyItem?: boolean;
isRoot?: boolean;
isSearchFolder?: boolean;
isSharedMyItem?: boolean;
isSortOrderLocked?: boolean;
isSortable?: boolean;
items?: (undefined | {
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?: null | number;
willSync?: boolean;
};
fileType?: string;
hasStoryboard?: boolean;
hierarchy?: (undefined | {
autoStart?: (...) | (...) | (...);
id?: (...) | (...);
launchpadId?: (...) | (...);
name?: (...) | (...);
})[];
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?: {};
mirrorSourceId?: string;
modified?: string;
settings?: {
documentControls?: null | {
hideFullscreen?: (...) | (...) | (...);
hideNavigationArrows?: (...) | (...) | (...);
hidePagePicker?: (...) | (...) | (...);
hideZoomAndFit?: (...) | (...) | (...);
};
isFixedPageOrder?: boolean;
isLesson?: boolean;
isMirrorItem?: boolean;
isPromoted?: boolean;
isSearchFolder?: boolean;
isTemplate?: boolean;
term?: null | string;
};
slug?: string;
thumbnailFilename?: string;
thumbnailUrl?: string;
title?: string;
type?: string;
versionHash?: string;
})[];
lastViewed?: string;
launchpadId?: string;
link?: string;
metadata?: {};
mirrorSourceId?: string;
modified?: string;
newCount?: number;
parentChannelName?: string;
parentChannelSlug?: null | string;
searchFolderTerm?: null | string;
settings?: {
documentControls?: null | {
hideFullscreen?: boolean;
hideNavigationArrows?: boolean;
hidePagePicker?: boolean;
hideZoomAndFit?: boolean;
};
isFixedPageOrder?: boolean;
isLesson?: boolean;
isMirrorItem?: boolean;
isPromoted?: boolean;
isSearchFolder?: boolean;
isTemplate?: boolean;
term?: null | string;
};
slug?: string;
thumbnailFilename?: string;
thumbnailUrl?: string;
title?: string;
totalCount?: number;
type?: "Channel";
updatedCount?: number;
versionHash?: string;
}Optional
airshipItemUrl?: string
Optional
autoStart?: boolean
Optional
canAddFiles?: boolean
Optional
canAddFolders?: boolean
Optional
canBroadcast?: boolean
Optional
canDelete?: boolean
Optional
canEdit?: boolean
Optional
canEditMetadata?: boolean
Optional
canEditThumbnail?: boolean
Optional
canEditWatermarks?: boolean
Optional
canShare?: boolean
Optional
channelCount?: number
Optional
containsNewItems?: boolean
Optional
containsUpdatedItems?: boolean
Optional
contentCount?: number
Optional
created?: string
Optional
description?: string
Optional
downloadStatus?: {
canSync?: boolean;
completed?: number;
currentStatus?: string;
isSynced?: boolean;
lastModified?: number;
total?: null | number;
willSync?: boolean;
}
Optional
canSync?: boolean
Optional
completed?: number
Optional
currentStatus?: string
Optional
isSynced?: boolean
Optional
lastModified?: number
Optional
total?: null | number
Optional
willSync?: boolean
Optional
draftItems?: (undefined | {
airshipItemUrl?: string;
assetCreated?: string;
assetErrorMessage?: null | string;
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?: null | number;
willSync?: boolean;
};
downloadUrl?: string;
draftParentSlug?: string;
drafts?: (undefined | {
slug?: (...) | (...);
})[];
fileType?: string;
filename?: string;
filesize?: string;
hasStoryboard?: boolean;
hierarchy?: (undefined | {
autoStart?: (...) | (...) | (...);
id?: (...) | (...);
launchpadId?: (...) | (...);
name?: (...) | (...);
})[];
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?: "Audio" | "Document" | "Video";
metadata?: {};
mirrorSourceId?: string;
modified?: string;
processingStates?: (undefined | {
containerType?: (...) | (...);
state?: (...) | (...);
})[];
resourceUrl?: string;
settings?: {
documentControls?: null | {
hideFullscreen?: (...) | (...) | (...);
hideNavigationArrows?: (...) | (...) | (...);
hidePagePicker?: (...) | (...) | (...);
hideZoomAndFit?: (...) | (...) | (...);
};
isFixedPageOrder?: boolean;
isLesson?: boolean;
isMirrorItem?: boolean;
isPromoted?: boolean;
isSearchFolder?: boolean;
isTemplate?: boolean;
term?: null | string;
};
skipPostActions?: boolean;
slug?: string;
thumbnailFilename?: string;
thumbnailUrl?: string;
title?: string;
type?: "Document" | "Episode";
versionHash?: string;
viewed?: string;
watermark?: null | {
align?: null | WatermarkAlign;
backgroundAlpha?: null | number;
backgroundColor?: null | string;
backgroundRGBAColor?: null | string;
id?: string;
signature?: string;
size?: null | number;
text?: null | string;
textAlpha?: null | number;
textColor?: null | string;
textRGBAColor?: null | string;
watermarkAlign?: null | string;
};
})[]
Optional
fileType?: string
Optional
hasStoryboard?: boolean
Optional
hierarchy?: (undefined | {
autoStart?: boolean;
id?: string;
launchpadId?: string;
name?: string;
})[]
Optional
iconType?: string
Optional
imageHeight?: number
Optional
imageUrl?: string
Optional
imageVersionHash?: string
Optional
imageWidth?: number
Optional
isFavorite?: boolean
Optional
isLesson?: boolean
Optional
isMyItem?: boolean
Optional
isRoot?: boolean
Optional
isSearchFolder?: boolean
Optional
isSharedMyItem?: boolean
Optional
isSortOrderLocked?: boolean
Optional
isSortable?: boolean
Optional
items?: (undefined | {
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?: null | number;
willSync?: boolean;
};
fileType?: string;
hasStoryboard?: boolean;
hierarchy?: (undefined | {
autoStart?: (...) | (...) | (...);
id?: (...) | (...);
launchpadId?: (...) | (...);
name?: (...) | (...);
})[];
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?: {};
mirrorSourceId?: string;
modified?: string;
settings?: {
documentControls?: null | {
hideFullscreen?: (...) | (...) | (...);
hideNavigationArrows?: (...) | (...) | (...);
hidePagePicker?: (...) | (...) | (...);
hideZoomAndFit?: (...) | (...) | (...);
};
isFixedPageOrder?: boolean;
isLesson?: boolean;
isMirrorItem?: boolean;
isPromoted?: boolean;
isSearchFolder?: boolean;
isTemplate?: boolean;
term?: null | string;
};
slug?: string;
thumbnailFilename?: string;
thumbnailUrl?: string;
title?: string;
type?: string;
versionHash?: string;
})[]
Optional
lastViewed?: string
Optional
launchpadId?: string
Optional
link?: string
Optional
metadata?: {}
Optional
mirrorSourceId?: string
Optional
modified?: string
Optional
newCount?: number
Optional
parentChannelName?: string
Optional
parentChannelSlug?: null | string
Optional
searchFolderTerm?: null | string
Optional
settings?: {
documentControls?: null | {
hideFullscreen?: boolean;
hideNavigationArrows?: boolean;
hidePagePicker?: boolean;
hideZoomAndFit?: boolean;
};
isFixedPageOrder?: boolean;
isLesson?: boolean;
isMirrorItem?: boolean;
isPromoted?: boolean;
isSearchFolder?: boolean;
isTemplate?: boolean;
term?: null | string;
}
Optional
documentControls?: null | {
hideFullscreen?: boolean;
hideNavigationArrows?: boolean;
hidePagePicker?: boolean;
hideZoomAndFit?: boolean;
}
Optional
isFixedPageOrder?: boolean
Optional
isLesson?: boolean
Optional
isMirrorItem?: boolean
Optional
isPromoted?: boolean
Optional
isSearchFolder?: boolean
Optional
isTemplate?: boolean
Optional
term?: null | string
Optional
slug?: string
Optional
thumbnailFilename?: string
Optional
thumbnailUrl?: string
Optional
title?: string
Optional
totalCount?: number
Optional
type?: "Channel"
Optional
updatedCount?: number
Optional
versionHash?: string
Returns Viewer.Folder