@salesforce/lds-adapters-industries-serviceprocess 1.327.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,6 +120,20 @@ 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
|
+
if (obj.referenceObjApiName !== undefined) {
|
|
124
|
+
const obj_referenceObjApiName = obj.referenceObjApiName;
|
|
125
|
+
const path_referenceObjApiName = path + '.referenceObjApiName';
|
|
126
|
+
if (typeof obj_referenceObjApiName !== 'string') {
|
|
127
|
+
return new TypeError('Expected "string" but received "' + typeof obj_referenceObjApiName + '" (at "' + path_referenceObjApiName + '")');
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
if (obj.referenceObjNameFieldApiName !== undefined) {
|
|
131
|
+
const obj_referenceObjNameFieldApiName = obj.referenceObjNameFieldApiName;
|
|
132
|
+
const path_referenceObjNameFieldApiName = path + '.referenceObjNameFieldApiName';
|
|
133
|
+
if (typeof obj_referenceObjNameFieldApiName !== 'string') {
|
|
134
|
+
return new TypeError('Expected "string" but received "' + typeof obj_referenceObjNameFieldApiName + '" (at "' + path_referenceObjNameFieldApiName + '")');
|
|
135
|
+
}
|
|
136
|
+
}
|
|
123
137
|
const obj_sortOrder = obj.sortOrder;
|
|
124
138
|
const path_sortOrder = path + '.sortOrder';
|
|
125
139
|
if (typeof obj_sortOrder !== 'string') {
|
|
@@ -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;
|
|
@@ -24,6 +24,10 @@ export interface AttributeRepresentationNormalized {
|
|
|
24
24
|
childAttributes: Array<AttributeRepresentation>;
|
|
25
25
|
/** svc catalog item attribute data type */
|
|
26
26
|
dataType: string;
|
|
27
|
+
/** svc catalog item attribute's reference object api name */
|
|
28
|
+
referenceObjApiName?: string;
|
|
29
|
+
/** svc catalog item attribute's reference object name field api name */
|
|
30
|
+
referenceObjNameFieldApiName?: string;
|
|
27
31
|
/** svc catalog item attribute order */
|
|
28
32
|
sortOrder: string;
|
|
29
33
|
}
|
|
@@ -39,5 +43,7 @@ export interface AttributeRepresentation {
|
|
|
39
43
|
attributeName: string;
|
|
40
44
|
childAttributes: Array<AttributeRepresentation>;
|
|
41
45
|
dataType: string;
|
|
46
|
+
referenceObjApiName?: string;
|
|
47
|
+
referenceObjNameFieldApiName?: string;
|
|
42
48
|
sortOrder: string;
|
|
43
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,6 +130,20 @@ 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
|
+
if (obj.referenceObjApiName !== undefined) {
|
|
134
|
+
const obj_referenceObjApiName = obj.referenceObjApiName;
|
|
135
|
+
const path_referenceObjApiName = path + '.referenceObjApiName';
|
|
136
|
+
if (typeof obj_referenceObjApiName !== 'string') {
|
|
137
|
+
return new TypeError('Expected "string" but received "' + typeof obj_referenceObjApiName + '" (at "' + path_referenceObjApiName + '")');
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
if (obj.referenceObjNameFieldApiName !== undefined) {
|
|
141
|
+
const obj_referenceObjNameFieldApiName = obj.referenceObjNameFieldApiName;
|
|
142
|
+
const path_referenceObjNameFieldApiName = path + '.referenceObjNameFieldApiName';
|
|
143
|
+
if (typeof obj_referenceObjNameFieldApiName !== 'string') {
|
|
144
|
+
return new TypeError('Expected "string" but received "' + typeof obj_referenceObjNameFieldApiName + '" (at "' + path_referenceObjNameFieldApiName + '")');
|
|
145
|
+
}
|
|
146
|
+
}
|
|
133
147
|
const obj_sortOrder = obj.sortOrder;
|
|
134
148
|
const path_sortOrder = path + '.sortOrder';
|
|
135
149
|
if (typeof obj_sortOrder !== 'string') {
|
|
@@ -708,4 +722,4 @@ withDefaultLuvio((luvio) => {
|
|
|
708
722
|
});
|
|
709
723
|
|
|
710
724
|
export { fetchServiceProcessDefinition, fetchServiceProcessDefinition_imperative, getCaseServiceProcessLayoutData, getCaseServiceProcessLayoutData_imperative };
|
|
711
|
-
// version: 1.
|
|
725
|
+
// version: 1.329.0-beac2bb064
|
package/src/raml/api.raml
CHANGED
|
@@ -46,6 +46,14 @@ types:
|
|
|
46
46
|
dataType:
|
|
47
47
|
description: svc catalog item attribute data type
|
|
48
48
|
type: string
|
|
49
|
+
referenceObjApiName:
|
|
50
|
+
description: svc catalog item attribute's reference object api name
|
|
51
|
+
type: string
|
|
52
|
+
required: false
|
|
53
|
+
referenceObjNameFieldApiName:
|
|
54
|
+
description: svc catalog item attribute's reference object name field api name
|
|
55
|
+
type: string
|
|
56
|
+
required: false
|
|
49
57
|
sortOrder:
|
|
50
58
|
description: svc catalog item attribute order
|
|
51
59
|
type: string
|