@salesforce/lds-adapters-industries-serviceprocess 1.328.0 → 1.329.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.
|
@@ -120,57 +120,19 @@ function validate$5(obj, path = 'AttributeRepresentation') {
|
|
|
120
120
|
if (typeof obj_dataType !== 'string') {
|
|
121
121
|
return new TypeError('Expected "string" but received "' + typeof obj_dataType + '" (at "' + path_dataType + '")');
|
|
122
122
|
}
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
const obj_referenceObjApiName_union0_error = (() => {
|
|
123
|
+
if (obj.referenceObjApiName !== undefined) {
|
|
124
|
+
const obj_referenceObjApiName = obj.referenceObjApiName;
|
|
125
|
+
const path_referenceObjApiName = path + '.referenceObjApiName';
|
|
127
126
|
if (typeof obj_referenceObjApiName !== 'string') {
|
|
128
127
|
return new TypeError('Expected "string" but received "' + typeof obj_referenceObjApiName + '" (at "' + path_referenceObjApiName + '")');
|
|
129
128
|
}
|
|
130
|
-
})();
|
|
131
|
-
if (obj_referenceObjApiName_union0_error != null) {
|
|
132
|
-
obj_referenceObjApiName_union0 = obj_referenceObjApiName_union0_error.message;
|
|
133
|
-
}
|
|
134
|
-
let obj_referenceObjApiName_union1 = null;
|
|
135
|
-
const obj_referenceObjApiName_union1_error = (() => {
|
|
136
|
-
if (obj_referenceObjApiName !== null) {
|
|
137
|
-
return new TypeError('Expected "null" but received "' + typeof obj_referenceObjApiName + '" (at "' + path_referenceObjApiName + '")');
|
|
138
|
-
}
|
|
139
|
-
})();
|
|
140
|
-
if (obj_referenceObjApiName_union1_error != null) {
|
|
141
|
-
obj_referenceObjApiName_union1 = obj_referenceObjApiName_union1_error.message;
|
|
142
|
-
}
|
|
143
|
-
if (obj_referenceObjApiName_union0 && obj_referenceObjApiName_union1) {
|
|
144
|
-
let message = 'Object doesn\'t match union (at "' + path_referenceObjApiName + '")';
|
|
145
|
-
message += '\n' + obj_referenceObjApiName_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
146
|
-
message += '\n' + obj_referenceObjApiName_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
147
|
-
return new TypeError(message);
|
|
148
129
|
}
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
const obj_referenceObjNameFieldApiName_union0_error = (() => {
|
|
130
|
+
if (obj.referenceObjNameFieldApiName !== undefined) {
|
|
131
|
+
const obj_referenceObjNameFieldApiName = obj.referenceObjNameFieldApiName;
|
|
132
|
+
const path_referenceObjNameFieldApiName = path + '.referenceObjNameFieldApiName';
|
|
153
133
|
if (typeof obj_referenceObjNameFieldApiName !== 'string') {
|
|
154
134
|
return new TypeError('Expected "string" but received "' + typeof obj_referenceObjNameFieldApiName + '" (at "' + path_referenceObjNameFieldApiName + '")');
|
|
155
135
|
}
|
|
156
|
-
})();
|
|
157
|
-
if (obj_referenceObjNameFieldApiName_union0_error != null) {
|
|
158
|
-
obj_referenceObjNameFieldApiName_union0 = obj_referenceObjNameFieldApiName_union0_error.message;
|
|
159
|
-
}
|
|
160
|
-
let obj_referenceObjNameFieldApiName_union1 = null;
|
|
161
|
-
const obj_referenceObjNameFieldApiName_union1_error = (() => {
|
|
162
|
-
if (obj_referenceObjNameFieldApiName !== null) {
|
|
163
|
-
return new TypeError('Expected "null" but received "' + typeof obj_referenceObjNameFieldApiName + '" (at "' + path_referenceObjNameFieldApiName + '")');
|
|
164
|
-
}
|
|
165
|
-
})();
|
|
166
|
-
if (obj_referenceObjNameFieldApiName_union1_error != null) {
|
|
167
|
-
obj_referenceObjNameFieldApiName_union1 = obj_referenceObjNameFieldApiName_union1_error.message;
|
|
168
|
-
}
|
|
169
|
-
if (obj_referenceObjNameFieldApiName_union0 && obj_referenceObjNameFieldApiName_union1) {
|
|
170
|
-
let message = 'Object doesn\'t match union (at "' + path_referenceObjNameFieldApiName + '")';
|
|
171
|
-
message += '\n' + obj_referenceObjNameFieldApiName_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
172
|
-
message += '\n' + obj_referenceObjNameFieldApiName_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
173
|
-
return new TypeError(message);
|
|
174
136
|
}
|
|
175
137
|
const obj_sortOrder = obj.sortOrder;
|
|
176
138
|
const path_sortOrder = path + '.sortOrder';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "b74ddac49d0349e082106ecd895ab39d";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: AttributeRepresentation, existing: AttributeRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AttributeRepresentationNormalized;
|
|
@@ -25,9 +25,9 @@ export interface AttributeRepresentationNormalized {
|
|
|
25
25
|
/** svc catalog item attribute data type */
|
|
26
26
|
dataType: string;
|
|
27
27
|
/** svc catalog item attribute's reference object api name */
|
|
28
|
-
referenceObjApiName
|
|
28
|
+
referenceObjApiName?: string;
|
|
29
29
|
/** svc catalog item attribute's reference object name field api name */
|
|
30
|
-
referenceObjNameFieldApiName
|
|
30
|
+
referenceObjNameFieldApiName?: string;
|
|
31
31
|
/** svc catalog item attribute order */
|
|
32
32
|
sortOrder: string;
|
|
33
33
|
}
|
|
@@ -43,7 +43,7 @@ export interface AttributeRepresentation {
|
|
|
43
43
|
attributeName: string;
|
|
44
44
|
childAttributes: Array<AttributeRepresentation>;
|
|
45
45
|
dataType: string;
|
|
46
|
-
referenceObjApiName
|
|
47
|
-
referenceObjNameFieldApiName
|
|
46
|
+
referenceObjApiName?: string;
|
|
47
|
+
referenceObjNameFieldApiName?: string;
|
|
48
48
|
sortOrder: string;
|
|
49
49
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-serviceprocess",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.329.0",
|
|
4
4
|
"description": "Connect apis for fetching and updating service processes",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/es/es2018/industries-serviceprocess.js",
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"test:unit": "jest --config=./jest.config.js"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@salesforce/lds-bindings": "^1.
|
|
42
|
+
"@salesforce/lds-bindings": "^1.329.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
-
"@salesforce/lds-karma": "^1.
|
|
45
|
+
"@salesforce/lds-compiler-plugins": "^1.329.0",
|
|
46
|
+
"@salesforce/lds-karma": "^1.329.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -130,57 +130,19 @@ function validate$5(obj, path = 'AttributeRepresentation') {
|
|
|
130
130
|
if (typeof obj_dataType !== 'string') {
|
|
131
131
|
return new TypeError('Expected "string" but received "' + typeof obj_dataType + '" (at "' + path_dataType + '")');
|
|
132
132
|
}
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
const obj_referenceObjApiName_union0_error = (() => {
|
|
133
|
+
if (obj.referenceObjApiName !== undefined) {
|
|
134
|
+
const obj_referenceObjApiName = obj.referenceObjApiName;
|
|
135
|
+
const path_referenceObjApiName = path + '.referenceObjApiName';
|
|
137
136
|
if (typeof obj_referenceObjApiName !== 'string') {
|
|
138
137
|
return new TypeError('Expected "string" but received "' + typeof obj_referenceObjApiName + '" (at "' + path_referenceObjApiName + '")');
|
|
139
138
|
}
|
|
140
|
-
})();
|
|
141
|
-
if (obj_referenceObjApiName_union0_error != null) {
|
|
142
|
-
obj_referenceObjApiName_union0 = obj_referenceObjApiName_union0_error.message;
|
|
143
|
-
}
|
|
144
|
-
let obj_referenceObjApiName_union1 = null;
|
|
145
|
-
const obj_referenceObjApiName_union1_error = (() => {
|
|
146
|
-
if (obj_referenceObjApiName !== null) {
|
|
147
|
-
return new TypeError('Expected "null" but received "' + typeof obj_referenceObjApiName + '" (at "' + path_referenceObjApiName + '")');
|
|
148
|
-
}
|
|
149
|
-
})();
|
|
150
|
-
if (obj_referenceObjApiName_union1_error != null) {
|
|
151
|
-
obj_referenceObjApiName_union1 = obj_referenceObjApiName_union1_error.message;
|
|
152
|
-
}
|
|
153
|
-
if (obj_referenceObjApiName_union0 && obj_referenceObjApiName_union1) {
|
|
154
|
-
let message = 'Object doesn\'t match union (at "' + path_referenceObjApiName + '")';
|
|
155
|
-
message += '\n' + obj_referenceObjApiName_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
156
|
-
message += '\n' + obj_referenceObjApiName_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
157
|
-
return new TypeError(message);
|
|
158
139
|
}
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
const obj_referenceObjNameFieldApiName_union0_error = (() => {
|
|
140
|
+
if (obj.referenceObjNameFieldApiName !== undefined) {
|
|
141
|
+
const obj_referenceObjNameFieldApiName = obj.referenceObjNameFieldApiName;
|
|
142
|
+
const path_referenceObjNameFieldApiName = path + '.referenceObjNameFieldApiName';
|
|
163
143
|
if (typeof obj_referenceObjNameFieldApiName !== 'string') {
|
|
164
144
|
return new TypeError('Expected "string" but received "' + typeof obj_referenceObjNameFieldApiName + '" (at "' + path_referenceObjNameFieldApiName + '")');
|
|
165
145
|
}
|
|
166
|
-
})();
|
|
167
|
-
if (obj_referenceObjNameFieldApiName_union0_error != null) {
|
|
168
|
-
obj_referenceObjNameFieldApiName_union0 = obj_referenceObjNameFieldApiName_union0_error.message;
|
|
169
|
-
}
|
|
170
|
-
let obj_referenceObjNameFieldApiName_union1 = null;
|
|
171
|
-
const obj_referenceObjNameFieldApiName_union1_error = (() => {
|
|
172
|
-
if (obj_referenceObjNameFieldApiName !== null) {
|
|
173
|
-
return new TypeError('Expected "null" but received "' + typeof obj_referenceObjNameFieldApiName + '" (at "' + path_referenceObjNameFieldApiName + '")');
|
|
174
|
-
}
|
|
175
|
-
})();
|
|
176
|
-
if (obj_referenceObjNameFieldApiName_union1_error != null) {
|
|
177
|
-
obj_referenceObjNameFieldApiName_union1 = obj_referenceObjNameFieldApiName_union1_error.message;
|
|
178
|
-
}
|
|
179
|
-
if (obj_referenceObjNameFieldApiName_union0 && obj_referenceObjNameFieldApiName_union1) {
|
|
180
|
-
let message = 'Object doesn\'t match union (at "' + path_referenceObjNameFieldApiName + '")';
|
|
181
|
-
message += '\n' + obj_referenceObjNameFieldApiName_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
182
|
-
message += '\n' + obj_referenceObjNameFieldApiName_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
183
|
-
return new TypeError(message);
|
|
184
146
|
}
|
|
185
147
|
const obj_sortOrder = obj.sortOrder;
|
|
186
148
|
const path_sortOrder = path + '.sortOrder';
|
|
@@ -760,4 +722,4 @@ withDefaultLuvio((luvio) => {
|
|
|
760
722
|
});
|
|
761
723
|
|
|
762
724
|
export { fetchServiceProcessDefinition, fetchServiceProcessDefinition_imperative, getCaseServiceProcessLayoutData, getCaseServiceProcessLayoutData_imperative };
|
|
763
|
-
// version: 1.
|
|
725
|
+
// version: 1.329.0-beac2bb064
|
package/src/raml/api.raml
CHANGED
|
@@ -48,10 +48,12 @@ types:
|
|
|
48
48
|
type: string
|
|
49
49
|
referenceObjApiName:
|
|
50
50
|
description: svc catalog item attribute's reference object api name
|
|
51
|
-
type: string
|
|
51
|
+
type: string
|
|
52
|
+
required: false
|
|
52
53
|
referenceObjNameFieldApiName:
|
|
53
54
|
description: svc catalog item attribute's reference object name field api name
|
|
54
|
-
type: string
|
|
55
|
+
type: string
|
|
56
|
+
required: false
|
|
55
57
|
sortOrder:
|
|
56
58
|
description: svc catalog item attribute order
|
|
57
59
|
type: string
|