zenstack/packages/clients/tanstack-query
ymc9 520cdf4d6e refactor(tanstack-query): strongly type TransactionOperation and normalize model name lookup
- Make `TransactionOperation<Schema>` a discriminated union over (model, op) pairs with schema-derived args types
- Normalize incoming mutation model name via case-insensitive schema lookup so lowerCaseFirst names resolve
- Guard transaction onSuccess against malformed variables and per-item shape
- Move `normalizeEndpoint` from constants.ts to client.ts
- Group react-query tests into CRUD/Optimistic/Sequential describe blocks

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-03 17:22:05 -07:00
..
src refactor(tanstack-query): strongly type TransactionOperation and normalize model name lookup 2026-05-03 17:22:05 -07:00
test refactor(tanstack-query): strongly type TransactionOperation and normalize model name lookup 2026-05-03 17:22:05 -07:00
.gitignore refactor: extract client-helpers package, update svelte-query to v6 (#535) 2025-12-27 22:49:19 +08:00
eslint.config.js feat(tanstack-query): new implementation of tanstack-query react hooks (#356) 2025-11-02 23:14:11 -08:00
package.json [CI] Bump version 3.6.4 (#2624) 2026-04-27 17:50:05 -07:00
tsconfig.general.json chore: migrate from tsup to tsdown (#2580) 2026-04-15 12:13:34 -07:00
tsconfig.json refactor: extract client-helpers package, update svelte-query to v6 (#535) 2025-12-27 22:49:19 +08:00
tsconfig.svelte.json chore: migrate from tsup to tsdown (#2580) 2026-04-15 12:13:34 -07:00
tsconfig.test.json chore: migrate from tsup to tsdown (#2580) 2026-04-15 12:13:34 -07:00
vitest.config.ts feat: ORM api slicing (#2383) 2026-02-18 07:45:04 -08:00