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

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,8 @@ 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
+ id: string
1016
1016
  /**
1017
1017
  * @description Heading (60 characters recommended)
1018
1018
  */
@@ -1062,7 +1062,7 @@ interface CarouselHeading extends Node {
1062
1062
  */
1063
1063
  interface Carousel extends Parent {
1064
1064
  type: "carousel"
1065
- id: "string"
1065
+ id: string
1066
1066
  heading?: CarouselHeading
1067
1067
  children: CarouselChildren
1068
1068
  }
package/content-tree.d.ts CHANGED
@@ -441,7 +441,7 @@ export declare namespace ContentTree {
441
441
  }
442
442
  interface CarouselCard extends Node {
443
443
  type: "carousel-card";
444
- id: "string";
444
+ id: string;
445
445
  /**
446
446
  * @description Heading (60 characters recommended)
447
447
  */
@@ -476,7 +476,7 @@ export declare namespace ContentTree {
476
476
  */
477
477
  interface Carousel extends Parent {
478
478
  type: "carousel";
479
- id: "string";
479
+ id: string;
480
480
  heading?: CarouselHeading;
481
481
  children: CarouselChildren;
482
482
  }
@@ -923,7 +923,7 @@ export declare namespace ContentTree {
923
923
  }
924
924
  interface CarouselCard extends Node {
925
925
  type: "carousel-card";
926
- id: "string";
926
+ id: string;
927
927
  /**
928
928
  * @description Heading (60 characters recommended)
929
929
  */
@@ -958,7 +958,7 @@ export declare namespace ContentTree {
958
958
  */
959
959
  interface Carousel extends Parent {
960
960
  type: "carousel";
961
- id: "string";
961
+ id: string;
962
962
  heading?: CarouselHeading;
963
963
  children: CarouselChildren;
964
964
  }
@@ -1379,7 +1379,7 @@ export declare namespace ContentTree {
1379
1379
  }
1380
1380
  interface CarouselCard extends Node {
1381
1381
  type: "carousel-card";
1382
- id: "string";
1382
+ id: string;
1383
1383
  /**
1384
1384
  * @description Heading (60 characters recommended)
1385
1385
  */
@@ -1414,7 +1414,7 @@ export declare namespace ContentTree {
1414
1414
  */
1415
1415
  interface Carousel extends Parent {
1416
1416
  type: "carousel";
1417
- id: "string";
1417
+ id: string;
1418
1418
  heading?: CarouselHeading;
1419
1419
  children: CarouselChildren;
1420
1420
  }
@@ -1862,7 +1862,7 @@ export declare namespace ContentTree {
1862
1862
  }
1863
1863
  interface CarouselCard extends Node {
1864
1864
  type: "carousel-card";
1865
- id: "string";
1865
+ id: string;
1866
1866
  /**
1867
1867
  * @description Heading (60 characters recommended)
1868
1868
  */
@@ -1897,7 +1897,7 @@ export declare namespace ContentTree {
1897
1897
  */
1898
1898
  interface Carousel extends Parent {
1899
1899
  type: "carousel";
1900
- id: "string";
1900
+ id: string;
1901
1901
  heading?: CarouselHeading;
1902
1902
  children: CarouselChildren;
1903
1903
  }
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.8",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -267,7 +267,6 @@
267
267
  "$ref": "#/definitions/ContentTree.transit.CarouselHeading"
268
268
  },
269
269
  "id": {
270
- "const": "string",
271
270
  "type": "string"
272
271
  },
273
272
  "type": {
@@ -307,7 +306,6 @@
307
306
  },
308
307
  "data": {},
309
308
  "id": {
310
- "const": "string",
311
309
  "type": "string"
312
310
  },
313
311
  "title": {
@@ -303,7 +303,6 @@
303
303
  "$ref": "#/definitions/ContentTree.full.CarouselHeading"
304
304
  },
305
305
  "id": {
306
- "const": "string",
307
306
  "type": "string"
308
307
  },
309
308
  "type": {
@@ -342,7 +341,6 @@
342
341
  },
343
342
  "data": {},
344
343
  "id": {
345
- "const": "string",
346
344
  "type": "string"
347
345
  },
348
346
  "title": {
@@ -291,7 +291,6 @@
291
291
  "$ref": "#/definitions/ContentTree.transit.CarouselHeading"
292
292
  },
293
293
  "id": {
294
- "const": "string",
295
294
  "type": "string"
296
295
  },
297
296
  "type": {
@@ -330,7 +329,6 @@
330
329
  },
331
330
  "data": {},
332
331
  "id": {
333
- "const": "string",
334
332
  "type": "string"
335
333
  },
336
334
  "title": {