Commit 1fe012b
feat: scaffold Fragment entity types and GetFragmentParams [DX-926] (#2999)
* feat: scaffold Fragment entity types and GetFragmentParams [DX-926]
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* fix: use ExperienceDimensionKeyMap and narrow slots union in FragmentProps
- Replace inline dimensionKeyMap struct with ExperienceDimensionKeyMap (shared
named type from experience.ts, mirrors upstream DimensionKeyMap)
- Drop TreeNode from slots union — upstream contract (experienceCommonFields)
uses ViewNode | FragmentNode | InlineFragmentNode; SDK drops deprecated ViewNode
leaving FragmentNode | InlineFragmentNode, matching ExperienceProps.slots exactly
- Remove unused TreeNode import from component-type
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* chore: prettier
---------
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: Tyler Pina <tyler.pina@contentful.com>1 parent d7ab506 commit 1fe012b
2 files changed
Lines changed: 76 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2965 | 2965 | | |
2966 | 2966 | | |
2967 | 2967 | | |
| 2968 | + | |
| 2969 | + | |
2968 | 2970 | | |
2969 | 2971 | | |
2970 | 2972 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
0 commit comments