Skip to content

Commit 1ec1002

Browse files
michaelphamcfclaude
andcommitted
feat: add ReleaseExperience and ReleaseExperienceSys type family [DX-1001]
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 89e52b0 commit 1ec1002

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

lib/entities/experience.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,16 @@ export type InlineFragmentNode = {
9595
}
9696

9797
export type ExperienceCollection = CursorPaginatedCollectionProp<ExperienceProps>
98+
99+
export type ReleaseExperienceSys = Omit<
100+
ExperienceSys,
101+
'variant' | 'variantType' | 'variantDimension'
102+
> & {
103+
release: Link<'Release'>
104+
}
105+
106+
export type ReleaseExperience = Omit<ExperienceProps, 'sys'> & {
107+
sys: ReleaseExperienceSys
108+
}
109+
110+
export type ReleaseExperienceCollection = CursorPaginatedCollectionProp<ReleaseExperience>

lib/export-types.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,4 +359,10 @@ export type {
359359
} from './entities/workflows-changelog-entry'
360360
export type { ComponentTypeCollection } from './entities/component-type'
361361
export type { TemplateCollection } from './entities/template'
362-
export type { ExperienceCollection } from './entities/experience'
362+
export type {
363+
ExperienceCollection,
364+
ReleaseExperience,
365+
ReleaseExperienceCollection,
366+
ReleaseExperienceSys,
367+
} from './entities/experience'
368+
export type { DataAssemblyCollection } from './entities/data-assembly'

0 commit comments

Comments
 (0)