@drupflare/workforce - v0.3.0
Preparing search index...
store
IndexStore
Interface IndexStore
interface
IndexStore
{
delete
(
kind
:
string
,
id
:
string
)
:
Promise
<
void
>
;
get
(
kind
:
string
,
id
:
string
)
:
Promise
<
StoreRecord
|
null
>
;
list
(
kind
:
string
,
options
?:
{
limit
?:
number
;
prefix
?:
string
}
,
)
:
Promise
<
StoreRecord
[]
>
;
put
(
record
:
Omit
<
StoreRecord
,
"updatedAtMs"
>
&
{
updatedAtMs
?:
number
}
,
)
:
Promise
<
void
>
;
}
Index
Methods
delete
get
list
put
Methods
delete
delete
(
kind
:
string
,
id
:
string
)
:
Promise
<
void
>
Parameters
kind
:
string
id
:
string
Returns
Promise
<
void
>
get
get
(
kind
:
string
,
id
:
string
)
:
Promise
<
StoreRecord
|
null
>
Parameters
kind
:
string
id
:
string
Returns
Promise
<
StoreRecord
|
null
>
list
list
(
kind
:
string
,
options
?:
{
limit
?:
number
;
prefix
?:
string
}
,
)
:
Promise
<
StoreRecord
[]
>
Parameters
kind
:
string
Optional
options
:
{
limit
?:
number
;
prefix
?:
string
}
Returns
Promise
<
StoreRecord
[]
>
put
put
(
record
:
Omit
<
StoreRecord
,
"updatedAtMs"
>
&
{
updatedAtMs
?:
number
}
,
)
:
Promise
<
void
>
Parameters
record
:
Omit
<
StoreRecord
,
"updatedAtMs"
>
&
{
updatedAtMs
?:
number
}
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
delete
get
list
put
@drupflare/workforce - v0.3.0
Loading...