From 9424661fbb939a96265dd88beaef70c39fe376d6 Mon Sep 17 00:00:00 2001 From: Trevor Scheer Date: Fri, 23 Feb 2024 14:12:20 -0800 Subject: [PATCH] update types --- gateway-js/src/__generated__/graphqlTypes.ts | 62 -------------------- 1 file changed, 62 deletions(-) diff --git a/gateway-js/src/__generated__/graphqlTypes.ts b/gateway-js/src/__generated__/graphqlTypes.ts index 6999d89a2..b6055a227 100644 --- a/gateway-js/src/__generated__/graphqlTypes.ts +++ b/gateway-js/src/__generated__/graphqlTypes.ts @@ -10,36 +10,9 @@ export type Scalars = { Boolean: boolean; Int: number; Float: number; - /** ISO 8601, extended format with nanoseconds, Zulu (or "[+-]seconds" as a string or number relative to now) */ Timestamp: any; }; -export type ApiMonitoringReport = { - endedAt: Scalars['Timestamp']; - error: Error; - request: Request; - response?: InputMaybe; - startedAt: Scalars['Timestamp']; - /** Tags can include things like version and package name */ - tags?: InputMaybe>; -}; - -/** Input type for providing error details in field arguments. */ -export type Error = { - /** The error code. */ - code: ErrorCode; - /** The error message. */ - message?: InputMaybe; -}; - -export enum ErrorCode { - ConnectionFailed = 'CONNECTION_FAILED', - InvalidBody = 'INVALID_BODY', - Other = 'OTHER', - Timeout = 'TIMEOUT', - UnexpectedResponse = 'UNEXPECTED_RESPONSE' -} - export type FetchError = { __typename?: 'FetchError'; code: FetchErrorCode; @@ -61,11 +34,6 @@ export enum FetchErrorCode { UnknownRef = 'UNKNOWN_REF' } -export type HttpHeader = { - name: Scalars['String']; - value?: InputMaybe; -}; - export type Message = { __typename?: 'Message'; body: Scalars['String']; @@ -78,16 +46,6 @@ export enum MessageLevel { Warn = 'WARN' } -export type Mutation = { - __typename?: 'Mutation'; - reportError: Scalars['Boolean']; -}; - - -export type MutationReportErrorArgs = { - report?: InputMaybe; -}; - /** A chunk of persisted queries */ export type PersistedQueriesChunk = { __typename?: 'PersistedQueriesChunk'; @@ -111,7 +69,6 @@ export type PersistedQueriesResult = { export type Query = { __typename?: 'Query'; - _empty?: Maybe; /** Fetch the persisted queries for a router. */ persistedQueries: PersistedQueriesResponse; /** Fetch the configuration for a router. */ @@ -141,18 +98,6 @@ export type QueryRouterEntitlementsArgs = { ref: Scalars['String']; }; -export type Request = { - body?: InputMaybe; - headers?: InputMaybe>; - url: Scalars['String']; -}; - -export type Response = { - body?: InputMaybe; - headers?: InputMaybe>; - httpStatusCode: Scalars['Int']; -}; - export type RouterConfigResponse = FetchError | RouterConfigResult | Unchanged; export type RouterConfigResult = { @@ -214,10 +159,3 @@ export type SupergraphSdlQueryVariables = Exact<{ export type SupergraphSdlQuery = { __typename?: 'Query', routerConfig: { __typename: 'FetchError', code: FetchErrorCode, message: string } | { __typename: 'RouterConfigResult', id: string, minDelaySeconds: number, supergraphSdl: string } | { __typename: 'Unchanged' } }; - -export type OobReportMutationVariables = Exact<{ - input?: InputMaybe; -}>; - - -export type OobReportMutation = { __typename?: 'Mutation', reportError: boolean };