@salesforce/lwc-adapters-uiapi 1.136.6 → 1.136.8
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/main.js +30 -9
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -24597,7 +24597,7 @@ function getTypeCacheKeys$1d(luvio, input, fullPathFactory) {
|
|
|
24597
24597
|
}
|
|
24598
24598
|
|
|
24599
24599
|
const TTL$q = 300000;
|
|
24600
|
-
const VERSION$1y = "
|
|
24600
|
+
const VERSION$1y = "1781f2d3d4e413cf0c681774d82d02cd";
|
|
24601
24601
|
function validate$11(obj, path = 'AppRepresentation') {
|
|
24602
24602
|
const v_error = (() => {
|
|
24603
24603
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -24605,8 +24605,29 @@ function validate$11(obj, path = 'AppRepresentation') {
|
|
|
24605
24605
|
}
|
|
24606
24606
|
const obj_appId = obj.appId;
|
|
24607
24607
|
const path_appId = path + '.appId';
|
|
24608
|
-
|
|
24609
|
-
|
|
24608
|
+
let obj_appId_union0 = null;
|
|
24609
|
+
const obj_appId_union0_error = (() => {
|
|
24610
|
+
if (typeof obj_appId !== 'string') {
|
|
24611
|
+
return new TypeError('Expected "string" but received "' + typeof obj_appId + '" (at "' + path_appId + '")');
|
|
24612
|
+
}
|
|
24613
|
+
})();
|
|
24614
|
+
if (obj_appId_union0_error != null) {
|
|
24615
|
+
obj_appId_union0 = obj_appId_union0_error.message;
|
|
24616
|
+
}
|
|
24617
|
+
let obj_appId_union1 = null;
|
|
24618
|
+
const obj_appId_union1_error = (() => {
|
|
24619
|
+
if (obj_appId !== null) {
|
|
24620
|
+
return new TypeError('Expected "null" but received "' + typeof obj_appId + '" (at "' + path_appId + '")');
|
|
24621
|
+
}
|
|
24622
|
+
})();
|
|
24623
|
+
if (obj_appId_union1_error != null) {
|
|
24624
|
+
obj_appId_union1 = obj_appId_union1_error.message;
|
|
24625
|
+
}
|
|
24626
|
+
if (obj_appId_union0 && obj_appId_union1) {
|
|
24627
|
+
let message = 'Object doesn\'t match union (at "' + path_appId + '")';
|
|
24628
|
+
message += '\n' + obj_appId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
24629
|
+
message += '\n' + obj_appId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
24630
|
+
return new TypeError(message);
|
|
24610
24631
|
}
|
|
24611
24632
|
const obj_description = obj.description;
|
|
24612
24633
|
const path_description = path + '.description';
|
|
@@ -24782,7 +24803,7 @@ function validate$11(obj, path = 'AppRepresentation') {
|
|
|
24782
24803
|
}
|
|
24783
24804
|
const RepresentationType$A = 'AppRepresentation';
|
|
24784
24805
|
function keyBuilder$1U(luvio, config) {
|
|
24785
|
-
return keyPrefix + '::' + RepresentationType$A + ':' + config.appId;
|
|
24806
|
+
return keyPrefix + '::' + RepresentationType$A + ':' + (config.appId === null ? '' : config.appId);
|
|
24786
24807
|
}
|
|
24787
24808
|
function keyBuilderFromType$k(luvio, object) {
|
|
24788
24809
|
const keyParams = {
|
|
@@ -24930,11 +24951,6 @@ function equals$E(existing, incoming) {
|
|
|
24930
24951
|
if (!(existing_selected === incoming_selected)) {
|
|
24931
24952
|
return false;
|
|
24932
24953
|
}
|
|
24933
|
-
const existing_appId = existing.appId;
|
|
24934
|
-
const incoming_appId = incoming.appId;
|
|
24935
|
-
if (!(existing_appId === incoming_appId)) {
|
|
24936
|
-
return false;
|
|
24937
|
-
}
|
|
24938
24954
|
const existing_developerName = existing.developerName;
|
|
24939
24955
|
const incoming_developerName = incoming.developerName;
|
|
24940
24956
|
if (!(existing_developerName === incoming_developerName)) {
|
|
@@ -24970,6 +24986,11 @@ function equals$E(existing, incoming) {
|
|
|
24970
24986
|
if (!(existing_type === incoming_type)) {
|
|
24971
24987
|
return false;
|
|
24972
24988
|
}
|
|
24989
|
+
const existing_appId = existing.appId;
|
|
24990
|
+
const incoming_appId = incoming.appId;
|
|
24991
|
+
if (!(existing_appId === incoming_appId)) {
|
|
24992
|
+
return false;
|
|
24993
|
+
}
|
|
24973
24994
|
const existing_description = existing.description;
|
|
24974
24995
|
const incoming_description = incoming.description;
|
|
24975
24996
|
if (!(existing_description === incoming_description)) {
|