@uniformdev/canvas 17.7.1-alpha.140 → 17.7.1-alpha.167
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-FIKDTGXG.mjs +1495 -0
- package/dist/cli/cli.d.ts +1 -1
- package/dist/cli/cli.js +19772 -74
- package/dist/cli/cli.mjs +19183 -74
- package/dist/{createEventBus-025f310c.d.ts → createEventBus-bd2e0a92.d.ts} +8 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +118 -1
- package/dist/index.js +1519 -3
- package/dist/index.mjs +118 -1
- package/package.json +5 -5
- package/dist/chunk-TN3WBMTA.mjs +0 -4
@@ -938,6 +938,8 @@ interface paths$3 {
|
|
938
938
|
* embedded into it, and serialize the pattern data separately.
|
939
939
|
*/
|
940
940
|
skipPatternResolution?: components$1["parameters"]["skipPatternResolution"];
|
941
|
+
/** If true, any dynamic parameters will be left with their raw data. Project map link path is a dynamic parameter. */
|
942
|
+
skipParameterResolution?: components$1["parameters"]["skipParameterResolution"];
|
941
943
|
/** Specify a single composition to fetch by slug. Changes response from list to single. */
|
942
944
|
slug?: components$1["parameters"]["slug"];
|
943
945
|
/** State of compositions to fetch. 0 = draft, 64 = published. */
|
@@ -1134,6 +1136,8 @@ interface components$1 {
|
|
1134
1136
|
* embedded into it, and serialize the pattern data separately.
|
1135
1137
|
*/
|
1136
1138
|
skipPatternResolution: boolean;
|
1139
|
+
/** @description If true, any dynamic parameters will be left with their raw data. Project map link path is a dynamic parameter. */
|
1140
|
+
skipParameterResolution: boolean;
|
1137
1141
|
/**
|
1138
1142
|
* @description If true the `_id` unique identifier of each non-root component will be part of the response data.
|
1139
1143
|
* If false, the `_id` will not be present in the API response.
|
@@ -2136,6 +2140,8 @@ interface external$3 {
|
|
2136
2140
|
* embedded into it, and serialize the pattern data separately.
|
2137
2141
|
*/
|
2138
2142
|
skipPatternResolution?: external$3["../../../lambda/functions/v1-canvas.swagger.yml"]["components"]["parameters"]["skipPatternResolution"];
|
2143
|
+
/** If true, any dynamic parameters will be left with their raw data. Project map link path is a dynamic parameter. */
|
2144
|
+
skipParameterResolution?: external$3["../../../lambda/functions/v1-canvas.swagger.yml"]["components"]["parameters"]["skipParameterResolution"];
|
2139
2145
|
/** Specify a single composition to fetch by slug. Changes response from list to single. */
|
2140
2146
|
slug?: external$3["../../../lambda/functions/v1-canvas.swagger.yml"]["components"]["parameters"]["slug"];
|
2141
2147
|
/** State of compositions to fetch. 0 = draft, 64 = published. */
|
@@ -2332,6 +2338,8 @@ interface external$3 {
|
|
2332
2338
|
* embedded into it, and serialize the pattern data separately.
|
2333
2339
|
*/
|
2334
2340
|
skipPatternResolution: boolean;
|
2341
|
+
/** @description If true, any dynamic parameters will be left with their raw data. Project map link path is a dynamic parameter. */
|
2342
|
+
skipParameterResolution: boolean;
|
2335
2343
|
/**
|
2336
2344
|
* @description If true the `_id` unique identifier of each non-root component will be part of the response data.
|
2337
2345
|
* If false, the `_id` will not be present in the API response.
|
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-
|
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-
|
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-bd2e0a92.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-bd2e0a92.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';
|
package/dist/index.esm.js
CHANGED
@@ -1 +1,118 @@
|
|
1
|
-
import
|
1
|
+
import {
|
2
|
+
ApiClientError,
|
3
|
+
BatchEntry,
|
4
|
+
CANVAS_DRAFT_STATE,
|
5
|
+
CANVAS_ENRICHMENT_TAG_PARAM,
|
6
|
+
CANVAS_INTENT_TAG_PARAM,
|
7
|
+
CANVAS_LOCALE_TAG_PARAM,
|
8
|
+
CANVAS_LOCALIZATION_SLOT,
|
9
|
+
CANVAS_LOCALIZATION_TYPE,
|
10
|
+
CANVAS_PERSONALIZATION_PARAM,
|
11
|
+
CANVAS_PERSONALIZE_SLOT,
|
12
|
+
CANVAS_PERSONALIZE_TYPE,
|
13
|
+
CANVAS_PUBLISHED_STATE,
|
14
|
+
CANVAS_TEST_SLOT,
|
15
|
+
CANVAS_TEST_TYPE,
|
16
|
+
CANVAS_TEST_VARIANT_PARAM,
|
17
|
+
CanvasClient,
|
18
|
+
CanvasClientError,
|
19
|
+
ChildEnhancerBuilder,
|
20
|
+
DataSourceClient,
|
21
|
+
DataTypeClient,
|
22
|
+
EDGE_CACHE_DISABLED,
|
23
|
+
EDGE_DEFAULT_CACHE_TTL,
|
24
|
+
EDGE_DEFAULT_L2_CACHE_TTL_IN_HOURS,
|
25
|
+
EDGE_MAX_CACHE_TTL,
|
26
|
+
EDGE_MAX_L2_CACHE_TTL_IN_HOURS,
|
27
|
+
EDGE_MIN_CACHE_TTL,
|
28
|
+
EDGE_MIN_L2_CACHE_TTL_IN_HOURS,
|
29
|
+
EnhancerBuilder,
|
30
|
+
IN_CONTEXT_EDITOR_COMPONENT_START_ROLE,
|
31
|
+
IN_CONTEXT_EDITOR_QUERY_STRING_PARAM,
|
32
|
+
PLACEHOLDER_ID,
|
33
|
+
UncachedCanvasClient,
|
34
|
+
UniqueBatchEntries,
|
35
|
+
compose,
|
36
|
+
createBatchEnhancer,
|
37
|
+
createCanvasChannel,
|
38
|
+
createEventBus,
|
39
|
+
createLimitPolicy,
|
40
|
+
enhance,
|
41
|
+
extractLocales,
|
42
|
+
generateHash,
|
43
|
+
getChannelName,
|
44
|
+
getComponentJsonPointer,
|
45
|
+
getComponentPath,
|
46
|
+
isAddComponentMessage,
|
47
|
+
isDismissPlaceholderMessage,
|
48
|
+
isMovingComponentMessage,
|
49
|
+
isReadyMessage,
|
50
|
+
isSelectComponentMessage,
|
51
|
+
isSystemComponentDefinition,
|
52
|
+
isUpdateCompositionMessage,
|
53
|
+
localize,
|
54
|
+
mapSlotToPersonalizedVariations,
|
55
|
+
mapSlotToTestVariations,
|
56
|
+
nullLimitPolicy,
|
57
|
+
subscribeToComposition,
|
58
|
+
walkComponentTree
|
59
|
+
} from "./chunk-FIKDTGXG.mjs";
|
60
|
+
export {
|
61
|
+
ApiClientError,
|
62
|
+
BatchEntry,
|
63
|
+
CANVAS_DRAFT_STATE,
|
64
|
+
CANVAS_ENRICHMENT_TAG_PARAM,
|
65
|
+
CANVAS_INTENT_TAG_PARAM,
|
66
|
+
CANVAS_LOCALE_TAG_PARAM,
|
67
|
+
CANVAS_LOCALIZATION_SLOT,
|
68
|
+
CANVAS_LOCALIZATION_TYPE,
|
69
|
+
CANVAS_PERSONALIZATION_PARAM,
|
70
|
+
CANVAS_PERSONALIZE_SLOT,
|
71
|
+
CANVAS_PERSONALIZE_TYPE,
|
72
|
+
CANVAS_PUBLISHED_STATE,
|
73
|
+
CANVAS_TEST_SLOT,
|
74
|
+
CANVAS_TEST_TYPE,
|
75
|
+
CANVAS_TEST_VARIANT_PARAM,
|
76
|
+
CanvasClient,
|
77
|
+
CanvasClientError,
|
78
|
+
ChildEnhancerBuilder,
|
79
|
+
DataSourceClient,
|
80
|
+
DataTypeClient,
|
81
|
+
EDGE_CACHE_DISABLED,
|
82
|
+
EDGE_DEFAULT_CACHE_TTL,
|
83
|
+
EDGE_DEFAULT_L2_CACHE_TTL_IN_HOURS,
|
84
|
+
EDGE_MAX_CACHE_TTL,
|
85
|
+
EDGE_MAX_L2_CACHE_TTL_IN_HOURS,
|
86
|
+
EDGE_MIN_CACHE_TTL,
|
87
|
+
EDGE_MIN_L2_CACHE_TTL_IN_HOURS,
|
88
|
+
EnhancerBuilder,
|
89
|
+
IN_CONTEXT_EDITOR_COMPONENT_START_ROLE,
|
90
|
+
IN_CONTEXT_EDITOR_QUERY_STRING_PARAM,
|
91
|
+
PLACEHOLDER_ID,
|
92
|
+
UncachedCanvasClient,
|
93
|
+
UniqueBatchEntries,
|
94
|
+
compose,
|
95
|
+
createBatchEnhancer,
|
96
|
+
createCanvasChannel,
|
97
|
+
createEventBus,
|
98
|
+
createLimitPolicy,
|
99
|
+
enhance,
|
100
|
+
extractLocales,
|
101
|
+
generateHash,
|
102
|
+
getChannelName,
|
103
|
+
getComponentJsonPointer,
|
104
|
+
getComponentPath,
|
105
|
+
isAddComponentMessage,
|
106
|
+
isDismissPlaceholderMessage,
|
107
|
+
isMovingComponentMessage,
|
108
|
+
isReadyMessage,
|
109
|
+
isSelectComponentMessage,
|
110
|
+
isSystemComponentDefinition,
|
111
|
+
isUpdateCompositionMessage,
|
112
|
+
localize,
|
113
|
+
mapSlotToPersonalizedVariations,
|
114
|
+
mapSlotToTestVariations,
|
115
|
+
nullLimitPolicy,
|
116
|
+
subscribeToComposition,
|
117
|
+
walkComponentTree
|
118
|
+
};
|