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

ChangeMessage.md

66 lines1.1 KB

1---
2id: ChangeMessage
3title: ChangeMessage
4---
5​
6Defined in: [packages/db/src/types.ts:551](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L551)
7​
8## Type Parameters
9​
10### T
11​
12`T` *extends* `object` = `Record`\<`string`, `unknown`\>
13​
14### TKey
15​
16`TKey` *extends* `string` \| `number` = `string` \| `number`
17​
18## Properties
19​
20### key
21​
22```ts
23key: TKey;
24```
25​
26Defined in: [packages/db/src/types.ts:555](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L555)
27​
28***
29​
30### metadata?
31​
32```ts
33optional metadata: Record<string, unknown>;
34```
35​
36Defined in: [packages/db/src/types.ts:559](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L559)
37​
38***
39​
40### previousValue?
41​
42```ts
43optional previousValue: T;
44```
45​
46Defined in: [packages/db/src/types.ts:557](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L557)
47​
48***
49​
50### type
51​
52```ts
53type: OperationType;
54```
55​
56Defined in: [packages/db/src/types.ts:558](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L558)
57​
58***
59​
60### value
61​
62```ts
63value: T;
64```
65​
66Defined in: [packages/db/src/types.ts:556](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L556)