web / UseItemTableTemplate
Interface: UseItemTableTemplate ​
Defined in: apps/web/composables/useItemTable/types.ts:10
Properties ​
bytesToMB() ​
bytesToMB: (
bytes
) =>string
Defined in: apps/web/composables/useItemTable/types.ts:16
Parameters ​
bytes ​
string
| number
Returns ​
string
data ​
data:
Readonly
<Ref
<StorageObject
[],StorageObject
[]>>
Defined in: apps/web/composables/useItemTable/types.ts:11
folders ​
folders:
Readonly
<Ref
<string
[],string
[]>>
Defined in: apps/web/composables/useItemTable/types.ts:19
formatDate() ​
formatDate: (
dateString
) =>string
Defined in: apps/web/composables/useItemTable/types.ts:17
Parameters ​
dateString ​
string
Returns ​
string
getStorageItems ​
getStorageItems:
GetStorageItems
Defined in: apps/web/composables/useItemTable/types.ts:14
getStorageMetadata() ​
getStorageMetadata: (
key
) =>Promise
<StorageMetadataData
>
Defined in: apps/web/composables/useItemTable/types.ts:18
Parameters ​
key ​
string
Returns ​
Promise
<StorageMetadataData
>
headers ​
headers:
Readonly
<Ref
<object
[],object
[]>>
Defined in: apps/web/composables/useItemTable/types.ts:13
loading ​
loading:
Readonly
<Ref
<boolean
,boolean
>>
Defined in: apps/web/composables/useItemTable/types.ts:12
revokeAllBlobUrls() ​
revokeAllBlobUrls: () =>
void
Defined in: apps/web/composables/useItemTable/types.ts:20
Returns ​
void
uploadStorageItem() ​
uploadStorageItem: (
file
,filePath
) =>Promise
<null
|StorageObject
>
Defined in: apps/web/composables/useItemTable/types.ts:15
Parameters ​
file ​
File
filePath ​
string
Returns ​
Promise
<null
| StorageObject
>