Skip to content

Fix typing and descs#1

Merged
caballeto merged 1 commit into
mainfrom
fix-crud-tests
Apr 10, 2026
Merged

Fix typing and descs#1
caballeto merged 1 commit into
mainfrom
fix-crud-tests

Conversation

@caballeto
Copy link
Copy Markdown
Member

No description provided.

@caballeto caballeto merged commit e848a2c into main Apr 10, 2026
3 checks passed
@caballeto caballeto deleted the fix-crud-tests branch April 10, 2026 10:11
caballeto added a commit that referenced this pull request Apr 20, 2026
…s from spec, enable noUncheckedIndexedAccess

Phase 2 cleanup across the CLI codegen pipeline:

- Wire `parseSingle`/`parsePage`/`parseCursorPage` response validation
  through `apiGetSingle` so commands no longer rely on `data as T` casts
  in `checkedFetch` (Bug #5, P1 strict-fail on response envelopes).
- Generate `MATCH_RULE_TYPES`, `WEBHOOK_EVENT_TYPES`, and
  `STATUS_PAGE_VISIBILITIES` from the OpenAPI spec via
  `spec-facts.generated.ts` instead of hardcoding them in
  `yaml/zod-schemas.ts` and command flags (Bug #14).
- Drive the imperative `--visibility` flag for `status-pages` from the
  spec-derived `STATUS_PAGE_VISIBILITIES` tuple instead of a hardcoded
  one-element array (Bugs #1, #2).
- Drop the `@ts-nocheck` pragma on `api-zod.generated.ts` (now
  preprocessed for Zod-3 compatibility during generation) and fix the
  type fallout in command files.
- Enable `noUncheckedIndexedAccess: true` in `tsconfig.json` and refactor
  index-loop sites in YAML resolver / validator / interpolation /
  child-reconciler / parser / state show to satisfy it.

Made-with: Cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant