UNPKG

box-ui-elements

Version:
924 lines (923 loc) • 27.7 kB
declare const mockEmptyRootFolder: { type: string; id: string; etag: string; name: string; size: number; parent: { type: string; id: string; sequence_id: any; etag: any; name: string; }; permissions: { can_download: boolean; can_upload: boolean; can_rename: boolean; can_delete: boolean; can_share: boolean; can_invite_collaborator: boolean; can_set_share_access: boolean; }; path_collection: { total_count: number; entries: { type: string; id: string; sequence_id: any; etag: any; name: string; }[]; }; modified_at: string; created_at: string; modified_by: { type: string; id: string; name: string; login: string; }; has_collaborations: boolean; is_externally_owned: boolean; shared_link: any; watermark_info: { is_watermarked: boolean; }; item_collection: { total_count: number; entries: any[]; offset: number; limit: number; order: { by: string; direction: string; }[]; }; }; declare const mockRootFolder: { type: string; id: string; etag: string; name: string; size: number; parent: any; permissions: { can_download: boolean; can_upload: boolean; can_rename: boolean; can_delete: boolean; can_share: boolean; can_invite_collaborator: boolean; can_set_share_access: boolean; }; path_collection: { total_count: number; entries: { type: string; id: string; sequence_id: any; etag: any; name: string; }[]; }; modified_at: string; created_at: string; modified_by: { type: string; id: string; name: string; login: string; }; has_collaborations: boolean; is_externally_owned: boolean; shared_link: any; watermark_info: { is_watermarked: boolean; }; item_collection: { total_count: number; entries: ({ type: string; id: string; etag: string; name: string; size: number; parent: { type: string; id: string; sequence_id: string; etag: string; name: string; }; extension: string; permissions: { can_download: boolean; can_preview: boolean; can_upload: boolean; can_comment: boolean; can_rename: boolean; can_delete: boolean; can_share: boolean; can_set_share_access: boolean; can_invite_collaborator: boolean; can_annotate: boolean; can_view_annotations_all: boolean; can_view_annotations_self: boolean; can_create_annotations: boolean; can_view_annotations: boolean; }; path_collection: { total_count: number; entries: { type: string; id: string; sequence_id: string; etag: string; name: string; }[]; }; modified_at: string; created_at: string; modified_by: { type: string; id: string; name: string; login: string; }; has_collaborations: boolean; is_externally_owned: boolean; authenticated_download_url: string; is_download_available: boolean; representations: { entries: { representation: string; properties: { dimensions: string; paged: string; thumb: string; }; info: { url: string; }; status: { state: string; }; content: { url_template: string; }; }[]; }; file_version: { type: string; id: string; sha1: string; }; sha1: string; shared_link: { url: string; permissions: { can_preview: boolean; can_download: boolean; can_edit: boolean; }; }; watermark_info: { is_watermarked: boolean; }; } | { type: string; id: string; etag: string; name: string; size: number; parent: { type: string; id: string; sequence_id: string; etag: string; name: string; }; extension: string; permissions: { can_download: boolean; can_preview: boolean; can_upload: boolean; can_comment: boolean; can_rename: boolean; can_delete: boolean; can_share: boolean; can_set_share_access: boolean; can_invite_collaborator: boolean; can_annotate: boolean; can_view_annotations_all: boolean; can_view_annotations_self: boolean; can_create_annotations: boolean; can_view_annotations: boolean; }; path_collection: { total_count: number; entries: { type: string; id: string; sequence_id: string; etag: string; name: string; }[]; }; modified_at: string; created_at: string; modified_by: { type: string; id: string; name: string; login: string; }; has_collaborations: boolean; is_externally_owned: boolean; authenticated_download_url: string; is_download_available: boolean; representations: { entries: ({ representation: string; properties: { dimensions: string; paged: string; thumb: string; }; info: { url: string; }; status: { state: string; }; content: { url_template: string; }; } | { representation: string; properties: { dimensions?: undefined; paged?: undefined; thumb?: undefined; }; info: { url: string; }; status: { state: string; }; content: { url_template: string; }; })[]; }; file_version?: undefined; sha1?: undefined; shared_link?: undefined; watermark_info?: undefined; } | { type: string; id: string; etag: string; name: string; size: number; parent: { type: string; id: string; sequence_id: string; etag: string; name: string; }; permissions: { can_download: boolean; can_upload: boolean; can_rename: boolean; can_delete: boolean; can_share: boolean; can_invite_collaborator: boolean; can_set_share_access: boolean; }; path_collection: { total_count: number; entries: { type: string; id: string; sequence_id: string; etag: string; name: string; }[]; }; modified_at: string; created_at: string; modified_by: { type: string; id: string; name: string; login: string; }; has_collaborations: boolean; is_externally_owned: boolean; shared_link: { url: string; permissions: { can_preview: boolean; can_download: boolean; can_edit: boolean; }; }; watermark_info: { is_watermarked: boolean; }; archive_type?: undefined; } | { type: string; id: string; etag: string; name: string; size: number; parent: { type: string; id: string; sequence_id: string; etag: string; name: string; }; permissions: { can_download: boolean; can_upload: boolean; can_rename: boolean; can_delete: boolean; can_share: boolean; can_invite_collaborator: boolean; can_set_share_access: boolean; }; path_collection: { total_count: number; entries: { type: string; id: string; sequence_id: string; etag: string; name: string; }[]; }; modified_at: string; created_at: string; modified_by: { type: string; id: string; name: string; login: string; }; has_collaborations: boolean; is_externally_owned: boolean; shared_link: any; watermark_info: { is_watermarked: boolean; }; archive_type: string; })[]; offset: number; limit: number; order: { by: string; direction: string; }[]; }; }; declare const mockRootFolderSharedLink: { type: string; id: string; etag: string; name: string; size: number; parent: any; permissions: { can_download: boolean; can_upload: boolean; can_rename: boolean; can_delete: boolean; can_share: boolean; can_invite_collaborator: boolean; can_set_share_access: boolean; }; path_collection: { total_count: number; entries: { type: string; id: string; sequence_id: any; etag: any; name: string; }[]; }; modified_at: string; created_at: string; modified_by: { type: string; id: string; name: string; login: string; }; has_collaborations: boolean; is_externally_owned: boolean; shared_link: any; watermark_info: { is_watermarked: boolean; }; item_collection: { total_count: number; entries: ({ type: string; id: string; etag: string; name: string; size: number; parent: { type: string; id: string; sequence_id: string; etag: string; name: string; }; permissions: { can_download: boolean; can_upload: boolean; can_rename: boolean; can_delete: boolean; can_share: boolean; can_invite_collaborator: boolean; can_set_share_access: boolean; }; path_collection: { total_count: number; entries: { type: string; id: string; sequence_id: string; etag: string; name: string; }[]; }; modified_at: string; created_at: string; modified_by: { type: string; id: string; name: string; login: string; }; has_collaborations: boolean; is_externally_owned: boolean; shared_link: { url: string; permissions: { can_preview: boolean; can_download: boolean; can_edit: boolean; }; }; watermark_info: { is_watermarked: boolean; }; archive_type?: undefined; } | { type: string; id: string; etag: string; name: string; size: number; parent: { type: string; id: string; sequence_id: string; etag: string; name: string; }; permissions: { can_download: boolean; can_upload: boolean; can_rename: boolean; can_delete: boolean; can_share: boolean; can_invite_collaborator: boolean; can_set_share_access: boolean; }; path_collection: { total_count: number; entries: { type: string; id: string; sequence_id: string; etag: string; name: string; }[]; }; modified_at: string; created_at: string; modified_by: { type: string; id: string; name: string; login: string; }; has_collaborations: boolean; is_externally_owned: boolean; shared_link: any; watermark_info: { is_watermarked: boolean; }; archive_type: string; } | { shared_link: { url: string; permissions: { can_preview: boolean; can_download: boolean; can_edit: boolean; }; }; type: string; id: string; etag: string; name: string; size: number; parent: { type: string; id: string; sequence_id: string; etag: string; name: string; }; extension: string; permissions: { can_download: boolean; can_preview: boolean; can_upload: boolean; can_comment: boolean; can_rename: boolean; can_delete: boolean; can_share: boolean; can_set_share_access: boolean; can_invite_collaborator: boolean; can_annotate: boolean; can_view_annotations_all: boolean; can_view_annotations_self: boolean; can_create_annotations: boolean; can_view_annotations: boolean; }; path_collection: { total_count: number; entries: { type: string; id: string; sequence_id: string; etag: string; name: string; }[]; }; modified_at: string; created_at: string; modified_by: { type: string; id: string; name: string; login: string; }; has_collaborations: boolean; is_externally_owned: boolean; authenticated_download_url: string; is_download_available: boolean; representations: { entries: { representation: string; properties: { dimensions: string; paged: string; thumb: string; }; info: { url: string; }; status: { state: string; }; content: { url_template: string; }; }[]; }; file_version: { type: string; id: string; sha1: string; }; sha1: string; watermark_info: { is_watermarked: boolean; }; archive_type?: undefined; } | { shared_link: { url: string; permissions: { can_preview: boolean; can_download: boolean; can_edit: boolean; }; }; type: string; id: string; etag: string; name: string; size: number; parent: { type: string; id: string; sequence_id: string; etag: string; name: string; }; extension: string; permissions: { can_download: boolean; can_preview: boolean; can_upload: boolean; can_comment: boolean; can_rename: boolean; can_delete: boolean; can_share: boolean; can_set_share_access: boolean; can_invite_collaborator: boolean; can_annotate: boolean; can_view_annotations_all: boolean; can_view_annotations_self: boolean; can_create_annotations: boolean; can_view_annotations: boolean; }; path_collection: { total_count: number; entries: { type: string; id: string; sequence_id: string; etag: string; name: string; }[]; }; modified_at: string; created_at: string; modified_by: { type: string; id: string; name: string; login: string; }; has_collaborations: boolean; is_externally_owned: boolean; authenticated_download_url: string; is_download_available: boolean; representations: { entries: ({ representation: string; properties: { dimensions: string; paged: string; thumb: string; }; info: { url: string; }; status: { state: string; }; content: { url_template: string; }; } | { representation: string; properties: { dimensions?: undefined; paged?: undefined; thumb?: undefined; }; info: { url: string; }; status: { state: string; }; content: { url_template: string; }; })[]; }; file_version?: undefined; sha1?: undefined; watermark_info?: undefined; archive_type?: undefined; })[]; offset: number; limit: number; order: { by: string; direction: string; }[]; }; }; declare const mockRecentItems: { next_marker: string; limit: number; order: { by: string; direction: string; }; entries: { type: string; interaction_type: string; interacted_at: string; item: { type: string; id: string; etag: string; name: string; size: number; parent: { type: string; id: string; sequence_id: string; etag: string; name: string; }; extension: string; permissions: { can_download: boolean; can_preview: boolean; can_upload: boolean; can_comment: boolean; can_rename: boolean; can_delete: boolean; can_share: boolean; can_set_share_access: boolean; can_invite_collaborator: boolean; can_annotate: boolean; can_view_annotations_all: boolean; can_view_annotations_self: boolean; can_create_annotations: boolean; can_view_annotations: boolean; }; path_collection: { total_count: number; entries: { type: string; id: string; sequence_id: string; etag: string; name: string; }[]; }; modified_at: string; created_at: string; modified_by: { type: string; id: string; name: string; login: string; }; has_collaborations: boolean; is_externally_owned: boolean; authenticated_download_url: string; is_download_available: boolean; representations: { entries: { representation: string; properties: { dimensions: string; paged: string; thumb: string; }; info: { url: string; }; status: { state: string; }; content: { url_template: string; }; }[]; }; file_version: { type: string; id: string; sha1: string; }; sha1: string; shared_link: { url: string; permissions: { can_preview: boolean; can_download: boolean; can_edit: boolean; }; }; watermark_info: { is_watermarked: boolean; }; } | { type: string; id: string; etag: string; name: string; size: number; parent: { type: string; id: string; sequence_id: string; etag: string; name: string; }; extension: string; permissions: { can_download: boolean; can_preview: boolean; can_upload: boolean; can_comment: boolean; can_rename: boolean; can_delete: boolean; can_share: boolean; can_set_share_access: boolean; can_invite_collaborator: boolean; can_annotate: boolean; can_view_annotations_all: boolean; can_view_annotations_self: boolean; can_create_annotations: boolean; can_view_annotations: boolean; }; path_collection: { total_count: number; entries: { type: string; id: string; sequence_id: string; etag: string; name: string; }[]; }; modified_at: string; created_at: string; modified_by: { type: string; id: string; name: string; login: string; }; has_collaborations: boolean; is_externally_owned: boolean; authenticated_download_url: string; is_download_available: boolean; representations: { entries: ({ representation: string; properties: { dimensions: string; paged: string; thumb: string; }; info: { url: string; }; status: { state: string; }; content: { url_template: string; }; } | { representation: string; properties: { dimensions?: undefined; paged?: undefined; thumb?: undefined; }; info: { url: string; }; status: { state: string; }; content: { url_template: string; }; })[]; }; file_version?: undefined; sha1?: undefined; shared_link?: undefined; watermark_info?: undefined; }; interaction_shared_link: any; }[]; }; export { mockEmptyRootFolder, mockRecentItems, mockRootFolder, mockRootFolderSharedLink };