Skip to content

fix: narrow ContentProperty.type to enum and remove stale designTokenSet [DX-986]#3007

Merged
Tyler Pina (tylerpina) merged 1 commit intofeat/exofrom
dx-986-fix-component-type-property-types
Apr 28, 2026
Merged

fix: narrow ContentProperty.type to enum and remove stale designTokenSet [DX-986]#3007
Tyler Pina (tylerpina) merged 1 commit intofeat/exofrom
dx-986-fix-component-type-property-types

Conversation

@tylerpina
Copy link
Copy Markdown
Contributor

@tylerpina Tyler Pina (tylerpina) commented Apr 28, 2026

DX-986

Summary

  • Narrow ComponentTypeContentProperty.type from string to 'String' | 'Number' | 'Boolean' to match upstream experiences-api-schemas (INTEG-3511, 2026-03-26)
  • Remove stale designTokenSet: string[] from ComponentTypeDesignProperty — field was removed upstream in INTEG-3772 (2026-04-15) as design token grouping moves to taxonomies

Test plan

  • tsc --noEmit passes with no errors
  • No runtime references to designTokenSet remain in source files

Generated with Claude Code

…Set [DX-986]

- `ComponentTypeContentProperty.type`: widened `string` narrowed to `'String' | 'Number' | 'Boolean'` to match upstream experiences-api-schemas (INTEG-3511)
- `ComponentTypeDesignProperty`: removed `designTokenSet: string[]` field removed upstream (INTEG-3772)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@tylerpina Tyler Pina (tylerpina) requested a review from a team as a code owner April 28, 2026 17:05
@bito-code-review
Copy link
Copy Markdown

bito-code-review Bot commented Apr 28, 2026

Bito Automatic Review Skipped - Branch Excluded

Bito didn't auto-review because the source or target branch is excluded from automatic reviews.
No action is needed if you didn't intend for the agent to review it. Otherwise, to manually trigger a review, type /review in a comment and save.
You can change the branch exclusion settings here, or contact your Bito workspace admin at michael.pearce@contentful.com.

@tylerpina Tyler Pina (tylerpina) merged commit d61c73b into feat/exo Apr 28, 2026
15 of 17 checks passed
@tylerpina Tyler Pina (tylerpina) deleted the dx-986-fix-component-type-property-types branch April 28, 2026 18:36
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