Skip to content

Conversation

@kvz
Copy link
Member

@kvz kvz commented Sep 16, 2025

No description provided.

kvz added 3 commits September 16, 2025 19:03
by rebuilding the
  optional and required variants from a shared base shape rather than relying on .required(...).

  - src/alphalib/types/template.ts:109 Added assemblyInstructionsSharedShape so the common
  fields are defined once and can be reused for both schema variants without triggering massive
  inferred types.
  - src/alphalib/types/template.ts:134 Recreated assemblyInstructionsSchemaWithRequiredAuth with
  z.object({ auth: ..., ...sharedShape }), side-stepping the problematic required helper while
  keeping auth mandatory.

cc @remcohaszing
@kvz kvz merged commit d34e55a into main Sep 16, 2025
7 checks passed
@kvz kvz deleted the sync-alphalib-2025-09-16 branch September 16, 2025 18:07
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.

2 participants