Share HTTP API boolean query schema (#26615)

This commit is contained in:
Kit Langton
2026-05-09 21:41:15 -04:00
committed by GitHub
parent 6d130e5deb
commit 16866e1180
7 changed files with 38 additions and 25 deletions

View File

@@ -84,7 +84,7 @@ Verification:
Concrete first targets:
- Replace `roots` / `archived` reliance on `QueryBooleanParameters` with explicit route schema helpers.
- `[x]` Consolidate `roots` / `archived` onto an explicit shared route schema helper. Keep `QueryBooleanParameters` until route-level schema metadata can preserve the SDK's `boolean | "true" | "false"` call shape without a global transform.
- Replace `start` / `cursor` / `limit` reliance on `QueryNumberParameters` with explicit route schema constraints where missing.
- Keep `GET /find/file limit`, `GET /session/{sessionID}/diff messageID`, and `GET /session/{sessionID}/message limit` overrides until their route schemas generate identical SDK types directly.