Skip to content

Commit

Permalink
Clean up Prettier, Size-limit, and Api-Extractor
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas authored and github-actions[bot] committed Jul 8, 2024
1 parent 708b37e commit 5e6a6b4
Show file tree
Hide file tree
Showing 14 changed files with 54 additions and 15 deletions.
5 changes: 4 additions & 1 deletion .api-reports/api-report-core.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,10 @@ export interface ApolloClientOptions<TCacheShape> {
export class ApolloError extends Error {
// Warning: (ae-forgotten-export) The symbol "ApolloErrorOptions" needs to be exported by the entry point index.d.ts
constructor({ graphQLErrors, protocolErrors, clientErrors, networkError, errorMessage, extraInfo, }: ApolloErrorOptions);
cause: Error | null;
cause: ({
message: string;
extensions?: GraphQLErrorExtensions[];
} & Partial<Error>) | null;
// (undocumented)
clientErrors: ReadonlyArray<Error>;
// (undocumented)
Expand Down
5 changes: 4 additions & 1 deletion .api-reports/api-report-errors.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ import type { GraphQLErrorExtensions } from 'graphql';
// @public (undocumented)
export class ApolloError extends Error {
constructor({ graphQLErrors, protocolErrors, clientErrors, networkError, errorMessage, extraInfo, }: ApolloErrorOptions);
cause: Error | null;
cause: ({
message: string;
extensions?: GraphQLErrorExtensions[];
} & Partial<Error>) | null;
// (undocumented)
clientErrors: ReadonlyArray<Error>;
// (undocumented)
Expand Down
5 changes: 4 additions & 1 deletion .api-reports/api-report-react.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,10 @@ export interface ApolloContextValue {
class ApolloError extends Error {
// Warning: (ae-forgotten-export) The symbol "ApolloErrorOptions" needs to be exported by the entry point index.d.ts
constructor({ graphQLErrors, protocolErrors, clientErrors, networkError, errorMessage, extraInfo, }: ApolloErrorOptions);
cause: Error | null;
cause: ({
message: string;
extensions?: GraphQLErrorExtensions[];
} & Partial<Error>) | null;
// (undocumented)
clientErrors: ReadonlyArray<Error>;
// (undocumented)
Expand Down
5 changes: 4 additions & 1 deletion .api-reports/api-report-react_components.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,10 @@ interface ApolloClientOptions<TCacheShape> {
class ApolloError extends Error {
// Warning: (ae-forgotten-export) The symbol "ApolloErrorOptions" needs to be exported by the entry point index.d.ts
constructor({ graphQLErrors, protocolErrors, clientErrors, networkError, errorMessage, extraInfo, }: ApolloErrorOptions);
cause: Error | null;
cause: ({
message: string;
extensions?: GraphQLErrorExtensions[];
} & Partial<Error>) | null;
// (undocumented)
clientErrors: ReadonlyArray<Error>;
// (undocumented)
Expand Down
5 changes: 4 additions & 1 deletion .api-reports/api-report-react_context.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,10 @@ export interface ApolloContextValue {
class ApolloError extends Error {
// Warning: (ae-forgotten-export) The symbol "ApolloErrorOptions" needs to be exported by the entry point index.d.ts
constructor({ graphQLErrors, protocolErrors, clientErrors, networkError, errorMessage, extraInfo, }: ApolloErrorOptions);
cause: Error | null;
cause: ({
message: string;
extensions?: GraphQLErrorExtensions[];
} & Partial<Error>) | null;
// (undocumented)
clientErrors: ReadonlyArray<Error>;
// (undocumented)
Expand Down
5 changes: 4 additions & 1 deletion .api-reports/api-report-react_hoc.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,10 @@ interface ApolloClientOptions<TCacheShape> {
class ApolloError extends Error {
// Warning: (ae-forgotten-export) The symbol "ApolloErrorOptions" needs to be exported by the entry point index.d.ts
constructor({ graphQLErrors, protocolErrors, clientErrors, networkError, errorMessage, extraInfo, }: ApolloErrorOptions);
cause: Error | null;
cause: ({
message: string;
extensions?: GraphQLErrorExtensions[];
} & Partial<Error>) | null;
// (undocumented)
clientErrors: ReadonlyArray<Error>;
// (undocumented)
Expand Down
5 changes: 4 additions & 1 deletion .api-reports/api-report-react_hooks.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,10 @@ interface ApolloClientOptions<TCacheShape> {
class ApolloError extends Error {
// Warning: (ae-forgotten-export) The symbol "ApolloErrorOptions" needs to be exported by the entry point index.d.ts
constructor({ graphQLErrors, protocolErrors, clientErrors, networkError, errorMessage, extraInfo, }: ApolloErrorOptions);
cause: Error | null;
cause: ({
message: string;
extensions?: GraphQLErrorExtensions[];
} & Partial<Error>) | null;
// (undocumented)
clientErrors: ReadonlyArray<Error>;
// (undocumented)
Expand Down
5 changes: 4 additions & 1 deletion .api-reports/api-report-react_internal.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,10 @@ interface ApolloClientOptions<TCacheShape> {
class ApolloError extends Error {
// Warning: (ae-forgotten-export) The symbol "ApolloErrorOptions" needs to be exported by the entry point index.d.ts
constructor({ graphQLErrors, protocolErrors, clientErrors, networkError, errorMessage, extraInfo, }: ApolloErrorOptions);
cause: Error | null;
cause: ({
message: string;
extensions?: GraphQLErrorExtensions[];
} & Partial<Error>) | null;
// (undocumented)
clientErrors: ReadonlyArray<Error>;
// (undocumented)
Expand Down
5 changes: 4 additions & 1 deletion .api-reports/api-report-react_ssr.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,10 @@ interface ApolloClientOptions<TCacheShape> {
class ApolloError extends Error {
// Warning: (ae-forgotten-export) The symbol "ApolloErrorOptions" needs to be exported by the entry point index.d.ts
constructor({ graphQLErrors, protocolErrors, clientErrors, networkError, errorMessage, extraInfo, }: ApolloErrorOptions);
cause: Error | null;
cause: ({
message: string;
extensions?: GraphQLErrorExtensions[];
} & Partial<Error>) | null;
// (undocumented)
clientErrors: ReadonlyArray<Error>;
// (undocumented)
Expand Down
5 changes: 4 additions & 1 deletion .api-reports/api-report-testing.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,10 @@ interface ApolloClientOptions<TCacheShape> {
class ApolloError extends Error {
// Warning: (ae-forgotten-export) The symbol "ApolloErrorOptions" needs to be exported by the entry point index.d.ts
constructor({ graphQLErrors, protocolErrors, clientErrors, networkError, errorMessage, extraInfo, }: ApolloErrorOptions);
cause: Error | null;
cause: ({
message: string;
extensions?: GraphQLErrorExtensions[];
} & Partial<Error>) | null;
// (undocumented)
clientErrors: ReadonlyArray<Error>;
// (undocumented)
Expand Down
5 changes: 4 additions & 1 deletion .api-reports/api-report-testing_core.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,10 @@ interface ApolloClientOptions<TCacheShape> {
class ApolloError extends Error {
// Warning: (ae-forgotten-export) The symbol "ApolloErrorOptions" needs to be exported by the entry point index.d.ts
constructor({ graphQLErrors, protocolErrors, clientErrors, networkError, errorMessage, extraInfo, }: ApolloErrorOptions);
cause: Error | null;
cause: ({
message: string;
extensions?: GraphQLErrorExtensions[];
} & Partial<Error>) | null;
// (undocumented)
clientErrors: ReadonlyArray<Error>;
// (undocumented)
Expand Down
5 changes: 4 additions & 1 deletion .api-reports/api-report-utilities.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,10 @@ interface ApolloClientOptions<TCacheShape> {
class ApolloError extends Error {
// Warning: (ae-forgotten-export) The symbol "ApolloErrorOptions" needs to be exported by the entry point index.d.ts
constructor({ graphQLErrors, protocolErrors, clientErrors, networkError, errorMessage, extraInfo, }: ApolloErrorOptions);
cause: Error | null;
cause: ({
message: string;
extensions?: GraphQLErrorExtensions[];
} & Partial<Error>) | null;
// (undocumented)
clientErrors: ReadonlyArray<Error>;
// (undocumented)
Expand Down
5 changes: 4 additions & 1 deletion .api-reports/api-report.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,10 @@ export interface ApolloContextValue {
export class ApolloError extends Error {
// Warning: (ae-forgotten-export) The symbol "ApolloErrorOptions" needs to be exported by the entry point index.d.ts
constructor({ graphQLErrors, protocolErrors, clientErrors, networkError, errorMessage, extraInfo, }: ApolloErrorOptions);
cause: Error | null;
cause: ({
message: string;
extensions?: GraphQLErrorExtensions[];
} & Partial<Error>) | null;
// (undocumented)
clientErrors: ReadonlyArray<Error>;
// (undocumented)
Expand Down
4 changes: 2 additions & 2 deletions .size-limits.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"dist/apollo-client.min.cjs": 39873,
"import { ApolloClient, InMemoryCache, HttpLink } from \"dist/index.js\" (production)": 32865
"dist/apollo-client.min.cjs": 39906,
"import { ApolloClient, InMemoryCache, HttpLink } from \"dist/index.js\" (production)": 32896
}

0 comments on commit 5e6a6b4

Please sign in to comment.