-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtypes.ts
77 lines (60 loc) · 2.02 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
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 Message = {
__typename?: 'Message';
content?: Maybe<Scalars['String']>;
email?: Maybe<Scalars['String']>;
id: Scalars['ID'];
name?: Maybe<Scalars['String']>;
surname?: Maybe<Scalars['String']>;
};
export type MessageInput = {
content: Scalars['String'];
email: Scalars['String'];
name: Scalars['String'];
surname: Scalars['String'];
};
export type Mutation = {
__typename?: 'Mutation';
createMessage?: Maybe<Message>;
deleteMessage?: Maybe<Scalars['String']>;
};
export type MutationCreateMessageArgs = {
captcha: Scalars['String'];
message: MessageInput;
};
export type MutationDeleteMessageArgs = {
id?: InputMaybe<Scalars['ID']>;
};
export type Query = {
__typename?: 'Query';
message?: Maybe<Message>;
messages?: Maybe<Array<Maybe<Message>>>;
};
export type QueryMessageArgs = {
id?: InputMaybe<Scalars['ID']>;
};
export type MessageFragment = { __typename?: 'Message', content?: string | null, name?: string | null, surname?: string | null, email?: string | null };
export type CreateMessageMutationVariables = Exact<{
message: MessageInput;
captcha: Scalars['String'];
}>;
export type CreateMessageMutation = { __typename?: 'Mutation', createMessage?: { __typename?: 'Message', content?: string | null, name?: string | null, surname?: string | null, email?: string | null } | null };
export type PossibleTypesResultData = {
"possibleTypes": {}
};
const result: PossibleTypesResultData = {
"possibleTypes": {}
};
export default result;