Skip to content

chore: update schemas from constructive-db - #1905

Open
Anmol1696 wants to merge 1 commit into
mainfrom
schema-update/20261014-221952
Open

Anmol1696 wants to merge 1 commit into
mainfrom
schema-update/20261014-221952

Conversation

@Anmol1696

Copy link
Copy Markdown
Contributor

Automated Schema + SDK Update

This PR was created by the schema-propagation workflow.

What changed

Updated schema files from constructive-db and regenerated ALL SDK clients.

Source: constructive-db@49fb12a85df

Schemas updated

  • sdk/constructive-sdk/schemas/ — all API targets from constructive-db (auto-discovered)
  • sdk/migrate-client/schemas/ — migrate
  • pgpm/export/src/meta-export-tables.json — generated meta export table list

Clients regenerated

  • sdk/constructive-sdk/src/ — ORM client
  • sdk/constructive-cli/src/ — CLI client
  • sdk/constructive-react/src/ — React hooks
  • sdk/migrate-client/src/ — Migrate client

Skill references updated

  • .agents/skills/ — Generated skill documentation

Auto-generated by constructive-hub schema-propagation

Auto-generated by schema-propagation workflow.
Source: constructive-db@49fb12a85df
@tenki-reviewer

tenki-reviewer Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Review complete. No blocking issues — approved ✅; 1 nitpick below.

🧹 Nitpicks (1) — 🟢 1 low
  • 🟢 Generated bucket CLI accepts --maxBulkFiles then drops it (bucket.ts:30) — The generated csdk bucket command lists maxBulkFiles: 'int' in fieldSchema but omits the field from the create/update prompt arrays, the data: payloads, and every default select object in bucket.ts:30.

This PR re-runs the SDK codegen across every package and its docs after upstream schema changes in the modules and storage APIs. All regenerated layers agree with each other and with the committed GraphQL SDL; the only defect found is a generated CLI flag that is accepted but silently ignored, since maxBulkFiles is a plugin-computed read-only field rather than a settable column.

Files Change
sdk/constructive-sdk/schemas/{modules,storage}.graphql SDL regenerated: StorageModule.region, Bucket/PlatformBucket.maxBulkFiles, and new BillingProviderModule connection fields (billingConnectionTableId/Name, billingProviderConnectedFunction, recordBillingConnectionFunction).
sdk/constructive-{cli,react,sdk}/src/{modules,storage}/orm/{input-types.ts,mutation/index.ts} Generated ORM input types and mutation methods regenerated byte-identically across all three packages, matching the SDL.
sdk/constructive-cli/src/{modules/cli/commands,storage/cli/commands}/* Generated CLI commands (storage-module, billing-provider-module, bucket, platform-bucket, upload-files, upload-platform-files) regenerated, including fieldSchema/prompt/payload tables.
sdk/constructive-react/src/{modules,storage}/{types.ts,schema-types.ts} Generated React types/hooks refreshed to mirror the new fields.
.agents/skills/{cli,hooks,orm}-{modules,storage}/references/* and sdk/*/README.md Skill reference docs and README tables updated to document the new fields.

Reviewed commit: b443237

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