@uniformdev/canvas 19.55.1-alpha.8 → 19.56.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/dist/index.d.mts CHANGED
@@ -171,21 +171,15 @@ interface components$5 {
171
171
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
172
172
  fields?: components$5["schemas"]["ComponentDefinitionParameter"][];
173
173
  /**
174
- * Format: uuid
175
- * @description Reference to the category this component definition belongs to
176
- * @default null
177
- */
178
- categoryId?: string | null;
179
- /**
180
- * @description Description of the component definition
174
+ * @description Description of the content type
181
175
  * @default null
182
176
  */
183
177
  description?: string;
184
178
  /**
185
- * @description Description of the component definition
186
- * @default null
179
+ * @description Icon name for the content type (e.g. 'screen')
180
+ * @default file-document
187
181
  */
188
- previewImageUrl?: string;
182
+ icon?: string;
189
183
  /** @description Created date string for this content type (ignored for writes) */
190
184
  created?: string;
191
185
  /** @description Last modified date string for this content type (ignored for writes) */
@@ -838,21 +832,15 @@ interface external$c {
838
832
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
839
833
  fields?: external$c["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
840
834
  /**
841
- * Format: uuid
842
- * @description Reference to the category this component definition belongs to
843
- * @default null
844
- */
845
- categoryId?: string | null;
846
- /**
847
- * @description Description of the component definition
835
+ * @description Description of the content type
848
836
  * @default null
849
837
  */
850
838
  description?: string;
851
839
  /**
852
- * @description Description of the component definition
853
- * @default null
840
+ * @description Icon name for the content type (e.g. 'screen')
841
+ * @default file-document
854
842
  */
855
- previewImageUrl?: string;
843
+ icon?: string;
856
844
  /** @description Created date string for this content type (ignored for writes) */
857
845
  created?: string;
858
846
  /** @description Last modified date string for this content type (ignored for writes) */
@@ -1506,21 +1494,15 @@ interface external$b {
1506
1494
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
1507
1495
  fields?: external$b["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
1508
1496
  /**
1509
- * Format: uuid
1510
- * @description Reference to the category this component definition belongs to
1511
- * @default null
1512
- */
1513
- categoryId?: string | null;
1514
- /**
1515
- * @description Description of the component definition
1497
+ * @description Description of the content type
1516
1498
  * @default null
1517
1499
  */
1518
1500
  description?: string;
1519
1501
  /**
1520
- * @description Description of the component definition
1521
- * @default null
1502
+ * @description Icon name for the content type (e.g. 'screen')
1503
+ * @default file-document
1522
1504
  */
1523
- previewImageUrl?: string;
1505
+ icon?: string;
1524
1506
  /** @description Created date string for this content type (ignored for writes) */
1525
1507
  created?: string;
1526
1508
  /** @description Last modified date string for this content type (ignored for writes) */
@@ -2183,21 +2165,15 @@ interface external$a {
2183
2165
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
2184
2166
  fields?: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
2185
2167
  /**
2186
- * Format: uuid
2187
- * @description Reference to the category this component definition belongs to
2188
- * @default null
2189
- */
2190
- categoryId?: string | null;
2191
- /**
2192
- * @description Description of the component definition
2168
+ * @description Description of the content type
2193
2169
  * @default null
2194
2170
  */
2195
2171
  description?: string;
2196
2172
  /**
2197
- * @description Description of the component definition
2198
- * @default null
2173
+ * @description Icon name for the content type (e.g. 'screen')
2174
+ * @default file-document
2199
2175
  */
2200
- previewImageUrl?: string;
2176
+ icon?: string;
2201
2177
  /** @description Created date string for this content type (ignored for writes) */
2202
2178
  created?: string;
2203
2179
  /** @description Last modified date string for this content type (ignored for writes) */
@@ -2693,7 +2669,7 @@ interface components$4 {
2693
2669
  _id: string;
2694
2670
  /** @description The name of the entry. */
2695
2671
  _name?: string;
2696
- /** @description The slug of the entry, automatically generated. */
2672
+ /** @description The slug of the entry. */
2697
2673
  _slug?: string;
2698
2674
  /** @description Name of the author of the most recent change. */
2699
2675
  _author?: string;
@@ -2712,6 +2688,8 @@ interface components$4 {
2712
2688
  * @description The public UUID of the entry.
2713
2689
  */
2714
2690
  _id?: string;
2691
+ /** @description The slug of the entry. */
2692
+ _slug?: string;
2715
2693
  /** @description Entry field values. */
2716
2694
  fields?: {
2717
2695
  [key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
@@ -3000,21 +2978,15 @@ interface external$9 {
3000
2978
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
3001
2979
  fields?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
3002
2980
  /**
3003
- * Format: uuid
3004
- * @description Reference to the category this component definition belongs to
3005
- * @default null
3006
- */
3007
- categoryId?: string | null;
3008
- /**
3009
- * @description Description of the component definition
2981
+ * @description Description of the content type
3010
2982
  * @default null
3011
2983
  */
3012
2984
  description?: string;
3013
2985
  /**
3014
- * @description Description of the component definition
3015
- * @default null
2986
+ * @description Icon name for the content type (e.g. 'screen')
2987
+ * @default file-document
3016
2988
  */
3017
- previewImageUrl?: string;
2989
+ icon?: string;
3018
2990
  /** @description Created date string for this content type (ignored for writes) */
3019
2991
  created?: string;
3020
2992
  /** @description Last modified date string for this content type (ignored for writes) */
@@ -3663,21 +3635,15 @@ interface external$8 {
3663
3635
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
3664
3636
  fields?: external$8["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
3665
3637
  /**
3666
- * Format: uuid
3667
- * @description Reference to the category this component definition belongs to
3668
- * @default null
3669
- */
3670
- categoryId?: string | null;
3671
- /**
3672
- * @description Description of the component definition
3638
+ * @description Description of the content type
3673
3639
  * @default null
3674
3640
  */
3675
3641
  description?: string;
3676
3642
  /**
3677
- * @description Description of the component definition
3678
- * @default null
3643
+ * @description Icon name for the content type (e.g. 'screen')
3644
+ * @default file-document
3679
3645
  */
3680
- previewImageUrl?: string;
3646
+ icon?: string;
3681
3647
  /** @description Created date string for this content type (ignored for writes) */
3682
3648
  created?: string;
3683
3649
  /** @description Last modified date string for this content type (ignored for writes) */
@@ -4270,21 +4236,15 @@ interface external$7 {
4270
4236
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
4271
4237
  fields?: external$7["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
4272
4238
  /**
4273
- * Format: uuid
4274
- * @description Reference to the category this component definition belongs to
4275
- * @default null
4276
- */
4277
- categoryId?: string | null;
4278
- /**
4279
- * @description Description of the component definition
4239
+ * @description Description of the content type
4280
4240
  * @default null
4281
4241
  */
4282
4242
  description?: string;
4283
4243
  /**
4284
- * @description Description of the component definition
4285
- * @default null
4244
+ * @description Icon name for the content type (e.g. 'screen')
4245
+ * @default file-document
4286
4246
  */
4287
- previewImageUrl?: string;
4247
+ icon?: string;
4288
4248
  /** @description Created date string for this content type (ignored for writes) */
4289
4249
  created?: string;
4290
4250
  /** @description Last modified date string for this content type (ignored for writes) */
@@ -4912,21 +4872,15 @@ interface external$6 {
4912
4872
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
4913
4873
  fields?: external$6["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
4914
4874
  /**
4915
- * Format: uuid
4916
- * @description Reference to the category this component definition belongs to
4917
- * @default null
4918
- */
4919
- categoryId?: string | null;
4920
- /**
4921
- * @description Description of the component definition
4875
+ * @description Description of the content type
4922
4876
  * @default null
4923
4877
  */
4924
4878
  description?: string;
4925
4879
  /**
4926
- * @description Description of the component definition
4927
- * @default null
4880
+ * @description Icon name for the content type (e.g. 'screen')
4881
+ * @default file-document
4928
4882
  */
4929
- previewImageUrl?: string;
4883
+ icon?: string;
4930
4884
  /** @description Created date string for this content type (ignored for writes) */
4931
4885
  created?: string;
4932
4886
  /** @description Last modified date string for this content type (ignored for writes) */
@@ -5983,21 +5937,15 @@ interface external$5 {
5983
5937
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
5984
5938
  fields?: external$5["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
5985
5939
  /**
5986
- * Format: uuid
5987
- * @description Reference to the category this component definition belongs to
5988
- * @default null
5989
- */
5990
- categoryId?: string | null;
5991
- /**
5992
- * @description Description of the component definition
5940
+ * @description Description of the content type
5993
5941
  * @default null
5994
5942
  */
5995
5943
  description?: string;
5996
5944
  /**
5997
- * @description Description of the component definition
5998
- * @default null
5945
+ * @description Icon name for the content type (e.g. 'screen')
5946
+ * @default file-document
5999
5947
  */
6000
- previewImageUrl?: string;
5948
+ icon?: string;
6001
5949
  /** @description Created date string for this content type (ignored for writes) */
6002
5950
  created?: string;
6003
5951
  /** @description Last modified date string for this content type (ignored for writes) */
@@ -6831,21 +6779,15 @@ interface external$3 {
6831
6779
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
6832
6780
  fields?: external$3["../../../lambda/functions/uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
6833
6781
  /**
6834
- * Format: uuid
6835
- * @description Reference to the category this component definition belongs to
6836
- * @default null
6837
- */
6838
- categoryId?: string | null;
6839
- /**
6840
- * @description Description of the component definition
6782
+ * @description Description of the content type
6841
6783
  * @default null
6842
6784
  */
6843
6785
  description?: string;
6844
6786
  /**
6845
- * @description Description of the component definition
6846
- * @default null
6787
+ * @description Icon name for the content type (e.g. 'screen')
6788
+ * @default file-document
6847
6789
  */
6848
- previewImageUrl?: string;
6790
+ icon?: string;
6849
6791
  /** @description Created date string for this content type (ignored for writes) */
6850
6792
  created?: string;
6851
6793
  /** @description Last modified date string for this content type (ignored for writes) */
@@ -7807,7 +7749,7 @@ interface external$3 {
7807
7749
  _id: string;
7808
7750
  /** @description The name of the entry. */
7809
7751
  _name?: string;
7810
- /** @description The slug of the entry, automatically generated. */
7752
+ /** @description The slug of the entry. */
7811
7753
  _slug?: string;
7812
7754
  /** @description Name of the author of the most recent change. */
7813
7755
  _author?: string;
@@ -7826,6 +7768,8 @@ interface external$3 {
7826
7768
  * @description The public UUID of the entry.
7827
7769
  */
7828
7770
  _id?: string;
7771
+ /** @description The slug of the entry. */
7772
+ _slug?: string;
7829
7773
  /** @description Entry field values. */
7830
7774
  fields?: {
7831
7775
  [key: string]: external$3["../../../lambda/functions/uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
@@ -8603,21 +8547,15 @@ interface external$2 {
8603
8547
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
8604
8548
  fields?: external$2["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
8605
8549
  /**
8606
- * Format: uuid
8607
- * @description Reference to the category this component definition belongs to
8608
- * @default null
8609
- */
8610
- categoryId?: string | null;
8611
- /**
8612
- * @description Description of the component definition
8550
+ * @description Description of the content type
8613
8551
  * @default null
8614
8552
  */
8615
8553
  description?: string;
8616
8554
  /**
8617
- * @description Description of the component definition
8618
- * @default null
8555
+ * @description Icon name for the content type (e.g. 'screen')
8556
+ * @default file-document
8619
8557
  */
8620
- previewImageUrl?: string;
8558
+ icon?: string;
8621
8559
  /** @description Created date string for this content type (ignored for writes) */
8622
8560
  created?: string;
8623
8561
  /** @description Last modified date string for this content type (ignored for writes) */
package/dist/index.d.ts CHANGED
@@ -171,21 +171,15 @@ interface components$5 {
171
171
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
172
172
  fields?: components$5["schemas"]["ComponentDefinitionParameter"][];
173
173
  /**
174
- * Format: uuid
175
- * @description Reference to the category this component definition belongs to
176
- * @default null
177
- */
178
- categoryId?: string | null;
179
- /**
180
- * @description Description of the component definition
174
+ * @description Description of the content type
181
175
  * @default null
182
176
  */
183
177
  description?: string;
184
178
  /**
185
- * @description Description of the component definition
186
- * @default null
179
+ * @description Icon name for the content type (e.g. 'screen')
180
+ * @default file-document
187
181
  */
188
- previewImageUrl?: string;
182
+ icon?: string;
189
183
  /** @description Created date string for this content type (ignored for writes) */
190
184
  created?: string;
191
185
  /** @description Last modified date string for this content type (ignored for writes) */
@@ -838,21 +832,15 @@ interface external$c {
838
832
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
839
833
  fields?: external$c["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
840
834
  /**
841
- * Format: uuid
842
- * @description Reference to the category this component definition belongs to
843
- * @default null
844
- */
845
- categoryId?: string | null;
846
- /**
847
- * @description Description of the component definition
835
+ * @description Description of the content type
848
836
  * @default null
849
837
  */
850
838
  description?: string;
851
839
  /**
852
- * @description Description of the component definition
853
- * @default null
840
+ * @description Icon name for the content type (e.g. 'screen')
841
+ * @default file-document
854
842
  */
855
- previewImageUrl?: string;
843
+ icon?: string;
856
844
  /** @description Created date string for this content type (ignored for writes) */
857
845
  created?: string;
858
846
  /** @description Last modified date string for this content type (ignored for writes) */
@@ -1506,21 +1494,15 @@ interface external$b {
1506
1494
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
1507
1495
  fields?: external$b["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
1508
1496
  /**
1509
- * Format: uuid
1510
- * @description Reference to the category this component definition belongs to
1511
- * @default null
1512
- */
1513
- categoryId?: string | null;
1514
- /**
1515
- * @description Description of the component definition
1497
+ * @description Description of the content type
1516
1498
  * @default null
1517
1499
  */
1518
1500
  description?: string;
1519
1501
  /**
1520
- * @description Description of the component definition
1521
- * @default null
1502
+ * @description Icon name for the content type (e.g. 'screen')
1503
+ * @default file-document
1522
1504
  */
1523
- previewImageUrl?: string;
1505
+ icon?: string;
1524
1506
  /** @description Created date string for this content type (ignored for writes) */
1525
1507
  created?: string;
1526
1508
  /** @description Last modified date string for this content type (ignored for writes) */
@@ -2183,21 +2165,15 @@ interface external$a {
2183
2165
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
2184
2166
  fields?: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
2185
2167
  /**
2186
- * Format: uuid
2187
- * @description Reference to the category this component definition belongs to
2188
- * @default null
2189
- */
2190
- categoryId?: string | null;
2191
- /**
2192
- * @description Description of the component definition
2168
+ * @description Description of the content type
2193
2169
  * @default null
2194
2170
  */
2195
2171
  description?: string;
2196
2172
  /**
2197
- * @description Description of the component definition
2198
- * @default null
2173
+ * @description Icon name for the content type (e.g. 'screen')
2174
+ * @default file-document
2199
2175
  */
2200
- previewImageUrl?: string;
2176
+ icon?: string;
2201
2177
  /** @description Created date string for this content type (ignored for writes) */
2202
2178
  created?: string;
2203
2179
  /** @description Last modified date string for this content type (ignored for writes) */
@@ -2693,7 +2669,7 @@ interface components$4 {
2693
2669
  _id: string;
2694
2670
  /** @description The name of the entry. */
2695
2671
  _name?: string;
2696
- /** @description The slug of the entry, automatically generated. */
2672
+ /** @description The slug of the entry. */
2697
2673
  _slug?: string;
2698
2674
  /** @description Name of the author of the most recent change. */
2699
2675
  _author?: string;
@@ -2712,6 +2688,8 @@ interface components$4 {
2712
2688
  * @description The public UUID of the entry.
2713
2689
  */
2714
2690
  _id?: string;
2691
+ /** @description The slug of the entry. */
2692
+ _slug?: string;
2715
2693
  /** @description Entry field values. */
2716
2694
  fields?: {
2717
2695
  [key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
@@ -3000,21 +2978,15 @@ interface external$9 {
3000
2978
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
3001
2979
  fields?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
3002
2980
  /**
3003
- * Format: uuid
3004
- * @description Reference to the category this component definition belongs to
3005
- * @default null
3006
- */
3007
- categoryId?: string | null;
3008
- /**
3009
- * @description Description of the component definition
2981
+ * @description Description of the content type
3010
2982
  * @default null
3011
2983
  */
3012
2984
  description?: string;
3013
2985
  /**
3014
- * @description Description of the component definition
3015
- * @default null
2986
+ * @description Icon name for the content type (e.g. 'screen')
2987
+ * @default file-document
3016
2988
  */
3017
- previewImageUrl?: string;
2989
+ icon?: string;
3018
2990
  /** @description Created date string for this content type (ignored for writes) */
3019
2991
  created?: string;
3020
2992
  /** @description Last modified date string for this content type (ignored for writes) */
@@ -3663,21 +3635,15 @@ interface external$8 {
3663
3635
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
3664
3636
  fields?: external$8["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
3665
3637
  /**
3666
- * Format: uuid
3667
- * @description Reference to the category this component definition belongs to
3668
- * @default null
3669
- */
3670
- categoryId?: string | null;
3671
- /**
3672
- * @description Description of the component definition
3638
+ * @description Description of the content type
3673
3639
  * @default null
3674
3640
  */
3675
3641
  description?: string;
3676
3642
  /**
3677
- * @description Description of the component definition
3678
- * @default null
3643
+ * @description Icon name for the content type (e.g. 'screen')
3644
+ * @default file-document
3679
3645
  */
3680
- previewImageUrl?: string;
3646
+ icon?: string;
3681
3647
  /** @description Created date string for this content type (ignored for writes) */
3682
3648
  created?: string;
3683
3649
  /** @description Last modified date string for this content type (ignored for writes) */
@@ -4270,21 +4236,15 @@ interface external$7 {
4270
4236
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
4271
4237
  fields?: external$7["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
4272
4238
  /**
4273
- * Format: uuid
4274
- * @description Reference to the category this component definition belongs to
4275
- * @default null
4276
- */
4277
- categoryId?: string | null;
4278
- /**
4279
- * @description Description of the component definition
4239
+ * @description Description of the content type
4280
4240
  * @default null
4281
4241
  */
4282
4242
  description?: string;
4283
4243
  /**
4284
- * @description Description of the component definition
4285
- * @default null
4244
+ * @description Icon name for the content type (e.g. 'screen')
4245
+ * @default file-document
4286
4246
  */
4287
- previewImageUrl?: string;
4247
+ icon?: string;
4288
4248
  /** @description Created date string for this content type (ignored for writes) */
4289
4249
  created?: string;
4290
4250
  /** @description Last modified date string for this content type (ignored for writes) */
@@ -4912,21 +4872,15 @@ interface external$6 {
4912
4872
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
4913
4873
  fields?: external$6["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
4914
4874
  /**
4915
- * Format: uuid
4916
- * @description Reference to the category this component definition belongs to
4917
- * @default null
4918
- */
4919
- categoryId?: string | null;
4920
- /**
4921
- * @description Description of the component definition
4875
+ * @description Description of the content type
4922
4876
  * @default null
4923
4877
  */
4924
4878
  description?: string;
4925
4879
  /**
4926
- * @description Description of the component definition
4927
- * @default null
4880
+ * @description Icon name for the content type (e.g. 'screen')
4881
+ * @default file-document
4928
4882
  */
4929
- previewImageUrl?: string;
4883
+ icon?: string;
4930
4884
  /** @description Created date string for this content type (ignored for writes) */
4931
4885
  created?: string;
4932
4886
  /** @description Last modified date string for this content type (ignored for writes) */
@@ -5983,21 +5937,15 @@ interface external$5 {
5983
5937
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
5984
5938
  fields?: external$5["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
5985
5939
  /**
5986
- * Format: uuid
5987
- * @description Reference to the category this component definition belongs to
5988
- * @default null
5989
- */
5990
- categoryId?: string | null;
5991
- /**
5992
- * @description Description of the component definition
5940
+ * @description Description of the content type
5993
5941
  * @default null
5994
5942
  */
5995
5943
  description?: string;
5996
5944
  /**
5997
- * @description Description of the component definition
5998
- * @default null
5945
+ * @description Icon name for the content type (e.g. 'screen')
5946
+ * @default file-document
5999
5947
  */
6000
- previewImageUrl?: string;
5948
+ icon?: string;
6001
5949
  /** @description Created date string for this content type (ignored for writes) */
6002
5950
  created?: string;
6003
5951
  /** @description Last modified date string for this content type (ignored for writes) */
@@ -6831,21 +6779,15 @@ interface external$3 {
6831
6779
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
6832
6780
  fields?: external$3["../../../lambda/functions/uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
6833
6781
  /**
6834
- * Format: uuid
6835
- * @description Reference to the category this component definition belongs to
6836
- * @default null
6837
- */
6838
- categoryId?: string | null;
6839
- /**
6840
- * @description Description of the component definition
6782
+ * @description Description of the content type
6841
6783
  * @default null
6842
6784
  */
6843
6785
  description?: string;
6844
6786
  /**
6845
- * @description Description of the component definition
6846
- * @default null
6787
+ * @description Icon name for the content type (e.g. 'screen')
6788
+ * @default file-document
6847
6789
  */
6848
- previewImageUrl?: string;
6790
+ icon?: string;
6849
6791
  /** @description Created date string for this content type (ignored for writes) */
6850
6792
  created?: string;
6851
6793
  /** @description Last modified date string for this content type (ignored for writes) */
@@ -7807,7 +7749,7 @@ interface external$3 {
7807
7749
  _id: string;
7808
7750
  /** @description The name of the entry. */
7809
7751
  _name?: string;
7810
- /** @description The slug of the entry, automatically generated. */
7752
+ /** @description The slug of the entry. */
7811
7753
  _slug?: string;
7812
7754
  /** @description Name of the author of the most recent change. */
7813
7755
  _author?: string;
@@ -7826,6 +7768,8 @@ interface external$3 {
7826
7768
  * @description The public UUID of the entry.
7827
7769
  */
7828
7770
  _id?: string;
7771
+ /** @description The slug of the entry. */
7772
+ _slug?: string;
7829
7773
  /** @description Entry field values. */
7830
7774
  fields?: {
7831
7775
  [key: string]: external$3["../../../lambda/functions/uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
@@ -8603,21 +8547,15 @@ interface external$2 {
8603
8547
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
8604
8548
  fields?: external$2["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
8605
8549
  /**
8606
- * Format: uuid
8607
- * @description Reference to the category this component definition belongs to
8608
- * @default null
8609
- */
8610
- categoryId?: string | null;
8611
- /**
8612
- * @description Description of the component definition
8550
+ * @description Description of the content type
8613
8551
  * @default null
8614
8552
  */
8615
8553
  description?: string;
8616
8554
  /**
8617
- * @description Description of the component definition
8618
- * @default null
8555
+ * @description Icon name for the content type (e.g. 'screen')
8556
+ * @default file-document
8619
8557
  */
8620
- previewImageUrl?: string;
8558
+ icon?: string;
8621
8559
  /** @description Created date string for this content type (ignored for writes) */
8622
8560
  created?: string;
8623
8561
  /** @description Last modified date string for this content type (ignored for writes) */
package/dist/index.esm.js CHANGED
@@ -1770,6 +1770,7 @@ function convertEntryToPutEntry(entry) {
1770
1770
  type: entry.entry.type,
1771
1771
  _dataResources: entry.entry._dataResources,
1772
1772
  _id: entry.entry._id,
1773
+ _slug: entry.entry._slug,
1773
1774
  fields: entry.entry.fields
1774
1775
  },
1775
1776
  state: entry.state,
@@ -1990,7 +1991,15 @@ function bindVariablesToObjectRecursive({
1990
1991
  boundCount += bindResult.boundCount;
1991
1992
  draft[property] = bindResult.result;
1992
1993
  if (bindResult.errors) {
1993
- errors.push(...bindResult.errors.map((e) => `${currentObjectPath}: ${e}`));
1994
+ errors.push(
1995
+ ...bindResult.errors.map((e) => {
1996
+ if (typeof e === "string") {
1997
+ return `${currentObjectPath}: ${e}`;
1998
+ }
1999
+ e.message = `${currentObjectPath}: ${e.message}`;
2000
+ return e;
2001
+ })
2002
+ );
1994
2003
  }
1995
2004
  }
1996
2005
  return;
package/dist/index.js CHANGED
@@ -1874,6 +1874,7 @@ function convertEntryToPutEntry(entry) {
1874
1874
  type: entry.entry.type,
1875
1875
  _dataResources: entry.entry._dataResources,
1876
1876
  _id: entry.entry._id,
1877
+ _slug: entry.entry._slug,
1877
1878
  fields: entry.entry.fields
1878
1879
  },
1879
1880
  state: entry.state,
@@ -2094,7 +2095,15 @@ function bindVariablesToObjectRecursive({
2094
2095
  boundCount += bindResult.boundCount;
2095
2096
  draft[property] = bindResult.result;
2096
2097
  if (bindResult.errors) {
2097
- errors.push(...bindResult.errors.map((e) => `${currentObjectPath}: ${e}`));
2098
+ errors.push(
2099
+ ...bindResult.errors.map((e) => {
2100
+ if (typeof e === "string") {
2101
+ return `${currentObjectPath}: ${e}`;
2102
+ }
2103
+ e.message = `${currentObjectPath}: ${e.message}`;
2104
+ return e;
2105
+ })
2106
+ );
2098
2107
  }
2099
2108
  }
2100
2109
  return;
package/dist/index.mjs CHANGED
@@ -1770,6 +1770,7 @@ function convertEntryToPutEntry(entry) {
1770
1770
  type: entry.entry.type,
1771
1771
  _dataResources: entry.entry._dataResources,
1772
1772
  _id: entry.entry._id,
1773
+ _slug: entry.entry._slug,
1773
1774
  fields: entry.entry.fields
1774
1775
  },
1775
1776
  state: entry.state,
@@ -1990,7 +1991,15 @@ function bindVariablesToObjectRecursive({
1990
1991
  boundCount += bindResult.boundCount;
1991
1992
  draft[property] = bindResult.result;
1992
1993
  if (bindResult.errors) {
1993
- errors.push(...bindResult.errors.map((e) => `${currentObjectPath}: ${e}`));
1994
+ errors.push(
1995
+ ...bindResult.errors.map((e) => {
1996
+ if (typeof e === "string") {
1997
+ return `${currentObjectPath}: ${e}`;
1998
+ }
1999
+ e.message = `${currentObjectPath}: ${e.message}`;
2000
+ return e;
2001
+ })
2002
+ );
1994
2003
  }
1995
2004
  }
1996
2005
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas",
3
- "version": "19.55.1-alpha.8+02b3f0ddb",
3
+ "version": "19.56.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",
@@ -38,7 +38,7 @@
38
38
  "pusher-js": "8.2.0"
39
39
  },
40
40
  "dependencies": {
41
- "@uniformdev/context": "19.55.1-alpha.8+02b3f0ddb",
41
+ "@uniformdev/context": "19.56.0",
42
42
  "immer": "9.0.21"
43
43
  },
44
44
  "files": [
@@ -47,5 +47,5 @@
47
47
  "publishConfig": {
48
48
  "access": "public"
49
49
  },
50
- "gitHead": "02b3f0ddb80a99d95d2f69cab42013682d763ca8"
50
+ "gitHead": "56938585920b817df15d278b46cbb3bd56f18790"
51
51
  }