@salesforce/lds-adapters-platform-admin-success-guidance 1.360.1 → 1.361.0
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.
|
@@ -1499,7 +1499,7 @@ function validate$a(obj, path = 'LightningAssistantLayoutNodeRepresentation') {
|
|
|
1499
1499
|
const path_step = path + '.step';
|
|
1500
1500
|
let obj_step_union0 = null;
|
|
1501
1501
|
const obj_step_union0_error = (() => {
|
|
1502
|
-
if (typeof obj_step !== 'object') {
|
|
1502
|
+
if (typeof obj_step !== 'object' || Array.isArray(obj_step)) {
|
|
1503
1503
|
return new TypeError('Expected "object" but received "' + typeof obj_step + '" (at "' + path_step + '")');
|
|
1504
1504
|
}
|
|
1505
1505
|
})();
|
|
@@ -1571,7 +1571,7 @@ const RepresentationType$6 = 'LightningAssistantLayoutNodeRepresentation';
|
|
|
1571
1571
|
function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
1572
1572
|
const input_step = input.step;
|
|
1573
1573
|
const input_step_id = path.fullPath + '__step';
|
|
1574
|
-
if (input_step !== null && typeof input_step === 'object') {
|
|
1574
|
+
if (!Array.isArray(input_step) && input_step !== null && typeof input_step === 'object') {
|
|
1575
1575
|
input.step = ingest$7(input_step, {
|
|
1576
1576
|
fullPath: input_step_id,
|
|
1577
1577
|
propertyName: 'step',
|
|
@@ -1699,7 +1699,7 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1699
1699
|
representationName: RepresentationType$6,
|
|
1700
1700
|
mergeable: false
|
|
1701
1701
|
});
|
|
1702
|
-
if (input.step !== null && typeof input.step === 'object') {
|
|
1702
|
+
if (!Array.isArray(input.step) && input.step !== null && typeof input.step === 'object') {
|
|
1703
1703
|
getTypeCacheKeys$7(rootKeySet, luvio, input.step);
|
|
1704
1704
|
}
|
|
1705
1705
|
}
|
|
@@ -1782,7 +1782,7 @@ function validate$9(obj, path = 'LightningAssistantRepresentation') {
|
|
|
1782
1782
|
}
|
|
1783
1783
|
const obj_layout = obj.layout;
|
|
1784
1784
|
const path_layout = path + '.layout';
|
|
1785
|
-
if (typeof obj_layout !== 'object') {
|
|
1785
|
+
if (typeof obj_layout !== 'object' || Array.isArray(obj_layout)) {
|
|
1786
1786
|
return new TypeError('Expected "object" but received "' + typeof obj_layout + '" (at "' + path_layout + '")');
|
|
1787
1787
|
}
|
|
1788
1788
|
const obj_numberOfSteps = obj.numberOfSteps;
|
|
@@ -3063,7 +3063,7 @@ function validate$3(obj, path = 'LightningAssistantListRepresentation') {
|
|
|
3063
3063
|
for (let i = 0; i < obj_assistantList.length; i++) {
|
|
3064
3064
|
const obj_assistantList_item = obj_assistantList[i];
|
|
3065
3065
|
const path_assistantList_item = path_assistantList + '[' + i + ']';
|
|
3066
|
-
if (typeof obj_assistantList_item !== 'object') {
|
|
3066
|
+
if (typeof obj_assistantList_item !== 'object' || Array.isArray(obj_assistantList_item)) {
|
|
3067
3067
|
return new TypeError('Expected "object" but received "' + typeof obj_assistantList_item + '" (at "' + path_assistantList_item + '")');
|
|
3068
3068
|
}
|
|
3069
3069
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-admin-success-guidance",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.361.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Guidance Center Questionnaire and Assistant APIs",
|
|
6
6
|
"main": "dist/es/es2018/platform-admin-success-guidance.js",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"release:core": "../../scripts/release/core.js --adapter=lds-adapters-platform-admin-success-guidance"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@salesforce/lds-bindings": "^1.
|
|
48
|
+
"@salesforce/lds-bindings": "^1.361.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
52
|
-
"@salesforce/lds-karma": "^1.
|
|
51
|
+
"@salesforce/lds-compiler-plugins": "^1.361.0",
|
|
52
|
+
"@salesforce/lds-karma": "^1.361.0"
|
|
53
53
|
},
|
|
54
54
|
"nx": {
|
|
55
55
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -781,7 +781,7 @@ function validate$f(obj, path = 'LightningAssistantLayoutNodeRepresentation') {
|
|
|
781
781
|
const path_step = path + '.step';
|
|
782
782
|
let obj_step_union0 = null;
|
|
783
783
|
const obj_step_union0_error = (() => {
|
|
784
|
-
if (typeof obj_step !== 'object') {
|
|
784
|
+
if (typeof obj_step !== 'object' || Array.isArray(obj_step)) {
|
|
785
785
|
return new TypeError('Expected "object" but received "' + typeof obj_step + '" (at "' + path_step + '")');
|
|
786
786
|
}
|
|
787
787
|
})();
|
|
@@ -853,7 +853,7 @@ const RepresentationType$7 = 'LightningAssistantLayoutNodeRepresentation';
|
|
|
853
853
|
function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
854
854
|
const input_step = input.step;
|
|
855
855
|
const input_step_id = path.fullPath + '__step';
|
|
856
|
-
if (input_step !== null && typeof input_step === 'object') {
|
|
856
|
+
if (!Array.isArray(input_step) && input_step !== null && typeof input_step === 'object') {
|
|
857
857
|
input.step = ingest$8(input_step, {
|
|
858
858
|
fullPath: input_step_id,
|
|
859
859
|
propertyName: 'step',
|
|
@@ -981,7 +981,7 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
981
981
|
representationName: RepresentationType$7,
|
|
982
982
|
mergeable: false
|
|
983
983
|
});
|
|
984
|
-
if (input.step !== null && typeof input.step === 'object') {
|
|
984
|
+
if (!Array.isArray(input.step) && input.step !== null && typeof input.step === 'object') {
|
|
985
985
|
getTypeCacheKeys$8(rootKeySet, luvio, input.step);
|
|
986
986
|
}
|
|
987
987
|
}
|
|
@@ -1064,7 +1064,7 @@ function validate$e(obj, path = 'LightningAssistantRepresentation') {
|
|
|
1064
1064
|
}
|
|
1065
1065
|
const obj_layout = obj.layout;
|
|
1066
1066
|
const path_layout = path + '.layout';
|
|
1067
|
-
if (typeof obj_layout !== 'object') {
|
|
1067
|
+
if (typeof obj_layout !== 'object' || Array.isArray(obj_layout)) {
|
|
1068
1068
|
return new TypeError('Expected "object" but received "' + typeof obj_layout + '" (at "' + path_layout + '")');
|
|
1069
1069
|
}
|
|
1070
1070
|
const obj_numberOfSteps = obj.numberOfSteps;
|
|
@@ -2012,7 +2012,7 @@ function validate$b(obj, path = 'LightningAssistantListRepresentation') {
|
|
|
2012
2012
|
for (let i = 0; i < obj_assistantList.length; i++) {
|
|
2013
2013
|
const obj_assistantList_item = obj_assistantList[i];
|
|
2014
2014
|
const path_assistantList_item = path_assistantList + '[' + i + ']';
|
|
2015
|
-
if (typeof obj_assistantList_item !== 'object') {
|
|
2015
|
+
if (typeof obj_assistantList_item !== 'object' || Array.isArray(obj_assistantList_item)) {
|
|
2016
2016
|
return new TypeError('Expected "object" but received "' + typeof obj_assistantList_item + '" (at "' + path_assistantList_item + '")');
|
|
2017
2017
|
}
|
|
2018
2018
|
}
|
|
@@ -4166,4 +4166,4 @@ withDefaultLuvio((luvio) => {
|
|
|
4166
4166
|
});
|
|
4167
4167
|
|
|
4168
4168
|
export { evaluateStep, getAssistant, getAssistantInfoList, getAssistantInfoListNotifyChange, getAssistantInfoList_imperative, getAssistantList, getAssistantListNotifyChange, getAssistantList_imperative, getAssistantNotifyChange, getAssistantTarget, getAssistantTargetNotifyChange, getAssistantTarget_imperative, getAssistant_imperative, getQuestionnaire, getQuestionnaireNotifyChange, getQuestionnaire_imperative, getQuestionnaires, getQuestionnairesNotifyChange, getQuestionnaires_imperative, initialize, saveAssistant, saveAssistantList, saveQuestionnaire };
|
|
4169
|
-
// version: 1.
|
|
4169
|
+
// version: 1.361.0-eb406138cb
|