Skip to main content

StorageAction

Stentor API Reference


Stentor API Reference / stentor-models/src / StorageAction

Interface: StorageAction

Defined in: packages/stentor-models/src/Storage/StorageAction.ts:7

Extends​

Properties​

key​

key: string

Defined in: packages/stentor-models/src/Storage/KeyValueStore.ts:9

Key on the storage that the action will be taken on.

Inherited from​

KeyValue.key


value?​

optional value: ValueTypes

Defined in: packages/stentor-models/src/Storage/KeyValueStore.ts:15

The value to be set or appended.

Not always required when deleting a key.

Inherited from​

KeyValue.value


type​

type: StorageActionType

Defined in: packages/stentor-models/src/Storage/StorageAction.ts:11

The type of action to be performed on the storage.


store​

store: StorageType

Defined in: packages/stentor-models/src/Storage/StorageAction.ts:15

Which storage to perform the action on.