@salesforce/lds-adapters-uiapi 1.419.0 → 1.420.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.
@@ -27098,6 +27098,12 @@ const picklistValuesConfigPropertyNames = {
27098
27098
  },
27099
27099
  };
27100
27100
  function validateAdapterConfig$z(untrusted, _config) {
27101
+ if (process.env.NODE_ENV !== 'production') {
27102
+ const fieldApiName = untrusted.fieldApiName;
27103
+ if (typeof fieldApiName === 'string' && fieldApiName.includes(',')) {
27104
+ throw new TypeError(`adapter ${picklistValuesConfigPropertyNames.displayName} configuration must not have a comma in the fieldApiName: ${fieldApiName}`);
27105
+ }
27106
+ }
27101
27107
  return validateAdapterConfig$y(untrusted, picklistValuesConfigPropertyNames);
27102
27108
  }
27103
27109
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-uiapi",
3
- "version": "1.419.0",
3
+ "version": "1.420.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Wire adapters for record related UI API endpoints",
6
6
  "type": "module",
@@ -67,15 +67,15 @@
67
67
  }
68
68
  },
69
69
  "dependencies": {
70
- "@luvio/graphql-parser": "0.160.1",
71
- "@salesforce/lds-adapters-onestore-graphql": "^1.419.0",
72
- "@salesforce/lds-bindings": "^1.419.0",
73
- "@salesforce/lds-default-luvio": "^1.419.0"
70
+ "@luvio/graphql-parser": "0.160.3",
71
+ "@salesforce/lds-adapters-onestore-graphql": "^1.420.0",
72
+ "@salesforce/lds-bindings": "^1.420.0",
73
+ "@salesforce/lds-default-luvio": "^1.420.0"
74
74
  },
75
75
  "devDependencies": {
76
- "@salesforce/lds-compiler-plugins": "^1.419.0",
77
- "@salesforce/lds-jest": "^1.419.0",
78
- "@salesforce/lds-store-binary": "^1.419.0"
76
+ "@salesforce/lds-compiler-plugins": "^1.420.0",
77
+ "@salesforce/lds-jest": "^1.420.0",
78
+ "@salesforce/lds-store-binary": "^1.420.0"
79
79
  },
80
80
  "luvioBundlesize": [
81
81
  {
@@ -28827,4 +28827,4 @@ register({
28827
28827
  });
28828
28828
 
28829
28829
  export { configurationForGraphQLAdapters as configuration, graphql, factory$1 as graphqlAdapterFactory, graphqlBatch, graphqlBatch_imperative, graphql_deprecated, graphql_imperative, graphql_imperative_deprecated, graphql_imperative_onestore, graphql_onestore, graphql_state_manager, refreshGraphQL, refreshGraphQL_deprecated };
28830
- // version: 1.419.0-8232dcd0ab
28830
+ // version: 1.420.0-576a1ea316
package/sfdc/index.js CHANGED
@@ -26596,6 +26596,12 @@ const picklistValuesConfigPropertyNames = {
26596
26596
  },
26597
26597
  };
26598
26598
  function validateAdapterConfig$w(untrusted, _config) {
26599
+ if (process.env.NODE_ENV !== 'production') {
26600
+ const fieldApiName = untrusted.fieldApiName;
26601
+ if (typeof fieldApiName === 'string' && fieldApiName.includes(',')) {
26602
+ throw new TypeError(`adapter ${picklistValuesConfigPropertyNames.displayName} configuration must not have a comma in the fieldApiName: ${fieldApiName}`);
26603
+ }
26604
+ }
26599
26605
  return validateAdapterConfig$v(untrusted, picklistValuesConfigPropertyNames);
26600
26606
  }
26601
26607
 
@@ -40411,4 +40417,4 @@ withDefaultLuvio((luvio) => {
40411
40417
  });
40412
40418
 
40413
40419
  export { API_NAMESPACE, VERSION$1i as FieldValueRepresentationVersion, 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, coerceLayoutModeArray, getLayoutTypeArray as coerceLayoutTypeArray, 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$E 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 };
40414
- // version: 1.419.0-8232dcd0ab
40420
+ // version: 1.420.0-576a1ea316
@@ -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.160.1-e075b880
98
+ // engine version: 0.160.3-354dc58b
99
99
 
100
100
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
101
101