From fec8905fc260b6cc5bb433beb9739c713ad6524e Mon Sep 17 00:00:00 2001 From: Jerel Miller Date: Fri, 10 Nov 2023 09:57:38 -0700 Subject: [PATCH] Update api report --- .api-reports/api-report-core.md | 4 +--- .api-reports/api-report-react.md | 31 +++++++++++++++++++++++++++---- .api-reports/api-report.md | 27 ++++++++++++++++++++++++--- 3 files changed, 52 insertions(+), 10 deletions(-) diff --git a/.api-reports/api-report-core.md b/.api-reports/api-report-core.md index 119bc538d4e..4099b3b06b7 100644 --- a/.api-reports/api-report-core.md +++ b/.api-reports/api-report-core.md @@ -1925,7 +1925,7 @@ export interface RefetchQueriesResult extends Promise Observable | null; @@ -2155,8 +2155,6 @@ export interface WatchQueryOptions, currentFetchPolicy: WatchQueryFetchPolicy, context: NextFetchPolicyContext) => WatchQueryFetchPolicy); - // Warning: (ae-forgotten-export) The symbol "RefetchWritePolicy" needs to be exported by the entry point index.d.ts - // // (undocumented) refetchWritePolicy?: RefetchWritePolicy; } diff --git a/.api-reports/api-report-react.md b/.api-reports/api-report-react.md index d7a73cbefd3..1eec2b59c0f 100644 --- a/.api-reports/api-report-react.md +++ b/.api-reports/api-report-react.md @@ -901,6 +901,33 @@ interface IncrementalPayload { path: Path; } +// @public (undocumented) +export type InteractiveQueryHookFetchPolicy = Extract; + +// @public (undocumented) +export interface InteractiveQueryHookOptions { + // (undocumented) + canonizeResults?: boolean; + // (undocumented) + client?: ApolloClient; + // (undocumented) + context?: Context; + // Warning: (ae-forgotten-export) The symbol "ErrorPolicy" needs to be exported by the entry point index.d.ts + // + // (undocumented) + errorPolicy?: ErrorPolicy; + // (undocumented) + fetchPolicy?: InteractiveQueryHookFetchPolicy; + // (undocumented) + queryKey?: string | number | any[]; + // Warning: (ae-forgotten-export) The symbol "RefetchWritePolicy" needs to be exported by the entry point index.d.ts + // + // (undocumented) + refetchWritePolicy?: RefetchWritePolicy; + // (undocumented) + returnPartialData?: boolean; +} + // @public (undocumented) class InternalQueryReference { // Warning: (ae-forgotten-export) The symbol "InternalQueryReferenceOptions" needs to be exported by the entry point index.d.ts @@ -1121,8 +1148,6 @@ interface MutationBaseOptions, currentFetchPolicy: WatchQueryFetchPolicy, context: NextFetchPolicyContext) => WatchQueryFetchPolicy); - // Warning: (ae-forgotten-export) The symbol "RefetchWritePolicy" needs to be exported by the entry point index.d.ts - // // (undocumented) refetchWritePolicy?: RefetchWritePolicy; } diff --git a/.api-reports/api-report.md b/.api-reports/api-report.md index 174182d1f2c..4205216998c 100644 --- a/.api-reports/api-report.md +++ b/.api-reports/api-report.md @@ -1255,6 +1255,29 @@ export interface InMemoryCacheConfig extends ApolloReducerConfig { typePolicies?: TypePolicies; } +// @public (undocumented) +export type InteractiveQueryHookFetchPolicy = Extract; + +// @public (undocumented) +export interface InteractiveQueryHookOptions { + // (undocumented) + canonizeResults?: boolean; + // (undocumented) + client?: ApolloClient; + // (undocumented) + context?: DefaultContext; + // (undocumented) + errorPolicy?: ErrorPolicy; + // (undocumented) + fetchPolicy?: InteractiveQueryHookFetchPolicy; + // (undocumented) + queryKey?: string | number | any[]; + // (undocumented) + refetchWritePolicy?: RefetchWritePolicy; + // (undocumented) + returnPartialData?: boolean; +} + // @public (undocumented) class InternalQueryReference { // Warning: (ae-forgotten-export) The symbol "InternalQueryReferenceOptions" needs to be exported by the entry point index.d.ts @@ -2340,7 +2363,7 @@ export interface RefetchQueriesResult extends Promise, currentFetchPolicy: WatchQueryFetchPolicy, context: NextFetchPolicyContext) => WatchQueryFetchPolicy); - // Warning: (ae-forgotten-export) The symbol "RefetchWritePolicy" needs to be exported by the entry point index.d.ts - // // (undocumented) refetchWritePolicy?: RefetchWritePolicy; }