Class: StoreConf
@web3-storage/access.StoreConf
Store implementation with "conf"
Usage:
import { StoreConf } from '@web3-storage/access/stores/store-conf'
Hierarchy
ConfDriver
↳
StoreConf
Constructors
constructor
• new StoreConf(opts
)
Parameters
Name | Type |
---|---|
opts | Object |
opts.profile | string |
Inherited from
ConfDriver.constructor
Defined in
packages/access-client/src/drivers/conf.js:30
Properties
#config
• Private
#config: Conf
<AgentDataExport
>
Inherited from
ConfDriver.#config
Defined in
packages/access-client/src/drivers/conf.js:25
path
• path: string
Inherited from
ConfDriver.path
Defined in
packages/access-client/src/drivers/conf.js:38
Methods
close
▸ close(): Promise
<void
>
Returns
Promise
<void
>
Inherited from
ConfDriver.close
Defined in
packages/access-client/src/drivers/conf.js:43
load
▸ load(): Promise
<undefined
| AgentDataExport
>
Returns
Promise
<undefined
| AgentDataExport
>
Inherited from
ConfDriver.load
Defined in
packages/access-client/src/drivers/conf.js:63
open
▸ open(): Promise
<void
>
Returns
Promise
<void
>
Inherited from
ConfDriver.open
Defined in
packages/access-client/src/drivers/conf.js:41
reset
▸ reset(): Promise
<void
>
Returns
Promise
<void
>
Inherited from
ConfDriver.reset
Defined in
packages/access-client/src/drivers/conf.js:45
save
▸ save(data
): Promise
<void
>
Parameters
Name | Type |
---|---|
data | AgentDataExport |
Returns
Promise
<void
>
Inherited from
ConfDriver.save