import type { FileIdentifier } from '@atlaskit/media-client/identifier'; import { archiveFileId, audioFileId, audioNoCoverFileId, docFileId, bigDocFileId, largePdfFileId, imageFileId, emptyImageFileId, largeImageFileId, smallImageFileId, unknownFileId, videoFileId, videoHorizontalFileId, videoLargeFileId, videoProcessingFailedId, wideImageFileId, errorFileId, videoSquareFileId, verticalImageFileId, zipFileId, zipFileWithNestedFolderId, zipItemMultipleFoldersAtRootId, zipItemLargeInnerFileId, zipJiraArchiveFileId, zipEncryptedFileId, codeFileId, emailFileId, emailUnsupportedFileId, } from '@atlaskit/media-client/test-helpers/example-media-items'; export const imageIdentifier: FileIdentifier = { ...imageFileId, occurrenceKey: 'testOccurrenceKey', }; export const wideImageIdentifier: FileIdentifier = { ...wideImageFileId, occurrenceKey: 'testOccurrenceKey', }; export const docIdentifier: FileIdentifier = { ...docFileId, occurrenceKey: 'testOccurrenceKey', }; export const largePdfIdentifier: FileIdentifier = { ...largePdfFileId, occurrenceKey: 'testOccurrenceKey', }; export const imageIdentifier2: FileIdentifier = { ...imageFileId, occurrenceKey: 'other-ocurrence-key', }; export const videoIdentifier: FileIdentifier = { ...videoFileId, occurrenceKey: 'testOccurrenceKey', }; export const unsupportedIdentifier: FileIdentifier = { ...unknownFileId, occurrenceKey: 'testOccurrenceKey', }; export const emptyImage: FileIdentifier = { ...emptyImageFileId, occurrenceKey: 'corruptedTestOccurrenceKey', }; export const imageItem: FileIdentifier = { ...imageFileId, occurrenceKey: 'testOccurrenceKey', }; export const smallImageItem: FileIdentifier = { ...smallImageFileId, occurrenceKey: 'testOccurrenceKey', }; export const largeImageItem: FileIdentifier = { ...largeImageFileId, occurrenceKey: 'testOccurrenceKey', }; export const wideImageItem: FileIdentifier = { ...wideImageFileId, occurrenceKey: 'testOccurrenceKey', }; export const verticalImageItem: FileIdentifier = { ...verticalImageFileId, occurrenceKey: 'testOccurrenceKey', }; export const docItem: FileIdentifier = { ...docFileId, occurrenceKey: 'testOccurrenceKey', }; export const bigDocItem: FileIdentifier = { ...bigDocFileId, occurrenceKey: 'testOccurrenceKey', }; export const videoItem: FileIdentifier = { ...videoFileId, occurrenceKey: 'testOccurrenceKey', }; export const videoHorizontalFileItem: FileIdentifier = { ...videoHorizontalFileId, occurrenceKey: 'testOccurrenceKey', }; export const videoLargeFileItem: FileIdentifier = { ...videoLargeFileId, occurrenceKey: 'testOccurrenceKey', }; export const videoProcessingFailedItem: FileIdentifier = { ...videoProcessingFailedId, occurrenceKey: 'testOccurrenceKey', }; export const videoSquareFileIdItem: FileIdentifier = { ...videoSquareFileId, occurrenceKey: 'testOccurrenceKey', }; export const audioItem: FileIdentifier = { ...audioFileId, occurrenceKey: 'testOccurrenceKey', }; export const audioItemNoCover: FileIdentifier = { ...audioNoCoverFileId, occurrenceKey: 'testOccurrenceKey', }; export const archiveItem: FileIdentifier = { ...archiveFileId, occurrenceKey: 'testOccurrenceKey', }; export const zipJiraArchiveItem: FileIdentifier = { ...zipJiraArchiveFileId, occurrenceKey: 'testOccurrenceKey', }; export const zipEncryptedItem: FileIdentifier = { ...zipEncryptedFileId, occurrenceKey: 'testOccurrenceKey', }; export const unsupportedItem: FileIdentifier = { ...unknownFileId, occurrenceKey: 'testOccurrenceKey', }; export const errorItem: FileIdentifier = { ...errorFileId, occurrenceKey: 'testOccurrenceKey', }; export const zipItem: FileIdentifier = { ...zipFileId, occurrenceKey: 'testOccurrenceKey', }; export const zipWithNestedFolderItem: FileIdentifier = { ...zipFileWithNestedFolderId, occurrenceKey: 'testOccurrenceKey', }; export const zipItemMultipleFoldersAtRoot: { occurrenceKey: string; mediaItemType: 'file'; id: string; collectionName?: string; } = { ...zipItemMultipleFoldersAtRootId, occurrenceKey: 'testOccurenceKey', }; export const zipItemLargeInnerFile: { occurrenceKey: string; mediaItemType: 'file'; id: string; collectionName?: string; } = { ...zipItemLargeInnerFileId, occurrenceKey: 'testOccurrenceKey', }; export const codeItem: { occurrenceKey: string; mediaItemType: 'file'; id: string; collectionName?: string; } = { ...codeFileId, occurrenceKey: 'testOccurrenceKey', }; export const emailItem: { occurrenceKey: string; mediaItemType: 'file'; id: string; collectionName?: string; } = { ...emailFileId, occurrenceKey: 'testOccurrenceKey', }; export const emailFailedItem: { occurrenceKey: string; mediaItemType: 'file'; id: string; collectionName?: string; } = { ...emailUnsupportedFileId, occurrenceKey: 'testOccurrenceKey', };