@salesforce/lds-adapters-uiapi 1.376.0 → 1.377.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.
- package/dist/es/es2018/types/src/configuration.d.ts +0 -8
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__SemanticModel.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__SemanticModelRelatedModelEdge.d.ts +2 -3
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__SemanticModelRelatedModelRepresentation.d.ts +2 -3
- package/dist/es/es2018/types/src/main.d.ts +3 -6
- package/dist/es/es2018/types/src/sfdc_graphql.d.ts +1 -1
- package/dist/es/es2018/types/src/sfdc_rest.d.ts +1 -1
- package/dist/es/es2018/uiapi-records-service.js +6 -26
- package/package.json +8 -6
- package/sfdc/graphqlAdapters.js +251 -276
- package/sfdc/index.js +2 -22
- package/sfdc/uiapi-static-functions.js +0 -20
- package/src/raml/uiapi.graphql +4 -4
- /package/dist/es/es2018/types/src/{generated/artifacts/sfdc_graphqlAdapters.d.ts → sfdc_graphqlAdapters.d.ts} +0 -0
|
@@ -19,10 +19,6 @@ export declare const configurationForOneStoreEnabledAdapters: {
|
|
|
19
19
|
getGetObjectInfoAdapter: () => WireAdapterConstructor | undefined;
|
|
20
20
|
setGetObjectInfosAdapter: (adapter: WireAdapterConstructor) => void;
|
|
21
21
|
getGetObjectInfosAdapter: () => WireAdapterConstructor | undefined;
|
|
22
|
-
setGraphQLWireAdapter: (adapter: WireAdapterConstructor) => void;
|
|
23
|
-
getGraphQLWireAdapter: () => WireAdapterConstructor | undefined;
|
|
24
|
-
setGraphQLImperativeQueryAdapter: (adapter: GraphQLImperativeAdapter<any>) => void;
|
|
25
|
-
getGraphQLImperativeQueryAdapter: () => GraphQLImperativeAdapter<any> | undefined;
|
|
26
22
|
};
|
|
27
23
|
/**
|
|
28
24
|
* Helper function to return the one store adapter if it's defined, otherwise return the luvio adapter.
|
|
@@ -99,10 +95,6 @@ export declare const configurationForRestAdapters: {
|
|
|
99
95
|
getGetObjectInfoAdapter: () => WireAdapterConstructor | undefined;
|
|
100
96
|
setGetObjectInfosAdapter: (adapter: WireAdapterConstructor) => void;
|
|
101
97
|
getGetObjectInfosAdapter: () => WireAdapterConstructor | undefined;
|
|
102
|
-
setGraphQLWireAdapter: (adapter: WireAdapterConstructor) => void;
|
|
103
|
-
getGraphQLWireAdapter: () => WireAdapterConstructor | undefined;
|
|
104
|
-
setGraphQLImperativeQueryAdapter: (adapter: GraphQLImperativeAdapter<any>) => void;
|
|
105
|
-
getGraphQLImperativeQueryAdapter: () => GraphQLImperativeAdapter<any> | undefined;
|
|
106
98
|
setTrackedFieldDepthOnCacheMiss: (trackedFieldDepthOnCacheMissParam: number) => void;
|
|
107
99
|
getTrackedFieldDepthOnCacheMiss: () => number;
|
|
108
100
|
setTrackedFieldDepthOnCacheMergeConflict: (trackedFieldDepthOnCacheMergeConflictParam: number) => void;
|
|
@@ -9,7 +9,7 @@ import { NormalizedGraphQL as type$45$util_NormalizedGraphQL, GraphQLIngestState
|
|
|
9
9
|
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';
|
|
10
10
|
import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables, GraphQLFragmentMap as $64$luvio_graphql_GraphQLFragmentMap, GetMinimumSelectionsFunction as $64$luvio_graphql_GetMinimumSelectionsFunction } from '@luvio/graphql';
|
|
11
11
|
export declare const name = "Analytics__SemanticModel";
|
|
12
|
-
export declare const VERSION = "
|
|
12
|
+
export declare const VERSION = "b72b1c0ea68c56bd34254871be14650a";
|
|
13
13
|
export interface Interface {
|
|
14
14
|
MasterLabel: StringValue_Interface | undefined;
|
|
15
15
|
DeveloperName: StringValue_Interface | undefined;
|
|
@@ -18,12 +18,12 @@ export interface Interface {
|
|
|
18
18
|
LastModifiedDate: DateTimeValue_Interface | undefined;
|
|
19
19
|
CreatedDate: DateTimeValue_Interface | undefined;
|
|
20
20
|
Id: string;
|
|
21
|
-
ApiName:
|
|
21
|
+
ApiName: string;
|
|
22
22
|
AnalyticsWorkspaces: Analytics__AnalyticsWorkspaceAssetConnection_Interface | undefined;
|
|
23
23
|
NamespacePrefix: StringValue_Interface | undefined;
|
|
24
24
|
RelatedModel: Analytics__SemanticModelRelatedModelConnection_Interface | undefined;
|
|
25
25
|
Dataspaces: Analytics__DataspaceRepresentation_Interface[] | undefined;
|
|
26
|
-
RecordOperations:
|
|
26
|
+
RecordOperations: string[] | undefined;
|
|
27
27
|
}
|
|
28
28
|
export interface MinimumInterface {
|
|
29
29
|
Id: Interface["Id"];
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { Interface as Analytics__SemanticModelRelatedModelRepresentation_Interface } from './Analytics__SemanticModelRelatedModelRepresentation';
|
|
2
|
-
import { Interface as StringValue_Interface } from './StringValue';
|
|
3
2
|
import { Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Reader as $64$luvio_engine_Reader, SelectionPropertyKey as $64$luvio_engine_SelectionPropertyKey, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
4
3
|
import { NormalizedGraphQL as type$45$util_NormalizedGraphQL, GraphQLIngestState as type$45$util_GraphQLIngestState, GraphQLLuvioState as type$45$util_GraphQLLuvioState } from './type-util';
|
|
5
4
|
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';
|
|
6
5
|
import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables, GraphQLFragmentMap as $64$luvio_graphql_GraphQLFragmentMap, GetMinimumSelectionsFunction as $64$luvio_graphql_GetMinimumSelectionsFunction } from '@luvio/graphql';
|
|
7
6
|
export declare const name = "Analytics__SemanticModelRelatedModelEdge";
|
|
8
|
-
export declare const VERSION = "
|
|
7
|
+
export declare const VERSION = "599ee5de7493f65636333fe680350320";
|
|
9
8
|
export interface Interface {
|
|
10
9
|
node: Analytics__SemanticModelRelatedModelRepresentation_Interface | undefined;
|
|
11
|
-
cursor:
|
|
10
|
+
cursor: string;
|
|
12
11
|
}
|
|
13
12
|
export interface MinimumInterface {
|
|
14
13
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Interface as StringValue_Interface } from './StringValue';
|
|
2
1
|
import { Interface as IDValue_Interface } from './IDValue';
|
|
3
2
|
import { Interface as Analytics__SemanticModel_Interface } from './Analytics__SemanticModel';
|
|
4
3
|
import { Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Reader as $64$luvio_engine_Reader, SelectionPropertyKey as $64$luvio_engine_SelectionPropertyKey, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
@@ -6,10 +5,10 @@ import { NormalizedGraphQL as type$45$util_NormalizedGraphQL, GraphQLIngestState
|
|
|
6
5
|
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';
|
|
7
6
|
import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables, GraphQLFragmentMap as $64$luvio_graphql_GraphQLFragmentMap, GetMinimumSelectionsFunction as $64$luvio_graphql_GetMinimumSelectionsFunction } from '@luvio/graphql';
|
|
8
7
|
export declare const name = "Analytics__SemanticModelRelatedModelRepresentation";
|
|
9
|
-
export declare const VERSION = "
|
|
8
|
+
export declare const VERSION = "d15efc102e60adb7032cae926a95b40d";
|
|
10
9
|
export interface Interface {
|
|
11
10
|
Id: string;
|
|
12
|
-
ApiName:
|
|
11
|
+
ApiName: string;
|
|
13
12
|
SemanticModelId: IDValue_Interface | undefined;
|
|
14
13
|
RelatedSemanticModel: Analytics__SemanticModel_Interface | undefined;
|
|
15
14
|
}
|
|
@@ -32,13 +32,14 @@ export type { GetRelatedListInfoBatchConfig } from './generated/adapters/getRela
|
|
|
32
32
|
export type { GetRelatedListsInfoConfig } from './generated/adapters/getRelatedListsInfo';
|
|
33
33
|
export type { GetRelatedListActionsConfig } from './generated/adapters/getRelatedListActions';
|
|
34
34
|
export { untrustedIsObject, keyPrefix as UiApiNamespace } from './generated/adapters/adapter-utils';
|
|
35
|
+
export type { RecordFieldTrie } from './util/records';
|
|
35
36
|
export type { RecordRepresentation } from './generated/types/RecordRepresentation';
|
|
36
37
|
export { RecordRepresentationNormalized, keyBuilder as keyBuilderRecord, KeyParams as KeyParamsRecord, RepresentationType as RecordRepresentationRepresentationType, VERSION as RecordRepresentationVersion, TTL as RecordRepresentationTTL, RepresentationType as RecordRepresentationType, } from './generated/types/RecordRepresentation';
|
|
37
38
|
export { ingest as ingestRecord, createIngestRecordWithFields, } from './raml-artifacts/types/RecordRepresentation/ingest';
|
|
38
39
|
export { getTypeCacheKeys as getTypeCacheKeysRecord } from './raml-artifacts/types/RecordRepresentation/getTypeCacheKeys';
|
|
39
40
|
export { ObjectInfoRepresentation, keyBuilder as keyBuilderObjectInfo, ingest as ingestObjectInfo, RepresentationType as ObjectInfoRepresentationType, } from './generated/types/ObjectInfoRepresentation';
|
|
40
41
|
export { ObjectInfoDirectoryRepresentation, RepresentationType as ObjectInfoDirectoryEntryRepresentationType, } from './generated/types/ObjectInfoDirectoryRepresentation';
|
|
41
|
-
export { FieldValueRepresentation, FieldValueRepresentationNormalized, } from './generated/types/FieldValueRepresentation';
|
|
42
|
+
export { FieldValueRepresentation, FieldValueRepresentationNormalized, VERSION as FieldValueRepresentationVersion, } from './generated/types/FieldValueRepresentation';
|
|
42
43
|
export { BatchRepresentation } from './generated/types/BatchRepresentation';
|
|
43
44
|
export { SimplifiedBatchRepresentation } from './generated/types/SimplifiedBatchRepresentation';
|
|
44
45
|
export { RelatedListRecordCollectionBatchRepresentation } from './generated/types/RelatedListRecordCollectionBatchRepresentation';
|
|
@@ -70,7 +71,7 @@ export type { DraftAwarePerformUpdateRecordQuickActionAdapter } from './wire/per
|
|
|
70
71
|
export type { DraftAwareGraphQLAdapter } from './wire/graphql/configurationTypes';
|
|
71
72
|
export type { EnvironmentAwareGraphQLBatchAdapter } from './wire/graphqlBatch/configurationTypes';
|
|
72
73
|
export type { ContentDocumentCompositeRepresentation } from './generated/types/ContentDocumentCompositeRepresentation';
|
|
73
|
-
export { keyBuilderFromType as keyBuilderFromTypeRecordRepresentation } from './
|
|
74
|
+
export { keyBuilderFromType as keyBuilderFromTypeRecordRepresentation } from './raml-artifacts/types/RecordRepresentation/keyBuilderFromType';
|
|
74
75
|
export { keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, } from './generated/types/ContentDocumentCompositeRepresentation';
|
|
75
76
|
export { ingest as ingestContentDocumentCompositeRepresentation } from './generated/types/ContentDocumentCompositeRepresentation';
|
|
76
77
|
export { getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation } from './generated/resources/postUiApiRecordsContentDocumentsContentVersionsByContentDocumentId';
|
|
@@ -95,10 +96,6 @@ export declare const configuration: {
|
|
|
95
96
|
getGetObjectInfoAdapter: () => import("@lwc/engine-core").WireAdapterConstructor | undefined;
|
|
96
97
|
setGetObjectInfosAdapter: (adapter: import("@lwc/engine-core").WireAdapterConstructor) => void;
|
|
97
98
|
getGetObjectInfosAdapter: () => import("@lwc/engine-core").WireAdapterConstructor | undefined;
|
|
98
|
-
setGraphQLWireAdapter: (adapter: import("@lwc/engine-core").WireAdapterConstructor) => void;
|
|
99
|
-
getGraphQLWireAdapter: () => import("@lwc/engine-core").WireAdapterConstructor | undefined;
|
|
100
|
-
setGraphQLImperativeQueryAdapter: (adapter: import("@salesforce/lds-bindings").GraphQLImperativeAdapter<any>) => void;
|
|
101
|
-
getGraphQLImperativeQueryAdapter: () => import("@salesforce/lds-bindings").GraphQLImperativeAdapter<any> | undefined;
|
|
102
99
|
getDraftAwareGraphQLAdapter: () => import("./wire/graphql/configurationTypes").DraftAwareGraphQLAdapter | undefined;
|
|
103
100
|
setDraftAwareGraphQLAdapter: (value: import("./wire/graphql/configurationTypes").DraftAwareGraphQLAdapter) => void;
|
|
104
101
|
getEnvironmentAwareGraphQLBatchAdapter: () => import("./wire/graphqlBatch/configurationTypes").EnvironmentAwareGraphQLBatchAdapter | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './sfdc_graphqlAdapters';
|
|
2
2
|
import { configurationForGraphQLAdapters } from './configuration';
|
|
3
3
|
import type { ConfigurationForGraphQLAdapters } from './configuration';
|
|
4
4
|
import type { Instrument } from './instrumentation';
|
|
@@ -25,7 +25,7 @@ export { keyBuilder as keyBuilderQuickActionExecutionRepresentation, ingest as i
|
|
|
25
25
|
export { ConfigurationForRestAdapters as Configuration, configurationForRestAdapters as configuration, } from './configuration';
|
|
26
26
|
export { instrument, Instrument, Registration } from './main';
|
|
27
27
|
export { CachePolicy, CachePolicyCacheAndNetwork, CachePolicyCacheThenNetwork, CachePolicyNoCache, CachePolicyOnlyIfCached, CachePolicyStaleWhileRevalidate, CachePolicyValidAt, } from './main';
|
|
28
|
-
export { getRecordId18, getRecordId18Array, coerceFieldIdArray, coerceObjectId, coerceObjectIdArray, getRecordAdapterFactory, getRecordsAdapterFactory, getRecordActionsAdapterFactory, getRecordAvatarsAdapterFactory, getObjectInfoAdapterFactory, getObjectInfosAdapterFactory, getObjectInfoDirectoryAdapterFactory, getRelatedListsActionsAdapterFactory, getRelatedListRecordsAdapterFactory, getRelatedListRecordsBatchAdapterFactory, getTypeCacheKeysRecord, RecordRepresentationVersion, RecordRepresentationTTL, RecordRepresentationType, ObjectInfoRepresentationType, ObjectInfoDirectoryEntryRepresentationType, RecordRepresentationRepresentationType, keyBuilderFromTypeRecordRepresentation, keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderContentDocumentCompositeRepresentation, ingestContentDocumentCompositeRepresentation, getResponseCacheKeysContentDocumentCompositeRepresentation, getRelatedListInfoAdapterFactory, getRelatedListInfoBatchAdapterFactory, getListInfoByNameAdapterFactory, getListObjectInfoAdapterFactory, getListRecordsByNameAdapterFactory, getListInfosByObjectNameAdapterFactory, getRelatedListsInfoAdapterFactory, getRelatedListActionsAdapterFactory, } from './main';
|
|
28
|
+
export { getRecordId18, getRecordId18Array, coerceFieldIdArray, coerceObjectId, coerceObjectIdArray, getRecordAdapterFactory, getRecordsAdapterFactory, getRecordActionsAdapterFactory, getRecordAvatarsAdapterFactory, getObjectInfoAdapterFactory, getObjectInfosAdapterFactory, getObjectInfoDirectoryAdapterFactory, getRelatedListsActionsAdapterFactory, getRelatedListRecordsAdapterFactory, getRelatedListRecordsBatchAdapterFactory, getTypeCacheKeysRecord, FieldValueRepresentationVersion, RecordRepresentationVersion, RecordRepresentationTTL, RecordRepresentationType, ObjectInfoRepresentationType, ObjectInfoDirectoryEntryRepresentationType, RecordFieldTrie, RecordRepresentationRepresentationType, keyBuilderFromTypeRecordRepresentation, keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderContentDocumentCompositeRepresentation, ingestContentDocumentCompositeRepresentation, getResponseCacheKeysContentDocumentCompositeRepresentation, getRelatedListInfoAdapterFactory, getRelatedListInfoBatchAdapterFactory, getListInfoByNameAdapterFactory, getListObjectInfoAdapterFactory, getListRecordsByNameAdapterFactory, getListInfosByObjectNameAdapterFactory, getRelatedListsInfoAdapterFactory, getRelatedListActionsAdapterFactory, } from './main';
|
|
29
29
|
export { UiApiNamespace, InMemoryRecordRepresentationQueryEvaluator } from './main';
|
|
30
30
|
export { isSupportedEntity } from './main';
|
|
31
31
|
export { getRecordIngestionOverride } from './main';
|
|
@@ -66,14 +66,6 @@ let oneStoreGetObjectInfoAdapter = undefined;
|
|
|
66
66
|
* One store enabled Get Object Infos adapter
|
|
67
67
|
*/
|
|
68
68
|
let oneStoreGetObjectInfosAdapter = undefined;
|
|
69
|
-
/**
|
|
70
|
-
* One store enabled GraphQL adapter
|
|
71
|
-
*/
|
|
72
|
-
let oneStoreGraphQLWireAdapter = undefined;
|
|
73
|
-
/**
|
|
74
|
-
* One store enabled GraphQL imperative query adapter
|
|
75
|
-
*/
|
|
76
|
-
let oneStoreGraphQLImperativeQueryAdapter = undefined;
|
|
77
69
|
/**
|
|
78
70
|
* Determines when to include PDL strategies for Related Lists
|
|
79
71
|
*/
|
|
@@ -100,18 +92,6 @@ const configurationForOneStoreEnabledAdapters = {
|
|
|
100
92
|
getGetObjectInfosAdapter: function () {
|
|
101
93
|
return oneStoreGetObjectInfosAdapter;
|
|
102
94
|
},
|
|
103
|
-
setGraphQLWireAdapter: function (adapter) {
|
|
104
|
-
oneStoreGraphQLWireAdapter = adapter;
|
|
105
|
-
},
|
|
106
|
-
getGraphQLWireAdapter: function () {
|
|
107
|
-
return oneStoreGraphQLWireAdapter;
|
|
108
|
-
},
|
|
109
|
-
setGraphQLImperativeQueryAdapter: function (adapter) {
|
|
110
|
-
oneStoreGraphQLImperativeQueryAdapter = adapter;
|
|
111
|
-
},
|
|
112
|
-
getGraphQLImperativeQueryAdapter: function () {
|
|
113
|
-
return oneStoreGraphQLImperativeQueryAdapter;
|
|
114
|
-
},
|
|
115
95
|
};
|
|
116
96
|
const getKeywordSearchResultsFactory = new Configurable();
|
|
117
97
|
const getListRecordsByNameFactory = new Configurable();
|
|
@@ -57508,7 +57488,7 @@ function getFieldType$3(field) {
|
|
|
57508
57488
|
case 'ApiName': {
|
|
57509
57489
|
return {
|
|
57510
57490
|
isArray: false,
|
|
57511
|
-
typename: '
|
|
57491
|
+
typename: 'String'
|
|
57512
57492
|
};
|
|
57513
57493
|
}
|
|
57514
57494
|
case 'SemanticModelId': {
|
|
@@ -57560,7 +57540,7 @@ function getFieldType$2(field) {
|
|
|
57560
57540
|
case 'cursor': {
|
|
57561
57541
|
return {
|
|
57562
57542
|
isArray: false,
|
|
57563
|
-
typename: '
|
|
57543
|
+
typename: 'String'
|
|
57564
57544
|
};
|
|
57565
57545
|
}
|
|
57566
57546
|
default:
|
|
@@ -57696,7 +57676,7 @@ function getFieldType(field) {
|
|
|
57696
57676
|
case 'ApiName': {
|
|
57697
57677
|
return {
|
|
57698
57678
|
isArray: false,
|
|
57699
|
-
typename: '
|
|
57679
|
+
typename: 'String'
|
|
57700
57680
|
};
|
|
57701
57681
|
}
|
|
57702
57682
|
case 'AnalyticsWorkspaces': {
|
|
@@ -57725,8 +57705,8 @@ function getFieldType(field) {
|
|
|
57725
57705
|
}
|
|
57726
57706
|
case 'RecordOperations': {
|
|
57727
57707
|
return {
|
|
57728
|
-
isArray:
|
|
57729
|
-
typename: '
|
|
57708
|
+
isArray: true,
|
|
57709
|
+
typename: 'String'
|
|
57730
57710
|
};
|
|
57731
57711
|
}
|
|
57732
57712
|
default:
|
|
@@ -64071,4 +64051,4 @@ function getRecordIngestionOverride() {
|
|
|
64071
64051
|
return getRecordRepresentationIngestionOverride();
|
|
64072
64052
|
}
|
|
64073
64053
|
|
|
64074
|
-
export { API_NAMESPACE, notifyChangeFactory as GetRecordNotifyChange, InMemoryRecordRepresentationQueryEvaluator, MRU, notifyUpdateAvailableFactory$3 as NotifyListInfoSummaryUpdateAvailable, notifyUpdateAvailableFactory$1 as NotifyListInfoUpdateAvailable, notifyUpdateAvailableFactory$4 as NotifyListRecordCollectionUpdateAvailable, notifyUpdateAvailableFactory$2 as NotifyListViewSummaryUpdateAvailable, notifyUpdateAvailableFactory as NotifyQuickActionDefaultsUpdateAvailable, notifyUpdateAvailableFactory$5 as NotifyRecordUpdateAvailable, RepresentationType$O as ObjectInfoDirectoryEntryRepresentationType, RepresentationType$T as ObjectInfoRepresentationType, RECORD_FIELDS_KEY_JUNCTION, RECORD_ID_PREFIX, RECORD_REPRESENTATION_NAME, RECORD_VIEW_ENTITY_ID_PREFIX, RECORD_VIEW_ENTITY_REPRESENTATION_NAME, RepresentationType$_ as RecordRepresentationRepresentationType, TTL$F as RecordRepresentationTTL, RepresentationType$_ as RecordRepresentationType, VERSION$2V as RecordRepresentationVersion, keyPrefix as UiApiNamespace, buildRecordRepKeyFromId, buildSelectionFromFields, buildSelectionFromRecord, getFieldApiNamesArray as coerceFieldIdArray, getObjectApiName$1 as coerceObjectId, getObjectApiNamesArray as coerceObjectIdArray, configuration, factory$1 as createContentDocumentAndVersionAdapterFactory, factory as createContentVersionAdapterFactory, createIngestRecordWithFields, createLDSAdapterWithPrediction, createListInfoAdapterFactory, factory$4 as createRecordAdapterFactory, createRecordInputFilteredByEditedFields, createRelatedListAdapterWithPrediction, createRelatedListPlusAdapterWithPrediction, deleteListInfoAdapterFactory, factory$3 as deleteRecordAdapterFactory, factory$f as executeBatchRecordOperationsAdapterFactory, extractRecordIdFromStoreKey, generateRecordInputForCreate, generateRecordInputForUpdate, getActionOverridesAdapterFactory, getAllAppsAdapterFactory, getAppDetailsAdapterFactory, getDuplicateConfigurationAdapterFactory, getDuplicatesAdapterFactory, getFieldDisplayValue$1 as getFieldDisplayValue, getFieldValue, getFlexipageFormulaOverridesAdapterFactory, getGlobalActionsAdapterFactory, getKeywordSearchResultsAdapterFactory, getLayoutAdapterFactory, getLayoutUserStateAdapterFactory, getListInfoByNameAdapterFactory, getListInfosByNameAdapterFactory, getListInfosByObjectNameAdapterFactory, getListObjectInfoAdapterFactory, getListPreferencesAdapterFactory, factory$a as getListRecordsByNameAdapterFactory, factory$j as getListUiAdapterFactory, getListUiByApiNameAdapterFactory, getListUiByListViewIdAdapterFactory, getListViewSummaryCollectionAdapterFactory, getLookupActionsAdapterFactory, getLookupMetadataAdapterFactory, factory$9 as getLookupRecordsAdapterFactory, factory$k as getMruListUiAdapterFactory, getNavItemsAdapterFactory, getObjectCreateActionsAdapterFactory, getObjectInfoAdapterFactory, getObjectInfoDirectoryAdapterFactory, getObjectInfosAdapterFactory, getPathLayoutAdapterFactory, getPicklistValuesAdapterFactory, getPicklistValuesByRecordTypeAdapterFactory, getQuickActionDefaultsAdapterFactory, getQuickActionInfoAdapterFactory, getQuickActionLayoutAdapterFactory, getRecordActionsAdapterFactory, factory$h as getRecordAdapterFactory, getRecordAvatarsAdapterFactory, factory$7 as getRecordCreateDefaultsAdapterFactory, getRecordEditActionsAdapterFactory, getRecordId18, getRecordId18Array, getRecordIngestionOverride, getRecordInput, createFieldsIngestSuccess$3 as getRecordResourceIngest, factory$6 as getRecordTemplateCloneAdapterFactory, factory$5 as getRecordTemplateCreateAdapterFactory, factory$i as getRecordUiAdapterFactory, getRecordsAdapterFactory, getRelatedListActionsAdapterFactory, getRelatedListCountAdapterFactory, getRelatedListInfoAdapterFactory, getRelatedListInfoBatchAdapterFactory, getRelatedListPreferencesAdapterFactory, getRelatedListPreferencesBatchAdapterFactory, getRelatedListRecordActionsAdapterFactory, getRelatedListRecordsAdapterFactory, getRelatedListRecordsBatchAdapterFactory, getRelatedListsActionsAdapterFactory, getRelatedListsCountAdapterFactory, getRelatedListsInfoAdapterFactory, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadataAdapterFactory, getSearchFilterOptionsAdapterFactory, getSearchResultsAdapterFactory, getSelectedAppAdapterFactory, getTypeCacheKeys$2w as getTypeCacheKeysRecord, factory$e as graphqlAdapterFactory, factory$g as graphqlBatchAdapterFactory, ingest$4 as ingestContentDocumentCompositeRepresentation, ingest$22 as ingestDuplicateConfiguration, ingest$1Y as ingestDuplicatesRepresentation, ingest$2u as ingestListInfo, ingest$2q as ingestListRecords, ingest$2k as ingestObjectInfo, ingest$2e as ingestQuickActionExecutionRepresentation, ingest$2r as ingestRecord, ingest$2h as ingestRecordUi, ingest$1Q as ingestRelatedListInfo, ingest$2 as ingestRelatedListInfoBatch, ingest$1N as ingestRelatedListRecords, ingest as ingestRelatedListRecordsBatch, ingest$1P as ingestRelatedListSummaryInfoCollection, ingest$7 as ingestUiApiGraphql, instrument, isStoreKeyRecordViewEntity, isSupportedEntity, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$
|
|
64054
|
+
export { API_NAMESPACE, VERSION$2X as FieldValueRepresentationVersion, notifyChangeFactory as GetRecordNotifyChange, InMemoryRecordRepresentationQueryEvaluator, MRU, notifyUpdateAvailableFactory$3 as NotifyListInfoSummaryUpdateAvailable, notifyUpdateAvailableFactory$1 as NotifyListInfoUpdateAvailable, notifyUpdateAvailableFactory$4 as NotifyListRecordCollectionUpdateAvailable, notifyUpdateAvailableFactory$2 as NotifyListViewSummaryUpdateAvailable, notifyUpdateAvailableFactory as NotifyQuickActionDefaultsUpdateAvailable, notifyUpdateAvailableFactory$5 as NotifyRecordUpdateAvailable, RepresentationType$O as ObjectInfoDirectoryEntryRepresentationType, RepresentationType$T as ObjectInfoRepresentationType, RECORD_FIELDS_KEY_JUNCTION, RECORD_ID_PREFIX, RECORD_REPRESENTATION_NAME, RECORD_VIEW_ENTITY_ID_PREFIX, RECORD_VIEW_ENTITY_REPRESENTATION_NAME, RepresentationType$_ as RecordRepresentationRepresentationType, TTL$F as RecordRepresentationTTL, RepresentationType$_ as RecordRepresentationType, VERSION$2V as RecordRepresentationVersion, keyPrefix as UiApiNamespace, buildRecordRepKeyFromId, buildSelectionFromFields, buildSelectionFromRecord, getFieldApiNamesArray as coerceFieldIdArray, getObjectApiName$1 as coerceObjectId, getObjectApiNamesArray as coerceObjectIdArray, configuration, factory$1 as createContentDocumentAndVersionAdapterFactory, factory as createContentVersionAdapterFactory, createIngestRecordWithFields, createLDSAdapterWithPrediction, createListInfoAdapterFactory, factory$4 as createRecordAdapterFactory, createRecordInputFilteredByEditedFields, createRelatedListAdapterWithPrediction, createRelatedListPlusAdapterWithPrediction, deleteListInfoAdapterFactory, factory$3 as deleteRecordAdapterFactory, factory$f as executeBatchRecordOperationsAdapterFactory, extractRecordIdFromStoreKey, generateRecordInputForCreate, generateRecordInputForUpdate, getActionOverridesAdapterFactory, getAllAppsAdapterFactory, getAppDetailsAdapterFactory, getDuplicateConfigurationAdapterFactory, getDuplicatesAdapterFactory, getFieldDisplayValue$1 as getFieldDisplayValue, getFieldValue, getFlexipageFormulaOverridesAdapterFactory, getGlobalActionsAdapterFactory, getKeywordSearchResultsAdapterFactory, getLayoutAdapterFactory, getLayoutUserStateAdapterFactory, getListInfoByNameAdapterFactory, getListInfosByNameAdapterFactory, getListInfosByObjectNameAdapterFactory, getListObjectInfoAdapterFactory, getListPreferencesAdapterFactory, factory$a as getListRecordsByNameAdapterFactory, factory$j as getListUiAdapterFactory, getListUiByApiNameAdapterFactory, getListUiByListViewIdAdapterFactory, getListViewSummaryCollectionAdapterFactory, getLookupActionsAdapterFactory, getLookupMetadataAdapterFactory, factory$9 as getLookupRecordsAdapterFactory, factory$k as getMruListUiAdapterFactory, getNavItemsAdapterFactory, getObjectCreateActionsAdapterFactory, getObjectInfoAdapterFactory, getObjectInfoDirectoryAdapterFactory, getObjectInfosAdapterFactory, getPathLayoutAdapterFactory, getPicklistValuesAdapterFactory, getPicklistValuesByRecordTypeAdapterFactory, getQuickActionDefaultsAdapterFactory, getQuickActionInfoAdapterFactory, getQuickActionLayoutAdapterFactory, getRecordActionsAdapterFactory, factory$h as getRecordAdapterFactory, getRecordAvatarsAdapterFactory, factory$7 as getRecordCreateDefaultsAdapterFactory, getRecordEditActionsAdapterFactory, getRecordId18, getRecordId18Array, getRecordIngestionOverride, getRecordInput, createFieldsIngestSuccess$3 as getRecordResourceIngest, factory$6 as getRecordTemplateCloneAdapterFactory, factory$5 as getRecordTemplateCreateAdapterFactory, factory$i as getRecordUiAdapterFactory, getRecordsAdapterFactory, getRelatedListActionsAdapterFactory, getRelatedListCountAdapterFactory, getRelatedListInfoAdapterFactory, getRelatedListInfoBatchAdapterFactory, getRelatedListPreferencesAdapterFactory, getRelatedListPreferencesBatchAdapterFactory, getRelatedListRecordActionsAdapterFactory, getRelatedListRecordsAdapterFactory, getRelatedListRecordsBatchAdapterFactory, getRelatedListsActionsAdapterFactory, getRelatedListsCountAdapterFactory, getRelatedListsInfoAdapterFactory, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadataAdapterFactory, getSearchFilterOptionsAdapterFactory, getSearchResultsAdapterFactory, getSelectedAppAdapterFactory, getTypeCacheKeys$2w as getTypeCacheKeysRecord, factory$e as graphqlAdapterFactory, factory$g as graphqlBatchAdapterFactory, ingest$4 as ingestContentDocumentCompositeRepresentation, ingest$22 as ingestDuplicateConfiguration, ingest$1Y as ingestDuplicatesRepresentation, ingest$2u as ingestListInfo, ingest$2q as ingestListRecords, ingest$2k as ingestObjectInfo, ingest$2e as ingestQuickActionExecutionRepresentation, ingest$2r as ingestRecord, ingest$2h as ingestRecordUi, ingest$1Q as ingestRelatedListInfo, ingest$2 as ingestRelatedListInfoBatch, ingest$1N as ingestRelatedListRecords, ingest as ingestRelatedListRecordsBatch, ingest$1P as ingestRelatedListSummaryInfoCollection, ingest$7 as ingestUiApiGraphql, instrument, isStoreKeyRecordViewEntity, isSupportedEntity, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$E as keyBuilderFromTypeRecordRepresentation, keyBuilder$3x as keyBuilderObjectInfo, keyBuilder$3q as keyBuilderQuickActionExecutionRepresentation, keyBuilder$3O as keyBuilderRecord, factory$c as performQuickActionAdapterFactory, factory$d as performUpdateRecordQuickActionAdapterFactory, registerPrefetcher, untrustedIsObject, factory$b as updateLayoutUserStateAdapterFactory, updateListInfoByNameAdapterFactory, updateListPreferencesAdapterFactory, factory$2 as updateRecordAdapterFactory, factory$8 as updateRecordAvatarAdapterFactory, updateRelatedListInfoAdapterFactory, updateRelatedListPreferencesAdapterFactory };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-uiapi",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.377.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",
|
|
@@ -69,13 +69,15 @@
|
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"@luvio/graphql-parser": "0.158.7",
|
|
72
|
-
"@salesforce/lds-
|
|
73
|
-
"@salesforce/lds-
|
|
72
|
+
"@salesforce/lds-adapters-onestore-graphql": "^1.377.0",
|
|
73
|
+
"@salesforce/lds-adapters-uiapi": "^1.376.0",
|
|
74
|
+
"@salesforce/lds-bindings": "^1.377.0",
|
|
75
|
+
"@salesforce/lds-default-luvio": "^1.377.0"
|
|
74
76
|
},
|
|
75
77
|
"devDependencies": {
|
|
76
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
77
|
-
"@salesforce/lds-jest": "^1.
|
|
78
|
-
"@salesforce/lds-store-binary": "^1.
|
|
78
|
+
"@salesforce/lds-compiler-plugins": "^1.377.0",
|
|
79
|
+
"@salesforce/lds-jest": "^1.377.0",
|
|
80
|
+
"@salesforce/lds-store-binary": "^1.377.0"
|
|
79
81
|
},
|
|
80
82
|
"luvioBundlesize": [
|
|
81
83
|
{
|
package/sfdc/graphqlAdapters.js
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
import { register, withDefaultLuvio } from 'force/ldsEngine';
|
|
16
16
|
import { print, visit, parse, astResolver } from 'force/ldsGraphqlParser';
|
|
17
17
|
import { createInstrumentedAdapter, createLDSAdapter, createGraphQLWireAdapterConstructor, createGraphQLImperativeAdapter, refresh } from 'force/ldsBindings';
|
|
18
|
+
import { registerCallback } from 'force/ldsAdaptersOnestoreGraphql';
|
|
18
19
|
import { serializeStructuredKey, resolveLink, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$2, StoreKeyMap, createResourceParams as createResourceParams$2, StoreKeySet } from 'force/luvioEngine';
|
|
19
20
|
import { getRequestedFieldsForType, buildFieldState, buildQueryTypeStringKey, serializeFieldArguments, deepMerge, getOperationFromDocument, createFragmentMap, applyMinimumFieldsToDocument } from 'force/luvioGraphql';
|
|
20
21
|
import { createIngestRecordWithFields } from 'force/ldsAdaptersUiapi';
|
|
@@ -159,267 +160,6 @@ function buildAdapterValidationConfig(displayName, paramsMeta) {
|
|
|
159
160
|
}
|
|
160
161
|
const keyPrefix = 'UiApi';
|
|
161
162
|
|
|
162
|
-
/**
|
|
163
|
-
* Defines configuration for the module with a default value which can be overridden by the runtime environment.
|
|
164
|
-
*/
|
|
165
|
-
// A holder for a configurable adapter override
|
|
166
|
-
class Configurable {
|
|
167
|
-
constructor() {
|
|
168
|
-
this.getAdapter = () => {
|
|
169
|
-
return this.adapter;
|
|
170
|
-
};
|
|
171
|
-
this.setAdapter = (value) => {
|
|
172
|
-
this.adapter = value;
|
|
173
|
-
};
|
|
174
|
-
this.adapter = undefined;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
// Configurable adapters that can have environmental overrides
|
|
178
|
-
let configurableCreateRecordAdapter = new Configurable();
|
|
179
|
-
let configurableUpdateRecordAdapter = new Configurable();
|
|
180
|
-
let configurableDeleteRecordAdapter = new Configurable();
|
|
181
|
-
let configurablePerformQuickActionAdapter = new Configurable();
|
|
182
|
-
let configurablePerformUpdateRecordQuickActionAdapter = new Configurable();
|
|
183
|
-
let configurableCreateContentDocumentAndVersion = new Configurable();
|
|
184
|
-
let configurableCreateContentVersion = new Configurable();
|
|
185
|
-
/**
|
|
186
|
-
* Depth to which tracked fields will be added to a request that results from a cache miss.
|
|
187
|
-
* A value of 0 inhibits the addition of tracked fields, 1 will add tracked fields that can
|
|
188
|
-
* be reached by following 1 relationship from the root record, etc.
|
|
189
|
-
* @defaultValue '5', replicates the current behavior
|
|
190
|
-
*/
|
|
191
|
-
let trackedFieldDepthOnCacheMiss = 5;
|
|
192
|
-
/**
|
|
193
|
-
* Depth to which tracked fields will be added to a request that results from a merge conflict
|
|
194
|
-
* A value of 0 inhibits the addition of tracked fields, 1 will add tracked fields that can
|
|
195
|
-
* be reached by following 1 relationship from the root record, etc.
|
|
196
|
-
* @defaultValue '5', replicates the current behavior
|
|
197
|
-
*/
|
|
198
|
-
let trackedFieldDepthOnCacheMergeConflict = 5;
|
|
199
|
-
/**
|
|
200
|
-
* Depth to which tracked fields will be added to a request that results from a notify change invocation by the consumer
|
|
201
|
-
* A value of 0 inhibits the addition of tracked fields, 1 will add tracked fields that can
|
|
202
|
-
* be reached by following 1 relationship from the root record, etc.
|
|
203
|
-
* @defaultValue '5', replicates the current behavior
|
|
204
|
-
*/
|
|
205
|
-
let trackedFieldDepthOnNotifyChange = 5;
|
|
206
|
-
/**
|
|
207
|
-
* Determines if we will only fetch the 'Id' field for the leaf relationship record
|
|
208
|
-
* @defaultValue 'false', replicates the current behavior and fetches all fields in the store for the leaf relationship record
|
|
209
|
-
*/
|
|
210
|
-
let trackedFieldLeafNodeIdAndNameOnly = false;
|
|
211
|
-
/**
|
|
212
|
-
* One store enabled Get Object Info adapter
|
|
213
|
-
*/
|
|
214
|
-
let oneStoreGetObjectInfoAdapter = undefined;
|
|
215
|
-
/**
|
|
216
|
-
* One store enabled Get Object Infos adapter
|
|
217
|
-
*/
|
|
218
|
-
let oneStoreGetObjectInfosAdapter = undefined;
|
|
219
|
-
/**
|
|
220
|
-
* One store enabled GraphQL adapter
|
|
221
|
-
*/
|
|
222
|
-
let oneStoreGraphQLWireAdapter = undefined;
|
|
223
|
-
/**
|
|
224
|
-
* One store enabled GraphQL imperative query adapter
|
|
225
|
-
*/
|
|
226
|
-
let oneStoreGraphQLImperativeQueryAdapter = undefined;
|
|
227
|
-
/**
|
|
228
|
-
* Determines when to include PDL strategies for Related Lists
|
|
229
|
-
*/
|
|
230
|
-
let relatedListsPredictionsEnabled = false;
|
|
231
|
-
/**
|
|
232
|
-
* Determines whether to include additional PDL strategies for Related Lists
|
|
233
|
-
*/
|
|
234
|
-
let relatedListsPlusPredictionsEnabled = false;
|
|
235
|
-
let recordRepresentationIngestionOverride = undefined;
|
|
236
|
-
/**
|
|
237
|
-
* Defines the configuration API and is exposed internally as well as externally.
|
|
238
|
-
* Configuration for one store enabled REST adapters only.
|
|
239
|
-
*/
|
|
240
|
-
const configurationForOneStoreEnabledAdapters = {
|
|
241
|
-
setGetObjectInfoAdapter: function (adapter) {
|
|
242
|
-
oneStoreGetObjectInfoAdapter = adapter;
|
|
243
|
-
},
|
|
244
|
-
getGetObjectInfoAdapter: function () {
|
|
245
|
-
return oneStoreGetObjectInfoAdapter;
|
|
246
|
-
},
|
|
247
|
-
setGetObjectInfosAdapter: function (adapter) {
|
|
248
|
-
oneStoreGetObjectInfosAdapter = adapter;
|
|
249
|
-
},
|
|
250
|
-
getGetObjectInfosAdapter: function () {
|
|
251
|
-
return oneStoreGetObjectInfosAdapter;
|
|
252
|
-
},
|
|
253
|
-
setGraphQLWireAdapter: function (adapter) {
|
|
254
|
-
oneStoreGraphQLWireAdapter = adapter;
|
|
255
|
-
},
|
|
256
|
-
getGraphQLWireAdapter: function () {
|
|
257
|
-
return oneStoreGraphQLWireAdapter;
|
|
258
|
-
},
|
|
259
|
-
setGraphQLImperativeQueryAdapter: function (adapter) {
|
|
260
|
-
oneStoreGraphQLImperativeQueryAdapter = adapter;
|
|
261
|
-
},
|
|
262
|
-
getGraphQLImperativeQueryAdapter: function () {
|
|
263
|
-
return oneStoreGraphQLImperativeQueryAdapter;
|
|
264
|
-
},
|
|
265
|
-
};
|
|
266
|
-
/**
|
|
267
|
-
* Helper function to return the one store adapter if it's defined, otherwise return the luvio adapter.
|
|
268
|
-
* @param luvioAdapter - The luvio bound adapter.
|
|
269
|
-
* @param oneStoreAdapter - The one store bound adapter.
|
|
270
|
-
* @returns Luvio or one store wire adapter constructor.
|
|
271
|
-
*/
|
|
272
|
-
function getLuvioOrOneStoreAdapter(luvioAdapter, oneStoreAdapter) {
|
|
273
|
-
return oneStoreAdapter ?? luvioAdapter;
|
|
274
|
-
}
|
|
275
|
-
const getKeywordSearchResultsFactory = new Configurable();
|
|
276
|
-
const getListRecordsByNameFactory = new Configurable();
|
|
277
|
-
const getListUiFactory = new Configurable();
|
|
278
|
-
const getLookupRecordsFactory = new Configurable();
|
|
279
|
-
const getQuickActionDefaultsFactory = new Configurable();
|
|
280
|
-
const getRecordCreateDefaultsFactory = new Configurable();
|
|
281
|
-
const getRecordTemplateCloneFactory = new Configurable();
|
|
282
|
-
const getRecordTemplateCreateFactory = new Configurable();
|
|
283
|
-
const getRecordUiFactory = new Configurable();
|
|
284
|
-
const getRecordFactory = new Configurable();
|
|
285
|
-
const getRecordsFactory = new Configurable();
|
|
286
|
-
const getRelatedListRecordsFactory = new Configurable();
|
|
287
|
-
const getRelatedListRecordsBatchFactory = new Configurable();
|
|
288
|
-
const getSearchResultsFactory = new Configurable();
|
|
289
|
-
// The following set of adapters all touch RecordRepresentation directly or indirectly,
|
|
290
|
-
// so they need to support having a custom factory provided by the mobile environment.
|
|
291
|
-
const configurationForEnvironmentFactoryOverrides = {
|
|
292
|
-
getKeywordSearchResultsAdapterFactory: getKeywordSearchResultsFactory.getAdapter,
|
|
293
|
-
setGetKeywordSearchResultsAdapterFactory: getKeywordSearchResultsFactory.setAdapter,
|
|
294
|
-
getListRecordsByNameAdapterFactory: getListRecordsByNameFactory.getAdapter,
|
|
295
|
-
setGetListRecordsByNameAdapterFactory: getListRecordsByNameFactory.setAdapter,
|
|
296
|
-
getListUiAdapterFactory: getListUiFactory.getAdapter,
|
|
297
|
-
setGetListUiAdapterFactory: getListUiFactory.setAdapter,
|
|
298
|
-
getLookupRecordsAdapterFactory: getLookupRecordsFactory.getAdapter,
|
|
299
|
-
setGetLookupRecordsAdapterFactory: getLookupRecordsFactory.setAdapter,
|
|
300
|
-
getQuickActionDefaultsAdapterFactory: getQuickActionDefaultsFactory.getAdapter,
|
|
301
|
-
setGetQuickActionDefaultsAdapterFactory: getQuickActionDefaultsFactory.setAdapter,
|
|
302
|
-
getRecordCreateDefaultsAdapterFactory: getRecordCreateDefaultsFactory.getAdapter,
|
|
303
|
-
setGetRecordCreateDefaultsAdapterFactory: getRecordCreateDefaultsFactory.setAdapter,
|
|
304
|
-
getRecordTemplateCloneAdapterFactory: getRecordTemplateCloneFactory.getAdapter,
|
|
305
|
-
setGetRecordTemplateCloneAdapterFactory: getRecordTemplateCloneFactory.setAdapter,
|
|
306
|
-
getRecordTemplateCreateAdapterFactory: getRecordTemplateCreateFactory.getAdapter,
|
|
307
|
-
setGetRecordTemplateCreateAdapterFactory: getRecordTemplateCreateFactory.setAdapter,
|
|
308
|
-
getRecordUiAdapterFactory: getRecordUiFactory.getAdapter,
|
|
309
|
-
setGetRecordUiAdapterFactory: getRecordUiFactory.setAdapter,
|
|
310
|
-
getRecordAdapterFactory: getRecordFactory.getAdapter,
|
|
311
|
-
setGetRecordAdapterFactory: getRecordFactory.setAdapter,
|
|
312
|
-
getRecordsAdapterFactory: getRecordsFactory.getAdapter,
|
|
313
|
-
setGetRecordsAdapterFactory: getRecordsFactory.setAdapter,
|
|
314
|
-
getRelatedListRecordsAdapterFactory: getRelatedListRecordsFactory.getAdapter,
|
|
315
|
-
setGetRelatedListRecordsAdapterFactory: getRelatedListRecordsFactory.setAdapter,
|
|
316
|
-
getRelatedListRecordsBatchAdapterFactory: getRelatedListRecordsBatchFactory.getAdapter,
|
|
317
|
-
setGetRelatedListRecordsBatchAdapterFactory: getRelatedListRecordsBatchFactory.setAdapter,
|
|
318
|
-
getSearchResultsAdapterFactory: getSearchResultsFactory.getAdapter,
|
|
319
|
-
setGetSearchResultsAdapterFactory: getSearchResultsFactory.setAdapter,
|
|
320
|
-
};
|
|
321
|
-
/**
|
|
322
|
-
* Defines the configuration API and is exposed internally as well as externally.
|
|
323
|
-
* Configuration for REST adapters only.
|
|
324
|
-
*/
|
|
325
|
-
const configurationForRestAdapters = {
|
|
326
|
-
setTrackedFieldDepthOnCacheMiss: function (trackedFieldDepthOnCacheMissParam) {
|
|
327
|
-
trackedFieldDepthOnCacheMiss = trackedFieldDepthOnCacheMissParam;
|
|
328
|
-
},
|
|
329
|
-
getTrackedFieldDepthOnCacheMiss: function () {
|
|
330
|
-
return trackedFieldDepthOnCacheMiss;
|
|
331
|
-
},
|
|
332
|
-
setTrackedFieldDepthOnCacheMergeConflict: function (trackedFieldDepthOnCacheMergeConflictParam) {
|
|
333
|
-
trackedFieldDepthOnCacheMergeConflict = trackedFieldDepthOnCacheMergeConflictParam;
|
|
334
|
-
},
|
|
335
|
-
getTrackedFieldDepthOnCacheMergeConflict: function () {
|
|
336
|
-
return trackedFieldDepthOnCacheMergeConflict;
|
|
337
|
-
},
|
|
338
|
-
setTrackedFieldDepthOnNotifyChange: function (trackedFieldDepthOnNotifyChangeParam) {
|
|
339
|
-
trackedFieldDepthOnNotifyChange = trackedFieldDepthOnNotifyChangeParam;
|
|
340
|
-
},
|
|
341
|
-
getTrackedFieldDepthOnNotifyChange: function () {
|
|
342
|
-
return trackedFieldDepthOnNotifyChange;
|
|
343
|
-
},
|
|
344
|
-
setTrackedFieldLeafNodeIdAndNameOnly: function (trackedFieldLeafNodeIdAndNameOnlyParam) {
|
|
345
|
-
trackedFieldLeafNodeIdAndNameOnly = trackedFieldLeafNodeIdAndNameOnlyParam;
|
|
346
|
-
},
|
|
347
|
-
getTrackedFieldLeafNodeIdAndNameOnly: function () {
|
|
348
|
-
return trackedFieldLeafNodeIdAndNameOnly;
|
|
349
|
-
},
|
|
350
|
-
setRelatedListsPredictionsEnabled: function (f) {
|
|
351
|
-
relatedListsPredictionsEnabled = f;
|
|
352
|
-
},
|
|
353
|
-
areRelatedListsPredictionsEnabled: function () {
|
|
354
|
-
return relatedListsPredictionsEnabled === true;
|
|
355
|
-
},
|
|
356
|
-
setRelatedListsPlusPredictionsEnabled: function (f) {
|
|
357
|
-
relatedListsPlusPredictionsEnabled = f;
|
|
358
|
-
},
|
|
359
|
-
areRelatedListsPlusPredictionsEnabled: function () {
|
|
360
|
-
return relatedListsPlusPredictionsEnabled === true;
|
|
361
|
-
},
|
|
362
|
-
setRecordRepresentationIngestionOverride: function (ingest) {
|
|
363
|
-
recordRepresentationIngestionOverride = ingest;
|
|
364
|
-
},
|
|
365
|
-
getRecordRepresentationIngestionOverride: function () {
|
|
366
|
-
return recordRepresentationIngestionOverride;
|
|
367
|
-
},
|
|
368
|
-
// createRecord
|
|
369
|
-
getDraftAwareCreateRecordAdapter: configurableCreateRecordAdapter.getAdapter,
|
|
370
|
-
setDraftAwareCreateRecordAdapter: configurableCreateRecordAdapter.setAdapter,
|
|
371
|
-
// updateRecord
|
|
372
|
-
getDraftAwareUpdateRecordAdapter: configurableUpdateRecordAdapter.getAdapter,
|
|
373
|
-
setDraftAwareUpdateRecordAdapter: configurableUpdateRecordAdapter.setAdapter,
|
|
374
|
-
// deleteRecord
|
|
375
|
-
getDraftAwareDeleteRecordAdapter: configurableDeleteRecordAdapter.getAdapter,
|
|
376
|
-
setDraftAwareDeleteRecordAdapter: configurableDeleteRecordAdapter.setAdapter,
|
|
377
|
-
// performQuickAction
|
|
378
|
-
getDraftAwarePerformQuickActionAdapter: configurablePerformQuickActionAdapter.getAdapter,
|
|
379
|
-
setDraftAwarePerformQuickActionAdapter: configurablePerformQuickActionAdapter.setAdapter,
|
|
380
|
-
// performRecordUpdateQuickAction
|
|
381
|
-
getDraftAwarePerformUpdateRecordQuickActionAdapter: configurablePerformUpdateRecordQuickActionAdapter.getAdapter,
|
|
382
|
-
setDraftAwarePerformUpdateRecordQuickActionAdapter: configurablePerformUpdateRecordQuickActionAdapter.setAdapter,
|
|
383
|
-
// createContentDocumentAndVersion
|
|
384
|
-
getDraftAwareCreateContentDocumentAndVersionAdapter: configurableCreateContentDocumentAndVersion.getAdapter,
|
|
385
|
-
setDraftAwareCreateContentDocumentAndVersionAdapter: configurableCreateContentDocumentAndVersion.setAdapter,
|
|
386
|
-
// createContentVersion
|
|
387
|
-
getDraftAwareCreateContentVersionAdapter: configurableCreateContentVersion.getAdapter,
|
|
388
|
-
setDraftAwareCreateContentVersionAdapter: configurableCreateContentVersion.setAdapter,
|
|
389
|
-
...configurationForOneStoreEnabledAdapters,
|
|
390
|
-
...configurationForEnvironmentFactoryOverrides,
|
|
391
|
-
};
|
|
392
|
-
let configurableGraphQLAdapter = new Configurable();
|
|
393
|
-
let configurableGraphQLBatchAdapter = new Configurable();
|
|
394
|
-
/**
|
|
395
|
-
* Defines the configuration API and is exposed internally as well as externally.
|
|
396
|
-
* Configuration for GraphQL adapters only.
|
|
397
|
-
*/
|
|
398
|
-
const configurationForGraphQLAdapters = {
|
|
399
|
-
getDraftAwareGraphQLAdapter: configurableGraphQLAdapter.getAdapter,
|
|
400
|
-
setDraftAwareGraphQLAdapter: configurableGraphQLAdapter.setAdapter,
|
|
401
|
-
getEnvironmentAwareGraphQLBatchAdapter: configurableGraphQLBatchAdapter.getAdapter,
|
|
402
|
-
setEnvironmentAwareGraphQLBatchAdapter: configurableGraphQLBatchAdapter.setAdapter,
|
|
403
|
-
};
|
|
404
|
-
const registrations = new Set();
|
|
405
|
-
/**
|
|
406
|
-
* lds-adapter-uiapi is special. The non-SFDC bundle combines REST and GQL adapters,
|
|
407
|
-
* yet for SFDC those are separate bundles. So non-SFDC bundle (./main.ts) registers
|
|
408
|
-
* both REST and GQL configs. We want each SFDC bundle to register (we don't want one
|
|
409
|
-
* SFDC bundle to assume the other is being loaded and therefore the other one will
|
|
410
|
-
* take care of registration) but we don't want to double register either.
|
|
411
|
-
*
|
|
412
|
-
* So we make this function that memoizes if it's been called before and only
|
|
413
|
-
* actually registers once.
|
|
414
|
-
*/
|
|
415
|
-
function ensureRegisteredOnce(registration) {
|
|
416
|
-
const { id } = registration;
|
|
417
|
-
if (!registrations.has(id)) {
|
|
418
|
-
register(registration);
|
|
419
|
-
registrations.add(id);
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
|
|
423
163
|
const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
|
|
424
164
|
function equalsObject(a, b, equalsProp) {
|
|
425
165
|
const aKeys = ObjectKeys(a).sort();
|
|
@@ -23352,7 +23092,7 @@ function getFieldType$3(field) {
|
|
|
23352
23092
|
case 'ApiName': {
|
|
23353
23093
|
return {
|
|
23354
23094
|
isArray: false,
|
|
23355
|
-
typename: '
|
|
23095
|
+
typename: 'String'
|
|
23356
23096
|
};
|
|
23357
23097
|
}
|
|
23358
23098
|
case 'SemanticModelId': {
|
|
@@ -23404,7 +23144,7 @@ function getFieldType$2(field) {
|
|
|
23404
23144
|
case 'cursor': {
|
|
23405
23145
|
return {
|
|
23406
23146
|
isArray: false,
|
|
23407
|
-
typename: '
|
|
23147
|
+
typename: 'String'
|
|
23408
23148
|
};
|
|
23409
23149
|
}
|
|
23410
23150
|
default:
|
|
@@ -23540,7 +23280,7 @@ function getFieldType(field) {
|
|
|
23540
23280
|
case 'ApiName': {
|
|
23541
23281
|
return {
|
|
23542
23282
|
isArray: false,
|
|
23543
|
-
typename: '
|
|
23283
|
+
typename: 'String'
|
|
23544
23284
|
};
|
|
23545
23285
|
}
|
|
23546
23286
|
case 'AnalyticsWorkspaces': {
|
|
@@ -23569,8 +23309,8 @@ function getFieldType(field) {
|
|
|
23569
23309
|
}
|
|
23570
23310
|
case 'RecordOperations': {
|
|
23571
23311
|
return {
|
|
23572
|
-
isArray:
|
|
23573
|
-
typename: '
|
|
23312
|
+
isArray: true,
|
|
23313
|
+
typename: 'String'
|
|
23574
23314
|
};
|
|
23575
23315
|
}
|
|
23576
23316
|
default:
|
|
@@ -25085,6 +24825,238 @@ function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
|
|
|
25085
24825
|
return cacheSnapshot;
|
|
25086
24826
|
}
|
|
25087
24827
|
|
|
24828
|
+
/**
|
|
24829
|
+
* Defines configuration for the module with a default value which can be overridden by the runtime environment.
|
|
24830
|
+
*/
|
|
24831
|
+
// A holder for a configurable adapter override
|
|
24832
|
+
class Configurable {
|
|
24833
|
+
constructor() {
|
|
24834
|
+
this.getAdapter = () => {
|
|
24835
|
+
return this.adapter;
|
|
24836
|
+
};
|
|
24837
|
+
this.setAdapter = (value) => {
|
|
24838
|
+
this.adapter = value;
|
|
24839
|
+
};
|
|
24840
|
+
this.adapter = undefined;
|
|
24841
|
+
}
|
|
24842
|
+
}
|
|
24843
|
+
// Configurable adapters that can have environmental overrides
|
|
24844
|
+
let configurableCreateRecordAdapter = new Configurable();
|
|
24845
|
+
let configurableUpdateRecordAdapter = new Configurable();
|
|
24846
|
+
let configurableDeleteRecordAdapter = new Configurable();
|
|
24847
|
+
let configurablePerformQuickActionAdapter = new Configurable();
|
|
24848
|
+
let configurablePerformUpdateRecordQuickActionAdapter = new Configurable();
|
|
24849
|
+
let configurableCreateContentDocumentAndVersion = new Configurable();
|
|
24850
|
+
let configurableCreateContentVersion = new Configurable();
|
|
24851
|
+
/**
|
|
24852
|
+
* Depth to which tracked fields will be added to a request that results from a cache miss.
|
|
24853
|
+
* A value of 0 inhibits the addition of tracked fields, 1 will add tracked fields that can
|
|
24854
|
+
* be reached by following 1 relationship from the root record, etc.
|
|
24855
|
+
* @defaultValue '5', replicates the current behavior
|
|
24856
|
+
*/
|
|
24857
|
+
let trackedFieldDepthOnCacheMiss = 5;
|
|
24858
|
+
/**
|
|
24859
|
+
* Depth to which tracked fields will be added to a request that results from a merge conflict
|
|
24860
|
+
* A value of 0 inhibits the addition of tracked fields, 1 will add tracked fields that can
|
|
24861
|
+
* be reached by following 1 relationship from the root record, etc.
|
|
24862
|
+
* @defaultValue '5', replicates the current behavior
|
|
24863
|
+
*/
|
|
24864
|
+
let trackedFieldDepthOnCacheMergeConflict = 5;
|
|
24865
|
+
/**
|
|
24866
|
+
* Depth to which tracked fields will be added to a request that results from a notify change invocation by the consumer
|
|
24867
|
+
* A value of 0 inhibits the addition of tracked fields, 1 will add tracked fields that can
|
|
24868
|
+
* be reached by following 1 relationship from the root record, etc.
|
|
24869
|
+
* @defaultValue '5', replicates the current behavior
|
|
24870
|
+
*/
|
|
24871
|
+
let trackedFieldDepthOnNotifyChange = 5;
|
|
24872
|
+
/**
|
|
24873
|
+
* Determines if we will only fetch the 'Id' field for the leaf relationship record
|
|
24874
|
+
* @defaultValue 'false', replicates the current behavior and fetches all fields in the store for the leaf relationship record
|
|
24875
|
+
*/
|
|
24876
|
+
let trackedFieldLeafNodeIdAndNameOnly = false;
|
|
24877
|
+
/**
|
|
24878
|
+
* One store enabled Get Object Info adapter
|
|
24879
|
+
*/
|
|
24880
|
+
let oneStoreGetObjectInfoAdapter = undefined;
|
|
24881
|
+
/**
|
|
24882
|
+
* One store enabled Get Object Infos adapter
|
|
24883
|
+
*/
|
|
24884
|
+
let oneStoreGetObjectInfosAdapter = undefined;
|
|
24885
|
+
/**
|
|
24886
|
+
* Determines when to include PDL strategies for Related Lists
|
|
24887
|
+
*/
|
|
24888
|
+
let relatedListsPredictionsEnabled = false;
|
|
24889
|
+
/**
|
|
24890
|
+
* Determines whether to include additional PDL strategies for Related Lists
|
|
24891
|
+
*/
|
|
24892
|
+
let relatedListsPlusPredictionsEnabled = false;
|
|
24893
|
+
let recordRepresentationIngestionOverride = undefined;
|
|
24894
|
+
/**
|
|
24895
|
+
* Defines the configuration API and is exposed internally as well as externally.
|
|
24896
|
+
* Configuration for one store enabled REST adapters only.
|
|
24897
|
+
*/
|
|
24898
|
+
const configurationForOneStoreEnabledAdapters = {
|
|
24899
|
+
setGetObjectInfoAdapter: function (adapter) {
|
|
24900
|
+
oneStoreGetObjectInfoAdapter = adapter;
|
|
24901
|
+
},
|
|
24902
|
+
getGetObjectInfoAdapter: function () {
|
|
24903
|
+
return oneStoreGetObjectInfoAdapter;
|
|
24904
|
+
},
|
|
24905
|
+
setGetObjectInfosAdapter: function (adapter) {
|
|
24906
|
+
oneStoreGetObjectInfosAdapter = adapter;
|
|
24907
|
+
},
|
|
24908
|
+
getGetObjectInfosAdapter: function () {
|
|
24909
|
+
return oneStoreGetObjectInfosAdapter;
|
|
24910
|
+
},
|
|
24911
|
+
};
|
|
24912
|
+
const getKeywordSearchResultsFactory = new Configurable();
|
|
24913
|
+
const getListRecordsByNameFactory = new Configurable();
|
|
24914
|
+
const getListUiFactory = new Configurable();
|
|
24915
|
+
const getLookupRecordsFactory = new Configurable();
|
|
24916
|
+
const getQuickActionDefaultsFactory = new Configurable();
|
|
24917
|
+
const getRecordCreateDefaultsFactory = new Configurable();
|
|
24918
|
+
const getRecordTemplateCloneFactory = new Configurable();
|
|
24919
|
+
const getRecordTemplateCreateFactory = new Configurable();
|
|
24920
|
+
const getRecordUiFactory = new Configurable();
|
|
24921
|
+
const getRecordFactory = new Configurable();
|
|
24922
|
+
const getRecordsFactory = new Configurable();
|
|
24923
|
+
const getRelatedListRecordsFactory = new Configurable();
|
|
24924
|
+
const getRelatedListRecordsBatchFactory = new Configurable();
|
|
24925
|
+
const getSearchResultsFactory = new Configurable();
|
|
24926
|
+
// The following set of adapters all touch RecordRepresentation directly or indirectly,
|
|
24927
|
+
// so they need to support having a custom factory provided by the mobile environment.
|
|
24928
|
+
const configurationForEnvironmentFactoryOverrides = {
|
|
24929
|
+
getKeywordSearchResultsAdapterFactory: getKeywordSearchResultsFactory.getAdapter,
|
|
24930
|
+
setGetKeywordSearchResultsAdapterFactory: getKeywordSearchResultsFactory.setAdapter,
|
|
24931
|
+
getListRecordsByNameAdapterFactory: getListRecordsByNameFactory.getAdapter,
|
|
24932
|
+
setGetListRecordsByNameAdapterFactory: getListRecordsByNameFactory.setAdapter,
|
|
24933
|
+
getListUiAdapterFactory: getListUiFactory.getAdapter,
|
|
24934
|
+
setGetListUiAdapterFactory: getListUiFactory.setAdapter,
|
|
24935
|
+
getLookupRecordsAdapterFactory: getLookupRecordsFactory.getAdapter,
|
|
24936
|
+
setGetLookupRecordsAdapterFactory: getLookupRecordsFactory.setAdapter,
|
|
24937
|
+
getQuickActionDefaultsAdapterFactory: getQuickActionDefaultsFactory.getAdapter,
|
|
24938
|
+
setGetQuickActionDefaultsAdapterFactory: getQuickActionDefaultsFactory.setAdapter,
|
|
24939
|
+
getRecordCreateDefaultsAdapterFactory: getRecordCreateDefaultsFactory.getAdapter,
|
|
24940
|
+
setGetRecordCreateDefaultsAdapterFactory: getRecordCreateDefaultsFactory.setAdapter,
|
|
24941
|
+
getRecordTemplateCloneAdapterFactory: getRecordTemplateCloneFactory.getAdapter,
|
|
24942
|
+
setGetRecordTemplateCloneAdapterFactory: getRecordTemplateCloneFactory.setAdapter,
|
|
24943
|
+
getRecordTemplateCreateAdapterFactory: getRecordTemplateCreateFactory.getAdapter,
|
|
24944
|
+
setGetRecordTemplateCreateAdapterFactory: getRecordTemplateCreateFactory.setAdapter,
|
|
24945
|
+
getRecordUiAdapterFactory: getRecordUiFactory.getAdapter,
|
|
24946
|
+
setGetRecordUiAdapterFactory: getRecordUiFactory.setAdapter,
|
|
24947
|
+
getRecordAdapterFactory: getRecordFactory.getAdapter,
|
|
24948
|
+
setGetRecordAdapterFactory: getRecordFactory.setAdapter,
|
|
24949
|
+
getRecordsAdapterFactory: getRecordsFactory.getAdapter,
|
|
24950
|
+
setGetRecordsAdapterFactory: getRecordsFactory.setAdapter,
|
|
24951
|
+
getRelatedListRecordsAdapterFactory: getRelatedListRecordsFactory.getAdapter,
|
|
24952
|
+
setGetRelatedListRecordsAdapterFactory: getRelatedListRecordsFactory.setAdapter,
|
|
24953
|
+
getRelatedListRecordsBatchAdapterFactory: getRelatedListRecordsBatchFactory.getAdapter,
|
|
24954
|
+
setGetRelatedListRecordsBatchAdapterFactory: getRelatedListRecordsBatchFactory.setAdapter,
|
|
24955
|
+
getSearchResultsAdapterFactory: getSearchResultsFactory.getAdapter,
|
|
24956
|
+
setGetSearchResultsAdapterFactory: getSearchResultsFactory.setAdapter,
|
|
24957
|
+
};
|
|
24958
|
+
/**
|
|
24959
|
+
* Defines the configuration API and is exposed internally as well as externally.
|
|
24960
|
+
* Configuration for REST adapters only.
|
|
24961
|
+
*/
|
|
24962
|
+
const configurationForRestAdapters = {
|
|
24963
|
+
setTrackedFieldDepthOnCacheMiss: function (trackedFieldDepthOnCacheMissParam) {
|
|
24964
|
+
trackedFieldDepthOnCacheMiss = trackedFieldDepthOnCacheMissParam;
|
|
24965
|
+
},
|
|
24966
|
+
getTrackedFieldDepthOnCacheMiss: function () {
|
|
24967
|
+
return trackedFieldDepthOnCacheMiss;
|
|
24968
|
+
},
|
|
24969
|
+
setTrackedFieldDepthOnCacheMergeConflict: function (trackedFieldDepthOnCacheMergeConflictParam) {
|
|
24970
|
+
trackedFieldDepthOnCacheMergeConflict = trackedFieldDepthOnCacheMergeConflictParam;
|
|
24971
|
+
},
|
|
24972
|
+
getTrackedFieldDepthOnCacheMergeConflict: function () {
|
|
24973
|
+
return trackedFieldDepthOnCacheMergeConflict;
|
|
24974
|
+
},
|
|
24975
|
+
setTrackedFieldDepthOnNotifyChange: function (trackedFieldDepthOnNotifyChangeParam) {
|
|
24976
|
+
trackedFieldDepthOnNotifyChange = trackedFieldDepthOnNotifyChangeParam;
|
|
24977
|
+
},
|
|
24978
|
+
getTrackedFieldDepthOnNotifyChange: function () {
|
|
24979
|
+
return trackedFieldDepthOnNotifyChange;
|
|
24980
|
+
},
|
|
24981
|
+
setTrackedFieldLeafNodeIdAndNameOnly: function (trackedFieldLeafNodeIdAndNameOnlyParam) {
|
|
24982
|
+
trackedFieldLeafNodeIdAndNameOnly = trackedFieldLeafNodeIdAndNameOnlyParam;
|
|
24983
|
+
},
|
|
24984
|
+
getTrackedFieldLeafNodeIdAndNameOnly: function () {
|
|
24985
|
+
return trackedFieldLeafNodeIdAndNameOnly;
|
|
24986
|
+
},
|
|
24987
|
+
setRelatedListsPredictionsEnabled: function (f) {
|
|
24988
|
+
relatedListsPredictionsEnabled = f;
|
|
24989
|
+
},
|
|
24990
|
+
areRelatedListsPredictionsEnabled: function () {
|
|
24991
|
+
return relatedListsPredictionsEnabled === true;
|
|
24992
|
+
},
|
|
24993
|
+
setRelatedListsPlusPredictionsEnabled: function (f) {
|
|
24994
|
+
relatedListsPlusPredictionsEnabled = f;
|
|
24995
|
+
},
|
|
24996
|
+
areRelatedListsPlusPredictionsEnabled: function () {
|
|
24997
|
+
return relatedListsPlusPredictionsEnabled === true;
|
|
24998
|
+
},
|
|
24999
|
+
setRecordRepresentationIngestionOverride: function (ingest) {
|
|
25000
|
+
recordRepresentationIngestionOverride = ingest;
|
|
25001
|
+
},
|
|
25002
|
+
getRecordRepresentationIngestionOverride: function () {
|
|
25003
|
+
return recordRepresentationIngestionOverride;
|
|
25004
|
+
},
|
|
25005
|
+
// createRecord
|
|
25006
|
+
getDraftAwareCreateRecordAdapter: configurableCreateRecordAdapter.getAdapter,
|
|
25007
|
+
setDraftAwareCreateRecordAdapter: configurableCreateRecordAdapter.setAdapter,
|
|
25008
|
+
// updateRecord
|
|
25009
|
+
getDraftAwareUpdateRecordAdapter: configurableUpdateRecordAdapter.getAdapter,
|
|
25010
|
+
setDraftAwareUpdateRecordAdapter: configurableUpdateRecordAdapter.setAdapter,
|
|
25011
|
+
// deleteRecord
|
|
25012
|
+
getDraftAwareDeleteRecordAdapter: configurableDeleteRecordAdapter.getAdapter,
|
|
25013
|
+
setDraftAwareDeleteRecordAdapter: configurableDeleteRecordAdapter.setAdapter,
|
|
25014
|
+
// performQuickAction
|
|
25015
|
+
getDraftAwarePerformQuickActionAdapter: configurablePerformQuickActionAdapter.getAdapter,
|
|
25016
|
+
setDraftAwarePerformQuickActionAdapter: configurablePerformQuickActionAdapter.setAdapter,
|
|
25017
|
+
// performRecordUpdateQuickAction
|
|
25018
|
+
getDraftAwarePerformUpdateRecordQuickActionAdapter: configurablePerformUpdateRecordQuickActionAdapter.getAdapter,
|
|
25019
|
+
setDraftAwarePerformUpdateRecordQuickActionAdapter: configurablePerformUpdateRecordQuickActionAdapter.setAdapter,
|
|
25020
|
+
// createContentDocumentAndVersion
|
|
25021
|
+
getDraftAwareCreateContentDocumentAndVersionAdapter: configurableCreateContentDocumentAndVersion.getAdapter,
|
|
25022
|
+
setDraftAwareCreateContentDocumentAndVersionAdapter: configurableCreateContentDocumentAndVersion.setAdapter,
|
|
25023
|
+
// createContentVersion
|
|
25024
|
+
getDraftAwareCreateContentVersionAdapter: configurableCreateContentVersion.getAdapter,
|
|
25025
|
+
setDraftAwareCreateContentVersionAdapter: configurableCreateContentVersion.setAdapter,
|
|
25026
|
+
...configurationForOneStoreEnabledAdapters,
|
|
25027
|
+
...configurationForEnvironmentFactoryOverrides,
|
|
25028
|
+
};
|
|
25029
|
+
let configurableGraphQLAdapter = new Configurable();
|
|
25030
|
+
let configurableGraphQLBatchAdapter = new Configurable();
|
|
25031
|
+
/**
|
|
25032
|
+
* Defines the configuration API and is exposed internally as well as externally.
|
|
25033
|
+
* Configuration for GraphQL adapters only.
|
|
25034
|
+
*/
|
|
25035
|
+
const configurationForGraphQLAdapters = {
|
|
25036
|
+
getDraftAwareGraphQLAdapter: configurableGraphQLAdapter.getAdapter,
|
|
25037
|
+
setDraftAwareGraphQLAdapter: configurableGraphQLAdapter.setAdapter,
|
|
25038
|
+
getEnvironmentAwareGraphQLBatchAdapter: configurableGraphQLBatchAdapter.getAdapter,
|
|
25039
|
+
setEnvironmentAwareGraphQLBatchAdapter: configurableGraphQLBatchAdapter.setAdapter,
|
|
25040
|
+
};
|
|
25041
|
+
const registrations = new Set();
|
|
25042
|
+
/**
|
|
25043
|
+
* lds-adapter-uiapi is special. The non-SFDC bundle combines REST and GQL adapters,
|
|
25044
|
+
* yet for SFDC those are separate bundles. So non-SFDC bundle (./main.ts) registers
|
|
25045
|
+
* both REST and GQL configs. We want each SFDC bundle to register (we don't want one
|
|
25046
|
+
* SFDC bundle to assume the other is being loaded and therefore the other one will
|
|
25047
|
+
* take care of registration) but we don't want to double register either.
|
|
25048
|
+
*
|
|
25049
|
+
* So we make this function that memoizes if it's been called before and only
|
|
25050
|
+
* actually registers once.
|
|
25051
|
+
*/
|
|
25052
|
+
function ensureRegisteredOnce(registration) {
|
|
25053
|
+
const { id } = registration;
|
|
25054
|
+
if (!registrations.has(id)) {
|
|
25055
|
+
register(registration);
|
|
25056
|
+
registrations.add(id);
|
|
25057
|
+
}
|
|
25058
|
+
}
|
|
25059
|
+
|
|
25088
25060
|
function validateAdapterConfig$1(untrustedConfig, _configPropertyNames) {
|
|
25089
25061
|
if (untrustedConfig !== null && typeof untrustedConfig === 'object') {
|
|
25090
25062
|
const operationNameIsDefinedAsUndefined = ObjectPrototypeHasOwnProperty.call(untrustedConfig, 'operationName') &&
|
|
@@ -25574,19 +25546,22 @@ function bindExportsTo(luvio) {
|
|
|
25574
25546
|
// Wire Adapters
|
|
25575
25547
|
graphqlBatch: createGraphQLWireAdapterConstructor(luvio, graphqlBatch_ldsAdapter, graphqlBatchMetadata, astResolver),
|
|
25576
25548
|
// One Store Enabled Adapters
|
|
25577
|
-
graphql:
|
|
25578
|
-
graphql_imperative:
|
|
25549
|
+
graphql: createGraphQLWireAdapterConstructor(luvio, graphql_ldsAdapter, graphqlMetadata, astResolver),
|
|
25550
|
+
graphql_imperative: createGraphQLImperativeAdapter(luvio, graphql_ldsAdapter, graphqlMetadata, astResolver),
|
|
25579
25551
|
// Imperative Adapters
|
|
25580
25552
|
graphqlBatch_imperative: createGraphQLImperativeAdapter(luvio, graphqlBatch_ldsAdapter, graphqlBatchMetadata, astResolver),
|
|
25581
25553
|
};
|
|
25582
25554
|
}
|
|
25583
25555
|
withDefaultLuvio((luvio) => {
|
|
25584
|
-
({
|
|
25585
|
-
|
|
25586
|
-
|
|
25587
|
-
|
|
25588
|
-
|
|
25589
|
-
|
|
25556
|
+
({ graphql, graphqlBatch, graphql_imperative, graphqlBatch_imperative } = bindExportsTo(luvio));
|
|
25557
|
+
// We register the callback here rather than above withDefaultLuvio because we want environments
|
|
25558
|
+
// that don't have onestore bootstrapped with the required services to default to the luvio versions of the adapters
|
|
25559
|
+
registerCallback((oneStoreGraphql, oneStoreGraphql_imperative, useOneStoreGraphQL) => {
|
|
25560
|
+
if (useOneStoreGraphQL) {
|
|
25561
|
+
graphql = oneStoreGraphql;
|
|
25562
|
+
graphql_imperative = oneStoreGraphql_imperative;
|
|
25563
|
+
}
|
|
25564
|
+
});
|
|
25590
25565
|
});
|
|
25591
25566
|
|
|
25592
25567
|
// For use by callers within this module to instrument interesting things.
|
|
@@ -26099,11 +26074,11 @@ register({
|
|
|
26099
26074
|
});
|
|
26100
26075
|
function refreshGraphQL(data) {
|
|
26101
26076
|
// If OneStore data, call its refresh instead
|
|
26102
|
-
if (typeof data
|
|
26077
|
+
if (typeof data?.refresh === 'function') {
|
|
26103
26078
|
return data.refresh();
|
|
26104
26079
|
}
|
|
26105
26080
|
return refresh(data, 'refreshUiApi');
|
|
26106
26081
|
}
|
|
26107
26082
|
|
|
26108
26083
|
export { configurationForGraphQLAdapters as configuration, graphql, factory$1 as graphqlAdapterFactory, graphqlBatch, graphqlBatch_imperative, graphql_imperative, refreshGraphQL };
|
|
26109
|
-
// version: 1.
|
|
26084
|
+
// version: 1.377.0-b0d5c49e07
|
package/sfdc/index.js
CHANGED
|
@@ -114,14 +114,6 @@ let oneStoreGetObjectInfoAdapter = undefined;
|
|
|
114
114
|
* One store enabled Get Object Infos adapter
|
|
115
115
|
*/
|
|
116
116
|
let oneStoreGetObjectInfosAdapter = undefined;
|
|
117
|
-
/**
|
|
118
|
-
* One store enabled GraphQL adapter
|
|
119
|
-
*/
|
|
120
|
-
let oneStoreGraphQLWireAdapter = undefined;
|
|
121
|
-
/**
|
|
122
|
-
* One store enabled GraphQL imperative query adapter
|
|
123
|
-
*/
|
|
124
|
-
let oneStoreGraphQLImperativeQueryAdapter = undefined;
|
|
125
117
|
/**
|
|
126
118
|
* Determines when to include PDL strategies for Related Lists
|
|
127
119
|
*/
|
|
@@ -148,18 +140,6 @@ const configurationForOneStoreEnabledAdapters = {
|
|
|
148
140
|
getGetObjectInfosAdapter: function () {
|
|
149
141
|
return oneStoreGetObjectInfosAdapter;
|
|
150
142
|
},
|
|
151
|
-
setGraphQLWireAdapter: function (adapter) {
|
|
152
|
-
oneStoreGraphQLWireAdapter = adapter;
|
|
153
|
-
},
|
|
154
|
-
getGraphQLWireAdapter: function () {
|
|
155
|
-
return oneStoreGraphQLWireAdapter;
|
|
156
|
-
},
|
|
157
|
-
setGraphQLImperativeQueryAdapter: function (adapter) {
|
|
158
|
-
oneStoreGraphQLImperativeQueryAdapter = adapter;
|
|
159
|
-
},
|
|
160
|
-
getGraphQLImperativeQueryAdapter: function () {
|
|
161
|
-
return oneStoreGraphQLImperativeQueryAdapter;
|
|
162
|
-
},
|
|
163
143
|
};
|
|
164
144
|
/**
|
|
165
145
|
* Helper function to return the one store adapter if it's defined, otherwise return the luvio adapter.
|
|
@@ -39049,5 +39029,5 @@ withDefaultLuvio((luvio) => {
|
|
|
39049
39029
|
notifyAllListInfoSummaryUpdateAvailable = throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
39050
39030
|
});
|
|
39051
39031
|
|
|
39052
|
-
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$
|
|
39053
|
-
// version: 1.
|
|
39032
|
+
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, 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 };
|
|
39033
|
+
// version: 1.377.0-b0d5c49e07
|
|
@@ -208,14 +208,6 @@ let oneStoreGetObjectInfoAdapter = undefined;
|
|
|
208
208
|
* One store enabled Get Object Infos adapter
|
|
209
209
|
*/
|
|
210
210
|
let oneStoreGetObjectInfosAdapter = undefined;
|
|
211
|
-
/**
|
|
212
|
-
* One store enabled GraphQL adapter
|
|
213
|
-
*/
|
|
214
|
-
let oneStoreGraphQLWireAdapter = undefined;
|
|
215
|
-
/**
|
|
216
|
-
* One store enabled GraphQL imperative query adapter
|
|
217
|
-
*/
|
|
218
|
-
let oneStoreGraphQLImperativeQueryAdapter = undefined;
|
|
219
211
|
/**
|
|
220
212
|
* Determines when to include PDL strategies for Related Lists
|
|
221
213
|
*/
|
|
@@ -242,18 +234,6 @@ const configurationForOneStoreEnabledAdapters = {
|
|
|
242
234
|
getGetObjectInfosAdapter: function () {
|
|
243
235
|
return oneStoreGetObjectInfosAdapter;
|
|
244
236
|
},
|
|
245
|
-
setGraphQLWireAdapter: function (adapter) {
|
|
246
|
-
oneStoreGraphQLWireAdapter = adapter;
|
|
247
|
-
},
|
|
248
|
-
getGraphQLWireAdapter: function () {
|
|
249
|
-
return oneStoreGraphQLWireAdapter;
|
|
250
|
-
},
|
|
251
|
-
setGraphQLImperativeQueryAdapter: function (adapter) {
|
|
252
|
-
oneStoreGraphQLImperativeQueryAdapter = adapter;
|
|
253
|
-
},
|
|
254
|
-
getGraphQLImperativeQueryAdapter: function () {
|
|
255
|
-
return oneStoreGraphQLImperativeQueryAdapter;
|
|
256
|
-
},
|
|
257
237
|
};
|
|
258
238
|
const getKeywordSearchResultsFactory = new Configurable();
|
|
259
239
|
const getListRecordsByNameFactory = new Configurable();
|
package/src/raml/uiapi.graphql
CHANGED
|
@@ -1782,12 +1782,12 @@ type Analytics__SemanticModel {
|
|
|
1782
1782
|
LastModifiedDate: DateTimeValue
|
|
1783
1783
|
CreatedDate: DateTimeValue
|
|
1784
1784
|
Id: ID!
|
|
1785
|
-
ApiName:
|
|
1785
|
+
ApiName: String!
|
|
1786
1786
|
AnalyticsWorkspaces: Analytics__AnalyticsWorkspaceAssetConnection
|
|
1787
1787
|
NamespacePrefix: StringValue
|
|
1788
1788
|
RelatedModel: Analytics__SemanticModelRelatedModelConnection
|
|
1789
1789
|
Dataspaces: [Analytics__DataspaceRepresentation]
|
|
1790
|
-
RecordOperations:
|
|
1790
|
+
RecordOperations: [String]
|
|
1791
1791
|
}
|
|
1792
1792
|
|
|
1793
1793
|
type Analytics__SemanticModelRelatedModelConnection {
|
|
@@ -1799,12 +1799,12 @@ type Analytics__SemanticModelRelatedModelConnection {
|
|
|
1799
1799
|
|
|
1800
1800
|
type Analytics__SemanticModelRelatedModelEdge {
|
|
1801
1801
|
node: Analytics__SemanticModelRelatedModelRepresentation
|
|
1802
|
-
cursor:
|
|
1802
|
+
cursor: String!
|
|
1803
1803
|
}
|
|
1804
1804
|
|
|
1805
1805
|
type Analytics__SemanticModelRelatedModelRepresentation {
|
|
1806
1806
|
Id: ID!
|
|
1807
|
-
ApiName:
|
|
1807
|
+
ApiName: String!
|
|
1808
1808
|
SemanticModelId: IDValue
|
|
1809
1809
|
RelatedSemanticModel: Analytics__SemanticModel
|
|
1810
1810
|
}
|
|
File without changes
|