@uniformdev/canvas 19.96.0 → 19.96.1-alpha.13
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 +171 -2
- package/dist/index.d.ts +171 -2
- package/dist/index.js +9 -9
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
@@ -122,6 +122,12 @@ interface components$5 {
|
|
122
122
|
* @default null
|
123
123
|
*/
|
124
124
|
titleParameter?: string | null;
|
125
|
+
/**
|
126
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
127
|
+
*
|
128
|
+
* @default null
|
129
|
+
*/
|
130
|
+
thumbnailParameter?: string | null;
|
125
131
|
/**
|
126
132
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
127
133
|
* @default false
|
@@ -174,6 +180,12 @@ interface components$5 {
|
|
174
180
|
* The field type must support being used as an entry name for this to work.
|
175
181
|
*/
|
176
182
|
entryName?: string | null;
|
183
|
+
/**
|
184
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
185
|
+
*
|
186
|
+
* @default null
|
187
|
+
*/
|
188
|
+
thumbnailField?: string | null;
|
177
189
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
178
190
|
fields?: components$5["schemas"]["ComponentDefinitionParameter"][];
|
179
191
|
/**
|
@@ -858,6 +870,12 @@ interface external$f {
|
|
858
870
|
* @default null
|
859
871
|
*/
|
860
872
|
titleParameter?: string | null;
|
873
|
+
/**
|
874
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
875
|
+
*
|
876
|
+
* @default null
|
877
|
+
*/
|
878
|
+
thumbnailParameter?: string | null;
|
861
879
|
/**
|
862
880
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
863
881
|
* @default false
|
@@ -910,6 +928,12 @@ interface external$f {
|
|
910
928
|
* The field type must support being used as an entry name for this to work.
|
911
929
|
*/
|
912
930
|
entryName?: string | null;
|
931
|
+
/**
|
932
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
933
|
+
*
|
934
|
+
* @default null
|
935
|
+
*/
|
936
|
+
thumbnailField?: string | null;
|
913
937
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
914
938
|
fields?: external$f["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
915
939
|
/**
|
@@ -1670,6 +1694,12 @@ interface external$e {
|
|
1670
1694
|
* @default null
|
1671
1695
|
*/
|
1672
1696
|
titleParameter?: string | null;
|
1697
|
+
/**
|
1698
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
1699
|
+
*
|
1700
|
+
* @default null
|
1701
|
+
*/
|
1702
|
+
thumbnailParameter?: string | null;
|
1673
1703
|
/**
|
1674
1704
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
1675
1705
|
* @default false
|
@@ -1722,6 +1752,12 @@ interface external$e {
|
|
1722
1752
|
* The field type must support being used as an entry name for this to work.
|
1723
1753
|
*/
|
1724
1754
|
entryName?: string | null;
|
1755
|
+
/**
|
1756
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
1757
|
+
*
|
1758
|
+
* @default null
|
1759
|
+
*/
|
1760
|
+
thumbnailField?: string | null;
|
1725
1761
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
1726
1762
|
fields?: external$e["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
1727
1763
|
/**
|
@@ -2418,6 +2454,12 @@ interface external$d {
|
|
2418
2454
|
* @default null
|
2419
2455
|
*/
|
2420
2456
|
titleParameter?: string | null;
|
2457
|
+
/**
|
2458
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
2459
|
+
*
|
2460
|
+
* @default null
|
2461
|
+
*/
|
2462
|
+
thumbnailParameter?: string | null;
|
2421
2463
|
/**
|
2422
2464
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
2423
2465
|
* @default false
|
@@ -2470,6 +2512,12 @@ interface external$d {
|
|
2470
2512
|
* The field type must support being used as an entry name for this to work.
|
2471
2513
|
*/
|
2472
2514
|
entryName?: string | null;
|
2515
|
+
/**
|
2516
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
2517
|
+
*
|
2518
|
+
* @default null
|
2519
|
+
*/
|
2520
|
+
thumbnailField?: string | null;
|
2473
2521
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
2474
2522
|
fields?: external$d["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
2475
2523
|
/**
|
@@ -3090,7 +3138,7 @@ interface components$4 {
|
|
3090
3138
|
schemas: {
|
3091
3139
|
/** @description Defines the shape of the entry */
|
3092
3140
|
Entry: {
|
3093
|
-
/** @description Content type of the entry. */
|
3141
|
+
/** @description Content type public ID of the entry. */
|
3094
3142
|
type: string;
|
3095
3143
|
/**
|
3096
3144
|
* Format: uuid
|
@@ -3498,6 +3546,12 @@ interface external$c {
|
|
3498
3546
|
* @default null
|
3499
3547
|
*/
|
3500
3548
|
titleParameter?: string | null;
|
3549
|
+
/**
|
3550
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
3551
|
+
*
|
3552
|
+
* @default null
|
3553
|
+
*/
|
3554
|
+
thumbnailParameter?: string | null;
|
3501
3555
|
/**
|
3502
3556
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
3503
3557
|
* @default false
|
@@ -3550,6 +3604,12 @@ interface external$c {
|
|
3550
3604
|
* The field type must support being used as an entry name for this to work.
|
3551
3605
|
*/
|
3552
3606
|
entryName?: string | null;
|
3607
|
+
/**
|
3608
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
3609
|
+
*
|
3610
|
+
* @default null
|
3611
|
+
*/
|
3612
|
+
thumbnailField?: string | null;
|
3553
3613
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
3554
3614
|
fields?: external$c["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
3555
3615
|
/**
|
@@ -4178,6 +4238,12 @@ interface external$b {
|
|
4178
4238
|
* @default null
|
4179
4239
|
*/
|
4180
4240
|
titleParameter?: string | null;
|
4241
|
+
/**
|
4242
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
4243
|
+
*
|
4244
|
+
* @default null
|
4245
|
+
*/
|
4246
|
+
thumbnailParameter?: string | null;
|
4181
4247
|
/**
|
4182
4248
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
4183
4249
|
* @default false
|
@@ -4230,6 +4296,12 @@ interface external$b {
|
|
4230
4296
|
* The field type must support being used as an entry name for this to work.
|
4231
4297
|
*/
|
4232
4298
|
entryName?: string | null;
|
4299
|
+
/**
|
4300
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
4301
|
+
*
|
4302
|
+
* @default null
|
4303
|
+
*/
|
4304
|
+
thumbnailField?: string | null;
|
4233
4305
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
4234
4306
|
fields?: external$b["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
4235
4307
|
/**
|
@@ -4917,6 +4989,12 @@ interface external$a {
|
|
4917
4989
|
* @default null
|
4918
4990
|
*/
|
4919
4991
|
titleParameter?: string | null;
|
4992
|
+
/**
|
4993
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
4994
|
+
*
|
4995
|
+
* @default null
|
4996
|
+
*/
|
4997
|
+
thumbnailParameter?: string | null;
|
4920
4998
|
/**
|
4921
4999
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
4922
5000
|
* @default false
|
@@ -4969,6 +5047,12 @@ interface external$a {
|
|
4969
5047
|
* The field type must support being used as an entry name for this to work.
|
4970
5048
|
*/
|
4971
5049
|
entryName?: string | null;
|
5050
|
+
/**
|
5051
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
5052
|
+
*
|
5053
|
+
* @default null
|
5054
|
+
*/
|
5055
|
+
thumbnailField?: string | null;
|
4972
5056
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
4973
5057
|
fields?: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
4974
5058
|
/**
|
@@ -5593,6 +5677,12 @@ interface external$9 {
|
|
5593
5677
|
* @default null
|
5594
5678
|
*/
|
5595
5679
|
titleParameter?: string | null;
|
5680
|
+
/**
|
5681
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
5682
|
+
*
|
5683
|
+
* @default null
|
5684
|
+
*/
|
5685
|
+
thumbnailParameter?: string | null;
|
5596
5686
|
/**
|
5597
5687
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
5598
5688
|
* @default false
|
@@ -5645,6 +5735,12 @@ interface external$9 {
|
|
5645
5735
|
* The field type must support being used as an entry name for this to work.
|
5646
5736
|
*/
|
5647
5737
|
entryName?: string | null;
|
5738
|
+
/**
|
5739
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
5740
|
+
*
|
5741
|
+
* @default null
|
5742
|
+
*/
|
5743
|
+
thumbnailField?: string | null;
|
5648
5744
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
5649
5745
|
fields?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
5650
5746
|
/**
|
@@ -6304,6 +6400,12 @@ interface external$8 {
|
|
6304
6400
|
* @default null
|
6305
6401
|
*/
|
6306
6402
|
titleParameter?: string | null;
|
6403
|
+
/**
|
6404
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
6405
|
+
*
|
6406
|
+
* @default null
|
6407
|
+
*/
|
6408
|
+
thumbnailParameter?: string | null;
|
6307
6409
|
/**
|
6308
6410
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
6309
6411
|
* @default false
|
@@ -6356,6 +6458,12 @@ interface external$8 {
|
|
6356
6458
|
* The field type must support being used as an entry name for this to work.
|
6357
6459
|
*/
|
6358
6460
|
entryName?: string | null;
|
6461
|
+
/**
|
6462
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
6463
|
+
*
|
6464
|
+
* @default null
|
6465
|
+
*/
|
6466
|
+
thumbnailField?: string | null;
|
6359
6467
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
6360
6468
|
fields?: external$8["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
6361
6469
|
/**
|
@@ -7015,6 +7123,12 @@ interface external$7 {
|
|
7015
7123
|
* @default null
|
7016
7124
|
*/
|
7017
7125
|
titleParameter?: string | null;
|
7126
|
+
/**
|
7127
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
7128
|
+
*
|
7129
|
+
* @default null
|
7130
|
+
*/
|
7131
|
+
thumbnailParameter?: string | null;
|
7018
7132
|
/**
|
7019
7133
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
7020
7134
|
* @default false
|
@@ -7067,6 +7181,12 @@ interface external$7 {
|
|
7067
7181
|
* The field type must support being used as an entry name for this to work.
|
7068
7182
|
*/
|
7069
7183
|
entryName?: string | null;
|
7184
|
+
/**
|
7185
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
7186
|
+
*
|
7187
|
+
* @default null
|
7188
|
+
*/
|
7189
|
+
thumbnailField?: string | null;
|
7070
7190
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
7071
7191
|
fields?: external$7["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
7072
7192
|
/**
|
@@ -8350,6 +8470,12 @@ interface external$5 {
|
|
8350
8470
|
* @default null
|
8351
8471
|
*/
|
8352
8472
|
titleParameter?: string | null;
|
8473
|
+
/**
|
8474
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
8475
|
+
*
|
8476
|
+
* @default null
|
8477
|
+
*/
|
8478
|
+
thumbnailParameter?: string | null;
|
8353
8479
|
/**
|
8354
8480
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
8355
8481
|
* @default false
|
@@ -8402,6 +8528,12 @@ interface external$5 {
|
|
8402
8528
|
* The field type must support being used as an entry name for this to work.
|
8403
8529
|
*/
|
8404
8530
|
entryName?: string | null;
|
8531
|
+
/**
|
8532
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
8533
|
+
*
|
8534
|
+
* @default null
|
8535
|
+
*/
|
8536
|
+
thumbnailField?: string | null;
|
8405
8537
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
8406
8538
|
fields?: external$5["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
8407
8539
|
/**
|
@@ -9030,6 +9162,12 @@ interface external$4 {
|
|
9030
9162
|
* @default null
|
9031
9163
|
*/
|
9032
9164
|
titleParameter?: string | null;
|
9165
|
+
/**
|
9166
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
9167
|
+
*
|
9168
|
+
* @default null
|
9169
|
+
*/
|
9170
|
+
thumbnailParameter?: string | null;
|
9033
9171
|
/**
|
9034
9172
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
9035
9173
|
* @default false
|
@@ -9082,6 +9220,12 @@ interface external$4 {
|
|
9082
9220
|
* The field type must support being used as an entry name for this to work.
|
9083
9221
|
*/
|
9084
9222
|
entryName?: string | null;
|
9223
|
+
/**
|
9224
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
9225
|
+
*
|
9226
|
+
* @default null
|
9227
|
+
*/
|
9228
|
+
thumbnailField?: string | null;
|
9085
9229
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
9086
9230
|
fields?: external$4["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
9087
9231
|
/**
|
@@ -9838,6 +9982,12 @@ interface external$3 {
|
|
9838
9982
|
* @default null
|
9839
9983
|
*/
|
9840
9984
|
titleParameter?: string | null;
|
9985
|
+
/**
|
9986
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
9987
|
+
*
|
9988
|
+
* @default null
|
9989
|
+
*/
|
9990
|
+
thumbnailParameter?: string | null;
|
9841
9991
|
/**
|
9842
9992
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
9843
9993
|
* @default false
|
@@ -9890,6 +10040,12 @@ interface external$3 {
|
|
9890
10040
|
* The field type must support being used as an entry name for this to work.
|
9891
10041
|
*/
|
9892
10042
|
entryName?: string | null;
|
10043
|
+
/**
|
10044
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
10045
|
+
*
|
10046
|
+
* @default null
|
10047
|
+
*/
|
10048
|
+
thumbnailField?: string | null;
|
9893
10049
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
9894
10050
|
fields?: external$3["../../../lambda/functions/uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
9895
10051
|
/**
|
@@ -11004,7 +11160,7 @@ interface external$3 {
|
|
11004
11160
|
schemas: {
|
11005
11161
|
/** @description Defines the shape of the entry */
|
11006
11162
|
Entry: {
|
11007
|
-
/** @description Content type of the entry. */
|
11163
|
+
/** @description Content type public ID of the entry. */
|
11008
11164
|
type: string;
|
11009
11165
|
/**
|
11010
11166
|
* Format: uuid
|
@@ -11969,6 +12125,12 @@ interface external$2 {
|
|
11969
12125
|
* @default null
|
11970
12126
|
*/
|
11971
12127
|
titleParameter?: string | null;
|
12128
|
+
/**
|
12129
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
12130
|
+
*
|
12131
|
+
* @default null
|
12132
|
+
*/
|
12133
|
+
thumbnailParameter?: string | null;
|
11972
12134
|
/**
|
11973
12135
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
11974
12136
|
* @default false
|
@@ -12021,6 +12183,12 @@ interface external$2 {
|
|
12021
12183
|
* The field type must support being used as an entry name for this to work.
|
12022
12184
|
*/
|
12023
12185
|
entryName?: string | null;
|
12186
|
+
/**
|
12187
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
12188
|
+
*
|
12189
|
+
* @default null
|
12190
|
+
*/
|
12191
|
+
thumbnailField?: string | null;
|
12024
12192
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
12025
12193
|
fields?: external$2["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
12026
12194
|
/**
|
@@ -13396,6 +13564,7 @@ declare class CanvasClient extends ApiClient<CanvasClientOptions> {
|
|
13396
13564
|
name: string;
|
13397
13565
|
icon?: string | undefined;
|
13398
13566
|
titleParameter?: string | null | undefined;
|
13567
|
+
thumbnailParameter?: string | null | undefined;
|
13399
13568
|
canBeComposition?: boolean | undefined;
|
13400
13569
|
parameters?: {
|
13401
13570
|
id: string;
|
package/dist/index.d.ts
CHANGED
@@ -122,6 +122,12 @@ interface components$5 {
|
|
122
122
|
* @default null
|
123
123
|
*/
|
124
124
|
titleParameter?: string | null;
|
125
|
+
/**
|
126
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
127
|
+
*
|
128
|
+
* @default null
|
129
|
+
*/
|
130
|
+
thumbnailParameter?: string | null;
|
125
131
|
/**
|
126
132
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
127
133
|
* @default false
|
@@ -174,6 +180,12 @@ interface components$5 {
|
|
174
180
|
* The field type must support being used as an entry name for this to work.
|
175
181
|
*/
|
176
182
|
entryName?: string | null;
|
183
|
+
/**
|
184
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
185
|
+
*
|
186
|
+
* @default null
|
187
|
+
*/
|
188
|
+
thumbnailField?: string | null;
|
177
189
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
178
190
|
fields?: components$5["schemas"]["ComponentDefinitionParameter"][];
|
179
191
|
/**
|
@@ -858,6 +870,12 @@ interface external$f {
|
|
858
870
|
* @default null
|
859
871
|
*/
|
860
872
|
titleParameter?: string | null;
|
873
|
+
/**
|
874
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
875
|
+
*
|
876
|
+
* @default null
|
877
|
+
*/
|
878
|
+
thumbnailParameter?: string | null;
|
861
879
|
/**
|
862
880
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
863
881
|
* @default false
|
@@ -910,6 +928,12 @@ interface external$f {
|
|
910
928
|
* The field type must support being used as an entry name for this to work.
|
911
929
|
*/
|
912
930
|
entryName?: string | null;
|
931
|
+
/**
|
932
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
933
|
+
*
|
934
|
+
* @default null
|
935
|
+
*/
|
936
|
+
thumbnailField?: string | null;
|
913
937
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
914
938
|
fields?: external$f["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
915
939
|
/**
|
@@ -1670,6 +1694,12 @@ interface external$e {
|
|
1670
1694
|
* @default null
|
1671
1695
|
*/
|
1672
1696
|
titleParameter?: string | null;
|
1697
|
+
/**
|
1698
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
1699
|
+
*
|
1700
|
+
* @default null
|
1701
|
+
*/
|
1702
|
+
thumbnailParameter?: string | null;
|
1673
1703
|
/**
|
1674
1704
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
1675
1705
|
* @default false
|
@@ -1722,6 +1752,12 @@ interface external$e {
|
|
1722
1752
|
* The field type must support being used as an entry name for this to work.
|
1723
1753
|
*/
|
1724
1754
|
entryName?: string | null;
|
1755
|
+
/**
|
1756
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
1757
|
+
*
|
1758
|
+
* @default null
|
1759
|
+
*/
|
1760
|
+
thumbnailField?: string | null;
|
1725
1761
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
1726
1762
|
fields?: external$e["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
1727
1763
|
/**
|
@@ -2418,6 +2454,12 @@ interface external$d {
|
|
2418
2454
|
* @default null
|
2419
2455
|
*/
|
2420
2456
|
titleParameter?: string | null;
|
2457
|
+
/**
|
2458
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
2459
|
+
*
|
2460
|
+
* @default null
|
2461
|
+
*/
|
2462
|
+
thumbnailParameter?: string | null;
|
2421
2463
|
/**
|
2422
2464
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
2423
2465
|
* @default false
|
@@ -2470,6 +2512,12 @@ interface external$d {
|
|
2470
2512
|
* The field type must support being used as an entry name for this to work.
|
2471
2513
|
*/
|
2472
2514
|
entryName?: string | null;
|
2515
|
+
/**
|
2516
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
2517
|
+
*
|
2518
|
+
* @default null
|
2519
|
+
*/
|
2520
|
+
thumbnailField?: string | null;
|
2473
2521
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
2474
2522
|
fields?: external$d["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
2475
2523
|
/**
|
@@ -3090,7 +3138,7 @@ interface components$4 {
|
|
3090
3138
|
schemas: {
|
3091
3139
|
/** @description Defines the shape of the entry */
|
3092
3140
|
Entry: {
|
3093
|
-
/** @description Content type of the entry. */
|
3141
|
+
/** @description Content type public ID of the entry. */
|
3094
3142
|
type: string;
|
3095
3143
|
/**
|
3096
3144
|
* Format: uuid
|
@@ -3498,6 +3546,12 @@ interface external$c {
|
|
3498
3546
|
* @default null
|
3499
3547
|
*/
|
3500
3548
|
titleParameter?: string | null;
|
3549
|
+
/**
|
3550
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
3551
|
+
*
|
3552
|
+
* @default null
|
3553
|
+
*/
|
3554
|
+
thumbnailParameter?: string | null;
|
3501
3555
|
/**
|
3502
3556
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
3503
3557
|
* @default false
|
@@ -3550,6 +3604,12 @@ interface external$c {
|
|
3550
3604
|
* The field type must support being used as an entry name for this to work.
|
3551
3605
|
*/
|
3552
3606
|
entryName?: string | null;
|
3607
|
+
/**
|
3608
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
3609
|
+
*
|
3610
|
+
* @default null
|
3611
|
+
*/
|
3612
|
+
thumbnailField?: string | null;
|
3553
3613
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
3554
3614
|
fields?: external$c["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
3555
3615
|
/**
|
@@ -4178,6 +4238,12 @@ interface external$b {
|
|
4178
4238
|
* @default null
|
4179
4239
|
*/
|
4180
4240
|
titleParameter?: string | null;
|
4241
|
+
/**
|
4242
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
4243
|
+
*
|
4244
|
+
* @default null
|
4245
|
+
*/
|
4246
|
+
thumbnailParameter?: string | null;
|
4181
4247
|
/**
|
4182
4248
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
4183
4249
|
* @default false
|
@@ -4230,6 +4296,12 @@ interface external$b {
|
|
4230
4296
|
* The field type must support being used as an entry name for this to work.
|
4231
4297
|
*/
|
4232
4298
|
entryName?: string | null;
|
4299
|
+
/**
|
4300
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
4301
|
+
*
|
4302
|
+
* @default null
|
4303
|
+
*/
|
4304
|
+
thumbnailField?: string | null;
|
4233
4305
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
4234
4306
|
fields?: external$b["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
4235
4307
|
/**
|
@@ -4917,6 +4989,12 @@ interface external$a {
|
|
4917
4989
|
* @default null
|
4918
4990
|
*/
|
4919
4991
|
titleParameter?: string | null;
|
4992
|
+
/**
|
4993
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
4994
|
+
*
|
4995
|
+
* @default null
|
4996
|
+
*/
|
4997
|
+
thumbnailParameter?: string | null;
|
4920
4998
|
/**
|
4921
4999
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
4922
5000
|
* @default false
|
@@ -4969,6 +5047,12 @@ interface external$a {
|
|
4969
5047
|
* The field type must support being used as an entry name for this to work.
|
4970
5048
|
*/
|
4971
5049
|
entryName?: string | null;
|
5050
|
+
/**
|
5051
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
5052
|
+
*
|
5053
|
+
* @default null
|
5054
|
+
*/
|
5055
|
+
thumbnailField?: string | null;
|
4972
5056
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
4973
5057
|
fields?: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
4974
5058
|
/**
|
@@ -5593,6 +5677,12 @@ interface external$9 {
|
|
5593
5677
|
* @default null
|
5594
5678
|
*/
|
5595
5679
|
titleParameter?: string | null;
|
5680
|
+
/**
|
5681
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
5682
|
+
*
|
5683
|
+
* @default null
|
5684
|
+
*/
|
5685
|
+
thumbnailParameter?: string | null;
|
5596
5686
|
/**
|
5597
5687
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
5598
5688
|
* @default false
|
@@ -5645,6 +5735,12 @@ interface external$9 {
|
|
5645
5735
|
* The field type must support being used as an entry name for this to work.
|
5646
5736
|
*/
|
5647
5737
|
entryName?: string | null;
|
5738
|
+
/**
|
5739
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
5740
|
+
*
|
5741
|
+
* @default null
|
5742
|
+
*/
|
5743
|
+
thumbnailField?: string | null;
|
5648
5744
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
5649
5745
|
fields?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
5650
5746
|
/**
|
@@ -6304,6 +6400,12 @@ interface external$8 {
|
|
6304
6400
|
* @default null
|
6305
6401
|
*/
|
6306
6402
|
titleParameter?: string | null;
|
6403
|
+
/**
|
6404
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
6405
|
+
*
|
6406
|
+
* @default null
|
6407
|
+
*/
|
6408
|
+
thumbnailParameter?: string | null;
|
6307
6409
|
/**
|
6308
6410
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
6309
6411
|
* @default false
|
@@ -6356,6 +6458,12 @@ interface external$8 {
|
|
6356
6458
|
* The field type must support being used as an entry name for this to work.
|
6357
6459
|
*/
|
6358
6460
|
entryName?: string | null;
|
6461
|
+
/**
|
6462
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
6463
|
+
*
|
6464
|
+
* @default null
|
6465
|
+
*/
|
6466
|
+
thumbnailField?: string | null;
|
6359
6467
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
6360
6468
|
fields?: external$8["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
6361
6469
|
/**
|
@@ -7015,6 +7123,12 @@ interface external$7 {
|
|
7015
7123
|
* @default null
|
7016
7124
|
*/
|
7017
7125
|
titleParameter?: string | null;
|
7126
|
+
/**
|
7127
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
7128
|
+
*
|
7129
|
+
* @default null
|
7130
|
+
*/
|
7131
|
+
thumbnailParameter?: string | null;
|
7018
7132
|
/**
|
7019
7133
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
7020
7134
|
* @default false
|
@@ -7067,6 +7181,12 @@ interface external$7 {
|
|
7067
7181
|
* The field type must support being used as an entry name for this to work.
|
7068
7182
|
*/
|
7069
7183
|
entryName?: string | null;
|
7184
|
+
/**
|
7185
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
7186
|
+
*
|
7187
|
+
* @default null
|
7188
|
+
*/
|
7189
|
+
thumbnailField?: string | null;
|
7070
7190
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
7071
7191
|
fields?: external$7["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
7072
7192
|
/**
|
@@ -8350,6 +8470,12 @@ interface external$5 {
|
|
8350
8470
|
* @default null
|
8351
8471
|
*/
|
8352
8472
|
titleParameter?: string | null;
|
8473
|
+
/**
|
8474
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
8475
|
+
*
|
8476
|
+
* @default null
|
8477
|
+
*/
|
8478
|
+
thumbnailParameter?: string | null;
|
8353
8479
|
/**
|
8354
8480
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
8355
8481
|
* @default false
|
@@ -8402,6 +8528,12 @@ interface external$5 {
|
|
8402
8528
|
* The field type must support being used as an entry name for this to work.
|
8403
8529
|
*/
|
8404
8530
|
entryName?: string | null;
|
8531
|
+
/**
|
8532
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
8533
|
+
*
|
8534
|
+
* @default null
|
8535
|
+
*/
|
8536
|
+
thumbnailField?: string | null;
|
8405
8537
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
8406
8538
|
fields?: external$5["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
8407
8539
|
/**
|
@@ -9030,6 +9162,12 @@ interface external$4 {
|
|
9030
9162
|
* @default null
|
9031
9163
|
*/
|
9032
9164
|
titleParameter?: string | null;
|
9165
|
+
/**
|
9166
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
9167
|
+
*
|
9168
|
+
* @default null
|
9169
|
+
*/
|
9170
|
+
thumbnailParameter?: string | null;
|
9033
9171
|
/**
|
9034
9172
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
9035
9173
|
* @default false
|
@@ -9082,6 +9220,12 @@ interface external$4 {
|
|
9082
9220
|
* The field type must support being used as an entry name for this to work.
|
9083
9221
|
*/
|
9084
9222
|
entryName?: string | null;
|
9223
|
+
/**
|
9224
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
9225
|
+
*
|
9226
|
+
* @default null
|
9227
|
+
*/
|
9228
|
+
thumbnailField?: string | null;
|
9085
9229
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
9086
9230
|
fields?: external$4["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
9087
9231
|
/**
|
@@ -9838,6 +9982,12 @@ interface external$3 {
|
|
9838
9982
|
* @default null
|
9839
9983
|
*/
|
9840
9984
|
titleParameter?: string | null;
|
9985
|
+
/**
|
9986
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
9987
|
+
*
|
9988
|
+
* @default null
|
9989
|
+
*/
|
9990
|
+
thumbnailParameter?: string | null;
|
9841
9991
|
/**
|
9842
9992
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
9843
9993
|
* @default false
|
@@ -9890,6 +10040,12 @@ interface external$3 {
|
|
9890
10040
|
* The field type must support being used as an entry name for this to work.
|
9891
10041
|
*/
|
9892
10042
|
entryName?: string | null;
|
10043
|
+
/**
|
10044
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
10045
|
+
*
|
10046
|
+
* @default null
|
10047
|
+
*/
|
10048
|
+
thumbnailField?: string | null;
|
9893
10049
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
9894
10050
|
fields?: external$3["../../../lambda/functions/uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
9895
10051
|
/**
|
@@ -11004,7 +11160,7 @@ interface external$3 {
|
|
11004
11160
|
schemas: {
|
11005
11161
|
/** @description Defines the shape of the entry */
|
11006
11162
|
Entry: {
|
11007
|
-
/** @description Content type of the entry. */
|
11163
|
+
/** @description Content type public ID of the entry. */
|
11008
11164
|
type: string;
|
11009
11165
|
/**
|
11010
11166
|
* Format: uuid
|
@@ -11969,6 +12125,12 @@ interface external$2 {
|
|
11969
12125
|
* @default null
|
11970
12126
|
*/
|
11971
12127
|
titleParameter?: string | null;
|
12128
|
+
/**
|
12129
|
+
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI.
|
12130
|
+
*
|
12131
|
+
* @default null
|
12132
|
+
*/
|
12133
|
+
thumbnailParameter?: string | null;
|
11972
12134
|
/**
|
11973
12135
|
* @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
|
11974
12136
|
* @default false
|
@@ -12021,6 +12183,12 @@ interface external$2 {
|
|
12021
12183
|
* The field type must support being used as an entry name for this to work.
|
12022
12184
|
*/
|
12023
12185
|
entryName?: string | null;
|
12186
|
+
/**
|
12187
|
+
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI.
|
12188
|
+
*
|
12189
|
+
* @default null
|
12190
|
+
*/
|
12191
|
+
thumbnailField?: string | null;
|
12024
12192
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
12025
12193
|
fields?: external$2["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
12026
12194
|
/**
|
@@ -13396,6 +13564,7 @@ declare class CanvasClient extends ApiClient<CanvasClientOptions> {
|
|
13396
13564
|
name: string;
|
13397
13565
|
icon?: string | undefined;
|
13398
13566
|
titleParameter?: string | null | undefined;
|
13567
|
+
thumbnailParameter?: string | null | undefined;
|
13399
13568
|
canBeComposition?: boolean | undefined;
|
13400
13569
|
parameters?: {
|
13401
13570
|
id: string;
|
package/dist/index.js
CHANGED
@@ -45,7 +45,7 @@ var __privateAdd = (obj, member, value) => {
|
|
45
45
|
|
46
46
|
// ../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry_operation.js
|
47
47
|
var require_retry_operation = __commonJS({
|
48
|
-
"../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry_operation.js"(
|
48
|
+
"../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry_operation.js"(exports2, module2) {
|
49
49
|
"use strict";
|
50
50
|
function RetryOperation(timeouts, options) {
|
51
51
|
if (typeof options === "boolean") {
|
@@ -181,18 +181,18 @@ var require_retry_operation = __commonJS({
|
|
181
181
|
|
182
182
|
// ../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry.js
|
183
183
|
var require_retry = __commonJS({
|
184
|
-
"../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry.js"(
|
184
|
+
"../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry.js"(exports2) {
|
185
185
|
"use strict";
|
186
186
|
var RetryOperation = require_retry_operation();
|
187
|
-
|
188
|
-
var timeouts =
|
187
|
+
exports2.operation = function(options) {
|
188
|
+
var timeouts = exports2.timeouts(options);
|
189
189
|
return new RetryOperation(timeouts, {
|
190
190
|
forever: options && (options.forever || options.retries === Infinity),
|
191
191
|
unref: options && options.unref,
|
192
192
|
maxRetryTime: options && options.maxRetryTime
|
193
193
|
});
|
194
194
|
};
|
195
|
-
|
195
|
+
exports2.timeouts = function(options) {
|
196
196
|
if (options instanceof Array) {
|
197
197
|
return [].concat(options);
|
198
198
|
}
|
@@ -221,13 +221,13 @@ var require_retry = __commonJS({
|
|
221
221
|
});
|
222
222
|
return timeouts;
|
223
223
|
};
|
224
|
-
|
224
|
+
exports2.createTimeout = function(attempt, opts) {
|
225
225
|
var random = opts.randomize ? Math.random() + 1 : 1;
|
226
226
|
var timeout = Math.round(random * Math.max(opts.minTimeout, 1) * Math.pow(opts.factor, attempt));
|
227
227
|
timeout = Math.min(timeout, opts.maxTimeout);
|
228
228
|
return timeout;
|
229
229
|
};
|
230
|
-
|
230
|
+
exports2.wrap = function(obj, options, methods) {
|
231
231
|
if (options instanceof Array) {
|
232
232
|
methods = options;
|
233
233
|
options = null;
|
@@ -244,7 +244,7 @@ var require_retry = __commonJS({
|
|
244
244
|
var method = methods[i];
|
245
245
|
var original = obj[method];
|
246
246
|
obj[method] = function retryWrapper(original2) {
|
247
|
-
var op =
|
247
|
+
var op = exports2.operation(options);
|
248
248
|
var args = Array.prototype.slice.call(arguments, 1);
|
249
249
|
var callback = args.pop();
|
250
250
|
args.push(function(err) {
|
@@ -268,7 +268,7 @@ var require_retry = __commonJS({
|
|
268
268
|
|
269
269
|
// ../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/index.js
|
270
270
|
var require_retry2 = __commonJS({
|
271
|
-
"../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/index.js"(
|
271
|
+
"../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/index.js"(exports2, module2) {
|
272
272
|
"use strict";
|
273
273
|
module2.exports = require_retry();
|
274
274
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@uniformdev/canvas",
|
3
|
-
"version": "19.96.
|
3
|
+
"version": "19.96.1-alpha.13+45a0734f3e",
|
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,8 +38,8 @@
|
|
38
38
|
"pusher-js": "8.2.0"
|
39
39
|
},
|
40
40
|
"dependencies": {
|
41
|
-
"@uniformdev/assets": "19.96.
|
42
|
-
"@uniformdev/context": "19.96.
|
41
|
+
"@uniformdev/assets": "19.96.1-alpha.13+45a0734f3e",
|
42
|
+
"@uniformdev/context": "19.96.1-alpha.13+45a0734f3e",
|
43
43
|
"immer": "10.0.3"
|
44
44
|
},
|
45
45
|
"files": [
|
@@ -48,5 +48,5 @@
|
|
48
48
|
"publishConfig": {
|
49
49
|
"access": "public"
|
50
50
|
},
|
51
|
-
"gitHead": "
|
51
|
+
"gitHead": "45a0734f3e9e54959a6e70c4bc7472657becc28b"
|
52
52
|
}
|