@financial-times/content-tree 0.12.0-beta.7 → 0.12.0-beta.9

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
@@ -1011,8 +1011,11 @@ interface InfoPair extends Parent {
1011
1011
  #### `CarouselCard`
1012
1012
  ```ts
1013
1013
  interface CarouselCard extends Node {
1014
- type: "carousel-card",
1015
- id: "string"
1014
+ type: "carousel-card"
1015
+ /**
1016
+ * @description unique identifier required for component tracking
1017
+ */
1018
+ id: string
1016
1019
  /**
1017
1020
  * @description Heading (60 characters recommended)
1018
1021
  */
@@ -1062,7 +1065,10 @@ interface CarouselHeading extends Node {
1062
1065
  */
1063
1066
  interface Carousel extends Parent {
1064
1067
  type: "carousel"
1065
- id: "string"
1068
+ /**
1069
+ * @description unique identifier required for component tracking
1070
+ */
1071
+ id: string
1066
1072
  heading?: CarouselHeading
1067
1073
  children: CarouselChildren
1068
1074
  }
package/content-tree.d.ts CHANGED
@@ -441,7 +441,10 @@ export declare namespace ContentTree {
441
441
  }
442
442
  interface CarouselCard extends Node {
443
443
  type: "carousel-card";
444
- id: "string";
444
+ /**
445
+ * @description unique identifier required for component tracking
446
+ */
447
+ id: string;
445
448
  /**
446
449
  * @description Heading (60 characters recommended)
447
450
  */
@@ -476,7 +479,10 @@ export declare namespace ContentTree {
476
479
  */
477
480
  interface Carousel extends Parent {
478
481
  type: "carousel";
479
- id: "string";
482
+ /**
483
+ * @description unique identifier required for component tracking
484
+ */
485
+ id: string;
480
486
  heading?: CarouselHeading;
481
487
  children: CarouselChildren;
482
488
  }
@@ -923,7 +929,10 @@ export declare namespace ContentTree {
923
929
  }
924
930
  interface CarouselCard extends Node {
925
931
  type: "carousel-card";
926
- id: "string";
932
+ /**
933
+ * @description unique identifier required for component tracking
934
+ */
935
+ id: string;
927
936
  /**
928
937
  * @description Heading (60 characters recommended)
929
938
  */
@@ -958,7 +967,10 @@ export declare namespace ContentTree {
958
967
  */
959
968
  interface Carousel extends Parent {
960
969
  type: "carousel";
961
- id: "string";
970
+ /**
971
+ * @description unique identifier required for component tracking
972
+ */
973
+ id: string;
962
974
  heading?: CarouselHeading;
963
975
  children: CarouselChildren;
964
976
  }
@@ -1379,7 +1391,10 @@ export declare namespace ContentTree {
1379
1391
  }
1380
1392
  interface CarouselCard extends Node {
1381
1393
  type: "carousel-card";
1382
- id: "string";
1394
+ /**
1395
+ * @description unique identifier required for component tracking
1396
+ */
1397
+ id: string;
1383
1398
  /**
1384
1399
  * @description Heading (60 characters recommended)
1385
1400
  */
@@ -1414,7 +1429,10 @@ export declare namespace ContentTree {
1414
1429
  */
1415
1430
  interface Carousel extends Parent {
1416
1431
  type: "carousel";
1417
- id: "string";
1432
+ /**
1433
+ * @description unique identifier required for component tracking
1434
+ */
1435
+ id: string;
1418
1436
  heading?: CarouselHeading;
1419
1437
  children: CarouselChildren;
1420
1438
  }
@@ -1862,7 +1880,10 @@ export declare namespace ContentTree {
1862
1880
  }
1863
1881
  interface CarouselCard extends Node {
1864
1882
  type: "carousel-card";
1865
- id: "string";
1883
+ /**
1884
+ * @description unique identifier required for component tracking
1885
+ */
1886
+ id: string;
1866
1887
  /**
1867
1888
  * @description Heading (60 characters recommended)
1868
1889
  */
@@ -1897,7 +1918,10 @@ export declare namespace ContentTree {
1897
1918
  */
1898
1919
  interface Carousel extends Parent {
1899
1920
  type: "carousel";
1900
- id: "string";
1921
+ /**
1922
+ * @description unique identifier required for component tracking
1923
+ */
1924
+ id: string;
1901
1925
  heading?: CarouselHeading;
1902
1926
  children: CarouselChildren;
1903
1927
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@financial-times/content-tree",
3
3
  "description": "content tree format",
4
- "version": "0.12.0-beta.7",
4
+ "version": "0.12.0-beta.9",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -267,7 +267,7 @@
267
267
  "$ref": "#/definitions/ContentTree.transit.CarouselHeading"
268
268
  },
269
269
  "id": {
270
- "const": "string",
270
+ "description": "unique identifier required for component tracking",
271
271
  "type": "string"
272
272
  },
273
273
  "type": {
@@ -307,7 +307,7 @@
307
307
  },
308
308
  "data": {},
309
309
  "id": {
310
- "const": "string",
310
+ "description": "unique identifier required for component tracking",
311
311
  "type": "string"
312
312
  },
313
313
  "title": {
@@ -303,7 +303,7 @@
303
303
  "$ref": "#/definitions/ContentTree.full.CarouselHeading"
304
304
  },
305
305
  "id": {
306
- "const": "string",
306
+ "description": "unique identifier required for component tracking",
307
307
  "type": "string"
308
308
  },
309
309
  "type": {
@@ -342,7 +342,7 @@
342
342
  },
343
343
  "data": {},
344
344
  "id": {
345
- "const": "string",
345
+ "description": "unique identifier required for component tracking",
346
346
  "type": "string"
347
347
  },
348
348
  "title": {
@@ -291,7 +291,7 @@
291
291
  "$ref": "#/definitions/ContentTree.transit.CarouselHeading"
292
292
  },
293
293
  "id": {
294
- "const": "string",
294
+ "description": "unique identifier required for component tracking",
295
295
  "type": "string"
296
296
  },
297
297
  "type": {
@@ -330,7 +330,7 @@
330
330
  },
331
331
  "data": {},
332
332
  "id": {
333
- "const": "string",
333
+ "description": "unique identifier required for component tracking",
334
334
  "type": "string"
335
335
  },
336
336
  "title": {