@salesforce/lds-adapters-uiapi 1.158.0 → 1.158.1

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.
@@ -77,11 +77,10 @@ export declare function ingestNonCursorConnectionType<AstNodeType extends $64$lu
77
77
  export declare const TTL = 900000;
78
78
  export declare function applyMinimumFieldsToQuery(query: $64$luvio_graphql$45$parser_DocumentNode): $64$luvio_graphql$45$parser_DocumentNode;
79
79
  export declare function injectSelectionSet(selectionSetNode: $64$luvio_graphql$45$parser_SelectionSetNode | undefined, queryTransformHelper: QueryTransformHelper | undefined, fragmentMap: $64$luvio_graphql_GraphQLFragmentMap): void;
80
- export declare function getRequestedField(responseDataFieldName: string, requestedFields: $64$luvio_graphql$45$parser_FieldNode[]): $64$luvio_graphql$45$parser_FieldNode | undefined;
81
80
  export declare function getPageMetadata(paginationMetadata: pagination_cursor_PaginationMetadata | undefined, paginationParams: pagination_cursor_PaginationParams): pagination_cursor_PageMetadata;
82
81
  export declare function isCursorConnectionType(fieldType: GraphQLTypeDetails | undefined): boolean;
83
82
  export declare function getSerializedKeyForField(field: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fieldType: GraphQLTypeDetails | undefined): string;
84
- export declare function getRequestedFieldsForType(typename: string, selectionSet: $64$luvio_graphql$45$parser_SelectionSetNode, namedFragmentsMap: $64$luvio_graphql_GraphQLFragmentMap, isFragmentApplicable: IsFragmentApplicableType): $64$luvio_graphql$45$parser_FieldNode[];
83
+ export declare function getRequestedFieldsForType(typename: string, selectionSet: $64$luvio_graphql$45$parser_SelectionSetNode, namedFragmentsMap: $64$luvio_graphql_GraphQLFragmentMap, isFragmentApplicable: IsFragmentApplicableType): Map<string, $64$luvio_graphql$45$parser_FieldNode>;
85
84
  export declare function getQueryTransformerForType(typename: string, fragmentMap: $64$luvio_graphql_GraphQLFragmentMap): QueryTransformHelper | undefined;
86
85
  export declare function sharedGetFragmentType(fragment: $64$luvio_graphql$45$parser_FragmentSpreadNode | $64$luvio_graphql$45$parser_InlineFragmentNode, fragmentMap: $64$luvio_graphql_GraphQLFragmentMap): string | undefined;
87
86
  export declare function getSelectionSetFromFragment(fragment: $64$luvio_graphql$45$parser_FragmentSpreadNode | $64$luvio_graphql$45$parser_InlineFragmentNode, fragmentMap: $64$luvio_graphql_GraphQLFragmentMap): $64$luvio_graphql$45$parser_SelectionSetNode | undefined;
@@ -96,4 +95,5 @@ export declare function buildSelectionForField<SourceType>(source: SourceType, r
96
95
  } | undefined, 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) => void, parentRecordId: string): Record<string, any> | undefined;
97
96
  export declare function selectTypeLink<T extends Function, NormalizedGraphQLType extends NormalizedGraphQL<unknown>>(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, version: string | undefined, selectFn: (field: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap) => T, isCursorConnection: boolean): void;
98
97
  export declare function augmentDefaultVariableValues(variableDefinitions: readonly $64$luvio_graphql$45$parser_VariableDefinitionNode[], variables: $64$luvio_graphql_GraphQLVariables): void;
98
+ export declare function selectCalculateSink<D extends NormalizedGraphQL>(sink: Record<string, any>, field: $64$luvio_graphql$45$parser_FieldNode | $64$luvio_graphql$45$parser_OperationDefinitionNode, buildSelectionForNodeFn: (source: D, 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, source: D, reader: $64$luvio_engine_Reader<any>, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): Record<string, any>;
99
99
  export {};