Skip to content

Commit 0175aef

Browse files
committed
Update api report
1 parent 054f26d commit 0175aef

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

.api-reports/api-report-incremental.api.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ namespace Defer20220824Handler {
6767

6868
// @public
6969
class Defer20220824Handler implements Incremental.Handler<Defer20220824Handler.Chunk<any>> {
70-
// (undocumented)
70+
// @internal @deprecated (undocumented)
7171
extractErrors(result: ApolloLink.Result<any>): GraphQLFormattedError[] | undefined;
72-
// (undocumented)
72+
// @internal @deprecated (undocumented)
7373
isIncrementalResult(result: Record<string, any>): result is Defer20220824Handler.SubsequentResult | Defer20220824Handler.InitialResult;
74-
// (undocumented)
74+
// @internal @deprecated (undocumented)
7575
prepareRequest(request: ApolloLink.Request): ApolloLink.Request;
7676
// Warning: (ae-forgotten-export) The symbol "DeferRequest" needs to be exported by the entry point index.d.ts
7777
//
78-
// (undocumented)
78+
// @internal @deprecated (undocumented)
7979
startRequest<TData extends Record<string, unknown>>(_: {
8080
query: DocumentNode;
8181
}): DeferRequest<TData>;
@@ -85,9 +85,9 @@ export { Defer20220824Handler as GraphQL17Alpha2Handler }
8585

8686
// @public (undocumented)
8787
class DeferRequest<TData extends Record<string, unknown>> implements Incremental.IncrementalRequest<Defer20220824Handler.Chunk<TData>, TData> {
88-
// (undocumented)
89-
handle(cacheData: TData | DeepPartial<TData> | null | undefined, chunk: Defer20220824Handler.Chunk<TData>): FormattedExecutionResult<TData>;
90-
// (undocumented)
88+
// @internal @deprecated (undocumented)
89+
handle(chunk: Defer20220824Handler.Chunk<TData>, cacheData?: TData | DeepPartial<TData> | null | undefined): FormattedExecutionResult<TData>;
90+
// @internal @deprecated (undocumented)
9191
hasNext: boolean;
9292
}
9393

@@ -191,22 +191,22 @@ export class GraphQL17Alpha9Handler implements Incremental.Handler<GraphQL17Alph
191191
export namespace Incremental {
192192
// @internal @deprecated (undocumented)
193193
export interface Handler<Chunk extends Record<string, unknown> = Record<string, unknown>> {
194-
// (undocumented)
194+
// @deprecated (undocumented)
195195
extractErrors: (result: ApolloLink.Result<any>) => readonly GraphQLFormattedError[] | undefined | void;
196-
// (undocumented)
196+
// @deprecated (undocumented)
197197
isIncrementalResult: (result: ApolloLink.Result<any>) => result is Chunk;
198-
// (undocumented)
198+
// @deprecated (undocumented)
199199
prepareRequest: (request: ApolloLink.Request) => ApolloLink.Request;
200-
// (undocumented)
200+
// @deprecated (undocumented)
201201
startRequest: <TData extends Record<string, unknown>>(request: {
202202
query: DocumentNode;
203203
}) => IncrementalRequest<Chunk, TData>;
204204
}
205205
// (undocumented)
206206
export interface IncrementalRequest<Chunk extends Record<string, unknown>, TData> {
207-
// (undocumented)
208-
handle: (cacheData: TData | DeepPartial<TData> | undefined | null, chunk: Chunk) => FormattedExecutionResult<TData>;
209-
// (undocumented)
207+
// @internal @deprecated (undocumented)
208+
handle: (chunk: Chunk, cacheData: TData | DeepPartial<TData> | undefined | null) => FormattedExecutionResult<TData>;
209+
// @internal @deprecated (undocumented)
210210
hasNext: boolean;
211211
}
212212
// (undocumented)
@@ -215,9 +215,9 @@ export namespace Incremental {
215215

216216
// @public (undocumented)
217217
class IncrementalRequest<TData> implements Incremental.IncrementalRequest<GraphQL17Alpha9Handler.Chunk<TData>, TData> {
218-
// (undocumented)
219-
handle(cacheData: TData | DeepPartial<TData> | null | undefined, chunk: GraphQL17Alpha9Handler.Chunk<TData>): FormattedExecutionResult<TData>;
220-
// (undocumented)
218+
// @internal @deprecated (undocumented)
219+
handle(chunk: GraphQL17Alpha9Handler.Chunk<TData>, cacheData?: TData | DeepPartial<TData> | null | undefined): FormattedExecutionResult<TData>;
220+
// @internal @deprecated (undocumented)
221221
hasNext: boolean;
222222
}
223223

.api-reports/api-report.api.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1288,24 +1288,24 @@ const _ignoreModifier: unique symbol;
12881288
namespace Incremental {
12891289
// @internal @deprecated (undocumented)
12901290
interface Handler<Chunk extends Record<string, unknown> = Record<string, unknown>> {
1291-
// (undocumented)
1291+
// @deprecated (undocumented)
12921292
extractErrors: (result: ApolloLink.Result<any>) => readonly GraphQLFormattedError[] | undefined | void;
1293-
// (undocumented)
1293+
// @deprecated (undocumented)
12941294
isIncrementalResult: (result: ApolloLink.Result<any>) => result is Chunk;
1295-
// (undocumented)
1295+
// @deprecated (undocumented)
12961296
prepareRequest: (request: ApolloLink.Request) => ApolloLink.Request;
12971297
// Warning: (ae-forgotten-export) The symbol "Incremental" needs to be exported by the entry point index.d.ts
12981298
//
1299-
// (undocumented)
1299+
// @deprecated (undocumented)
13001300
startRequest: <TData extends Record<string, unknown>>(request: {
13011301
query: DocumentNode;
13021302
}) => IncrementalRequest<Chunk, TData>;
13031303
}
13041304
// (undocumented)
13051305
interface IncrementalRequest<Chunk extends Record<string, unknown>, TData> {
1306-
// (undocumented)
1307-
handle: (cacheData: TData | DeepPartial<TData> | undefined | null, chunk: Chunk) => FormattedExecutionResult<TData>;
1308-
// (undocumented)
1306+
// @internal @deprecated (undocumented)
1307+
handle: (chunk: Chunk, cacheData: TData | DeepPartial<TData> | undefined | null) => FormattedExecutionResult<TData>;
1308+
// @internal @deprecated (undocumented)
13091309
hasNext: boolean;
13101310
}
13111311
// (undocumented)

0 commit comments

Comments
 (0)