@nuclia/core / Exports / FileWithMetadata
Interface: FileWithMetadata
Hierarchy
-
File
↳
FileWithMetadata
Table of contents
Properties
Methods
Properties
contentType
• Optional
contentType: string
Defined in
libs/sdk-core/src/lib/db/upload.ts:57
lang
• Optional
lang: string
Defined in
libs/sdk-core/src/lib/db/upload.ts:54
lastModified
• Readonly
lastModified: number
Inherited from
File.lastModified
Defined in
node_modules/typescript/lib/lib.dom.d.ts:8390
md5
• Optional
md5: string
Defined in
libs/sdk-core/src/lib/db/upload.ts:55
name
• Readonly
name: string
Inherited from
File.name
Defined in
node_modules/typescript/lib/lib.dom.d.ts:8392
payload
• Optional
payload: ICreateResource
Defined in
libs/sdk-core/src/lib/db/upload.ts:56
size
• Readonly
size: number
Inherited from
File.size
Defined in
node_modules/typescript/lib/lib.dom.d.ts:3143
type
• Readonly
type: string
Inherited from
File.type
Defined in
node_modules/typescript/lib/lib.dom.d.ts:3145
webkitRelativePath
• Readonly
webkitRelativePath: string
Inherited from
File.webkitRelativePath
Defined in
node_modules/typescript/lib/lib.dom.d.ts:8394
Methods
arrayBuffer
▸ arrayBuffer(): Promise
<ArrayBuffer
>
Returns
Promise
<ArrayBuffer
>
Inherited from
File.arrayBuffer
Defined in
node_modules/typescript/lib/lib.dom.d.ts:3147
slice
▸ slice(start?
, end?
, contentType?
): Blob
Parameters
Name | Type |
---|---|
start? | number |
end? | number |
contentType? | string |
Returns
Blob
Inherited from
File.slice
Defined in
node_modules/typescript/lib/lib.dom.d.ts:3149
stream
▸ stream(): ReadableStream
<Uint8Array
>
Returns
ReadableStream
<Uint8Array
>
Inherited from
File.stream
Defined in
node_modules/typescript/lib/lib.dom.d.ts:3151
text
▸ text(): Promise
<string
>
Returns
Promise
<string
>
Inherited from
File.text
Defined in
node_modules/typescript/lib/lib.dom.d.ts:3153