IFClite TypeScript API
Guides
Packages
Preparing search index...
@ifc-lite/collab-server
ServerBlobStorage
Interface ServerBlobStorage
interface
ServerBlobStorage
{
delete
(
hash
:
string
)
:
Promise
<
boolean
>
;
get
(
hash
:
string
,
)
:
Promise
<
{
bytes
:
Uint8Array
;
meta
:
ServerBlobMeta
}
|
null
>
;
has
(
hash
:
string
)
:
Promise
<
boolean
>
;
list
()
:
Promise
<
string
[]
>
;
put
(
hash
:
string
,
bytes
:
Uint8Array
,
contentType
?:
string
,
)
:
Promise
<
ServerBlobMeta
>
;
}
Implemented by
FsBlobStorage
InMemoryBlobStorage
Index
Methods
delete
get
has
list
put
Methods
delete
delete
(
hash
:
string
)
:
Promise
<
boolean
>
Parameters
hash
:
string
Returns
Promise
<
boolean
>
get
get
(
hash
:
string
)
:
Promise
<
{
bytes
:
Uint8Array
;
meta
:
ServerBlobMeta
}
|
null
>
Parameters
hash
:
string
Returns
Promise
<
{
bytes
:
Uint8Array
;
meta
:
ServerBlobMeta
}
|
null
>
has
has
(
hash
:
string
)
:
Promise
<
boolean
>
Parameters
hash
:
string
Returns
Promise
<
boolean
>
list
list
()
:
Promise
<
string
[]
>
Returns
Promise
<
string
[]
>
put
put
(
hash
:
string
,
bytes
:
Uint8Array
,
contentType
?:
string
,
)
:
Promise
<
ServerBlobMeta
>
Parameters
hash
:
string
bytes
:
Uint8Array
Optional
contentType
:
string
Returns
Promise
<
ServerBlobMeta
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Methods
delete
get
has
list
put
Guides
Packages
IFClite TypeScript API
Loading...