@salesforce/lds-adapters-industries-cpq 1.262.4 → 1.264.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.
|
@@ -1891,7 +1891,7 @@ function equals$b(existing, incoming) {
|
|
|
1891
1891
|
return true;
|
|
1892
1892
|
}
|
|
1893
1893
|
|
|
1894
|
-
const VERSION$a = "
|
|
1894
|
+
const VERSION$a = "208409a49f1473efc441912eec27eb30";
|
|
1895
1895
|
function validate$z(obj, path = 'ProductAttributeOutputRepresentation') {
|
|
1896
1896
|
const v_error = (() => {
|
|
1897
1897
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1956,11 +1956,11 @@ function validate$z(obj, path = 'ProductAttributeOutputRepresentation') {
|
|
|
1956
1956
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
1957
1957
|
}
|
|
1958
1958
|
}
|
|
1959
|
-
if (obj.
|
|
1960
|
-
const
|
|
1961
|
-
const
|
|
1962
|
-
if (typeof
|
|
1963
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
1959
|
+
if (obj.displayType !== undefined) {
|
|
1960
|
+
const obj_displayType = obj.displayType;
|
|
1961
|
+
const path_displayType = path + '.displayType';
|
|
1962
|
+
if (typeof obj_displayType !== 'string') {
|
|
1963
|
+
return new TypeError('Expected "string" but received "' + typeof obj_displayType + '" (at "' + path_displayType + '")');
|
|
1964
1964
|
}
|
|
1965
1965
|
}
|
|
1966
1966
|
if (obj.hidden !== undefined) {
|
|
@@ -2141,7 +2141,7 @@ const select$g = function ProductAttributeOutputRepresentationSelect() {
|
|
|
2141
2141
|
required: false
|
|
2142
2142
|
},
|
|
2143
2143
|
{
|
|
2144
|
-
name: '
|
|
2144
|
+
name: 'displayType',
|
|
2145
2145
|
kind: 'Scalar',
|
|
2146
2146
|
required: false
|
|
2147
2147
|
},
|
|
@@ -2434,16 +2434,16 @@ function equals$a(existing, incoming) {
|
|
|
2434
2434
|
return false;
|
|
2435
2435
|
}
|
|
2436
2436
|
}
|
|
2437
|
-
const
|
|
2438
|
-
const
|
|
2437
|
+
const existing_displayType = existing.displayType;
|
|
2438
|
+
const incoming_displayType = incoming.displayType;
|
|
2439
2439
|
// if at least one of these optionals is defined
|
|
2440
|
-
if (
|
|
2440
|
+
if (existing_displayType !== undefined || incoming_displayType !== undefined) {
|
|
2441
2441
|
// if one of these is not defined we know the other is defined and therefore
|
|
2442
2442
|
// not equal
|
|
2443
|
-
if (
|
|
2443
|
+
if (existing_displayType === undefined || incoming_displayType === undefined) {
|
|
2444
2444
|
return false;
|
|
2445
2445
|
}
|
|
2446
|
-
if (!(
|
|
2446
|
+
if (!(existing_displayType === incoming_displayType)) {
|
|
2447
2447
|
return false;
|
|
2448
2448
|
}
|
|
2449
2449
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AttributePickListOutputRepresentation as AttributePickListOutputRepresentation_AttributePickListOutputRepresentation } from './AttributePickListOutputRepresentation';
|
|
2
2
|
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';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "208409a49f1473efc441912eec27eb30";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: ProductAttributeOutputRepresentation, existing: ProductAttributeOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProductAttributeOutputRepresentationNormalized;
|
|
@@ -31,8 +31,8 @@ export interface ProductAttributeOutputRepresentationNormalized {
|
|
|
31
31
|
defaultValue?: string;
|
|
32
32
|
/** description of product attribute */
|
|
33
33
|
description?: string;
|
|
34
|
-
/**
|
|
35
|
-
|
|
34
|
+
/** display type of the attribute */
|
|
35
|
+
displayType?: string;
|
|
36
36
|
/** Is true if attribute is hidden */
|
|
37
37
|
hidden?: boolean;
|
|
38
38
|
/** Id of product attribute */
|
|
@@ -85,7 +85,7 @@ export interface ProductAttributeOutputRepresentation {
|
|
|
85
85
|
defaultHelpText?: string;
|
|
86
86
|
defaultValue?: string;
|
|
87
87
|
description?: string;
|
|
88
|
-
|
|
88
|
+
displayType?: string;
|
|
89
89
|
hidden?: boolean;
|
|
90
90
|
id?: string;
|
|
91
91
|
isCloneable?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-cpq",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.264.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "APIs for Industries CPQ Project",
|
|
6
6
|
"main": "dist/es/es2018/industries-cpq.js",
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
"test": "nx build:karma && karma start --single-run"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@salesforce/lds-bindings": "^1.
|
|
45
|
+
"@salesforce/lds-bindings": "^1.264.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
49
|
-
"@salesforce/lds-karma": "^1.
|
|
48
|
+
"@salesforce/lds-compiler-plugins": "^1.264.0",
|
|
49
|
+
"@salesforce/lds-karma": "^1.264.0"
|
|
50
50
|
},
|
|
51
51
|
"nx": {
|
|
52
52
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -2920,7 +2920,7 @@ function equals$b(existing, incoming) {
|
|
|
2920
2920
|
return true;
|
|
2921
2921
|
}
|
|
2922
2922
|
|
|
2923
|
-
const VERSION$a = "
|
|
2923
|
+
const VERSION$a = "208409a49f1473efc441912eec27eb30";
|
|
2924
2924
|
function validate$j(obj, path = 'ProductAttributeOutputRepresentation') {
|
|
2925
2925
|
const v_error = (() => {
|
|
2926
2926
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2985,11 +2985,11 @@ function validate$j(obj, path = 'ProductAttributeOutputRepresentation') {
|
|
|
2985
2985
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
2986
2986
|
}
|
|
2987
2987
|
}
|
|
2988
|
-
if (obj.
|
|
2989
|
-
const
|
|
2990
|
-
const
|
|
2991
|
-
if (typeof
|
|
2992
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
2988
|
+
if (obj.displayType !== undefined) {
|
|
2989
|
+
const obj_displayType = obj.displayType;
|
|
2990
|
+
const path_displayType = path + '.displayType';
|
|
2991
|
+
if (typeof obj_displayType !== 'string') {
|
|
2992
|
+
return new TypeError('Expected "string" but received "' + typeof obj_displayType + '" (at "' + path_displayType + '")');
|
|
2993
2993
|
}
|
|
2994
2994
|
}
|
|
2995
2995
|
if (obj.hidden !== undefined) {
|
|
@@ -3170,7 +3170,7 @@ const select$i = function ProductAttributeOutputRepresentationSelect() {
|
|
|
3170
3170
|
required: false
|
|
3171
3171
|
},
|
|
3172
3172
|
{
|
|
3173
|
-
name: '
|
|
3173
|
+
name: 'displayType',
|
|
3174
3174
|
kind: 'Scalar',
|
|
3175
3175
|
required: false
|
|
3176
3176
|
},
|
|
@@ -3463,16 +3463,16 @@ function equals$a(existing, incoming) {
|
|
|
3463
3463
|
return false;
|
|
3464
3464
|
}
|
|
3465
3465
|
}
|
|
3466
|
-
const
|
|
3467
|
-
const
|
|
3466
|
+
const existing_displayType = existing.displayType;
|
|
3467
|
+
const incoming_displayType = incoming.displayType;
|
|
3468
3468
|
// if at least one of these optionals is defined
|
|
3469
|
-
if (
|
|
3469
|
+
if (existing_displayType !== undefined || incoming_displayType !== undefined) {
|
|
3470
3470
|
// if one of these is not defined we know the other is defined and therefore
|
|
3471
3471
|
// not equal
|
|
3472
|
-
if (
|
|
3472
|
+
if (existing_displayType === undefined || incoming_displayType === undefined) {
|
|
3473
3473
|
return false;
|
|
3474
3474
|
}
|
|
3475
|
-
if (!(
|
|
3475
|
+
if (!(existing_displayType === incoming_displayType)) {
|
|
3476
3476
|
return false;
|
|
3477
3477
|
}
|
|
3478
3478
|
}
|
|
@@ -6365,4 +6365,4 @@ withDefaultLuvio((luvio) => {
|
|
|
6365
6365
|
});
|
|
6366
6366
|
|
|
6367
6367
|
export { configure, createCart, createCartItems, getCart, getCart_imperative, preview, priceCart, productDetails, productList, searchProductList, updateCart, updateCartItems };
|
|
6368
|
-
// version: 1.
|
|
6368
|
+
// version: 1.264.0-76ebb1758
|
package/src/raml/api.raml
CHANGED
|
@@ -1377,8 +1377,8 @@ types:
|
|
|
1377
1377
|
description: value description of the attribute
|
|
1378
1378
|
type: string
|
|
1379
1379
|
required: false
|
|
1380
|
-
|
|
1381
|
-
description:
|
|
1380
|
+
displayType:
|
|
1381
|
+
description: display type of the attribute
|
|
1382
1382
|
type: string
|
|
1383
1383
|
required: false
|
|
1384
1384
|
isReadOnly:
|