Skip to content

feat: scaffold Fragment entity types and GetFragmentParams [DX-926]#2999

Merged
Michael Pham (michaelphamcf) merged 5 commits intofeat/exofrom
feat/exo-fragment-types
Apr 28, 2026
Merged

feat: scaffold Fragment entity types and GetFragmentParams [DX-926]#2999
Michael Pham (michaelphamcf) merged 5 commits intofeat/exofrom
feat/exo-fragment-types

Conversation

@michaelphamcf
Copy link
Copy Markdown
Contributor

Summary

  • Scaffold the Fragment entity type layer in lib/entities/fragment.ts with FragmentSys, FragmentProps, CreateFragmentProps, UpdateFragmentProps, FragmentQueryOptions, and FragmentCollection
  • Add GetFragmentParams to lib/common-types.ts
  • Types aligned with upstream contract (experiences-api-schemas/src/lib/fragment.ts)

Test plan

  • tsc --noEmit passes on feat/exo
  • No REST adapter, plain client, or MRActions — those are in follow-up PRs (DX-927+)

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@michaelphamcf Michael Pham (michaelphamcf) requested a review from a team as a code owner April 27, 2026 23:18
@bito-code-review
Copy link
Copy Markdown

bito-code-review Bot commented Apr 27, 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.

Tyler Pina (tylerpina) and others added 2 commits April 28, 2026 09:23
…Props

- 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>
@michaelphamcf Michael Pham (michaelphamcf) merged commit 1fe012b into feat/exo Apr 28, 2026
15 of 16 checks passed
@michaelphamcf Michael Pham (michaelphamcf) deleted the feat/exo-fragment-types branch April 28, 2026 20:38
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