Skip to content

Commit 57d1e6b

Browse files
tylerpinaclaude
andcommitted
fix: narrow ContentProperty.type to enum and remove stale designTokenSet [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>
1 parent b087f7f commit 57d1e6b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/entities/component-type.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export type ComponentTypeViewport = {
1919
export type ComponentTypeContentProperty = {
2020
id: string
2121
name: string
22-
type: string
22+
type: 'String' | 'Number' | 'Boolean'
2323
required: boolean
2424
defaultValue?: unknown
2525
}
@@ -48,7 +48,6 @@ export type ComponentTypeDesignProperty = {
4848
validations?: {
4949
in?: ComponentTypeDesignPropertyValidation[]
5050
}
51-
designTokenSet: string[]
5251
}
5352

5453
// Dimension key map

0 commit comments

Comments
 (0)