@salesforce/lds-adapters-uiapi 1.369.0 → 1.371.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 +18 -9
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__SemanticModel.d.ts +54 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__SemanticModelRelatedModelConnection.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__SemanticModelRelatedModelEdge.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__SemanticModelRelatedModelRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/main.d.ts +5 -1
- package/dist/es/es2018/types/src/sfdc_graphql.d.ts +1 -2
- package/dist/es/es2018/uiapi-records-service.js +1305 -999
- package/dist/komaci-mapping.json +16 -0
- package/package.json +10 -8
- package/sfdc/graphqlAdapters.js +1565 -1244
- package/sfdc/index.js +21 -1
- package/sfdc/uiapi-static-functions.js +20 -0
- package/src/raml/uiapi.graphql +35 -0
|
@@ -9,6 +9,7 @@ import type { DraftAwarePerformUpdateRecordQuickActionAdapter } from './wire/per
|
|
|
9
9
|
import type { DraftAwareGraphQLAdapter } from './wire/graphql/configurationTypes';
|
|
10
10
|
import type { EnvironmentAwareGraphQLBatchAdapter } from './wire/graphqlBatch/configurationTypes';
|
|
11
11
|
import type { WireAdapterConstructor } from '@lwc/engine-core';
|
|
12
|
+
import type { ImperativeAdapter, GraphQLImperativeAdapter } from './main';
|
|
12
13
|
/**
|
|
13
14
|
* Defines the configuration API and is exposed internally as well as externally.
|
|
14
15
|
* Configuration for one store enabled REST adapters only.
|
|
@@ -18,6 +19,10 @@ export declare const configurationForOneStoreEnabledAdapters: {
|
|
|
18
19
|
getGetObjectInfoAdapter: () => WireAdapterConstructor | undefined;
|
|
19
20
|
setGetObjectInfosAdapter: (adapter: WireAdapterConstructor) => void;
|
|
20
21
|
getGetObjectInfosAdapter: () => WireAdapterConstructor | undefined;
|
|
22
|
+
setGraphQLWireAdapter: (adapter: WireAdapterConstructor) => void;
|
|
23
|
+
getGraphQLWireAdapter: () => WireAdapterConstructor | undefined;
|
|
24
|
+
setGraphQLImperativeQueryAdapter: (adapter: WireAdapterConstructor) => void;
|
|
25
|
+
getGraphQLImperativeQueryAdapter: () => WireAdapterConstructor | undefined;
|
|
21
26
|
};
|
|
22
27
|
/**
|
|
23
28
|
* Helper function to return the one store adapter if it's defined, otherwise return the luvio adapter.
|
|
@@ -25,7 +30,7 @@ export declare const configurationForOneStoreEnabledAdapters: {
|
|
|
25
30
|
* @param oneStoreAdapter - The one store bound adapter.
|
|
26
31
|
* @returns Luvio or one store wire adapter constructor.
|
|
27
32
|
*/
|
|
28
|
-
export declare function getLuvioOrOneStoreAdapter(luvioAdapter: WireAdapterConstructor, oneStoreAdapter: WireAdapterConstructor | undefined): WireAdapterConstructor
|
|
33
|
+
export declare function getLuvioOrOneStoreAdapter(luvioAdapter: WireAdapterConstructor | ImperativeAdapter<any, any> | GraphQLImperativeAdapter<any>, oneStoreAdapter: WireAdapterConstructor | ImperativeAdapter<any, any> | GraphQLImperativeAdapter<any> | undefined): WireAdapterConstructor | ImperativeAdapter<any, any> | GraphQLImperativeAdapter<any>;
|
|
29
34
|
import type { ResourceIngest } from '@luvio/engine';
|
|
30
35
|
export declare const configurationForEnvironmentFactoryOverrides: {
|
|
31
36
|
getKeywordSearchResultsAdapterFactory: () => import("@luvio/engine").AdapterFactory<import("./generated/adapters/getKeywordSearchResults").GetKeywordSearchResultsConfig, import("./generated/types/KeywordSearchResultsSummaryRepresentation").KeywordSearchResultsSummaryRepresentation> | undefined;
|
|
@@ -50,10 +55,10 @@ export declare const configurationForEnvironmentFactoryOverrides: {
|
|
|
50
55
|
setGetRecordAdapterFactory: (value: import("@luvio/engine").AdapterFactory<import("./main").GetRecordConfig, import("./main").RecordRepresentation>) => void;
|
|
51
56
|
getRecordsAdapterFactory: () => import("@luvio/engine").AdapterFactory<import("./main").GetRecordsConfig, import("./main").BatchRepresentation> | undefined;
|
|
52
57
|
setGetRecordsAdapterFactory: (value: import("@luvio/engine").AdapterFactory<import("./main").GetRecordsConfig, import("./main").BatchRepresentation>) => void;
|
|
53
|
-
getRelatedListRecordsAdapterFactory: () => import("@luvio/engine").AdapterFactory<import("./
|
|
54
|
-
setGetRelatedListRecordsAdapterFactory: (value: import("@luvio/engine").AdapterFactory<import("./
|
|
55
|
-
getRelatedListRecordsBatchAdapterFactory: () => import("@luvio/engine").AdapterFactory<import("./
|
|
56
|
-
setGetRelatedListRecordsBatchAdapterFactory: (value: import("@luvio/engine").AdapterFactory<import("./
|
|
58
|
+
getRelatedListRecordsAdapterFactory: () => import("@luvio/engine").AdapterFactory<import("./main").GetRelatedListRecordsConfig, import("./main").RelatedListRecordCollectionRepresentation> | undefined;
|
|
59
|
+
setGetRelatedListRecordsAdapterFactory: (value: import("@luvio/engine").AdapterFactory<import("./main").GetRelatedListRecordsConfig, import("./main").RelatedListRecordCollectionRepresentation>) => void;
|
|
60
|
+
getRelatedListRecordsBatchAdapterFactory: () => import("@luvio/engine").AdapterFactory<import("./main").GetRelatedListRecordsBatchConfig, import("./main").RelatedListRecordCollectionBatchRepresentation> | undefined;
|
|
61
|
+
setGetRelatedListRecordsBatchAdapterFactory: (value: import("@luvio/engine").AdapterFactory<import("./main").GetRelatedListRecordsBatchConfig, import("./main").RelatedListRecordCollectionBatchRepresentation>) => void;
|
|
57
62
|
getSearchResultsAdapterFactory: () => import("@luvio/engine").AdapterFactory<import("./generated/adapters/getSearchResults").GetSearchResultsConfig, import("./generated/types/SearchResultsSummaryRepresentation").SearchResultsSummaryRepresentation> | undefined;
|
|
58
63
|
setGetSearchResultsAdapterFactory: (value: import("@luvio/engine").AdapterFactory<import("./generated/adapters/getSearchResults").GetSearchResultsConfig, import("./generated/types/SearchResultsSummaryRepresentation").SearchResultsSummaryRepresentation>) => void;
|
|
59
64
|
};
|
|
@@ -84,16 +89,20 @@ export declare const configurationForRestAdapters: {
|
|
|
84
89
|
setGetRecordAdapterFactory: (value: import("@luvio/engine").AdapterFactory<import("./main").GetRecordConfig, import("./main").RecordRepresentation>) => void;
|
|
85
90
|
getRecordsAdapterFactory: () => import("@luvio/engine").AdapterFactory<import("./main").GetRecordsConfig, import("./main").BatchRepresentation> | undefined;
|
|
86
91
|
setGetRecordsAdapterFactory: (value: import("@luvio/engine").AdapterFactory<import("./main").GetRecordsConfig, import("./main").BatchRepresentation>) => void;
|
|
87
|
-
getRelatedListRecordsAdapterFactory: () => import("@luvio/engine").AdapterFactory<import("./
|
|
88
|
-
setGetRelatedListRecordsAdapterFactory: (value: import("@luvio/engine").AdapterFactory<import("./
|
|
89
|
-
getRelatedListRecordsBatchAdapterFactory: () => import("@luvio/engine").AdapterFactory<import("./
|
|
90
|
-
setGetRelatedListRecordsBatchAdapterFactory: (value: import("@luvio/engine").AdapterFactory<import("./
|
|
92
|
+
getRelatedListRecordsAdapterFactory: () => import("@luvio/engine").AdapterFactory<import("./main").GetRelatedListRecordsConfig, import("./main").RelatedListRecordCollectionRepresentation> | undefined;
|
|
93
|
+
setGetRelatedListRecordsAdapterFactory: (value: import("@luvio/engine").AdapterFactory<import("./main").GetRelatedListRecordsConfig, import("./main").RelatedListRecordCollectionRepresentation>) => void;
|
|
94
|
+
getRelatedListRecordsBatchAdapterFactory: () => import("@luvio/engine").AdapterFactory<import("./main").GetRelatedListRecordsBatchConfig, import("./main").RelatedListRecordCollectionBatchRepresentation> | undefined;
|
|
95
|
+
setGetRelatedListRecordsBatchAdapterFactory: (value: import("@luvio/engine").AdapterFactory<import("./main").GetRelatedListRecordsBatchConfig, import("./main").RelatedListRecordCollectionBatchRepresentation>) => void;
|
|
91
96
|
getSearchResultsAdapterFactory: () => import("@luvio/engine").AdapterFactory<import("./generated/adapters/getSearchResults").GetSearchResultsConfig, import("./generated/types/SearchResultsSummaryRepresentation").SearchResultsSummaryRepresentation> | undefined;
|
|
92
97
|
setGetSearchResultsAdapterFactory: (value: import("@luvio/engine").AdapterFactory<import("./generated/adapters/getSearchResults").GetSearchResultsConfig, import("./generated/types/SearchResultsSummaryRepresentation").SearchResultsSummaryRepresentation>) => void;
|
|
93
98
|
setGetObjectInfoAdapter: (adapter: WireAdapterConstructor) => void;
|
|
94
99
|
getGetObjectInfoAdapter: () => WireAdapterConstructor | undefined;
|
|
95
100
|
setGetObjectInfosAdapter: (adapter: WireAdapterConstructor) => void;
|
|
96
101
|
getGetObjectInfosAdapter: () => WireAdapterConstructor | undefined;
|
|
102
|
+
setGraphQLWireAdapter: (adapter: WireAdapterConstructor) => void;
|
|
103
|
+
getGraphQLWireAdapter: () => WireAdapterConstructor | undefined;
|
|
104
|
+
setGraphQLImperativeQueryAdapter: (adapter: WireAdapterConstructor) => void;
|
|
105
|
+
getGraphQLImperativeQueryAdapter: () => WireAdapterConstructor | undefined;
|
|
97
106
|
setTrackedFieldDepthOnCacheMiss: (trackedFieldDepthOnCacheMissParam: number) => void;
|
|
98
107
|
getTrackedFieldDepthOnCacheMiss: () => number;
|
|
99
108
|
setTrackedFieldDepthOnCacheMergeConflict: (trackedFieldDepthOnCacheMergeConflictParam: number) => void;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { Interface as StringValue_Interface } from './StringValue';
|
|
2
|
+
import { Interface as IDValue_Interface } from './IDValue';
|
|
3
|
+
import { Interface as DateTimeValue_Interface } from './DateTimeValue';
|
|
4
|
+
import { Interface as Analytics__AnalyticsWorkspaceAssetConnection_Interface } from './Analytics__AnalyticsWorkspaceAssetConnection';
|
|
5
|
+
import { Interface as Analytics__SemanticModelRelatedModelConnection_Interface } from './Analytics__SemanticModelRelatedModelConnection';
|
|
6
|
+
import { Interface as Analytics__DataspaceRepresentation_Interface } from './Analytics__DataspaceRepresentation';
|
|
7
|
+
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';
|
|
8
|
+
import { NormalizedGraphQL as type$45$util_NormalizedGraphQL, GraphQLIngestState as type$45$util_GraphQLIngestState, GraphQLLuvioState as type$45$util_GraphQLLuvioState } from './type-util';
|
|
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
|
+
import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables, GraphQLFragmentMap as $64$luvio_graphql_GraphQLFragmentMap, GetMinimumSelectionsFunction as $64$luvio_graphql_GetMinimumSelectionsFunction } from '@luvio/graphql';
|
|
11
|
+
export declare const name = "Analytics__SemanticModel";
|
|
12
|
+
export declare const VERSION = "4ecdb182855777aeb2d64e13a0796d5a";
|
|
13
|
+
export interface Interface {
|
|
14
|
+
MasterLabel: StringValue_Interface | undefined;
|
|
15
|
+
DeveloperName: StringValue_Interface | undefined;
|
|
16
|
+
CreatedById: IDValue_Interface | undefined;
|
|
17
|
+
LastModifiedById: IDValue_Interface | undefined;
|
|
18
|
+
LastModifiedDate: DateTimeValue_Interface | undefined;
|
|
19
|
+
CreatedDate: DateTimeValue_Interface | undefined;
|
|
20
|
+
Id: string;
|
|
21
|
+
ApiName: StringValue_Interface;
|
|
22
|
+
AnalyticsWorkspaces: Analytics__AnalyticsWorkspaceAssetConnection_Interface | undefined;
|
|
23
|
+
NamespacePrefix: StringValue_Interface | undefined;
|
|
24
|
+
RelatedModel: Analytics__SemanticModelRelatedModelConnection_Interface | undefined;
|
|
25
|
+
Dataspaces: Analytics__DataspaceRepresentation_Interface[] | undefined;
|
|
26
|
+
RecordOperations: StringValue_Interface | undefined;
|
|
27
|
+
}
|
|
28
|
+
export interface MinimumInterface {
|
|
29
|
+
Id: Interface["Id"];
|
|
30
|
+
}
|
|
31
|
+
export type PartialInterface = Record<string, any> & MinimumInterface;
|
|
32
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, path: $64$luvio_engine_IngestPath, data: PartialInterface): string;
|
|
33
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, path: $64$luvio_engine_IngestPath, data: PartialInterface): $64$luvio_engine_NormalizedKeyMetadata;
|
|
34
|
+
export declare function mergeData(existingData: type$45$util_NormalizedGraphQL, newData: type$45$util_NormalizedGraphQL): {
|
|
35
|
+
data: Record<string, any>;
|
|
36
|
+
};
|
|
37
|
+
export declare function ingest(astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLIngestState<PartialInterface>): {
|
|
38
|
+
__ref: string;
|
|
39
|
+
};
|
|
40
|
+
export declare function getFieldData(source: type$45$util_NormalizedGraphQL, sel: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables): any;
|
|
41
|
+
export declare function selectType(typename: string, sel: $64$luvio_graphql$45$parser_FieldNode, fieldData: any, reader: $64$luvio_engine_Reader<any>, key: $64$luvio_engine_SelectionPropertyKey, sink: any, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): any;
|
|
42
|
+
export declare function buildSelectionForField(source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, sel: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): Record<string, any> | undefined;
|
|
43
|
+
export declare function buildSelectionForNode(source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, parentNode: $64$luvio_graphql$45$parser_FieldNode | $64$luvio_graphql$45$parser_OperationDefinitionNode, selectionNode: $64$luvio_graphql$45$parser_SelectionNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): Record<string, any> | undefined;
|
|
44
|
+
export declare function select(field: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap): (source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, parentRecordId: string) => PartialInterface | undefined;
|
|
45
|
+
export declare const getMinimumSelections: $64$luvio_graphql_GetMinimumSelectionsFunction;
|
|
46
|
+
export declare function getTypeCacheKeys(cacheKeySink: $64$luvio_engine_DurableStoreKeyMetadataMap, astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLLuvioState<PartialInterface>): void;
|
|
47
|
+
export declare function getFieldType(field: $64$luvio_graphql$45$parser_FieldNode): {
|
|
48
|
+
isArray: boolean;
|
|
49
|
+
typename: string;
|
|
50
|
+
} | undefined;
|
|
51
|
+
export declare function ingestFieldByType(typename: string, parentKey: string | $64$luvio_engine_NormalizedKeyMetadata, requestedField: $64$luvio_graphql$45$parser_FieldNode, sink: Record<string, any>, fieldKey: $64$luvio_engine_SelectionPropertyKey, fieldData: any, state: type$45$util_GraphQLIngestState<PartialInterface>): void;
|
|
52
|
+
export declare function isMappedField(field: $64$luvio_graphql$45$parser_FieldNode): boolean;
|
|
53
|
+
export declare function isFragmentApplicable(fragmentNode: $64$luvio_graphql$45$parser_FragmentDefinitionNode | $64$luvio_graphql$45$parser_InlineFragmentNode, typename?: string): boolean;
|
|
54
|
+
export declare function getInContextFragmentType(fragment: $64$luvio_graphql$45$parser_FragmentSpreadNode | $64$luvio_graphql$45$parser_InlineFragmentNode, fragmentMap: $64$luvio_graphql_GraphQLFragmentMap): string | undefined;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Interface as Analytics__SemanticModelRelatedModelEdge_Interface } from './Analytics__SemanticModelRelatedModelEdge';
|
|
2
|
+
import { Interface as PageInfo_Interface } from './PageInfo';
|
|
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';
|
|
4
|
+
import { NormalizedGraphQL as type$45$util_NormalizedGraphQL, GraphQLIngestState as type$45$util_GraphQLIngestState, GraphQLLuvioState as type$45$util_GraphQLLuvioState } from './type-util';
|
|
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';
|
|
6
|
+
import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables, GraphQLFragmentMap as $64$luvio_graphql_GraphQLFragmentMap, GetMinimumSelectionsFunction as $64$luvio_graphql_GetMinimumSelectionsFunction } from '@luvio/graphql';
|
|
7
|
+
export declare const name = "Analytics__SemanticModelRelatedModelConnection";
|
|
8
|
+
export declare const VERSION = "094b119946340375951cbcc415f436a4";
|
|
9
|
+
export interface Interface {
|
|
10
|
+
edges: Analytics__SemanticModelRelatedModelEdge_Interface[] | undefined;
|
|
11
|
+
totalCount: number;
|
|
12
|
+
pageResultCount: number;
|
|
13
|
+
pageInfo: PageInfo_Interface;
|
|
14
|
+
}
|
|
15
|
+
export interface MinimumInterface {
|
|
16
|
+
}
|
|
17
|
+
export type PartialInterface = Record<string, any> & MinimumInterface;
|
|
18
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, path: $64$luvio_engine_IngestPath, data: PartialInterface): string | $64$luvio_engine_NormalizedKeyMetadata;
|
|
19
|
+
export declare function mergeData(existingData: type$45$util_NormalizedGraphQL, newData: type$45$util_NormalizedGraphQL): {
|
|
20
|
+
data: Record<string, any>;
|
|
21
|
+
};
|
|
22
|
+
export declare function ingestPaginationMetadata(astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLIngestState<PartialInterface>, key: string | $64$luvio_engine_NormalizedKeyMetadata, sink: PartialInterface, existingData: PartialInterface): void;
|
|
23
|
+
export declare function ingest(astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLIngestState<PartialInterface>): {
|
|
24
|
+
__ref: string;
|
|
25
|
+
};
|
|
26
|
+
export declare function getFieldData(source: type$45$util_NormalizedGraphQL, sel: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables): any;
|
|
27
|
+
export declare function selectType(typename: string, sel: $64$luvio_graphql$45$parser_FieldNode, fieldData: any, reader: $64$luvio_engine_Reader<any>, key: $64$luvio_engine_SelectionPropertyKey, sink: any, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): any;
|
|
28
|
+
export declare function buildSelectionForField(source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, sel: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): Record<string, any> | undefined;
|
|
29
|
+
export declare function buildSelectionForNode(source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, parentNode: $64$luvio_graphql$45$parser_FieldNode | $64$luvio_graphql$45$parser_OperationDefinitionNode, selectionNode: $64$luvio_graphql$45$parser_SelectionNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): Record<string, any> | undefined;
|
|
30
|
+
export declare function select(field: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap): (source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, parentRecordId: string) => PartialInterface | undefined;
|
|
31
|
+
export declare const getMinimumSelections: $64$luvio_graphql_GetMinimumSelectionsFunction;
|
|
32
|
+
export declare function getTypeCacheKeys(cacheKeySink: $64$luvio_engine_DurableStoreKeyMetadataMap, astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLLuvioState<PartialInterface>): void;
|
|
33
|
+
export declare function getFieldType(field: $64$luvio_graphql$45$parser_FieldNode): {
|
|
34
|
+
isArray: boolean;
|
|
35
|
+
typename: string;
|
|
36
|
+
} | undefined;
|
|
37
|
+
export declare function ingestFieldByType(typename: string, parentKey: string | $64$luvio_engine_NormalizedKeyMetadata, fullPathKey: string | $64$luvio_engine_NormalizedKeyMetadata, requestedField: $64$luvio_graphql$45$parser_FieldNode, sink: Record<string, any>, fieldKey: $64$luvio_engine_SelectionPropertyKey, fieldData: any, state: type$45$util_GraphQLIngestState<PartialInterface>): void;
|
|
38
|
+
export declare function isMappedField(field: $64$luvio_graphql$45$parser_FieldNode): boolean;
|
|
39
|
+
export declare function isFragmentApplicable(fragmentNode: $64$luvio_graphql$45$parser_FragmentDefinitionNode | $64$luvio_graphql$45$parser_InlineFragmentNode, typename?: string): boolean;
|
|
40
|
+
export declare function getInContextFragmentType(fragment: $64$luvio_graphql$45$parser_FragmentSpreadNode | $64$luvio_graphql$45$parser_InlineFragmentNode, fragmentMap: $64$luvio_graphql_GraphQLFragmentMap): string | undefined;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Interface as Analytics__SemanticModelRelatedModelRepresentation_Interface } from './Analytics__SemanticModelRelatedModelRepresentation';
|
|
2
|
+
import { Interface as StringValue_Interface } from './StringValue';
|
|
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';
|
|
4
|
+
import { NormalizedGraphQL as type$45$util_NormalizedGraphQL, GraphQLIngestState as type$45$util_GraphQLIngestState, GraphQLLuvioState as type$45$util_GraphQLLuvioState } from './type-util';
|
|
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';
|
|
6
|
+
import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables, GraphQLFragmentMap as $64$luvio_graphql_GraphQLFragmentMap, GetMinimumSelectionsFunction as $64$luvio_graphql_GetMinimumSelectionsFunction } from '@luvio/graphql';
|
|
7
|
+
export declare const name = "Analytics__SemanticModelRelatedModelEdge";
|
|
8
|
+
export declare const VERSION = "491c9ad3f439150f7b63386d4b4fd516";
|
|
9
|
+
export interface Interface {
|
|
10
|
+
node: Analytics__SemanticModelRelatedModelRepresentation_Interface | undefined;
|
|
11
|
+
cursor: StringValue_Interface;
|
|
12
|
+
}
|
|
13
|
+
export interface MinimumInterface {
|
|
14
|
+
}
|
|
15
|
+
export type PartialInterface = Record<string, any> & MinimumInterface;
|
|
16
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, path: $64$luvio_engine_IngestPath, data: PartialInterface): string | $64$luvio_engine_NormalizedKeyMetadata;
|
|
17
|
+
export declare function mergeData(existingData: type$45$util_NormalizedGraphQL, newData: type$45$util_NormalizedGraphQL): {
|
|
18
|
+
data: Record<string, any>;
|
|
19
|
+
};
|
|
20
|
+
export declare function ingest(astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLIngestState<PartialInterface>): {
|
|
21
|
+
__ref: string;
|
|
22
|
+
};
|
|
23
|
+
export declare function getFieldData(source: type$45$util_NormalizedGraphQL, sel: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables): any;
|
|
24
|
+
export declare function selectType(typename: string, sel: $64$luvio_graphql$45$parser_FieldNode, fieldData: any, reader: $64$luvio_engine_Reader<any>, key: $64$luvio_engine_SelectionPropertyKey, sink: any, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): any;
|
|
25
|
+
export declare function buildSelectionForField(source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, sel: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): Record<string, any> | undefined;
|
|
26
|
+
export declare function buildSelectionForNode(source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, parentNode: $64$luvio_graphql$45$parser_FieldNode | $64$luvio_graphql$45$parser_OperationDefinitionNode, selectionNode: $64$luvio_graphql$45$parser_SelectionNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): Record<string, any> | undefined;
|
|
27
|
+
export declare function select(field: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap): (source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, parentRecordId: string) => PartialInterface | undefined;
|
|
28
|
+
export declare const getMinimumSelections: $64$luvio_graphql_GetMinimumSelectionsFunction;
|
|
29
|
+
export declare function getTypeCacheKeys(cacheKeySink: $64$luvio_engine_DurableStoreKeyMetadataMap, astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLLuvioState<PartialInterface>): void;
|
|
30
|
+
export declare function getFieldType(field: $64$luvio_graphql$45$parser_FieldNode): {
|
|
31
|
+
isArray: boolean;
|
|
32
|
+
typename: string;
|
|
33
|
+
} | undefined;
|
|
34
|
+
export declare function ingestFieldByType(typename: string, parentKey: string | $64$luvio_engine_NormalizedKeyMetadata, requestedField: $64$luvio_graphql$45$parser_FieldNode, sink: Record<string, any>, fieldKey: $64$luvio_engine_SelectionPropertyKey, fieldData: any, state: type$45$util_GraphQLIngestState<PartialInterface>): void;
|
|
35
|
+
export declare function isMappedField(field: $64$luvio_graphql$45$parser_FieldNode): boolean;
|
|
36
|
+
export declare function isFragmentApplicable(fragmentNode: $64$luvio_graphql$45$parser_FragmentDefinitionNode | $64$luvio_graphql$45$parser_InlineFragmentNode, typename?: string): boolean;
|
|
37
|
+
export declare function getInContextFragmentType(fragment: $64$luvio_graphql$45$parser_FragmentSpreadNode | $64$luvio_graphql$45$parser_InlineFragmentNode, fragmentMap: $64$luvio_graphql_GraphQLFragmentMap): string | undefined;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Interface as StringValue_Interface } from './StringValue';
|
|
2
|
+
import { Interface as IDValue_Interface } from './IDValue';
|
|
3
|
+
import { Interface as Analytics__SemanticModel_Interface } from './Analytics__SemanticModel';
|
|
4
|
+
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';
|
|
5
|
+
import { NormalizedGraphQL as type$45$util_NormalizedGraphQL, GraphQLIngestState as type$45$util_GraphQLIngestState, GraphQLLuvioState as type$45$util_GraphQLLuvioState } from './type-util';
|
|
6
|
+
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
|
+
import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables, GraphQLFragmentMap as $64$luvio_graphql_GraphQLFragmentMap, GetMinimumSelectionsFunction as $64$luvio_graphql_GetMinimumSelectionsFunction } from '@luvio/graphql';
|
|
8
|
+
export declare const name = "Analytics__SemanticModelRelatedModelRepresentation";
|
|
9
|
+
export declare const VERSION = "70d1d4979df2806df34e9e7389b8ab6a";
|
|
10
|
+
export interface Interface {
|
|
11
|
+
Id: string;
|
|
12
|
+
ApiName: StringValue_Interface;
|
|
13
|
+
SemanticModelId: IDValue_Interface | undefined;
|
|
14
|
+
RelatedSemanticModel: Analytics__SemanticModel_Interface | undefined;
|
|
15
|
+
}
|
|
16
|
+
export interface MinimumInterface {
|
|
17
|
+
Id: Interface["Id"];
|
|
18
|
+
}
|
|
19
|
+
export type PartialInterface = Record<string, any> & MinimumInterface;
|
|
20
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, path: $64$luvio_engine_IngestPath, data: PartialInterface): string;
|
|
21
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, path: $64$luvio_engine_IngestPath, data: PartialInterface): $64$luvio_engine_NormalizedKeyMetadata;
|
|
22
|
+
export declare function mergeData(existingData: type$45$util_NormalizedGraphQL, newData: type$45$util_NormalizedGraphQL): {
|
|
23
|
+
data: Record<string, any>;
|
|
24
|
+
};
|
|
25
|
+
export declare function ingest(astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLIngestState<PartialInterface>): {
|
|
26
|
+
__ref: string;
|
|
27
|
+
};
|
|
28
|
+
export declare function getFieldData(source: type$45$util_NormalizedGraphQL, sel: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables): any;
|
|
29
|
+
export declare function selectType(typename: string, sel: $64$luvio_graphql$45$parser_FieldNode, fieldData: any, reader: $64$luvio_engine_Reader<any>, key: $64$luvio_engine_SelectionPropertyKey, sink: any, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): any;
|
|
30
|
+
export declare function buildSelectionForField(source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, sel: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): Record<string, any> | undefined;
|
|
31
|
+
export declare function buildSelectionForNode(source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, parentNode: $64$luvio_graphql$45$parser_FieldNode | $64$luvio_graphql$45$parser_OperationDefinitionNode, selectionNode: $64$luvio_graphql$45$parser_SelectionNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): Record<string, any> | undefined;
|
|
32
|
+
export declare function select(field: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap): (source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, parentRecordId: string) => PartialInterface | undefined;
|
|
33
|
+
export declare const getMinimumSelections: $64$luvio_graphql_GetMinimumSelectionsFunction;
|
|
34
|
+
export declare function getTypeCacheKeys(cacheKeySink: $64$luvio_engine_DurableStoreKeyMetadataMap, astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLLuvioState<PartialInterface>): void;
|
|
35
|
+
export declare function getFieldType(field: $64$luvio_graphql$45$parser_FieldNode): {
|
|
36
|
+
isArray: boolean;
|
|
37
|
+
typename: string;
|
|
38
|
+
} | undefined;
|
|
39
|
+
export declare function ingestFieldByType(typename: string, parentKey: string | $64$luvio_engine_NormalizedKeyMetadata, requestedField: $64$luvio_graphql$45$parser_FieldNode, sink: Record<string, any>, fieldKey: $64$luvio_engine_SelectionPropertyKey, fieldData: any, state: type$45$util_GraphQLIngestState<PartialInterface>): void;
|
|
40
|
+
export declare function isMappedField(field: $64$luvio_graphql$45$parser_FieldNode): boolean;
|
|
41
|
+
export declare function isFragmentApplicable(fragmentNode: $64$luvio_graphql$45$parser_FragmentDefinitionNode | $64$luvio_graphql$45$parser_InlineFragmentNode, typename?: string): boolean;
|
|
42
|
+
export declare function getInContextFragmentType(fragment: $64$luvio_graphql$45$parser_FragmentSpreadNode | $64$luvio_graphql$45$parser_InlineFragmentNode, fragmentMap: $64$luvio_graphql_GraphQLFragmentMap): string | undefined;
|
|
@@ -95,6 +95,10 @@ export declare const configuration: {
|
|
|
95
95
|
getGetObjectInfoAdapter: () => import("@lwc/engine-core").WireAdapterConstructor | undefined;
|
|
96
96
|
setGetObjectInfosAdapter: (adapter: import("@lwc/engine-core").WireAdapterConstructor) => void;
|
|
97
97
|
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("@lwc/engine-core").WireAdapterConstructor) => void;
|
|
101
|
+
getGraphQLImperativeQueryAdapter: () => import("@lwc/engine-core").WireAdapterConstructor | undefined;
|
|
98
102
|
getDraftAwareGraphQLAdapter: () => import("./wire/graphql/configurationTypes").DraftAwareGraphQLAdapter | undefined;
|
|
99
103
|
setDraftAwareGraphQLAdapter: (value: import("./wire/graphql/configurationTypes").DraftAwareGraphQLAdapter) => void;
|
|
100
104
|
getEnvironmentAwareGraphQLBatchAdapter: () => import("./wire/graphqlBatch/configurationTypes").EnvironmentAwareGraphQLBatchAdapter | undefined;
|
|
@@ -158,7 +162,7 @@ export declare const configuration: {
|
|
|
158
162
|
};
|
|
159
163
|
export { Instrument, instrument } from './instrumentation';
|
|
160
164
|
export type { CachePolicy, CachePolicyCacheAndNetwork, CachePolicyCacheThenNetwork, CachePolicyNoCache, CachePolicyOnlyIfCached, CachePolicyStaleWhileRevalidate, CachePolicyValidAt, } from '@luvio/engine';
|
|
161
|
-
export { DataCallback, DataCallbackTuple, ImperativeAdapter } from '@salesforce/lds-bindings';
|
|
165
|
+
export { DataCallback, DataCallbackTuple, ImperativeAdapter, GraphQLImperativeAdapter, } from '@salesforce/lds-bindings';
|
|
162
166
|
export { default as getRecordId18 } from './primitives/RecordId18/coerce';
|
|
163
167
|
export { default as getRecordId18Array } from './primitives/RecordId18Array/coerce';
|
|
164
168
|
export { default as coerceFieldIdArray } from './primitives/FieldIdArray/coerce';
|
|
@@ -2,12 +2,11 @@ export * from './generated/artifacts/sfdc_graphqlAdapters';
|
|
|
2
2
|
import { configurationForGraphQLAdapters } from './configuration';
|
|
3
3
|
import type { ConfigurationForGraphQLAdapters } from './configuration';
|
|
4
4
|
import type { Instrument } from './instrumentation';
|
|
5
|
-
import { refresh } from '@salesforce/lds-bindings';
|
|
6
5
|
export type Registration = {
|
|
7
6
|
id: '@salesforce/lds-adapters-uiapi/graphql';
|
|
8
7
|
configuration: ConfigurationForGraphQLAdapters;
|
|
9
8
|
instrument: Instrument;
|
|
10
9
|
};
|
|
11
10
|
export { ConfigurationForGraphQLAdapters as Configuration, configurationForGraphQLAdapters as configuration, };
|
|
12
|
-
export
|
|
11
|
+
export declare function refreshGraphQL(data: any): any;
|
|
13
12
|
export { graphqlAdapterFactory } from './main';
|