@financial-times/content-tree 0.15.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/SPEC.md
CHANGED
|
@@ -590,6 +590,7 @@ interface BigNumber extends Node {
|
|
|
590
590
|
interface Video extends Node {
|
|
591
591
|
type: "video"
|
|
592
592
|
id: string
|
|
593
|
+
fragmentIdentifier?: string
|
|
593
594
|
external title: string
|
|
594
595
|
}
|
|
595
596
|
```
|
|
@@ -1045,7 +1046,7 @@ interface CarouselCard extends Node {
|
|
|
1045
1046
|
/**
|
|
1046
1047
|
* @description Carousel item
|
|
1047
1048
|
* @maxItems 10
|
|
1048
|
-
* @minItems
|
|
1049
|
+
* @minItems 3
|
|
1049
1050
|
* @sparkRepeater true
|
|
1050
1051
|
*/
|
|
1051
1052
|
type CarouselChildren = CarouselCard[]
|
package/content-tree.d.ts
CHANGED
|
@@ -202,6 +202,7 @@ export declare namespace ContentTree {
|
|
|
202
202
|
interface Video extends Node {
|
|
203
203
|
type: "video";
|
|
204
204
|
id: string;
|
|
205
|
+
fragmentIdentifier?: string;
|
|
205
206
|
title: string;
|
|
206
207
|
}
|
|
207
208
|
interface YoutubeVideo extends Node {
|
|
@@ -469,7 +470,7 @@ export declare namespace ContentTree {
|
|
|
469
470
|
/**
|
|
470
471
|
* @description Carousel item
|
|
471
472
|
* @maxItems 10
|
|
472
|
-
* @minItems
|
|
473
|
+
* @minItems 3
|
|
473
474
|
* @sparkRepeater true
|
|
474
475
|
*/
|
|
475
476
|
type CarouselChildren = CarouselCard[];
|
|
@@ -696,6 +697,7 @@ export declare namespace ContentTree {
|
|
|
696
697
|
interface Video extends Node {
|
|
697
698
|
type: "video";
|
|
698
699
|
id: string;
|
|
700
|
+
fragmentIdentifier?: string;
|
|
699
701
|
title: string;
|
|
700
702
|
}
|
|
701
703
|
interface YoutubeVideo extends Node {
|
|
@@ -963,7 +965,7 @@ export declare namespace ContentTree {
|
|
|
963
965
|
/**
|
|
964
966
|
* @description Carousel item
|
|
965
967
|
* @maxItems 10
|
|
966
|
-
* @minItems
|
|
968
|
+
* @minItems 3
|
|
967
969
|
* @sparkRepeater true
|
|
968
970
|
*/
|
|
969
971
|
type CarouselChildren = CarouselCard[];
|
|
@@ -1187,6 +1189,7 @@ export declare namespace ContentTree {
|
|
|
1187
1189
|
interface Video extends Node {
|
|
1188
1190
|
type: "video";
|
|
1189
1191
|
id: string;
|
|
1192
|
+
fragmentIdentifier?: string;
|
|
1190
1193
|
}
|
|
1191
1194
|
interface YoutubeVideo extends Node {
|
|
1192
1195
|
type: "youtube-video";
|
|
@@ -1431,7 +1434,7 @@ export declare namespace ContentTree {
|
|
|
1431
1434
|
/**
|
|
1432
1435
|
* @description Carousel item
|
|
1433
1436
|
* @maxItems 10
|
|
1434
|
-
* @minItems
|
|
1437
|
+
* @minItems 3
|
|
1435
1438
|
* @sparkRepeater true
|
|
1436
1439
|
*/
|
|
1437
1440
|
type CarouselChildren = CarouselCard[];
|
|
@@ -1659,6 +1662,7 @@ export declare namespace ContentTree {
|
|
|
1659
1662
|
interface Video extends Node {
|
|
1660
1663
|
type: "video";
|
|
1661
1664
|
id: string;
|
|
1665
|
+
fragmentIdentifier?: string;
|
|
1662
1666
|
title?: string;
|
|
1663
1667
|
}
|
|
1664
1668
|
interface YoutubeVideo extends Node {
|
|
@@ -1926,7 +1930,7 @@ export declare namespace ContentTree {
|
|
|
1926
1930
|
/**
|
|
1927
1931
|
* @description Carousel item
|
|
1928
1932
|
* @maxItems 10
|
|
1929
|
-
* @minItems
|
|
1933
|
+
* @minItems 3
|
|
1930
1934
|
* @sparkRepeater true
|
|
1931
1935
|
*/
|
|
1932
1936
|
type CarouselChildren = CarouselCard[];
|
package/package.json
CHANGED
|
@@ -261,7 +261,7 @@
|
|
|
261
261
|
"$ref": "#/definitions/ContentTree.transit.CarouselCard"
|
|
262
262
|
},
|
|
263
263
|
"maxItems": 10,
|
|
264
|
-
"minItems":
|
|
264
|
+
"minItems": 3,
|
|
265
265
|
"type": "array"
|
|
266
266
|
},
|
|
267
267
|
"data": {},
|
|
@@ -1727,6 +1727,9 @@
|
|
|
1727
1727
|
"additionalProperties": false,
|
|
1728
1728
|
"properties": {
|
|
1729
1729
|
"data": {},
|
|
1730
|
+
"fragmentIdentifier": {
|
|
1731
|
+
"type": "string"
|
|
1732
|
+
},
|
|
1730
1733
|
"id": {
|
|
1731
1734
|
"type": "string"
|
|
1732
1735
|
},
|
|
@@ -298,7 +298,7 @@
|
|
|
298
298
|
"$ref": "#/definitions/ContentTree.full.CarouselCard"
|
|
299
299
|
},
|
|
300
300
|
"maxItems": 10,
|
|
301
|
-
"minItems":
|
|
301
|
+
"minItems": 3,
|
|
302
302
|
"type": "array"
|
|
303
303
|
},
|
|
304
304
|
"data": {},
|
|
@@ -2551,6 +2551,9 @@
|
|
|
2551
2551
|
"additionalProperties": false,
|
|
2552
2552
|
"properties": {
|
|
2553
2553
|
"data": {},
|
|
2554
|
+
"fragmentIdentifier": {
|
|
2555
|
+
"type": "string"
|
|
2556
|
+
},
|
|
2554
2557
|
"id": {
|
|
2555
2558
|
"type": "string"
|
|
2556
2559
|
},
|
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
"$ref": "#/definitions/ContentTree.transit.CarouselCard"
|
|
319
319
|
},
|
|
320
320
|
"maxItems": 10,
|
|
321
|
-
"minItems":
|
|
321
|
+
"minItems": 3,
|
|
322
322
|
"sparkRepeater": true,
|
|
323
323
|
"type": "array"
|
|
324
324
|
},
|
|
@@ -2076,6 +2076,9 @@
|
|
|
2076
2076
|
"additionalProperties": false,
|
|
2077
2077
|
"properties": {
|
|
2078
2078
|
"data": {},
|
|
2079
|
+
"fragmentIdentifier": {
|
|
2080
|
+
"type": "string"
|
|
2081
|
+
},
|
|
2079
2082
|
"id": {
|
|
2080
2083
|
"type": "string"
|
|
2081
2084
|
},
|
|
@@ -2087,6 +2090,7 @@
|
|
|
2087
2090
|
"propertyOrder": [
|
|
2088
2091
|
"type",
|
|
2089
2092
|
"id",
|
|
2093
|
+
"fragmentIdentifier",
|
|
2090
2094
|
"data"
|
|
2091
2095
|
],
|
|
2092
2096
|
"required": [
|
|
@@ -286,7 +286,7 @@
|
|
|
286
286
|
"$ref": "#/definitions/ContentTree.transit.CarouselCard"
|
|
287
287
|
},
|
|
288
288
|
"maxItems": 10,
|
|
289
|
-
"minItems":
|
|
289
|
+
"minItems": 3,
|
|
290
290
|
"type": "array"
|
|
291
291
|
},
|
|
292
292
|
"data": {},
|
|
@@ -1752,6 +1752,9 @@
|
|
|
1752
1752
|
"additionalProperties": false,
|
|
1753
1753
|
"properties": {
|
|
1754
1754
|
"data": {},
|
|
1755
|
+
"fragmentIdentifier": {
|
|
1756
|
+
"type": "string"
|
|
1757
|
+
},
|
|
1755
1758
|
"id": {
|
|
1756
1759
|
"type": "string"
|
|
1757
1760
|
},
|