@@ -329,10 +329,7 @@ export interface ChangeNewsroomUnsafeResponse {
329329 warnings : ChangeNewsroomWarning [ ] ;
330330}
331331
332- const EXTENDED_STORY_INCLUDED_EXTRA_FIELDS_SHAPE : Record <
333- keyof Omit < ExtendedStory , keyof Story > ,
334- boolean
335- > = {
332+ const EXTENDED_STORY_INCLUDED_EXTRA_FIELDS_SHAPE = {
336333 thumbnail_image : true ,
337334 header_image : true ,
338335 preview_image : true ,
@@ -342,9 +339,9 @@ const EXTENDED_STORY_INCLUDED_EXTRA_FIELDS_SHAPE: Record<
342339 content : true ,
343340 attached_gallery_content : true ,
344341 referenced_entities : true ,
345- } ; // satisfies Record<keyof Omit<ExtendedStory, keyof Story>, boolean>; // TODO: Use Typescript `satisfies` operator, when it's out of beta
342+ } satisfies Record < keyof Omit < ExtendedStory , keyof Story > , boolean > ;
346343
347- const ALL_EXTRA_FIELDS_SHAPE : Record < keyof Story . ExtraFields , boolean > = {
344+ const ALL_EXTRA_FIELDS_SHAPE = {
348345 thumbnail_image : true ,
349346 header_image : true ,
350347 preview_image : true ,
@@ -363,7 +360,8 @@ const ALL_EXTRA_FIELDS_SHAPE: Record<keyof Story.ExtraFields, boolean> = {
363360 referenced_entities : true ,
364361 'campaigns.count' : true ,
365362 'pitches.count' : true ,
366- } ; // satisfies Record<keyof Story.OnDemandFields, boolean>; // TODO: Use Typescript `satisfies` operator, when it's out of beta
363+ 'coverage.count' : true ,
364+ } satisfies Record < keyof Story . ExtraFields , boolean > ;
367365
368366export const ALL_EXTRA_FIELDS = Object . keys (
369367 ALL_EXTRA_FIELDS_SHAPE ,
0 commit comments