Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace StateDB

A namespace for StateDB statics.

Index

Classes

Interfaces

Type aliases

Type aliases

Change

Change: { id: string | null; type: "clear" | "remove" | "save" }

A state database change.

Type declaration

  • id: string | null

    The key of the database item that was changed.

    Notes

    This field is set to null for global changes (i.e. clear).

  • type: "clear" | "remove" | "save"

    The type of change.

Content

Content<T>: {}

Database content map

Type parameters

  • T

Type declaration

DataTransform

DataTransform<T>: { contents: Content<T> | null; type: "cancel" | "clear" | "merge" | "overwrite" }

A data transformation that can be applied to a state database.

Type parameters

  • T: ReadonlyPartialJSONValue = ReadonlyPartialJSONValue

Type declaration

  • contents: Content<T> | null

    The contents of the change operation.

  • type: "cancel" | "clear" | "merge" | "overwrite"

Generated using TypeDoc