Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

OptimisticChangeMessage.md

98 lines1.9 KB

Interface: OptimisticChangeMessage<T>

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

Extends

Type Parameters

T

T extends object = Record<string, unknown>

Properties

isActive?

optional isActive: boolean;

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


key

key: string | number;

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

Inherited from

ChangeMessage.key


metadata?

optional metadata: Record<string, unknown>;

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

Inherited from

ChangeMessage.metadata


previousValue?

optional previousValue: T;

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

Inherited from

ChangeMessage.previousValue


type

type: OperationType;

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

Inherited from

ChangeMessage.type


value

value: T;

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

Inherited from

ChangeMessage.value