@uniformdev/canvas 17.6.1-alpha.60 → 17.7.1-alpha.34

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/cli/cli.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { UniformCLIPlugin } from '@uniformdev/cli';
2
2
  import { UniformPackage } from '@uniformdev/cli/sync';
3
- import { a1 as CanvasDefinitions } from '../createEventBus-bb2f5866.js';
3
+ import { a1 as CanvasDefinitions } from '../createEventBus-2f37d8dd.js';
4
4
  import 'pusher-js';
5
5
 
6
6
  declare type CanvasPackage = UniformPackage & CanvasDefinitions;
@@ -226,15 +226,13 @@ interface components$2 {
226
226
  connectorType: string;
227
227
  /** @description Base resource URL of the data source. No trailing slash. */
228
228
  baseUrl: string;
229
+ /** @description HTTP headers to pass with requests to the data source */
229
230
  headers?: {
230
- [key: string]: string;
231
- } | {
232
231
  key: string;
233
232
  value: string;
234
233
  }[];
234
+ /** @description Query String parameters to pass with requests to the data type. Merged with parameters from the data source, overriding identical keys. */
235
235
  parameters?: {
236
- [key: string]: string;
237
- } | {
238
236
  key: string;
239
237
  value: string;
240
238
  }[];
@@ -282,15 +280,11 @@ interface components$2 {
282
280
  badgeIconUrl?: string;
283
281
  /** @description HTTP headers to pass with requests to the data type. Merged with headers from the data source, overriding identical keys. */
284
282
  headers?: {
285
- [key: string]: string;
286
- } | {
287
283
  key: string;
288
284
  value: string;
289
285
  }[];
290
286
  /** @description Query String parameters to pass with requests to the data type. Merged with parameters from the data source, overriding identical keys. */
291
287
  parameters?: {
292
- [key: string]: string;
293
- } | {
294
288
  key: string;
295
289
  value: string;
296
290
  }[];
@@ -726,15 +720,13 @@ interface external$5 {
726
720
  connectorType: string;
727
721
  /** @description Base resource URL of the data source. No trailing slash. */
728
722
  baseUrl: string;
723
+ /** @description HTTP headers to pass with requests to the data source */
729
724
  headers?: {
730
- [key: string]: string;
731
- } | {
732
725
  key: string;
733
726
  value: string;
734
727
  }[];
728
+ /** @description Query String parameters to pass with requests to the data type. Merged with parameters from the data source, overriding identical keys. */
735
729
  parameters?: {
736
- [key: string]: string;
737
- } | {
738
730
  key: string;
739
731
  value: string;
740
732
  }[];
@@ -782,15 +774,11 @@ interface external$5 {
782
774
  badgeIconUrl?: string;
783
775
  /** @description HTTP headers to pass with requests to the data type. Merged with headers from the data source, overriding identical keys. */
784
776
  headers?: {
785
- [key: string]: string;
786
- } | {
787
777
  key: string;
788
778
  value: string;
789
779
  }[];
790
780
  /** @description Query String parameters to pass with requests to the data type. Merged with parameters from the data source, overriding identical keys. */
791
781
  parameters?: {
792
- [key: string]: string;
793
- } | {
794
782
  key: string;
795
783
  value: string;
796
784
  }[];
@@ -1459,15 +1447,13 @@ interface external$4 {
1459
1447
  connectorType: string;
1460
1448
  /** @description Base resource URL of the data source. No trailing slash. */
1461
1449
  baseUrl: string;
1450
+ /** @description HTTP headers to pass with requests to the data source */
1462
1451
  headers?: {
1463
- [key: string]: string;
1464
- } | {
1465
1452
  key: string;
1466
1453
  value: string;
1467
1454
  }[];
1455
+ /** @description Query String parameters to pass with requests to the data type. Merged with parameters from the data source, overriding identical keys. */
1468
1456
  parameters?: {
1469
- [key: string]: string;
1470
- } | {
1471
1457
  key: string;
1472
1458
  value: string;
1473
1459
  }[];
@@ -1515,15 +1501,11 @@ interface external$4 {
1515
1501
  badgeIconUrl?: string;
1516
1502
  /** @description HTTP headers to pass with requests to the data type. Merged with headers from the data source, overriding identical keys. */
1517
1503
  headers?: {
1518
- [key: string]: string;
1519
- } | {
1520
1504
  key: string;
1521
1505
  value: string;
1522
1506
  }[];
1523
1507
  /** @description Query String parameters to pass with requests to the data type. Merged with parameters from the data source, overriding identical keys. */
1524
1508
  parameters?: {
1525
- [key: string]: string;
1526
- } | {
1527
1509
  key: string;
1528
1510
  value: string;
1529
1511
  }[];
@@ -1976,15 +1958,13 @@ interface external$3 {
1976
1958
  connectorType: string;
1977
1959
  /** @description Base resource URL of the data source. No trailing slash. */
1978
1960
  baseUrl: string;
1961
+ /** @description HTTP headers to pass with requests to the data source */
1979
1962
  headers?: {
1980
- [key: string]: string;
1981
- } | {
1982
1963
  key: string;
1983
1964
  value: string;
1984
1965
  }[];
1966
+ /** @description Query String parameters to pass with requests to the data type. Merged with parameters from the data source, overriding identical keys. */
1985
1967
  parameters?: {
1986
- [key: string]: string;
1987
- } | {
1988
1968
  key: string;
1989
1969
  value: string;
1990
1970
  }[];
@@ -2032,15 +2012,11 @@ interface external$3 {
2032
2012
  badgeIconUrl?: string;
2033
2013
  /** @description HTTP headers to pass with requests to the data type. Merged with headers from the data source, overriding identical keys. */
2034
2014
  headers?: {
2035
- [key: string]: string;
2036
- } | {
2037
2015
  key: string;
2038
2016
  value: string;
2039
2017
  }[];
2040
2018
  /** @description Query String parameters to pass with requests to the data type. Merged with parameters from the data source, overriding identical keys. */
2041
2019
  parameters?: {
2042
- [key: string]: string;
2043
- } | {
2044
2020
  key: string;
2045
2021
  value: string;
2046
2022
  }[];
@@ -2883,15 +2859,13 @@ interface external$2 {
2883
2859
  connectorType: string;
2884
2860
  /** @description Base resource URL of the data source. No trailing slash. */
2885
2861
  baseUrl: string;
2862
+ /** @description HTTP headers to pass with requests to the data source */
2886
2863
  headers?: {
2887
- [key: string]: string;
2888
- } | {
2889
2864
  key: string;
2890
2865
  value: string;
2891
2866
  }[];
2867
+ /** @description Query String parameters to pass with requests to the data type. Merged with parameters from the data source, overriding identical keys. */
2892
2868
  parameters?: {
2893
- [key: string]: string;
2894
- } | {
2895
2869
  key: string;
2896
2870
  value: string;
2897
2871
  }[];
@@ -2939,15 +2913,11 @@ interface external$2 {
2939
2913
  badgeIconUrl?: string;
2940
2914
  /** @description HTTP headers to pass with requests to the data type. Merged with headers from the data source, overriding identical keys. */
2941
2915
  headers?: {
2942
- [key: string]: string;
2943
- } | {
2944
2916
  key: string;
2945
2917
  value: string;
2946
2918
  }[];
2947
2919
  /** @description Query String parameters to pass with requests to the data type. Merged with parameters from the data source, overriding identical keys. */
2948
2920
  parameters?: {
2949
- [key: string]: string;
2950
- } | {
2951
2921
  key: string;
2952
2922
  value: string;
2953
2923
  }[];
@@ -3325,15 +3295,13 @@ interface external$1 {
3325
3295
  connectorType: string;
3326
3296
  /** @description Base resource URL of the data source. No trailing slash. */
3327
3297
  baseUrl: string;
3298
+ /** @description HTTP headers to pass with requests to the data source */
3328
3299
  headers?: {
3329
- [key: string]: string;
3330
- } | {
3331
3300
  key: string;
3332
3301
  value: string;
3333
3302
  }[];
3303
+ /** @description Query String parameters to pass with requests to the data type. Merged with parameters from the data source, overriding identical keys. */
3334
3304
  parameters?: {
3335
- [key: string]: string;
3336
- } | {
3337
3305
  key: string;
3338
3306
  value: string;
3339
3307
  }[];
@@ -3381,15 +3349,11 @@ interface external$1 {
3381
3349
  badgeIconUrl?: string;
3382
3350
  /** @description HTTP headers to pass with requests to the data type. Merged with headers from the data source, overriding identical keys. */
3383
3351
  headers?: {
3384
- [key: string]: string;
3385
- } | {
3386
3352
  key: string;
3387
3353
  value: string;
3388
3354
  }[];
3389
3355
  /** @description Query String parameters to pass with requests to the data type. Merged with parameters from the data source, overriding identical keys. */
3390
3356
  parameters?: {
3391
- [key: string]: string;
3392
- } | {
3393
3357
  key: string;
3394
3358
  value: string;
3395
3359
  }[];
@@ -3802,15 +3766,13 @@ interface external {
3802
3766
  connectorType: string;
3803
3767
  /** @description Base resource URL of the data source. No trailing slash. */
3804
3768
  baseUrl: string;
3769
+ /** @description HTTP headers to pass with requests to the data source */
3805
3770
  headers?: {
3806
- [key: string]: string;
3807
- } | {
3808
3771
  key: string;
3809
3772
  value: string;
3810
3773
  }[];
3774
+ /** @description Query String parameters to pass with requests to the data type. Merged with parameters from the data source, overriding identical keys. */
3811
3775
  parameters?: {
3812
- [key: string]: string;
3813
- } | {
3814
3776
  key: string;
3815
3777
  value: string;
3816
3778
  }[];
@@ -3858,15 +3820,11 @@ interface external {
3858
3820
  badgeIconUrl?: string;
3859
3821
  /** @description HTTP headers to pass with requests to the data type. Merged with headers from the data source, overriding identical keys. */
3860
3822
  headers?: {
3861
- [key: string]: string;
3862
- } | {
3863
3823
  key: string;
3864
3824
  value: string;
3865
3825
  }[];
3866
3826
  /** @description Query String parameters to pass with requests to the data type. Merged with parameters from the data source, overriding identical keys. */
3867
3827
  parameters?: {
3868
- [key: string]: string;
3869
- } | {
3870
3828
  key: string;
3871
3829
  value: string;
3872
3830
  }[];
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { ApiClient, ClientOptions, ExceptProject, ApiClientError } from '@uniformdev/context/api';
2
2
  export { ApiClientError } from '@uniformdev/context/api';
3
- import { C as CompositionGetParameters, a as CompositionGetByNodePathParameters, D as DataResolutionOptionNegative, b as CompositionGetResponse, c as DataResolutionOptionPositive, d as DataResolutionParameters, e as CompositionResolvedGetResponse, f as CompositionGetValidResponses, g as DataResolutionOption, h as CompositionGetByNodeIdParameters, i as CompositionGetBySlugParameters, j as CompositionGetByIdParameters, k as CompositionPutParameters, l as CompositionDeleteParameters, m as ComponentDefinitionGetParameters, n as ComponentDefinitionPutParameters, o as ComponentDefinitionDeleteParameters, p as ComponentInstance, q as ComponentParameter, r as components, s as DataSourceGetParameters, t as DataSourcesGetParameters, u as DataSourcePutParameters, v as DataSourceDeleteParameters, w as DataTypeGetParameters, x as DataTypeGetResponse, y as DataTypePutParameters, z as DataTypeDeleteParameters, R as RootComponentInstance, P as PreviewEventBus } from './createEventBus-bb2f5866.js';
4
- export { a1 as CanvasDefinitions, A as ChannelSubscription, O as ComponentDefinition, H as ComponentDefinitionAPIDeleteRequest, G as ComponentDefinitionAPIPutRequest, F as ComponentDefinitionAPIResponse, o as ComponentDefinitionDeleteParameters, m as ComponentDefinitionGetParameters, E as ComponentDefinitionGetResponse, I as ComponentDefinitionListAPIOptions, J as ComponentDefinitionParameter, N as ComponentDefinitionPermission, n as ComponentDefinitionPutParameters, M as ComponentDefinitionSlot, L as ComponentDefinitionSlugSettings, K as ComponentDefinitionVariant, p as ComponentInstance, q as ComponentParameter, W as CompositionAPIDeleteRequest, Y as CompositionAPIOptions, V as CompositionAPIResponse, a8 as CompositionDataDiagnostic, l as CompositionDeleteParameters, j as CompositionGetByIdParameters, h as CompositionGetByNodeIdParameters, a as CompositionGetByNodePathParameters, i as CompositionGetBySlugParameters, U as CompositionGetListResponse, S as CompositionGetOrderBy, C as CompositionGetParameters, b as CompositionGetResponse, f as CompositionGetValidResponses, a2 as CompositionIssue, X as CompositionListAPIResponse, a3 as CompositionPatternIssue, k as CompositionPutParameters, e as CompositionResolvedGetResponse, T as CompositionUIStatus, Q as CreatingComponentDefinition, a4 as DataElementBindingIssue, Z as DataElementConnectionDefinition, a7 as DataResolutionConfigIssue, g as DataResolutionOption, D as DataResolutionOptionNegative, c as DataResolutionOptionPositive, d as DataResolutionParameters, a0 as DataResourceDefinition, $ as DataResourceDefinitions, a5 as DataResourceIssue, a6 as DataResourceVariableIssue, _ as DataResourceVariables, ac as DataSource, v as DataSourceDeleteParameters, s as DataSourceGetParameters, a9 as DataSourceGetResponse, u as DataSourcePutParameters, t as DataSourcesGetParameters, aa as DataSourcesGetResponse, ab as DataType, z as DataTypeDeleteParameters, w as DataTypeGetParameters, x as DataTypeGetResponse, y as DataTypePutParameters, ad as DataVariableDefinition, P as PreviewEventBus, R as RootComponentInstance, B as createEventBus } from './createEventBus-bb2f5866.js';
3
+ import { C as CompositionGetParameters, a as CompositionGetByNodePathParameters, D as DataResolutionOptionNegative, b as CompositionGetResponse, c as DataResolutionOptionPositive, d as DataResolutionParameters, e as CompositionResolvedGetResponse, f as CompositionGetValidResponses, g as DataResolutionOption, h as CompositionGetByNodeIdParameters, i as CompositionGetBySlugParameters, j as CompositionGetByIdParameters, k as CompositionPutParameters, l as CompositionDeleteParameters, m as ComponentDefinitionGetParameters, n as ComponentDefinitionPutParameters, o as ComponentDefinitionDeleteParameters, p as ComponentInstance, q as ComponentParameter, r as components, s as DataSourceGetParameters, t as DataSourcesGetParameters, u as DataSourcePutParameters, v as DataSourceDeleteParameters, w as DataTypeGetParameters, x as DataTypeGetResponse, y as DataTypePutParameters, z as DataTypeDeleteParameters, R as RootComponentInstance, P as PreviewEventBus } from './createEventBus-2f37d8dd.js';
4
+ export { a1 as CanvasDefinitions, A as ChannelSubscription, O as ComponentDefinition, H as ComponentDefinitionAPIDeleteRequest, G as ComponentDefinitionAPIPutRequest, F as ComponentDefinitionAPIResponse, o as ComponentDefinitionDeleteParameters, m as ComponentDefinitionGetParameters, E as ComponentDefinitionGetResponse, I as ComponentDefinitionListAPIOptions, J as ComponentDefinitionParameter, N as ComponentDefinitionPermission, n as ComponentDefinitionPutParameters, M as ComponentDefinitionSlot, L as ComponentDefinitionSlugSettings, K as ComponentDefinitionVariant, p as ComponentInstance, q as ComponentParameter, W as CompositionAPIDeleteRequest, Y as CompositionAPIOptions, V as CompositionAPIResponse, a8 as CompositionDataDiagnostic, l as CompositionDeleteParameters, j as CompositionGetByIdParameters, h as CompositionGetByNodeIdParameters, a as CompositionGetByNodePathParameters, i as CompositionGetBySlugParameters, U as CompositionGetListResponse, S as CompositionGetOrderBy, C as CompositionGetParameters, b as CompositionGetResponse, f as CompositionGetValidResponses, a2 as CompositionIssue, X as CompositionListAPIResponse, a3 as CompositionPatternIssue, k as CompositionPutParameters, e as CompositionResolvedGetResponse, T as CompositionUIStatus, Q as CreatingComponentDefinition, a4 as DataElementBindingIssue, Z as DataElementConnectionDefinition, a7 as DataResolutionConfigIssue, g as DataResolutionOption, D as DataResolutionOptionNegative, c as DataResolutionOptionPositive, d as DataResolutionParameters, a0 as DataResourceDefinition, $ as DataResourceDefinitions, a5 as DataResourceIssue, a6 as DataResourceVariableIssue, _ as DataResourceVariables, ac as DataSource, v as DataSourceDeleteParameters, s as DataSourceGetParameters, a9 as DataSourceGetResponse, u as DataSourcePutParameters, t as DataSourcesGetParameters, aa as DataSourcesGetResponse, ab as DataType, z as DataTypeDeleteParameters, w as DataTypeGetParameters, x as DataTypeGetResponse, y as DataTypePutParameters, ad as DataVariableDefinition, P as PreviewEventBus, R as RootComponentInstance, B as createEventBus } from './createEventBus-2f37d8dd.js';
5
5
  import { Options as Options$1 } from 'p-retry';
6
6
  import { Options } from 'p-throttle';
7
7
  import { PersonalizedVariant, TestVariant } from '@uniformdev/context';
@@ -298,14 +298,10 @@ declare class DataSourceClient extends ApiClient {
298
298
  connectorType: string;
299
299
  baseUrl: string;
300
300
  headers?: {
301
- [key: string]: string;
302
- } | {
303
301
  key: string;
304
302
  value: string;
305
303
  }[] | undefined;
306
304
  parameters?: {
307
- [key: string]: string;
308
- } | {
309
305
  key: string;
310
306
  value: string;
311
307
  }[] | undefined;
@@ -331,14 +327,10 @@ declare class DataSourceClient extends ApiClient {
331
327
  connectorType: string;
332
328
  baseUrl: string;
333
329
  headers?: {
334
- [key: string]: string;
335
- } | {
336
330
  key: string;
337
331
  value: string;
338
332
  }[] | undefined;
339
333
  parameters?: {
340
- [key: string]: string;
341
- } | {
342
334
  key: string;
343
335
  value: string;
344
336
  }[] | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas",
3
- "version": "17.6.1-alpha.60+dce2049a1",
3
+ "version": "17.7.1-alpha.34+084da3172",
4
4
  "description": "Common functionality and types for Uniform Canvas",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -48,8 +48,8 @@
48
48
  },
49
49
  "devDependencies": {
50
50
  "@types/retry": "0.12.1",
51
- "@types/yargs": "17.0.15",
52
- "@uniformdev/cli": "^17.6.1-alpha.60+dce2049a1",
51
+ "@types/yargs": "17.0.17",
52
+ "@uniformdev/cli": "^17.7.1-alpha.34+084da3172",
53
53
  "p-limit": "4.0.0",
54
54
  "p-retry": "5.1.1",
55
55
  "p-throttle": "5.0.0",
@@ -57,7 +57,7 @@
57
57
  "yargs": "17.6.2"
58
58
  },
59
59
  "dependencies": {
60
- "@uniformdev/context": "^17.6.1-alpha.60+dce2049a1"
60
+ "@uniformdev/context": "^17.7.1-alpha.34+084da3172"
61
61
  },
62
62
  "files": [
63
63
  "/dist"
@@ -65,5 +65,5 @@
65
65
  "publishConfig": {
66
66
  "access": "public"
67
67
  },
68
- "gitHead": "dce2049a142bec6e78cda9d976eacf13a96aa483"
68
+ "gitHead": "084da31729798e2c1a1f26ba38c764caabebc958"
69
69
  }