@uniformdev/canvas 19.55.1-alpha.8 → 19.56.1-alpha.10
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 +57 -113
- package/dist/index.d.ts +57 -113
- package/dist/index.esm.js +16 -1
- package/dist/index.js +17 -1
- package/dist/index.mjs +16 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
@@ -171,21 +171,15 @@ interface components$5 {
|
|
171
171
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
172
172
|
fields?: components$5["schemas"]["ComponentDefinitionParameter"][];
|
173
173
|
/**
|
174
|
-
*
|
175
|
-
* @description Reference to the category this component definition belongs to
|
176
|
-
* @default null
|
177
|
-
*/
|
178
|
-
categoryId?: string | null;
|
179
|
-
/**
|
180
|
-
* @description Description of the component definition
|
174
|
+
* @description Description of the content type
|
181
175
|
* @default null
|
182
176
|
*/
|
183
177
|
description?: string;
|
184
178
|
/**
|
185
|
-
* @description
|
186
|
-
* @default
|
179
|
+
* @description Icon name for the content type (e.g. 'screen')
|
180
|
+
* @default file-document
|
187
181
|
*/
|
188
|
-
|
182
|
+
icon?: string;
|
189
183
|
/** @description Created date string for this content type (ignored for writes) */
|
190
184
|
created?: string;
|
191
185
|
/** @description Last modified date string for this content type (ignored for writes) */
|
@@ -838,21 +832,15 @@ interface external$c {
|
|
838
832
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
839
833
|
fields?: external$c["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
840
834
|
/**
|
841
|
-
*
|
842
|
-
* @description Reference to the category this component definition belongs to
|
843
|
-
* @default null
|
844
|
-
*/
|
845
|
-
categoryId?: string | null;
|
846
|
-
/**
|
847
|
-
* @description Description of the component definition
|
835
|
+
* @description Description of the content type
|
848
836
|
* @default null
|
849
837
|
*/
|
850
838
|
description?: string;
|
851
839
|
/**
|
852
|
-
* @description
|
853
|
-
* @default
|
840
|
+
* @description Icon name for the content type (e.g. 'screen')
|
841
|
+
* @default file-document
|
854
842
|
*/
|
855
|
-
|
843
|
+
icon?: string;
|
856
844
|
/** @description Created date string for this content type (ignored for writes) */
|
857
845
|
created?: string;
|
858
846
|
/** @description Last modified date string for this content type (ignored for writes) */
|
@@ -1506,21 +1494,15 @@ interface external$b {
|
|
1506
1494
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
1507
1495
|
fields?: external$b["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
1508
1496
|
/**
|
1509
|
-
*
|
1510
|
-
* @description Reference to the category this component definition belongs to
|
1511
|
-
* @default null
|
1512
|
-
*/
|
1513
|
-
categoryId?: string | null;
|
1514
|
-
/**
|
1515
|
-
* @description Description of the component definition
|
1497
|
+
* @description Description of the content type
|
1516
1498
|
* @default null
|
1517
1499
|
*/
|
1518
1500
|
description?: string;
|
1519
1501
|
/**
|
1520
|
-
* @description
|
1521
|
-
* @default
|
1502
|
+
* @description Icon name for the content type (e.g. 'screen')
|
1503
|
+
* @default file-document
|
1522
1504
|
*/
|
1523
|
-
|
1505
|
+
icon?: string;
|
1524
1506
|
/** @description Created date string for this content type (ignored for writes) */
|
1525
1507
|
created?: string;
|
1526
1508
|
/** @description Last modified date string for this content type (ignored for writes) */
|
@@ -2183,21 +2165,15 @@ interface external$a {
|
|
2183
2165
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
2184
2166
|
fields?: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
2185
2167
|
/**
|
2186
|
-
*
|
2187
|
-
* @description Reference to the category this component definition belongs to
|
2188
|
-
* @default null
|
2189
|
-
*/
|
2190
|
-
categoryId?: string | null;
|
2191
|
-
/**
|
2192
|
-
* @description Description of the component definition
|
2168
|
+
* @description Description of the content type
|
2193
2169
|
* @default null
|
2194
2170
|
*/
|
2195
2171
|
description?: string;
|
2196
2172
|
/**
|
2197
|
-
* @description
|
2198
|
-
* @default
|
2173
|
+
* @description Icon name for the content type (e.g. 'screen')
|
2174
|
+
* @default file-document
|
2199
2175
|
*/
|
2200
|
-
|
2176
|
+
icon?: string;
|
2201
2177
|
/** @description Created date string for this content type (ignored for writes) */
|
2202
2178
|
created?: string;
|
2203
2179
|
/** @description Last modified date string for this content type (ignored for writes) */
|
@@ -2693,7 +2669,7 @@ interface components$4 {
|
|
2693
2669
|
_id: string;
|
2694
2670
|
/** @description The name of the entry. */
|
2695
2671
|
_name?: string;
|
2696
|
-
/** @description The slug of the entry
|
2672
|
+
/** @description The slug of the entry. */
|
2697
2673
|
_slug?: string;
|
2698
2674
|
/** @description Name of the author of the most recent change. */
|
2699
2675
|
_author?: string;
|
@@ -2712,6 +2688,8 @@ interface components$4 {
|
|
2712
2688
|
* @description The public UUID of the entry.
|
2713
2689
|
*/
|
2714
2690
|
_id?: string;
|
2691
|
+
/** @description The slug of the entry. */
|
2692
|
+
_slug?: string;
|
2715
2693
|
/** @description Entry field values. */
|
2716
2694
|
fields?: {
|
2717
2695
|
[key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
|
@@ -3000,21 +2978,15 @@ interface external$9 {
|
|
3000
2978
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
3001
2979
|
fields?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
3002
2980
|
/**
|
3003
|
-
*
|
3004
|
-
* @description Reference to the category this component definition belongs to
|
3005
|
-
* @default null
|
3006
|
-
*/
|
3007
|
-
categoryId?: string | null;
|
3008
|
-
/**
|
3009
|
-
* @description Description of the component definition
|
2981
|
+
* @description Description of the content type
|
3010
2982
|
* @default null
|
3011
2983
|
*/
|
3012
2984
|
description?: string;
|
3013
2985
|
/**
|
3014
|
-
* @description
|
3015
|
-
* @default
|
2986
|
+
* @description Icon name for the content type (e.g. 'screen')
|
2987
|
+
* @default file-document
|
3016
2988
|
*/
|
3017
|
-
|
2989
|
+
icon?: string;
|
3018
2990
|
/** @description Created date string for this content type (ignored for writes) */
|
3019
2991
|
created?: string;
|
3020
2992
|
/** @description Last modified date string for this content type (ignored for writes) */
|
@@ -3663,21 +3635,15 @@ interface external$8 {
|
|
3663
3635
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
3664
3636
|
fields?: external$8["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
3665
3637
|
/**
|
3666
|
-
*
|
3667
|
-
* @description Reference to the category this component definition belongs to
|
3668
|
-
* @default null
|
3669
|
-
*/
|
3670
|
-
categoryId?: string | null;
|
3671
|
-
/**
|
3672
|
-
* @description Description of the component definition
|
3638
|
+
* @description Description of the content type
|
3673
3639
|
* @default null
|
3674
3640
|
*/
|
3675
3641
|
description?: string;
|
3676
3642
|
/**
|
3677
|
-
* @description
|
3678
|
-
* @default
|
3643
|
+
* @description Icon name for the content type (e.g. 'screen')
|
3644
|
+
* @default file-document
|
3679
3645
|
*/
|
3680
|
-
|
3646
|
+
icon?: string;
|
3681
3647
|
/** @description Created date string for this content type (ignored for writes) */
|
3682
3648
|
created?: string;
|
3683
3649
|
/** @description Last modified date string for this content type (ignored for writes) */
|
@@ -4270,21 +4236,15 @@ interface external$7 {
|
|
4270
4236
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
4271
4237
|
fields?: external$7["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
4272
4238
|
/**
|
4273
|
-
*
|
4274
|
-
* @description Reference to the category this component definition belongs to
|
4275
|
-
* @default null
|
4276
|
-
*/
|
4277
|
-
categoryId?: string | null;
|
4278
|
-
/**
|
4279
|
-
* @description Description of the component definition
|
4239
|
+
* @description Description of the content type
|
4280
4240
|
* @default null
|
4281
4241
|
*/
|
4282
4242
|
description?: string;
|
4283
4243
|
/**
|
4284
|
-
* @description
|
4285
|
-
* @default
|
4244
|
+
* @description Icon name for the content type (e.g. 'screen')
|
4245
|
+
* @default file-document
|
4286
4246
|
*/
|
4287
|
-
|
4247
|
+
icon?: string;
|
4288
4248
|
/** @description Created date string for this content type (ignored for writes) */
|
4289
4249
|
created?: string;
|
4290
4250
|
/** @description Last modified date string for this content type (ignored for writes) */
|
@@ -4912,21 +4872,15 @@ interface external$6 {
|
|
4912
4872
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
4913
4873
|
fields?: external$6["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
4914
4874
|
/**
|
4915
|
-
*
|
4916
|
-
* @description Reference to the category this component definition belongs to
|
4917
|
-
* @default null
|
4918
|
-
*/
|
4919
|
-
categoryId?: string | null;
|
4920
|
-
/**
|
4921
|
-
* @description Description of the component definition
|
4875
|
+
* @description Description of the content type
|
4922
4876
|
* @default null
|
4923
4877
|
*/
|
4924
4878
|
description?: string;
|
4925
4879
|
/**
|
4926
|
-
* @description
|
4927
|
-
* @default
|
4880
|
+
* @description Icon name for the content type (e.g. 'screen')
|
4881
|
+
* @default file-document
|
4928
4882
|
*/
|
4929
|
-
|
4883
|
+
icon?: string;
|
4930
4884
|
/** @description Created date string for this content type (ignored for writes) */
|
4931
4885
|
created?: string;
|
4932
4886
|
/** @description Last modified date string for this content type (ignored for writes) */
|
@@ -5983,21 +5937,15 @@ interface external$5 {
|
|
5983
5937
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
5984
5938
|
fields?: external$5["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
5985
5939
|
/**
|
5986
|
-
*
|
5987
|
-
* @description Reference to the category this component definition belongs to
|
5988
|
-
* @default null
|
5989
|
-
*/
|
5990
|
-
categoryId?: string | null;
|
5991
|
-
/**
|
5992
|
-
* @description Description of the component definition
|
5940
|
+
* @description Description of the content type
|
5993
5941
|
* @default null
|
5994
5942
|
*/
|
5995
5943
|
description?: string;
|
5996
5944
|
/**
|
5997
|
-
* @description
|
5998
|
-
* @default
|
5945
|
+
* @description Icon name for the content type (e.g. 'screen')
|
5946
|
+
* @default file-document
|
5999
5947
|
*/
|
6000
|
-
|
5948
|
+
icon?: string;
|
6001
5949
|
/** @description Created date string for this content type (ignored for writes) */
|
6002
5950
|
created?: string;
|
6003
5951
|
/** @description Last modified date string for this content type (ignored for writes) */
|
@@ -6831,21 +6779,15 @@ interface external$3 {
|
|
6831
6779
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
6832
6780
|
fields?: external$3["../../../lambda/functions/uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
6833
6781
|
/**
|
6834
|
-
*
|
6835
|
-
* @description Reference to the category this component definition belongs to
|
6836
|
-
* @default null
|
6837
|
-
*/
|
6838
|
-
categoryId?: string | null;
|
6839
|
-
/**
|
6840
|
-
* @description Description of the component definition
|
6782
|
+
* @description Description of the content type
|
6841
6783
|
* @default null
|
6842
6784
|
*/
|
6843
6785
|
description?: string;
|
6844
6786
|
/**
|
6845
|
-
* @description
|
6846
|
-
* @default
|
6787
|
+
* @description Icon name for the content type (e.g. 'screen')
|
6788
|
+
* @default file-document
|
6847
6789
|
*/
|
6848
|
-
|
6790
|
+
icon?: string;
|
6849
6791
|
/** @description Created date string for this content type (ignored for writes) */
|
6850
6792
|
created?: string;
|
6851
6793
|
/** @description Last modified date string for this content type (ignored for writes) */
|
@@ -7807,7 +7749,7 @@ interface external$3 {
|
|
7807
7749
|
_id: string;
|
7808
7750
|
/** @description The name of the entry. */
|
7809
7751
|
_name?: string;
|
7810
|
-
/** @description The slug of the entry
|
7752
|
+
/** @description The slug of the entry. */
|
7811
7753
|
_slug?: string;
|
7812
7754
|
/** @description Name of the author of the most recent change. */
|
7813
7755
|
_author?: string;
|
@@ -7826,6 +7768,8 @@ interface external$3 {
|
|
7826
7768
|
* @description The public UUID of the entry.
|
7827
7769
|
*/
|
7828
7770
|
_id?: string;
|
7771
|
+
/** @description The slug of the entry. */
|
7772
|
+
_slug?: string;
|
7829
7773
|
/** @description Entry field values. */
|
7830
7774
|
fields?: {
|
7831
7775
|
[key: string]: external$3["../../../lambda/functions/uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
|
@@ -8603,21 +8547,15 @@ interface external$2 {
|
|
8603
8547
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
8604
8548
|
fields?: external$2["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
8605
8549
|
/**
|
8606
|
-
*
|
8607
|
-
* @description Reference to the category this component definition belongs to
|
8608
|
-
* @default null
|
8609
|
-
*/
|
8610
|
-
categoryId?: string | null;
|
8611
|
-
/**
|
8612
|
-
* @description Description of the component definition
|
8550
|
+
* @description Description of the content type
|
8613
8551
|
* @default null
|
8614
8552
|
*/
|
8615
8553
|
description?: string;
|
8616
8554
|
/**
|
8617
|
-
* @description
|
8618
|
-
* @default
|
8555
|
+
* @description Icon name for the content type (e.g. 'screen')
|
8556
|
+
* @default file-document
|
8619
8557
|
*/
|
8620
|
-
|
8558
|
+
icon?: string;
|
8621
8559
|
/** @description Created date string for this content type (ignored for writes) */
|
8622
8560
|
created?: string;
|
8623
8561
|
/** @description Last modified date string for this content type (ignored for writes) */
|
@@ -11224,6 +11162,12 @@ declare const generateHash: ({ composition, secret, }: {
|
|
11224
11162
|
secret: string | undefined;
|
11225
11163
|
}) => number | undefined;
|
11226
11164
|
|
11165
|
+
/**
|
11166
|
+
* Checks if page is opened from inside Uniform Canvas Editor.
|
11167
|
+
* So if you open preview in incognito or via copy/paste link, it will return false.
|
11168
|
+
*/
|
11169
|
+
declare const isAllowedReferrer: (referrer: string | undefined) => boolean;
|
11170
|
+
|
11227
11171
|
/** Determines if a given Canvas component type is a system-defined type */
|
11228
11172
|
declare const isSystemComponentDefinition: (componentType: string) => boolean;
|
11229
11173
|
|
@@ -11301,4 +11245,4 @@ declare function parseVariableExpression(serialized: string, onToken?: (token: s
|
|
11301
11245
|
|
11302
11246
|
declare const CanvasClientError: typeof ApiClientError;
|
11303
11247
|
|
11304
|
-
export { ATTRIBUTE_COMPONENT_ID, ATTRIBUTE_MULTILINE, ATTRIBUTE_PARAMETER_ID, ATTRIBUTE_PARAMETER_TYPE, ATTRIBUTE_PARAMETER_VALUE, ATTRIBUTE_PLACEHOLDER, AddComponentMessage, BatchEnhancer, BatchEntry, BatchInvalidationPayload, BindVariablesOptions, BindVariablesResult, BindVariablesToObjectOptions, CANVAS_DRAFT_STATE, CANVAS_EDITOR_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_TEST_SLOT, CANVAS_TEST_TYPE, CANVAS_TEST_VARIANT_PARAM, CanvasClient, CanvasClientError, CanvasDefinitions, CategoriesDeleteParameters, CategoriesGetParameters, CategoriesGetResponse, CategoriesPutParameters, Category, CategoryClient, Channel, ChannelMessage, ChannelSubscription, ChildEnhancerBuilder, ComponentDefinition, ComponentDefinitionDeleteParameters, ComponentDefinitionGetParameters, ComponentDefinitionGetResponse, ComponentDefinitionParameter, ComponentDefinitionPermission, ComponentDefinitionPutParameters, ComponentDefinitionSlot, ComponentDefinitionSlugSettings, ComponentDefinitionVariant, ComponentEnhancer, ComponentEnhancerFunction, ComponentEnhancerOptions, ComponentInstance, ComponentInstanceContextualEditing, ComponentInstanceHistoryEntry, ComponentInstanceHistoryGetParameters, ComponentInstanceHistoryGetResponse, ComponentLocationReference, ComponentOverridability, ComponentOverride, ComponentOverrides, ComponentParameter, ComponentParameterContextualEditing, ComponentParameterEnhancer, ComponentParameterEnhancerFunction, ComponentParameterEnhancerOptions, CompositionDataDiagnostic, CompositionDeleteParameters, CompositionDiagnostics, CompositionGetByComponentIdParameters, CompositionGetByIdParameters, CompositionGetByNodeIdParameters, CompositionGetByNodePathParameters, CompositionGetBySlugParameters, CompositionGetListResponse, CompositionGetOrderBy, CompositionGetParameters, CompositionGetResponse, CompositionGetValidResponses, CompositionIssue, CompositionPatternIssue, CompositionPutParameters, CompositionRelationshipsClientOptions, CompositionRelationshipsDDefinitionGetResponse, CompositionRelationshipsDefinitionApi, CompositionRelationshipsDefinitionGetParameters, CompositionResolvedGetResponse, CompositionResolvedListResponse, CompositionUIStatus, ContentClient, ContentType, ContentTypeField, ContextualEditingComponentReference, DataDiagnostic, DataElementBindingIssue, DataElementConnectionDefinition, DataResolutionConfigIssue, DataResolutionIssue, DataResolutionOption, DataResolutionOptionNegative, DataResolutionOptionPositive, DataResolutionParameters, DataResourceDefinition, DataResourceDefinitions, DataResourceIssue, DataResourceVariables, DataSource, DataSourceClient, DataSourceDeleteParameters, DataSourceGetParameters, DataSourceGetResponse, DataSourcePutParameters, DataSourcesGetParameters, DataSourcesGetResponse, DataType, DataTypeClient, DataTypeDeleteParameters, DataTypeGetParameters, DataTypeGetResponse, DataTypePutParameters, DataVariableDefinition, DeleteContentTypeOptions, DeleteEntryOptions, DismissPlaceholderMessage, DynamicInputIssue, EDGE_CACHE_DISABLED, EDGE_DEFAULT_CACHE_TTL, EDGE_DEFAULT_L2_CACHE_TTL_IN_HOURS, EDGE_MAX_CACHE_TTL, EDGE_MAX_L2_CACHE_TTL_IN_HOURS, EDGE_MIN_CACHE_TTL, EDGE_MIN_L2_CACHE_TTL_IN_HOURS, EMPTY_COMPOSITION, EdgehancersDiagnostics, EditorStateUpdatedMessage, EnhancerBuilder, EnhancerContext, EnhancerError, EntriesGetParameters, EntriesGetResponse, EntriesResolvedListResponse, Entry, EventNames, GetContentTypesOptions, GetContentTypesResponse, GetEntriesOptions, GetEntriesResponse, GetParameterAttributesProps, IN_CONTEXT_EDITOR_COMPONENT_END_ROLE, IN_CONTEXT_EDITOR_COMPONENT_START_ROLE, IN_CONTEXT_EDITOR_CONFIG_CHECK_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID, IN_CONTEXT_EDITOR_PLAYGROUND_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_QUERY_STRING_PARAM, IS_RENDERED_BY_UNIFORM_ATTRIBUTE, InvalidationPayload, LimitPolicy, LinkComponentParameterValue, LinkParamConfiguration, LinkParamValue, LinkParameterType, LinkTypeConfiguration, MessageHandler, MoveComponentMessage, NonProjectMapLinkParamValue, OverrideOptions, PLACEHOLDER_ID, PatternIssue, PreviewEventBus, PreviewPanelSettings, ProjectMapLinkComponentParameterValue, ProjectMapLinkParamValue, PutContentTypeBody, PutEntryBody, ReadyMessage, ReportRenderedCompositionsMessage, ResolvedRouteGetResponse, RichTextBuiltInElement, RichTextBuiltInFormat, RichTextParamConfiguration, RichTextParamValue, RootComponentInstance, RouteClient, RouteDynamicInputs, RouteGetParameters, RouteGetResponse, RouteGetResponseComposition, RouteGetResponseEdgehancedComposition, RouteGetResponseNotFound, RouteGetResponseRedirect, SelectComponentMessage, SelectParameterMessage, SpecificProjectMap, SubscribeToCompositionOptions, TriggerCompositionActionMessage, UncachedCanvasClient, UncachedCategoryClient, UncachedContentClient, UniqueBatchEntries, UnsubscribeCallback, UpdateComponentParameterMessage, UpdateCompositionInternalMessage, UpdateCompositionMessage, UpdateContextualEditingStateInternalMessage, UpdatePreviewSettingsMessage, UsageTrackingApi, UsageTrackingGetParameters, UsageTrackingGetResponse, UsageTrackingPostParameters, UsageTrackingPostResponse, WalkComponentTreeActions, bindVariables, bindVariablesToObject, compose, convertEntryToPutEntry, createBatchEnhancer, createCanvasChannel, createEventBus, createLimitPolicy, createUniformApiEnhancer, createVariableReference, enhance, extractLocales, generateComponentPlaceholderId, generateHash, getChannelName, getComponentJsonPointer, getComponentPath, getParameterAttributes, isAddComponentMessage, isComponentPlaceholderId, isDismissPlaceholderMessage, isMovingComponentMessage, isReadyMessage, isReportRenderedCompositionsMessage, isSelectComponentMessage, isSelectParameterMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateComponentParameterMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdateContextualEditingStateInternalMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, nullLimitPolicy, parseVariableExpression, subscribeToComposition, unstable_CompositionRelationshipClient, walkComponentTree };
|
11248
|
+
export { ATTRIBUTE_COMPONENT_ID, ATTRIBUTE_MULTILINE, ATTRIBUTE_PARAMETER_ID, ATTRIBUTE_PARAMETER_TYPE, ATTRIBUTE_PARAMETER_VALUE, ATTRIBUTE_PLACEHOLDER, AddComponentMessage, BatchEnhancer, BatchEntry, BatchInvalidationPayload, BindVariablesOptions, BindVariablesResult, BindVariablesToObjectOptions, CANVAS_DRAFT_STATE, CANVAS_EDITOR_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_TEST_SLOT, CANVAS_TEST_TYPE, CANVAS_TEST_VARIANT_PARAM, CanvasClient, CanvasClientError, CanvasDefinitions, CategoriesDeleteParameters, CategoriesGetParameters, CategoriesGetResponse, CategoriesPutParameters, Category, CategoryClient, Channel, ChannelMessage, ChannelSubscription, ChildEnhancerBuilder, ComponentDefinition, ComponentDefinitionDeleteParameters, ComponentDefinitionGetParameters, ComponentDefinitionGetResponse, ComponentDefinitionParameter, ComponentDefinitionPermission, ComponentDefinitionPutParameters, ComponentDefinitionSlot, ComponentDefinitionSlugSettings, ComponentDefinitionVariant, ComponentEnhancer, ComponentEnhancerFunction, ComponentEnhancerOptions, ComponentInstance, ComponentInstanceContextualEditing, ComponentInstanceHistoryEntry, ComponentInstanceHistoryGetParameters, ComponentInstanceHistoryGetResponse, ComponentLocationReference, ComponentOverridability, ComponentOverride, ComponentOverrides, ComponentParameter, ComponentParameterContextualEditing, ComponentParameterEnhancer, ComponentParameterEnhancerFunction, ComponentParameterEnhancerOptions, CompositionDataDiagnostic, CompositionDeleteParameters, CompositionDiagnostics, CompositionGetByComponentIdParameters, CompositionGetByIdParameters, CompositionGetByNodeIdParameters, CompositionGetByNodePathParameters, CompositionGetBySlugParameters, CompositionGetListResponse, CompositionGetOrderBy, CompositionGetParameters, CompositionGetResponse, CompositionGetValidResponses, CompositionIssue, CompositionPatternIssue, CompositionPutParameters, CompositionRelationshipsClientOptions, CompositionRelationshipsDDefinitionGetResponse, CompositionRelationshipsDefinitionApi, CompositionRelationshipsDefinitionGetParameters, CompositionResolvedGetResponse, CompositionResolvedListResponse, CompositionUIStatus, ContentClient, ContentType, ContentTypeField, ContextualEditingComponentReference, DataDiagnostic, DataElementBindingIssue, DataElementConnectionDefinition, DataResolutionConfigIssue, DataResolutionIssue, DataResolutionOption, DataResolutionOptionNegative, DataResolutionOptionPositive, DataResolutionParameters, DataResourceDefinition, DataResourceDefinitions, DataResourceIssue, DataResourceVariables, DataSource, DataSourceClient, DataSourceDeleteParameters, DataSourceGetParameters, DataSourceGetResponse, DataSourcePutParameters, DataSourcesGetParameters, DataSourcesGetResponse, DataType, DataTypeClient, DataTypeDeleteParameters, DataTypeGetParameters, DataTypeGetResponse, DataTypePutParameters, DataVariableDefinition, DeleteContentTypeOptions, DeleteEntryOptions, DismissPlaceholderMessage, DynamicInputIssue, EDGE_CACHE_DISABLED, EDGE_DEFAULT_CACHE_TTL, EDGE_DEFAULT_L2_CACHE_TTL_IN_HOURS, EDGE_MAX_CACHE_TTL, EDGE_MAX_L2_CACHE_TTL_IN_HOURS, EDGE_MIN_CACHE_TTL, EDGE_MIN_L2_CACHE_TTL_IN_HOURS, EMPTY_COMPOSITION, EdgehancersDiagnostics, EditorStateUpdatedMessage, EnhancerBuilder, EnhancerContext, EnhancerError, EntriesGetParameters, EntriesGetResponse, EntriesResolvedListResponse, Entry, EventNames, GetContentTypesOptions, GetContentTypesResponse, GetEntriesOptions, GetEntriesResponse, GetParameterAttributesProps, IN_CONTEXT_EDITOR_COMPONENT_END_ROLE, IN_CONTEXT_EDITOR_COMPONENT_START_ROLE, IN_CONTEXT_EDITOR_CONFIG_CHECK_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID, IN_CONTEXT_EDITOR_PLAYGROUND_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_QUERY_STRING_PARAM, IS_RENDERED_BY_UNIFORM_ATTRIBUTE, InvalidationPayload, LimitPolicy, LinkComponentParameterValue, LinkParamConfiguration, LinkParamValue, LinkParameterType, LinkTypeConfiguration, MessageHandler, MoveComponentMessage, NonProjectMapLinkParamValue, OverrideOptions, PLACEHOLDER_ID, PatternIssue, PreviewEventBus, PreviewPanelSettings, ProjectMapLinkComponentParameterValue, ProjectMapLinkParamValue, PutContentTypeBody, PutEntryBody, ReadyMessage, ReportRenderedCompositionsMessage, ResolvedRouteGetResponse, RichTextBuiltInElement, RichTextBuiltInFormat, RichTextParamConfiguration, RichTextParamValue, RootComponentInstance, RouteClient, RouteDynamicInputs, RouteGetParameters, RouteGetResponse, RouteGetResponseComposition, RouteGetResponseEdgehancedComposition, RouteGetResponseNotFound, RouteGetResponseRedirect, SelectComponentMessage, SelectParameterMessage, SpecificProjectMap, SubscribeToCompositionOptions, TriggerCompositionActionMessage, UncachedCanvasClient, UncachedCategoryClient, UncachedContentClient, UniqueBatchEntries, UnsubscribeCallback, UpdateComponentParameterMessage, UpdateCompositionInternalMessage, UpdateCompositionMessage, UpdateContextualEditingStateInternalMessage, UpdatePreviewSettingsMessage, UsageTrackingApi, UsageTrackingGetParameters, UsageTrackingGetResponse, UsageTrackingPostParameters, UsageTrackingPostResponse, WalkComponentTreeActions, bindVariables, bindVariablesToObject, compose, convertEntryToPutEntry, createBatchEnhancer, createCanvasChannel, createEventBus, createLimitPolicy, createUniformApiEnhancer, createVariableReference, enhance, extractLocales, generateComponentPlaceholderId, generateHash, getChannelName, getComponentJsonPointer, getComponentPath, getParameterAttributes, isAddComponentMessage, isAllowedReferrer, isComponentPlaceholderId, isDismissPlaceholderMessage, isMovingComponentMessage, isReadyMessage, isReportRenderedCompositionsMessage, isSelectComponentMessage, isSelectParameterMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateComponentParameterMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdateContextualEditingStateInternalMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, nullLimitPolicy, parseVariableExpression, subscribeToComposition, unstable_CompositionRelationshipClient, walkComponentTree };
|
package/dist/index.d.ts
CHANGED
@@ -171,21 +171,15 @@ interface components$5 {
|
|
171
171
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
172
172
|
fields?: components$5["schemas"]["ComponentDefinitionParameter"][];
|
173
173
|
/**
|
174
|
-
*
|
175
|
-
* @description Reference to the category this component definition belongs to
|
176
|
-
* @default null
|
177
|
-
*/
|
178
|
-
categoryId?: string | null;
|
179
|
-
/**
|
180
|
-
* @description Description of the component definition
|
174
|
+
* @description Description of the content type
|
181
175
|
* @default null
|
182
176
|
*/
|
183
177
|
description?: string;
|
184
178
|
/**
|
185
|
-
* @description
|
186
|
-
* @default
|
179
|
+
* @description Icon name for the content type (e.g. 'screen')
|
180
|
+
* @default file-document
|
187
181
|
*/
|
188
|
-
|
182
|
+
icon?: string;
|
189
183
|
/** @description Created date string for this content type (ignored for writes) */
|
190
184
|
created?: string;
|
191
185
|
/** @description Last modified date string for this content type (ignored for writes) */
|
@@ -838,21 +832,15 @@ interface external$c {
|
|
838
832
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
839
833
|
fields?: external$c["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
840
834
|
/**
|
841
|
-
*
|
842
|
-
* @description Reference to the category this component definition belongs to
|
843
|
-
* @default null
|
844
|
-
*/
|
845
|
-
categoryId?: string | null;
|
846
|
-
/**
|
847
|
-
* @description Description of the component definition
|
835
|
+
* @description Description of the content type
|
848
836
|
* @default null
|
849
837
|
*/
|
850
838
|
description?: string;
|
851
839
|
/**
|
852
|
-
* @description
|
853
|
-
* @default
|
840
|
+
* @description Icon name for the content type (e.g. 'screen')
|
841
|
+
* @default file-document
|
854
842
|
*/
|
855
|
-
|
843
|
+
icon?: string;
|
856
844
|
/** @description Created date string for this content type (ignored for writes) */
|
857
845
|
created?: string;
|
858
846
|
/** @description Last modified date string for this content type (ignored for writes) */
|
@@ -1506,21 +1494,15 @@ interface external$b {
|
|
1506
1494
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
1507
1495
|
fields?: external$b["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
1508
1496
|
/**
|
1509
|
-
*
|
1510
|
-
* @description Reference to the category this component definition belongs to
|
1511
|
-
* @default null
|
1512
|
-
*/
|
1513
|
-
categoryId?: string | null;
|
1514
|
-
/**
|
1515
|
-
* @description Description of the component definition
|
1497
|
+
* @description Description of the content type
|
1516
1498
|
* @default null
|
1517
1499
|
*/
|
1518
1500
|
description?: string;
|
1519
1501
|
/**
|
1520
|
-
* @description
|
1521
|
-
* @default
|
1502
|
+
* @description Icon name for the content type (e.g. 'screen')
|
1503
|
+
* @default file-document
|
1522
1504
|
*/
|
1523
|
-
|
1505
|
+
icon?: string;
|
1524
1506
|
/** @description Created date string for this content type (ignored for writes) */
|
1525
1507
|
created?: string;
|
1526
1508
|
/** @description Last modified date string for this content type (ignored for writes) */
|
@@ -2183,21 +2165,15 @@ interface external$a {
|
|
2183
2165
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
2184
2166
|
fields?: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
2185
2167
|
/**
|
2186
|
-
*
|
2187
|
-
* @description Reference to the category this component definition belongs to
|
2188
|
-
* @default null
|
2189
|
-
*/
|
2190
|
-
categoryId?: string | null;
|
2191
|
-
/**
|
2192
|
-
* @description Description of the component definition
|
2168
|
+
* @description Description of the content type
|
2193
2169
|
* @default null
|
2194
2170
|
*/
|
2195
2171
|
description?: string;
|
2196
2172
|
/**
|
2197
|
-
* @description
|
2198
|
-
* @default
|
2173
|
+
* @description Icon name for the content type (e.g. 'screen')
|
2174
|
+
* @default file-document
|
2199
2175
|
*/
|
2200
|
-
|
2176
|
+
icon?: string;
|
2201
2177
|
/** @description Created date string for this content type (ignored for writes) */
|
2202
2178
|
created?: string;
|
2203
2179
|
/** @description Last modified date string for this content type (ignored for writes) */
|
@@ -2693,7 +2669,7 @@ interface components$4 {
|
|
2693
2669
|
_id: string;
|
2694
2670
|
/** @description The name of the entry. */
|
2695
2671
|
_name?: string;
|
2696
|
-
/** @description The slug of the entry
|
2672
|
+
/** @description The slug of the entry. */
|
2697
2673
|
_slug?: string;
|
2698
2674
|
/** @description Name of the author of the most recent change. */
|
2699
2675
|
_author?: string;
|
@@ -2712,6 +2688,8 @@ interface components$4 {
|
|
2712
2688
|
* @description The public UUID of the entry.
|
2713
2689
|
*/
|
2714
2690
|
_id?: string;
|
2691
|
+
/** @description The slug of the entry. */
|
2692
|
+
_slug?: string;
|
2715
2693
|
/** @description Entry field values. */
|
2716
2694
|
fields?: {
|
2717
2695
|
[key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
|
@@ -3000,21 +2978,15 @@ interface external$9 {
|
|
3000
2978
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
3001
2979
|
fields?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
3002
2980
|
/**
|
3003
|
-
*
|
3004
|
-
* @description Reference to the category this component definition belongs to
|
3005
|
-
* @default null
|
3006
|
-
*/
|
3007
|
-
categoryId?: string | null;
|
3008
|
-
/**
|
3009
|
-
* @description Description of the component definition
|
2981
|
+
* @description Description of the content type
|
3010
2982
|
* @default null
|
3011
2983
|
*/
|
3012
2984
|
description?: string;
|
3013
2985
|
/**
|
3014
|
-
* @description
|
3015
|
-
* @default
|
2986
|
+
* @description Icon name for the content type (e.g. 'screen')
|
2987
|
+
* @default file-document
|
3016
2988
|
*/
|
3017
|
-
|
2989
|
+
icon?: string;
|
3018
2990
|
/** @description Created date string for this content type (ignored for writes) */
|
3019
2991
|
created?: string;
|
3020
2992
|
/** @description Last modified date string for this content type (ignored for writes) */
|
@@ -3663,21 +3635,15 @@ interface external$8 {
|
|
3663
3635
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
3664
3636
|
fields?: external$8["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
3665
3637
|
/**
|
3666
|
-
*
|
3667
|
-
* @description Reference to the category this component definition belongs to
|
3668
|
-
* @default null
|
3669
|
-
*/
|
3670
|
-
categoryId?: string | null;
|
3671
|
-
/**
|
3672
|
-
* @description Description of the component definition
|
3638
|
+
* @description Description of the content type
|
3673
3639
|
* @default null
|
3674
3640
|
*/
|
3675
3641
|
description?: string;
|
3676
3642
|
/**
|
3677
|
-
* @description
|
3678
|
-
* @default
|
3643
|
+
* @description Icon name for the content type (e.g. 'screen')
|
3644
|
+
* @default file-document
|
3679
3645
|
*/
|
3680
|
-
|
3646
|
+
icon?: string;
|
3681
3647
|
/** @description Created date string for this content type (ignored for writes) */
|
3682
3648
|
created?: string;
|
3683
3649
|
/** @description Last modified date string for this content type (ignored for writes) */
|
@@ -4270,21 +4236,15 @@ interface external$7 {
|
|
4270
4236
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
4271
4237
|
fields?: external$7["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
4272
4238
|
/**
|
4273
|
-
*
|
4274
|
-
* @description Reference to the category this component definition belongs to
|
4275
|
-
* @default null
|
4276
|
-
*/
|
4277
|
-
categoryId?: string | null;
|
4278
|
-
/**
|
4279
|
-
* @description Description of the component definition
|
4239
|
+
* @description Description of the content type
|
4280
4240
|
* @default null
|
4281
4241
|
*/
|
4282
4242
|
description?: string;
|
4283
4243
|
/**
|
4284
|
-
* @description
|
4285
|
-
* @default
|
4244
|
+
* @description Icon name for the content type (e.g. 'screen')
|
4245
|
+
* @default file-document
|
4286
4246
|
*/
|
4287
|
-
|
4247
|
+
icon?: string;
|
4288
4248
|
/** @description Created date string for this content type (ignored for writes) */
|
4289
4249
|
created?: string;
|
4290
4250
|
/** @description Last modified date string for this content type (ignored for writes) */
|
@@ -4912,21 +4872,15 @@ interface external$6 {
|
|
4912
4872
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
4913
4873
|
fields?: external$6["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
4914
4874
|
/**
|
4915
|
-
*
|
4916
|
-
* @description Reference to the category this component definition belongs to
|
4917
|
-
* @default null
|
4918
|
-
*/
|
4919
|
-
categoryId?: string | null;
|
4920
|
-
/**
|
4921
|
-
* @description Description of the component definition
|
4875
|
+
* @description Description of the content type
|
4922
4876
|
* @default null
|
4923
4877
|
*/
|
4924
4878
|
description?: string;
|
4925
4879
|
/**
|
4926
|
-
* @description
|
4927
|
-
* @default
|
4880
|
+
* @description Icon name for the content type (e.g. 'screen')
|
4881
|
+
* @default file-document
|
4928
4882
|
*/
|
4929
|
-
|
4883
|
+
icon?: string;
|
4930
4884
|
/** @description Created date string for this content type (ignored for writes) */
|
4931
4885
|
created?: string;
|
4932
4886
|
/** @description Last modified date string for this content type (ignored for writes) */
|
@@ -5983,21 +5937,15 @@ interface external$5 {
|
|
5983
5937
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
5984
5938
|
fields?: external$5["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
5985
5939
|
/**
|
5986
|
-
*
|
5987
|
-
* @description Reference to the category this component definition belongs to
|
5988
|
-
* @default null
|
5989
|
-
*/
|
5990
|
-
categoryId?: string | null;
|
5991
|
-
/**
|
5992
|
-
* @description Description of the component definition
|
5940
|
+
* @description Description of the content type
|
5993
5941
|
* @default null
|
5994
5942
|
*/
|
5995
5943
|
description?: string;
|
5996
5944
|
/**
|
5997
|
-
* @description
|
5998
|
-
* @default
|
5945
|
+
* @description Icon name for the content type (e.g. 'screen')
|
5946
|
+
* @default file-document
|
5999
5947
|
*/
|
6000
|
-
|
5948
|
+
icon?: string;
|
6001
5949
|
/** @description Created date string for this content type (ignored for writes) */
|
6002
5950
|
created?: string;
|
6003
5951
|
/** @description Last modified date string for this content type (ignored for writes) */
|
@@ -6831,21 +6779,15 @@ interface external$3 {
|
|
6831
6779
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
6832
6780
|
fields?: external$3["../../../lambda/functions/uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
6833
6781
|
/**
|
6834
|
-
*
|
6835
|
-
* @description Reference to the category this component definition belongs to
|
6836
|
-
* @default null
|
6837
|
-
*/
|
6838
|
-
categoryId?: string | null;
|
6839
|
-
/**
|
6840
|
-
* @description Description of the component definition
|
6782
|
+
* @description Description of the content type
|
6841
6783
|
* @default null
|
6842
6784
|
*/
|
6843
6785
|
description?: string;
|
6844
6786
|
/**
|
6845
|
-
* @description
|
6846
|
-
* @default
|
6787
|
+
* @description Icon name for the content type (e.g. 'screen')
|
6788
|
+
* @default file-document
|
6847
6789
|
*/
|
6848
|
-
|
6790
|
+
icon?: string;
|
6849
6791
|
/** @description Created date string for this content type (ignored for writes) */
|
6850
6792
|
created?: string;
|
6851
6793
|
/** @description Last modified date string for this content type (ignored for writes) */
|
@@ -7807,7 +7749,7 @@ interface external$3 {
|
|
7807
7749
|
_id: string;
|
7808
7750
|
/** @description The name of the entry. */
|
7809
7751
|
_name?: string;
|
7810
|
-
/** @description The slug of the entry
|
7752
|
+
/** @description The slug of the entry. */
|
7811
7753
|
_slug?: string;
|
7812
7754
|
/** @description Name of the author of the most recent change. */
|
7813
7755
|
_author?: string;
|
@@ -7826,6 +7768,8 @@ interface external$3 {
|
|
7826
7768
|
* @description The public UUID of the entry.
|
7827
7769
|
*/
|
7828
7770
|
_id?: string;
|
7771
|
+
/** @description The slug of the entry. */
|
7772
|
+
_slug?: string;
|
7829
7773
|
/** @description Entry field values. */
|
7830
7774
|
fields?: {
|
7831
7775
|
[key: string]: external$3["../../../lambda/functions/uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
|
@@ -8603,21 +8547,15 @@ interface external$2 {
|
|
8603
8547
|
/** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
|
8604
8548
|
fields?: external$2["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
|
8605
8549
|
/**
|
8606
|
-
*
|
8607
|
-
* @description Reference to the category this component definition belongs to
|
8608
|
-
* @default null
|
8609
|
-
*/
|
8610
|
-
categoryId?: string | null;
|
8611
|
-
/**
|
8612
|
-
* @description Description of the component definition
|
8550
|
+
* @description Description of the content type
|
8613
8551
|
* @default null
|
8614
8552
|
*/
|
8615
8553
|
description?: string;
|
8616
8554
|
/**
|
8617
|
-
* @description
|
8618
|
-
* @default
|
8555
|
+
* @description Icon name for the content type (e.g. 'screen')
|
8556
|
+
* @default file-document
|
8619
8557
|
*/
|
8620
|
-
|
8558
|
+
icon?: string;
|
8621
8559
|
/** @description Created date string for this content type (ignored for writes) */
|
8622
8560
|
created?: string;
|
8623
8561
|
/** @description Last modified date string for this content type (ignored for writes) */
|
@@ -11224,6 +11162,12 @@ declare const generateHash: ({ composition, secret, }: {
|
|
11224
11162
|
secret: string | undefined;
|
11225
11163
|
}) => number | undefined;
|
11226
11164
|
|
11165
|
+
/**
|
11166
|
+
* Checks if page is opened from inside Uniform Canvas Editor.
|
11167
|
+
* So if you open preview in incognito or via copy/paste link, it will return false.
|
11168
|
+
*/
|
11169
|
+
declare const isAllowedReferrer: (referrer: string | undefined) => boolean;
|
11170
|
+
|
11227
11171
|
/** Determines if a given Canvas component type is a system-defined type */
|
11228
11172
|
declare const isSystemComponentDefinition: (componentType: string) => boolean;
|
11229
11173
|
|
@@ -11301,4 +11245,4 @@ declare function parseVariableExpression(serialized: string, onToken?: (token: s
|
|
11301
11245
|
|
11302
11246
|
declare const CanvasClientError: typeof ApiClientError;
|
11303
11247
|
|
11304
|
-
export { ATTRIBUTE_COMPONENT_ID, ATTRIBUTE_MULTILINE, ATTRIBUTE_PARAMETER_ID, ATTRIBUTE_PARAMETER_TYPE, ATTRIBUTE_PARAMETER_VALUE, ATTRIBUTE_PLACEHOLDER, AddComponentMessage, BatchEnhancer, BatchEntry, BatchInvalidationPayload, BindVariablesOptions, BindVariablesResult, BindVariablesToObjectOptions, CANVAS_DRAFT_STATE, CANVAS_EDITOR_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_TEST_SLOT, CANVAS_TEST_TYPE, CANVAS_TEST_VARIANT_PARAM, CanvasClient, CanvasClientError, CanvasDefinitions, CategoriesDeleteParameters, CategoriesGetParameters, CategoriesGetResponse, CategoriesPutParameters, Category, CategoryClient, Channel, ChannelMessage, ChannelSubscription, ChildEnhancerBuilder, ComponentDefinition, ComponentDefinitionDeleteParameters, ComponentDefinitionGetParameters, ComponentDefinitionGetResponse, ComponentDefinitionParameter, ComponentDefinitionPermission, ComponentDefinitionPutParameters, ComponentDefinitionSlot, ComponentDefinitionSlugSettings, ComponentDefinitionVariant, ComponentEnhancer, ComponentEnhancerFunction, ComponentEnhancerOptions, ComponentInstance, ComponentInstanceContextualEditing, ComponentInstanceHistoryEntry, ComponentInstanceHistoryGetParameters, ComponentInstanceHistoryGetResponse, ComponentLocationReference, ComponentOverridability, ComponentOverride, ComponentOverrides, ComponentParameter, ComponentParameterContextualEditing, ComponentParameterEnhancer, ComponentParameterEnhancerFunction, ComponentParameterEnhancerOptions, CompositionDataDiagnostic, CompositionDeleteParameters, CompositionDiagnostics, CompositionGetByComponentIdParameters, CompositionGetByIdParameters, CompositionGetByNodeIdParameters, CompositionGetByNodePathParameters, CompositionGetBySlugParameters, CompositionGetListResponse, CompositionGetOrderBy, CompositionGetParameters, CompositionGetResponse, CompositionGetValidResponses, CompositionIssue, CompositionPatternIssue, CompositionPutParameters, CompositionRelationshipsClientOptions, CompositionRelationshipsDDefinitionGetResponse, CompositionRelationshipsDefinitionApi, CompositionRelationshipsDefinitionGetParameters, CompositionResolvedGetResponse, CompositionResolvedListResponse, CompositionUIStatus, ContentClient, ContentType, ContentTypeField, ContextualEditingComponentReference, DataDiagnostic, DataElementBindingIssue, DataElementConnectionDefinition, DataResolutionConfigIssue, DataResolutionIssue, DataResolutionOption, DataResolutionOptionNegative, DataResolutionOptionPositive, DataResolutionParameters, DataResourceDefinition, DataResourceDefinitions, DataResourceIssue, DataResourceVariables, DataSource, DataSourceClient, DataSourceDeleteParameters, DataSourceGetParameters, DataSourceGetResponse, DataSourcePutParameters, DataSourcesGetParameters, DataSourcesGetResponse, DataType, DataTypeClient, DataTypeDeleteParameters, DataTypeGetParameters, DataTypeGetResponse, DataTypePutParameters, DataVariableDefinition, DeleteContentTypeOptions, DeleteEntryOptions, DismissPlaceholderMessage, DynamicInputIssue, EDGE_CACHE_DISABLED, EDGE_DEFAULT_CACHE_TTL, EDGE_DEFAULT_L2_CACHE_TTL_IN_HOURS, EDGE_MAX_CACHE_TTL, EDGE_MAX_L2_CACHE_TTL_IN_HOURS, EDGE_MIN_CACHE_TTL, EDGE_MIN_L2_CACHE_TTL_IN_HOURS, EMPTY_COMPOSITION, EdgehancersDiagnostics, EditorStateUpdatedMessage, EnhancerBuilder, EnhancerContext, EnhancerError, EntriesGetParameters, EntriesGetResponse, EntriesResolvedListResponse, Entry, EventNames, GetContentTypesOptions, GetContentTypesResponse, GetEntriesOptions, GetEntriesResponse, GetParameterAttributesProps, IN_CONTEXT_EDITOR_COMPONENT_END_ROLE, IN_CONTEXT_EDITOR_COMPONENT_START_ROLE, IN_CONTEXT_EDITOR_CONFIG_CHECK_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID, IN_CONTEXT_EDITOR_PLAYGROUND_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_QUERY_STRING_PARAM, IS_RENDERED_BY_UNIFORM_ATTRIBUTE, InvalidationPayload, LimitPolicy, LinkComponentParameterValue, LinkParamConfiguration, LinkParamValue, LinkParameterType, LinkTypeConfiguration, MessageHandler, MoveComponentMessage, NonProjectMapLinkParamValue, OverrideOptions, PLACEHOLDER_ID, PatternIssue, PreviewEventBus, PreviewPanelSettings, ProjectMapLinkComponentParameterValue, ProjectMapLinkParamValue, PutContentTypeBody, PutEntryBody, ReadyMessage, ReportRenderedCompositionsMessage, ResolvedRouteGetResponse, RichTextBuiltInElement, RichTextBuiltInFormat, RichTextParamConfiguration, RichTextParamValue, RootComponentInstance, RouteClient, RouteDynamicInputs, RouteGetParameters, RouteGetResponse, RouteGetResponseComposition, RouteGetResponseEdgehancedComposition, RouteGetResponseNotFound, RouteGetResponseRedirect, SelectComponentMessage, SelectParameterMessage, SpecificProjectMap, SubscribeToCompositionOptions, TriggerCompositionActionMessage, UncachedCanvasClient, UncachedCategoryClient, UncachedContentClient, UniqueBatchEntries, UnsubscribeCallback, UpdateComponentParameterMessage, UpdateCompositionInternalMessage, UpdateCompositionMessage, UpdateContextualEditingStateInternalMessage, UpdatePreviewSettingsMessage, UsageTrackingApi, UsageTrackingGetParameters, UsageTrackingGetResponse, UsageTrackingPostParameters, UsageTrackingPostResponse, WalkComponentTreeActions, bindVariables, bindVariablesToObject, compose, convertEntryToPutEntry, createBatchEnhancer, createCanvasChannel, createEventBus, createLimitPolicy, createUniformApiEnhancer, createVariableReference, enhance, extractLocales, generateComponentPlaceholderId, generateHash, getChannelName, getComponentJsonPointer, getComponentPath, getParameterAttributes, isAddComponentMessage, isComponentPlaceholderId, isDismissPlaceholderMessage, isMovingComponentMessage, isReadyMessage, isReportRenderedCompositionsMessage, isSelectComponentMessage, isSelectParameterMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateComponentParameterMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdateContextualEditingStateInternalMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, nullLimitPolicy, parseVariableExpression, subscribeToComposition, unstable_CompositionRelationshipClient, walkComponentTree };
|
11248
|
+
export { ATTRIBUTE_COMPONENT_ID, ATTRIBUTE_MULTILINE, ATTRIBUTE_PARAMETER_ID, ATTRIBUTE_PARAMETER_TYPE, ATTRIBUTE_PARAMETER_VALUE, ATTRIBUTE_PLACEHOLDER, AddComponentMessage, BatchEnhancer, BatchEntry, BatchInvalidationPayload, BindVariablesOptions, BindVariablesResult, BindVariablesToObjectOptions, CANVAS_DRAFT_STATE, CANVAS_EDITOR_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_TEST_SLOT, CANVAS_TEST_TYPE, CANVAS_TEST_VARIANT_PARAM, CanvasClient, CanvasClientError, CanvasDefinitions, CategoriesDeleteParameters, CategoriesGetParameters, CategoriesGetResponse, CategoriesPutParameters, Category, CategoryClient, Channel, ChannelMessage, ChannelSubscription, ChildEnhancerBuilder, ComponentDefinition, ComponentDefinitionDeleteParameters, ComponentDefinitionGetParameters, ComponentDefinitionGetResponse, ComponentDefinitionParameter, ComponentDefinitionPermission, ComponentDefinitionPutParameters, ComponentDefinitionSlot, ComponentDefinitionSlugSettings, ComponentDefinitionVariant, ComponentEnhancer, ComponentEnhancerFunction, ComponentEnhancerOptions, ComponentInstance, ComponentInstanceContextualEditing, ComponentInstanceHistoryEntry, ComponentInstanceHistoryGetParameters, ComponentInstanceHistoryGetResponse, ComponentLocationReference, ComponentOverridability, ComponentOverride, ComponentOverrides, ComponentParameter, ComponentParameterContextualEditing, ComponentParameterEnhancer, ComponentParameterEnhancerFunction, ComponentParameterEnhancerOptions, CompositionDataDiagnostic, CompositionDeleteParameters, CompositionDiagnostics, CompositionGetByComponentIdParameters, CompositionGetByIdParameters, CompositionGetByNodeIdParameters, CompositionGetByNodePathParameters, CompositionGetBySlugParameters, CompositionGetListResponse, CompositionGetOrderBy, CompositionGetParameters, CompositionGetResponse, CompositionGetValidResponses, CompositionIssue, CompositionPatternIssue, CompositionPutParameters, CompositionRelationshipsClientOptions, CompositionRelationshipsDDefinitionGetResponse, CompositionRelationshipsDefinitionApi, CompositionRelationshipsDefinitionGetParameters, CompositionResolvedGetResponse, CompositionResolvedListResponse, CompositionUIStatus, ContentClient, ContentType, ContentTypeField, ContextualEditingComponentReference, DataDiagnostic, DataElementBindingIssue, DataElementConnectionDefinition, DataResolutionConfigIssue, DataResolutionIssue, DataResolutionOption, DataResolutionOptionNegative, DataResolutionOptionPositive, DataResolutionParameters, DataResourceDefinition, DataResourceDefinitions, DataResourceIssue, DataResourceVariables, DataSource, DataSourceClient, DataSourceDeleteParameters, DataSourceGetParameters, DataSourceGetResponse, DataSourcePutParameters, DataSourcesGetParameters, DataSourcesGetResponse, DataType, DataTypeClient, DataTypeDeleteParameters, DataTypeGetParameters, DataTypeGetResponse, DataTypePutParameters, DataVariableDefinition, DeleteContentTypeOptions, DeleteEntryOptions, DismissPlaceholderMessage, DynamicInputIssue, EDGE_CACHE_DISABLED, EDGE_DEFAULT_CACHE_TTL, EDGE_DEFAULT_L2_CACHE_TTL_IN_HOURS, EDGE_MAX_CACHE_TTL, EDGE_MAX_L2_CACHE_TTL_IN_HOURS, EDGE_MIN_CACHE_TTL, EDGE_MIN_L2_CACHE_TTL_IN_HOURS, EMPTY_COMPOSITION, EdgehancersDiagnostics, EditorStateUpdatedMessage, EnhancerBuilder, EnhancerContext, EnhancerError, EntriesGetParameters, EntriesGetResponse, EntriesResolvedListResponse, Entry, EventNames, GetContentTypesOptions, GetContentTypesResponse, GetEntriesOptions, GetEntriesResponse, GetParameterAttributesProps, IN_CONTEXT_EDITOR_COMPONENT_END_ROLE, IN_CONTEXT_EDITOR_COMPONENT_START_ROLE, IN_CONTEXT_EDITOR_CONFIG_CHECK_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID, IN_CONTEXT_EDITOR_PLAYGROUND_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_QUERY_STRING_PARAM, IS_RENDERED_BY_UNIFORM_ATTRIBUTE, InvalidationPayload, LimitPolicy, LinkComponentParameterValue, LinkParamConfiguration, LinkParamValue, LinkParameterType, LinkTypeConfiguration, MessageHandler, MoveComponentMessage, NonProjectMapLinkParamValue, OverrideOptions, PLACEHOLDER_ID, PatternIssue, PreviewEventBus, PreviewPanelSettings, ProjectMapLinkComponentParameterValue, ProjectMapLinkParamValue, PutContentTypeBody, PutEntryBody, ReadyMessage, ReportRenderedCompositionsMessage, ResolvedRouteGetResponse, RichTextBuiltInElement, RichTextBuiltInFormat, RichTextParamConfiguration, RichTextParamValue, RootComponentInstance, RouteClient, RouteDynamicInputs, RouteGetParameters, RouteGetResponse, RouteGetResponseComposition, RouteGetResponseEdgehancedComposition, RouteGetResponseNotFound, RouteGetResponseRedirect, SelectComponentMessage, SelectParameterMessage, SpecificProjectMap, SubscribeToCompositionOptions, TriggerCompositionActionMessage, UncachedCanvasClient, UncachedCategoryClient, UncachedContentClient, UniqueBatchEntries, UnsubscribeCallback, UpdateComponentParameterMessage, UpdateCompositionInternalMessage, UpdateCompositionMessage, UpdateContextualEditingStateInternalMessage, UpdatePreviewSettingsMessage, UsageTrackingApi, UsageTrackingGetParameters, UsageTrackingGetResponse, UsageTrackingPostParameters, UsageTrackingPostResponse, WalkComponentTreeActions, bindVariables, bindVariablesToObject, compose, convertEntryToPutEntry, createBatchEnhancer, createCanvasChannel, createEventBus, createLimitPolicy, createUniformApiEnhancer, createVariableReference, enhance, extractLocales, generateComponentPlaceholderId, generateHash, getChannelName, getComponentJsonPointer, getComponentPath, getParameterAttributes, isAddComponentMessage, isAllowedReferrer, isComponentPlaceholderId, isDismissPlaceholderMessage, isMovingComponentMessage, isReadyMessage, isReportRenderedCompositionsMessage, isSelectComponentMessage, isSelectParameterMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateComponentParameterMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdateContextualEditingStateInternalMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, nullLimitPolicy, parseVariableExpression, subscribeToComposition, unstable_CompositionRelationshipClient, walkComponentTree };
|
package/dist/index.esm.js
CHANGED
@@ -1770,6 +1770,7 @@ function convertEntryToPutEntry(entry) {
|
|
1770
1770
|
type: entry.entry.type,
|
1771
1771
|
_dataResources: entry.entry._dataResources,
|
1772
1772
|
_id: entry.entry._id,
|
1773
|
+
_slug: entry.entry._slug,
|
1773
1774
|
fields: entry.entry.fields
|
1774
1775
|
},
|
1775
1776
|
state: entry.state,
|
@@ -1807,6 +1808,11 @@ var getParameterAttributes = ({
|
|
1807
1808
|
};
|
1808
1809
|
};
|
1809
1810
|
|
1811
|
+
// src/utils/isAllowedReferrer.ts
|
1812
|
+
var isAllowedReferrer = (referrer) => {
|
1813
|
+
return Boolean(referrer == null ? void 0 : referrer.match(/(^https:\/\/|\.)(uniform.app|uniform.wtf|localhost:\d{4})\//));
|
1814
|
+
};
|
1815
|
+
|
1810
1816
|
// src/utils/isSystemComponentDefinition.ts
|
1811
1817
|
var isSystemComponentDefinition = (componentType) => {
|
1812
1818
|
return componentType.startsWith("$");
|
@@ -1990,7 +1996,15 @@ function bindVariablesToObjectRecursive({
|
|
1990
1996
|
boundCount += bindResult.boundCount;
|
1991
1997
|
draft[property] = bindResult.result;
|
1992
1998
|
if (bindResult.errors) {
|
1993
|
-
errors.push(
|
1999
|
+
errors.push(
|
2000
|
+
...bindResult.errors.map((e) => {
|
2001
|
+
if (typeof e === "string") {
|
2002
|
+
return `${currentObjectPath}: ${e}`;
|
2003
|
+
}
|
2004
|
+
e.message = `${currentObjectPath}: ${e.message}`;
|
2005
|
+
return e;
|
2006
|
+
})
|
2007
|
+
);
|
1994
2008
|
}
|
1995
2009
|
}
|
1996
2010
|
return;
|
@@ -2103,6 +2117,7 @@ export {
|
|
2103
2117
|
getComponentPath,
|
2104
2118
|
getParameterAttributes,
|
2105
2119
|
isAddComponentMessage,
|
2120
|
+
isAllowedReferrer,
|
2106
2121
|
isComponentPlaceholderId,
|
2107
2122
|
isDismissPlaceholderMessage,
|
2108
2123
|
isMovingComponentMessage,
|
package/dist/index.js
CHANGED
@@ -347,6 +347,7 @@ __export(src_exports, {
|
|
347
347
|
getComponentPath: () => getComponentPath,
|
348
348
|
getParameterAttributes: () => getParameterAttributes,
|
349
349
|
isAddComponentMessage: () => isAddComponentMessage,
|
350
|
+
isAllowedReferrer: () => isAllowedReferrer,
|
350
351
|
isComponentPlaceholderId: () => isComponentPlaceholderId,
|
351
352
|
isDismissPlaceholderMessage: () => isDismissPlaceholderMessage,
|
352
353
|
isMovingComponentMessage: () => isMovingComponentMessage,
|
@@ -1874,6 +1875,7 @@ function convertEntryToPutEntry(entry) {
|
|
1874
1875
|
type: entry.entry.type,
|
1875
1876
|
_dataResources: entry.entry._dataResources,
|
1876
1877
|
_id: entry.entry._id,
|
1878
|
+
_slug: entry.entry._slug,
|
1877
1879
|
fields: entry.entry.fields
|
1878
1880
|
},
|
1879
1881
|
state: entry.state,
|
@@ -1911,6 +1913,11 @@ var getParameterAttributes = ({
|
|
1911
1913
|
};
|
1912
1914
|
};
|
1913
1915
|
|
1916
|
+
// src/utils/isAllowedReferrer.ts
|
1917
|
+
var isAllowedReferrer = (referrer) => {
|
1918
|
+
return Boolean(referrer == null ? void 0 : referrer.match(/(^https:\/\/|\.)(uniform.app|uniform.wtf|localhost:\d{4})\//));
|
1919
|
+
};
|
1920
|
+
|
1914
1921
|
// src/utils/isSystemComponentDefinition.ts
|
1915
1922
|
var isSystemComponentDefinition = (componentType) => {
|
1916
1923
|
return componentType.startsWith("$");
|
@@ -2094,7 +2101,15 @@ function bindVariablesToObjectRecursive({
|
|
2094
2101
|
boundCount += bindResult.boundCount;
|
2095
2102
|
draft[property] = bindResult.result;
|
2096
2103
|
if (bindResult.errors) {
|
2097
|
-
errors.push(
|
2104
|
+
errors.push(
|
2105
|
+
...bindResult.errors.map((e) => {
|
2106
|
+
if (typeof e === "string") {
|
2107
|
+
return `${currentObjectPath}: ${e}`;
|
2108
|
+
}
|
2109
|
+
e.message = `${currentObjectPath}: ${e.message}`;
|
2110
|
+
return e;
|
2111
|
+
})
|
2112
|
+
);
|
2098
2113
|
}
|
2099
2114
|
}
|
2100
2115
|
return;
|
@@ -2208,6 +2223,7 @@ var CanvasClientError = import_api9.ApiClientError;
|
|
2208
2223
|
getComponentPath,
|
2209
2224
|
getParameterAttributes,
|
2210
2225
|
isAddComponentMessage,
|
2226
|
+
isAllowedReferrer,
|
2211
2227
|
isComponentPlaceholderId,
|
2212
2228
|
isDismissPlaceholderMessage,
|
2213
2229
|
isMovingComponentMessage,
|
package/dist/index.mjs
CHANGED
@@ -1770,6 +1770,7 @@ function convertEntryToPutEntry(entry) {
|
|
1770
1770
|
type: entry.entry.type,
|
1771
1771
|
_dataResources: entry.entry._dataResources,
|
1772
1772
|
_id: entry.entry._id,
|
1773
|
+
_slug: entry.entry._slug,
|
1773
1774
|
fields: entry.entry.fields
|
1774
1775
|
},
|
1775
1776
|
state: entry.state,
|
@@ -1807,6 +1808,11 @@ var getParameterAttributes = ({
|
|
1807
1808
|
};
|
1808
1809
|
};
|
1809
1810
|
|
1811
|
+
// src/utils/isAllowedReferrer.ts
|
1812
|
+
var isAllowedReferrer = (referrer) => {
|
1813
|
+
return Boolean(referrer == null ? void 0 : referrer.match(/(^https:\/\/|\.)(uniform.app|uniform.wtf|localhost:\d{4})\//));
|
1814
|
+
};
|
1815
|
+
|
1810
1816
|
// src/utils/isSystemComponentDefinition.ts
|
1811
1817
|
var isSystemComponentDefinition = (componentType) => {
|
1812
1818
|
return componentType.startsWith("$");
|
@@ -1990,7 +1996,15 @@ function bindVariablesToObjectRecursive({
|
|
1990
1996
|
boundCount += bindResult.boundCount;
|
1991
1997
|
draft[property] = bindResult.result;
|
1992
1998
|
if (bindResult.errors) {
|
1993
|
-
errors.push(
|
1999
|
+
errors.push(
|
2000
|
+
...bindResult.errors.map((e) => {
|
2001
|
+
if (typeof e === "string") {
|
2002
|
+
return `${currentObjectPath}: ${e}`;
|
2003
|
+
}
|
2004
|
+
e.message = `${currentObjectPath}: ${e.message}`;
|
2005
|
+
return e;
|
2006
|
+
})
|
2007
|
+
);
|
1994
2008
|
}
|
1995
2009
|
}
|
1996
2010
|
return;
|
@@ -2103,6 +2117,7 @@ export {
|
|
2103
2117
|
getComponentPath,
|
2104
2118
|
getParameterAttributes,
|
2105
2119
|
isAddComponentMessage,
|
2120
|
+
isAllowedReferrer,
|
2106
2121
|
isComponentPlaceholderId,
|
2107
2122
|
isDismissPlaceholderMessage,
|
2108
2123
|
isMovingComponentMessage,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@uniformdev/canvas",
|
3
|
-
"version": "19.
|
3
|
+
"version": "19.56.1-alpha.10+4656b6da5",
|
4
4
|
"description": "Common functionality and types for Uniform Canvas",
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
6
6
|
"main": "./dist/index.js",
|
@@ -38,7 +38,7 @@
|
|
38
38
|
"pusher-js": "8.2.0"
|
39
39
|
},
|
40
40
|
"dependencies": {
|
41
|
-
"@uniformdev/context": "19.
|
41
|
+
"@uniformdev/context": "19.56.1-alpha.10+4656b6da5",
|
42
42
|
"immer": "9.0.21"
|
43
43
|
},
|
44
44
|
"files": [
|
@@ -47,5 +47,5 @@
|
|
47
47
|
"publishConfig": {
|
48
48
|
"access": "public"
|
49
49
|
},
|
50
|
-
"gitHead": "
|
50
|
+
"gitHead": "4656b6da55c78e7e793f785739cd26cd252f77d4"
|
51
51
|
}
|