Skip to content

Commit

Permalink
Update limits
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Sep 18, 2024
1 parent 1d10b6e commit 5022938
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .api-reports/api-report-react.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2238,7 +2238,7 @@ export function useSubscription<TData = any, TVariables extends OperationVariabl
// Warning: (ae-forgotten-export) The symbol "UseSuspenseFragmentOptions" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export function useSuspenseFragment<TData, TVariables>(options: UseSuspenseFragmentOptions<TData, TVariables>): UseSuspenseFragmentResult<TData>;
export function useSuspenseFragment<TData = unknown, TVariables extends OperationVariables = OperationVariables>(options: UseSuspenseFragmentOptions<TData, TVariables>): UseSuspenseFragmentResult<TData>;

// @public (undocumented)
interface UseSuspenseFragmentOptions<TData, TVars> extends Omit<Cache_2.DiffOptions<NoInfer<TData>, NoInfer<TVars>>, "id" | "query" | "optimistic" | "previousResult" | "returnPartialData">, Omit<Cache_2.ReadFragmentOptions<TData, TVars>, "id" | "variables" | "returnPartialData"> {
Expand Down
2 changes: 1 addition & 1 deletion .api-reports/api-report-react_hooks.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2071,7 +2071,7 @@ export function useSubscription<TData = any, TVariables extends OperationVariabl
// Warning: (ae-forgotten-export) The symbol "UseSuspenseFragmentOptions" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export function useSuspenseFragment<TData, TVariables>(options: UseSuspenseFragmentOptions<TData, TVariables>): UseSuspenseFragmentResult<TData>;
export function useSuspenseFragment<TData = unknown, TVariables extends OperationVariables = OperationVariables>(options: UseSuspenseFragmentOptions<TData, TVariables>): UseSuspenseFragmentResult<TData>;

// @public (undocumented)
interface UseSuspenseFragmentOptions<TData, TVars> extends Omit<Cache_2.DiffOptions<NoInfer<TData>, NoInfer<TVars>>, "id" | "query" | "optimistic" | "previousResult" | "returnPartialData">, Omit<Cache_2.ReadFragmentOptions<TData, TVars>, "id" | "variables" | "returnPartialData"> {
Expand Down
34 changes: 33 additions & 1 deletion .api-reports/api-report-react_internal.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,13 @@ interface FieldSpecifier {
variables?: Record<string, any>;
}

// @public (undocumented)
type FragmentCacheKey = [
cacheId: string,
fragment: DocumentNode,
stringifiedVariables: string
];

// @public (undocumented)
interface FragmentKey {
// (undocumented)
Expand Down Expand Up @@ -1888,10 +1895,11 @@ class SuspenseCache {
constructor(options?: SuspenseCacheOptions);
// (undocumented)
add(cacheKey: CacheKey, queryRef: InternalQueryReference<unknown>): void;
// Warning: (ae-forgotten-export) The symbol "FragmentCacheKey" needs to be exported by the entry point index.d.ts
// Warning: (ae-forgotten-export) The symbol "FragmentReference" needs to be exported by the entry point index.d.ts
//
// (undocumented)
getFragmentRef<TData>(cacheKey: CacheKey, createObservable: () => Observable<WatchFragmentResult<TData>>): FragmentReference<TData>;
getFragmentRef<TData>(cacheKey: FragmentCacheKey, createObservable: () => Observable<WatchFragmentResult<TData>>): FragmentReference<TData>;
// (undocumented)
getQueryRef<TData = any>(cacheKey: CacheKey, createObservable: () => ObservableQuery<TData>): InternalQueryReference<TData>;
}
Expand Down Expand Up @@ -2118,6 +2126,26 @@ interface UseReadQueryResult<TData = unknown> {
networkStatus: NetworkStatus;
}

// Warning: (ae-forgotten-export) The symbol "UseSuspenseFragmentOptions" needs to be exported by the entry point index.d.ts
// Warning: (ae-forgotten-export) The symbol "UseSuspenseFragmentResult" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
function useSuspenseFragment<TData = unknown, TVariables extends OperationVariables = OperationVariables>(options: UseSuspenseFragmentOptions<TData, TVariables>): UseSuspenseFragmentResult<TData>;

// @public (undocumented)
interface UseSuspenseFragmentOptions<TData, TVars> extends Omit<Cache_2.DiffOptions<NoInfer<TData>, NoInfer<TVars>>, "id" | "query" | "optimistic" | "previousResult" | "returnPartialData">, Omit<Cache_2.ReadFragmentOptions<TData, TVars>, "id" | "variables" | "returnPartialData"> {
client?: ApolloClient<any>;
// (undocumented)
from: StoreObject | Reference | string;
// (undocumented)
optimistic?: boolean;
}

// @public (undocumented)
type UseSuspenseFragmentResult<TData> = {
data: TData;
};

// Warning: (ae-forgotten-export) The symbol "SuspenseQueryHookOptions" needs to be exported by the entry point index.d.ts
// Warning: (ae-forgotten-export) The symbol "UseSuspenseQueryResult" needs to be exported by the entry point index.d.ts
//
Expand Down Expand Up @@ -2245,6 +2273,10 @@ interface WrappableHooks {
//
// (undocumented)
useReadQuery: typeof useReadQuery;
// Warning: (ae-forgotten-export) The symbol "useSuspenseFragment" needs to be exported by the entry point index.d.ts
//
// (undocumented)
useSuspenseFragment: typeof useSuspenseFragment;
// Warning: (ae-forgotten-export) The symbol "useSuspenseQuery" needs to be exported by the entry point index.d.ts
//
// (undocumented)
Expand Down
2 changes: 1 addition & 1 deletion .api-reports/api-report.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2899,7 +2899,7 @@ export function useSubscription<TData = any, TVariables extends OperationVariabl
// Warning: (ae-forgotten-export) The symbol "UseSuspenseFragmentOptions" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export function useSuspenseFragment<TData, TVariables>(options: UseSuspenseFragmentOptions<TData, TVariables>): UseSuspenseFragmentResult<TData>;
export function useSuspenseFragment<TData = unknown, TVariables extends OperationVariables = OperationVariables>(options: UseSuspenseFragmentOptions<TData, TVariables>): UseSuspenseFragmentResult<TData>;

// @public (undocumented)
interface UseSuspenseFragmentOptions<TData, TVars> extends Omit<Cache_2.DiffOptions<NoInfer<TData>, NoInfer<TVars>>, "id" | "query" | "optimistic" | "previousResult" | "returnPartialData">, Omit<Cache_2.ReadFragmentOptions<TData, TVars>, "id" | "variables" | "returnPartialData"> {
Expand Down
2 changes: 1 addition & 1 deletion .size-limits.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"dist/apollo-client.min.cjs": 40532,
"dist/apollo-client.min.cjs": 40567,
"import { ApolloClient, InMemoryCache, HttpLink } from \"dist/index.js\" (production)": 33060
}

0 comments on commit 5022938

Please sign in to comment.