- MockItem(overrides?): Viewer.Item
Parameters
Optional
overrides: {
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?: boolean;
id?: string;
launchpadId?: string;
name?: string;
})[];
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?: 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;
type?: string;
versionHash?: string;
}Optional
airshipItemUrl?: string
Optional
canBroadcast?: boolean
Optional
canDelete?: boolean
Optional
canEdit?: boolean
Optional
canEditMetadata?: boolean
Optional
canEditThumbnail?: boolean
Optional
canEditWatermarks?: boolean
Optional
canShare?: boolean
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
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
isSharedMyItem?: boolean
Optional
isSortOrderLocked?: boolean
Optional
lastViewed?: string
Optional
launchpadId?: string
Optional
link?: string
Optional
metadata?: {}
Optional
mirrorSourceId?: string
Optional
modified?: 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
type?: string
Optional
versionHash?: string
Returns Viewer.Item