Skip to content

fix(api): resolve typecheck issues in tests and utils - #42

Merged
thinkclay merged 1 commit into
mainfrom
codex/fix-typecheck-issues-in-api-package
Sep 23, 2025
Merged

thinkclay merged 1 commit into
mainfrom
codex/fix-typecheck-issues-in-api-package

Conversation

@thinkclay

Copy link
Copy Markdown
Contributor

Summary

  • extend the API package tsconfig include paths and update the TRPC context test helper to supply the fetch adapter metadata expected by @trpc/server
  • refresh the admin users helpers test to rely on typed PostgREST response helpers from the shared test utilities
  • tighten the shared test utilities (DOM, fetch, supabase, time) so their stubs satisfy stricter TypeScript checking and expose reusable PostgREST factories

Testing

  • yarn workspace @app/api check:type

https://chatgpt.com/codex/tasks/task_b_68d2af8a88688331b061e66066401120

@thinkclay
thinkclay merged commit 52a3a34 into main Sep 23, 2025
@thinkclay
thinkclay deleted the codex/fix-typecheck-issues-in-api-package branch September 23, 2025 14:51
thinkclay added a commit that referenced this pull request Nov 24, 2026
…sheet row (#1398)

- packages/sdk: main moved the SDK pointer to 147f790 (Scaffald/sdk#41,
  #42). Merged that into the invites branch (Scaffald/sdk#43) and point at
  the merge commit ab3eed0, so this keeps both.
- The 'Invite your crew' row in MobileAccountSheet used fontSize: 14 like
  its neighbours, which pushed the drawer over the literal-styling ratchet
  ceiling. It uses fontSize.md (14) from @scaffald/ui/tokens.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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