fix(docs): hide unreleased table expiration - #7401
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Greptile SummaryThis PR hides the feature-flagged table-expiration column from public documentation while retaining runtime support.
Confidence Score: 5/5The PR appears safe to merge with no actionable defects identified. Runtime validation continues to accept
|
| Filename | Overview |
|---|---|
| apps/sim/lib/api/contracts/tables.ts | Adds metadata that hides ttl during OpenAPI generation while leaving the runtime Zod enum unchanged. |
| scripts/openapi/generator.ts | Adds validated filtering of selected enum values during JSON Schema generation. |
| scripts/openapi/generator.test.ts | Verifies that enum values are omitted from documentation but remain accepted at runtime. |
| scripts/openapi/documents.test.ts | Verifies that generated Tables documentation contains no exposed ttl enum value. |
| apps/docs/content/docs/tables/index.mdx | Removes unreleased expiration-column documentation. |
| apps/docs/openapi-v2-tables.json | Regenerates table API schemas without the unreleased ttl enum value. |
Reviews (1): Last reviewed commit: "fix(docs): hide unreleased table expirat..." | Re-trigger Greptile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ttlfrom generated Tables OpenAPI enums while preserving runtime support behind the feature flagType of Change
Testing
bun run lintbun run apps/sim/scripts/check-block-registry.ts origin/stagingbun run check:auditsbun run docs-manifest:checkChecklist