From 99b4140d3993d91f3efb84c557e9170df5014188 Mon Sep 17 00:00:00 2001 From: Tai Sakuma Date: Mon, 12 Feb 2024 15:54:03 -0500 Subject: [PATCH] Run GraphQL Code Generator --- src/graphql/codegen/generated.ts | 113 ++++++++++++++++++++----------- 1 file changed, 73 insertions(+), 40 deletions(-) diff --git a/src/graphql/codegen/generated.ts b/src/graphql/codegen/generated.ts index daf250e..1457728 100644 --- a/src/graphql/codegen/generated.ts +++ b/src/graphql/codegen/generated.ts @@ -18,44 +18,9 @@ export type Scalars = { DateTime: { input: any; output: any; } }; -export type History = { - __typename?: 'History'; - prompts: PromptHistoryConnection; - runs: RunHistoryConnection; - stdouts: StdoutHistoryConnection; - traces: TraceHistoryConnection; -}; - - -export type HistoryPromptsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; -}; - - -export type HistoryRunsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; -}; - - -export type HistoryStdoutsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; -}; - - -export type HistoryTracesArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; +export type AlertRdb = { + __typename?: 'AlertRDB'; + version: Scalars['String']['output']; }; export type Mutation = { @@ -63,6 +28,7 @@ export type Mutation = { exec: Scalars['Boolean']['output']; interrupt: Scalars['Boolean']['output']; kill: Scalars['Boolean']['output']; + rdb: MutationRdb; reset: Scalars['Boolean']['output']; runAndContinue: Scalars['Boolean']['output']; schedule: MutationSchedule; @@ -88,6 +54,16 @@ export type MutationAutoMode = { turnOn: Scalars['Boolean']['output']; }; +export type MutationRdb = { + __typename?: 'MutationRDB'; + deleteRuns: Array; +}; + + +export type MutationRdbDeleteRunsArgs = { + ids: Array; +}; + export type MutationSchedule = { __typename?: 'MutationSchedule'; autoMode: MutationAutoMode; @@ -159,10 +135,13 @@ export type PromptingData = { export type Query = { __typename?: 'Query'; + alert: AlertRdb; continuousEnabled: Scalars['Boolean']['output']; + dev: QueryDev; exception?: Maybe; hello: Scalars['String']['output']; - history: History; + history: QueryRdb; + rdb: QueryRdb; runNo: Scalars['Int']['output']; schedule: QuerySchedule; settings: Scalars['String']['output']; @@ -188,6 +167,60 @@ export type QueryAutoMode = { state: Scalars['String']['output']; }; +export type QueryDev = { + __typename?: 'QueryDev'; + headers: Scalars['String']['output']; +}; + +export type QueryRdb = { + __typename?: 'QueryRDB'; + migrationVersion?: Maybe; + prompts: PromptHistoryConnection; + run?: Maybe; + runs: RunHistoryConnection; + stdouts: StdoutHistoryConnection; + traces: TraceHistoryConnection; + version: Scalars['String']['output']; +}; + + +export type QueryRdbPromptsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + + +export type QueryRdbRunArgs = { + id?: InputMaybe; + runNo?: InputMaybe; +}; + + +export type QueryRdbRunsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + + +export type QueryRdbStdoutsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + + +export type QueryRdbTracesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + export type QuerySchedule = { __typename?: 'QuerySchedule'; autoMode: QueryAutoMode; @@ -368,7 +401,7 @@ export type QRunNoQuery = { __typename?: 'Query', runNo: number }; export type RunsQueryVariables = Exact<{ [key: string]: never; }>; -export type RunsQuery = { __typename?: 'Query', history: { __typename?: 'History', runs: { __typename?: 'RunHistoryConnection', edges: Array<{ __typename?: 'RunHistoryEdge', node: { __typename?: 'RunHistory', runNo: number, state?: string | null, startedAt?: any | null, endedAt?: any | null, script?: string | null, exception?: string | null } }> } } }; +export type RunsQuery = { __typename?: 'Query', history: { __typename?: 'QueryRDB', runs: { __typename?: 'RunHistoryConnection', edges: Array<{ __typename?: 'RunHistoryEdge', node: { __typename?: 'RunHistory', runNo: number, state?: string | null, startedAt?: any | null, endedAt?: any | null, script?: string | null, exception?: string | null } }> } } }; export type QScheduleAutoModeStateQueryVariables = Exact<{ [key: string]: never; }>;