Skip to content

Commit

Permalink
Dropped uploadcare_assets_group_uuid from extra fields
Browse files Browse the repository at this point in the history
  • Loading branch information
fgyimah committed Feb 5, 2025
1 parent 5115f0d commit aa1526b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/endpoints/Stories/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ export interface ChangeNewsroomUnsafeResponse {
}

const EXTENDED_STORY_INCLUDED_EXTRA_FIELDS_SHAPE: Record<
keyof Omit<ExtendedStory, keyof Story>,
keyof Omit<ExtendedStory, keyof Story | 'uploadcare_assets_group_uuid'>,
boolean
> = {
thumbnail_image: true,
Expand All @@ -342,7 +342,6 @@ const EXTENDED_STORY_INCLUDED_EXTRA_FIELDS_SHAPE: Record<
content: true,
attached_gallery_content: true,
referenced_entities: true,
uploadcare_assets_group_uuid: true,
}; // satisfies Record<keyof Omit<ExtendedStory, keyof Story>, boolean>; // TODO: Use Typescript `satisfies` operator, when it's out of beta

const ALL_EXTRA_FIELDS_SHAPE: Record<keyof Story.ExtraFields, boolean> = {
Expand Down

0 comments on commit aa1526b

Please sign in to comment.