mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
improvement(react-query): codebase-wide audit — server-state hooks, webhook coherence, resume migration (#5024)
* improvement(react-query): codebase-wide audit — server-state hooks, webhook coherence, resume migration * chore(react-query): add static pattern linter + address review feedback - add scripts/check-react-query-patterns.ts (staleTime/signal/key-factory/inline-key enforcement) wired into CI as check:react-query; strict zone hooks/queries/**, ratchet elsewhere - fix(resume): use same-origin relative path for resume POST (getBaseUrl could cross origin on whitelabel/preview hosts and drop session cookies) — Cursor Bugbot - remove explanatory inline comments in favor of TSDoc per repo convention
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
"check:api-validation:strict": "bun run scripts/check-api-validation-contracts.ts --check --enforce-boundary-baseline",
|
||||
"check:realtime-prune": "bun run scripts/check-realtime-prune-graph.ts",
|
||||
"check:zustand-v5": "bun run scripts/check-zustand-v5-selectors.ts",
|
||||
"check:react-query": "bun run scripts/check-react-query-patterns.ts --check",
|
||||
"check:utils": "bun run scripts/check-utils-enforcement.ts",
|
||||
"mship-contracts:generate": "bun run scripts/sync-mothership-stream-contract.ts",
|
||||
"mship-contracts:check": "bun run scripts/sync-mothership-stream-contract.ts --check",
|
||||
|
||||
Reference in New Issue
Block a user