Skip to content

Commit

Permalink
Apply new generated types
Browse files Browse the repository at this point in the history
  • Loading branch information
eddeee888 committed Apr 25, 2024
1 parent a8127dc commit a13dccc
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions examples/programmatic-typescript/src/gql.generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> =
export type Incremental<T> = 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: string;
String: string;
Boolean: boolean;
Int: number;
Float: number;
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 };
};

export type Query = {
__typename?: 'Query';
hello: Scalars['String'];
hello: Scalars['String']['output'];
};

export type ResolverTypeWrapper<T> = Promise<T> | T;
Expand Down Expand Up @@ -94,15 +94,15 @@ export type DirectiveResolverFn<TResult = {}, TParent = {}, TContext = {}, TArgs
/** Mapping between all available schema types and the resolvers types */
export type ResolversTypes = {
Query: ResolverTypeWrapper<{}>;
String: ResolverTypeWrapper<Scalars['String']>;
Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
String: ResolverTypeWrapper<Scalars['String']['output']>;
Boolean: ResolverTypeWrapper<Scalars['Boolean']['output']>;
};

/** Mapping between all available schema types and the resolvers parents */
export type ResolversParentTypes = {
Query: {};
String: Scalars['String'];
Boolean: Scalars['Boolean'];
String: Scalars['String']['output'];
Boolean: Scalars['Boolean']['output'];
};

export type QueryResolvers<
Expand Down

0 comments on commit a13dccc

Please sign in to comment.