@uniformdev/canvas 19.9.2-alpha.3 → 19.11.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +136 -0
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -139,6 +139,23 @@ interface components$3 {
139
139
  /** @description Last modified date string for this definition (ignored for writes) */
140
140
  updated?: string;
141
141
  };
142
+ /** @description Defines a content type */
143
+ ContentType: {
144
+ id: components$3["schemas"]["PublicIdProperty"];
145
+ /** @description Friendly name of the content type */
146
+ name: string;
147
+ /**
148
+ * @description The public ID of the field whose value should be used to create a display title for entries of this content type in the UI.
149
+ * The field type must support being used as a title field for this to work.
150
+ */
151
+ titleField?: string | null;
152
+ /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
153
+ fields?: components$3["schemas"]["ComponentDefinitionParameter"][];
154
+ /** @description Created date string for this content type (ignored for writes) */
155
+ created?: string;
156
+ /** @description Last modified date string for this content type (ignored for writes) */
157
+ updated?: string;
158
+ };
142
159
  /** @description Defines an editable parameter on a component. */
143
160
  ComponentParameter: {
144
161
  /** @description The value of the parameter. Any JSON-serializable value is acceptable. */
@@ -733,6 +750,23 @@ interface external$8 {
733
750
  /** @description Last modified date string for this definition (ignored for writes) */
734
751
  updated?: string;
735
752
  };
753
+ /** @description Defines a content type */
754
+ ContentType: {
755
+ id: external$8["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["PublicIdProperty"];
756
+ /** @description Friendly name of the content type */
757
+ name: string;
758
+ /**
759
+ * @description The public ID of the field whose value should be used to create a display title for entries of this content type in the UI.
760
+ * The field type must support being used as a title field for this to work.
761
+ */
762
+ titleField?: string | null;
763
+ /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
764
+ fields?: external$8["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
765
+ /** @description Created date string for this content type (ignored for writes) */
766
+ created?: string;
767
+ /** @description Last modified date string for this content type (ignored for writes) */
768
+ updated?: string;
769
+ };
736
770
  /** @description Defines an editable parameter on a component. */
737
771
  ComponentParameter: {
738
772
  /** @description The value of the parameter. Any JSON-serializable value is acceptable. */
@@ -1580,6 +1614,23 @@ interface external$7 {
1580
1614
  /** @description Last modified date string for this definition (ignored for writes) */
1581
1615
  updated?: string;
1582
1616
  };
1617
+ /** @description Defines a content type */
1618
+ ContentType: {
1619
+ id: external$7["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["PublicIdProperty"];
1620
+ /** @description Friendly name of the content type */
1621
+ name: string;
1622
+ /**
1623
+ * @description The public ID of the field whose value should be used to create a display title for entries of this content type in the UI.
1624
+ * The field type must support being used as a title field for this to work.
1625
+ */
1626
+ titleField?: string | null;
1627
+ /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
1628
+ fields?: external$7["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
1629
+ /** @description Created date string for this content type (ignored for writes) */
1630
+ created?: string;
1631
+ /** @description Last modified date string for this content type (ignored for writes) */
1632
+ updated?: string;
1633
+ };
1583
1634
  /** @description Defines an editable parameter on a component. */
1584
1635
  ComponentParameter: {
1585
1636
  /** @description The value of the parameter. Any JSON-serializable value is acceptable. */
@@ -2252,6 +2303,23 @@ interface external$6 {
2252
2303
  /** @description Last modified date string for this definition (ignored for writes) */
2253
2304
  updated?: string;
2254
2305
  };
2306
+ /** @description Defines a content type */
2307
+ ContentType: {
2308
+ id: external$6["../../../lambda/functions/uniform-canvas-types.swagger.yml"]["components"]["schemas"]["PublicIdProperty"];
2309
+ /** @description Friendly name of the content type */
2310
+ name: string;
2311
+ /**
2312
+ * @description The public ID of the field whose value should be used to create a display title for entries of this content type in the UI.
2313
+ * The field type must support being used as a title field for this to work.
2314
+ */
2315
+ titleField?: string | null;
2316
+ /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
2317
+ fields?: external$6["../../../lambda/functions/uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
2318
+ /** @description Created date string for this content type (ignored for writes) */
2319
+ created?: string;
2320
+ /** @description Last modified date string for this content type (ignored for writes) */
2321
+ updated?: string;
2322
+ };
2255
2323
  /** @description Defines an editable parameter on a component. */
2256
2324
  ComponentParameter: {
2257
2325
  /** @description The value of the parameter. Any JSON-serializable value is acceptable. */
@@ -3542,6 +3610,23 @@ interface external$5 {
3542
3610
  /** @description Last modified date string for this definition (ignored for writes) */
3543
3611
  updated?: string;
3544
3612
  };
3613
+ /** @description Defines a content type */
3614
+ ContentType: {
3615
+ id: external$5["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["PublicIdProperty"];
3616
+ /** @description Friendly name of the content type */
3617
+ name: string;
3618
+ /**
3619
+ * @description The public ID of the field whose value should be used to create a display title for entries of this content type in the UI.
3620
+ * The field type must support being used as a title field for this to work.
3621
+ */
3622
+ titleField?: string | null;
3623
+ /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
3624
+ fields?: external$5["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
3625
+ /** @description Created date string for this content type (ignored for writes) */
3626
+ created?: string;
3627
+ /** @description Last modified date string for this content type (ignored for writes) */
3628
+ updated?: string;
3629
+ };
3545
3630
  /** @description Defines an editable parameter on a component. */
3546
3631
  ComponentParameter: {
3547
3632
  /** @description The value of the parameter. Any JSON-serializable value is acceptable. */
@@ -5320,6 +5405,23 @@ interface external$2 {
5320
5405
  /** @description Last modified date string for this definition (ignored for writes) */
5321
5406
  updated?: string;
5322
5407
  };
5408
+ /** @description Defines a content type */
5409
+ ContentType: {
5410
+ id: external$2["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["PublicIdProperty"];
5411
+ /** @description Friendly name of the content type */
5412
+ name: string;
5413
+ /**
5414
+ * @description The public ID of the field whose value should be used to create a display title for entries of this content type in the UI.
5415
+ * The field type must support being used as a title field for this to work.
5416
+ */
5417
+ titleField?: string | null;
5418
+ /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
5419
+ fields?: external$2["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
5420
+ /** @description Created date string for this content type (ignored for writes) */
5421
+ created?: string;
5422
+ /** @description Last modified date string for this content type (ignored for writes) */
5423
+ updated?: string;
5424
+ };
5323
5425
  /** @description Defines an editable parameter on a component. */
5324
5426
  ComponentParameter: {
5325
5427
  /** @description The value of the parameter. Any JSON-serializable value is acceptable. */
@@ -5856,6 +5958,23 @@ interface external$1 {
5856
5958
  /** @description Last modified date string for this definition (ignored for writes) */
5857
5959
  updated?: string;
5858
5960
  };
5961
+ /** @description Defines a content type */
5962
+ ContentType: {
5963
+ id: external$1["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["PublicIdProperty"];
5964
+ /** @description Friendly name of the content type */
5965
+ name: string;
5966
+ /**
5967
+ * @description The public ID of the field whose value should be used to create a display title for entries of this content type in the UI.
5968
+ * The field type must support being used as a title field for this to work.
5969
+ */
5970
+ titleField?: string | null;
5971
+ /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
5972
+ fields?: external$1["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
5973
+ /** @description Created date string for this content type (ignored for writes) */
5974
+ created?: string;
5975
+ /** @description Last modified date string for this content type (ignored for writes) */
5976
+ updated?: string;
5977
+ };
5859
5978
  /** @description Defines an editable parameter on a component. */
5860
5979
  ComponentParameter: {
5861
5980
  /** @description The value of the parameter. Any JSON-serializable value is acceptable. */
@@ -6427,6 +6546,23 @@ interface external {
6427
6546
  /** @description Last modified date string for this definition (ignored for writes) */
6428
6547
  updated?: string;
6429
6548
  };
6549
+ /** @description Defines a content type */
6550
+ ContentType: {
6551
+ id: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["PublicIdProperty"];
6552
+ /** @description Friendly name of the content type */
6553
+ name: string;
6554
+ /**
6555
+ * @description The public ID of the field whose value should be used to create a display title for entries of this content type in the UI.
6556
+ * The field type must support being used as a title field for this to work.
6557
+ */
6558
+ titleField?: string | null;
6559
+ /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
6560
+ fields?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
6561
+ /** @description Created date string for this content type (ignored for writes) */
6562
+ created?: string;
6563
+ /** @description Last modified date string for this content type (ignored for writes) */
6564
+ updated?: string;
6565
+ };
6430
6566
  /** @description Defines an editable parameter on a component. */
6431
6567
  ComponentParameter: {
6432
6568
  /** @description The value of the parameter. Any JSON-serializable value is acceptable. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas",
3
- "version": "19.9.2-alpha.3+547c8b11d",
3
+ "version": "19.11.0",
4
4
  "description": "Common functionality and types for Uniform Canvas",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -37,7 +37,7 @@
37
37
  "pusher-js": "8.0.1"
38
38
  },
39
39
  "dependencies": {
40
- "@uniformdev/context": "19.9.2-alpha.3+547c8b11d",
40
+ "@uniformdev/context": "19.11.0",
41
41
  "ansi-colors": "^4.1.3",
42
42
  "immer": "9.0.21"
43
43
  },
@@ -47,5 +47,5 @@
47
47
  "publishConfig": {
48
48
  "access": "public"
49
49
  },
50
- "gitHead": "547c8b11d4655b34250c2fbe3f016c9bc12c3905"
50
+ "gitHead": "25d492fe923f313b517cbc70d3ff13fdcf97fa34"
51
51
  }