@salesforce/lds-adapters-uiapi 1.344.0 → 1.345.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.
@@ -40976,8 +40976,9 @@ function ingestPaginationMetadata$3(astNode, state, key, sink, existingData) {
40976
40976
  const nextOffset = startOffset + edges.length;
40977
40977
  const incomingPaginationMetadata = createPaginationMetadata(startOffset, edges);
40978
40978
  if (hasNextPage) {
40979
- // Cleanup any __END__ cursors that are before than the newly ingested page
40980
- if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__ < nextOffset) {
40979
+ // we know the data extends beyond NEXT_OFFSET_IDENTIFIER; clean up any old __END__ markers that say the data ended at/before that offset
40980
+ if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__ <= nextOffset) {
40981
+ existingPaginationMetadata = { ...existingPaginationMetadata };
40981
40982
  delete existingPaginationMetadata.__END__;
40982
40983
  }
40983
40984
  }
@@ -46238,8 +46239,9 @@ function ingestPaginationMetadata$2(astNode, state, key, sink, existingData) {
46238
46239
  const nextOffset = startOffset + edges.length;
46239
46240
  const incomingPaginationMetadata = createPaginationMetadata(startOffset, edges);
46240
46241
  if (hasNextPage) {
46241
- // Cleanup any __END__ cursors that are before than the newly ingested page
46242
- if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__ < nextOffset) {
46242
+ // we know the data extends beyond NEXT_OFFSET_IDENTIFIER; clean up any old __END__ markers that say the data ended at/before that offset
46243
+ if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__ <= nextOffset) {
46244
+ existingPaginationMetadata = { ...existingPaginationMetadata };
46243
46245
  delete existingPaginationMetadata.__END__;
46244
46246
  }
46245
46247
  }
@@ -51152,8 +51154,9 @@ function ingestPaginationMetadata$1(astNode, state, key, sink, existingData) {
51152
51154
  const nextOffset = startOffset + edges.length;
51153
51155
  const incomingPaginationMetadata = createPaginationMetadata(startOffset, edges);
51154
51156
  if (hasNextPage) {
51155
- // Cleanup any __END__ cursors that are before than the newly ingested page
51156
- if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__ < nextOffset) {
51157
+ // we know the data extends beyond NEXT_OFFSET_IDENTIFIER; clean up any old __END__ markers that say the data ended at/before that offset
51158
+ if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__ <= nextOffset) {
51159
+ existingPaginationMetadata = { ...existingPaginationMetadata };
51157
51160
  delete existingPaginationMetadata.__END__;
51158
51161
  }
51159
51162
  }
@@ -52507,8 +52510,9 @@ function ingestPaginationMetadata(astNode, state, key, sink, existingData) {
52507
52510
  const nextOffset = startOffset + edges.length;
52508
52511
  const incomingPaginationMetadata = createPaginationMetadata(startOffset, edges);
52509
52512
  if (hasNextPage) {
52510
- // Cleanup any __END__ cursors that are before than the newly ingested page
52511
- if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__ < nextOffset) {
52513
+ // we know the data extends beyond NEXT_OFFSET_IDENTIFIER; clean up any old __END__ markers that say the data ended at/before that offset
52514
+ if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__ <= nextOffset) {
52515
+ existingPaginationMetadata = { ...existingPaginationMetadata };
52512
52516
  delete existingPaginationMetadata.__END__;
52513
52517
  }
52514
52518
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-uiapi",
3
- "version": "1.344.0",
3
+ "version": "1.345.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Wire adapters for record related UI API endpoints",
6
6
  "main": "dist/es/es2018/uiapi-records-service.js",
@@ -68,13 +68,13 @@
68
68
  }
69
69
  },
70
70
  "dependencies": {
71
- "@salesforce/lds-bindings": "^1.344.0",
72
- "@salesforce/lds-default-luvio": "^1.344.0"
71
+ "@salesforce/lds-bindings": "^1.345.0",
72
+ "@salesforce/lds-default-luvio": "^1.345.0"
73
73
  },
74
74
  "devDependencies": {
75
- "@salesforce/lds-compiler-plugins": "^1.344.0",
76
- "@salesforce/lds-jest": "^1.344.0",
77
- "@salesforce/lds-store-binary": "^1.344.0"
75
+ "@salesforce/lds-compiler-plugins": "^1.345.0",
76
+ "@salesforce/lds-jest": "^1.345.0",
77
+ "@salesforce/lds-store-binary": "^1.345.0"
78
78
  },
79
79
  "luvioBundlesize": [
80
80
  {
@@ -6686,8 +6686,9 @@ function ingestPaginationMetadata$3(astNode, state, key, sink, existingData) {
6686
6686
  const nextOffset = startOffset + edges.length;
6687
6687
  const incomingPaginationMetadata = createPaginationMetadata(startOffset, edges);
6688
6688
  if (hasNextPage) {
6689
- // Cleanup any __END__ cursors that are before than the newly ingested page
6690
- if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__ < nextOffset) {
6689
+ // we know the data extends beyond NEXT_OFFSET_IDENTIFIER; clean up any old __END__ markers that say the data ended at/before that offset
6690
+ if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__ <= nextOffset) {
6691
+ existingPaginationMetadata = { ...existingPaginationMetadata };
6691
6692
  delete existingPaginationMetadata.__END__;
6692
6693
  }
6693
6694
  }
@@ -11947,8 +11948,9 @@ function ingestPaginationMetadata$2(astNode, state, key, sink, existingData) {
11947
11948
  const nextOffset = startOffset + edges.length;
11948
11949
  const incomingPaginationMetadata = createPaginationMetadata(startOffset, edges);
11949
11950
  if (hasNextPage) {
11950
- // Cleanup any __END__ cursors that are before than the newly ingested page
11951
- if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__ < nextOffset) {
11951
+ // we know the data extends beyond NEXT_OFFSET_IDENTIFIER; clean up any old __END__ markers that say the data ended at/before that offset
11952
+ if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__ <= nextOffset) {
11953
+ existingPaginationMetadata = { ...existingPaginationMetadata };
11952
11954
  delete existingPaginationMetadata.__END__;
11953
11955
  }
11954
11956
  }
@@ -16860,8 +16862,9 @@ function ingestPaginationMetadata$1(astNode, state, key, sink, existingData) {
16860
16862
  const nextOffset = startOffset + edges.length;
16861
16863
  const incomingPaginationMetadata = createPaginationMetadata(startOffset, edges);
16862
16864
  if (hasNextPage) {
16863
- // Cleanup any __END__ cursors that are before than the newly ingested page
16864
- if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__ < nextOffset) {
16865
+ // we know the data extends beyond NEXT_OFFSET_IDENTIFIER; clean up any old __END__ markers that say the data ended at/before that offset
16866
+ if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__ <= nextOffset) {
16867
+ existingPaginationMetadata = { ...existingPaginationMetadata };
16865
16868
  delete existingPaginationMetadata.__END__;
16866
16869
  }
16867
16870
  }
@@ -18214,8 +18217,9 @@ function ingestPaginationMetadata(astNode, state, key, sink, existingData) {
18214
18217
  const nextOffset = startOffset + edges.length;
18215
18218
  const incomingPaginationMetadata = createPaginationMetadata(startOffset, edges);
18216
18219
  if (hasNextPage) {
18217
- // Cleanup any __END__ cursors that are before than the newly ingested page
18218
- if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__ < nextOffset) {
18220
+ // we know the data extends beyond NEXT_OFFSET_IDENTIFIER; clean up any old __END__ markers that say the data ended at/before that offset
18221
+ if (existingPaginationMetadata !== undefined && existingPaginationMetadata.__END__ !== undefined && existingPaginationMetadata.__END__ <= nextOffset) {
18222
+ existingPaginationMetadata = { ...existingPaginationMetadata };
18219
18223
  delete existingPaginationMetadata.__END__;
18220
18224
  }
18221
18225
  }
@@ -22274,4 +22278,4 @@ register({
22274
22278
  });
22275
22279
 
22276
22280
  export { configurationForGraphQLAdapters as configuration, graphql, factory$1 as graphqlAdapterFactory, graphqlBatch, graphqlBatch_imperative, graphql_imperative };
22277
- // version: 1.344.0-455da7ef74
22281
+ // version: 1.345.0-faf201180e
package/sfdc/index.js CHANGED
@@ -38927,4 +38927,4 @@ withDefaultLuvio((luvio) => {
38927
38927
  });
38928
38928
 
38929
38929
  export { API_NAMESPACE, InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$J as ObjectInfoDirectoryEntryRepresentationType, RepresentationType$O as ObjectInfoRepresentationType, RECORD_FIELDS_KEY_JUNCTION, RECORD_ID_PREFIX, RECORD_REPRESENTATION_NAME, RECORD_VIEW_ENTITY_ID_PREFIX, RECORD_VIEW_ENTITY_REPRESENTATION_NAME, RepresentationType$V as RecordRepresentationRepresentationType, TTL$z as RecordRepresentationTTL, RepresentationType$V as RecordRepresentationType, VERSION$1g as RecordRepresentationVersion, keyPrefix as UiApiNamespace, buildRecordRepKeyFromId, getFieldApiNamesArray as coerceFieldIdArray, getObjectApiName$1 as coerceObjectId, getObjectApiNamesArray as coerceObjectIdArray, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, createLDSAdapterWithPrediction, createListInfo, createRecord, createRelatedListAdapterWithPrediction, createRelatedListPlusAdapterWithPrediction, deleteListInfo, deleteRecord, executeBatchRecordOperations, extractRecordIdFromStoreKey, getActionOverrides, getActionOverrides_imperative, getAllApps, getAllApps_imperative, getAppDetails, getAppDetails_imperative, getDuplicateConfiguration, getDuplicateConfiguration_imperative, getDuplicates, getDuplicates_imperative, getFlexipageFormulaOverrides, getFlexipageFormulaOverrides_imperative, getGlobalActions, getGlobalActions_imperative, getKeywordSearchResults, getKeywordSearchResults_imperative, getLayout, getLayoutUserState, getLayoutUserState_imperative, getLayout_imperative, getListInfoByName, getListInfoByNameAdapterFactory, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListInfosByObjectName, getListInfosByObjectNameAdapterFactory, getListInfosByObjectName_imperative, getListObjectInfo, getListObjectInfoAdapterFactory, getListObjectInfo_imperative, getListPreferences, getListPreferences_imperative, getListRecordsByName, factory$a as getListRecordsByNameAdapterFactory, getListRecordsByName_imperative, getListUi, getListUi_imperative, getLookupActions, getLookupActions_imperative, getLookupMetadata, getLookupMetadata_imperative, getLookupRecords, getLookupRecords_imperative, getNavItems, getNavItems_imperative, getObjectCreateActions, getObjectCreateActions_imperative, getObjectInfo, getObjectInfoAdapterFactory, getObjectInfoDirectoryAdapterFactory, getObjectInfo_imperative, getObjectInfos, getObjectInfosAdapterFactory, getObjectInfos_imperative, getPathLayout, getPathLayout_imperative, getPicklistValues, getPicklistValuesByRecordType, getPicklistValuesByRecordType_imperative, getPicklistValues_imperative, getQuickActionDefaults, getQuickActionDefaults_imperative, getQuickActionInfo, getQuickActionInfo_imperative, getQuickActionLayout, getQuickActionLayout_imperative, getRecord, getRecordActions, getRecordActionsAdapterFactory, getRecordActions_imperative, factory$f as getRecordAdapterFactory, getRecordAvatars, getRecordAvatarsAdapterFactory, getRecordAvatars_imperative, getRecordCreateDefaults, getRecordCreateDefaults_imperative, getRecordEditActions, getRecordEditActions_imperative, getRecordId18, getRecordId18Array, getRecordIngestionOverride, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateClone_imperative, getRecordTemplateCreate, getRecordTemplateCreate_imperative, getRecordUi, getRecordUi_imperative, getRecord_imperative, getRecords, getRecordsAdapterFactory, getRecords_imperative, getRelatedListActions, getRelatedListActionsAdapterFactory, getRelatedListActions_imperative, getRelatedListCount, getRelatedListCount_imperative, getRelatedListInfo, getRelatedListInfoAdapterFactory, getRelatedListInfoBatch, getRelatedListInfoBatchAdapterFactory, getRelatedListInfoBatch_imperative, getRelatedListInfo_imperative, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListPreferencesBatch_imperative, getRelatedListPreferences_imperative, getRelatedListRecordActions, getRelatedListRecordActions_imperative, getRelatedListRecords, getRelatedListRecordsAdapterFactory, getRelatedListRecordsBatch, getRelatedListRecordsBatchAdapterFactory, getRelatedListRecordsBatch_imperative, getRelatedListRecords_imperative, getRelatedListsActions, getRelatedListsActionsAdapterFactory, getRelatedListsActions_imperative, getRelatedListsCount, getRelatedListsCount_imperative, getRelatedListsInfo, getRelatedListsInfoAdapterFactory, getRelatedListsInfo_imperative, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadata, getSearchFilterMetadata_imperative, getSearchFilterOptions, getSearchFilterOptions_imperative, getSearchResults, getSearchResults_imperative, getTypeCacheKeys$X as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$H as ingestObjectInfo, ingest$B as ingestQuickActionExecutionRepresentation, ingest$O as ingestRecord, instrument, isStoreKeyRecordViewEntity, isSupportedEntity, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$D as keyBuilderFromTypeRecordRepresentation, keyBuilder$1Y as keyBuilderObjectInfo, keyBuilder$1R as keyBuilderQuickActionExecutionRepresentation, keyBuilder$29 as keyBuilderRecord, notifyAllListInfoSummaryUpdateAvailable, notifyAllListRecordUpdateAvailable, notifyListInfoSummaryUpdateAvailable, notifyListInfoUpdateAvailable, notifyListRecordCollectionUpdateAvailable, notifyListViewSummaryUpdateAvailable, notifyQuickActionDefaultsUpdateAvailable, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, registerPrefetcher, updateLayoutUserState, updateListInfoByName, updateListPreferences, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
38930
- // version: 1.344.0-455da7ef74
38930
+ // version: 1.345.0-faf201180e
@@ -95,7 +95,7 @@ var TypeCheckShapes;
95
95
  TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
96
96
  TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
97
97
  })(TypeCheckShapes || (TypeCheckShapes = {}));
98
- // engine version: 0.156.5-f5fd8c7a
98
+ // engine version: 0.156.6-042d5d87
99
99
 
100
100
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
101
101