ChangeMessage

Interface: ChangeMessage<T, TKey>

Defined in: packages/db/src/types.ts:314

Extended by

Type Parameters

T

T extends object = Record<string, unknown>

TKey

TKey extends string | number = string | number

Properties

key

ts
key: TKey;
key: TKey;

Defined in: packages/db/src/types.ts:318


metadata?

ts
optional metadata: Record<string, unknown>;
optional metadata: Record<string, unknown>;

Defined in: packages/db/src/types.ts:322


previousValue?

ts
optional previousValue: T;
optional previousValue: T;

Defined in: packages/db/src/types.ts:320


type

ts
type: OperationType;
type: OperationType;

Defined in: packages/db/src/types.ts:321


value

ts
value: T;
value: T;

Defined in: packages/db/src/types.ts:319