From b746e1718da95740632469c7622b7160533c234f Mon Sep 17 00:00:00 2001 From: Thomas Luizon Rodrigues Gregorio Date: Fri, 24 Jul 2026 17:58:37 -0300 Subject: [PATCH] chore(shared): re-baseline the contract snapshot after the OAuth client_id removal The Contract Drift gate went red on every open ui PR. It was correct: orbit-api PR #435 dropped the unread `client_id` form field from `/oauth/token`, which changed the published OpenAPI spec, so the committed Zod snapshot no longer matched orbit-api main. Regenerated with `npm run generate:zod -w @orbit/shared`. The diff is exactly the two lines the api change removed, nothing else. No consumer change is needed: grepping `packages/shared/src`, `apps/web` and `apps/mobile` outside `__generated__` finds zero references to `client_id`, so no hand-written type or callsite depended on it. The field was write-only from the client's side and was never read server-side either, which is why it was removed. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_018M2vH4pDvNnxUPecWWvwBc --- packages/shared/src/types/__generated__/api.generated.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/shared/src/types/__generated__/api.generated.ts b/packages/shared/src/types/__generated__/api.generated.ts index b810c7097..f48bf3561 100644 --- a/packages/shared/src/types/__generated__/api.generated.ts +++ b/packages/shared/src/types/__generated__/api.generated.ts @@ -1229,8 +1229,6 @@ export const PostOauthTokenBody = zod.object({ "code": zod.string().optional() })).and(zod.object({ "code_verifier": zod.string().optional() -})).and(zod.object({ - "client_id": zod.string().optional() })).and(zod.object({ "redirect_uri": zod.string().optional() }))