@salesforce/lds-adapters-industries-context 1.150.4 → 1.150.6
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.
|
@@ -4517,7 +4517,7 @@ function getTypeCacheKeys$4(luvio, input, fullPathFactory) {
|
|
|
4517
4517
|
}
|
|
4518
4518
|
|
|
4519
4519
|
const TTL$3 = 30000;
|
|
4520
|
-
const VERSION$3 = "
|
|
4520
|
+
const VERSION$3 = "f10787e7e9d07b8ed4edbe960b8f370c";
|
|
4521
4521
|
function validate$7(obj, path = 'ContextMappingRepresentation') {
|
|
4522
4522
|
const v_error = (() => {
|
|
4523
4523
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4554,6 +4554,13 @@ function validate$7(obj, path = 'ContextMappingRepresentation') {
|
|
|
4554
4554
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
4555
4555
|
}
|
|
4556
4556
|
}
|
|
4557
|
+
if (obj.isDefault !== undefined) {
|
|
4558
|
+
const obj_isDefault = obj.isDefault;
|
|
4559
|
+
const path_isDefault = path + '.isDefault';
|
|
4560
|
+
if (typeof obj_isDefault !== 'boolean') {
|
|
4561
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isDefault + '" (at "' + path_isDefault + '")');
|
|
4562
|
+
}
|
|
4563
|
+
}
|
|
4557
4564
|
if (obj.isSuccess !== undefined) {
|
|
4558
4565
|
const obj_isSuccess = obj.isSuccess;
|
|
4559
4566
|
const path_isSuccess = path + '.isSuccess';
|
|
@@ -4626,6 +4633,11 @@ const select$j = function ContextMappingRepresentationSelect() {
|
|
|
4626
4633
|
kind: 'Scalar',
|
|
4627
4634
|
required: false
|
|
4628
4635
|
},
|
|
4636
|
+
{
|
|
4637
|
+
name: 'isDefault',
|
|
4638
|
+
kind: 'Scalar',
|
|
4639
|
+
required: false
|
|
4640
|
+
},
|
|
4629
4641
|
{
|
|
4630
4642
|
name: 'isSuccess',
|
|
4631
4643
|
kind: 'Scalar',
|
|
@@ -4640,6 +4652,19 @@ const select$j = function ContextMappingRepresentationSelect() {
|
|
|
4640
4652
|
};
|
|
4641
4653
|
};
|
|
4642
4654
|
function equals$3(existing, incoming) {
|
|
4655
|
+
const existing_isDefault = existing.isDefault;
|
|
4656
|
+
const incoming_isDefault = incoming.isDefault;
|
|
4657
|
+
// if at least one of these optionals is defined
|
|
4658
|
+
if (existing_isDefault !== undefined || incoming_isDefault !== undefined) {
|
|
4659
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4660
|
+
// not equal
|
|
4661
|
+
if (existing_isDefault === undefined || incoming_isDefault === undefined) {
|
|
4662
|
+
return false;
|
|
4663
|
+
}
|
|
4664
|
+
if (!(existing_isDefault === incoming_isDefault)) {
|
|
4665
|
+
return false;
|
|
4666
|
+
}
|
|
4667
|
+
}
|
|
4643
4668
|
const existing_isSuccess = existing.isSuccess;
|
|
4644
4669
|
const incoming_isSuccess = incoming.isSuccess;
|
|
4645
4670
|
// if at least one of these optionals is defined
|
|
@@ -6060,6 +6085,27 @@ function validate$4(obj, path = 'ContextMappingInputRepresentation') {
|
|
|
6060
6085
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
6061
6086
|
}
|
|
6062
6087
|
}
|
|
6088
|
+
if (obj.generateInputMappings !== undefined) {
|
|
6089
|
+
const obj_generateInputMappings = obj.generateInputMappings;
|
|
6090
|
+
const path_generateInputMappings = path + '.generateInputMappings';
|
|
6091
|
+
if (typeof obj_generateInputMappings !== 'boolean') {
|
|
6092
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_generateInputMappings + '" (at "' + path_generateInputMappings + '")');
|
|
6093
|
+
}
|
|
6094
|
+
}
|
|
6095
|
+
if (obj.generateSObjectMappings !== undefined) {
|
|
6096
|
+
const obj_generateSObjectMappings = obj.generateSObjectMappings;
|
|
6097
|
+
const path_generateSObjectMappings = path + '.generateSObjectMappings';
|
|
6098
|
+
if (typeof obj_generateSObjectMappings !== 'boolean') {
|
|
6099
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_generateSObjectMappings + '" (at "' + path_generateSObjectMappings + '")');
|
|
6100
|
+
}
|
|
6101
|
+
}
|
|
6102
|
+
if (obj.isDefault !== undefined) {
|
|
6103
|
+
const obj_isDefault = obj.isDefault;
|
|
6104
|
+
const path_isDefault = path + '.isDefault';
|
|
6105
|
+
if (typeof obj_isDefault !== 'boolean') {
|
|
6106
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isDefault + '" (at "' + path_isDefault + '")');
|
|
6107
|
+
}
|
|
6108
|
+
}
|
|
6063
6109
|
const obj_name = obj.name;
|
|
6064
6110
|
const path_name = path + '.name';
|
|
6065
6111
|
if (typeof obj_name !== '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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "9aeb34e010991cd89e4b49341e2a1f5d";
|
|
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: ContextMappingInputRepresentation, existing: ContextMappingInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextMappingInputRepresentationNormalized;
|
|
@@ -20,6 +20,12 @@ export interface ContextMappingInputRepresentationNormalized {
|
|
|
20
20
|
contextNodeMappings?: Array<{}>;
|
|
21
21
|
/** Description of ContextMapping */
|
|
22
22
|
description?: string;
|
|
23
|
+
/** Generate Default Input Mappings. */
|
|
24
|
+
generateInputMappings?: boolean;
|
|
25
|
+
/** Generate Default SObject Mappings. */
|
|
26
|
+
generateSObjectMappings?: boolean;
|
|
27
|
+
/** Is Default */
|
|
28
|
+
isDefault?: boolean;
|
|
23
29
|
/** Name of ContextMapping */
|
|
24
30
|
name: string;
|
|
25
31
|
}
|
|
@@ -33,5 +39,8 @@ export interface ContextMappingInputRepresentation {
|
|
|
33
39
|
contextDefinitionVersionId: string;
|
|
34
40
|
contextNodeMappings?: Array<{}>;
|
|
35
41
|
description?: string;
|
|
42
|
+
generateInputMappings?: boolean;
|
|
43
|
+
generateSObjectMappings?: boolean;
|
|
44
|
+
isDefault?: boolean;
|
|
36
45
|
name: string;
|
|
37
46
|
}
|
|
@@ -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 { ContextNodeMappingRepresentation as ContextNodeMappingRepresentation_ContextNodeMappingRepresentation } from './ContextNodeMappingRepresentation';
|
|
3
3
|
export declare const TTL = 30000;
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "f10787e7e9d07b8ed4edbe960b8f370c";
|
|
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 {
|
|
@@ -43,6 +43,8 @@ export interface ContextMappingRepresentationNormalized {
|
|
|
43
43
|
/** Description of ContextMapping */
|
|
44
44
|
description?: string;
|
|
45
45
|
/** Success */
|
|
46
|
+
isDefault?: boolean;
|
|
47
|
+
/** Success */
|
|
46
48
|
isSuccess?: boolean;
|
|
47
49
|
/** Name of ContextMapping */
|
|
48
50
|
name?: string;
|
|
@@ -58,6 +60,7 @@ export interface ContextMappingRepresentation {
|
|
|
58
60
|
contextMappingId: string;
|
|
59
61
|
contextNodeMappings: Array<ContextNodeMappingRepresentation_ContextNodeMappingRepresentation>;
|
|
60
62
|
description?: string;
|
|
63
|
+
isDefault?: boolean;
|
|
61
64
|
isSuccess?: boolean;
|
|
62
65
|
name?: string;
|
|
63
66
|
}
|
package/package.json
CHANGED
package/sfdc/index.js
CHANGED
|
@@ -2523,7 +2523,7 @@ function getTypeCacheKeys$7(luvio, input, fullPathFactory) {
|
|
|
2523
2523
|
}
|
|
2524
2524
|
|
|
2525
2525
|
const TTL$6 = 30000;
|
|
2526
|
-
const VERSION$6 = "
|
|
2526
|
+
const VERSION$6 = "f10787e7e9d07b8ed4edbe960b8f370c";
|
|
2527
2527
|
function validate$a(obj, path = 'ContextMappingRepresentation') {
|
|
2528
2528
|
const v_error = (() => {
|
|
2529
2529
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2560,6 +2560,13 @@ function validate$a(obj, path = 'ContextMappingRepresentation') {
|
|
|
2560
2560
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
2561
2561
|
}
|
|
2562
2562
|
}
|
|
2563
|
+
if (obj.isDefault !== undefined) {
|
|
2564
|
+
const obj_isDefault = obj.isDefault;
|
|
2565
|
+
const path_isDefault = path + '.isDefault';
|
|
2566
|
+
if (typeof obj_isDefault !== 'boolean') {
|
|
2567
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isDefault + '" (at "' + path_isDefault + '")');
|
|
2568
|
+
}
|
|
2569
|
+
}
|
|
2563
2570
|
if (obj.isSuccess !== undefined) {
|
|
2564
2571
|
const obj_isSuccess = obj.isSuccess;
|
|
2565
2572
|
const path_isSuccess = path + '.isSuccess';
|
|
@@ -2632,6 +2639,11 @@ const select$v = function ContextMappingRepresentationSelect() {
|
|
|
2632
2639
|
kind: 'Scalar',
|
|
2633
2640
|
required: false
|
|
2634
2641
|
},
|
|
2642
|
+
{
|
|
2643
|
+
name: 'isDefault',
|
|
2644
|
+
kind: 'Scalar',
|
|
2645
|
+
required: false
|
|
2646
|
+
},
|
|
2635
2647
|
{
|
|
2636
2648
|
name: 'isSuccess',
|
|
2637
2649
|
kind: 'Scalar',
|
|
@@ -2646,6 +2658,19 @@ const select$v = function ContextMappingRepresentationSelect() {
|
|
|
2646
2658
|
};
|
|
2647
2659
|
};
|
|
2648
2660
|
function equals$6(existing, incoming) {
|
|
2661
|
+
const existing_isDefault = existing.isDefault;
|
|
2662
|
+
const incoming_isDefault = incoming.isDefault;
|
|
2663
|
+
// if at least one of these optionals is defined
|
|
2664
|
+
if (existing_isDefault !== undefined || incoming_isDefault !== undefined) {
|
|
2665
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2666
|
+
// not equal
|
|
2667
|
+
if (existing_isDefault === undefined || incoming_isDefault === undefined) {
|
|
2668
|
+
return false;
|
|
2669
|
+
}
|
|
2670
|
+
if (!(existing_isDefault === incoming_isDefault)) {
|
|
2671
|
+
return false;
|
|
2672
|
+
}
|
|
2673
|
+
}
|
|
2649
2674
|
const existing_isSuccess = existing.isSuccess;
|
|
2650
2675
|
const incoming_isSuccess = incoming.isSuccess;
|
|
2651
2676
|
// if at least one of these optionals is defined
|
|
@@ -3221,6 +3246,27 @@ function validate$7(obj, path = 'ContextMappingInputRepresentation') {
|
|
|
3221
3246
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
3222
3247
|
}
|
|
3223
3248
|
}
|
|
3249
|
+
if (obj.generateInputMappings !== undefined) {
|
|
3250
|
+
const obj_generateInputMappings = obj.generateInputMappings;
|
|
3251
|
+
const path_generateInputMappings = path + '.generateInputMappings';
|
|
3252
|
+
if (typeof obj_generateInputMappings !== 'boolean') {
|
|
3253
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_generateInputMappings + '" (at "' + path_generateInputMappings + '")');
|
|
3254
|
+
}
|
|
3255
|
+
}
|
|
3256
|
+
if (obj.generateSObjectMappings !== undefined) {
|
|
3257
|
+
const obj_generateSObjectMappings = obj.generateSObjectMappings;
|
|
3258
|
+
const path_generateSObjectMappings = path + '.generateSObjectMappings';
|
|
3259
|
+
if (typeof obj_generateSObjectMappings !== 'boolean') {
|
|
3260
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_generateSObjectMappings + '" (at "' + path_generateSObjectMappings + '")');
|
|
3261
|
+
}
|
|
3262
|
+
}
|
|
3263
|
+
if (obj.isDefault !== undefined) {
|
|
3264
|
+
const obj_isDefault = obj.isDefault;
|
|
3265
|
+
const path_isDefault = path + '.isDefault';
|
|
3266
|
+
if (typeof obj_isDefault !== 'boolean') {
|
|
3267
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isDefault + '" (at "' + path_isDefault + '")');
|
|
3268
|
+
}
|
|
3269
|
+
}
|
|
3224
3270
|
const obj_name = obj.name;
|
|
3225
3271
|
const path_name = path + '.name';
|
|
3226
3272
|
if (typeof obj_name !== 'string') {
|
|
@@ -8545,4 +8591,4 @@ withDefaultLuvio((luvio) => {
|
|
|
8545
8591
|
});
|
|
8546
8592
|
|
|
8547
8593
|
export { createContextAttribute, createContextAttributeList, createContextAttributeMapping, createContextAttributeTag, createContextDefinition, createContextDefinitionVersion, createContextMapping, createContextNode, createContextNodeMapping, deleteContextAttribute, deleteContextAttributeMapping, deleteContextAttributeTag, deleteContextDefinition, deleteContextDefinitionVersion, deleteContextMapping, deleteContextNode, deleteContextNodeMapping, getContextAttribute, getContextAttributeMapping, getContextAttributeMappingNotifyChange, getContextAttributeMapping_imperative, getContextAttributeNotifyChange, getContextAttributeTag, getContextAttributeTagNotifyChange, getContextAttributeTag_imperative, getContextAttributeTagsByAttributeId, getContextAttributeTagsByAttributeId_imperative, getContextAttribute_imperative, getContextDefinition, getContextDefinitionInfo, getContextDefinitionInfoNotifyChange, getContextDefinitionInfo_imperative, getContextDefinitionList, getContextDefinitionList_imperative, getContextDefinitionNotifyChange, getContextDefinitionVersion, getContextDefinitionVersionNotifyChange, getContextDefinitionVersion_imperative, getContextDefinition_imperative, getContextMapping, getContextMappingNotifyChange, getContextMapping_imperative, getContextNode, getContextNodeMapping, getContextNodeMappingNotifyChange, getContextNodeMapping_imperative, getContextNodeNotifyChange, getContextNode_imperative, getContextServiceAccess, getContextServiceAccessNotifyChange, getContextServiceAccess_imperative, putContextServiceAccess, updateContextAttribute, updateContextAttributeMapping, updateContextAttributeTag, updateContextDefinition, updateContextDefinitionVersion, updateContextMapping, updateContextNode, updateContextNodeMapping };
|
|
8548
|
-
// version: 1.150.
|
|
8594
|
+
// version: 1.150.6-5854df857
|