-
Notifications
You must be signed in to change notification settings - Fork 20
/
types.ts
35 lines (28 loc) · 976 Bytes
/
types.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
export type Maybe<T> = T | null;
export type InputMaybe<T> = Maybe<T>;
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
ID: string;
String: string;
Boolean: boolean;
Int: number;
Float: number;
};
export type Query = {
__typename?: 'Query';
user: User;
};
export type QueryUserArgs = {
id: Scalars['ID'];
};
export type User = {
__typename?: 'User';
email: Scalars['String'];
id: Scalars['ID'];
username: Scalars['String'];
};
export type UserQueryVariables = Exact<{ [key: string]: never; }>;
export type UserQuery = { __typename?: 'Query', user: { __typename?: 'User', id: string, username: string, email: string } };