Preparing search index...
The search index is not available
XYO Platform SDK - v3.6.9
XYO Platform SDK
@xyo-network/archivist
Archivist
Interface Archivist<TReadResponse, TWriteResponse, TWrite, TId>
interface
Archivist
<
TReadResponse
extends
Payload
=
Payload
,
TWriteResponse
extends
Payload
=
Payload
,
TWrite
extends
Payload
=
TReadResponse
&
Payload
,
TId
=
Hash
,
>
{
all
()
:
PromisableArray
<
WithStorageMeta
<
TReadResponse
>
>
;
clear
()
:
Promisable
<
void
>
;
commit
()
:
PromisableArray
<
TWriteResponse
>
;
delete
(
ids
:
TId
[]
)
:
PromisableArray
<
TId
>
;
get
(
ids
:
TId
[]
)
:
PromisableArray
<
WithStorageMeta
<
TReadResponse
>
>
;
insert
(
item
:
TWrite
[]
)
:
PromisableArray
<
WithStorageMeta
<
TWriteResponse
>
>
;
next
(
options
?:
NextOptions
<
TId
>
,
)
:
PromisableArray
<
WithStorageMeta
<
TReadResponse
>
>
;
}
Type Parameters
TReadResponse
extends
Payload
=
Payload
TWriteResponse
extends
Payload
=
Payload
TWrite
extends
Payload
=
TReadResponse
&
Payload
TId
=
Hash
Hierarchy (
View Summary
)
ReadArchivist
<
WithStorageMeta
<
TReadResponse
>
,
TId
>
WriteArchivist
<
WithStorageMeta
<
TReadResponse
>
,
WithStorageMeta
<
TWriteResponse
>
,
TWrite
,
TId
,
>
StashArchivist
<
TWriteResponse
>
Archivist
ArchivistQueryFunctions
Index
Methods
all
clear
commit
delete
get
insert
next
Methods
all
all
()
:
PromisableArray
<
WithStorageMeta
<
TReadResponse
>
>
Returns
PromisableArray
<
WithStorageMeta
<
TReadResponse
>
>
clear
clear
()
:
Promisable
<
void
>
Returns
Promisable
<
void
>
commit
commit
()
:
PromisableArray
<
TWriteResponse
>
Returns
PromisableArray
<
TWriteResponse
>
delete
delete
(
ids
:
TId
[]
)
:
PromisableArray
<
TId
>
Parameters
ids
:
TId
[]
Returns
PromisableArray
<
TId
>
get
get
(
ids
:
TId
[]
)
:
PromisableArray
<
WithStorageMeta
<
TReadResponse
>
>
Parameters
ids
:
TId
[]
Returns
PromisableArray
<
WithStorageMeta
<
TReadResponse
>
>
insert
insert
(
item
:
TWrite
[]
)
:
PromisableArray
<
WithStorageMeta
<
TWriteResponse
>
>
Parameters
item
:
TWrite
[]
Returns
PromisableArray
<
WithStorageMeta
<
TWriteResponse
>
>
next
next
(
options
?:
NextOptions
<
TId
>
,
)
:
PromisableArray
<
WithStorageMeta
<
TReadResponse
>
>
Parameters
Optional
options
:
NextOptions
<
TId
>
Returns
PromisableArray
<
WithStorageMeta
<
TReadResponse
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
all
clear
commit
delete
get
insert
next
XYO Platform SDK - v3.6.9
Loading...