# ChangesPayload

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

```ts
type ChangesPayload<T, TKey> = ChangeMessage<WithVirtualProps<T, TKey>, TKey>[];
```

Defined in: [packages/db/src/types.ts:1174](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L1174)

## Type Parameters

### T

`T` *extends* `object` = `Record`\<`string`, `unknown`\>

### TKey

`TKey` *extends* `string` \| `number` = `string` \| `number`
