Search
Preparing search index...
The search index is not available
@threefold/grid_client
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@threefold/grid_client
BackendStorage
Class BackendStorage
Hierarchy
BackendStorage
Index
Constructors
constructor
Properties
backend
Storage
storage
type
Methods
dump
list
load
remove
update
is
Env
Node
Constructors
constructor
new
Backend
Storage
(
type
?:
BackendStorageType
, substrateURL
?:
string
, mnemonic
?:
string
, storeSecret
?:
string
|
Uint8Array
, keypairType
?:
KeypairType
, backendStorage
?:
BackendStorageInterface
, seed
?:
string
)
:
BackendStorage
Parameters
type:
BackendStorageType
= BackendStorageType.auto
substrateURL:
string
= ""
mnemonic:
string
= ""
Optional
storeSecret:
string
|
Uint8Array
Optional
keypairType:
KeypairType
Optional
backendStorage:
BackendStorageInterface
seed:
string
= ""
Returns
BackendStorage
Properties
Optional
backend
Storage
backend
Storage
?:
BackendStorageInterface
storage
storage
:
any
type
type
:
BackendStorageType
= BackendStorageType.auto
Methods
dump
dump
(
key
:
string
, value
:
any
)
:
Promise
<
any
>
Parameters
key:
string
value:
any
Returns
Promise
<
any
>
list
list
(
key
:
string
)
:
Promise
<
any
>
Parameters
key:
string
Returns
Promise
<
any
>
load
load
(
key
:
string
)
:
Promise
<
any
>
Parameters
key:
string
Returns
Promise
<
any
>
remove
remove
(
key
:
string
)
:
Promise
<
any
>
Parameters
key:
string
Returns
Promise
<
any
>
update
update
(
key
:
string
, field
:
string
, data
?:
any
, action
?:
StorageUpdateAction
)
:
Promise
<
any
>
Parameters
key:
string
field:
string
data:
any
= null
action:
StorageUpdateAction
= StorageUpdateAction.add
Returns
Promise
<
any
>
Static
is
Env
Node
is
Env
Node
(
)
:
boolean
Returns
boolean
Exports
Backend
Storage
constructor
backend
Storage
storage
type
dump
list
load
remove
update
is
Env
Node
Generated using
TypeDoc