@salesforce/lwc-adapters-uiapi 1.227.2 → 1.228.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.
Files changed (2) hide show
  1. package/dist/main.js +290 -290
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -10345,7 +10345,7 @@ function getTypeCacheKeys$1T(rootKeySet, luvio, input, fullPathFactory) {
10345
10345
  getTypeCacheKeys$1W(rootKeySet, luvio, input_fields[key], () => rootKey + "__fields" + "__" + key);
10346
10346
  }
10347
10347
  }
10348
- const notifyUpdateAvailableFactory$2 = (luvio) => {
10348
+ const notifyUpdateAvailableFactory$3 = (luvio) => {
10349
10349
  return function notifyRecordUpdateAvailable(configs) {
10350
10350
  if (process.env.NODE_ENV !== 'production') {
10351
10351
  const requiredKeyParams = ['recordId'];
@@ -19969,6 +19969,150 @@ function getTypeCacheKeys$1L(rootKeySet, luvio, input, fullPathFactory) {
19969
19969
  });
19970
19970
  }
19971
19971
 
19972
+ const TTL$v = 900000;
19973
+ const VERSION$25 = "993b0a7bce6056c4f57ed300ec153d9c";
19974
+ function validate$1e(obj, path = 'QuickActionDefaultsRepresentation') {
19975
+ const v_error = (() => {
19976
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
19977
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
19978
+ }
19979
+ const obj_actionApiName = obj.actionApiName;
19980
+ const path_actionApiName = path + '.actionApiName';
19981
+ if (typeof obj_actionApiName !== 'string') {
19982
+ return new TypeError('Expected "string" but received "' + typeof obj_actionApiName + '" (at "' + path_actionApiName + '")');
19983
+ }
19984
+ const obj_eTag = obj.eTag;
19985
+ const path_eTag = path + '.eTag';
19986
+ if (typeof obj_eTag !== 'string') {
19987
+ return new TypeError('Expected "string" but received "' + typeof obj_eTag + '" (at "' + path_eTag + '")');
19988
+ }
19989
+ const obj_fields = obj.fields;
19990
+ const path_fields = path + '.fields';
19991
+ if (typeof obj_fields !== 'object' || ArrayIsArray(obj_fields) || obj_fields === null) {
19992
+ return new TypeError('Expected "object" but received "' + typeof obj_fields + '" (at "' + path_fields + '")');
19993
+ }
19994
+ const obj_fields_keys = ObjectKeys(obj_fields);
19995
+ for (let i = 0; i < obj_fields_keys.length; i++) {
19996
+ const key = obj_fields_keys[i];
19997
+ const obj_fields_prop = obj_fields[key];
19998
+ const path_fields_prop = path_fields + '["' + key + '"]';
19999
+ if (typeof obj_fields_prop !== 'object') {
20000
+ return new TypeError('Expected "object" but received "' + typeof obj_fields_prop + '" (at "' + path_fields_prop + '")');
20001
+ }
20002
+ }
20003
+ const obj_objectApiName = obj.objectApiName;
20004
+ const path_objectApiName = path + '.objectApiName';
20005
+ if (typeof obj_objectApiName !== 'string') {
20006
+ return new TypeError('Expected "string" but received "' + typeof obj_objectApiName + '" (at "' + path_objectApiName + '")');
20007
+ }
20008
+ })();
20009
+ return v_error === undefined ? null : v_error;
20010
+ }
20011
+ const RepresentationType$J = 'QuickActionDefaultsRepresentation';
20012
+ function keyBuilder$2L(luvio, config) {
20013
+ return keyPrefix + '::' + RepresentationType$J + ':' + config.actionApiName;
20014
+ }
20015
+ function keyBuilderFromType$p(luvio, object) {
20016
+ const keyParams = {
20017
+ actionApiName: object.actionApiName
20018
+ };
20019
+ return keyBuilder$2L(luvio, keyParams);
20020
+ }
20021
+ function dynamicNormalize$4(ingestParams) {
20022
+ return function normalize_dynamic(input, existing, path, luvio, store, timestamp) {
20023
+ const input_fields = input.fields;
20024
+ const input_fields_id = path.fullPath + '__fields';
20025
+ const input_fields_keys = Object.keys(input_fields);
20026
+ const input_fields_length = input_fields_keys.length;
20027
+ for (let i = 0; i < input_fields_length; i++) {
20028
+ const key = input_fields_keys[i];
20029
+ const input_fields_prop = input_fields[key];
20030
+ const input_fields_prop_id = input_fields_id + '__' + key;
20031
+ input_fields[key] = ingestParams.fields(input_fields_prop, {
20032
+ fullPath: input_fields_prop_id,
20033
+ propertyName: key,
20034
+ parent: {
20035
+ data: input,
20036
+ key: path.fullPath,
20037
+ existing: existing,
20038
+ },
20039
+ ttl: path.ttl
20040
+ }, luvio, store, timestamp);
20041
+ }
20042
+ return input;
20043
+ };
20044
+ }
20045
+ const dynamicSelect$5 = function dynamicQuickActionDefaultsRepresentationSelect(params) {
20046
+ const fieldsPathSelection = params.fields === undefined ? {
20047
+ name: 'fields',
20048
+ kind: 'Link',
20049
+ map: true,
20050
+ fragment: select$2Q()
20051
+ } : params.fields;
20052
+ return {
20053
+ kind: 'Fragment',
20054
+ version: VERSION$25,
20055
+ private: [
20056
+ 'eTag'
20057
+ ],
20058
+ selections: [
20059
+ {
20060
+ name: 'actionApiName',
20061
+ kind: 'Scalar'
20062
+ },
20063
+ fieldsPathSelection,
20064
+ {
20065
+ name: 'objectApiName',
20066
+ kind: 'Scalar'
20067
+ }
20068
+ ]
20069
+ };
20070
+ };
20071
+ function equals$P(existing, incoming) {
20072
+ const existing_actionApiName = existing.actionApiName;
20073
+ const incoming_actionApiName = incoming.actionApiName;
20074
+ if (!(existing_actionApiName === incoming_actionApiName)) {
20075
+ return false;
20076
+ }
20077
+ const existing_eTag = existing.eTag;
20078
+ const incoming_eTag = incoming.eTag;
20079
+ if (!(existing_eTag === incoming_eTag)) {
20080
+ return false;
20081
+ }
20082
+ const existing_objectApiName = existing.objectApiName;
20083
+ const incoming_objectApiName = incoming.objectApiName;
20084
+ if (!(existing_objectApiName === incoming_objectApiName)) {
20085
+ return false;
20086
+ }
20087
+ const existing_fields = existing.fields;
20088
+ const incoming_fields = incoming.fields;
20089
+ const equals_fields_props = equalsObject(existing_fields, incoming_fields, (existing_fields_prop, incoming_fields_prop) => {
20090
+ if (!(existing_fields_prop.__ref === incoming_fields_prop.__ref)) {
20091
+ return false;
20092
+ }
20093
+ });
20094
+ if (equals_fields_props === false) {
20095
+ return false;
20096
+ }
20097
+ return true;
20098
+ }
20099
+ function getTypeCacheKeys$1K(rootKeySet, luvio, input, fullPathFactory) {
20100
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
20101
+ const rootKey = keyBuilderFromType$p(luvio, input);
20102
+ rootKeySet.set(rootKey, {
20103
+ namespace: keyPrefix,
20104
+ representationName: RepresentationType$J,
20105
+ mergeable: false
20106
+ });
20107
+ const input_fields = input.fields;
20108
+ const input_fields_keys = ObjectKeys(input_fields);
20109
+ const input_fields_length = input_fields_keys.length;
20110
+ for (let i = 0; i < input_fields_length; i++) {
20111
+ const key = input_fields_keys[i];
20112
+ getTypeCacheKeys$1W(rootKeySet, luvio, input_fields[key], () => rootKey + "__fields" + "__" + key);
20113
+ }
20114
+ }
20115
+
19972
20116
  function toSortedStringArrayAllowEmpty(value) {
19973
20117
  const valueArray = isArray(value) ? value : [value];
19974
20118
  if (valueArray.length === 0) {
@@ -19991,8 +20135,8 @@ function coerceFormFactor(form) {
19991
20135
  return undefined;
19992
20136
  }
19993
20137
 
19994
- const VERSION$25 = "3f49d751896cf66e6e29788d8880e2cc";
19995
- function validate$1e(obj, path = 'PlatformActionRepresentation') {
20138
+ const VERSION$24 = "3f49d751896cf66e6e29788d8880e2cc";
20139
+ function validate$1d(obj, path = 'PlatformActionRepresentation') {
19996
20140
  const v_error = (() => {
19997
20141
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
19998
20142
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -20326,17 +20470,17 @@ function validate$1e(obj, path = 'PlatformActionRepresentation') {
20326
20470
  })();
20327
20471
  return v_error === undefined ? null : v_error;
20328
20472
  }
20329
- const RepresentationType$J = 'PlatformActionRepresentation';
20330
- function keyBuilder$2L(luvio, config) {
20331
- return keyPrefix + '::' + RepresentationType$J + ':' + config.externalId + ':' + (config.relatedSourceObject === null ? '' : config.relatedSourceObject) + ':' + (config.relatedListRecordId === null ? '' : config.relatedListRecordId);
20473
+ const RepresentationType$I = 'PlatformActionRepresentation';
20474
+ function keyBuilder$2K(luvio, config) {
20475
+ return keyPrefix + '::' + RepresentationType$I + ':' + config.externalId + ':' + (config.relatedSourceObject === null ? '' : config.relatedSourceObject) + ':' + (config.relatedListRecordId === null ? '' : config.relatedListRecordId);
20332
20476
  }
20333
- function keyBuilderFromType$p(luvio, object) {
20477
+ function keyBuilderFromType$o(luvio, object) {
20334
20478
  const keyParams = {
20335
20479
  externalId: object.externalId,
20336
20480
  relatedSourceObject: object.relatedSourceObject,
20337
20481
  relatedListRecordId: object.relatedListRecordId
20338
20482
  };
20339
- return keyBuilder$2L(luvio, keyParams);
20483
+ return keyBuilder$2K(luvio, keyParams);
20340
20484
  }
20341
20485
  function normalize$B(input, existing, path, luvio, store, timestamp) {
20342
20486
  return input;
@@ -20344,7 +20488,7 @@ function normalize$B(input, existing, path, luvio, store, timestamp) {
20344
20488
  const select$2A = function PlatformActionRepresentationSelect() {
20345
20489
  return {
20346
20490
  kind: 'Fragment',
20347
- version: VERSION$25,
20491
+ version: VERSION$24,
20348
20492
  private: [
20349
20493
  'id'
20350
20494
  ],
@@ -20424,7 +20568,7 @@ const select$2A = function PlatformActionRepresentationSelect() {
20424
20568
  ]
20425
20569
  };
20426
20570
  };
20427
- function equals$P(existing, incoming) {
20571
+ function equals$O(existing, incoming) {
20428
20572
  const existing_actionListContext = existing.actionListContext;
20429
20573
  const incoming_actionListContext = incoming.actionListContext;
20430
20574
  if (!(existing_actionListContext === incoming_actionListContext)) {
@@ -20524,28 +20668,28 @@ function equals$P(existing, incoming) {
20524
20668
  }
20525
20669
  const ingest$1G = function PlatformActionRepresentationIngest(input, path, luvio, store, timestamp) {
20526
20670
  if (process.env.NODE_ENV !== 'production') {
20527
- const validateError = validate$1e(input);
20671
+ const validateError = validate$1d(input);
20528
20672
  if (validateError !== null) {
20529
20673
  throw validateError;
20530
20674
  }
20531
20675
  }
20532
- const key = keyBuilderFromType$p(luvio, input);
20676
+ const key = keyBuilderFromType$o(luvio, input);
20533
20677
  const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
20534
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$B, "UiApi", VERSION$25, RepresentationType$J, equals$P);
20678
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$B, "UiApi", VERSION$24, RepresentationType$I, equals$O);
20535
20679
  return createLink$1(key);
20536
20680
  };
20537
- function getTypeCacheKeys$1K(rootKeySet, luvio, input, fullPathFactory) {
20681
+ function getTypeCacheKeys$1J(rootKeySet, luvio, input, fullPathFactory) {
20538
20682
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
20539
- const rootKey = keyBuilderFromType$p(luvio, input);
20683
+ const rootKey = keyBuilderFromType$o(luvio, input);
20540
20684
  rootKeySet.set(rootKey, {
20541
20685
  namespace: keyPrefix,
20542
- representationName: RepresentationType$J,
20686
+ representationName: RepresentationType$I,
20543
20687
  mergeable: false
20544
20688
  });
20545
20689
  }
20546
20690
 
20547
- const VERSION$24 = "378d506f563a4bd724b322d440df33d1";
20548
- function validate$1d(obj, path = 'EntityActionRepresentation') {
20691
+ const VERSION$23 = "378d506f563a4bd724b322d440df33d1";
20692
+ function validate$1c(obj, path = 'EntityActionRepresentation') {
20549
20693
  const v_error = (() => {
20550
20694
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
20551
20695
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -20582,15 +20726,15 @@ function validate$1d(obj, path = 'EntityActionRepresentation') {
20582
20726
  })();
20583
20727
  return v_error === undefined ? null : v_error;
20584
20728
  }
20585
- const RepresentationType$I = 'EntityActionRepresentation';
20586
- function keyBuilder$2K(luvio, config) {
20587
- return keyPrefix + '::' + RepresentationType$I + ':' + config.url;
20729
+ const RepresentationType$H = 'EntityActionRepresentation';
20730
+ function keyBuilder$2J(luvio, config) {
20731
+ return keyPrefix + '::' + RepresentationType$H + ':' + config.url;
20588
20732
  }
20589
- function keyBuilderFromType$o(luvio, object) {
20733
+ function keyBuilderFromType$n(luvio, object) {
20590
20734
  const keyParams = {
20591
20735
  url: object.url
20592
20736
  };
20593
- return keyBuilder$2K(luvio, keyParams);
20737
+ return keyBuilder$2J(luvio, keyParams);
20594
20738
  }
20595
20739
  function normalize$A(input, existing, path, luvio, store, timestamp) {
20596
20740
  const input_actions = input.actions;
@@ -20614,7 +20758,7 @@ function normalize$A(input, existing, path, luvio, store, timestamp) {
20614
20758
  const select$2z = function EntityActionRepresentationSelect() {
20615
20759
  return {
20616
20760
  kind: 'Fragment',
20617
- version: VERSION$24,
20761
+ version: VERSION$23,
20618
20762
  private: [
20619
20763
  'links',
20620
20764
  'url'
@@ -20629,7 +20773,7 @@ const select$2z = function EntityActionRepresentationSelect() {
20629
20773
  ]
20630
20774
  };
20631
20775
  };
20632
- function equals$O(existing, incoming) {
20776
+ function equals$N(existing, incoming) {
20633
20777
  const existing_url = existing.url;
20634
20778
  const incoming_url = incoming.url;
20635
20779
  if (!(existing_url === incoming_url)) {
@@ -20659,33 +20803,33 @@ function equals$O(existing, incoming) {
20659
20803
  }
20660
20804
  const ingest$1F = function EntityActionRepresentationIngest(input, path, luvio, store, timestamp) {
20661
20805
  if (process.env.NODE_ENV !== 'production') {
20662
- const validateError = validate$1d(input);
20806
+ const validateError = validate$1c(input);
20663
20807
  if (validateError !== null) {
20664
20808
  throw validateError;
20665
20809
  }
20666
20810
  }
20667
- const key = keyBuilderFromType$o(luvio, input);
20811
+ const key = keyBuilderFromType$n(luvio, input);
20668
20812
  const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
20669
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$A, "UiApi", VERSION$24, RepresentationType$I, equals$O);
20813
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$A, "UiApi", VERSION$23, RepresentationType$H, equals$N);
20670
20814
  return createLink$1(key);
20671
20815
  };
20672
- function getTypeCacheKeys$1J(rootKeySet, luvio, input, fullPathFactory) {
20816
+ function getTypeCacheKeys$1I(rootKeySet, luvio, input, fullPathFactory) {
20673
20817
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
20674
- const rootKey = keyBuilderFromType$o(luvio, input);
20818
+ const rootKey = keyBuilderFromType$n(luvio, input);
20675
20819
  rootKeySet.set(rootKey, {
20676
20820
  namespace: keyPrefix,
20677
- representationName: RepresentationType$I,
20821
+ representationName: RepresentationType$H,
20678
20822
  mergeable: false
20679
20823
  });
20680
20824
  const input_actions_length = input.actions.length;
20681
20825
  for (let i = 0; i < input_actions_length; i++) {
20682
- getTypeCacheKeys$1K(rootKeySet, luvio, input.actions[i]);
20826
+ getTypeCacheKeys$1J(rootKeySet, luvio, input.actions[i]);
20683
20827
  }
20684
20828
  }
20685
20829
 
20686
- const TTL$v = 300000;
20687
- const VERSION$23 = "e485d96c1402a9ca2f56e56485af0216";
20688
- function validate$1c(obj, path = 'ActionRepresentation') {
20830
+ const TTL$u = 300000;
20831
+ const VERSION$22 = "e485d96c1402a9ca2f56e56485af0216";
20832
+ function validate$1b(obj, path = 'ActionRepresentation') {
20689
20833
  const v_error = (() => {
20690
20834
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
20691
20835
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -20717,7 +20861,7 @@ function validate$1c(obj, path = 'ActionRepresentation') {
20717
20861
  })();
20718
20862
  return v_error === undefined ? null : v_error;
20719
20863
  }
20720
- const RepresentationType$H = 'ActionRepresentation';
20864
+ const RepresentationType$G = 'ActionRepresentation';
20721
20865
  function normalize$z(input, existing, path, luvio, store, timestamp) {
20722
20866
  const input_actions = input.actions;
20723
20867
  const input_actions_id = path.fullPath + '__actions';
@@ -20743,7 +20887,7 @@ function normalize$z(input, existing, path, luvio, store, timestamp) {
20743
20887
  const select$2y = function ActionRepresentationSelect() {
20744
20888
  return {
20745
20889
  kind: 'Fragment',
20746
- version: VERSION$23,
20890
+ version: VERSION$22,
20747
20891
  private: [
20748
20892
  'eTag',
20749
20893
  'url'
@@ -20758,7 +20902,7 @@ const select$2y = function ActionRepresentationSelect() {
20758
20902
  ]
20759
20903
  };
20760
20904
  };
20761
- function equals$N(existing, incoming) {
20905
+ function equals$M(existing, incoming) {
20762
20906
  const existing_eTag = existing.eTag;
20763
20907
  const incoming_eTag = incoming.eTag;
20764
20908
  if (!(existing_eTag === incoming_eTag)) {
@@ -20783,22 +20927,22 @@ function equals$N(existing, incoming) {
20783
20927
  }
20784
20928
  const ingest$1E = function ActionRepresentationIngest(input, path, luvio, store, timestamp) {
20785
20929
  if (process.env.NODE_ENV !== 'production') {
20786
- const validateError = validate$1c(input);
20930
+ const validateError = validate$1b(input);
20787
20931
  if (validateError !== null) {
20788
20932
  throw validateError;
20789
20933
  }
20790
20934
  }
20791
20935
  const key = path.fullPath;
20792
- const ttlToUse = TTL$v;
20793
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$z, "UiApi", VERSION$23, RepresentationType$H, equals$N);
20936
+ const ttlToUse = TTL$u;
20937
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$z, "UiApi", VERSION$22, RepresentationType$G, equals$M);
20794
20938
  return createLink$1(key);
20795
20939
  };
20796
- function getTypeCacheKeys$1I(rootKeySet, luvio, input, fullPathFactory) {
20940
+ function getTypeCacheKeys$1H(rootKeySet, luvio, input, fullPathFactory) {
20797
20941
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
20798
20942
  const rootKey = fullPathFactory();
20799
20943
  rootKeySet.set(rootKey, {
20800
20944
  namespace: keyPrefix,
20801
- representationName: RepresentationType$H,
20945
+ representationName: RepresentationType$G,
20802
20946
  mergeable: false
20803
20947
  });
20804
20948
  const input_actions = input.actions;
@@ -20806,22 +20950,22 @@ function getTypeCacheKeys$1I(rootKeySet, luvio, input, fullPathFactory) {
20806
20950
  const input_actions_length = input_actions_keys.length;
20807
20951
  for (let i = 0; i < input_actions_length; i++) {
20808
20952
  const key = input_actions_keys[i];
20809
- getTypeCacheKeys$1J(rootKeySet, luvio, input_actions[key]);
20953
+ getTypeCacheKeys$1I(rootKeySet, luvio, input_actions[key]);
20810
20954
  }
20811
20955
  }
20812
20956
 
20813
20957
  function select$2x(luvio, params) {
20814
20958
  return select$2y();
20815
20959
  }
20816
- function keyBuilder$2J(luvio, params) {
20960
+ function keyBuilder$2I(luvio, params) {
20817
20961
  return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'apiNames:' + params.queryParams.apiNames + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'retrievalMode:' + params.queryParams.retrievalMode + ',' + 'sections:' + params.queryParams.sections + ')';
20818
20962
  }
20819
20963
  function getResponseCacheKeys$S(storeKeyMap, luvio, resourceParams, response) {
20820
- getTypeCacheKeys$1I(storeKeyMap, luvio, response, () => keyBuilder$2J(luvio, resourceParams));
20964
+ getTypeCacheKeys$1H(storeKeyMap, luvio, response, () => keyBuilder$2I(luvio, resourceParams));
20821
20965
  }
20822
20966
  function ingestSuccess$I(luvio, resourceParams, response, snapshotRefresh) {
20823
20967
  const { body } = response;
20824
- const key = keyBuilder$2J(luvio, resourceParams);
20968
+ const key = keyBuilder$2I(luvio, resourceParams);
20825
20969
  luvio.storeIngest(key, ingest$1E, body);
20826
20970
  const snapshot = luvio.storeLookup({
20827
20971
  recordId: key,
@@ -20837,13 +20981,13 @@ function ingestSuccess$I(luvio, resourceParams, response, snapshotRefresh) {
20837
20981
  return snapshot;
20838
20982
  }
20839
20983
  function ingestError$E(luvio, params, error, snapshotRefresh) {
20840
- const key = keyBuilder$2J(luvio, params);
20984
+ const key = keyBuilder$2I(luvio, params);
20841
20985
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
20842
20986
  const storeMetadataParams = {
20843
- ttl: TTL$v,
20987
+ ttl: TTL$u,
20844
20988
  namespace: keyPrefix,
20845
- version: VERSION$23,
20846
- representationName: RepresentationType$H
20989
+ version: VERSION$22,
20990
+ representationName: RepresentationType$G
20847
20991
  };
20848
20992
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
20849
20993
  return errorSnapshot;
@@ -20872,9 +21016,9 @@ const getGlobalActions_ConfigPropertyMetadata = [
20872
21016
  ];
20873
21017
  const getGlobalActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$N, getGlobalActions_ConfigPropertyMetadata);
20874
21018
  const createResourceParams$R = /*#__PURE__*/ createResourceParams$k(getGlobalActions_ConfigPropertyMetadata);
20875
- function keyBuilder$2I(luvio, config) {
21019
+ function keyBuilder$2H(luvio, config) {
20876
21020
  const resourceParams = createResourceParams$R(config);
20877
- return keyBuilder$2J(luvio, resourceParams);
21021
+ return keyBuilder$2I(luvio, resourceParams);
20878
21022
  }
20879
21023
  function typeCheckConfig$X(untrustedConfig) {
20880
21024
  const config = {};
@@ -20933,7 +21077,7 @@ function buildNetworkSnapshotCachePolicy$L(context, coercedAdapterRequestContext
20933
21077
  function buildCachedSnapshotCachePolicy$K(context, storeLookup) {
20934
21078
  const { luvio, config } = context;
20935
21079
  const selector = {
20936
- recordId: keyBuilder$2I(luvio, config),
21080
+ recordId: keyBuilder$2H(luvio, config),
20937
21081
  node: adapterFragment$D(luvio, config),
20938
21082
  variables: {},
20939
21083
  };
@@ -20953,9 +21097,9 @@ const getGlobalActionsAdapterFactory = (luvio) => function UiApi__getGlobalActio
20953
21097
  buildCachedSnapshotCachePolicy$K, buildNetworkSnapshotCachePolicy$L);
20954
21098
  };
20955
21099
 
20956
- const TTL$u = 900000;
20957
- const VERSION$22 = "3c5af9dc4086169091e3c5df2414c495";
20958
- function validate$1b(obj, path = 'QuickActionLayoutRepresentation') {
21100
+ const TTL$t = 900000;
21101
+ const VERSION$21 = "3c5af9dc4086169091e3c5df2414c495";
21102
+ function validate$1a(obj, path = 'QuickActionLayoutRepresentation') {
20959
21103
  const v_error = (() => {
20960
21104
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
20961
21105
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -20981,15 +21125,15 @@ function validate$1b(obj, path = 'QuickActionLayoutRepresentation') {
20981
21125
  })();
20982
21126
  return v_error === undefined ? null : v_error;
20983
21127
  }
20984
- const RepresentationType$G = 'QuickActionLayoutRepresentation';
20985
- function keyBuilder$2H(luvio, config) {
20986
- return keyPrefix + '::' + RepresentationType$G + ':' + config.actionApiName;
21128
+ const RepresentationType$F = 'QuickActionLayoutRepresentation';
21129
+ function keyBuilder$2G(luvio, config) {
21130
+ return keyPrefix + '::' + RepresentationType$F + ':' + config.actionApiName;
20987
21131
  }
20988
- function keyBuilderFromType$n(luvio, object) {
21132
+ function keyBuilderFromType$m(luvio, object) {
20989
21133
  const keyParams = {
20990
21134
  actionApiName: object.actionApiName
20991
21135
  };
20992
- return keyBuilder$2H(luvio, keyParams);
21136
+ return keyBuilder$2G(luvio, keyParams);
20993
21137
  }
20994
21138
  function normalize$y(input, existing, path, luvio, store, timestamp) {
20995
21139
  return input;
@@ -20997,7 +21141,7 @@ function normalize$y(input, existing, path, luvio, store, timestamp) {
20997
21141
  const select$2w = function QuickActionLayoutRepresentationSelect() {
20998
21142
  return {
20999
21143
  kind: 'Fragment',
21000
- version: VERSION$22,
21144
+ version: VERSION$21,
21001
21145
  private: [
21002
21146
  'eTag'
21003
21147
  ],
@@ -21014,7 +21158,7 @@ const select$2w = function QuickActionLayoutRepresentationSelect() {
21014
21158
  ]
21015
21159
  };
21016
21160
  };
21017
- function equals$M(existing, incoming) {
21161
+ function equals$L(existing, incoming) {
21018
21162
  if (existing.eTag !== incoming.eTag) {
21019
21163
  return false;
21020
21164
  }
@@ -21022,22 +21166,22 @@ function equals$M(existing, incoming) {
21022
21166
  }
21023
21167
  const ingest$1D = function QuickActionLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
21024
21168
  if (process.env.NODE_ENV !== 'production') {
21025
- const validateError = validate$1b(input);
21169
+ const validateError = validate$1a(input);
21026
21170
  if (validateError !== null) {
21027
21171
  throw validateError;
21028
21172
  }
21029
21173
  }
21030
- const key = keyBuilderFromType$n(luvio, input);
21031
- const ttlToUse = TTL$u;
21032
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$y, "UiApi", VERSION$22, RepresentationType$G, equals$M);
21174
+ const key = keyBuilderFromType$m(luvio, input);
21175
+ const ttlToUse = TTL$t;
21176
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$y, "UiApi", VERSION$21, RepresentationType$F, equals$L);
21033
21177
  return createLink$1(key);
21034
21178
  };
21035
- function getTypeCacheKeys$1H(rootKeySet, luvio, input, fullPathFactory) {
21179
+ function getTypeCacheKeys$1G(rootKeySet, luvio, input, fullPathFactory) {
21036
21180
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
21037
- const rootKey = keyBuilderFromType$n(luvio, input);
21181
+ const rootKey = keyBuilderFromType$m(luvio, input);
21038
21182
  rootKeySet.set(rootKey, {
21039
21183
  namespace: keyPrefix,
21040
- representationName: RepresentationType$G,
21184
+ representationName: RepresentationType$F,
21041
21185
  mergeable: false
21042
21186
  });
21043
21187
  }
@@ -21045,17 +21189,17 @@ function getTypeCacheKeys$1H(rootKeySet, luvio, input, fullPathFactory) {
21045
21189
  function select$2v(luvio, params) {
21046
21190
  return select$2w();
21047
21191
  }
21048
- function keyBuilder$2G(luvio, params) {
21049
- return keyBuilder$2H(luvio, {
21192
+ function keyBuilder$2F(luvio, params) {
21193
+ return keyBuilder$2G(luvio, {
21050
21194
  actionApiName: params.urlParams.actionApiName
21051
21195
  });
21052
21196
  }
21053
21197
  function getResponseCacheKeys$R(storeKeyMap, luvio, resourceParams, response) {
21054
- getTypeCacheKeys$1H(storeKeyMap, luvio, response);
21198
+ getTypeCacheKeys$1G(storeKeyMap, luvio, response);
21055
21199
  }
21056
21200
  function ingestSuccess$H(luvio, resourceParams, response, snapshotRefresh) {
21057
21201
  const { body } = response;
21058
- const key = keyBuilder$2G(luvio, resourceParams);
21202
+ const key = keyBuilder$2F(luvio, resourceParams);
21059
21203
  luvio.storeIngest(key, ingest$1D, body);
21060
21204
  const snapshot = luvio.storeLookup({
21061
21205
  recordId: key,
@@ -21071,13 +21215,13 @@ function ingestSuccess$H(luvio, resourceParams, response, snapshotRefresh) {
21071
21215
  return snapshot;
21072
21216
  }
21073
21217
  function ingestError$D(luvio, params, error, snapshotRefresh) {
21074
- const key = keyBuilder$2G(luvio, params);
21218
+ const key = keyBuilder$2F(luvio, params);
21075
21219
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
21076
21220
  const storeMetadataParams = {
21077
- ttl: TTL$u,
21221
+ ttl: TTL$t,
21078
21222
  namespace: keyPrefix,
21079
- version: VERSION$22,
21080
- representationName: RepresentationType$G
21223
+ version: VERSION$21,
21224
+ representationName: RepresentationType$F
21081
21225
  };
21082
21226
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
21083
21227
  return errorSnapshot;
@@ -21102,9 +21246,9 @@ const getQuickActionLayout_ConfigPropertyMetadata = [
21102
21246
  ];
21103
21247
  const getQuickActionLayout_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$M, getQuickActionLayout_ConfigPropertyMetadata);
21104
21248
  const createResourceParams$Q = /*#__PURE__*/ createResourceParams$k(getQuickActionLayout_ConfigPropertyMetadata);
21105
- function keyBuilder$2F(luvio, config) {
21249
+ function keyBuilder$2E(luvio, config) {
21106
21250
  const resourceParams = createResourceParams$Q(config);
21107
- return keyBuilder$2G(luvio, resourceParams);
21251
+ return keyBuilder$2F(luvio, resourceParams);
21108
21252
  }
21109
21253
  function typeCheckConfig$W(untrustedConfig) {
21110
21254
  const config = {};
@@ -21162,7 +21306,7 @@ function buildNetworkSnapshotCachePolicy$K(context, coercedAdapterRequestContext
21162
21306
  function buildCachedSnapshotCachePolicy$J(context, storeLookup) {
21163
21307
  const { luvio, config } = context;
21164
21308
  const selector = {
21165
- recordId: keyBuilder$2F(luvio, config),
21309
+ recordId: keyBuilder$2E(luvio, config),
21166
21310
  node: adapterFragment$C(luvio, config),
21167
21311
  variables: {},
21168
21312
  };
@@ -21217,15 +21361,15 @@ function getSortedObjectApiNamesArray(value) {
21217
21361
  function select$2u(luvio, params) {
21218
21362
  return select$2y();
21219
21363
  }
21220
- function keyBuilder$2E(luvio, params) {
21364
+ function keyBuilder$2D(luvio, params) {
21221
21365
  return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiNames:' + params.urlParams.objectApiNames + ')';
21222
21366
  }
21223
21367
  function getResponseCacheKeys$Q(storeKeyMap, luvio, resourceParams, response) {
21224
- getTypeCacheKeys$1I(storeKeyMap, luvio, response, () => keyBuilder$2E(luvio, resourceParams));
21368
+ getTypeCacheKeys$1H(storeKeyMap, luvio, response, () => keyBuilder$2D(luvio, resourceParams));
21225
21369
  }
21226
21370
  function ingestSuccess$G(luvio, resourceParams, response, snapshotRefresh) {
21227
21371
  const { body } = response;
21228
- const key = keyBuilder$2E(luvio, resourceParams);
21372
+ const key = keyBuilder$2D(luvio, resourceParams);
21229
21373
  luvio.storeIngest(key, ingest$1E, body);
21230
21374
  const snapshot = luvio.storeLookup({
21231
21375
  recordId: key,
@@ -21241,13 +21385,13 @@ function ingestSuccess$G(luvio, resourceParams, response, snapshotRefresh) {
21241
21385
  return snapshot;
21242
21386
  }
21243
21387
  function ingestError$C(luvio, params, error, snapshotRefresh) {
21244
- const key = keyBuilder$2E(luvio, params);
21388
+ const key = keyBuilder$2D(luvio, params);
21245
21389
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
21246
21390
  const storeMetadataParams = {
21247
- ttl: TTL$v,
21391
+ ttl: TTL$u,
21248
21392
  namespace: keyPrefix,
21249
- version: VERSION$23,
21250
- representationName: RepresentationType$H
21393
+ version: VERSION$22,
21394
+ representationName: RepresentationType$G
21251
21395
  };
21252
21396
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
21253
21397
  return errorSnapshot;
@@ -21275,9 +21419,9 @@ const getLookupActions_ConfigPropertyMetadata = [
21275
21419
  ];
21276
21420
  const getLookupActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$L, getLookupActions_ConfigPropertyMetadata);
21277
21421
  const createResourceParams$P = /*#__PURE__*/ createResourceParams$k(getLookupActions_ConfigPropertyMetadata);
21278
- function keyBuilder$2D(luvio, config) {
21422
+ function keyBuilder$2C(luvio, config) {
21279
21423
  const resourceParams = createResourceParams$P(config);
21280
- return keyBuilder$2E(luvio, resourceParams);
21424
+ return keyBuilder$2D(luvio, resourceParams);
21281
21425
  }
21282
21426
  function typeCheckConfig$V(untrustedConfig) {
21283
21427
  const config = {};
@@ -21336,7 +21480,7 @@ function buildNetworkSnapshotCachePolicy$J(context, coercedAdapterRequestContext
21336
21480
  function buildCachedSnapshotCachePolicy$I(context, storeLookup) {
21337
21481
  const { luvio, config } = context;
21338
21482
  const selector = {
21339
- recordId: keyBuilder$2D(luvio, config),
21483
+ recordId: keyBuilder$2C(luvio, config),
21340
21484
  node: adapterFragment$B(luvio, config),
21341
21485
  variables: {},
21342
21486
  };
@@ -21359,15 +21503,15 @@ const getLookupActionsAdapterFactory = (luvio) => function UiApi__getLookupActio
21359
21503
  function select$2t(luvio, params) {
21360
21504
  return select$2y();
21361
21505
  }
21362
- function keyBuilder$2C(luvio, params) {
21506
+ function keyBuilder$2B(luvio, params) {
21363
21507
  return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
21364
21508
  }
21365
21509
  function getResponseCacheKeys$P(storeKeyMap, luvio, resourceParams, response) {
21366
- getTypeCacheKeys$1I(storeKeyMap, luvio, response, () => keyBuilder$2C(luvio, resourceParams));
21510
+ getTypeCacheKeys$1H(storeKeyMap, luvio, response, () => keyBuilder$2B(luvio, resourceParams));
21367
21511
  }
21368
21512
  function ingestSuccess$F(luvio, resourceParams, response, snapshotRefresh) {
21369
21513
  const { body } = response;
21370
- const key = keyBuilder$2C(luvio, resourceParams);
21514
+ const key = keyBuilder$2B(luvio, resourceParams);
21371
21515
  luvio.storeIngest(key, ingest$1E, body);
21372
21516
  const snapshot = luvio.storeLookup({
21373
21517
  recordId: key,
@@ -21383,13 +21527,13 @@ function ingestSuccess$F(luvio, resourceParams, response, snapshotRefresh) {
21383
21527
  return snapshot;
21384
21528
  }
21385
21529
  function ingestError$B(luvio, params, error, snapshotRefresh) {
21386
- const key = keyBuilder$2C(luvio, params);
21530
+ const key = keyBuilder$2B(luvio, params);
21387
21531
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
21388
21532
  const storeMetadataParams = {
21389
- ttl: TTL$v,
21533
+ ttl: TTL$u,
21390
21534
  namespace: keyPrefix,
21391
- version: VERSION$23,
21392
- representationName: RepresentationType$H
21535
+ version: VERSION$22,
21536
+ representationName: RepresentationType$G
21393
21537
  };
21394
21538
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
21395
21539
  return errorSnapshot;
@@ -21417,9 +21561,9 @@ const getObjectCreateActions_ConfigPropertyMetadata = [
21417
21561
  ];
21418
21562
  const getObjectCreateActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$K, getObjectCreateActions_ConfigPropertyMetadata);
21419
21563
  const createResourceParams$O = /*#__PURE__*/ createResourceParams$k(getObjectCreateActions_ConfigPropertyMetadata);
21420
- function keyBuilder$2B(luvio, config) {
21564
+ function keyBuilder$2A(luvio, config) {
21421
21565
  const resourceParams = createResourceParams$O(config);
21422
- return keyBuilder$2C(luvio, resourceParams);
21566
+ return keyBuilder$2B(luvio, resourceParams);
21423
21567
  }
21424
21568
  function typeCheckConfig$U(untrustedConfig) {
21425
21569
  const config = {};
@@ -21478,7 +21622,7 @@ function buildNetworkSnapshotCachePolicy$I(context, coercedAdapterRequestContext
21478
21622
  function buildCachedSnapshotCachePolicy$H(context, storeLookup) {
21479
21623
  const { luvio, config } = context;
21480
21624
  const selector = {
21481
- recordId: keyBuilder$2B(luvio, config),
21625
+ recordId: keyBuilder$2A(luvio, config),
21482
21626
  node: adapterFragment$A(luvio, config),
21483
21627
  variables: {},
21484
21628
  };
@@ -21498,8 +21642,8 @@ const getObjectCreateActionsAdapterFactory = (luvio) => function UiApi__getObjec
21498
21642
  buildCachedSnapshotCachePolicy$H, buildNetworkSnapshotCachePolicy$I);
21499
21643
  };
21500
21644
 
21501
- const VERSION$21 = "fecd80e9e24a1c1e75fd5395cd34ff2e";
21502
- function validate$1a(obj, path = 'ActionOverrideRepresentation') {
21645
+ const VERSION$20 = "fecd80e9e24a1c1e75fd5395cd34ff2e";
21646
+ function validate$19(obj, path = 'ActionOverrideRepresentation') {
21503
21647
  const v_error = (() => {
21504
21648
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
21505
21649
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -21512,19 +21656,19 @@ function validate$1a(obj, path = 'ActionOverrideRepresentation') {
21512
21656
  })();
21513
21657
  return v_error === undefined ? null : v_error;
21514
21658
  }
21515
- const RepresentationType$F = 'ActionOverrideRepresentation';
21659
+ const RepresentationType$E = 'ActionOverrideRepresentation';
21516
21660
  function normalize$x(input, existing, path, luvio, store, timestamp) {
21517
21661
  return input;
21518
21662
  }
21519
21663
  const select$2s = function ActionOverrideRepresentationSelect() {
21520
21664
  return {
21521
21665
  kind: 'Fragment',
21522
- version: VERSION$21,
21666
+ version: VERSION$20,
21523
21667
  private: [],
21524
21668
  opaque: true
21525
21669
  };
21526
21670
  };
21527
- function equals$L(existing, incoming) {
21671
+ function equals$K(existing, incoming) {
21528
21672
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
21529
21673
  return false;
21530
21674
  }
@@ -21532,22 +21676,22 @@ function equals$L(existing, incoming) {
21532
21676
  }
21533
21677
  const ingest$1C = function ActionOverrideRepresentationIngest(input, path, luvio, store, timestamp) {
21534
21678
  if (process.env.NODE_ENV !== 'production') {
21535
- const validateError = validate$1a(input);
21679
+ const validateError = validate$19(input);
21536
21680
  if (validateError !== null) {
21537
21681
  throw validateError;
21538
21682
  }
21539
21683
  }
21540
21684
  const key = path.fullPath;
21541
21685
  const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
21542
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$x, "UiApi", VERSION$21, RepresentationType$F, equals$L);
21686
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$x, "UiApi", VERSION$20, RepresentationType$E, equals$K);
21543
21687
  return createLink$1(key);
21544
21688
  };
21545
- function getTypeCacheKeys$1G(rootKeySet, luvio, input, fullPathFactory) {
21689
+ function getTypeCacheKeys$1F(rootKeySet, luvio, input, fullPathFactory) {
21546
21690
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
21547
21691
  const rootKey = fullPathFactory();
21548
21692
  rootKeySet.set(rootKey, {
21549
21693
  namespace: keyPrefix,
21550
- representationName: RepresentationType$F,
21694
+ representationName: RepresentationType$E,
21551
21695
  mergeable: false
21552
21696
  });
21553
21697
  }
@@ -21555,15 +21699,15 @@ function getTypeCacheKeys$1G(rootKeySet, luvio, input, fullPathFactory) {
21555
21699
  function select$2r(luvio, params) {
21556
21700
  return select$2s();
21557
21701
  }
21558
- function keyBuilder$2A(luvio, params) {
21702
+ function keyBuilder$2z(luvio, params) {
21559
21703
  return keyPrefix + '::ActionOverrideRepresentation:(' + 'type:' + params.queryParams.type + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
21560
21704
  }
21561
21705
  function getResponseCacheKeys$O(storeKeyMap, luvio, resourceParams, response) {
21562
- getTypeCacheKeys$1G(storeKeyMap, luvio, response, () => keyBuilder$2A(luvio, resourceParams));
21706
+ getTypeCacheKeys$1F(storeKeyMap, luvio, response, () => keyBuilder$2z(luvio, resourceParams));
21563
21707
  }
21564
21708
  function ingestSuccess$E(luvio, resourceParams, response, snapshotRefresh) {
21565
21709
  const { body } = response;
21566
- const key = keyBuilder$2A(luvio, resourceParams);
21710
+ const key = keyBuilder$2z(luvio, resourceParams);
21567
21711
  luvio.storeIngest(key, ingest$1C, body);
21568
21712
  const snapshot = luvio.storeLookup({
21569
21713
  recordId: key,
@@ -21579,7 +21723,7 @@ function ingestSuccess$E(luvio, resourceParams, response, snapshotRefresh) {
21579
21723
  return snapshot;
21580
21724
  }
21581
21725
  function ingestError$A(luvio, params, error, snapshotRefresh) {
21582
- const key = keyBuilder$2A(luvio, params);
21726
+ const key = keyBuilder$2z(luvio, params);
21583
21727
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
21584
21728
  luvio.storeIngestError(key, errorSnapshot);
21585
21729
  return errorSnapshot;
@@ -21605,9 +21749,9 @@ const getActionOverrides_ConfigPropertyMetadata = [
21605
21749
  ];
21606
21750
  const getActionOverrides_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$J, getActionOverrides_ConfigPropertyMetadata);
21607
21751
  const createResourceParams$N = /*#__PURE__*/ createResourceParams$k(getActionOverrides_ConfigPropertyMetadata);
21608
- function keyBuilder$2z(luvio, config) {
21752
+ function keyBuilder$2y(luvio, config) {
21609
21753
  const resourceParams = createResourceParams$N(config);
21610
- return keyBuilder$2A(luvio, resourceParams);
21754
+ return keyBuilder$2z(luvio, resourceParams);
21611
21755
  }
21612
21756
  function typeCheckConfig$T(untrustedConfig) {
21613
21757
  const config = {};
@@ -21666,7 +21810,7 @@ function buildNetworkSnapshotCachePolicy$H(context, coercedAdapterRequestContext
21666
21810
  function buildCachedSnapshotCachePolicy$G(context, storeLookup) {
21667
21811
  const { luvio, config } = context;
21668
21812
  const selector = {
21669
- recordId: keyBuilder$2z(luvio, config),
21813
+ recordId: keyBuilder$2y(luvio, config),
21670
21814
  node: adapterFragment$z(luvio, config),
21671
21815
  variables: {},
21672
21816
  };
@@ -21686,155 +21830,11 @@ const getActionOverridesAdapterFactory = (luvio) => function UiApi__getActionOve
21686
21830
  buildCachedSnapshotCachePolicy$G, buildNetworkSnapshotCachePolicy$H);
21687
21831
  };
21688
21832
 
21689
- const TTL$t = 900000;
21690
- const VERSION$20 = "993b0a7bce6056c4f57ed300ec153d9c";
21691
- function validate$19(obj, path = 'QuickActionDefaultsRepresentation') {
21692
- const v_error = (() => {
21693
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
21694
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
21695
- }
21696
- const obj_actionApiName = obj.actionApiName;
21697
- const path_actionApiName = path + '.actionApiName';
21698
- if (typeof obj_actionApiName !== 'string') {
21699
- return new TypeError('Expected "string" but received "' + typeof obj_actionApiName + '" (at "' + path_actionApiName + '")');
21700
- }
21701
- const obj_eTag = obj.eTag;
21702
- const path_eTag = path + '.eTag';
21703
- if (typeof obj_eTag !== 'string') {
21704
- return new TypeError('Expected "string" but received "' + typeof obj_eTag + '" (at "' + path_eTag + '")');
21705
- }
21706
- const obj_fields = obj.fields;
21707
- const path_fields = path + '.fields';
21708
- if (typeof obj_fields !== 'object' || ArrayIsArray(obj_fields) || obj_fields === null) {
21709
- return new TypeError('Expected "object" but received "' + typeof obj_fields + '" (at "' + path_fields + '")');
21710
- }
21711
- const obj_fields_keys = ObjectKeys(obj_fields);
21712
- for (let i = 0; i < obj_fields_keys.length; i++) {
21713
- const key = obj_fields_keys[i];
21714
- const obj_fields_prop = obj_fields[key];
21715
- const path_fields_prop = path_fields + '["' + key + '"]';
21716
- if (typeof obj_fields_prop !== 'object') {
21717
- return new TypeError('Expected "object" but received "' + typeof obj_fields_prop + '" (at "' + path_fields_prop + '")');
21718
- }
21719
- }
21720
- const obj_objectApiName = obj.objectApiName;
21721
- const path_objectApiName = path + '.objectApiName';
21722
- if (typeof obj_objectApiName !== 'string') {
21723
- return new TypeError('Expected "string" but received "' + typeof obj_objectApiName + '" (at "' + path_objectApiName + '")');
21724
- }
21725
- })();
21726
- return v_error === undefined ? null : v_error;
21727
- }
21728
- const RepresentationType$E = 'QuickActionDefaultsRepresentation';
21729
- function keyBuilder$2y(luvio, config) {
21730
- return keyPrefix + '::' + RepresentationType$E + ':' + config.actionApiName;
21731
- }
21732
- function keyBuilderFromType$m(luvio, object) {
21733
- const keyParams = {
21734
- actionApiName: object.actionApiName
21735
- };
21736
- return keyBuilder$2y(luvio, keyParams);
21737
- }
21738
- function dynamicNormalize$4(ingestParams) {
21739
- return function normalize_dynamic(input, existing, path, luvio, store, timestamp) {
21740
- const input_fields = input.fields;
21741
- const input_fields_id = path.fullPath + '__fields';
21742
- const input_fields_keys = Object.keys(input_fields);
21743
- const input_fields_length = input_fields_keys.length;
21744
- for (let i = 0; i < input_fields_length; i++) {
21745
- const key = input_fields_keys[i];
21746
- const input_fields_prop = input_fields[key];
21747
- const input_fields_prop_id = input_fields_id + '__' + key;
21748
- input_fields[key] = ingestParams.fields(input_fields_prop, {
21749
- fullPath: input_fields_prop_id,
21750
- propertyName: key,
21751
- parent: {
21752
- data: input,
21753
- key: path.fullPath,
21754
- existing: existing,
21755
- },
21756
- ttl: path.ttl
21757
- }, luvio, store, timestamp);
21758
- }
21759
- return input;
21760
- };
21761
- }
21762
- const dynamicSelect$5 = function dynamicQuickActionDefaultsRepresentationSelect(params) {
21763
- const fieldsPathSelection = params.fields === undefined ? {
21764
- name: 'fields',
21765
- kind: 'Link',
21766
- map: true,
21767
- fragment: select$2Q()
21768
- } : params.fields;
21769
- return {
21770
- kind: 'Fragment',
21771
- version: VERSION$20,
21772
- private: [
21773
- 'eTag'
21774
- ],
21775
- selections: [
21776
- {
21777
- name: 'actionApiName',
21778
- kind: 'Scalar'
21779
- },
21780
- fieldsPathSelection,
21781
- {
21782
- name: 'objectApiName',
21783
- kind: 'Scalar'
21784
- }
21785
- ]
21786
- };
21787
- };
21788
- function equals$K(existing, incoming) {
21789
- const existing_actionApiName = existing.actionApiName;
21790
- const incoming_actionApiName = incoming.actionApiName;
21791
- if (!(existing_actionApiName === incoming_actionApiName)) {
21792
- return false;
21793
- }
21794
- const existing_eTag = existing.eTag;
21795
- const incoming_eTag = incoming.eTag;
21796
- if (!(existing_eTag === incoming_eTag)) {
21797
- return false;
21798
- }
21799
- const existing_objectApiName = existing.objectApiName;
21800
- const incoming_objectApiName = incoming.objectApiName;
21801
- if (!(existing_objectApiName === incoming_objectApiName)) {
21802
- return false;
21803
- }
21804
- const existing_fields = existing.fields;
21805
- const incoming_fields = incoming.fields;
21806
- const equals_fields_props = equalsObject(existing_fields, incoming_fields, (existing_fields_prop, incoming_fields_prop) => {
21807
- if (!(existing_fields_prop.__ref === incoming_fields_prop.__ref)) {
21808
- return false;
21809
- }
21810
- });
21811
- if (equals_fields_props === false) {
21812
- return false;
21813
- }
21814
- return true;
21815
- }
21816
- function getTypeCacheKeys$1F(rootKeySet, luvio, input, fullPathFactory) {
21817
- // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
21818
- const rootKey = keyBuilderFromType$m(luvio, input);
21819
- rootKeySet.set(rootKey, {
21820
- namespace: keyPrefix,
21821
- representationName: RepresentationType$E,
21822
- mergeable: false
21823
- });
21824
- const input_fields = input.fields;
21825
- const input_fields_keys = ObjectKeys(input_fields);
21826
- const input_fields_length = input_fields_keys.length;
21827
- for (let i = 0; i < input_fields_length; i++) {
21828
- const key = input_fields_keys[i];
21829
- getTypeCacheKeys$1W(rootKeySet, luvio, input_fields[key], () => rootKey + "__fields" + "__" + key);
21830
- }
21831
- }
21832
-
21833
21833
  const QUICK_ACTION_DEFAULTS_STORE_METADATA_PARAMS = {
21834
- ttl: TTL$t,
21834
+ ttl: TTL$v,
21835
21835
  namespace: keyPrefix,
21836
- representationName: RepresentationType$E,
21837
- version: VERSION$20,
21836
+ representationName: RepresentationType$J,
21837
+ version: VERSION$25,
21838
21838
  };
21839
21839
  function merge$1(existing, incoming) {
21840
21840
  if (existing === undefined) {
@@ -21852,12 +21852,12 @@ function merge$1(existing, incoming) {
21852
21852
  const dynamicIngest$4 = (ingestParams) => {
21853
21853
  return function QuickActionDefaultsRepresentationIngest(input, path, luvio, store, timestamp) {
21854
21854
  if (process.env.NODE_ENV !== 'production') {
21855
- const validateError = validate$19(input);
21855
+ const validateError = validate$1e(input);
21856
21856
  if (validateError !== null) {
21857
21857
  throw validateError;
21858
21858
  }
21859
21859
  }
21860
- const key = keyBuilderFromType$m(luvio, input);
21860
+ const key = keyBuilderFromType$p(luvio, input);
21861
21861
  const existingRecord = store.readEntry(key);
21862
21862
  let incomingRecord = dynamicNormalize$4(ingestParams)(input, store.readEntry(key), {
21863
21863
  fullPath: key,
@@ -21865,7 +21865,7 @@ const dynamicIngest$4 = (ingestParams) => {
21865
21865
  propertyName: path.propertyName,
21866
21866
  }, luvio, store, timestamp);
21867
21867
  incomingRecord = merge$1(existingRecord, incomingRecord);
21868
- if (existingRecord === undefined || equals$K(existingRecord, incomingRecord) === false) {
21868
+ if (existingRecord === undefined || equals$P(existingRecord, incomingRecord) === false) {
21869
21869
  luvio.storePublish(key, incomingRecord);
21870
21870
  }
21871
21871
  luvio.publishStoreMetadata(key, QUICK_ACTION_DEFAULTS_STORE_METADATA_PARAMS);
@@ -21917,21 +21917,21 @@ function selectFields$6(luvio, params) {
21917
21917
  }
21918
21918
 
21919
21919
  function keyBuilder$2x(luvio, params) {
21920
- return keyBuilder$2y(luvio, {
21920
+ return keyBuilder$2L(luvio, {
21921
21921
  actionApiName: params.urlParams.actionApiName
21922
21922
  });
21923
21923
  }
21924
21924
  function getResponseCacheKeys$N(storeKeyMap, luvio, resourceParams, response) {
21925
- getTypeCacheKeys$1F(storeKeyMap, luvio, response);
21925
+ getTypeCacheKeys$1K(storeKeyMap, luvio, response);
21926
21926
  }
21927
21927
  function ingestError$z(luvio, params, error, snapshotRefresh) {
21928
21928
  const key = keyBuilder$2x(luvio, params);
21929
21929
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
21930
21930
  const storeMetadataParams = {
21931
- ttl: TTL$t,
21931
+ ttl: TTL$v,
21932
21932
  namespace: keyPrefix,
21933
- version: VERSION$20,
21934
- representationName: RepresentationType$E
21933
+ version: VERSION$25,
21934
+ representationName: RepresentationType$J
21935
21935
  };
21936
21936
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
21937
21937
  return errorSnapshot;
@@ -22074,7 +22074,7 @@ function keyBuilder$2v(luvio, params) {
22074
22074
  return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'apiNames:' + params.queryParams.apiNames + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'retrievalMode:' + params.queryParams.retrievalMode + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
22075
22075
  }
22076
22076
  function getResponseCacheKeys$M(storeKeyMap, luvio, resourceParams, response) {
22077
- getTypeCacheKeys$1I(storeKeyMap, luvio, response, () => keyBuilder$2v(luvio, resourceParams));
22077
+ getTypeCacheKeys$1H(storeKeyMap, luvio, response, () => keyBuilder$2v(luvio, resourceParams));
22078
22078
  }
22079
22079
  function ingestSuccess$D(luvio, resourceParams, response, snapshotRefresh) {
22080
22080
  const { body } = response;
@@ -22097,10 +22097,10 @@ function ingestError$y(luvio, params, error, snapshotRefresh) {
22097
22097
  const key = keyBuilder$2v(luvio, params);
22098
22098
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
22099
22099
  const storeMetadataParams = {
22100
- ttl: TTL$v,
22100
+ ttl: TTL$u,
22101
22101
  namespace: keyPrefix,
22102
- version: VERSION$23,
22103
- representationName: RepresentationType$H
22102
+ version: VERSION$22,
22103
+ representationName: RepresentationType$G
22104
22104
  };
22105
22105
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
22106
22106
  return errorSnapshot;
@@ -22226,7 +22226,7 @@ function keyBuilder$2t(luvio, params) {
22226
22226
  return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
22227
22227
  }
22228
22228
  function getResponseCacheKeys$L(storeKeyMap, luvio, resourceParams, response) {
22229
- getTypeCacheKeys$1I(storeKeyMap, luvio, response, () => keyBuilder$2t(luvio, resourceParams));
22229
+ getTypeCacheKeys$1H(storeKeyMap, luvio, response, () => keyBuilder$2t(luvio, resourceParams));
22230
22230
  }
22231
22231
  function ingestSuccess$C(luvio, resourceParams, response, snapshotRefresh) {
22232
22232
  const { body } = response;
@@ -22249,10 +22249,10 @@ function ingestError$x(luvio, params, error, snapshotRefresh) {
22249
22249
  const key = keyBuilder$2t(luvio, params);
22250
22250
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
22251
22251
  const storeMetadataParams = {
22252
- ttl: TTL$v,
22252
+ ttl: TTL$u,
22253
22253
  namespace: keyPrefix,
22254
- version: VERSION$23,
22255
- representationName: RepresentationType$H
22254
+ version: VERSION$22,
22255
+ representationName: RepresentationType$G
22256
22256
  };
22257
22257
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
22258
22258
  return errorSnapshot;
@@ -22438,7 +22438,7 @@ function keyBuilder$2r(luvio, params) {
22438
22438
  return keyPrefix + '::ActionRepresentation:(' + 'recordIds:' + params.urlParams.recordIds + ',' + 'relatedListId:' + params.urlParams.relatedListId + ',' + (params.body.actionTypes === undefined ? 'actionTypes' : 'actionTypes:' + params.body.actionTypes) + '::' + (params.body.apiNames === undefined ? 'apiNames' : 'apiNames:' + params.body.apiNames) + '::' + (params.body.formFactor === undefined ? 'formFactor' : 'formFactor:' + params.body.formFactor) + '::' + (params.body.retrievalMode === undefined ? 'retrievalMode' : 'retrievalMode:' + params.body.retrievalMode) + '::' + (params.body.sections === undefined ? 'sections' : 'sections:' + params.body.sections) + ')';
22439
22439
  }
22440
22440
  function getResponseCacheKeys$K(storeKeyMap, luvio, resourceParams, response) {
22441
- getTypeCacheKeys$1I(storeKeyMap, luvio, response, () => keyBuilder$2r(luvio, resourceParams));
22441
+ getTypeCacheKeys$1H(storeKeyMap, luvio, response, () => keyBuilder$2r(luvio, resourceParams));
22442
22442
  }
22443
22443
  function ingestSuccess$B(luvio, resourceParams, response, snapshotRefresh) {
22444
22444
  const { body } = response;
@@ -22461,10 +22461,10 @@ function ingestError$w(luvio, params, error, snapshotRefresh) {
22461
22461
  const key = keyBuilder$2r(luvio, params);
22462
22462
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
22463
22463
  const storeMetadataParams = {
22464
- ttl: TTL$v,
22464
+ ttl: TTL$u,
22465
22465
  namespace: keyPrefix,
22466
- version: VERSION$23,
22467
- representationName: RepresentationType$H
22466
+ version: VERSION$22,
22467
+ representationName: RepresentationType$G
22468
22468
  };
22469
22469
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
22470
22470
  return errorSnapshot;
@@ -22911,7 +22911,7 @@ function keyBuilder$2n(luvio, params) {
22911
22911
  return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ',' + 'relatedListRecordIds:' + params.urlParams.relatedListRecordIds + ')';
22912
22912
  }
22913
22913
  function getResponseCacheKeys$I(storeKeyMap, luvio, resourceParams, response) {
22914
- getTypeCacheKeys$1I(storeKeyMap, luvio, response, () => keyBuilder$2n(luvio, resourceParams));
22914
+ getTypeCacheKeys$1H(storeKeyMap, luvio, response, () => keyBuilder$2n(luvio, resourceParams));
22915
22915
  }
22916
22916
  function ingestSuccess$z(luvio, resourceParams, response, snapshotRefresh) {
22917
22917
  const { body } = response;
@@ -22934,10 +22934,10 @@ function ingestError$u(luvio, params, error, snapshotRefresh) {
22934
22934
  const key = keyBuilder$2n(luvio, params);
22935
22935
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
22936
22936
  const storeMetadataParams = {
22937
- ttl: TTL$v,
22937
+ ttl: TTL$u,
22938
22938
  namespace: keyPrefix,
22939
- version: VERSION$23,
22940
- representationName: RepresentationType$H
22939
+ version: VERSION$22,
22940
+ representationName: RepresentationType$G
22941
22941
  };
22942
22942
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
22943
22943
  return errorSnapshot;
@@ -57106,7 +57106,7 @@ withDefaultLuvio((luvio) => {
57106
57106
  let getRecordNotifyChange, refresh, notifyRecordUpdateAvailable;
57107
57107
  withDefaultLuvio((luvio) => {
57108
57108
  getRecordNotifyChange = notifyChangeFactory(luvio);
57109
- notifyRecordUpdateAvailable = notifyUpdateAvailableFactory$2(luvio);
57109
+ notifyRecordUpdateAvailable = notifyUpdateAvailableFactory$3(luvio);
57110
57110
  refresh = bindWireRefresh(luvio);
57111
57111
  });
57112
57112
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lwc-adapters-uiapi",
3
- "version": "1.227.2",
3
+ "version": "1.228.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "UIAPI adapters with LWC bindings",
6
6
  "module": "dist/main.js",