Skip to content

Commit

Permalink
run extract-api
Browse files Browse the repository at this point in the history
  • Loading branch information
Cellule committed Feb 3, 2025
1 parent 5fd221d commit 82d4f65
Show file tree
Hide file tree
Showing 12 changed files with 319 additions and 205 deletions.
38 changes: 20 additions & 18 deletions .api-reports/api-report-core.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1733,7 +1733,7 @@ export class ObservableQuery<TData = any, TVariables extends OperationVariables
startPolling(pollInterval: number): void;
stopPolling(): void;
subscribeToMore<TSubscriptionData = TData, TSubscriptionVariables extends OperationVariables = TVariables>(options: SubscribeToMoreOptions<TData, TSubscriptionVariables, TSubscriptionData, TVariables>): () => void;
updateQuery(mapFn: UpdateQueryMapFn<TData, TVariables>): void;
updateQuery(mapFn: UpdateQueryMapFn<TData, TVariables>, options?: UpdateQueryFnOptions | undefined): void;
get variables(): TVariables | undefined;
}

Expand Down Expand Up @@ -2323,13 +2323,13 @@ class Stump extends Layer {
}

// @public (undocumented)
export interface SubscribeToMoreFunction<TData, TVars extends OperationVariables = OperationVariables> {
export interface SubscribeToMoreFunction<TData, TVariables extends OperationVariables = OperationVariables> {
// (undocumented)
<TSubscriptionData = TData, TSubscriptionVariables extends OperationVariables = TVars>(options: SubscribeToMoreOptions<TData, TSubscriptionVariables, TSubscriptionData, TVars>): () => void;
<TSubscriptionData = TData, TSubscriptionVariables extends OperationVariables = TVariables>(options: SubscribeToMoreOptions<TData, TSubscriptionVariables, TSubscriptionData, TVariables>): () => void;
}

// @public (undocumented)
export interface SubscribeToMoreOptions<TData = any, TSubscriptionVariables extends OperationVariables = OperationVariables, TSubscriptionData = TData, TVars extends OperationVariables = TSubscriptionVariables> {
export interface SubscribeToMoreOptions<TData = any, TSubscriptionVariables extends OperationVariables = OperationVariables, TSubscriptionData = TData, TVariables extends OperationVariables = TSubscriptionVariables> {
// (undocumented)
context?: DefaultContext;
// (undocumented)
Expand All @@ -2339,13 +2339,15 @@ export interface SubscribeToMoreOptions<TData = any, TSubscriptionVariables exte
// Warning: (ae-forgotten-export) The symbol "SubscribeToMoreUpdateQueryFn" needs to be exported by the entry point index.d.ts
//
// (undocumented)
updateQuery?: SubscribeToMoreUpdateQueryFn<TData, TVars, TSubscriptionVariables, TSubscriptionData>;
updateQuery?: SubscribeToMoreUpdateQueryFn<TData, TVariables, TSubscriptionVariables, TSubscriptionData>;
// (undocumented)
updateQueryOptions?: UpdateQueryFnOptions;
// (undocumented)
variables?: TSubscriptionVariables;
}

// @public (undocumented)
type SubscribeToMoreUpdateQueryFn<TData = any, TVars extends OperationVariables = OperationVariables, TSubscriptionVariables extends OperationVariables = TVars, TSubscriptionData = TData> = UpdateQueryMapFn<TData, TVars, {
type SubscribeToMoreUpdateQueryFn<TData = any, TVariables extends OperationVariables = OperationVariables, TSubscriptionVariables extends OperationVariables = TVariables, TSubscriptionData = TData> = UpdateQueryMapFn<TData, TVariables, {
subscriptionData: {
data: Unmasked<TSubscriptionData>;
};
Expand Down Expand Up @@ -2448,25 +2450,25 @@ type UnwrapFragmentRefs<TData> = true extends IsAny<TData> ? TData : TData exten
type UpdateQueries<TData> = MutationOptions<TData, any, any>["updateQueries"];

// @public (undocumented)
export interface UpdateQueryFn<TData, TVars extends OperationVariables, TOptions = {}> {
export interface UpdateQueryFn<TData, TVariables extends OperationVariables, TOptions = {}> {
// (undocumented)
(mapFn: UpdateQueryMapFn<TData, TVars, TOptions>): void;
(mapFn: UpdateQueryMapFn<TData, TVariables, TOptions>, options?: UpdateQueryFnOptions): void;
}

// @public (undocumented)
export interface UpdateQueryFnOptions {
updateQueryOnPartialPreviousResult?: boolean;
}

// @public (undocumented)
export interface UpdateQueryMapFn<TData = any, TVars extends OperationVariables = OperationVariables, TOptions = {}> {
export interface UpdateQueryMapFn<TData = any, TVariables extends OperationVariables = OperationVariables, TOptions = {}> {
// (undocumented)
(previousQueryResult: (Partial<Unmasked<TData>> & {
complete?: undefined;
}) | (Unmasked<TData> & {
complete: Symbol;
}), options: TOptions & {
variables?: TVars;
}): Unmasked<TData> | undefined;
(previousQueryResult: Unmasked<TData>, options: TOptions & UpdateQueryOptions<TVariables>): Unmasked<TData> | undefined;
}

// @public (undocumented)
export interface UpdateQueryOptions<TVariables> {
complete: boolean;
// (undocumented)
variables?: TVariables;
}
Expand Down Expand Up @@ -2545,8 +2547,8 @@ interface WriteContext extends ReadMergeModifyContext {
// src/cache/inmemory/policies.ts:162:3 - (ae-forgotten-export) The symbol "KeySpecifier" needs to be exported by the entry point index.d.ts
// src/cache/inmemory/policies.ts:162:3 - (ae-forgotten-export) The symbol "KeyArgsFunction" needs to be exported by the entry point index.d.ts
// src/cache/inmemory/types.ts:139:3 - (ae-forgotten-export) The symbol "KeyFieldsFunction" needs to be exported by the entry point index.d.ts
// src/core/ObservableQuery.ts:121:5 - (ae-forgotten-export) The symbol "QueryManager" needs to be exported by the entry point index.d.ts
// src/core/ObservableQuery.ts:122:5 - (ae-forgotten-export) The symbol "QueryInfo" needs to be exported by the entry point index.d.ts
// src/core/ObservableQuery.ts:118:5 - (ae-forgotten-export) The symbol "QueryManager" needs to be exported by the entry point index.d.ts
// src/core/ObservableQuery.ts:119:5 - (ae-forgotten-export) The symbol "QueryInfo" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:159:5 - (ae-forgotten-export) The symbol "MutationStoreValue" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:414:7 - (ae-forgotten-export) The symbol "UpdateQueries" needs to be exported by the entry point index.d.ts
// src/link/http/selectHttpOptionsAndBody.ts:128:32 - (ae-forgotten-export) The symbol "HttpQueryOptions" needs to be exported by the entry point index.d.ts
Expand Down
49 changes: 30 additions & 19 deletions .api-reports/api-report-react.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1437,7 +1437,8 @@ class ObservableQuery<TData = any, TVariables extends OperationVariables = Opera
// Warning: (ae-forgotten-export) The symbol "SubscribeToMoreOptions" needs to be exported by the entry point index.d.ts
subscribeToMore<TSubscriptionData = TData, TSubscriptionVariables extends OperationVariables = TVariables>(options: SubscribeToMoreOptions<TData, TSubscriptionVariables, TSubscriptionData, TVariables>): () => void;
// Warning: (ae-forgotten-export) The symbol "UpdateQueryMapFn" needs to be exported by the entry point index.d.ts
updateQuery(mapFn: UpdateQueryMapFn<TData, TVariables>): void;
// Warning: (ae-forgotten-export) The symbol "UpdateQueryFnOptions" needs to be exported by the entry point index.d.ts
updateQuery(mapFn: UpdateQueryMapFn<TData, TVariables>, options?: UpdateQueryFnOptions | undefined): void;
get variables(): TVariables | undefined;
}

Expand Down Expand Up @@ -2097,13 +2098,13 @@ Item
type StoreValue = number | string | string[] | Reference | Reference[] | null | undefined | void | Object;

// @public (undocumented)
interface SubscribeToMoreFunction<TData, TVars extends OperationVariables = OperationVariables> {
interface SubscribeToMoreFunction<TData, TVariables extends OperationVariables = OperationVariables> {
// (undocumented)
<TSubscriptionData = TData, TSubscriptionVariables extends OperationVariables = TVars>(options: SubscribeToMoreOptions<TData, TSubscriptionVariables, TSubscriptionData, TVars>): () => void;
<TSubscriptionData = TData, TSubscriptionVariables extends OperationVariables = TVariables>(options: SubscribeToMoreOptions<TData, TSubscriptionVariables, TSubscriptionData, TVariables>): () => void;
}

// @public (undocumented)
interface SubscribeToMoreOptions<TData = any, TSubscriptionVariables extends OperationVariables = OperationVariables, TSubscriptionData = TData, TVars extends OperationVariables = TSubscriptionVariables> {
interface SubscribeToMoreOptions<TData = any, TSubscriptionVariables extends OperationVariables = OperationVariables, TSubscriptionData = TData, TVariables extends OperationVariables = TSubscriptionVariables> {
// (undocumented)
context?: Context;
// (undocumented)
Expand All @@ -2113,13 +2114,15 @@ interface SubscribeToMoreOptions<TData = any, TSubscriptionVariables extends Ope
// Warning: (ae-forgotten-export) The symbol "SubscribeToMoreUpdateQueryFn" needs to be exported by the entry point index.d.ts
//
// (undocumented)
updateQuery?: SubscribeToMoreUpdateQueryFn<TData, TVars, TSubscriptionVariables, TSubscriptionData>;
updateQuery?: SubscribeToMoreUpdateQueryFn<TData, TVariables, TSubscriptionVariables, TSubscriptionData>;
// (undocumented)
updateQueryOptions?: UpdateQueryFnOptions;
// (undocumented)
variables?: TSubscriptionVariables;
}

// @public (undocumented)
type SubscribeToMoreUpdateQueryFn<TData = any, TVars extends OperationVariables = OperationVariables, TSubscriptionVariables extends OperationVariables = TVars, TSubscriptionData = TData> = UpdateQueryMapFn<TData, TVars, {
type SubscribeToMoreUpdateQueryFn<TData = any, TVariables extends OperationVariables = OperationVariables, TSubscriptionVariables extends OperationVariables = TVariables, TSubscriptionData = TData> = UpdateQueryMapFn<TData, TVariables, {
subscriptionData: {
data: Unmasked<TSubscriptionData>;
};
Expand Down Expand Up @@ -2245,21 +2248,29 @@ type UnwrapFragmentRefs<TData> = true extends IsAny<TData> ? TData : TData exten
type UpdateQueries<TData> = MutationOptions<TData, any, any>["updateQueries"];

// @public (undocumented)
interface UpdateQueryFn<TData, TVars extends OperationVariables, TOptions = {}> {
interface UpdateQueryFn<TData, TVariables extends OperationVariables, TOptions = {}> {
// (undocumented)
(mapFn: UpdateQueryMapFn<TData, TVariables, TOptions>, options?: UpdateQueryFnOptions): void;
}

// @public (undocumented)
interface UpdateQueryFnOptions {
updateQueryOnPartialPreviousResult?: boolean;
}

// @public (undocumented)
interface UpdateQueryMapFn<TData = any, TVariables extends OperationVariables = OperationVariables, TOptions = {}> {
// Warning: (ae-forgotten-export) The symbol "UpdateQueryOptions" needs to be exported by the entry point index.d.ts
//
// (undocumented)
(mapFn: UpdateQueryMapFn<TData, TVars, TOptions>): void;
(previousQueryResult: Unmasked<TData>, options: TOptions & UpdateQueryOptions<TVariables>): Unmasked<TData> | undefined;
}

// @public (undocumented)
interface UpdateQueryMapFn<TData = any, TVars extends OperationVariables = OperationVariables, TOptions = {}> {
interface UpdateQueryOptions<TVariables> {
complete: boolean;
// (undocumented)
(previousQueryResult: (Partial<Unmasked<TData>> & {
complete?: undefined;
}) | (Unmasked<TData> & {
complete: Symbol;
}), options: TOptions & {
variables?: TVars;
}): Unmasked<TData> | undefined;
variables?: TVariables;
}

// @public (undocumented)
Expand Down Expand Up @@ -2557,15 +2568,15 @@ interface WatchQueryOptions<TVariables extends OperationVariables = OperationVar
// src/cache/core/types/common.ts:104:3 - (ae-forgotten-export) The symbol "ToReferenceFunction" needs to be exported by the entry point index.d.ts
// src/cache/core/types/common.ts:105:3 - (ae-forgotten-export) The symbol "StorageType" needs to be exported by the entry point index.d.ts
// src/core/LocalState.ts:46:5 - (ae-forgotten-export) The symbol "FragmentMap" needs to be exported by the entry point index.d.ts
// src/core/ObservableQuery.ts:121:5 - (ae-forgotten-export) The symbol "QueryManager" needs to be exported by the entry point index.d.ts
// src/core/ObservableQuery.ts:122:5 - (ae-forgotten-export) The symbol "QueryInfo" needs to be exported by the entry point index.d.ts
// src/core/ObservableQuery.ts:118:5 - (ae-forgotten-export) The symbol "QueryManager" needs to be exported by the entry point index.d.ts
// src/core/ObservableQuery.ts:119:5 - (ae-forgotten-export) The symbol "QueryInfo" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:159:5 - (ae-forgotten-export) The symbol "MutationStoreValue" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:414:7 - (ae-forgotten-export) The symbol "UpdateQueries" needs to be exported by the entry point index.d.ts
// src/core/types.ts:175:3 - (ae-forgotten-export) The symbol "MutationQueryReducer" needs to be exported by the entry point index.d.ts
// src/core/types.ts:204:5 - (ae-forgotten-export) The symbol "Resolver" needs to be exported by the entry point index.d.ts
// src/react/hooks/useBackgroundQuery.ts:51:3 - (ae-forgotten-export) The symbol "FetchMoreFunction" needs to be exported by the entry point index.d.ts
// src/react/hooks/useBackgroundQuery.ts:75:4 - (ae-forgotten-export) The symbol "RefetchFunction" needs to be exported by the entry point index.d.ts
// src/react/hooks/useLoadableQuery.ts:117:9 - (ae-forgotten-export) The symbol "ResetFunction" needs to be exported by the entry point index.d.ts
// src/react/hooks/useLoadableQuery.ts:120:9 - (ae-forgotten-export) The symbol "ResetFunction" needs to be exported by the entry point index.d.ts

// (No @packageDocumentation comment for this package)

Expand Down
47 changes: 29 additions & 18 deletions .api-reports/api-report-react_components.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1315,7 +1315,8 @@ class ObservableQuery<TData = any, TVariables extends OperationVariables = Opera
// Warning: (ae-forgotten-export) The symbol "SubscribeToMoreOptions" needs to be exported by the entry point index.d.ts
subscribeToMore<TSubscriptionData = TData, TSubscriptionVariables extends OperationVariables = TVariables>(options: SubscribeToMoreOptions<TData, TSubscriptionVariables, TSubscriptionData, TVariables>): () => void;
// Warning: (ae-forgotten-export) The symbol "UpdateQueryMapFn" needs to be exported by the entry point index.d.ts
updateQuery(mapFn: UpdateQueryMapFn<TData, TVariables>): void;
// Warning: (ae-forgotten-export) The symbol "UpdateQueryFnOptions" needs to be exported by the entry point index.d.ts
updateQuery(mapFn: UpdateQueryMapFn<TData, TVariables>, options?: UpdateQueryFnOptions | undefined): void;
get variables(): TVariables | undefined;
}

Expand Down Expand Up @@ -1848,13 +1849,13 @@ Item
type StoreValue = number | string | string[] | Reference | Reference[] | null | undefined | void | Object;

// @public (undocumented)
interface SubscribeToMoreFunction<TData, TVars extends OperationVariables = OperationVariables> {
interface SubscribeToMoreFunction<TData, TVariables extends OperationVariables = OperationVariables> {
// (undocumented)
<TSubscriptionData = TData, TSubscriptionVariables extends OperationVariables = TVars>(options: SubscribeToMoreOptions<TData, TSubscriptionVariables, TSubscriptionData, TVars>): () => void;
<TSubscriptionData = TData, TSubscriptionVariables extends OperationVariables = TVariables>(options: SubscribeToMoreOptions<TData, TSubscriptionVariables, TSubscriptionData, TVariables>): () => void;
}

// @public (undocumented)
interface SubscribeToMoreOptions<TData = any, TSubscriptionVariables extends OperationVariables = OperationVariables, TSubscriptionData = TData, TVars extends OperationVariables = TSubscriptionVariables> {
interface SubscribeToMoreOptions<TData = any, TSubscriptionVariables extends OperationVariables = OperationVariables, TSubscriptionData = TData, TVariables extends OperationVariables = TSubscriptionVariables> {
// (undocumented)
context?: DefaultContext;
// (undocumented)
Expand All @@ -1864,13 +1865,15 @@ interface SubscribeToMoreOptions<TData = any, TSubscriptionVariables extends Ope
// Warning: (ae-forgotten-export) The symbol "SubscribeToMoreUpdateQueryFn" needs to be exported by the entry point index.d.ts
//
// (undocumented)
updateQuery?: SubscribeToMoreUpdateQueryFn<TData, TVars, TSubscriptionVariables, TSubscriptionData>;
updateQuery?: SubscribeToMoreUpdateQueryFn<TData, TVariables, TSubscriptionVariables, TSubscriptionData>;
// (undocumented)
updateQueryOptions?: UpdateQueryFnOptions;
// (undocumented)
variables?: TSubscriptionVariables;
}

// @public (undocumented)
type SubscribeToMoreUpdateQueryFn<TData = any, TVars extends OperationVariables = OperationVariables, TSubscriptionVariables extends OperationVariables = TVars, TSubscriptionData = TData> = UpdateQueryMapFn<TData, TVars, {
type SubscribeToMoreUpdateQueryFn<TData = any, TVariables extends OperationVariables = OperationVariables, TSubscriptionVariables extends OperationVariables = TVariables, TSubscriptionData = TData> = UpdateQueryMapFn<TData, TVariables, {
subscriptionData: {
data: Unmasked<TSubscriptionData>;
};
Expand Down Expand Up @@ -1981,21 +1984,29 @@ type UnwrapFragmentRefs<TData> = true extends IsAny<TData> ? TData : TData exten
type UpdateQueries<TData> = MutationOptions<TData, any, any>["updateQueries"];

// @public (undocumented)
interface UpdateQueryFn<TData, TVars extends OperationVariables, TOptions = {}> {
interface UpdateQueryFn<TData, TVariables extends OperationVariables, TOptions = {}> {
// (undocumented)
(mapFn: UpdateQueryMapFn<TData, TVariables, TOptions>, options?: UpdateQueryFnOptions): void;
}

// @public (undocumented)
interface UpdateQueryFnOptions {
updateQueryOnPartialPreviousResult?: boolean;
}

// @public (undocumented)
interface UpdateQueryMapFn<TData = any, TVariables extends OperationVariables = OperationVariables, TOptions = {}> {
// Warning: (ae-forgotten-export) The symbol "UpdateQueryOptions" needs to be exported by the entry point index.d.ts
//
// (undocumented)
(mapFn: UpdateQueryMapFn<TData, TVars, TOptions>): void;
(previousQueryResult: Unmasked<TData>, options: TOptions & UpdateQueryOptions<TVariables>): Unmasked<TData> | undefined;
}

// @public (undocumented)
interface UpdateQueryMapFn<TData = any, TVars extends OperationVariables = OperationVariables, TOptions = {}> {
interface UpdateQueryOptions<TVariables> {
complete: boolean;
// (undocumented)
(previousQueryResult: (Partial<Unmasked<TData>> & {
complete?: undefined;
}) | (Unmasked<TData> & {
complete: Symbol;
}), options: TOptions & {
variables?: TVars;
}): Unmasked<TData> | undefined;
variables?: TVariables;
}

// @public (undocumented)
Expand Down Expand Up @@ -2042,8 +2053,8 @@ interface WatchQueryOptions<TVariables extends OperationVariables = OperationVar
// src/cache/core/types/common.ts:104:3 - (ae-forgotten-export) The symbol "ToReferenceFunction" needs to be exported by the entry point index.d.ts
// src/cache/core/types/common.ts:105:3 - (ae-forgotten-export) The symbol "StorageType" needs to be exported by the entry point index.d.ts
// src/core/LocalState.ts:46:5 - (ae-forgotten-export) The symbol "FragmentMap" needs to be exported by the entry point index.d.ts
// src/core/ObservableQuery.ts:121:5 - (ae-forgotten-export) The symbol "QueryManager" needs to be exported by the entry point index.d.ts
// src/core/ObservableQuery.ts:122:5 - (ae-forgotten-export) The symbol "QueryInfo" needs to be exported by the entry point index.d.ts
// src/core/ObservableQuery.ts:118:5 - (ae-forgotten-export) The symbol "QueryManager" needs to be exported by the entry point index.d.ts
// src/core/ObservableQuery.ts:119:5 - (ae-forgotten-export) The symbol "QueryInfo" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:159:5 - (ae-forgotten-export) The symbol "MutationStoreValue" needs to be exported by the entry point index.d.ts
// src/core/QueryManager.ts:414:7 - (ae-forgotten-export) The symbol "UpdateQueries" needs to be exported by the entry point index.d.ts
// src/core/types.ts:175:3 - (ae-forgotten-export) The symbol "MutationQueryReducer" needs to be exported by the entry point index.d.ts
Expand Down
Loading

0 comments on commit 82d4f65

Please sign in to comment.