OptimisticChangeMessage

Interface: OptimisticChangeMessage<T>

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

Extends

Type Parameters

T

T extends object = Record<string, unknown>

Properties

isActive?

ts
optional isActive: boolean;
optional isActive: boolean;

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


key

ts
key: string | number;
key: string | number;

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

Inherited from

ChangeMessage.key


metadata?

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

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

Inherited from

ChangeMessage.metadata


previousValue?

ts
optional previousValue: T;
optional previousValue: T;

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

Inherited from

ChangeMessage.previousValue


type

ts
type: OperationType;
type: OperationType;

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

Inherited from

ChangeMessage.type


value

ts
value: T;
value: T;

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

Inherited from

ChangeMessage.value