Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jun 12, 2024
2 parents ff63c4f + 1aca223 commit 76eeb3e
Show file tree
Hide file tree
Showing 401 changed files with 45,615 additions and 17,672 deletions.
173 changes: 123 additions & 50 deletions .api-reports/api-report-cache.md

Large diffs are not rendered by default.

498 changes: 296 additions & 202 deletions .api-reports/api-report-core.md

Large diffs are not rendered by default.

12 changes: 10 additions & 2 deletions .api-reports/api-report-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,25 @@ interface ErrorCodes {
};
}

// @public
export type ErrorMessageHandler = {
(message: string | number, args: string[]): string | undefined;
};

// @public (undocumented)
export function loadDevMessages(): void;

// Warning: (ae-forgotten-export) The symbol "ErrorCodes" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export function loadErrorMessageHandler(...errorCodes: ErrorCodes[]): ((message: string | number, args: unknown[]) => string | undefined) & ErrorCodes;
// @public
export function loadErrorMessageHandler(...errorCodes: ErrorCodes[]): ErrorMessageHandler & ErrorCodes;

// @public (undocumented)
export function loadErrorMessages(): void;

// @public
export function setErrorMessageHandler(handler: ErrorMessageHandler): void;

// (No @packageDocumentation comment for this package)

```
38 changes: 15 additions & 23 deletions .api-reports/api-report-link_batch-http.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import type { ExecutionResult } from 'graphql';
import type { GraphQLError } from 'graphql';
import { Observable } from 'zen-observable-ts';
import type { Observer } from 'zen-observable-ts';
import { print as print_3 } from 'graphql';

// @public (undocumented)
class ApolloLink {
Expand All @@ -30,12 +29,18 @@ class ApolloLink {
//
// (undocumented)
static from(links: (ApolloLink | RequestHandler)[]): ApolloLink;
// @internal
getMemoryInternals?: () => unknown;
// @internal
readonly left?: ApolloLink;
// (undocumented)
protected onError(error: any, observer?: Observer<FetchResult>): false | void;
// Warning: (ae-forgotten-export) The symbol "NextLink" needs to be exported by the entry point index.d.ts
//
// (undocumented)
request(operation: Operation, forward?: NextLink): Observable<FetchResult> | null;
// @internal
readonly right?: ApolloLink;
// (undocumented)
setOnError(fn: ApolloLink["onError"]): this;
// Warning: (ae-forgotten-export) The symbol "Operation" needs to be exported by the entry point index.d.ts
Expand All @@ -60,7 +65,7 @@ export namespace BatchHttpLink {

// Warning: (ae-forgotten-export) The symbol "ApolloLink" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
// @public
export class BatchHttpLink extends ApolloLink {
constructor(fetchParams?: BatchHttpLink.Options);
// (undocumented)
Expand All @@ -71,17 +76,11 @@ export class BatchHttpLink extends ApolloLink {
namespace BatchLink {
// (undocumented)
interface Options {
// (undocumented)
batchDebounce?: boolean;
// Warning: (ae-forgotten-export) The symbol "BatchHandler" needs to be exported by the entry point index.d.ts
//
// (undocumented)
batchHandler?: BatchHandler;
// (undocumented)
batchInterval?: number;
// (undocumented)
batchKey?: (operation: Operation) => string;
// (undocumented)
batchMax?: number;
}
}
Expand Down Expand Up @@ -161,29 +160,17 @@ interface GraphQLRequest<TVariables = Record<string, any>> {

// @public (undocumented)
interface HttpOptions {
// (undocumented)
credentials?: string;
// (undocumented)
fetch?: WindowOrWorkerGlobalScope["fetch"];
// (undocumented)
fetch?: typeof fetch;
fetchOptions?: any;
// (undocumented)
headers?: Record<string, string>;
// (undocumented)
includeExtensions?: boolean;
// (undocumented)
includeUnusedVariables?: boolean;
// (undocumented)
preserveHeaderCase?: boolean;
// Warning: (ae-forgotten-export) The symbol "Printer" needs to be exported by the entry point index.d.ts
//
// (undocumented)
print?: Printer;
// Warning: (ae-forgotten-export) The symbol "UriFunction" needs to be exported by the entry point index.d.ts
//
// (undocumented)
uri?: string | UriFunction;
// (undocumented)
useGETForQueries?: boolean;
}

Expand Down Expand Up @@ -217,7 +204,10 @@ interface Operation {
// (undocumented)
query: DocumentNode;
// (undocumented)
setContext: (context: DefaultContext) => DefaultContext;
setContext: {
(context: Partial<DefaultContext>): void;
(updateContext: (previousContext: DefaultContext) => Partial<DefaultContext>): void;
};
// (undocumented)
variables: Record<string, any>;
}
Expand All @@ -226,7 +216,9 @@ interface Operation {
type Path = ReadonlyArray<string | number>;

// @public (undocumented)
const print_2: typeof print_3;
const print_2: ((ast: ASTNode) => string) & {
reset(): void;
};

// @public (undocumented)
interface Printer {
Expand Down
16 changes: 10 additions & 6 deletions .api-reports/api-report-link_batch.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,18 @@ class ApolloLink {
//
// (undocumented)
static from(links: (ApolloLink | RequestHandler)[]): ApolloLink;
// @internal
getMemoryInternals?: () => unknown;
// @internal
readonly left?: ApolloLink;
// (undocumented)
protected onError(error: any, observer?: Observer<FetchResult>): false | void;
// Warning: (ae-forgotten-export) The symbol "NextLink" needs to be exported by the entry point index.d.ts
//
// (undocumented)
request(operation: Operation, forward?: NextLink): Observable<FetchResult> | null;
// @internal
readonly right?: ApolloLink;
// (undocumented)
setOnError(fn: ApolloLink["onError"]): this;
// Warning: (ae-forgotten-export) The symbol "Operation" needs to be exported by the entry point index.d.ts
Expand All @@ -59,15 +65,10 @@ export type BatchHandler = (operations: Operation[], forward?: (NextLink | undef
export namespace BatchLink {
// (undocumented)
export interface Options {
// (undocumented)
batchDebounce?: boolean;
// (undocumented)
batchHandler?: BatchHandler;
// (undocumented)
batchInterval?: number;
// (undocumented)
batchKey?: (operation: Operation) => string;
// (undocumented)
batchMax?: number;
}
}
Expand Down Expand Up @@ -177,7 +178,10 @@ interface Operation {
// (undocumented)
query: DocumentNode;
// (undocumented)
setContext: (context: DefaultContext) => DefaultContext;
setContext: {
(context: Partial<DefaultContext>): void;
(updateContext: (previousContext: DefaultContext) => Partial<DefaultContext>): void;
};
// (undocumented)
variables: Record<string, any>;
}
Expand Down
11 changes: 10 additions & 1 deletion .api-reports/api-report-link_context.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,18 @@ class ApolloLink {
//
// (undocumented)
static from(links: (ApolloLink | RequestHandler)[]): ApolloLink;
// @internal
getMemoryInternals?: () => unknown;
// @internal
readonly left?: ApolloLink;
// (undocumented)
protected onError(error: any, observer?: Observer<FetchResult>): false | void;
// Warning: (ae-forgotten-export) The symbol "NextLink" needs to be exported by the entry point index.d.ts
//
// (undocumented)
request(operation: Operation, forward?: NextLink): Observable<FetchResult> | null;
// @internal
readonly right?: ApolloLink;
// (undocumented)
setOnError(fn: ApolloLink["onError"]): this;
// Warning: (ae-forgotten-export) The symbol "Operation" needs to be exported by the entry point index.d.ts
Expand Down Expand Up @@ -143,7 +149,10 @@ interface Operation {
// (undocumented)
query: DocumentNode;
// (undocumented)
setContext: (context: DefaultContext) => DefaultContext;
setContext: {
(context: Partial<DefaultContext>): void;
(updateContext: (previousContext: DefaultContext) => Partial<DefaultContext>): void;
};
// (undocumented)
variables: Record<string, any>;
}
Expand Down
11 changes: 10 additions & 1 deletion .api-reports/api-report-link_core.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,16 @@ export class ApolloLink {
static execute(link: ApolloLink, operation: GraphQLRequest): Observable<FetchResult>;
// (undocumented)
static from(links: (ApolloLink | RequestHandler)[]): ApolloLink;
// @internal
getMemoryInternals?: () => unknown;
// @internal
readonly left?: ApolloLink;
// (undocumented)
protected onError(error: any, observer?: Observer<FetchResult>): false | void;
// (undocumented)
request(operation: Operation, forward?: NextLink): Observable<FetchResult> | null;
// @internal
readonly right?: ApolloLink;
// (undocumented)
setOnError(fn: ApolloLink["onError"]): this;
// (undocumented)
Expand Down Expand Up @@ -143,7 +149,10 @@ export interface Operation {
// (undocumented)
query: DocumentNode;
// (undocumented)
setContext: (context: DefaultContext) => DefaultContext;
setContext: {
(context: Partial<DefaultContext>): void;
(updateContext: (previousContext: DefaultContext) => Partial<DefaultContext>): void;
};
// (undocumented)
variables: Record<string, any>;
}
Expand Down
13 changes: 10 additions & 3 deletions .api-reports/api-report-link_error.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,18 @@ class ApolloLink {
//
// (undocumented)
static from(links: (ApolloLink | RequestHandler)[]): ApolloLink;
// @internal
getMemoryInternals?: () => unknown;
// @internal
readonly left?: ApolloLink;
// (undocumented)
protected onError(error: any, observer?: Observer<FetchResult>): false | void;
// Warning: (ae-forgotten-export) The symbol "NextLink" needs to be exported by the entry point index.d.ts
//
// (undocumented)
request(operation: Operation, forward?: NextLink): Observable<FetchResult> | null;
// @internal
readonly right?: ApolloLink;
// (undocumented)
setOnError(fn: ApolloLink["onError"]): this;
// Warning: (ae-forgotten-export) The symbol "Operation" needs to be exported by the entry point index.d.ts
Expand All @@ -48,15 +54,13 @@ class ApolloLink {
interface DefaultContext extends Record<string, any> {
}

// (undocumented)
export interface ErrorHandler {
// (undocumented)
(error: ErrorResponse): Observable<FetchResult> | void;
}

// @public (undocumented)
export namespace ErrorLink {
// (undocumented)
export interface ErrorHandler {
// (undocumented)
(error: ErrorResponse): Observable<FetchResult> | void;
Expand Down Expand Up @@ -194,7 +198,10 @@ interface Operation {
// (undocumented)
query: DocumentNode;
// (undocumented)
setContext: (context: DefaultContext) => DefaultContext;
setContext: {
(context: Partial<DefaultContext>): void;
(updateContext: (previousContext: DefaultContext) => Partial<DefaultContext>): void;
};
// (undocumented)
variables: Record<string, any>;
}
Expand Down
Loading

0 comments on commit 76eeb3e

Please sign in to comment.