import { GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql'; import { IndexingContext } 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; }; export type RequireFields = Omit & { [P in K]-?: NonNullable; }; /** 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; }; GoogleProtobufAnyValue: { input: any; output: any; }; }; export type Mutation = { __typename?: 'Mutation'; indexing: IndexingMutation; }; export type IndexingMutation = { __typename?: 'IndexingMutation'; search: IndexingSearchMutation; }; export type IndexingSearchMutation = { __typename?: 'IndexingSearchMutation'; Search?: Maybe; }; export type IndexingSearchMutationSearchArgs = { input: IIoRestorecommerceSearchSearchRequest; }; export type ProtoIoRestorecommerceSearchSearchResponse = { __typename?: 'ProtoIoRestorecommerceSearchSearchResponse'; details?: Maybe; }; export type IoRestorecommerceSearchSearchResponse = { __typename?: 'IoRestorecommerceSearchSearchResponse'; data?: Maybe>; }; export type GoogleProtobufAny = { __typename?: 'GoogleProtobufAny'; typeUrl?: Maybe; value?: Maybe; }; export type IIoRestorecommerceSearchSearchRequest = { collection?: InputMaybe; text?: InputMaybe; acls?: InputMaybe>; }; 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<{ Mutation: ResolverTypeWrapper>; IndexingMutation: ResolverTypeWrapper; IndexingSearchMutation: ResolverTypeWrapper; ProtoIoRestorecommerceSearchSearchResponse: ResolverTypeWrapper; IoRestorecommerceSearchSearchResponse: ResolverTypeWrapper; GoogleProtobufAny: ResolverTypeWrapper; String: ResolverTypeWrapper; GoogleProtobufAnyValue: ResolverTypeWrapper; IIoRestorecommerceSearchSearchRequest: IIoRestorecommerceSearchSearchRequest; Boolean: ResolverTypeWrapper; }>; /** Mapping between all available schema types and the resolvers parents */ export type ResolversParentTypes = ResolversObject<{ Mutation: Record; IndexingMutation: IndexingMutation; IndexingSearchMutation: IndexingSearchMutation; ProtoIoRestorecommerceSearchSearchResponse: ProtoIoRestorecommerceSearchSearchResponse; IoRestorecommerceSearchSearchResponse: IoRestorecommerceSearchSearchResponse; GoogleProtobufAny: GoogleProtobufAny; String: Scalars['String']['output']; GoogleProtobufAnyValue: Scalars['GoogleProtobufAnyValue']['output']; IIoRestorecommerceSearchSearchRequest: IIoRestorecommerceSearchSearchRequest; Boolean: Scalars['Boolean']['output']; }>; export type MutationResolvers = ResolversObject<{ indexing?: Resolver; }>; export type IndexingMutationResolvers = ResolversObject<{ search?: Resolver; }>; export type IndexingSearchMutationResolvers = ResolversObject<{ Search?: Resolver, ParentType, ContextType, RequireFields>; }>; export type ProtoIoRestorecommerceSearchSearchResponseResolvers = ResolversObject<{ details?: Resolver, ParentType, ContextType>; }>; export type IoRestorecommerceSearchSearchResponseResolvers = ResolversObject<{ data?: Resolver>, ParentType, ContextType>; }>; export type GoogleProtobufAnyResolvers = ResolversObject<{ typeUrl?: Resolver, ParentType, ContextType>; value?: Resolver, ParentType, ContextType>; }>; export interface GoogleProtobufAnyValueScalarConfig extends GraphQLScalarTypeConfig { name: 'GoogleProtobufAnyValue'; } export type Resolvers = ResolversObject<{ Mutation?: MutationResolvers; IndexingMutation?: IndexingMutationResolvers; IndexingSearchMutation?: IndexingSearchMutationResolvers; ProtoIoRestorecommerceSearchSearchResponse?: ProtoIoRestorecommerceSearchSearchResponseResolvers; IoRestorecommerceSearchSearchResponse?: IoRestorecommerceSearchSearchResponseResolvers; GoogleProtobufAny?: GoogleProtobufAnyResolvers; GoogleProtobufAnyValue?: GraphQLScalarType; }>; //# sourceMappingURL=schema.generated.d.ts.map