@salesforce/lds-adapters-uiapi 1.357.0 → 1.359.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.
@@ -7,7 +7,7 @@ import { NormalizedGraphQL as type$45$util_NormalizedGraphQL, GraphQLIngestState
7
7
  import { FieldNode as $64$luvio_graphql$45$parser_FieldNode, OperationDefinitionNode as $64$luvio_graphql$45$parser_OperationDefinitionNode, SelectionNode as $64$luvio_graphql$45$parser_SelectionNode, FragmentDefinitionNode as $64$luvio_graphql$45$parser_FragmentDefinitionNode, InlineFragmentNode as $64$luvio_graphql$45$parser_InlineFragmentNode, FragmentSpreadNode as $64$luvio_graphql$45$parser_FragmentSpreadNode } from '@luvio/graphql-parser';
8
8
  import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables, GraphQLFragmentMap as $64$luvio_graphql_GraphQLFragmentMap } from '@luvio/graphql';
9
9
  export declare const name = "Analytics__AnalyticsRepresentation";
10
- export declare const VERSION = "9719233aaf1a82094e73b9cbd55205ac";
10
+ export declare const VERSION = "97ffe784049254d57e3831a3e3a0b79b";
11
11
  export interface Interface {
12
12
  MasterLabel: StringValue_Interface | undefined;
13
13
  DeveloperName: StringValue_Interface | undefined;
@@ -18,6 +18,7 @@ export interface Interface {
18
18
  Id: string;
19
19
  ApiName: string;
20
20
  NamespacePrefix: StringValue_Interface | undefined;
21
+ RecordOperations: StringValue_Interface[] | undefined;
21
22
  AnalyticsWorkspaces: Analytics__AnalyticsWorkspaceAssetConnection_Interface | undefined;
22
23
  }
23
24
  export interface MinimumInterface {
@@ -50091,7 +50091,7 @@ function getInContextFragmentType$x(fragment, fragmentMap) {
50091
50091
  }
50092
50092
 
50093
50093
  const name$f = 'Analytics__AnalyticsRepresentation';
50094
- const VERSION$t = '9719233aaf1a82094e73b9cbd55205ac';
50094
+ const VERSION$t = '97ffe784049254d57e3831a3e3a0b79b';
50095
50095
  function keyBuilder$t(luvio, path, data) {
50096
50096
  return keyPrefix + '::uiapi::' + name$f + '::' + data.Id; // We're missing idNodeName in the actual key here...
50097
50097
  }
@@ -50254,6 +50254,23 @@ function getTypeCacheKeys$q(cacheKeySink, astNode, state) {
50254
50254
  getTypeCacheKeys$1s(cacheKeySink, requestedField, NamespacePrefixState);
50255
50255
  break;
50256
50256
  }
50257
+ case 'StringValue': {
50258
+ const fullPath__RecordOperations = `${rootKey}__${fieldKey}`;
50259
+ for (let i = 0, len = fieldData.length; i < len; i++) {
50260
+ const item = fieldData[i];
50261
+ const itemState = {
50262
+ ...state,
50263
+ path: {
50264
+ parent: null,
50265
+ propertyName: null,
50266
+ fullPath: fullPath__RecordOperations + '__' + i
50267
+ },
50268
+ data: item,
50269
+ };
50270
+ getTypeCacheKeys$1s(cacheKeySink, requestedField, itemState);
50271
+ }
50272
+ break;
50273
+ }
50257
50274
  case 'Analytics__AnalyticsWorkspaceAssetConnection': {
50258
50275
  const AnalyticsWorkspacesState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
50259
50276
  getTypeCacheKeys$r(cacheKeySink, requestedField, AnalyticsWorkspacesState);
@@ -50325,6 +50342,12 @@ function getFieldType$v(field) {
50325
50342
  typename: 'StringValue'
50326
50343
  };
50327
50344
  }
50345
+ case 'RecordOperations': {
50346
+ return {
50347
+ isArray: true,
50348
+ typename: 'StringValue'
50349
+ };
50350
+ }
50328
50351
  case 'AnalyticsWorkspaces': {
50329
50352
  return {
50330
50353
  isArray: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-uiapi",
3
- "version": "1.357.0",
3
+ "version": "1.359.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.357.0",
72
- "@salesforce/lds-default-luvio": "^1.357.0"
71
+ "@salesforce/lds-bindings": "^1.359.0",
72
+ "@salesforce/lds-default-luvio": "^1.359.0"
73
73
  },
74
74
  "devDependencies": {
75
- "@salesforce/lds-compiler-plugins": "^1.357.0",
76
- "@salesforce/lds-jest": "^1.357.0",
77
- "@salesforce/lds-store-binary": "^1.357.0"
75
+ "@salesforce/lds-compiler-plugins": "^1.359.0",
76
+ "@salesforce/lds-jest": "^1.359.0",
77
+ "@salesforce/lds-store-binary": "^1.359.0"
78
78
  },
79
79
  "luvioBundlesize": [
80
80
  {
@@ -15786,7 +15786,7 @@ function getInContextFragmentType$x(fragment, fragmentMap) {
15786
15786
  }
15787
15787
 
15788
15788
  const name$f = 'Analytics__AnalyticsRepresentation';
15789
- const VERSION$p = '9719233aaf1a82094e73b9cbd55205ac';
15789
+ const VERSION$p = '97ffe784049254d57e3831a3e3a0b79b';
15790
15790
  function keyBuilder$j(luvio, path, data) {
15791
15791
  return keyPrefix + '::uiapi::' + name$f + '::' + data.Id; // We're missing idNodeName in the actual key here...
15792
15792
  }
@@ -15949,6 +15949,23 @@ function getTypeCacheKeys$i(cacheKeySink, astNode, state) {
15949
15949
  getTypeCacheKeys$1n(cacheKeySink, requestedField, NamespacePrefixState);
15950
15950
  break;
15951
15951
  }
15952
+ case 'StringValue': {
15953
+ const fullPath__RecordOperations = `${rootKey}__${fieldKey}`;
15954
+ for (let i = 0, len = fieldData.length; i < len; i++) {
15955
+ const item = fieldData[i];
15956
+ const itemState = {
15957
+ ...state,
15958
+ path: {
15959
+ parent: null,
15960
+ propertyName: null,
15961
+ fullPath: fullPath__RecordOperations + '__' + i
15962
+ },
15963
+ data: item,
15964
+ };
15965
+ getTypeCacheKeys$1n(cacheKeySink, requestedField, itemState);
15966
+ }
15967
+ break;
15968
+ }
15952
15969
  case 'Analytics__AnalyticsWorkspaceAssetConnection': {
15953
15970
  const AnalyticsWorkspacesState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
15954
15971
  getTypeCacheKeys$j(cacheKeySink, requestedField, AnalyticsWorkspacesState);
@@ -16020,6 +16037,12 @@ function getFieldType$v(field) {
16020
16037
  typename: 'StringValue'
16021
16038
  };
16022
16039
  }
16040
+ case 'RecordOperations': {
16041
+ return {
16042
+ isArray: true,
16043
+ typename: 'StringValue'
16044
+ };
16045
+ }
16023
16046
  case 'AnalyticsWorkspaces': {
16024
16047
  return {
16025
16048
  isArray: false,
@@ -23590,4 +23613,4 @@ register({
23590
23613
  });
23591
23614
 
23592
23615
  export { configurationForGraphQLAdapters as configuration, graphql, factory$1 as graphqlAdapterFactory, graphqlBatch, graphqlBatch_imperative, graphql_imperative };
23593
- // version: 1.357.0-5a2425b0d8
23616
+ // version: 1.359.0-0fa7873931
package/sfdc/index.js CHANGED
@@ -38946,4 +38946,4 @@ withDefaultLuvio((luvio) => {
38946
38946
  });
38947
38947
 
38948
38948
  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 };
38949
- // version: 1.357.0-5a2425b0d8
38949
+ // version: 1.359.0-0fa7873931
@@ -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.7-d2b9c7ef
98
+ // engine version: 0.157.2-ab8177c4
99
99
 
100
100
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
101
101
 
@@ -1652,6 +1652,7 @@ type Analytics__AnalyticsRepresentation implements Analytics__AnalyticsRepresent
1652
1652
  Id: ID!
1653
1653
  ApiName: String!
1654
1654
  NamespacePrefix: StringValue
1655
+ RecordOperations: [StringValue]
1655
1656
  AnalyticsWorkspaces: Analytics__AnalyticsWorkspaceAssetConnection
1656
1657
  }
1657
1658