@salesforce/lds-ads-bridge 1.256.0 → 1.257.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.
@@ -478,7 +478,7 @@ const callbacks$1 = [];
478
478
  function register(r) {
479
479
  callbacks$1.forEach((callback) => callback(r));
480
480
  }
481
- // version: 1.256.0-ad6a66c18
481
+ // version: 1.257.0-236dcdea5
482
482
 
483
483
  /**
484
484
  * Returns true if the value acts like a Promise, i.e. has a "then" function,
@@ -4919,8 +4919,8 @@ function toSortedStringArray(value) {
4919
4919
  return undefined;
4920
4920
  }
4921
4921
 
4922
- const VERSION$2i = "d1e589a127fb1060c89070cdb6f500b2";
4923
- function validate$1O(obj, path = 'RecordTypeInfoRepresentation') {
4922
+ const VERSION$2j = "d1e589a127fb1060c89070cdb6f500b2";
4923
+ function validate$1Q(obj, path = 'RecordTypeInfoRepresentation') {
4924
4924
  const v_error = (() => {
4925
4925
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4926
4926
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4953,10 +4953,10 @@ function validate$1O(obj, path = 'RecordTypeInfoRepresentation') {
4953
4953
  })();
4954
4954
  return v_error === undefined ? null : v_error;
4955
4955
  }
4956
- const select$2V = function RecordTypeInfoRepresentationSelect() {
4956
+ const select$2X = function RecordTypeInfoRepresentationSelect() {
4957
4957
  return {
4958
4958
  kind: 'Fragment',
4959
- version: VERSION$2i,
4959
+ version: VERSION$2j,
4960
4960
  private: [],
4961
4961
  selections: [
4962
4962
  {
@@ -4982,7 +4982,7 @@ const select$2V = function RecordTypeInfoRepresentationSelect() {
4982
4982
  ]
4983
4983
  };
4984
4984
  };
4985
- function equals$13(existing, incoming) {
4985
+ function equals$14(existing, incoming) {
4986
4986
  const existing_available = existing.available;
4987
4987
  const incoming_available = incoming.available;
4988
4988
  if (!(existing_available === incoming_available)) {
@@ -5011,8 +5011,8 @@ function equals$13(existing, incoming) {
5011
5011
  return true;
5012
5012
  }
5013
5013
 
5014
- const VERSION$2h = "195d918987a35f45e1aa4dce9a11d8c5";
5015
- function validate$1N(obj, path = 'FieldValueRepresentation') {
5014
+ const VERSION$2i = "195d918987a35f45e1aa4dce9a11d8c5";
5015
+ function validate$1P(obj, path = 'FieldValueRepresentation') {
5016
5016
  const v_error = (() => {
5017
5017
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5018
5018
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5102,11 +5102,11 @@ function validate$1N(obj, path = 'FieldValueRepresentation') {
5102
5102
  })();
5103
5103
  return v_error === undefined ? null : v_error;
5104
5104
  }
5105
- const RepresentationType$Y = 'FieldValueRepresentation';
5106
- const select$2U = function FieldValueRepresentationSelect() {
5105
+ const RepresentationType$Z = 'FieldValueRepresentation';
5106
+ const select$2W = function FieldValueRepresentationSelect() {
5107
5107
  return {
5108
5108
  kind: 'Fragment',
5109
- version: VERSION$2h,
5109
+ version: VERSION$2i,
5110
5110
  private: [],
5111
5111
  selections: [
5112
5112
  {
@@ -5117,12 +5117,12 @@ const select$2U = function FieldValueRepresentationSelect() {
5117
5117
  name: 'value',
5118
5118
  kind: 'Link',
5119
5119
  nullable: true,
5120
- fragment: select$2S()
5120
+ fragment: select$2U()
5121
5121
  }
5122
5122
  ]
5123
5123
  };
5124
5124
  };
5125
- function equals$12(existing, incoming) {
5125
+ function equals$13(existing, incoming) {
5126
5126
  const existing_displayValue = existing.displayValue;
5127
5127
  const incoming_displayValue = incoming.displayValue;
5128
5128
  if (!(existing_displayValue === incoming_displayValue)) {
@@ -5140,26 +5140,26 @@ function equals$12(existing, incoming) {
5140
5140
  }
5141
5141
  return true;
5142
5142
  }
5143
- function getTypeCacheKeys$1Y(rootKeySet, luvio, input, fullPathFactory) {
5143
+ function getTypeCacheKeys$1Z(rootKeySet, luvio, input, fullPathFactory) {
5144
5144
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5145
5145
  const rootKey = fullPathFactory();
5146
5146
  rootKeySet.set(rootKey, {
5147
5147
  namespace: keyPrefix,
5148
- representationName: RepresentationType$Y,
5148
+ representationName: RepresentationType$Z,
5149
5149
  mergeable: false
5150
5150
  });
5151
5151
  if (input.value !== null && typeof input.value === 'object') {
5152
- getTypeCacheKeys$1X(rootKeySet, luvio, input.value);
5152
+ getTypeCacheKeys$1Y(rootKeySet, luvio, input.value);
5153
5153
  }
5154
5154
  }
5155
5155
 
5156
5156
  // we override the generated so we can set "mergeable: true" on the root key
5157
- const getTypeCacheKeys$1X = (rootKeySet, luvio, input, _fullPathFactory) => {
5157
+ const getTypeCacheKeys$1Y = (rootKeySet, luvio, input, _fullPathFactory) => {
5158
5158
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5159
5159
  const rootKey = keyBuilderFromType$A(luvio, input);
5160
5160
  rootKeySet.set(rootKey, {
5161
5161
  namespace: keyPrefix,
5162
- representationName: RepresentationType$W,
5162
+ representationName: RepresentationType$X,
5163
5163
  mergeable: true,
5164
5164
  });
5165
5165
  const input_childRelationships = input.childRelationships;
@@ -5167,21 +5167,21 @@ const getTypeCacheKeys$1X = (rootKeySet, luvio, input, _fullPathFactory) => {
5167
5167
  const input_childRelationships_length = input_childRelationships_keys.length;
5168
5168
  for (let i = 0; i < input_childRelationships_length; i++) {
5169
5169
  const key = input_childRelationships_keys[i];
5170
- getTypeCacheKeys$1W(rootKeySet, luvio, input_childRelationships[key], () => rootKey + '__childRelationships' + '__' + key);
5170
+ getTypeCacheKeys$1X(rootKeySet, luvio, input_childRelationships[key], () => rootKey + '__childRelationships' + '__' + key);
5171
5171
  }
5172
5172
  const input_fields = input.fields;
5173
5173
  const input_fields_keys = keys$1(input_fields);
5174
5174
  const input_fields_length = input_fields_keys.length;
5175
5175
  for (let i = 0; i < input_fields_length; i++) {
5176
5176
  const key = input_fields_keys[i];
5177
- getTypeCacheKeys$1Y(rootKeySet, luvio, input_fields[key], () => rootKey + '__fields__' + key);
5177
+ getTypeCacheKeys$1Z(rootKeySet, luvio, input_fields[key], () => rootKey + '__fields__' + key);
5178
5178
  }
5179
5179
  return rootKeySet;
5180
5180
  };
5181
5181
 
5182
- const TTL$D = 120000;
5183
- const VERSION$2g = "79cb5ac9f44542f683d00245fdfe500d";
5184
- function validate$1M(obj, path = 'RecordCollectionRepresentation') {
5182
+ const TTL$E = 120000;
5183
+ const VERSION$2h = "79cb5ac9f44542f683d00245fdfe500d";
5184
+ function validate$1O(obj, path = 'RecordCollectionRepresentation') {
5185
5185
  const v_error = (() => {
5186
5186
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5187
5187
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5341,14 +5341,14 @@ function validate$1M(obj, path = 'RecordCollectionRepresentation') {
5341
5341
  })();
5342
5342
  return v_error === undefined ? null : v_error;
5343
5343
  }
5344
- const RepresentationType$X = 'RecordCollectionRepresentation';
5345
- function normalize$P(input, existing, path, luvio, store, timestamp) {
5344
+ const RepresentationType$Y = 'RecordCollectionRepresentation';
5345
+ function normalize$Q(input, existing, path, luvio, store, timestamp) {
5346
5346
  const input_records = input.records;
5347
5347
  const input_records_id = path.fullPath + '__records';
5348
5348
  for (let i = 0; i < input_records.length; i++) {
5349
5349
  const input_records_item = input_records[i];
5350
5350
  let input_records_item_id = input_records_id + '__' + i;
5351
- input_records[i] = ingest$1S(input_records_item, {
5351
+ input_records[i] = ingest$1T(input_records_item, {
5352
5352
  fullPath: input_records_item_id,
5353
5353
  propertyName: i,
5354
5354
  parent: {
@@ -5361,10 +5361,10 @@ function normalize$P(input, existing, path, luvio, store, timestamp) {
5361
5361
  }
5362
5362
  return input;
5363
5363
  }
5364
- const select$2T = function RecordCollectionRepresentationSelect() {
5364
+ const select$2V = function RecordCollectionRepresentationSelect() {
5365
5365
  return {
5366
5366
  kind: 'Fragment',
5367
- version: VERSION$2g,
5367
+ version: VERSION$2h,
5368
5368
  private: [],
5369
5369
  selections: [
5370
5370
  {
@@ -5399,12 +5399,12 @@ const select$2T = function RecordCollectionRepresentationSelect() {
5399
5399
  name: 'records',
5400
5400
  kind: 'Link',
5401
5401
  plural: true,
5402
- fragment: select$2S()
5402
+ fragment: select$2U()
5403
5403
  }
5404
5404
  ]
5405
5405
  };
5406
5406
  };
5407
- function equals$11(existing, incoming) {
5407
+ function equals$12(existing, incoming) {
5408
5408
  const existing_count = existing.count;
5409
5409
  const incoming_count = incoming.count;
5410
5410
  if (!(existing_count === incoming_count)) {
@@ -5452,29 +5452,29 @@ function equals$11(existing, incoming) {
5452
5452
  }
5453
5453
  return true;
5454
5454
  }
5455
- const ingest$1T = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
5455
+ const ingest$1U = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
5456
5456
  if (process.env.NODE_ENV !== 'production') {
5457
- const validateError = validate$1M(input);
5457
+ const validateError = validate$1O(input);
5458
5458
  if (validateError !== null) {
5459
5459
  throw validateError;
5460
5460
  }
5461
5461
  }
5462
5462
  const key = path.fullPath;
5463
- const ttlToUse = TTL$D;
5464
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$P, "UiApi", VERSION$2g, RepresentationType$X, equals$11);
5463
+ const ttlToUse = TTL$E;
5464
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$Q, "UiApi", VERSION$2h, RepresentationType$Y, equals$12);
5465
5465
  return createLink$1(key);
5466
5466
  };
5467
- function getTypeCacheKeys$1W(rootKeySet, luvio, input, fullPathFactory) {
5467
+ function getTypeCacheKeys$1X(rootKeySet, luvio, input, fullPathFactory) {
5468
5468
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5469
5469
  const rootKey = fullPathFactory();
5470
5470
  rootKeySet.set(rootKey, {
5471
5471
  namespace: keyPrefix,
5472
- representationName: RepresentationType$X,
5472
+ representationName: RepresentationType$Y,
5473
5473
  mergeable: false
5474
5474
  });
5475
5475
  const input_records_length = input.records.length;
5476
5476
  for (let i = 0; i < input_records_length; i++) {
5477
- getTypeCacheKeys$1X(rootKeySet, luvio, input.records[i]);
5477
+ getTypeCacheKeys$1Y(rootKeySet, luvio, input.records[i]);
5478
5478
  }
5479
5479
  }
5480
5480
 
@@ -5488,9 +5488,9 @@ const keyBuilderFromType$B = function RecordRepresentationKeyBuilderFromType(luv
5488
5488
  return keyBuilderFromType$A(luvio, object);
5489
5489
  };
5490
5490
 
5491
- const TTL$C = 30000;
5492
- const VERSION$2f = "98c5b18512e48ca8d28727549507e4ba";
5493
- function validate$1L(obj, path = 'RecordRepresentation') {
5491
+ const TTL$D = 30000;
5492
+ const VERSION$2g = "98c5b18512e48ca8d28727549507e4ba";
5493
+ function validate$1N(obj, path = 'RecordRepresentation') {
5494
5494
  const v_error = (() => {
5495
5495
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5496
5496
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5620,7 +5620,7 @@ function validate$1L(obj, path = 'RecordRepresentation') {
5620
5620
  const path_recordTypeInfo = path + '.recordTypeInfo';
5621
5621
  let obj_recordTypeInfo_union0 = null;
5622
5622
  const obj_recordTypeInfo_union0_error = (() => {
5623
- const referencepath_recordTypeInfoValidationError = validate$1O(obj_recordTypeInfo, path_recordTypeInfo);
5623
+ const referencepath_recordTypeInfoValidationError = validate$1Q(obj_recordTypeInfo, path_recordTypeInfo);
5624
5624
  if (referencepath_recordTypeInfoValidationError !== null) {
5625
5625
  let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
5626
5626
  message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5679,15 +5679,15 @@ function validate$1L(obj, path = 'RecordRepresentation') {
5679
5679
  })();
5680
5680
  return v_error === undefined ? null : v_error;
5681
5681
  }
5682
- const RepresentationType$W = 'RecordRepresentation';
5683
- function keyBuilder$3a(luvio, config) {
5684
- return keyPrefix + '::' + RepresentationType$W + ':' + config.recordId;
5682
+ const RepresentationType$X = 'RecordRepresentation';
5683
+ function keyBuilder$3c(luvio, config) {
5684
+ return keyPrefix + '::' + RepresentationType$X + ':' + config.recordId;
5685
5685
  }
5686
5686
  function keyBuilderFromType$A(luvio, object) {
5687
5687
  const keyParams = {
5688
5688
  recordId: object.id
5689
5689
  };
5690
- return keyBuilder$3a(luvio, keyParams);
5690
+ return keyBuilder$3c(luvio, keyParams);
5691
5691
  }
5692
5692
  function dynamicNormalize$5(ingestParams) {
5693
5693
  return function normalize_dynamic(input, existing, path, luvio, store, timestamp) {
@@ -5732,11 +5732,11 @@ function dynamicNormalize$5(ingestParams) {
5732
5732
  return input;
5733
5733
  };
5734
5734
  }
5735
- const select$2S = function RecordRepresentationSelect() {
5736
- const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$2V();
5735
+ const select$2U = function RecordRepresentationSelect() {
5736
+ const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$2X();
5737
5737
  return {
5738
5738
  kind: 'Fragment',
5739
- version: VERSION$2f,
5739
+ version: VERSION$2g,
5740
5740
  private: [
5741
5741
  'eTag',
5742
5742
  'weakEtag'
@@ -5750,13 +5750,13 @@ const select$2S = function RecordRepresentationSelect() {
5750
5750
  name: 'childRelationships',
5751
5751
  kind: 'Link',
5752
5752
  map: true,
5753
- fragment: select$2T()
5753
+ fragment: select$2V()
5754
5754
  },
5755
5755
  {
5756
5756
  name: 'fields',
5757
5757
  kind: 'Link',
5758
5758
  map: true,
5759
- fragment: select$2U()
5759
+ fragment: select$2W()
5760
5760
  },
5761
5761
  {
5762
5762
  name: 'id',
@@ -5792,18 +5792,18 @@ const dynamicSelect$8 = function dynamicRecordRepresentationSelect(params) {
5792
5792
  name: 'childRelationships',
5793
5793
  kind: 'Link',
5794
5794
  map: true,
5795
- fragment: select$2T()
5795
+ fragment: select$2V()
5796
5796
  } : params.childRelationships;
5797
5797
  const fieldsPathSelection = params.fields === undefined ? {
5798
5798
  name: 'fields',
5799
5799
  kind: 'Link',
5800
5800
  map: true,
5801
- fragment: select$2U()
5801
+ fragment: select$2W()
5802
5802
  } : params.fields;
5803
- const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$2V();
5803
+ const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$2X();
5804
5804
  return {
5805
5805
  kind: 'Fragment',
5806
- version: VERSION$2f,
5806
+ version: VERSION$2g,
5807
5807
  private: [
5808
5808
  'eTag',
5809
5809
  'weakEtag'
@@ -5844,7 +5844,7 @@ const dynamicSelect$8 = function dynamicRecordRepresentationSelect(params) {
5844
5844
  ]
5845
5845
  };
5846
5846
  };
5847
- function equals$10(existing, incoming) {
5847
+ function equals$11(existing, incoming) {
5848
5848
  const existing_weakEtag = existing.weakEtag;
5849
5849
  const incoming_weakEtag = incoming.weakEtag;
5850
5850
  if (!(existing_weakEtag === incoming_weakEtag)) {
@@ -5905,7 +5905,7 @@ function equals$10(existing, incoming) {
5905
5905
  if (!(existing_recordTypeInfo === incoming_recordTypeInfo
5906
5906
  || (existing_recordTypeInfo != null &&
5907
5907
  incoming_recordTypeInfo != null &&
5908
- equals$13(existing_recordTypeInfo, incoming_recordTypeInfo)))) {
5908
+ equals$14(existing_recordTypeInfo, incoming_recordTypeInfo)))) {
5909
5909
  return false;
5910
5910
  }
5911
5911
  const existing_systemModstamp = existing.systemModstamp;
@@ -7282,7 +7282,7 @@ function createPathSelection(propertyName, fieldDefinition) {
7282
7282
  kind: 'Fragment',
7283
7283
  private: ['eTag', 'weakEtag'],
7284
7284
  selections: createRecordSelection(childFieldDefinition),
7285
- version: VERSION$2f,
7285
+ version: VERSION$2g,
7286
7286
  },
7287
7287
  };
7288
7288
  }
@@ -7292,7 +7292,7 @@ function createPathSelection(propertyName, fieldDefinition) {
7292
7292
  required: childFieldDefinition.optional === true ? false : undefined,
7293
7293
  fragment: {
7294
7294
  kind: 'Fragment',
7295
- version: VERSION$2h,
7295
+ version: VERSION$2i,
7296
7296
  private: [],
7297
7297
  selections: [DISPLAY_VALUE_SELECTION, fieldValueSelection],
7298
7298
  },
@@ -7374,7 +7374,7 @@ const RECORD_REPRESENTATION_ERROR_VERSION = 'RECORD_REPRESENTATION_ERROR_VERSION
7374
7374
  const RECORD_REPRESENTATION_ERROR_STORE_METADATA_PARAMS = {
7375
7375
  representationName: '',
7376
7376
  namespace: keyPrefix,
7377
- ttl: TTL$C,
7377
+ ttl: TTL$D,
7378
7378
  version: RECORD_REPRESENTATION_ERROR_VERSION,
7379
7379
  };
7380
7380
  function isGraphNode$1(node) {
@@ -7752,7 +7752,7 @@ function mergeAndRefreshLowerVersionRecord(luvio, incoming, existing, incomingTr
7752
7752
  };
7753
7753
  }
7754
7754
  else {
7755
- buildNetworkSnapshot$17(luvio, {
7755
+ buildNetworkSnapshot$18(luvio, {
7756
7756
  recordId: incoming.id,
7757
7757
  optionalFields: convertTrieToFields(incomingTrackedFieldsTrieRoot),
7758
7758
  });
@@ -7762,7 +7762,7 @@ function mergeAndRefreshLowerVersionRecord(luvio, incoming, existing, incomingTr
7762
7762
  return existing;
7763
7763
  }
7764
7764
  function mergeRecordConflict(luvio, incoming, existing, recordConflictMap) {
7765
- const recordKey = keyBuilder$3a(luvio, {
7765
+ const recordKey = keyBuilder$3c(luvio, {
7766
7766
  recordId: incoming.id,
7767
7767
  });
7768
7768
  const incomingNode = luvio.wrapNormalizedGraphNode(incoming, recordKey);
@@ -7917,7 +7917,7 @@ function fixDisplayValue(existing, incoming, path) {
7917
7917
  }
7918
7918
  }
7919
7919
 
7920
- function normalize$O(input, existing, path, luvio, store, timestamp, fieldsTrie, optionalFieldsTrie, recordConflictMap) {
7920
+ function normalize$P(input, existing, path, luvio, store, timestamp, fieldsTrie, optionalFieldsTrie, recordConflictMap) {
7921
7921
  const input_value = input.value;
7922
7922
  const input_value_id = path.fullPath + '__value';
7923
7923
  if (input_value !== null && typeof input_value === 'object') {
@@ -7938,14 +7938,14 @@ function normalize$O(input, existing, path, luvio, store, timestamp, fieldsTrie,
7938
7938
  function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
7939
7939
  return (input, path, luvio, store, timestamp) => {
7940
7940
  if (process.env.NODE_ENV !== 'production') {
7941
- const validateError = validate$1N(input);
7941
+ const validateError = validate$1P(input);
7942
7942
  if (validateError !== null) {
7943
7943
  throw validateError;
7944
7944
  }
7945
7945
  }
7946
7946
  const key = path.fullPath;
7947
7947
  let existingRecord = store.readEntry(key);
7948
- let incomingRecord = normalize$O(input, store.readEntry(key), {
7948
+ let incomingRecord = normalize$P(input, store.readEntry(key), {
7949
7949
  fullPath: key,
7950
7950
  parent: path.parent,
7951
7951
  propertyName: path.propertyName,
@@ -7953,7 +7953,7 @@ function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
7953
7953
  // read again after children ingested in case of a circular ref
7954
7954
  existingRecord = store.readEntry(key);
7955
7955
  incomingRecord = merge$2(existingRecord, incomingRecord, luvio, path);
7956
- if (existingRecord === undefined || equals$12(existingRecord, incomingRecord) === false) {
7956
+ if (existingRecord === undefined || equals$13(existingRecord, incomingRecord) === false) {
7957
7957
  luvio.storePublish(key, incomingRecord);
7958
7958
  }
7959
7959
  return createLink$1(key);
@@ -8023,7 +8023,7 @@ function createFieldsIngestion(fieldsTrie, optionalFieldsTrie, recordConflictMap
8023
8023
  }
8024
8024
  function createChildRecordNormalize(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
8025
8025
  return dynamicNormalize$5({
8026
- childRelationships: ingest$1T,
8026
+ childRelationships: ingest$1U,
8027
8027
  fields: createFieldsIngestion(fieldsTrie, optionalFieldsTrie, recordConflictMap),
8028
8028
  });
8029
8029
  }
@@ -8031,7 +8031,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
8031
8031
  const childNormalize = createChildRecordNormalize(fieldsTrie, optionalFieldsTrie, recordConflictMap);
8032
8032
  return (input, path, luvio, store, timestamp) => {
8033
8033
  if (process.env.NODE_ENV !== 'production') {
8034
- const validateError = validate$1L(input);
8034
+ const validateError = validate$1N(input);
8035
8035
  if (validateError !== null) {
8036
8036
  throw validateError;
8037
8037
  }
@@ -8049,17 +8049,17 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
8049
8049
  existingRecord = store.readEntry(key);
8050
8050
  incomingRecord = merge$3(existingRecord, incomingRecord, luvio, path, recordConflictMap);
8051
8051
  if (existingRecord === undefined ||
8052
- equals$10(existingRecord, incomingRecord) === false ||
8052
+ equals$11(existingRecord, incomingRecord) === false ||
8053
8053
  // always publish if existing record has drafts
8054
8054
  existingRecord.drafts !==
8055
8055
  undefined) {
8056
8056
  luvio.storePublish(key, incomingRecord);
8057
8057
  }
8058
8058
  luvio.publishStoreMetadata(key, {
8059
- ttl: TTL$C,
8060
- representationName: RepresentationType$W,
8059
+ ttl: TTL$D,
8060
+ representationName: RepresentationType$X,
8061
8061
  namespace: keyPrefix,
8062
- version: VERSION$2f,
8062
+ version: VERSION$2g,
8063
8063
  });
8064
8064
  return createLink$1(key);
8065
8065
  };
@@ -8148,22 +8148,22 @@ function isRestrictedPathCondition(existingPath, path) {
8148
8148
  (existingPath.includes('/records') && path.includes('/record-ui')));
8149
8149
  }
8150
8150
 
8151
- const createResourceRequest$1c = function getUiApiRecordsByRecordIdCreateResourceRequest(config) {
8151
+ const createResourceRequest$1d = function getUiApiRecordsByRecordIdCreateResourceRequest(config) {
8152
8152
  return {
8153
- ...createResourceRequest$1b(config),
8153
+ ...createResourceRequest$1c(config),
8154
8154
  fulfill: fulfill,
8155
8155
  };
8156
8156
  };
8157
8157
 
8158
- function keyBuilder$39(luvio, params) {
8159
- return keyBuilder$3a(luvio, {
8158
+ function keyBuilder$3b(luvio, params) {
8159
+ return keyBuilder$3c(luvio, {
8160
8160
  recordId: params.urlParams.recordId
8161
8161
  });
8162
8162
  }
8163
- function getResponseCacheKeys$13(storeKeyMap, luvio, resourceParams, response) {
8164
- getTypeCacheKeys$1X(storeKeyMap, luvio, response);
8163
+ function getResponseCacheKeys$14(storeKeyMap, luvio, resourceParams, response) {
8164
+ getTypeCacheKeys$1Y(storeKeyMap, luvio, response);
8165
8165
  }
8166
- function createResourceRequest$1b(config) {
8166
+ function createResourceRequest$1c(config) {
8167
8167
  const headers = {};
8168
8168
  return {
8169
8169
  baseUri: '/services/data/v60.0',
@@ -8187,17 +8187,17 @@ const getRecord_ConfigPropertyMetadata = [
8187
8187
  generateParamConfigMetadata('pageSize', false, 1 /* QueryParameter */, 3 /* Integer */),
8188
8188
  generateParamConfigMetadata('updateMru', false, 1 /* QueryParameter */, 1 /* Boolean */),
8189
8189
  ];
8190
- const createResourceParams$11 = /*#__PURE__*/ createResourceParams(getRecord_ConfigPropertyMetadata);
8190
+ const createResourceParams$12 = /*#__PURE__*/ createResourceParams(getRecord_ConfigPropertyMetadata);
8191
8191
 
8192
8192
  // used by getUiApiRecordsBatchByRecordIds#selectChildResourceParams
8193
8193
  function buildRecordSelector(luvio, recordId, fields, optionalFields) {
8194
8194
  return {
8195
- recordId: keyBuilder$3a(luvio, { recordId }),
8195
+ recordId: keyBuilder$3c(luvio, { recordId }),
8196
8196
  node: {
8197
8197
  kind: 'Fragment',
8198
8198
  private: ['eTag', 'weakEtag'],
8199
8199
  selections: buildSelectionFromFields(fields, optionalFields),
8200
- version: VERSION$2f,
8200
+ version: VERSION$2g,
8201
8201
  },
8202
8202
  variables: {},
8203
8203
  };
@@ -8205,27 +8205,27 @@ function buildRecordSelector(luvio, recordId, fields, optionalFields) {
8205
8205
  function buildSnapshotRefresh$5(luvio, config) {
8206
8206
  return {
8207
8207
  config,
8208
- resolve: () => buildNetworkSnapshot$17(luvio, config),
8208
+ resolve: () => buildNetworkSnapshot$18(luvio, config),
8209
8209
  };
8210
8210
  }
8211
8211
  function prepareRequest$6(luvio, config) {
8212
8212
  const { recordId, fields } = config;
8213
8213
  // Should this go into the coersion logic?
8214
- const key = keyBuilder$39(luvio, createResourceParams$11(config));
8214
+ const key = keyBuilder$3b(luvio, createResourceParams$12(config));
8215
8215
  const allTrackedFields = getTrackedFields(key, luvio.getNode(key), {
8216
8216
  maxDepth: configurationForRestAdapters.getTrackedFieldDepthOnCacheMiss(),
8217
8217
  onlyFetchLeafNodeIdAndName: configurationForRestAdapters.getTrackedFieldLeafNodeIdAndNameOnly(),
8218
8218
  }, config.optionalFields);
8219
8219
  const optionalFields = fields === undefined ? allTrackedFields : difference(allTrackedFields, fields);
8220
- const resourceParams = createResourceParams$11({
8220
+ const resourceParams = createResourceParams$12({
8221
8221
  recordId,
8222
8222
  fields,
8223
8223
  optionalFields: optionalFields.length > 0 ? optionalFields : undefined,
8224
8224
  });
8225
- const request = createResourceRequest$1c(resourceParams);
8225
+ const request = createResourceRequest$1d(resourceParams);
8226
8226
  return { request, key, allTrackedFields, resourceParams };
8227
8227
  }
8228
- function ingestSuccess$T(luvio, config, key, allTrackedFields, response, serverRequestCount) {
8228
+ function ingestSuccess$U(luvio, config, key, allTrackedFields, response, serverRequestCount) {
8229
8229
  const { body } = response;
8230
8230
  const fields = config.fields === undefined ? [] : config.fields;
8231
8231
  const optionalFields = config.optionalFields === undefined ? [] : config.optionalFields;
@@ -8239,19 +8239,19 @@ function ingestSuccess$T(luvio, config, key, allTrackedFields, response, serverR
8239
8239
  return luvio.storeLookup(buildRecordSelector(luvio, config.recordId, fields, optionalFields), buildSnapshotRefresh$5(luvio, config));
8240
8240
  }
8241
8241
  function onResourceSuccess(luvio, config, key, allTrackedFields, response, serverRequestCount) {
8242
- const snapshot = ingestSuccess$T(luvio, config, key, allTrackedFields, response, serverRequestCount);
8242
+ const snapshot = ingestSuccess$U(luvio, config, key, allTrackedFields, response, serverRequestCount);
8243
8243
  return luvio.storeBroadcast().then(() => snapshot);
8244
8244
  }
8245
- function ingestError$N(luvio, config, key, err) {
8245
+ function ingestError$O(luvio, config, key, err) {
8246
8246
  const errorSnapshot = luvio.errorSnapshot(err, buildSnapshotRefresh$5(luvio, config));
8247
8247
  luvio.storeIngestError(key, errorSnapshot, RECORD_REPRESENTATION_ERROR_STORE_METADATA_PARAMS);
8248
8248
  return errorSnapshot;
8249
8249
  }
8250
8250
  function onResourceError(luvio, config, key, err) {
8251
- const errorSnapshot = ingestError$N(luvio, config, key, err);
8251
+ const errorSnapshot = ingestError$O(luvio, config, key, err);
8252
8252
  return luvio.storeBroadcast().then(() => errorSnapshot);
8253
8253
  }
8254
- function buildNetworkSnapshot$17(luvio, config, serverRequestCount = 0, options) {
8254
+ function buildNetworkSnapshot$18(luvio, config, serverRequestCount = 0, options) {
8255
8255
  const { request, key, allTrackedFields, resourceParams } = prepareRequest$6(luvio, config);
8256
8256
  return luvio.dispatchResourceRequest(request, options).then((response) => {
8257
8257
  return luvio.handleSuccessResponse(() => {
@@ -8268,7 +8268,7 @@ function buildNetworkSnapshot$17(luvio, config, serverRequestCount = 0, options)
8268
8268
  return onResourceSuccess(luvio, config, key, allTrackedFields, response, serverRequestCount + 1);
8269
8269
  }, () => {
8270
8270
  const cache = new StoreKeyMap();
8271
- getResponseCacheKeys$13(cache, luvio, resourceParams, response.body);
8271
+ getResponseCacheKeys$14(cache, luvio, resourceParams, response.body);
8272
8272
  return cache;
8273
8273
  });
8274
8274
  }, (err) => {
@@ -8282,7 +8282,7 @@ function isSingleBatchRecordResponse(response) {
8282
8282
  response.results.length === 1);
8283
8283
  }
8284
8284
 
8285
- const VERSION$2e = "98cce53b8d13b1883d001bbdaab24383";
8285
+ const VERSION$2f = "98cce53b8d13b1883d001bbdaab24383";
8286
8286
 
8287
8287
  const nonCachedErrors$8 = ObjectCreate$1(null);
8288
8288
  function ingestSuccessChildResourceParams$9(luvio, childResourceParamsArray, childEnvelopes, serverRequestCount = 0) {
@@ -8292,7 +8292,7 @@ function ingestSuccessChildResourceParams$9(luvio, childResourceParamsArray, chi
8292
8292
  const now = Date.now();
8293
8293
  for (let index = 0, len = childResourceParamsArray.length; index < len; index += 1) {
8294
8294
  const childResourceParams = childResourceParamsArray[index];
8295
- const childKey = keyBuilder$39(luvio, childResourceParams);
8295
+ const childKey = keyBuilder$3b(luvio, childResourceParams);
8296
8296
  const result = childEnvelopes[index];
8297
8297
  const { statusCode: childStatusCode, result: childBody } = result;
8298
8298
  if (childStatusCode === 200) {
@@ -8307,7 +8307,7 @@ function ingestSuccessChildResourceParams$9(luvio, childResourceParamsArray, chi
8307
8307
  maxDepth: configurationForRestAdapters.getTrackedFieldDepthOnCacheMiss(),
8308
8308
  onlyFetchLeafNodeIdAndName: configurationForRestAdapters.getTrackedFieldLeafNodeIdAndNameOnly(),
8309
8309
  }, childResourceParams.queryParams.optionalFields);
8310
- const childSnapshot = ingestSuccess$T(luvio, {
8310
+ const childSnapshot = ingestSuccess$U(luvio, {
8311
8311
  recordId: childResourceParams.urlParams.recordId,
8312
8312
  fields: childResourceParams.queryParams.fields,
8313
8313
  optionalFields: childResourceParams.queryParams.optionalFields,
@@ -8333,7 +8333,7 @@ function ingestSuccessChildResourceParams$9(luvio, childResourceParamsArray, chi
8333
8333
  headers: {},
8334
8334
  errorType: 'fetchResponse',
8335
8335
  };
8336
- ingestError$N(luvio, {
8336
+ ingestError$O(luvio, {
8337
8337
  recordId: childResourceParams.urlParams.recordId,
8338
8338
  fields: childResourceParams.queryParams.fields,
8339
8339
  optionalFields: childResourceParams.queryParams.optionalFields,
@@ -8348,7 +8348,7 @@ function ingestSuccessChildResourceParams$9(luvio, childResourceParamsArray, chi
8348
8348
  // track non-cached responses so rebuilds work properly
8349
8349
  if (childStatusCode !== 404 && childStatusCode !== 200) {
8350
8350
  nonCachedErrors$8[childKey] = {
8351
- expiration: now + TTL$C,
8351
+ expiration: now + TTL$D,
8352
8352
  response: childBody,
8353
8353
  status: childStatusCode,
8354
8354
  };
@@ -8379,11 +8379,11 @@ function selectChildResourceParams$8(luvio, childResources, resourceParams) {
8379
8379
  read: (reader) => {
8380
8380
  // Top-level 404 lookup
8381
8381
  const compositeSnapshot = luvio.storeLookup({
8382
- recordId: keyBuilder$38(luvio, resourceParams),
8382
+ recordId: keyBuilder$3a(luvio, resourceParams),
8383
8383
  node: {
8384
8384
  kind: 'Fragment',
8385
8385
  private: [],
8386
- version: VERSION$2e,
8386
+ version: VERSION$2f,
8387
8387
  },
8388
8388
  variables: {},
8389
8389
  });
@@ -8403,7 +8403,7 @@ function selectChildResourceParams$8(luvio, childResources, resourceParams) {
8403
8403
  reader.enterPath(i);
8404
8404
  reader.enterPath(envelopeBodyPath);
8405
8405
  const childResource = childResources[i];
8406
- const childKey = keyBuilder$39(luvio, childResource);
8406
+ const childKey = keyBuilder$3b(luvio, childResource);
8407
8407
  const isMissingDataBeforeChildRead = reader.getIsDataMissing();
8408
8408
  const childSnapshot = reader.read(buildRecordSelector(luvio, childResource.urlParams.recordId, childResource.queryParams.fields || [], childResource.queryParams.optionalFields || []));
8409
8409
  reader.exitPath();
@@ -8503,10 +8503,10 @@ function createChildResourceParams$c(resourceParams) {
8503
8503
  }
8504
8504
  return childConfigs;
8505
8505
  }
8506
- function keyBuilder$38(luvio, params) {
8506
+ function keyBuilder$3a(luvio, params) {
8507
8507
  return keyPrefix + '::BatchRepresentation:(' + 'childRelationships:' + params.queryParams.childRelationships + ',' + 'fields:' + params.queryParams.fields + ',' + 'layoutTypes:' + params.queryParams.layoutTypes + ',' + 'modes:' + params.queryParams.modes + ',' + 'optionalFields:' + params.queryParams.optionalFields + ',' + 'pageSize:' + params.queryParams.pageSize + ',' + 'updateMru:' + params.queryParams.updateMru + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
8508
8508
  }
8509
- function getResponseCacheKeys$12(keys, luvio, resourceParams, response) {
8509
+ function getResponseCacheKeys$13(keys, luvio, resourceParams, response) {
8510
8510
  const childEnvelopes = response.results;
8511
8511
  const childResourceParamsArray = createChildResourceParams$c(resourceParams);
8512
8512
  if (process.env.NODE_ENV !== 'production') {
@@ -8520,25 +8520,25 @@ function getResponseCacheKeys$12(keys, luvio, resourceParams, response) {
8520
8520
  const childResult = childEnvelopes[index];
8521
8521
  const { statusCode: childStatusCode, result: childBody } = childResult;
8522
8522
  if (childStatusCode === 200) {
8523
- getResponseCacheKeys$13(keys, luvio, childResourceParams, childBody);
8523
+ getResponseCacheKeys$14(keys, luvio, childResourceParams, childBody);
8524
8524
  }
8525
8525
  else if (childStatusCode === 404) {
8526
- const childKey = keyBuilder$39(luvio, childResourceParams);
8526
+ const childKey = keyBuilder$3b(luvio, childResourceParams);
8527
8527
  keys.set(childKey, {
8528
8528
  namespace: keyPrefix,
8529
- representationName: RepresentationType$W,
8529
+ representationName: RepresentationType$X,
8530
8530
  mergeable: false
8531
8531
  });
8532
8532
  }
8533
8533
  }
8534
8534
  }
8535
- function ingestError$M(luvio, params, error, snapshotRefresh) {
8536
- const key = keyBuilder$38(luvio, params);
8535
+ function ingestError$N(luvio, params, error, snapshotRefresh) {
8536
+ const key = keyBuilder$3a(luvio, params);
8537
8537
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
8538
8538
  luvio.storeIngestError(key, errorSnapshot);
8539
8539
  return errorSnapshot;
8540
8540
  }
8541
- function createResourceRequest$1a(config) {
8541
+ function createResourceRequest$1b(config) {
8542
8542
  const headers = {};
8543
8543
  return {
8544
8544
  baseUri: '/services/data/v60.0',
@@ -8552,7 +8552,7 @@ function createResourceRequest$1a(config) {
8552
8552
  };
8553
8553
  }
8554
8554
 
8555
- function createResourceParams$10(config) {
8555
+ function createResourceParams$11(config) {
8556
8556
  const { records: configRecords } = config;
8557
8557
  const recordIds = [];
8558
8558
  const resourceConfigFields = [];
@@ -8604,13 +8604,13 @@ function createChildResourceParams$b(config) {
8604
8604
  return childResources;
8605
8605
  }
8606
8606
 
8607
- function adapterFragment$K(luvio, config) {
8607
+ function adapterFragment$L(luvio, config) {
8608
8608
  const childResources = createChildResourceParams$b(config);
8609
- const resourceParams = createResourceParams$10(config);
8609
+ const resourceParams = createResourceParams$11(config);
8610
8610
  return selectChildResourceParams$8(luvio, childResources, resourceParams);
8611
8611
  }
8612
8612
 
8613
- function onFetchResponseSuccess$O(luvio, config, resourceParams, response, serverRequestCount = 0) {
8613
+ function onFetchResponseSuccess$P(luvio, config, resourceParams, response, serverRequestCount = 0) {
8614
8614
  const childEnvelopes = response.body.results;
8615
8615
  const childResourceParamsArray = createChildResourceParams$b(config);
8616
8616
  if (process.env.NODE_ENV !== 'production') {
@@ -8622,7 +8622,7 @@ function onFetchResponseSuccess$O(luvio, config, resourceParams, response, serve
8622
8622
  }
8623
8623
  }
8624
8624
  const snapshotStateFulfilled = 'Fulfilled';
8625
- const key = keyBuilder$38(luvio, resourceParams);
8625
+ const key = keyBuilder$3a(luvio, resourceParams);
8626
8626
  const { childSnapshotData, seenRecords } = ingestSuccessChildResourceParams$9(luvio, childResourceParamsArray, childEnvelopes, serverRequestCount);
8627
8627
  const snapshot = {
8628
8628
  recordId: key,
@@ -8631,36 +8631,36 @@ function onFetchResponseSuccess$O(luvio, config, resourceParams, response, serve
8631
8631
  seenRecords: seenRecords,
8632
8632
  select: {
8633
8633
  recordId: key,
8634
- node: adapterFragment$K(luvio, config),
8634
+ node: adapterFragment$L(luvio, config),
8635
8635
  variables: {},
8636
8636
  },
8637
8637
  refresh: {
8638
8638
  config,
8639
- resolve: () => buildNetworkSnapshot$16(luvio, config, serverRequestCount, snapshotRefreshOptions),
8639
+ resolve: () => buildNetworkSnapshot$17(luvio, config, serverRequestCount, snapshotRefreshOptions),
8640
8640
  },
8641
8641
  variables: {},
8642
8642
  };
8643
8643
  return luvio.storeBroadcast().then(() => snapshot);
8644
8644
  }
8645
8645
 
8646
- function onFetchResponseError$P(luvio, config, resourceParams, response) {
8647
- const snapshot = ingestError$M(luvio, resourceParams, response, {
8646
+ function onFetchResponseError$Q(luvio, config, resourceParams, response) {
8647
+ const snapshot = ingestError$N(luvio, resourceParams, response, {
8648
8648
  config,
8649
- resolve: () => buildNetworkSnapshot$16(luvio, config, 0, snapshotRefreshOptions),
8649
+ resolve: () => buildNetworkSnapshot$17(luvio, config, 0, snapshotRefreshOptions),
8650
8650
  });
8651
8651
  return luvio.storeBroadcast().then(() => snapshot);
8652
8652
  }
8653
- function buildNetworkSnapshot$16(luvio, config, serverRequestCount = 0, options) {
8654
- const resourceParams = createResourceParams$10(config);
8655
- const request = createResourceRequest$1a(resourceParams);
8653
+ function buildNetworkSnapshot$17(luvio, config, serverRequestCount = 0, options) {
8654
+ const resourceParams = createResourceParams$11(config);
8655
+ const request = createResourceRequest$1b(resourceParams);
8656
8656
  return luvio.dispatchResourceRequest(request, options).then((response) => {
8657
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$O(luvio, config, resourceParams, response, serverRequestCount + 1), () => {
8657
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$P(luvio, config, resourceParams, response, serverRequestCount + 1), () => {
8658
8658
  const cache = new StoreKeyMap();
8659
- getResponseCacheKeys$12(cache, luvio, resourceParams, response.body);
8659
+ getResponseCacheKeys$13(cache, luvio, resourceParams, response.body);
8660
8660
  return cache;
8661
8661
  });
8662
8662
  }, (response) => {
8663
- return luvio.handleErrorResponse(() => onFetchResponseError$P(luvio, config, resourceParams, response));
8663
+ return luvio.handleErrorResponse(() => onFetchResponseError$Q(luvio, config, resourceParams, response));
8664
8664
  });
8665
8665
  }
8666
8666
 
@@ -8677,7 +8677,7 @@ function resolveConflict(luvio, map) {
8677
8677
  recordId,
8678
8678
  optionalFields: convertTrieToFields(map.conflicts[recordId].trackedFields),
8679
8679
  };
8680
- buildNetworkSnapshot$17(luvio, config, map.serverRequestCount);
8680
+ buildNetworkSnapshot$18(luvio, config, map.serverRequestCount);
8681
8681
  }
8682
8682
  else {
8683
8683
  const records = reduce.call(ids, (acc, id) => {
@@ -8689,10 +8689,10 @@ function resolveConflict(luvio, map) {
8689
8689
  return acc;
8690
8690
  }, []);
8691
8691
  const config = { records };
8692
- buildNetworkSnapshot$16(luvio, config, map.serverRequestCount);
8692
+ buildNetworkSnapshot$17(luvio, config, map.serverRequestCount);
8693
8693
  }
8694
8694
  }
8695
- const ingest$1S = (input, path, luvio, store, timestamp) => {
8695
+ const ingest$1T = (input, path, luvio, store, timestamp) => {
8696
8696
  const conflictMap = {
8697
8697
  conflicts: {},
8698
8698
  serverRequestCount: 0,
@@ -8703,7 +8703,7 @@ const ingest$1S = (input, path, luvio, store, timestamp) => {
8703
8703
  return result;
8704
8704
  };
8705
8705
 
8706
- const adapterName$Y = 'getListUiByApiName';
8706
+ const adapterName$Z = 'getListUiByApiName';
8707
8707
  const getListUiByApiName_ConfigPropertyMetadata = [
8708
8708
  generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
8709
8709
  generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
@@ -8713,9 +8713,9 @@ const getListUiByApiName_ConfigPropertyMetadata = [
8713
8713
  generateParamConfigMetadata('pageToken', false, 1 /* QueryParameter */, 0 /* String */),
8714
8714
  generateParamConfigMetadata('sortBy', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
8715
8715
  ];
8716
- const getListUiByApiName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$Y, getListUiByApiName_ConfigPropertyMetadata);
8716
+ const getListUiByApiName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$Z, getListUiByApiName_ConfigPropertyMetadata);
8717
8717
 
8718
- const adapterName$X = 'getListUiByListViewId';
8718
+ const adapterName$Y = 'getListUiByListViewId';
8719
8719
  const getListUiByListViewId_ConfigPropertyMetadata = [
8720
8720
  generateParamConfigMetadata('listViewId', true, 0 /* UrlParameter */, 0 /* String */),
8721
8721
  generateParamConfigMetadata('fields', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
@@ -8724,9 +8724,9 @@ const getListUiByListViewId_ConfigPropertyMetadata = [
8724
8724
  generateParamConfigMetadata('pageToken', false, 1 /* QueryParameter */, 0 /* String */),
8725
8725
  generateParamConfigMetadata('sortBy', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
8726
8726
  ];
8727
- const getListUiByListViewId_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$X, getListUiByListViewId_ConfigPropertyMetadata);
8727
+ const getListUiByListViewId_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$Y, getListUiByListViewId_ConfigPropertyMetadata);
8728
8728
 
8729
- const adapterName$V = 'getMruListUi';
8729
+ const adapterName$W = 'getMruListUi';
8730
8730
  const getMruListUi_ConfigPropertyMetadata = [
8731
8731
  generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
8732
8732
  generateParamConfigMetadata('fields', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
@@ -8735,7 +8735,7 @@ const getMruListUi_ConfigPropertyMetadata = [
8735
8735
  generateParamConfigMetadata('pageToken', false, 1 /* QueryParameter */, 0 /* String */),
8736
8736
  generateParamConfigMetadata('sortBy', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
8737
8737
  ];
8738
- const getMruListUi_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$V, getMruListUi_ConfigPropertyMetadata);
8738
+ const getMruListUi_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$W, getMruListUi_ConfigPropertyMetadata);
8739
8739
  // make local copies of the adapter configs so we can ignore other getListUi config parameters to match
8740
8740
  // lds222 behavior
8741
8741
  ({
@@ -8769,9 +8769,9 @@ const getMruListUi_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationCon
8769
8769
  ],
8770
8770
  },
8771
8771
  });
8772
- const RepresentationType$R = 'ObjectInfoRepresentation';
8773
- function keyBuilder$2X(luvio, config) {
8774
- return keyPrefix + '::' + RepresentationType$R + ':' + config.apiName;
8772
+ const RepresentationType$S = 'ObjectInfoRepresentation';
8773
+ function keyBuilder$2Z(luvio, config) {
8774
+ return keyPrefix + '::' + RepresentationType$S + ':' + config.apiName;
8775
8775
  }
8776
8776
 
8777
8777
  var DiscriminatorValues$5;
@@ -9132,7 +9132,7 @@ function getShallowRecord(luvio, storeRecordId) {
9132
9132
  */
9133
9133
  function getObjectMetadata(luvio, record) {
9134
9134
  const { data: objectInfo } = luvio.storeLookup({
9135
- recordId: keyBuilder$2X(luvio, { apiName: record.apiName }),
9135
+ recordId: keyBuilder$2Z(luvio, { apiName: record.apiName }),
9136
9136
  node: {
9137
9137
  kind: 'Fragment',
9138
9138
  private: ['eTag'],
@@ -9173,7 +9173,7 @@ function getObjectMetadata(luvio, record) {
9173
9173
  function fixRecordTypes(luvio, record) {
9174
9174
  // non-master record types should always be correct
9175
9175
  if (record.recordTypeId === MASTER_RECORD_TYPE_ID) {
9176
- const key = keyBuilder$3a(luvio, { recordId: record.id });
9176
+ const key = keyBuilder$3c(luvio, { recordId: record.id });
9177
9177
  const recordNode = luvio.getNode(key);
9178
9178
  if (isGraphNode(recordNode) &&
9179
9179
  recordNode.scalar('recordTypeId') !== MASTER_RECORD_TYPE_ID) {
@@ -9247,7 +9247,7 @@ class AdsBridge {
9247
9247
  // Don't let incorrect ADS/RecordGVP recordTypeIds replace a valid record type in our store
9248
9248
  // with the master record type. See W-7302870 for details.
9249
9249
  fixRecordTypes(luvio, recordCopy);
9250
- luvio.storeIngest(INGEST_KEY, ingest$1S, recordCopy);
9250
+ luvio.storeIngest(INGEST_KEY, ingest$1T, recordCopy);
9251
9251
  }
9252
9252
  }
9253
9253
  if (didIngestRecord === true) {
@@ -9260,7 +9260,7 @@ class AdsBridge {
9260
9260
  */
9261
9261
  evict(recordId) {
9262
9262
  const { luvio } = this;
9263
- const key = keyBuilder$3a(luvio, { recordId });
9263
+ const key = keyBuilder$3c(luvio, { recordId });
9264
9264
  return this.lockLdsRecordEmit(() => {
9265
9265
  luvio.storeEvict(key);
9266
9266
  luvio.storeBroadcast();
@@ -9275,7 +9275,7 @@ class AdsBridge {
9275
9275
  */
9276
9276
  getTrackedFieldsForRecord(recordId) {
9277
9277
  const { luvio } = this;
9278
- const storeRecordId = keyBuilder$3a(luvio, { recordId });
9278
+ const storeRecordId = keyBuilder$3c(luvio, { recordId });
9279
9279
  const recordNode = luvio.getNode(storeRecordId);
9280
9280
  if (!isGraphNode(recordNode)) {
9281
9281
  return Promise.resolve([]);
package/dist/adsBridge.js CHANGED
@@ -372,4 +372,4 @@ function withAdsBridge(callback) {
372
372
  }
373
373
 
374
374
  export { instrument, withAdsBridge };
375
- // version: 1.256.0-ad6a66c18
375
+ // version: 1.257.0-236dcdea5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-ads-bridge",
3
- "version": "1.256.0",
3
+ "version": "1.257.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Bridge to sync data between LDS and ADS",
6
6
  "main": "dist/adsBridge.js",
@@ -29,7 +29,7 @@
29
29
  "release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-ads-bridge"
30
30
  },
31
31
  "devDependencies": {
32
- "@salesforce/lds-adapters-uiapi": "^1.256.0",
33
- "@salesforce/lds-uiapi-record-utils": "^1.256.0"
32
+ "@salesforce/lds-adapters-uiapi": "^1.257.0",
33
+ "@salesforce/lds-uiapi-record-utils": "^1.257.0"
34
34
  }
35
35
  }