@salesforce/lds-adapters-industries-context 1.301.0 → 1.303.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.
- package/dist/es/es2018/industries-context.js +51 -1
- package/dist/es/es2018/types/src/generated/types/ContextAttributeRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/ContextAttributesInputRepresentation.d.ts +7 -1
- package/package.json +4 -4
- package/sfdc/index.js +52 -2
- package/src/raml/api.raml +14 -0
|
@@ -3865,7 +3865,7 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3865
3865
|
}
|
|
3866
3866
|
|
|
3867
3867
|
const TTL$c = 1000;
|
|
3868
|
-
const VERSION$e = "
|
|
3868
|
+
const VERSION$e = "282c9c4929283780bca9810492255898";
|
|
3869
3869
|
function validate$p(obj, path = 'ContextAttributeRepresentation') {
|
|
3870
3870
|
const v_error = (() => {
|
|
3871
3871
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3916,6 +3916,20 @@ function validate$p(obj, path = 'ContextAttributeRepresentation') {
|
|
|
3916
3916
|
return new TypeError('Expected "string" but received "' + typeof obj_dataType + '" (at "' + path_dataType + '")');
|
|
3917
3917
|
}
|
|
3918
3918
|
}
|
|
3919
|
+
if (obj.description !== undefined) {
|
|
3920
|
+
const obj_description = obj.description;
|
|
3921
|
+
const path_description = path + '.description';
|
|
3922
|
+
if (typeof obj_description !== 'string') {
|
|
3923
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
3924
|
+
}
|
|
3925
|
+
}
|
|
3926
|
+
if (obj.displayName !== undefined) {
|
|
3927
|
+
const obj_displayName = obj.displayName;
|
|
3928
|
+
const path_displayName = path + '.displayName';
|
|
3929
|
+
if (typeof obj_displayName !== 'string') {
|
|
3930
|
+
return new TypeError('Expected "string" but received "' + typeof obj_displayName + '" (at "' + path_displayName + '")');
|
|
3931
|
+
}
|
|
3932
|
+
}
|
|
3919
3933
|
if (obj.domainSet !== undefined) {
|
|
3920
3934
|
const obj_domainSet = obj.domainSet;
|
|
3921
3935
|
const path_domainSet = path + '.domainSet';
|
|
@@ -4033,6 +4047,16 @@ const select$N = function ContextAttributeRepresentationSelect() {
|
|
|
4033
4047
|
kind: 'Scalar',
|
|
4034
4048
|
required: false
|
|
4035
4049
|
},
|
|
4050
|
+
{
|
|
4051
|
+
name: 'description',
|
|
4052
|
+
kind: 'Scalar',
|
|
4053
|
+
required: false
|
|
4054
|
+
},
|
|
4055
|
+
{
|
|
4056
|
+
name: 'displayName',
|
|
4057
|
+
kind: 'Scalar',
|
|
4058
|
+
required: false
|
|
4059
|
+
},
|
|
4036
4060
|
{
|
|
4037
4061
|
name: 'domainSet',
|
|
4038
4062
|
kind: 'Scalar',
|
|
@@ -4168,6 +4192,32 @@ function equals$e(existing, incoming) {
|
|
|
4168
4192
|
return false;
|
|
4169
4193
|
}
|
|
4170
4194
|
}
|
|
4195
|
+
const existing_description = existing.description;
|
|
4196
|
+
const incoming_description = incoming.description;
|
|
4197
|
+
// if at least one of these optionals is defined
|
|
4198
|
+
if (existing_description !== undefined || incoming_description !== undefined) {
|
|
4199
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4200
|
+
// not equal
|
|
4201
|
+
if (existing_description === undefined || incoming_description === undefined) {
|
|
4202
|
+
return false;
|
|
4203
|
+
}
|
|
4204
|
+
if (!(existing_description === incoming_description)) {
|
|
4205
|
+
return false;
|
|
4206
|
+
}
|
|
4207
|
+
}
|
|
4208
|
+
const existing_displayName = existing.displayName;
|
|
4209
|
+
const incoming_displayName = incoming.displayName;
|
|
4210
|
+
// if at least one of these optionals is defined
|
|
4211
|
+
if (existing_displayName !== undefined || incoming_displayName !== undefined) {
|
|
4212
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4213
|
+
// not equal
|
|
4214
|
+
if (existing_displayName === undefined || incoming_displayName === undefined) {
|
|
4215
|
+
return false;
|
|
4216
|
+
}
|
|
4217
|
+
if (!(existing_displayName === incoming_displayName)) {
|
|
4218
|
+
return false;
|
|
4219
|
+
}
|
|
4220
|
+
}
|
|
4171
4221
|
const existing_domainSet = existing.domainSet;
|
|
4172
4222
|
const incoming_domainSet = incoming.domainSet;
|
|
4173
4223
|
// if at least one of these optionals is defined
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
2
|
import { ContextAttributeTagRepresentation as ContextAttributeTagRepresentation_ContextAttributeTagRepresentation } from './ContextAttributeTagRepresentation';
|
|
3
3
|
export declare const TTL = 1000;
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "282c9c4929283780bca9810492255898";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -46,6 +46,10 @@ export interface ContextAttributeRepresentationNormalized {
|
|
|
46
46
|
contextAttributeId: string;
|
|
47
47
|
/** DataType */
|
|
48
48
|
dataType?: string;
|
|
49
|
+
/** Description */
|
|
50
|
+
description?: string;
|
|
51
|
+
/** DisplayName */
|
|
52
|
+
displayName?: string;
|
|
49
53
|
/** Comma separated node names referenced by this attribute */
|
|
50
54
|
domainSet?: string;
|
|
51
55
|
/** Field Type */
|
|
@@ -74,6 +78,8 @@ export interface ContextAttributeRepresentation {
|
|
|
74
78
|
baseReference?: string;
|
|
75
79
|
contextAttributeId: string;
|
|
76
80
|
dataType?: string;
|
|
81
|
+
description?: string;
|
|
82
|
+
displayName?: string;
|
|
77
83
|
domainSet?: string;
|
|
78
84
|
fieldType?: string;
|
|
79
85
|
isKey?: boolean;
|
|
@@ -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 = "d8430b0af0cc387c1dc99957f8678204";
|
|
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: ContextAttributesInputRepresentation, existing: ContextAttributesInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextAttributesInputRepresentationNormalized;
|
|
@@ -22,6 +22,10 @@ export interface ContextAttributesInputRepresentationNormalized {
|
|
|
22
22
|
contextAttributeId: string;
|
|
23
23
|
/** DataType */
|
|
24
24
|
dataType: string;
|
|
25
|
+
/** Description */
|
|
26
|
+
description: string;
|
|
27
|
+
/** DisplayName */
|
|
28
|
+
displayName: string;
|
|
25
29
|
/** Comma separated node names referenced by this attribute */
|
|
26
30
|
domainSet: string;
|
|
27
31
|
/** Field Type */
|
|
@@ -46,6 +50,8 @@ export interface ContextAttributesInputRepresentation {
|
|
|
46
50
|
aggregateSourceAttributeId?: string;
|
|
47
51
|
contextAttributeId: string;
|
|
48
52
|
dataType: string;
|
|
53
|
+
description: string;
|
|
54
|
+
displayName: string;
|
|
49
55
|
domainSet: string;
|
|
50
56
|
fieldType: string;
|
|
51
57
|
isKey: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-context",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.303.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Normandy Context Service",
|
|
6
6
|
"main": "dist/es/es2018/industries-context.js",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"test:unit": "jest --config=./jest.config.js"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@salesforce/lds-bindings": "^1.
|
|
47
|
+
"@salesforce/lds-bindings": "^1.303.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
51
|
-
"@salesforce/lds-karma": "^1.
|
|
50
|
+
"@salesforce/lds-compiler-plugins": "^1.303.0",
|
|
51
|
+
"@salesforce/lds-karma": "^1.303.0"
|
|
52
52
|
},
|
|
53
53
|
"nx": {
|
|
54
54
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -1380,7 +1380,7 @@ function getTypeCacheKeys$j(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1380
1380
|
}
|
|
1381
1381
|
|
|
1382
1382
|
const TTL$i = 1000;
|
|
1383
|
-
const VERSION$m = "
|
|
1383
|
+
const VERSION$m = "282c9c4929283780bca9810492255898";
|
|
1384
1384
|
function validate$x(obj, path = 'ContextAttributeRepresentation') {
|
|
1385
1385
|
const v_error = (() => {
|
|
1386
1386
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1431,6 +1431,20 @@ function validate$x(obj, path = 'ContextAttributeRepresentation') {
|
|
|
1431
1431
|
return new TypeError('Expected "string" but received "' + typeof obj_dataType + '" (at "' + path_dataType + '")');
|
|
1432
1432
|
}
|
|
1433
1433
|
}
|
|
1434
|
+
if (obj.description !== undefined) {
|
|
1435
|
+
const obj_description = obj.description;
|
|
1436
|
+
const path_description = path + '.description';
|
|
1437
|
+
if (typeof obj_description !== 'string') {
|
|
1438
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
1439
|
+
}
|
|
1440
|
+
}
|
|
1441
|
+
if (obj.displayName !== undefined) {
|
|
1442
|
+
const obj_displayName = obj.displayName;
|
|
1443
|
+
const path_displayName = path + '.displayName';
|
|
1444
|
+
if (typeof obj_displayName !== 'string') {
|
|
1445
|
+
return new TypeError('Expected "string" but received "' + typeof obj_displayName + '" (at "' + path_displayName + '")');
|
|
1446
|
+
}
|
|
1447
|
+
}
|
|
1434
1448
|
if (obj.domainSet !== undefined) {
|
|
1435
1449
|
const obj_domainSet = obj.domainSet;
|
|
1436
1450
|
const path_domainSet = path + '.domainSet';
|
|
@@ -1548,6 +1562,16 @@ const select$Z = function ContextAttributeRepresentationSelect() {
|
|
|
1548
1562
|
kind: 'Scalar',
|
|
1549
1563
|
required: false
|
|
1550
1564
|
},
|
|
1565
|
+
{
|
|
1566
|
+
name: 'description',
|
|
1567
|
+
kind: 'Scalar',
|
|
1568
|
+
required: false
|
|
1569
|
+
},
|
|
1570
|
+
{
|
|
1571
|
+
name: 'displayName',
|
|
1572
|
+
kind: 'Scalar',
|
|
1573
|
+
required: false
|
|
1574
|
+
},
|
|
1551
1575
|
{
|
|
1552
1576
|
name: 'domainSet',
|
|
1553
1577
|
kind: 'Scalar',
|
|
@@ -1683,6 +1707,32 @@ function equals$m(existing, incoming) {
|
|
|
1683
1707
|
return false;
|
|
1684
1708
|
}
|
|
1685
1709
|
}
|
|
1710
|
+
const existing_description = existing.description;
|
|
1711
|
+
const incoming_description = incoming.description;
|
|
1712
|
+
// if at least one of these optionals is defined
|
|
1713
|
+
if (existing_description !== undefined || incoming_description !== undefined) {
|
|
1714
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1715
|
+
// not equal
|
|
1716
|
+
if (existing_description === undefined || incoming_description === undefined) {
|
|
1717
|
+
return false;
|
|
1718
|
+
}
|
|
1719
|
+
if (!(existing_description === incoming_description)) {
|
|
1720
|
+
return false;
|
|
1721
|
+
}
|
|
1722
|
+
}
|
|
1723
|
+
const existing_displayName = existing.displayName;
|
|
1724
|
+
const incoming_displayName = incoming.displayName;
|
|
1725
|
+
// if at least one of these optionals is defined
|
|
1726
|
+
if (existing_displayName !== undefined || incoming_displayName !== undefined) {
|
|
1727
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1728
|
+
// not equal
|
|
1729
|
+
if (existing_displayName === undefined || incoming_displayName === undefined) {
|
|
1730
|
+
return false;
|
|
1731
|
+
}
|
|
1732
|
+
if (!(existing_displayName === incoming_displayName)) {
|
|
1733
|
+
return false;
|
|
1734
|
+
}
|
|
1735
|
+
}
|
|
1686
1736
|
const existing_domainSet = existing.domainSet;
|
|
1687
1737
|
const incoming_domainSet = incoming.domainSet;
|
|
1688
1738
|
// if at least one of these optionals is defined
|
|
@@ -12554,4 +12604,4 @@ withDefaultLuvio((luvio) => {
|
|
|
12554
12604
|
});
|
|
12555
12605
|
|
|
12556
12606
|
export { createContextAttributeMapping, createContextAttributeMappings, createContextAttributes, createContextMapping, createContextMappings, createContextNodeMapping, createContextNodeMappings, createContextNodes, createContextQueryRecords, createContextServiceDefinition, createContextTags, deleteContextAttributeMapping, deleteContextMapping, deleteContextNodeMapping, deleteContextServiceAttribute, deleteContextServiceAttributeMapping, deleteContextServiceDefinition, deleteContextServiceMapping, deleteContextServiceNode, deleteContextServiceNodeMapping, deleteContextServiceTag, getContext, getContextAttributeMapping, getContextAttributeMappingNotifyChange, getContextAttributeMapping_imperative, getContextDefinitions, getContextDefinitions_imperative, getContextInfo, getContextInfoNotifyChange, getContextInfo_imperative, getContextMapping, getContextMappingNotifyChange, getContextMapping_imperative, getContextNodeMapping, getContextNodeMappingNotifyChange, getContextNodeMapping_imperative, getContextNotifyChange, getContextServiceAccess, getContextServiceAccessNotifyChange, getContextServiceAccess_imperative, getContextServiceAttribute, getContextServiceAttributeMapping, getContextServiceAttributeMappingNotifyChange, getContextServiceAttributeMapping_imperative, getContextServiceAttributeNotifyChange, getContextServiceAttribute_imperative, getContextServiceDefinition, getContextServiceDefinitionInfo, getContextServiceDefinitionInfoNotifyChange, getContextServiceDefinitionInfo_imperative, getContextServiceDefinitionNotifyChange, getContextServiceDefinition_imperative, getContextServiceMapping, getContextServiceMappingNotifyChange, getContextServiceMapping_imperative, getContextServiceNode, getContextServiceNodeMapping, getContextServiceNodeMappingNotifyChange, getContextServiceNodeMapping_imperative, getContextServiceNodeNotifyChange, getContextServiceNode_imperative, getContextServiceTag, getContextServiceTagNotifyChange, getContextServiceTag_imperative, getContextTags, getContextTagsNotifyChange, getContextTags_imperative, getContextTranslation, getContextTranslation_imperative, getContext_imperative, putContextServiceAccess, queryContextRecordAndChildren, updateContextAttributeMapping, updateContextAttributeMappings, updateContextAttributes, updateContextMapping, updateContextMappings, updateContextNodeMapping, updateContextNodeMappings, updateContextNodes, updateContextServiceDefinition, updateContextTags, upgradeContextServiceDefinition };
|
|
12557
|
-
// version: 1.
|
|
12607
|
+
// version: 1.303.0-b6ed223d95
|
package/src/raml/api.raml
CHANGED
|
@@ -442,6 +442,14 @@ types:
|
|
|
442
442
|
description: DataType
|
|
443
443
|
type: string
|
|
444
444
|
required: false
|
|
445
|
+
description:
|
|
446
|
+
description: Description
|
|
447
|
+
type: string
|
|
448
|
+
required: false
|
|
449
|
+
displayName:
|
|
450
|
+
description: DisplayName
|
|
451
|
+
type: string
|
|
452
|
+
required: false
|
|
445
453
|
domainSet:
|
|
446
454
|
description: Comma separated node names referenced by this attribute
|
|
447
455
|
type: string
|
|
@@ -552,6 +560,12 @@ types:
|
|
|
552
560
|
dataType:
|
|
553
561
|
description: DataType
|
|
554
562
|
type: string
|
|
563
|
+
description:
|
|
564
|
+
description: Description
|
|
565
|
+
type: string
|
|
566
|
+
displayName:
|
|
567
|
+
description: DisplayName
|
|
568
|
+
type: string
|
|
555
569
|
domainSet:
|
|
556
570
|
description: Comma separated node names referenced by this attribute
|
|
557
571
|
type: string
|