@uniformdev/canvas 17.1.1-alpha.152 → 17.1.1-alpha.231
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/chunk-2XL2NAQJ.mjs +4 -0
- package/dist/cli/cli.d.ts +1 -1
- package/dist/cli/cli.js +1 -1
- package/dist/cli/cli.mjs +1 -1
- package/dist/{createEventBus-b9cdb6ff.d.ts → createEventBus-e386fc9c.d.ts} +49 -49
- package/dist/index.d.ts +197 -66
- package/dist/index.esm.js +1 -1
- package/dist/index.js +3 -3
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
- package/dist/chunk-PFL3XEAQ.mjs +0 -4
@@ -214,11 +214,11 @@ interface external$1 {
|
|
214
214
|
roleId: external$1["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["PublicIdProperty"];
|
215
215
|
/**
|
216
216
|
* @description Permission type for this permission ComponentDefinition:
|
217
|
-
* read | write | delete
|
217
|
+
* read | write | create | delete
|
218
218
|
*
|
219
219
|
* @enum {string}
|
220
220
|
*/
|
221
|
-
permission: "read" | "write" | "delete";
|
221
|
+
permission: "read" | "write" | "create" | "delete";
|
222
222
|
/** @description State of the component that this permission applies to */
|
223
223
|
state: number;
|
224
224
|
};
|
@@ -370,23 +370,23 @@ interface external$1 {
|
|
370
370
|
* @description An instance of an integration data connector (i.e. "Master environment of the stable space", "Yelp API", "Sanity dev dataset"). These are created in the UI and shared across a whole project.
|
371
371
|
*/
|
372
372
|
DataConnection: {
|
373
|
-
/** @description Public ID of the data
|
373
|
+
/** @description Public ID of the data connection */
|
374
374
|
id: string;
|
375
|
-
/** @description Display name of the data
|
375
|
+
/** @description Display name of the data connection */
|
376
376
|
displayName: string;
|
377
377
|
/** @description The type of data connector this connects to (e.g. 'cms-items', provided by an intalled integration) */
|
378
378
|
connectorType: string;
|
379
|
-
/** @description Base resource URL of the data
|
379
|
+
/** @description Base resource URL of the data connection. No trailing slash. */
|
380
380
|
baseUrl: string;
|
381
|
-
/** @description HTTP headers to pass with requests to the data
|
381
|
+
/** @description HTTP headers to pass with requests to the data connection */
|
382
382
|
headers?: {
|
383
383
|
[key: string]: string;
|
384
384
|
};
|
385
|
-
/** @description Query String parameters to pass with requests to the data
|
385
|
+
/** @description Query String parameters to pass with requests to the data connection */
|
386
386
|
parameters?: {
|
387
387
|
[key: string]: string;
|
388
388
|
};
|
389
|
-
/** @description Variables needed to make calls to the data
|
389
|
+
/** @description Variables needed to make calls to the data connection */
|
390
390
|
variables?: {
|
391
391
|
[key: string]: external$1["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataVariable"];
|
392
392
|
};
|
@@ -400,11 +400,11 @@ interface external$1 {
|
|
400
400
|
* @description A specific type of data that a Data Connection can provide (i.e. "Recipe", "Recipes List by Tag", "Yelp Reviews of My Restaurant"). These are created in the UI and shared a whole project.
|
401
401
|
*/
|
402
402
|
DataType: {
|
403
|
-
/** @description Public ID of the data
|
403
|
+
/** @description Public ID of the data type */
|
404
404
|
id: string;
|
405
|
-
/** @description Display name of the data
|
405
|
+
/** @description Display name of the data type */
|
406
406
|
displayName: string;
|
407
|
-
/** @description Public ID of the associated data
|
407
|
+
/** @description Public ID of the associated data connection */
|
408
408
|
connectionId: string;
|
409
409
|
/**
|
410
410
|
* @description A connector-specific archetype for this data type; used to select UI as well as perform any
|
@@ -414,23 +414,23 @@ interface external$1 {
|
|
414
414
|
archetype?: string;
|
415
415
|
/** @description Resource path, appended to the data connection's baseUrl (e.g. baseUrl = https://base.url, path = /v1/endpoint -> final URL https://base.url/v1/endpoint). Must have leading slash. */
|
416
416
|
path: string;
|
417
|
-
/** @description HTTP headers to pass with requests to the data
|
417
|
+
/** @description HTTP headers to pass with requests to the data type. Merged with headers from the data connection, overriding identical keys. */
|
418
418
|
headers?: {
|
419
419
|
[key: string]: string;
|
420
420
|
};
|
421
|
-
/** @description Query String parameters to pass with requests to the data
|
421
|
+
/** @description Query String parameters to pass with requests to the data type. Merged with parameters from the data connection, overriding identical keys. */
|
422
422
|
parameters?: {
|
423
423
|
[key: string]: string;
|
424
424
|
};
|
425
|
-
/** @description Body to pass with requests to the data
|
425
|
+
/** @description Body to pass with requests to the data type (ignored unless method is POST) */
|
426
426
|
body?: string;
|
427
427
|
/**
|
428
|
-
* @description HTTP method to use with requests to the data
|
428
|
+
* @description HTTP method to use with requests to the data type.
|
429
429
|
* @default GET
|
430
430
|
* @enum {string}
|
431
431
|
*/
|
432
432
|
method: "GET" | "POST" | "HEAD";
|
433
|
-
/** @description Variables needed to make calls to the data
|
433
|
+
/** @description Variables needed to make calls to the data type. Merged with variables from the data connection, overriding identical keys. */
|
434
434
|
variables?: {
|
435
435
|
[key: string]: external$1["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataVariable"];
|
436
436
|
};
|
@@ -564,11 +564,11 @@ interface components$1 {
|
|
564
564
|
roleId: components$1["schemas"]["PublicIdProperty"];
|
565
565
|
/**
|
566
566
|
* @description Permission type for this permission ComponentDefinition:
|
567
|
-
* read | write | delete
|
567
|
+
* read | write | create | delete
|
568
568
|
*
|
569
569
|
* @enum {string}
|
570
570
|
*/
|
571
|
-
permission: "read" | "write" | "delete";
|
571
|
+
permission: "read" | "write" | "create" | "delete";
|
572
572
|
/** @description State of the component that this permission applies to */
|
573
573
|
state: number;
|
574
574
|
};
|
@@ -720,23 +720,23 @@ interface components$1 {
|
|
720
720
|
* @description An instance of an integration data connector (i.e. "Master environment of the stable space", "Yelp API", "Sanity dev dataset"). These are created in the UI and shared across a whole project.
|
721
721
|
*/
|
722
722
|
DataConnection: {
|
723
|
-
/** @description Public ID of the data
|
723
|
+
/** @description Public ID of the data connection */
|
724
724
|
id: string;
|
725
|
-
/** @description Display name of the data
|
725
|
+
/** @description Display name of the data connection */
|
726
726
|
displayName: string;
|
727
727
|
/** @description The type of data connector this connects to (e.g. 'cms-items', provided by an intalled integration) */
|
728
728
|
connectorType: string;
|
729
|
-
/** @description Base resource URL of the data
|
729
|
+
/** @description Base resource URL of the data connection. No trailing slash. */
|
730
730
|
baseUrl: string;
|
731
|
-
/** @description HTTP headers to pass with requests to the data
|
731
|
+
/** @description HTTP headers to pass with requests to the data connection */
|
732
732
|
headers?: {
|
733
733
|
[key: string]: string;
|
734
734
|
};
|
735
|
-
/** @description Query String parameters to pass with requests to the data
|
735
|
+
/** @description Query String parameters to pass with requests to the data connection */
|
736
736
|
parameters?: {
|
737
737
|
[key: string]: string;
|
738
738
|
};
|
739
|
-
/** @description Variables needed to make calls to the data
|
739
|
+
/** @description Variables needed to make calls to the data connection */
|
740
740
|
variables?: {
|
741
741
|
[key: string]: components$1["schemas"]["DataVariable"];
|
742
742
|
};
|
@@ -750,11 +750,11 @@ interface components$1 {
|
|
750
750
|
* @description A specific type of data that a Data Connection can provide (i.e. "Recipe", "Recipes List by Tag", "Yelp Reviews of My Restaurant"). These are created in the UI and shared a whole project.
|
751
751
|
*/
|
752
752
|
DataType: {
|
753
|
-
/** @description Public ID of the data
|
753
|
+
/** @description Public ID of the data type */
|
754
754
|
id: string;
|
755
|
-
/** @description Display name of the data
|
755
|
+
/** @description Display name of the data type */
|
756
756
|
displayName: string;
|
757
|
-
/** @description Public ID of the associated data
|
757
|
+
/** @description Public ID of the associated data connection */
|
758
758
|
connectionId: string;
|
759
759
|
/**
|
760
760
|
* @description A connector-specific archetype for this data type; used to select UI as well as perform any
|
@@ -764,23 +764,23 @@ interface components$1 {
|
|
764
764
|
archetype?: string;
|
765
765
|
/** @description Resource path, appended to the data connection's baseUrl (e.g. baseUrl = https://base.url, path = /v1/endpoint -> final URL https://base.url/v1/endpoint). Must have leading slash. */
|
766
766
|
path: string;
|
767
|
-
/** @description HTTP headers to pass with requests to the data
|
767
|
+
/** @description HTTP headers to pass with requests to the data type. Merged with headers from the data connection, overriding identical keys. */
|
768
768
|
headers?: {
|
769
769
|
[key: string]: string;
|
770
770
|
};
|
771
|
-
/** @description Query String parameters to pass with requests to the data
|
771
|
+
/** @description Query String parameters to pass with requests to the data type. Merged with parameters from the data connection, overriding identical keys. */
|
772
772
|
parameters?: {
|
773
773
|
[key: string]: string;
|
774
774
|
};
|
775
|
-
/** @description Body to pass with requests to the data
|
775
|
+
/** @description Body to pass with requests to the data type (ignored unless method is POST) */
|
776
776
|
body?: string;
|
777
777
|
/**
|
778
|
-
* @description HTTP method to use with requests to the data
|
778
|
+
* @description HTTP method to use with requests to the data type.
|
779
779
|
* @default GET
|
780
780
|
* @enum {string}
|
781
781
|
*/
|
782
782
|
method: "GET" | "POST" | "HEAD";
|
783
|
-
/** @description Variables needed to make calls to the data
|
783
|
+
/** @description Variables needed to make calls to the data type. Merged with variables from the data connection, overriding identical keys. */
|
784
784
|
variables?: {
|
785
785
|
[key: string]: components$1["schemas"]["DataVariable"];
|
786
786
|
};
|
@@ -1192,11 +1192,11 @@ interface external {
|
|
1192
1192
|
roleId: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["PublicIdProperty"];
|
1193
1193
|
/**
|
1194
1194
|
* @description Permission type for this permission ComponentDefinition:
|
1195
|
-
* read | write | delete
|
1195
|
+
* read | write | create | delete
|
1196
1196
|
*
|
1197
1197
|
* @enum {string}
|
1198
1198
|
*/
|
1199
|
-
permission: "read" | "write" | "delete";
|
1199
|
+
permission: "read" | "write" | "create" | "delete";
|
1200
1200
|
/** @description State of the component that this permission applies to */
|
1201
1201
|
state: number;
|
1202
1202
|
};
|
@@ -1348,23 +1348,23 @@ interface external {
|
|
1348
1348
|
* @description An instance of an integration data connector (i.e. "Master environment of the stable space", "Yelp API", "Sanity dev dataset"). These are created in the UI and shared across a whole project.
|
1349
1349
|
*/
|
1350
1350
|
DataConnection: {
|
1351
|
-
/** @description Public ID of the data
|
1351
|
+
/** @description Public ID of the data connection */
|
1352
1352
|
id: string;
|
1353
|
-
/** @description Display name of the data
|
1353
|
+
/** @description Display name of the data connection */
|
1354
1354
|
displayName: string;
|
1355
1355
|
/** @description The type of data connector this connects to (e.g. 'cms-items', provided by an intalled integration) */
|
1356
1356
|
connectorType: string;
|
1357
|
-
/** @description Base resource URL of the data
|
1357
|
+
/** @description Base resource URL of the data connection. No trailing slash. */
|
1358
1358
|
baseUrl: string;
|
1359
|
-
/** @description HTTP headers to pass with requests to the data
|
1359
|
+
/** @description HTTP headers to pass with requests to the data connection */
|
1360
1360
|
headers?: {
|
1361
1361
|
[key: string]: string;
|
1362
1362
|
};
|
1363
|
-
/** @description Query String parameters to pass with requests to the data
|
1363
|
+
/** @description Query String parameters to pass with requests to the data connection */
|
1364
1364
|
parameters?: {
|
1365
1365
|
[key: string]: string;
|
1366
1366
|
};
|
1367
|
-
/** @description Variables needed to make calls to the data
|
1367
|
+
/** @description Variables needed to make calls to the data connection */
|
1368
1368
|
variables?: {
|
1369
1369
|
[key: string]: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataVariable"];
|
1370
1370
|
};
|
@@ -1378,11 +1378,11 @@ interface external {
|
|
1378
1378
|
* @description A specific type of data that a Data Connection can provide (i.e. "Recipe", "Recipes List by Tag", "Yelp Reviews of My Restaurant"). These are created in the UI and shared a whole project.
|
1379
1379
|
*/
|
1380
1380
|
DataType: {
|
1381
|
-
/** @description Public ID of the data
|
1381
|
+
/** @description Public ID of the data type */
|
1382
1382
|
id: string;
|
1383
|
-
/** @description Display name of the data
|
1383
|
+
/** @description Display name of the data type */
|
1384
1384
|
displayName: string;
|
1385
|
-
/** @description Public ID of the associated data
|
1385
|
+
/** @description Public ID of the associated data connection */
|
1386
1386
|
connectionId: string;
|
1387
1387
|
/**
|
1388
1388
|
* @description A connector-specific archetype for this data type; used to select UI as well as perform any
|
@@ -1392,23 +1392,23 @@ interface external {
|
|
1392
1392
|
archetype?: string;
|
1393
1393
|
/** @description Resource path, appended to the data connection's baseUrl (e.g. baseUrl = https://base.url, path = /v1/endpoint -> final URL https://base.url/v1/endpoint). Must have leading slash. */
|
1394
1394
|
path: string;
|
1395
|
-
/** @description HTTP headers to pass with requests to the data
|
1395
|
+
/** @description HTTP headers to pass with requests to the data type. Merged with headers from the data connection, overriding identical keys. */
|
1396
1396
|
headers?: {
|
1397
1397
|
[key: string]: string;
|
1398
1398
|
};
|
1399
|
-
/** @description Query String parameters to pass with requests to the data
|
1399
|
+
/** @description Query String parameters to pass with requests to the data type. Merged with parameters from the data connection, overriding identical keys. */
|
1400
1400
|
parameters?: {
|
1401
1401
|
[key: string]: string;
|
1402
1402
|
};
|
1403
|
-
/** @description Body to pass with requests to the data
|
1403
|
+
/** @description Body to pass with requests to the data type (ignored unless method is POST) */
|
1404
1404
|
body?: string;
|
1405
1405
|
/**
|
1406
|
-
* @description HTTP method to use with requests to the data
|
1406
|
+
* @description HTTP method to use with requests to the data type.
|
1407
1407
|
* @default GET
|
1408
1408
|
* @enum {string}
|
1409
1409
|
*/
|
1410
1410
|
method: "GET" | "POST" | "HEAD";
|
1411
|
-
/** @description Variables needed to make calls to the data
|
1411
|
+
/** @description Variables needed to make calls to the data type. Merged with variables from the data connection, overriding identical keys. */
|
1412
1412
|
variables?: {
|
1413
1413
|
[key: string]: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataVariable"];
|
1414
1414
|
};
|
@@ -1546,4 +1546,4 @@ declare global {
|
|
1546
1546
|
*/
|
1547
1547
|
declare function createEventBus(): Promise<PreviewEventBus | undefined>;
|
1548
1548
|
|
1549
|
-
export { CompositionListAPIResponse as A, CompositionAPIOptions as B, ComponentInstance as C, ComponentParameterBinding as D, CompositionDataVariables as E, CompositionDataDefinitions as F, CompositionDataDefinition as G, CanvasDefinitions as H, ChannelSubscription as I, createEventBus as J, PreviewEventBus as P, RootComponentInstance as R, ComponentParameter as a, CompositionGetParameters as b, components$1 as c, CompositionPutParameters as d, CompositionDeleteParameters as e, ComponentDefinitionGetParameters as f, ComponentDefinitionPutParameters as g, ComponentDefinitionDeleteParameters as h,
|
1549
|
+
export { CompositionListAPIResponse as A, CompositionAPIOptions as B, ComponentInstance as C, ComponentParameterBinding as D, CompositionDataVariables as E, CompositionDataDefinitions as F, CompositionDataDefinition as G, CanvasDefinitions as H, ChannelSubscription as I, createEventBus as J, PreviewEventBus as P, RootComponentInstance as R, ComponentParameter as a, CompositionGetParameters as b, components$1 as c, CompositionPutParameters as d, CompositionDeleteParameters as e, ComponentDefinitionGetParameters as f, ComponentDefinitionPutParameters as g, ComponentDefinitionDeleteParameters as h, CompositionGetResponse as i, ComponentDefinitionGetResponse as j, ComponentDefinitionAPIResponse as k, ComponentDefinitionAPIPutRequest as l, ComponentDefinitionAPIDeleteRequest as m, ComponentDefinitionListAPIOptions as n, ComponentDefinitionParameter as o, ComponentDefinitionVariant as p, ComponentDefinitionSlugSettings as q, ComponentDefinitionSlot as r, ComponentDefinitionPermission as s, ComponentDefinition as t, CreatingComponentDefinition as u, CompositionGetOrderBy as v, CompositionUIStatus as w, CompositionGetListResponse as x, CompositionAPIResponse as y, CompositionAPIDeleteRequest as z };
|