Skip to content

Commit

Permalink
Specify aspect ratio as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Georges-GNM committed Nov 20, 2024
1 parent c860f49 commit e00fdc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion dotcom-rendering/src/model/front-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2785,7 +2785,6 @@
}
},
"required": [
"aspectRatio",
"collectionType",
"displayName",
"excludeFromRss",
Expand Down
4 changes: 2 additions & 2 deletions dotcom-rendering/src/types/front.ts
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ type FECollectionConfigType = {
showTimestamps: boolean;
hideShowMore: boolean;
platform: string;
aspectRatio: AspectRatio;
aspectRatio?: AspectRatio;
};

export type FECollectionType = {
Expand Down Expand Up @@ -434,7 +434,7 @@ export type DCRCollectionType = {
canShowMore?: boolean;
collectionBranding?: CollectionBranding;
targetedTerritory?: Territory;
aspectRatio: AspectRatio;
aspectRatio?: AspectRatio;
};

export type DCRGroupedTrails = {
Expand Down

0 comments on commit e00fdc9

Please sign in to comment.