import { GraphQLResolveInfo } from 'graphql'; import { FacadeStatusContext } from '../interfaces.js'; export type Maybe = T | null | undefined; export type InputMaybe = T | null | undefined; export type Exact = { [K in keyof T]: T[K]; }; export type MakeOptional = Omit & { [SubKey in K]?: Maybe; }; export type MakeMaybe = Omit & { [SubKey in K]: Maybe; }; export type MakeEmpty = { [_ in K]?: never; }; export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never; }; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { ID: { input: string; output: string; }; String: { input: string; output: string; }; Boolean: { input: boolean; output: boolean; }; Int: { input: number; output: number; }; Float: { input: number; output: number; }; }; /** The root of all queries */ export type Query = { __typename?: 'Query'; status?: Maybe; }; /** The facade status */ export type FacadeStatusType = { __typename?: 'FacadeStatusType'; running: Scalars['Boolean']['output']; }; export type WithIndex = TObject & Record; export type ResolversObject = WithIndex; export type ResolverTypeWrapper = Promise | T; export type ResolverWithResolve = { resolve: ResolverFn; }; export type Resolver, TContext = Record, TArgs = Record> = ResolverFn | ResolverWithResolve; export type ResolverFn = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => Promise | TResult; export type SubscriptionSubscribeFn = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => AsyncIterable | Promise>; export type SubscriptionResolveFn = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise; export interface SubscriptionSubscriberObject { subscribe: SubscriptionSubscribeFn<{ [key in TKey]: TResult; }, TParent, TContext, TArgs>; resolve?: SubscriptionResolveFn; } export interface SubscriptionResolverObject { subscribe: SubscriptionSubscribeFn; resolve: SubscriptionResolveFn; } export type SubscriptionObject = SubscriptionSubscriberObject | SubscriptionResolverObject; export type SubscriptionResolver, TContext = Record, TArgs = Record> = ((...args: any[]) => SubscriptionObject) | SubscriptionObject; export type TypeResolveFn, TContext = Record> = (parent: TParent, context: TContext, info: GraphQLResolveInfo) => Maybe | Promise>; export type IsTypeOfResolverFn, TContext = Record> = (obj: T, context: TContext, info: GraphQLResolveInfo) => boolean | Promise; export type NextResolverFn = () => Promise; export type DirectiveResolverFn, TParent = Record, TContext = Record, TArgs = Record> = (next: NextResolverFn, parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise; /** Mapping between all available schema types and the resolvers types */ export type ResolversTypes = ResolversObject<{ Query: ResolverTypeWrapper>; FacadeStatusType: ResolverTypeWrapper; Boolean: ResolverTypeWrapper; String: ResolverTypeWrapper; }>; /** Mapping between all available schema types and the resolvers parents */ export type ResolversParentTypes = ResolversObject<{ Query: Record; FacadeStatusType: FacadeStatusType; Boolean: Scalars['Boolean']['output']; String: Scalars['String']['output']; }>; export type QueryResolvers = ResolversObject<{ status?: Resolver, ParentType, ContextType>; }>; export type FacadeStatusTypeResolvers = ResolversObject<{ running?: Resolver; }>; export type Resolvers = ResolversObject<{ Query?: QueryResolvers; FacadeStatusType?: FacadeStatusTypeResolvers; }>; //# sourceMappingURL=schema.generated.d.ts.map