@uniformdev/canvas 19.184.1-alpha.22 → 19.184.3-alpha.32
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 +32 -9
- package/dist/index.d.ts +32 -9
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
@@ -17958,6 +17958,11 @@ interface components$4 {
|
|
17958
17958
|
limit: number;
|
17959
17959
|
/** @description Includes stubs in the response (enabled by default); set to false to omit all stubs */
|
17960
17960
|
withStubs: boolean;
|
17961
|
+
/**
|
17962
|
+
* @deprecated
|
17963
|
+
* @description Fetches unpublished data from all data resources which support unpublished data
|
17964
|
+
*/
|
17965
|
+
dataSourceVariant: "unpublished";
|
17961
17966
|
};
|
17962
17967
|
}
|
17963
17968
|
interface external$6 {
|
@@ -20661,7 +20666,11 @@ interface external$6 {
|
|
20661
20666
|
* Content copied to a release can be differentiated from base content by the `releaseId` property on the content. If the content is not copied to the release, this property will be null
|
20662
20667
|
*/
|
20663
20668
|
releaseId?: external$6["../../../lambda/functions/v1-route.swagger.yml"]["components"]["parameters"]["releaseId"];
|
20664
|
-
/**
|
20669
|
+
/**
|
20670
|
+
* Indicates the data variant that was fetched for data resources.
|
20671
|
+
* undefined: Data resources were resolved using published data from their data source
|
20672
|
+
* unpublished: Data resources which support unpublished data retrieved unpublished data from their data source. Data resources that did not support unpublished data retrieved published data instead.
|
20673
|
+
*/
|
20665
20674
|
dataResourcesVariant?: external$6["../../../lambda/functions/v1-route.swagger.yml"]["components"]["parameters"]["dataResourcesVariant"];
|
20666
20675
|
};
|
20667
20676
|
};
|
@@ -20709,8 +20718,9 @@ interface external$6 {
|
|
20709
20718
|
matchedRoute: string;
|
20710
20719
|
dynamicInputs?: external$6["../../../lambda/functions/v1-route.swagger.yml"]["components"]["schemas"]["RouteDynamicInputs"];
|
20711
20720
|
/**
|
20712
|
-
* @description Indicates
|
20713
|
-
*
|
20721
|
+
* @description Indicates the data variant that was fetched for data resources.
|
20722
|
+
* undefined: Data resources were resolved using published data from their data source
|
20723
|
+
* unpublished: Data resources which support unpublished data retrieved unpublished data from their data source. Data resources that did not support unpublished data retrieved published data instead.
|
20714
20724
|
*
|
20715
20725
|
* @enum {string}
|
20716
20726
|
*/
|
@@ -20795,7 +20805,11 @@ interface external$6 {
|
|
20795
20805
|
* Content copied to a release can be differentiated from base content by the `releaseId` property on the content. If the content is not copied to the release, this property will be null
|
20796
20806
|
*/
|
20797
20807
|
releaseId: string;
|
20798
|
-
/**
|
20808
|
+
/**
|
20809
|
+
* @description Indicates the data variant that was fetched for data resources.
|
20810
|
+
* undefined: Data resources were resolved using published data from their data source
|
20811
|
+
* unpublished: Data resources which support unpublished data retrieved unpublished data from their data source. Data resources that did not support unpublished data retrieved published data instead.
|
20812
|
+
*/
|
20799
20813
|
dataResourcesVariant: "unpublished";
|
20800
20814
|
};
|
20801
20815
|
};
|
@@ -20872,7 +20886,11 @@ interface paths$5 {
|
|
20872
20886
|
* Content copied to a release can be differentiated from base content by the `releaseId` property on the content. If the content is not copied to the release, this property will be null
|
20873
20887
|
*/
|
20874
20888
|
releaseId?: components$3["parameters"]["releaseId"];
|
20875
|
-
/**
|
20889
|
+
/**
|
20890
|
+
* Indicates the data variant that was fetched for data resources.
|
20891
|
+
* undefined: Data resources were resolved using published data from their data source
|
20892
|
+
* unpublished: Data resources which support unpublished data retrieved unpublished data from their data source. Data resources that did not support unpublished data retrieved published data instead.
|
20893
|
+
*/
|
20876
20894
|
dataResourcesVariant?: components$3["parameters"]["dataResourcesVariant"];
|
20877
20895
|
};
|
20878
20896
|
};
|
@@ -20920,8 +20938,9 @@ interface components$3 {
|
|
20920
20938
|
matchedRoute: string;
|
20921
20939
|
dynamicInputs?: components$3["schemas"]["RouteDynamicInputs"];
|
20922
20940
|
/**
|
20923
|
-
* @description Indicates
|
20924
|
-
*
|
20941
|
+
* @description Indicates the data variant that was fetched for data resources.
|
20942
|
+
* undefined: Data resources were resolved using published data from their data source
|
20943
|
+
* unpublished: Data resources which support unpublished data retrieved unpublished data from their data source. Data resources that did not support unpublished data retrieved published data instead.
|
20925
20944
|
*
|
20926
20945
|
* @enum {string}
|
20927
20946
|
*/
|
@@ -21006,7 +21025,11 @@ interface components$3 {
|
|
21006
21025
|
* Content copied to a release can be differentiated from base content by the `releaseId` property on the content. If the content is not copied to the release, this property will be null
|
21007
21026
|
*/
|
21008
21027
|
releaseId: string;
|
21009
|
-
/**
|
21028
|
+
/**
|
21029
|
+
* @description Indicates the data variant that was fetched for data resources.
|
21030
|
+
* undefined: Data resources were resolved using published data from their data source
|
21031
|
+
* unpublished: Data resources which support unpublished data retrieved unpublished data from their data source. Data resources that did not support unpublished data retrieved published data instead.
|
21032
|
+
*/
|
21010
21033
|
dataResourcesVariant: "unpublished";
|
21011
21034
|
};
|
21012
21035
|
}
|
@@ -23313,7 +23336,7 @@ type DataResourceIssue = DataResolutionIssueCore & {
|
|
23313
23336
|
*/
|
23314
23337
|
subType?: 'unpublishedData' | 'configuration';
|
23315
23338
|
/**
|
23316
|
-
*
|
23339
|
+
* Data Source-specific id of the data which caused the issue. This is useful when the issue may benefit from having e.g. Entry Id and we can render a deep link to act upon it.
|
23317
23340
|
*/
|
23318
23341
|
issueReference?: string;
|
23319
23342
|
dataName: string;
|
package/dist/index.d.ts
CHANGED
@@ -17958,6 +17958,11 @@ interface components$4 {
|
|
17958
17958
|
limit: number;
|
17959
17959
|
/** @description Includes stubs in the response (enabled by default); set to false to omit all stubs */
|
17960
17960
|
withStubs: boolean;
|
17961
|
+
/**
|
17962
|
+
* @deprecated
|
17963
|
+
* @description Fetches unpublished data from all data resources which support unpublished data
|
17964
|
+
*/
|
17965
|
+
dataSourceVariant: "unpublished";
|
17961
17966
|
};
|
17962
17967
|
}
|
17963
17968
|
interface external$6 {
|
@@ -20661,7 +20666,11 @@ interface external$6 {
|
|
20661
20666
|
* Content copied to a release can be differentiated from base content by the `releaseId` property on the content. If the content is not copied to the release, this property will be null
|
20662
20667
|
*/
|
20663
20668
|
releaseId?: external$6["../../../lambda/functions/v1-route.swagger.yml"]["components"]["parameters"]["releaseId"];
|
20664
|
-
/**
|
20669
|
+
/**
|
20670
|
+
* Indicates the data variant that was fetched for data resources.
|
20671
|
+
* undefined: Data resources were resolved using published data from their data source
|
20672
|
+
* unpublished: Data resources which support unpublished data retrieved unpublished data from their data source. Data resources that did not support unpublished data retrieved published data instead.
|
20673
|
+
*/
|
20665
20674
|
dataResourcesVariant?: external$6["../../../lambda/functions/v1-route.swagger.yml"]["components"]["parameters"]["dataResourcesVariant"];
|
20666
20675
|
};
|
20667
20676
|
};
|
@@ -20709,8 +20718,9 @@ interface external$6 {
|
|
20709
20718
|
matchedRoute: string;
|
20710
20719
|
dynamicInputs?: external$6["../../../lambda/functions/v1-route.swagger.yml"]["components"]["schemas"]["RouteDynamicInputs"];
|
20711
20720
|
/**
|
20712
|
-
* @description Indicates
|
20713
|
-
*
|
20721
|
+
* @description Indicates the data variant that was fetched for data resources.
|
20722
|
+
* undefined: Data resources were resolved using published data from their data source
|
20723
|
+
* unpublished: Data resources which support unpublished data retrieved unpublished data from their data source. Data resources that did not support unpublished data retrieved published data instead.
|
20714
20724
|
*
|
20715
20725
|
* @enum {string}
|
20716
20726
|
*/
|
@@ -20795,7 +20805,11 @@ interface external$6 {
|
|
20795
20805
|
* Content copied to a release can be differentiated from base content by the `releaseId` property on the content. If the content is not copied to the release, this property will be null
|
20796
20806
|
*/
|
20797
20807
|
releaseId: string;
|
20798
|
-
/**
|
20808
|
+
/**
|
20809
|
+
* @description Indicates the data variant that was fetched for data resources.
|
20810
|
+
* undefined: Data resources were resolved using published data from their data source
|
20811
|
+
* unpublished: Data resources which support unpublished data retrieved unpublished data from their data source. Data resources that did not support unpublished data retrieved published data instead.
|
20812
|
+
*/
|
20799
20813
|
dataResourcesVariant: "unpublished";
|
20800
20814
|
};
|
20801
20815
|
};
|
@@ -20872,7 +20886,11 @@ interface paths$5 {
|
|
20872
20886
|
* Content copied to a release can be differentiated from base content by the `releaseId` property on the content. If the content is not copied to the release, this property will be null
|
20873
20887
|
*/
|
20874
20888
|
releaseId?: components$3["parameters"]["releaseId"];
|
20875
|
-
/**
|
20889
|
+
/**
|
20890
|
+
* Indicates the data variant that was fetched for data resources.
|
20891
|
+
* undefined: Data resources were resolved using published data from their data source
|
20892
|
+
* unpublished: Data resources which support unpublished data retrieved unpublished data from their data source. Data resources that did not support unpublished data retrieved published data instead.
|
20893
|
+
*/
|
20876
20894
|
dataResourcesVariant?: components$3["parameters"]["dataResourcesVariant"];
|
20877
20895
|
};
|
20878
20896
|
};
|
@@ -20920,8 +20938,9 @@ interface components$3 {
|
|
20920
20938
|
matchedRoute: string;
|
20921
20939
|
dynamicInputs?: components$3["schemas"]["RouteDynamicInputs"];
|
20922
20940
|
/**
|
20923
|
-
* @description Indicates
|
20924
|
-
*
|
20941
|
+
* @description Indicates the data variant that was fetched for data resources.
|
20942
|
+
* undefined: Data resources were resolved using published data from their data source
|
20943
|
+
* unpublished: Data resources which support unpublished data retrieved unpublished data from their data source. Data resources that did not support unpublished data retrieved published data instead.
|
20925
20944
|
*
|
20926
20945
|
* @enum {string}
|
20927
20946
|
*/
|
@@ -21006,7 +21025,11 @@ interface components$3 {
|
|
21006
21025
|
* Content copied to a release can be differentiated from base content by the `releaseId` property on the content. If the content is not copied to the release, this property will be null
|
21007
21026
|
*/
|
21008
21027
|
releaseId: string;
|
21009
|
-
/**
|
21028
|
+
/**
|
21029
|
+
* @description Indicates the data variant that was fetched for data resources.
|
21030
|
+
* undefined: Data resources were resolved using published data from their data source
|
21031
|
+
* unpublished: Data resources which support unpublished data retrieved unpublished data from their data source. Data resources that did not support unpublished data retrieved published data instead.
|
21032
|
+
*/
|
21010
21033
|
dataResourcesVariant: "unpublished";
|
21011
21034
|
};
|
21012
21035
|
}
|
@@ -23313,7 +23336,7 @@ type DataResourceIssue = DataResolutionIssueCore & {
|
|
23313
23336
|
*/
|
23314
23337
|
subType?: 'unpublishedData' | 'configuration';
|
23315
23338
|
/**
|
23316
|
-
*
|
23339
|
+
* Data Source-specific id of the data which caused the issue. This is useful when the issue may benefit from having e.g. Entry Id and we can render a deep link to act upon it.
|
23317
23340
|
*/
|
23318
23341
|
issueReference?: string;
|
23319
23342
|
dataName: string;
|
package/dist/index.esm.js
CHANGED
@@ -3046,7 +3046,7 @@ var isComponentPlaceholderId = (id) => {
|
|
3046
3046
|
return id == null ? void 0 : id.startsWith(PLACEHOLDER_ID);
|
3047
3047
|
};
|
3048
3048
|
var generateComponentPlaceholderId = (randomId, sdkVersion, parent) => {
|
3049
|
-
if (
|
3049
|
+
if (sdkVersion === 1) {
|
3050
3050
|
return PLACEHOLDER_ID;
|
3051
3051
|
}
|
3052
3052
|
let idParts = [PLACEHOLDER_ID, randomId];
|
package/dist/index.js
CHANGED
@@ -3202,7 +3202,7 @@ var isComponentPlaceholderId = (id) => {
|
|
3202
3202
|
return id == null ? void 0 : id.startsWith(PLACEHOLDER_ID);
|
3203
3203
|
};
|
3204
3204
|
var generateComponentPlaceholderId = (randomId, sdkVersion, parent) => {
|
3205
|
-
if (
|
3205
|
+
if (sdkVersion === 1) {
|
3206
3206
|
return PLACEHOLDER_ID;
|
3207
3207
|
}
|
3208
3208
|
let idParts = [PLACEHOLDER_ID, randomId];
|
package/dist/index.mjs
CHANGED
@@ -3046,7 +3046,7 @@ var isComponentPlaceholderId = (id) => {
|
|
3046
3046
|
return id == null ? void 0 : id.startsWith(PLACEHOLDER_ID);
|
3047
3047
|
};
|
3048
3048
|
var generateComponentPlaceholderId = (randomId, sdkVersion, parent) => {
|
3049
|
-
if (
|
3049
|
+
if (sdkVersion === 1) {
|
3050
3050
|
return PLACEHOLDER_ID;
|
3051
3051
|
}
|
3052
3052
|
let idParts = [PLACEHOLDER_ID, randomId];
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@uniformdev/canvas",
|
3
|
-
"version": "19.184.
|
3
|
+
"version": "19.184.3-alpha.32+637f1f5303",
|
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,9 +38,9 @@
|
|
38
38
|
"pusher-js": "8.2.0"
|
39
39
|
},
|
40
40
|
"dependencies": {
|
41
|
-
"@uniformdev/assets": "19.184.
|
42
|
-
"@uniformdev/context": "19.184.
|
43
|
-
"@uniformdev/richtext": "19.184.
|
41
|
+
"@uniformdev/assets": "19.184.3-alpha.32+637f1f5303",
|
42
|
+
"@uniformdev/context": "19.184.3-alpha.32+637f1f5303",
|
43
|
+
"@uniformdev/richtext": "19.184.3-alpha.32+637f1f5303",
|
44
44
|
"immer": "10.1.1"
|
45
45
|
},
|
46
46
|
"files": [
|
@@ -49,5 +49,5 @@
|
|
49
49
|
"publishConfig": {
|
50
50
|
"access": "public"
|
51
51
|
},
|
52
|
-
"gitHead": "
|
52
|
+
"gitHead": "637f1f5303933370e09fec676814bee7a9e26876"
|
53
53
|
}
|