@salesforce/lds-ads-bridge 1.231.0 → 1.232.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/ads-bridge-perf.js +55 -31
- package/dist/adsBridge.js +1 -1
- package/package.json +1 -1
package/dist/ads-bridge-perf.js
CHANGED
|
@@ -474,7 +474,7 @@ const callbacks$1 = [];
|
|
|
474
474
|
function register(r) {
|
|
475
475
|
callbacks$1.forEach((callback) => callback(r));
|
|
476
476
|
}
|
|
477
|
-
// version: 1.
|
|
477
|
+
// version: 1.232.0-968cf099f
|
|
478
478
|
|
|
479
479
|
/**
|
|
480
480
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -5744,7 +5744,7 @@ function toSortedStringArray(value) {
|
|
|
5744
5744
|
return undefined;
|
|
5745
5745
|
}
|
|
5746
5746
|
|
|
5747
|
-
const VERSION$
|
|
5747
|
+
const VERSION$2k = "d1e589a127fb1060c89070cdb6f500b2";
|
|
5748
5748
|
function validate$1C(obj, path = 'RecordTypeInfoRepresentation') {
|
|
5749
5749
|
const v_error = (() => {
|
|
5750
5750
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -5778,10 +5778,10 @@ function validate$1C(obj, path = 'RecordTypeInfoRepresentation') {
|
|
|
5778
5778
|
})();
|
|
5779
5779
|
return v_error === undefined ? null : v_error;
|
|
5780
5780
|
}
|
|
5781
|
-
const select$
|
|
5781
|
+
const select$2S = function RecordTypeInfoRepresentationSelect() {
|
|
5782
5782
|
return {
|
|
5783
5783
|
kind: 'Fragment',
|
|
5784
|
-
version: VERSION$
|
|
5784
|
+
version: VERSION$2k,
|
|
5785
5785
|
private: [],
|
|
5786
5786
|
selections: [
|
|
5787
5787
|
{
|
|
@@ -5836,7 +5836,7 @@ function equals$10(existing, incoming) {
|
|
|
5836
5836
|
return true;
|
|
5837
5837
|
}
|
|
5838
5838
|
|
|
5839
|
-
const VERSION$
|
|
5839
|
+
const VERSION$2j = "195d918987a35f45e1aa4dce9a11d8c5";
|
|
5840
5840
|
function validate$1B(obj, path = 'FieldValueRepresentation') {
|
|
5841
5841
|
const v_error = (() => {
|
|
5842
5842
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -5928,10 +5928,10 @@ function validate$1B(obj, path = 'FieldValueRepresentation') {
|
|
|
5928
5928
|
return v_error === undefined ? null : v_error;
|
|
5929
5929
|
}
|
|
5930
5930
|
const RepresentationType$V = 'FieldValueRepresentation';
|
|
5931
|
-
const select$
|
|
5931
|
+
const select$2R = function FieldValueRepresentationSelect() {
|
|
5932
5932
|
return {
|
|
5933
5933
|
kind: 'Fragment',
|
|
5934
|
-
version: VERSION$
|
|
5934
|
+
version: VERSION$2j,
|
|
5935
5935
|
private: [],
|
|
5936
5936
|
selections: [
|
|
5937
5937
|
{
|
|
@@ -5942,7 +5942,7 @@ const select$2Q = function FieldValueRepresentationSelect() {
|
|
|
5942
5942
|
name: 'value',
|
|
5943
5943
|
kind: 'Link',
|
|
5944
5944
|
nullable: true,
|
|
5945
|
-
fragment: select$
|
|
5945
|
+
fragment: select$2P()
|
|
5946
5946
|
}
|
|
5947
5947
|
]
|
|
5948
5948
|
};
|
|
@@ -6005,7 +6005,7 @@ const getTypeCacheKeys$1V = (rootKeySet, luvio, input, _fullPathFactory) => {
|
|
|
6005
6005
|
};
|
|
6006
6006
|
|
|
6007
6007
|
const TTL$C = 120000;
|
|
6008
|
-
const VERSION$
|
|
6008
|
+
const VERSION$2i = "79cb5ac9f44542f683d00245fdfe500d";
|
|
6009
6009
|
function validate$1A(obj, path = 'RecordCollectionRepresentation') {
|
|
6010
6010
|
const v_error = (() => {
|
|
6011
6011
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -6186,10 +6186,10 @@ function normalize$M(input, existing, path, luvio, store, timestamp) {
|
|
|
6186
6186
|
}
|
|
6187
6187
|
return input;
|
|
6188
6188
|
}
|
|
6189
|
-
const select$
|
|
6189
|
+
const select$2Q = function RecordCollectionRepresentationSelect() {
|
|
6190
6190
|
return {
|
|
6191
6191
|
kind: 'Fragment',
|
|
6192
|
-
version: VERSION$
|
|
6192
|
+
version: VERSION$2i,
|
|
6193
6193
|
private: [],
|
|
6194
6194
|
selections: [
|
|
6195
6195
|
{
|
|
@@ -6224,7 +6224,7 @@ const select$2P = function RecordCollectionRepresentationSelect() {
|
|
|
6224
6224
|
name: 'records',
|
|
6225
6225
|
kind: 'Link',
|
|
6226
6226
|
plural: true,
|
|
6227
|
-
fragment: select$
|
|
6227
|
+
fragment: select$2P()
|
|
6228
6228
|
}
|
|
6229
6229
|
]
|
|
6230
6230
|
};
|
|
@@ -6286,7 +6286,7 @@ const ingest$1R = function RecordCollectionRepresentationIngest(input, path, luv
|
|
|
6286
6286
|
}
|
|
6287
6287
|
const key = path.fullPath;
|
|
6288
6288
|
const ttlToUse = TTL$C;
|
|
6289
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$M, "UiApi", VERSION$
|
|
6289
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$M, "UiApi", VERSION$2i, RepresentationType$U, equals$_);
|
|
6290
6290
|
return createLink$1(key);
|
|
6291
6291
|
};
|
|
6292
6292
|
function getTypeCacheKeys$1U(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6314,7 +6314,7 @@ const keyBuilderFromType$z = function RecordRepresentationKeyBuilderFromType(luv
|
|
|
6314
6314
|
};
|
|
6315
6315
|
|
|
6316
6316
|
const TTL$B = 30000;
|
|
6317
|
-
const VERSION$
|
|
6317
|
+
const VERSION$2h = "98c5b18512e48ca8d28727549507e4ba";
|
|
6318
6318
|
function validate$1z(obj, path = 'RecordRepresentation') {
|
|
6319
6319
|
const v_error = (() => {
|
|
6320
6320
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -6557,11 +6557,11 @@ function dynamicNormalize$5(ingestParams) {
|
|
|
6557
6557
|
return input;
|
|
6558
6558
|
};
|
|
6559
6559
|
}
|
|
6560
|
-
const select$
|
|
6561
|
-
const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$
|
|
6560
|
+
const select$2P = function RecordRepresentationSelect() {
|
|
6561
|
+
const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$2S();
|
|
6562
6562
|
return {
|
|
6563
6563
|
kind: 'Fragment',
|
|
6564
|
-
version: VERSION$
|
|
6564
|
+
version: VERSION$2h,
|
|
6565
6565
|
private: [
|
|
6566
6566
|
'eTag',
|
|
6567
6567
|
'weakEtag'
|
|
@@ -6575,13 +6575,13 @@ const select$2O = function RecordRepresentationSelect() {
|
|
|
6575
6575
|
name: 'childRelationships',
|
|
6576
6576
|
kind: 'Link',
|
|
6577
6577
|
map: true,
|
|
6578
|
-
fragment: select$
|
|
6578
|
+
fragment: select$2Q()
|
|
6579
6579
|
},
|
|
6580
6580
|
{
|
|
6581
6581
|
name: 'fields',
|
|
6582
6582
|
kind: 'Link',
|
|
6583
6583
|
map: true,
|
|
6584
|
-
fragment: select$
|
|
6584
|
+
fragment: select$2R()
|
|
6585
6585
|
},
|
|
6586
6586
|
{
|
|
6587
6587
|
name: 'id',
|
|
@@ -6617,18 +6617,18 @@ const dynamicSelect$8 = function dynamicRecordRepresentationSelect(params) {
|
|
|
6617
6617
|
name: 'childRelationships',
|
|
6618
6618
|
kind: 'Link',
|
|
6619
6619
|
map: true,
|
|
6620
|
-
fragment: select$
|
|
6620
|
+
fragment: select$2Q()
|
|
6621
6621
|
} : params.childRelationships;
|
|
6622
6622
|
const fieldsPathSelection = params.fields === undefined ? {
|
|
6623
6623
|
name: 'fields',
|
|
6624
6624
|
kind: 'Link',
|
|
6625
6625
|
map: true,
|
|
6626
|
-
fragment: select$
|
|
6626
|
+
fragment: select$2R()
|
|
6627
6627
|
} : params.fields;
|
|
6628
|
-
const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$
|
|
6628
|
+
const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$2S();
|
|
6629
6629
|
return {
|
|
6630
6630
|
kind: 'Fragment',
|
|
6631
|
-
version: VERSION$
|
|
6631
|
+
version: VERSION$2h,
|
|
6632
6632
|
private: [
|
|
6633
6633
|
'eTag',
|
|
6634
6634
|
'weakEtag'
|
|
@@ -8107,7 +8107,7 @@ function createPathSelection(propertyName, fieldDefinition) {
|
|
|
8107
8107
|
kind: 'Fragment',
|
|
8108
8108
|
private: ['eTag', 'weakEtag'],
|
|
8109
8109
|
selections: createRecordSelection(childFieldDefinition),
|
|
8110
|
-
version: VERSION$
|
|
8110
|
+
version: VERSION$2h,
|
|
8111
8111
|
},
|
|
8112
8112
|
};
|
|
8113
8113
|
}
|
|
@@ -8117,7 +8117,7 @@ function createPathSelection(propertyName, fieldDefinition) {
|
|
|
8117
8117
|
required: childFieldDefinition.optional === true ? false : undefined,
|
|
8118
8118
|
fragment: {
|
|
8119
8119
|
kind: 'Fragment',
|
|
8120
|
-
version: VERSION$
|
|
8120
|
+
version: VERSION$2j,
|
|
8121
8121
|
private: [],
|
|
8122
8122
|
selections: [DISPLAY_VALUE_SELECTION, fieldValueSelection],
|
|
8123
8123
|
},
|
|
@@ -8880,7 +8880,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
8880
8880
|
ttl: TTL$B,
|
|
8881
8881
|
representationName: RepresentationType$T,
|
|
8882
8882
|
namespace: keyPrefix,
|
|
8883
|
-
version: VERSION$
|
|
8883
|
+
version: VERSION$2h,
|
|
8884
8884
|
});
|
|
8885
8885
|
return createLink$1(key);
|
|
8886
8886
|
};
|
|
@@ -8987,7 +8987,7 @@ function getResponseCacheKeys$Z(storeKeyMap, luvio, resourceParams, response) {
|
|
|
8987
8987
|
function createResourceRequest$15(config) {
|
|
8988
8988
|
const headers = {};
|
|
8989
8989
|
return {
|
|
8990
|
-
baseUri: '/services/data/
|
|
8990
|
+
baseUri: '/services/data/v60.0',
|
|
8991
8991
|
basePath: '/ui-api/records/' + config.urlParams.recordId + '',
|
|
8992
8992
|
method: 'get',
|
|
8993
8993
|
body: null,
|
|
@@ -9018,7 +9018,7 @@ function buildRecordSelector(luvio, recordId, fields, optionalFields) {
|
|
|
9018
9018
|
kind: 'Fragment',
|
|
9019
9019
|
private: ['eTag', 'weakEtag'],
|
|
9020
9020
|
selections: buildSelectionFromFields(fields, optionalFields),
|
|
9021
|
-
version: VERSION$
|
|
9021
|
+
version: VERSION$2h,
|
|
9022
9022
|
},
|
|
9023
9023
|
variables: {},
|
|
9024
9024
|
};
|
|
@@ -9103,7 +9103,7 @@ function isSingleBatchRecordResponse(response) {
|
|
|
9103
9103
|
response.results.length === 1);
|
|
9104
9104
|
}
|
|
9105
9105
|
|
|
9106
|
-
const VERSION$
|
|
9106
|
+
const VERSION$2g = "98cce53b8d13b1883d001bbdaab24383";
|
|
9107
9107
|
|
|
9108
9108
|
const nonCachedErrors$7 = ObjectCreate$1(null);
|
|
9109
9109
|
function ingestSuccessChildResourceParams$6(luvio, childResourceParamsArray, childEnvelopes, serverRequestCount = 0) {
|
|
@@ -9204,7 +9204,7 @@ function selectChildResourceParams$7(luvio, childResources, resourceParams) {
|
|
|
9204
9204
|
node: {
|
|
9205
9205
|
kind: 'Fragment',
|
|
9206
9206
|
private: [],
|
|
9207
|
-
version: VERSION$
|
|
9207
|
+
version: VERSION$2g,
|
|
9208
9208
|
},
|
|
9209
9209
|
variables: {},
|
|
9210
9210
|
});
|
|
@@ -9362,7 +9362,7 @@ function ingestError$K(luvio, params, error, snapshotRefresh) {
|
|
|
9362
9362
|
function createResourceRequest$14(config) {
|
|
9363
9363
|
const headers = {};
|
|
9364
9364
|
return {
|
|
9365
|
-
baseUri: '/services/data/
|
|
9365
|
+
baseUri: '/services/data/v60.0',
|
|
9366
9366
|
basePath: '/ui-api/records/batch/' + config.urlParams.recordIds + '',
|
|
9367
9367
|
method: 'get',
|
|
9368
9368
|
body: null,
|
|
@@ -9631,6 +9631,27 @@ ObjectCreate$1(null);
|
|
|
9631
9631
|
|
|
9632
9632
|
ObjectCreate$1(null);
|
|
9633
9633
|
|
|
9634
|
+
const VERSION$1O = "8d2032474fb4fabdf5cf4042be9042d9";
|
|
9635
|
+
const select$1$ = function WorkStepPicklistValueAttributeRepresentationSelect() {
|
|
9636
|
+
const { selections: AbstractPicklistValueAttributesRepresentationSelections } = select$1X();
|
|
9637
|
+
return {
|
|
9638
|
+
kind: 'Fragment',
|
|
9639
|
+
version: VERSION$1O,
|
|
9640
|
+
private: [],
|
|
9641
|
+
selections: [
|
|
9642
|
+
...AbstractPicklistValueAttributesRepresentationSelections,
|
|
9643
|
+
{
|
|
9644
|
+
name: 'sortOrder',
|
|
9645
|
+
kind: 'Scalar'
|
|
9646
|
+
},
|
|
9647
|
+
{
|
|
9648
|
+
name: 'statusCode',
|
|
9649
|
+
kind: 'Scalar'
|
|
9650
|
+
}
|
|
9651
|
+
]
|
|
9652
|
+
};
|
|
9653
|
+
};
|
|
9654
|
+
|
|
9634
9655
|
const VERSION$1N = "53893a219bc0888951863f2c44317cac";
|
|
9635
9656
|
const select$1_ = function LeadStatusPicklistValueAttributesRepresentationSelect() {
|
|
9636
9657
|
const { selections: AbstractPicklistValueAttributesRepresentationSelections } = select$1X();
|
|
@@ -9696,12 +9717,14 @@ const select$1Y = function OpportunityStagePicklistValueAttributesRepresentation
|
|
|
9696
9717
|
|
|
9697
9718
|
var DiscriminatorValues$3;
|
|
9698
9719
|
(function (DiscriminatorValues) {
|
|
9720
|
+
DiscriminatorValues["WorkStepStatus"] = "WorkStepStatus";
|
|
9699
9721
|
DiscriminatorValues["LeadStatus"] = "LeadStatus";
|
|
9700
9722
|
DiscriminatorValues["CaseStatus"] = "CaseStatus";
|
|
9701
9723
|
DiscriminatorValues["OpportunityStage"] = "OpportunityStage";
|
|
9702
9724
|
})(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
|
|
9703
9725
|
const VERSION$1K = "bd523b2343366edfc25a2dbee2c4e986";
|
|
9704
9726
|
const selectChildren$3 = function AbstractPicklistValueAttributesRepresentationSelectChildren() {
|
|
9727
|
+
const workStepPicklistValueAttributeRepresentationSelections = select$1$();
|
|
9705
9728
|
const leadStatusPicklistValueAttributesRepresentationSelections = select$1_();
|
|
9706
9729
|
const caseStatusPicklistValueAttributesRepresentationSelections = select$1Z();
|
|
9707
9730
|
const opportunityStagePicklistValueAttributesRepresentationSelections = select$1Y();
|
|
@@ -9710,6 +9733,7 @@ const selectChildren$3 = function AbstractPicklistValueAttributesRepresentationS
|
|
|
9710
9733
|
union: true,
|
|
9711
9734
|
discriminator: 'picklistAtrributesValueType',
|
|
9712
9735
|
unionSelections: {
|
|
9736
|
+
[DiscriminatorValues$3.WorkStepStatus]: workStepPicklistValueAttributeRepresentationSelections,
|
|
9713
9737
|
[DiscriminatorValues$3.LeadStatus]: leadStatusPicklistValueAttributesRepresentationSelections,
|
|
9714
9738
|
[DiscriminatorValues$3.CaseStatus]: caseStatusPicklistValueAttributesRepresentationSelections,
|
|
9715
9739
|
[DiscriminatorValues$3.OpportunityStage]: opportunityStagePicklistValueAttributesRepresentationSelections
|
package/dist/adsBridge.js
CHANGED