Class: BaseIndexStore
Constructors
constructor
• new BaseIndexStore()
Methods
addIndexStruct
▸ Abstract
addIndexStruct(indexStruct
): Promise
<void
>
Parameters
Name | Type |
---|---|
indexStruct | IndexStruct |
Returns
Promise
<void
>
Defined in
packages/core/src/storage/indexStore/types.ts:13
deleteIndexStruct
▸ Abstract
deleteIndexStruct(key
): Promise
<void
>
Parameters
Name | Type |
---|---|
key | string |
Returns
Promise
<void
>
Defined in
packages/core/src/storage/indexStore/types.ts:15
getIndexStruct
▸ Abstract
getIndexStruct(structId?
): Promise
<undefined
| IndexStruct
>
Parameters
Name | Type |
---|---|
structId? | string |
Returns
Promise
<undefined
| IndexStruct
>
Defined in
packages/core/src/storage/indexStore/types.ts:17
getIndexStructs
▸ Abstract
getIndexStructs(): Promise
<IndexStruct
[]>
Returns
Promise
<IndexStruct
[]>
Defined in
packages/core/src/storage/indexStore/types.ts:11
persist
▸ persist(persistPath?
, fs?
): Promise
<void
>
Parameters
Name | Type | Default value |
---|---|---|
persistPath | string | defaultPersistPath |
fs? | GenericFileSystem | undefined |
Returns
Promise
<void
>