wabe 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/generated/wabe.ts CHANGED
@@ -1,1881 +1,316 @@
1
- export type Scalars = {
2
- ID: { input: string; output: string; };
3
- String: { input: string; output: string; };
4
- Boolean: { input: boolean; output: boolean; };
5
- Int: { input: number; output: number; };
6
- Float: { input: number; output: number; };
7
- Email: { input: string; output: string; };
8
- Phone: { input: string; output: string; };
9
- Date: { input: Date; output: string; };
10
- Search: { input: any; output: any; };
11
- Any: { input: any; output: any; };
12
- File: { input: any; output: any; };
13
- };
14
-
15
-
16
1
  export enum RoleEnum {
17
- Admin = "Admin",
18
- Client = "Client",
2
+ Admin = "Admin",
3
+ Client = "Client"
19
4
  }
20
5
 
21
6
  export enum AuthenticationProvider {
22
- github = "github",
23
- google = "google",
24
- emailPassword = "emailPassword",
25
- phonePassword = "phonePassword",
7
+ github = "github",
8
+ google = "google",
9
+ emailPassword = "emailPassword",
10
+ phonePassword = "phonePassword"
26
11
  }
27
12
 
28
13
  export enum SecondaryFactor {
29
- EmailOTP = "EmailOTP",
14
+ EmailOTP = "emailOTP"
30
15
  }
31
16
 
32
- export type FileInfo = {
33
- name?: Scalars['String']['output'];
34
- url?: Scalars['String']['output'];
35
- urlGeneratedAt?: Scalars['Date']['output'];
36
- isPresignedUrl?: Scalars['Boolean']['output'];
37
- };
38
-
39
- export type User = {
40
- id: Scalars['ID']['output'];
41
- name?: Scalars['String']['output'];
42
- age?: Scalars['Int']['output'];
43
- email?: Scalars['Email']['output'];
44
- acl?: UserACLObject;
45
- createdAt?: Scalars['Date']['output'];
46
- updatedAt?: Scalars['Date']['output'];
47
- search?: Scalars['String']['output'][];
48
- authentication?: UserAuthentication;
49
- provider?: AuthenticationProvider;
50
- isOauth?: Scalars['Boolean']['output'];
51
- verifiedEmail?: Scalars['Boolean']['output'];
52
- role?: Role;
53
- sessions?: _SessionConnection;
54
- };
55
-
56
- export type UserACLObject = {
57
- users?: UserACLObjectUsersACL[];
58
- roles?: UserACLObjectRolesACL[];
59
- };
60
-
61
- export type UserACLObjectUsersACL = {
62
- userId: Scalars['String']['output'];
63
- read: Scalars['Boolean']['output'];
64
- write: Scalars['Boolean']['output'];
65
- };
66
-
67
- export type UserACLObjectRolesACL = {
68
- roleId: Scalars['String']['output'];
69
- read: Scalars['Boolean']['output'];
70
- write: Scalars['Boolean']['output'];
71
- };
72
-
73
- export type UserAuthentication = {
74
- phonePassword?: UserAuthenticationPhonePassword;
75
- emailPassword?: UserAuthenticationEmailPassword;
76
- google?: UserAuthenticationGoogle;
77
- github?: UserAuthenticationGithub;
78
- };
79
-
80
- export type UserAuthenticationPhonePassword = {
81
- phone: Scalars['Phone']['output'];
82
- password: Scalars['String']['output'];
83
- };
84
-
85
- export type UserAuthenticationEmailPassword = {
86
- email: Scalars['Email']['output'];
87
- password: Scalars['String']['output'];
88
- };
89
-
90
- export type UserAuthenticationGoogle = {
91
- email: Scalars['Email']['output'];
92
- verifiedEmail: Scalars['Boolean']['output'];
93
- };
94
-
95
- export type UserAuthenticationGithub = {
96
- email: Scalars['Email']['output'];
97
- avatarUrl: Scalars['String']['output'];
98
- username: Scalars['String']['output'];
99
- };
100
-
101
- export type _SessionConnection = {
102
- totalCount?: Scalars['Int']['output'];
103
- edges?: _SessionEdge[];
104
- };
105
-
106
- export type _SessionEdge = {
107
- node: _Session;
108
- };
109
-
110
- export type UserInput = {
111
- name?: Scalars['String']['input'];
112
- age?: Scalars['Int']['input'];
113
- email?: Scalars['Email']['input'];
114
- acl?: UserACLObjectInput;
115
- createdAt?: Scalars['Date']['input'];
116
- updatedAt?: Scalars['Date']['input'];
117
- search?: Scalars['String']['input'][];
118
- authentication?: UserAuthenticationInput;
119
- provider?: AuthenticationProvider;
120
- isOauth?: Scalars['Boolean']['input'];
121
- verifiedEmail?: Scalars['Boolean']['input'];
122
- role?: RolePointerInput;
123
- sessions?: _SessionRelationInput;
124
- };
125
-
126
- export type UserACLObjectInput = {
127
- users?: UserACLObjectUsersACLInput[];
128
- roles?: UserACLObjectRolesACLInput[];
129
- };
130
-
131
- export type UserACLObjectUsersACLInput = {
132
- userId: Scalars['String']['input'];
133
- read: Scalars['Boolean']['input'];
134
- write: Scalars['Boolean']['input'];
135
- };
136
-
137
- export type UserACLObjectRolesACLInput = {
138
- roleId: Scalars['String']['input'];
139
- read: Scalars['Boolean']['input'];
140
- write: Scalars['Boolean']['input'];
141
- };
142
-
143
- export type UserAuthenticationInput = {
144
- phonePassword?: UserAuthenticationPhonePasswordInput;
145
- emailPassword?: UserAuthenticationEmailPasswordInput;
146
- google?: UserAuthenticationGoogleInput;
147
- github?: UserAuthenticationGithubInput;
148
- };
149
-
150
- export type UserAuthenticationPhonePasswordInput = {
151
- phone: Scalars['Phone']['input'];
152
- password: Scalars['String']['input'];
153
- };
154
-
155
- export type UserAuthenticationEmailPasswordInput = {
156
- email: Scalars['Email']['input'];
157
- password: Scalars['String']['input'];
158
- };
159
-
160
- export type UserAuthenticationGoogleInput = {
161
- email: Scalars['Email']['input'];
162
- verifiedEmail: Scalars['Boolean']['input'];
163
- };
164
-
165
- export type UserAuthenticationGithubInput = {
166
- email: Scalars['Email']['input'];
167
- avatarUrl: Scalars['String']['input'];
168
- username: Scalars['String']['input'];
169
- };
170
-
171
- export type UserPointerInput = {
172
- unlink?: Scalars['Boolean']['input'];
173
- link?: Scalars['ID']['input'];
174
- createAndLink?: UserCreateFieldsInput;
175
- };
176
-
177
- export type UserCreateFieldsInput = {
178
- name?: Scalars['String']['input'];
179
- age?: Scalars['Int']['input'];
180
- email?: Scalars['Email']['input'];
181
- acl?: UserACLObjectCreateFieldsInput;
182
- createdAt?: Scalars['Date']['input'];
183
- updatedAt?: Scalars['Date']['input'];
184
- search?: Scalars['String']['input'][];
185
- authentication?: UserAuthenticationCreateFieldsInput;
186
- provider?: AuthenticationProvider;
187
- isOauth?: Scalars['Boolean']['input'];
188
- verifiedEmail?: Scalars['Boolean']['input'];
189
- role?: RolePointerInput;
190
- sessions?: _SessionRelationInput;
191
- };
192
-
193
- export type UserACLObjectCreateFieldsInput = {
194
- users?: UserACLObjectUsersACLCreateFieldsInput[];
195
- roles?: UserACLObjectRolesACLCreateFieldsInput[];
196
- };
17
+ export type ACLObjectUsersACL = {
18
+ userId: string,
19
+ read: boolean,
20
+ write: boolean
21
+ }
197
22
 
198
- export type UserACLObjectUsersACLCreateFieldsInput = {
199
- userId?: Scalars['String']['input'];
200
- read?: Scalars['Boolean']['input'];
201
- write?: Scalars['Boolean']['input'];
202
- };
23
+ export type ACLObject = {
24
+ users?: Array<ACLObjectUsersACL>,
25
+ roles?: Array<ACLObjectRolesACL>
26
+ }
203
27
 
204
- export type UserACLObjectRolesACLCreateFieldsInput = {
205
- roleId?: Scalars['String']['input'];
206
- read?: Scalars['Boolean']['input'];
207
- write?: Scalars['Boolean']['input'];
208
- };
28
+ export type ACLObjectRolesACL = {
29
+ roleId: string,
30
+ read: boolean,
31
+ write: boolean
32
+ }
209
33
 
210
- export type UserAuthenticationCreateFieldsInput = {
211
- phonePassword?: UserAuthenticationPhonePasswordCreateFieldsInput;
212
- emailPassword?: UserAuthenticationEmailPasswordCreateFieldsInput;
213
- google?: UserAuthenticationGoogleCreateFieldsInput;
214
- github?: UserAuthenticationGithubCreateFieldsInput;
215
- };
34
+ export type AuthenticationPhonePassword = {
35
+ phone: string,
36
+ password: string
37
+ }
216
38
 
217
- export type UserAuthenticationPhonePasswordCreateFieldsInput = {
218
- phone?: Scalars['Phone']['input'];
219
- password?: Scalars['String']['input'];
220
- };
39
+ export type Authentication = {
40
+ phonePassword?: AuthenticationPhonePassword,
41
+ emailPassword?: AuthenticationEmailPassword,
42
+ google?: AuthenticationGoogle,
43
+ github?: AuthenticationGithub
44
+ }
221
45
 
222
- export type UserAuthenticationEmailPasswordCreateFieldsInput = {
223
- email?: Scalars['Email']['input'];
224
- password?: Scalars['String']['input'];
225
- };
46
+ export type AuthenticationEmailPassword = {
47
+ email: string,
48
+ password: string
49
+ }
226
50
 
227
- export type UserAuthenticationGoogleCreateFieldsInput = {
228
- email?: Scalars['Email']['input'];
229
- verifiedEmail?: Scalars['Boolean']['input'];
230
- };
51
+ export type AuthenticationGoogle = {
52
+ email: string,
53
+ verifiedEmail: boolean
54
+ }
231
55
 
232
- export type UserAuthenticationGithubCreateFieldsInput = {
233
- email?: Scalars['Email']['input'];
234
- avatarUrl?: Scalars['String']['input'];
235
- username?: Scalars['String']['input'];
236
- };
56
+ export type AuthenticationGithub = {
57
+ email: string,
58
+ avatarUrl: string,
59
+ username: string
60
+ }
237
61
 
238
- export type UserRelationInput = {
239
- add?: Scalars['ID']['input'][];
240
- remove?: Scalars['ID']['input'][];
241
- createAndAdd?: UserCreateFieldsInput[];
242
- };
62
+ export type User = {
63
+ id: string,
64
+ name?: string,
65
+ age?: number,
66
+ email?: string,
67
+ acl?: ACLObject,
68
+ createdAt?: Date,
69
+ updatedAt?: Date,
70
+ search?: Array<string>,
71
+ authentication?: Authentication,
72
+ provider?: AuthenticationProvider,
73
+ isOauth?: boolean,
74
+ verifiedEmail?: boolean,
75
+ role?: Role,
76
+ sessions?: Array<string>
77
+ }
243
78
 
244
79
  export type Post = {
245
- id: Scalars['ID']['output'];
246
- name: Scalars['String']['output'];
247
- test2?: RoleEnum;
248
- acl?: PostACLObject;
249
- createdAt?: Scalars['Date']['output'];
250
- updatedAt?: Scalars['Date']['output'];
251
- search?: Scalars['String']['output'][];
252
- };
253
-
254
- export type PostACLObject = {
255
- users?: PostACLObjectUsersACL[];
256
- roles?: PostACLObjectRolesACL[];
257
- };
258
-
259
- export type PostACLObjectUsersACL = {
260
- userId: Scalars['String']['output'];
261
- read: Scalars['Boolean']['output'];
262
- write: Scalars['Boolean']['output'];
263
- };
264
-
265
- export type PostACLObjectRolesACL = {
266
- roleId: Scalars['String']['output'];
267
- read: Scalars['Boolean']['output'];
268
- write: Scalars['Boolean']['output'];
269
- };
270
-
271
- export type PostInput = {
272
- name: Scalars['String']['input'];
273
- test2?: RoleEnum;
274
- acl?: PostACLObjectInput;
275
- createdAt?: Scalars['Date']['input'];
276
- updatedAt?: Scalars['Date']['input'];
277
- search?: Scalars['String']['input'][];
278
- };
279
-
280
- export type PostACLObjectInput = {
281
- users?: PostACLObjectUsersACLInput[];
282
- roles?: PostACLObjectRolesACLInput[];
283
- };
284
-
285
- export type PostACLObjectUsersACLInput = {
286
- userId: Scalars['String']['input'];
287
- read: Scalars['Boolean']['input'];
288
- write: Scalars['Boolean']['input'];
289
- };
290
-
291
- export type PostACLObjectRolesACLInput = {
292
- roleId: Scalars['String']['input'];
293
- read: Scalars['Boolean']['input'];
294
- write: Scalars['Boolean']['input'];
295
- };
296
-
297
- export type PostPointerInput = {
298
- unlink?: Scalars['Boolean']['input'];
299
- link?: Scalars['ID']['input'];
300
- createAndLink?: PostCreateFieldsInput;
301
- };
302
-
303
- export type PostCreateFieldsInput = {
304
- name?: Scalars['String']['input'];
305
- test2?: RoleEnum;
306
- acl?: PostACLObjectCreateFieldsInput;
307
- createdAt?: Scalars['Date']['input'];
308
- updatedAt?: Scalars['Date']['input'];
309
- search?: Scalars['String']['input'][];
310
- };
311
-
312
- export type PostACLObjectCreateFieldsInput = {
313
- users?: PostACLObjectUsersACLCreateFieldsInput[];
314
- roles?: PostACLObjectRolesACLCreateFieldsInput[];
315
- };
316
-
317
- export type PostACLObjectUsersACLCreateFieldsInput = {
318
- userId?: Scalars['String']['input'];
319
- read?: Scalars['Boolean']['input'];
320
- write?: Scalars['Boolean']['input'];
321
- };
322
-
323
- export type PostACLObjectRolesACLCreateFieldsInput = {
324
- roleId?: Scalars['String']['input'];
325
- read?: Scalars['Boolean']['input'];
326
- write?: Scalars['Boolean']['input'];
327
- };
328
-
329
- export type PostRelationInput = {
330
- add?: Scalars['ID']['input'][];
331
- remove?: Scalars['ID']['input'][];
332
- createAndAdd?: PostCreateFieldsInput[];
333
- };
80
+ id: string,
81
+ name: string,
82
+ test2?: RoleEnum,
83
+ acl?: ACLObject,
84
+ createdAt?: Date,
85
+ updatedAt?: Date,
86
+ search?: Array<string>
87
+ }
334
88
 
335
89
  export type _Session = {
336
- id: Scalars['ID']['output'];
337
- user?: User;
338
- accessToken: Scalars['String']['output'];
339
- accessTokenExpiresAt: Scalars['Date']['output'];
340
- refreshToken?: Scalars['String']['output'];
341
- refreshTokenExpiresAt: Scalars['Date']['output'];
342
- acl?: _SessionACLObject;
343
- createdAt?: Scalars['Date']['output'];
344
- updatedAt?: Scalars['Date']['output'];
345
- search?: Scalars['String']['output'][];
346
- };
347
-
348
- export type _SessionACLObject = {
349
- users?: _SessionACLObjectUsersACL[];
350
- roles?: _SessionACLObjectRolesACL[];
351
- };
352
-
353
- export type _SessionACLObjectUsersACL = {
354
- userId: Scalars['String']['output'];
355
- read: Scalars['Boolean']['output'];
356
- write: Scalars['Boolean']['output'];
357
- };
358
-
359
- export type _SessionACLObjectRolesACL = {
360
- roleId: Scalars['String']['output'];
361
- read: Scalars['Boolean']['output'];
362
- write: Scalars['Boolean']['output'];
363
- };
364
-
365
- export type _SessionInput = {
366
- user?: UserPointerInput;
367
- accessToken: Scalars['String']['input'];
368
- accessTokenExpiresAt: Scalars['Date']['input'];
369
- refreshToken?: Scalars['String']['input'];
370
- refreshTokenExpiresAt: Scalars['Date']['input'];
371
- acl?: _SessionACLObjectInput;
372
- createdAt?: Scalars['Date']['input'];
373
- updatedAt?: Scalars['Date']['input'];
374
- search?: Scalars['String']['input'][];
375
- };
376
-
377
- export type _SessionACLObjectInput = {
378
- users?: _SessionACLObjectUsersACLInput[];
379
- roles?: _SessionACLObjectRolesACLInput[];
380
- };
381
-
382
- export type _SessionACLObjectUsersACLInput = {
383
- userId: Scalars['String']['input'];
384
- read: Scalars['Boolean']['input'];
385
- write: Scalars['Boolean']['input'];
386
- };
387
-
388
- export type _SessionACLObjectRolesACLInput = {
389
- roleId: Scalars['String']['input'];
390
- read: Scalars['Boolean']['input'];
391
- write: Scalars['Boolean']['input'];
392
- };
393
-
394
- export type _SessionPointerInput = {
395
- unlink?: Scalars['Boolean']['input'];
396
- link?: Scalars['ID']['input'];
397
- createAndLink?: _SessionCreateFieldsInput;
398
- };
399
-
400
- export type _SessionCreateFieldsInput = {
401
- user?: UserPointerInput;
402
- accessToken?: Scalars['String']['input'];
403
- accessTokenExpiresAt?: Scalars['Date']['input'];
404
- refreshToken?: Scalars['String']['input'];
405
- refreshTokenExpiresAt?: Scalars['Date']['input'];
406
- acl?: _SessionACLObjectCreateFieldsInput;
407
- createdAt?: Scalars['Date']['input'];
408
- updatedAt?: Scalars['Date']['input'];
409
- search?: Scalars['String']['input'][];
410
- };
411
-
412
- export type _SessionACLObjectCreateFieldsInput = {
413
- users?: _SessionACLObjectUsersACLCreateFieldsInput[];
414
- roles?: _SessionACLObjectRolesACLCreateFieldsInput[];
415
- };
416
-
417
- export type _SessionACLObjectUsersACLCreateFieldsInput = {
418
- userId?: Scalars['String']['input'];
419
- read?: Scalars['Boolean']['input'];
420
- write?: Scalars['Boolean']['input'];
421
- };
422
-
423
- export type _SessionACLObjectRolesACLCreateFieldsInput = {
424
- roleId?: Scalars['String']['input'];
425
- read?: Scalars['Boolean']['input'];
426
- write?: Scalars['Boolean']['input'];
427
- };
428
-
429
- export type _SessionRelationInput = {
430
- add?: Scalars['ID']['input'][];
431
- remove?: Scalars['ID']['input'][];
432
- createAndAdd?: _SessionCreateFieldsInput[];
433
- };
90
+ id: string,
91
+ user: User,
92
+ accessToken: string,
93
+ accessTokenExpiresAt: Date,
94
+ refreshToken?: string,
95
+ refreshTokenExpiresAt: Date,
96
+ acl?: ACLObject,
97
+ createdAt?: Date,
98
+ updatedAt?: Date,
99
+ search?: Array<string>
100
+ }
434
101
 
435
102
  export type Role = {
436
- id: Scalars['ID']['output'];
437
- name: Scalars['String']['output'];
438
- users?: UserConnection;
439
- acl?: RoleACLObject;
440
- createdAt?: Scalars['Date']['output'];
441
- updatedAt?: Scalars['Date']['output'];
442
- search?: Scalars['String']['output'][];
443
- };
444
-
445
- export type UserConnection = {
446
- totalCount?: Scalars['Int']['output'];
447
- edges?: UserEdge[];
448
- };
449
-
450
- export type UserEdge = {
451
- node: User;
452
- };
453
-
454
- export type RoleACLObject = {
455
- users?: RoleACLObjectUsersACL[];
456
- roles?: RoleACLObjectRolesACL[];
457
- };
458
-
459
- export type RoleACLObjectUsersACL = {
460
- userId: Scalars['String']['output'];
461
- read: Scalars['Boolean']['output'];
462
- write: Scalars['Boolean']['output'];
463
- };
464
-
465
- export type RoleACLObjectRolesACL = {
466
- roleId: Scalars['String']['output'];
467
- read: Scalars['Boolean']['output'];
468
- write: Scalars['Boolean']['output'];
469
- };
470
-
471
- export type RoleInput = {
472
- name: Scalars['String']['input'];
473
- users?: UserRelationInput;
474
- acl?: RoleACLObjectInput;
475
- createdAt?: Scalars['Date']['input'];
476
- updatedAt?: Scalars['Date']['input'];
477
- search?: Scalars['String']['input'][];
478
- };
479
-
480
- export type RoleACLObjectInput = {
481
- users?: RoleACLObjectUsersACLInput[];
482
- roles?: RoleACLObjectRolesACLInput[];
483
- };
484
-
485
- export type RoleACLObjectUsersACLInput = {
486
- userId: Scalars['String']['input'];
487
- read: Scalars['Boolean']['input'];
488
- write: Scalars['Boolean']['input'];
489
- };
490
-
491
- export type RoleACLObjectRolesACLInput = {
492
- roleId: Scalars['String']['input'];
493
- read: Scalars['Boolean']['input'];
494
- write: Scalars['Boolean']['input'];
495
- };
496
-
497
- export type RolePointerInput = {
498
- unlink?: Scalars['Boolean']['input'];
499
- link?: Scalars['ID']['input'];
500
- createAndLink?: RoleCreateFieldsInput;
501
- };
502
-
503
- export type RoleCreateFieldsInput = {
504
- name?: Scalars['String']['input'];
505
- users?: UserRelationInput;
506
- acl?: RoleACLObjectCreateFieldsInput;
507
- createdAt?: Scalars['Date']['input'];
508
- updatedAt?: Scalars['Date']['input'];
509
- search?: Scalars['String']['input'][];
510
- };
511
-
512
- export type RoleACLObjectCreateFieldsInput = {
513
- users?: RoleACLObjectUsersACLCreateFieldsInput[];
514
- roles?: RoleACLObjectRolesACLCreateFieldsInput[];
515
- };
516
-
517
- export type RoleACLObjectUsersACLCreateFieldsInput = {
518
- userId?: Scalars['String']['input'];
519
- read?: Scalars['Boolean']['input'];
520
- write?: Scalars['Boolean']['input'];
521
- };
522
-
523
- export type RoleACLObjectRolesACLCreateFieldsInput = {
524
- roleId?: Scalars['String']['input'];
525
- read?: Scalars['Boolean']['input'];
526
- write?: Scalars['Boolean']['input'];
527
- };
528
-
529
- export type RoleRelationInput = {
530
- add?: Scalars['ID']['input'][];
531
- remove?: Scalars['ID']['input'][];
532
- createAndAdd?: RoleCreateFieldsInput[];
533
- };
103
+ id: string,
104
+ name: string,
105
+ users?: Array<string>,
106
+ acl?: ACLObject,
107
+ createdAt?: Date,
108
+ updatedAt?: Date,
109
+ search?: Array<string>
110
+ }
534
111
 
535
112
  export type _InternalConfig = {
536
- id: Scalars['ID']['output'];
537
- configKey: Scalars['String']['output'];
538
- configValue: Scalars['String']['output'];
539
- description?: Scalars['String']['output'];
540
- acl?: _InternalConfigACLObject;
541
- createdAt?: Scalars['Date']['output'];
542
- updatedAt?: Scalars['Date']['output'];
543
- search?: Scalars['String']['output'][];
544
- };
545
-
546
- export type _InternalConfigACLObject = {
547
- users?: _InternalConfigACLObjectUsersACL[];
548
- roles?: _InternalConfigACLObjectRolesACL[];
549
- };
550
-
551
- export type _InternalConfigACLObjectUsersACL = {
552
- userId: Scalars['String']['output'];
553
- read: Scalars['Boolean']['output'];
554
- write: Scalars['Boolean']['output'];
555
- };
556
-
557
- export type _InternalConfigACLObjectRolesACL = {
558
- roleId: Scalars['String']['output'];
559
- read: Scalars['Boolean']['output'];
560
- write: Scalars['Boolean']['output'];
561
- };
562
-
563
- export type _InternalConfigInput = {
564
- configKey: Scalars['String']['input'];
565
- configValue: Scalars['String']['input'];
566
- description?: Scalars['String']['input'];
567
- acl?: _InternalConfigACLObjectInput;
568
- createdAt?: Scalars['Date']['input'];
569
- updatedAt?: Scalars['Date']['input'];
570
- search?: Scalars['String']['input'][];
571
- };
572
-
573
- export type _InternalConfigACLObjectInput = {
574
- users?: _InternalConfigACLObjectUsersACLInput[];
575
- roles?: _InternalConfigACLObjectRolesACLInput[];
576
- };
577
-
578
- export type _InternalConfigACLObjectUsersACLInput = {
579
- userId: Scalars['String']['input'];
580
- read: Scalars['Boolean']['input'];
581
- write: Scalars['Boolean']['input'];
582
- };
583
-
584
- export type _InternalConfigACLObjectRolesACLInput = {
585
- roleId: Scalars['String']['input'];
586
- read: Scalars['Boolean']['input'];
587
- write: Scalars['Boolean']['input'];
588
- };
589
-
590
- export type _InternalConfigPointerInput = {
591
- unlink?: Scalars['Boolean']['input'];
592
- link?: Scalars['ID']['input'];
593
- createAndLink?: _InternalConfigCreateFieldsInput;
594
- };
595
-
596
- export type _InternalConfigCreateFieldsInput = {
597
- configKey?: Scalars['String']['input'];
598
- configValue?: Scalars['String']['input'];
599
- description?: Scalars['String']['input'];
600
- acl?: _InternalConfigACLObjectCreateFieldsInput;
601
- createdAt?: Scalars['Date']['input'];
602
- updatedAt?: Scalars['Date']['input'];
603
- search?: Scalars['String']['input'][];
604
- };
605
-
606
- export type _InternalConfigACLObjectCreateFieldsInput = {
607
- users?: _InternalConfigACLObjectUsersACLCreateFieldsInput[];
608
- roles?: _InternalConfigACLObjectRolesACLCreateFieldsInput[];
609
- };
610
-
611
- export type _InternalConfigACLObjectUsersACLCreateFieldsInput = {
612
- userId?: Scalars['String']['input'];
613
- read?: Scalars['Boolean']['input'];
614
- write?: Scalars['Boolean']['input'];
615
- };
616
-
617
- export type _InternalConfigACLObjectRolesACLCreateFieldsInput = {
618
- roleId?: Scalars['String']['input'];
619
- read?: Scalars['Boolean']['input'];
620
- write?: Scalars['Boolean']['input'];
621
- };
622
-
623
- export type _InternalConfigRelationInput = {
624
- add?: Scalars['ID']['input'][];
625
- remove?: Scalars['ID']['input'][];
626
- createAndAdd?: _InternalConfigCreateFieldsInput[];
627
- };
628
-
629
- export type Query = {
630
- user?: User;
631
- users: UserConnection;
632
- post?: Post;
633
- posts: PostConnection;
634
- _session?: _Session;
635
- _sessions: _SessionConnection;
636
- role?: Role;
637
- roles: RoleConnection;
638
- _internalConfig?: _InternalConfig;
639
- _internalConfigs: _InternalConfigConnection;
640
- helloWorld?: Scalars['String']['output'];
641
- me?: MeOutput;
642
- };
643
-
644
- export type QueryUserArgs = {
645
- id?: Scalars['ID']['input'];
646
- };
647
-
648
- export type QueryUsersArgs = {
649
- where?: UserWhereInput;
650
- offset?: Scalars['Int']['input'];
651
- first?: Scalars['Int']['input'];
652
- order?: UserOrder[];
653
- };
654
-
655
- export type QueryPostArgs = {
656
- id?: Scalars['ID']['input'];
657
- };
658
-
659
- export type QueryPostsArgs = {
660
- where?: PostWhereInput;
661
- offset?: Scalars['Int']['input'];
662
- first?: Scalars['Int']['input'];
663
- order?: PostOrder[];
664
- };
665
-
666
- export type Query_sessionArgs = {
667
- id?: Scalars['ID']['input'];
668
- };
669
-
670
- export type Query_sessionsArgs = {
671
- where?: _SessionWhereInput;
672
- offset?: Scalars['Int']['input'];
673
- first?: Scalars['Int']['input'];
674
- order?: _SessionOrder[];
675
- };
676
-
677
- export type QueryRoleArgs = {
678
- id?: Scalars['ID']['input'];
679
- };
680
-
681
- export type QueryRolesArgs = {
682
- where?: RoleWhereInput;
683
- offset?: Scalars['Int']['input'];
684
- first?: Scalars['Int']['input'];
685
- order?: RoleOrder[];
686
- };
687
-
688
- export type Query_internalConfigArgs = {
689
- id?: Scalars['ID']['input'];
690
- };
691
-
692
- export type Query_internalConfigsArgs = {
693
- where?: _InternalConfigWhereInput;
694
- offset?: Scalars['Int']['input'];
695
- first?: Scalars['Int']['input'];
696
- order?: _InternalConfigOrder[];
697
- };
698
-
699
- export type QueryHelloWorldArgs = {
700
- name: Scalars['String']['input'];
701
- };
702
-
703
- export type UserWhereInput = {
704
- id?: IdWhereInput;
705
- name?: StringWhereInput;
706
- age?: IntWhereInput;
707
- email?: EmailWhereInput;
708
- acl?: UserACLObjectWhereInput;
709
- createdAt?: DateWhereInput;
710
- updatedAt?: DateWhereInput;
711
- search?: SearchWhereInput;
712
- authentication?: UserAuthenticationWhereInput;
713
- provider?: AnyWhereInput;
714
- isOauth?: BooleanWhereInput;
715
- verifiedEmail?: BooleanWhereInput;
716
- role?: RoleWhereInput;
717
- sessions?: _SessionWhereInput;
718
- OR?: UserWhereInput[];
719
- AND?: UserWhereInput[];
720
- };
721
-
722
- export type IdWhereInput = {
723
- equalTo?: Scalars['ID']['input'];
724
- notEqualTo?: Scalars['ID']['input'];
725
- in?: Scalars['ID']['input'][];
726
- notIn?: Scalars['ID']['input'][];
727
- };
728
-
729
- export type StringWhereInput = {
730
- equalTo?: Scalars['String']['input'];
731
- notEqualTo?: Scalars['String']['input'];
732
- in?: Scalars['String']['input'][];
733
- notIn?: Scalars['String']['input'][];
734
- };
735
-
736
- export type IntWhereInput = {
737
- equalTo?: Scalars['Int']['input'];
738
- notEqualTo?: Scalars['Int']['input'];
739
- lessThan?: Scalars['Int']['input'];
740
- lessThanOrEqualTo?: Scalars['Int']['input'];
741
- greaterThan?: Scalars['Int']['input'];
742
- greaterThanOrEqualTo?: Scalars['Int']['input'];
743
- in?: Scalars['Int']['input'][];
744
- notIn?: Scalars['Int']['input'][];
745
- };
746
-
747
- export type EmailWhereInput = {
748
- equalTo?: Scalars['Email']['input'];
749
- notEqualTo?: Scalars['Email']['input'];
750
- in?: Scalars['Email']['input'][];
751
- notIn?: Scalars['Email']['input'][];
752
- };
753
-
754
- export type UserACLObjectWhereInput = {
755
- users?: UserACLObjectUsersACLWhereInput[];
756
- roles?: UserACLObjectRolesACLWhereInput[];
757
- OR?: UserACLObjectWhereInput[];
758
- AND?: UserACLObjectWhereInput[];
759
- };
760
-
761
- export type UserACLObjectUsersACLWhereInput = {
762
- userId?: StringWhereInput;
763
- read?: BooleanWhereInput;
764
- write?: BooleanWhereInput;
765
- OR?: UserACLObjectUsersACLWhereInput[];
766
- AND?: UserACLObjectUsersACLWhereInput[];
767
- };
768
-
769
- export type BooleanWhereInput = {
770
- equalTo?: Scalars['Boolean']['input'];
771
- notEqualTo?: Scalars['Boolean']['input'];
772
- in?: Scalars['Boolean']['input'][];
773
- notIn?: Scalars['Boolean']['input'][];
774
- };
775
-
776
- export type UserACLObjectRolesACLWhereInput = {
777
- roleId?: StringWhereInput;
778
- read?: BooleanWhereInput;
779
- write?: BooleanWhereInput;
780
- OR?: UserACLObjectRolesACLWhereInput[];
781
- AND?: UserACLObjectRolesACLWhereInput[];
782
- };
783
-
784
- export type DateWhereInput = {
785
- equalTo?: Scalars['Date']['input'];
786
- notEqualTo?: Scalars['Date']['input'];
787
- in?: Scalars['Date']['input'][];
788
- notIn?: Scalars['Date']['input'][];
789
- lessThan?: Scalars['Date']['input'];
790
- lessThanOrEqualTo?: Scalars['Date']['input'];
791
- greaterThan?: Scalars['Date']['input'];
792
- greaterThanOrEqualTo?: Scalars['Date']['input'];
793
- };
794
-
795
- export type SearchWhereInput = {
796
- contains?: Scalars['Search']['input'];
797
- };
798
-
799
- export type UserAuthenticationWhereInput = {
800
- phonePassword?: UserAuthenticationPhonePasswordWhereInput;
801
- emailPassword?: UserAuthenticationEmailPasswordWhereInput;
802
- google?: UserAuthenticationGoogleWhereInput;
803
- github?: UserAuthenticationGithubWhereInput;
804
- OR?: UserAuthenticationWhereInput[];
805
- AND?: UserAuthenticationWhereInput[];
806
- };
807
-
808
- export type UserAuthenticationPhonePasswordWhereInput = {
809
- phone?: PhoneWhereInput;
810
- password?: StringWhereInput;
811
- OR?: UserAuthenticationPhonePasswordWhereInput[];
812
- AND?: UserAuthenticationPhonePasswordWhereInput[];
813
- };
814
-
815
- export type PhoneWhereInput = {
816
- equalTo?: Scalars['Phone']['input'];
817
- notEqualTo?: Scalars['Phone']['input'];
818
- in?: Scalars['Phone']['input'][];
819
- notIn?: Scalars['Phone']['input'][];
820
- };
821
-
822
- export type UserAuthenticationEmailPasswordWhereInput = {
823
- email?: EmailWhereInput;
824
- password?: StringWhereInput;
825
- OR?: UserAuthenticationEmailPasswordWhereInput[];
826
- AND?: UserAuthenticationEmailPasswordWhereInput[];
827
- };
828
-
829
- export type UserAuthenticationGoogleWhereInput = {
830
- email?: EmailWhereInput;
831
- verifiedEmail?: BooleanWhereInput;
832
- OR?: UserAuthenticationGoogleWhereInput[];
833
- AND?: UserAuthenticationGoogleWhereInput[];
834
- };
835
-
836
- export type UserAuthenticationGithubWhereInput = {
837
- email?: EmailWhereInput;
838
- avatarUrl?: StringWhereInput;
839
- username?: StringWhereInput;
840
- OR?: UserAuthenticationGithubWhereInput[];
841
- AND?: UserAuthenticationGithubWhereInput[];
842
- };
843
-
844
- export type AnyWhereInput = {
845
- equalTo?: Scalars['Any']['input'];
846
- notEqualTo?: Scalars['Any']['input'];
847
- };
848
-
849
- export type RoleWhereInput = {
850
- id?: IdWhereInput;
851
- name?: StringWhereInput;
852
- users?: UserWhereInput;
853
- acl?: RoleACLObjectWhereInput;
854
- createdAt?: DateWhereInput;
855
- updatedAt?: DateWhereInput;
856
- search?: SearchWhereInput;
857
- OR?: RoleWhereInput[];
858
- AND?: RoleWhereInput[];
859
- };
860
-
861
- export type RoleACLObjectWhereInput = {
862
- users?: RoleACLObjectUsersACLWhereInput[];
863
- roles?: RoleACLObjectRolesACLWhereInput[];
864
- OR?: RoleACLObjectWhereInput[];
865
- AND?: RoleACLObjectWhereInput[];
866
- };
867
-
868
- export type RoleACLObjectUsersACLWhereInput = {
869
- userId?: StringWhereInput;
870
- read?: BooleanWhereInput;
871
- write?: BooleanWhereInput;
872
- OR?: RoleACLObjectUsersACLWhereInput[];
873
- AND?: RoleACLObjectUsersACLWhereInput[];
874
- };
875
-
876
- export type RoleACLObjectRolesACLWhereInput = {
877
- roleId?: StringWhereInput;
878
- read?: BooleanWhereInput;
879
- write?: BooleanWhereInput;
880
- OR?: RoleACLObjectRolesACLWhereInput[];
881
- AND?: RoleACLObjectRolesACLWhereInput[];
882
- };
883
-
884
- export type _SessionWhereInput = {
885
- id?: IdWhereInput;
886
- user?: UserWhereInput;
887
- accessToken?: StringWhereInput;
888
- accessTokenExpiresAt?: DateWhereInput;
889
- refreshToken?: StringWhereInput;
890
- refreshTokenExpiresAt?: DateWhereInput;
891
- acl?: _SessionACLObjectWhereInput;
892
- createdAt?: DateWhereInput;
893
- updatedAt?: DateWhereInput;
894
- search?: SearchWhereInput;
895
- OR?: _SessionWhereInput[];
896
- AND?: _SessionWhereInput[];
897
- };
898
-
899
- export type _SessionACLObjectWhereInput = {
900
- users?: _SessionACLObjectUsersACLWhereInput[];
901
- roles?: _SessionACLObjectRolesACLWhereInput[];
902
- OR?: _SessionACLObjectWhereInput[];
903
- AND?: _SessionACLObjectWhereInput[];
904
- };
905
-
906
- export type _SessionACLObjectUsersACLWhereInput = {
907
- userId?: StringWhereInput;
908
- read?: BooleanWhereInput;
909
- write?: BooleanWhereInput;
910
- OR?: _SessionACLObjectUsersACLWhereInput[];
911
- AND?: _SessionACLObjectUsersACLWhereInput[];
912
- };
913
-
914
- export type _SessionACLObjectRolesACLWhereInput = {
915
- roleId?: StringWhereInput;
916
- read?: BooleanWhereInput;
917
- write?: BooleanWhereInput;
918
- OR?: _SessionACLObjectRolesACLWhereInput[];
919
- AND?: _SessionACLObjectRolesACLWhereInput[];
920
- };
921
-
922
- export enum UserOrder {
923
- name_ASC = "name_ASC",
924
- name_DESC = "name_DESC",
925
- age_ASC = "age_ASC",
926
- age_DESC = "age_DESC",
927
- email_ASC = "email_ASC",
928
- email_DESC = "email_DESC",
929
- acl_ASC = "acl_ASC",
930
- acl_DESC = "acl_DESC",
931
- createdAt_ASC = "createdAt_ASC",
932
- createdAt_DESC = "createdAt_DESC",
933
- updatedAt_ASC = "updatedAt_ASC",
934
- updatedAt_DESC = "updatedAt_DESC",
935
- search_ASC = "search_ASC",
936
- search_DESC = "search_DESC",
937
- authentication_ASC = "authentication_ASC",
938
- authentication_DESC = "authentication_DESC",
939
- provider_ASC = "provider_ASC",
940
- provider_DESC = "provider_DESC",
941
- isOauth_ASC = "isOauth_ASC",
942
- isOauth_DESC = "isOauth_DESC",
943
- verifiedEmail_ASC = "verifiedEmail_ASC",
944
- verifiedEmail_DESC = "verifiedEmail_DESC",
945
- role_ASC = "role_ASC",
946
- role_DESC = "role_DESC",
947
- sessions_ASC = "sessions_ASC",
948
- sessions_DESC = "sessions_DESC",
113
+ id: string,
114
+ configKey: string,
115
+ configValue: string,
116
+ description?: string,
117
+ acl?: ACLObject,
118
+ createdAt?: Date,
119
+ updatedAt?: Date,
120
+ search?: Array<string>
949
121
  }
950
122
 
951
- export type PostConnection = {
952
- totalCount?: Scalars['Int']['output'];
953
- edges?: PostEdge[];
954
- };
955
-
956
- export type PostEdge = {
957
- node: Post;
958
- };
959
-
960
- export type PostWhereInput = {
961
- id?: IdWhereInput;
962
- name?: StringWhereInput;
963
- test2?: AnyWhereInput;
964
- acl?: PostACLObjectWhereInput;
965
- createdAt?: DateWhereInput;
966
- updatedAt?: DateWhereInput;
967
- search?: SearchWhereInput;
968
- OR?: PostWhereInput[];
969
- AND?: PostWhereInput[];
970
- };
971
-
972
- export type PostACLObjectWhereInput = {
973
- users?: PostACLObjectUsersACLWhereInput[];
974
- roles?: PostACLObjectRolesACLWhereInput[];
975
- OR?: PostACLObjectWhereInput[];
976
- AND?: PostACLObjectWhereInput[];
977
- };
978
-
979
- export type PostACLObjectUsersACLWhereInput = {
980
- userId?: StringWhereInput;
981
- read?: BooleanWhereInput;
982
- write?: BooleanWhereInput;
983
- OR?: PostACLObjectUsersACLWhereInput[];
984
- AND?: PostACLObjectUsersACLWhereInput[];
985
- };
986
-
987
- export type PostACLObjectRolesACLWhereInput = {
988
- roleId?: StringWhereInput;
989
- read?: BooleanWhereInput;
990
- write?: BooleanWhereInput;
991
- OR?: PostACLObjectRolesACLWhereInput[];
992
- AND?: PostACLObjectRolesACLWhereInput[];
993
- };
994
-
995
- export enum PostOrder {
996
- name_ASC = "name_ASC",
997
- name_DESC = "name_DESC",
998
- test2_ASC = "test2_ASC",
999
- test2_DESC = "test2_DESC",
1000
- acl_ASC = "acl_ASC",
1001
- acl_DESC = "acl_DESC",
1002
- createdAt_ASC = "createdAt_ASC",
1003
- createdAt_DESC = "createdAt_DESC",
1004
- updatedAt_ASC = "updatedAt_ASC",
1005
- updatedAt_DESC = "updatedAt_DESC",
1006
- search_ASC = "search_ASC",
1007
- search_DESC = "search_DESC",
123
+ export type CreateMutationInput = {
124
+ name: number
1008
125
  }
1009
126
 
1010
- export enum _SessionOrder {
1011
- user_ASC = "user_ASC",
1012
- user_DESC = "user_DESC",
1013
- accessToken_ASC = "accessToken_ASC",
1014
- accessToken_DESC = "accessToken_DESC",
1015
- accessTokenExpiresAt_ASC = "accessTokenExpiresAt_ASC",
1016
- accessTokenExpiresAt_DESC = "accessTokenExpiresAt_DESC",
1017
- refreshToken_ASC = "refreshToken_ASC",
1018
- refreshToken_DESC = "refreshToken_DESC",
1019
- refreshTokenExpiresAt_ASC = "refreshTokenExpiresAt_ASC",
1020
- refreshTokenExpiresAt_DESC = "refreshTokenExpiresAt_DESC",
1021
- acl_ASC = "acl_ASC",
1022
- acl_DESC = "acl_DESC",
1023
- createdAt_ASC = "createdAt_ASC",
1024
- createdAt_DESC = "createdAt_DESC",
1025
- updatedAt_ASC = "updatedAt_ASC",
1026
- updatedAt_DESC = "updatedAt_DESC",
1027
- search_ASC = "search_ASC",
1028
- search_DESC = "search_DESC",
127
+ export type MutationCreateMutationArgs = {
128
+ input: CreateMutationInput
1029
129
  }
1030
130
 
1031
- export type RoleConnection = {
1032
- totalCount?: Scalars['Int']['output'];
1033
- edges?: RoleEdge[];
1034
- };
1035
-
1036
- export type RoleEdge = {
1037
- node: Role;
1038
- };
1039
-
1040
- export enum RoleOrder {
1041
- name_ASC = "name_ASC",
1042
- name_DESC = "name_DESC",
1043
- users_ASC = "users_ASC",
1044
- users_DESC = "users_DESC",
1045
- acl_ASC = "acl_ASC",
1046
- acl_DESC = "acl_DESC",
1047
- createdAt_ASC = "createdAt_ASC",
1048
- createdAt_DESC = "createdAt_DESC",
1049
- updatedAt_ASC = "updatedAt_ASC",
1050
- updatedAt_DESC = "updatedAt_DESC",
1051
- search_ASC = "search_ASC",
1052
- search_DESC = "search_DESC",
131
+ export type CustomMutationInput = {
132
+ a: number,
133
+ b: number
1053
134
  }
1054
135
 
1055
- export type _InternalConfigConnection = {
1056
- totalCount?: Scalars['Int']['output'];
1057
- edges?: _InternalConfigEdge[];
1058
- };
1059
-
1060
- export type _InternalConfigEdge = {
1061
- node: _InternalConfig;
1062
- };
1063
-
1064
- export type _InternalConfigWhereInput = {
1065
- id?: IdWhereInput;
1066
- configKey?: StringWhereInput;
1067
- configValue?: StringWhereInput;
1068
- description?: StringWhereInput;
1069
- acl?: _InternalConfigACLObjectWhereInput;
1070
- createdAt?: DateWhereInput;
1071
- updatedAt?: DateWhereInput;
1072
- search?: SearchWhereInput;
1073
- OR?: _InternalConfigWhereInput[];
1074
- AND?: _InternalConfigWhereInput[];
1075
- };
1076
-
1077
- export type _InternalConfigACLObjectWhereInput = {
1078
- users?: _InternalConfigACLObjectUsersACLWhereInput[];
1079
- roles?: _InternalConfigACLObjectRolesACLWhereInput[];
1080
- OR?: _InternalConfigACLObjectWhereInput[];
1081
- AND?: _InternalConfigACLObjectWhereInput[];
1082
- };
1083
-
1084
- export type _InternalConfigACLObjectUsersACLWhereInput = {
1085
- userId?: StringWhereInput;
1086
- read?: BooleanWhereInput;
1087
- write?: BooleanWhereInput;
1088
- OR?: _InternalConfigACLObjectUsersACLWhereInput[];
1089
- AND?: _InternalConfigACLObjectUsersACLWhereInput[];
1090
- };
1091
-
1092
- export type _InternalConfigACLObjectRolesACLWhereInput = {
1093
- roleId?: StringWhereInput;
1094
- read?: BooleanWhereInput;
1095
- write?: BooleanWhereInput;
1096
- OR?: _InternalConfigACLObjectRolesACLWhereInput[];
1097
- AND?: _InternalConfigACLObjectRolesACLWhereInput[];
1098
- };
1099
-
1100
- export enum _InternalConfigOrder {
1101
- configKey_ASC = "configKey_ASC",
1102
- configKey_DESC = "configKey_DESC",
1103
- configValue_ASC = "configValue_ASC",
1104
- configValue_DESC = "configValue_DESC",
1105
- description_ASC = "description_ASC",
1106
- description_DESC = "description_DESC",
1107
- acl_ASC = "acl_ASC",
1108
- acl_DESC = "acl_DESC",
1109
- createdAt_ASC = "createdAt_ASC",
1110
- createdAt_DESC = "createdAt_DESC",
1111
- updatedAt_ASC = "updatedAt_ASC",
1112
- updatedAt_DESC = "updatedAt_DESC",
1113
- search_ASC = "search_ASC",
1114
- search_DESC = "search_DESC",
136
+ export type MutationCustomMutationArgs = {
137
+ input: CustomMutationInput
1115
138
  }
1116
139
 
1117
- export type MeOutput = {
1118
- user?: User;
1119
- };
1120
-
1121
- export type Mutation = {
1122
- createUser?: CreateUserPayload;
1123
- createUsers: UserConnection;
1124
- updateUser?: UpdateUserPayload;
1125
- updateUsers: UserConnection;
1126
- deleteUser?: DeleteUserPayload;
1127
- deleteUsers: UserConnection;
1128
- createPost?: CreatePostPayload;
1129
- createPosts: PostConnection;
1130
- updatePost?: UpdatePostPayload;
1131
- updatePosts: PostConnection;
1132
- deletePost?: DeletePostPayload;
1133
- deletePosts: PostConnection;
1134
- create_Session?: Create_SessionPayload;
1135
- create_Sessions: _SessionConnection;
1136
- update_Session?: Update_SessionPayload;
1137
- update_Sessions: _SessionConnection;
1138
- delete_Session?: Delete_SessionPayload;
1139
- delete_Sessions: _SessionConnection;
1140
- createRole?: CreateRolePayload;
1141
- createRoles: RoleConnection;
1142
- updateRole?: UpdateRolePayload;
1143
- updateRoles: RoleConnection;
1144
- deleteRole?: DeleteRolePayload;
1145
- deleteRoles: RoleConnection;
1146
- create_InternalConfig?: Create_InternalConfigPayload;
1147
- create_InternalConfigs: _InternalConfigConnection;
1148
- update_InternalConfig?: Update_InternalConfigPayload;
1149
- update_InternalConfigs: _InternalConfigConnection;
1150
- delete_InternalConfig?: Delete_InternalConfigPayload;
1151
- delete_InternalConfigs: _InternalConfigConnection;
1152
- createMutation: Scalars['Boolean']['output'];
1153
- customMutation?: Scalars['Int']['output'];
1154
- secondCustomMutation?: Scalars['Int']['output'];
1155
- resetPassword?: Scalars['Boolean']['output'];
1156
- sendOtpCode?: Scalars['Boolean']['output'];
1157
- sendEmail?: Scalars['String']['output'];
1158
- signInWith?: SignInWithOutput;
1159
- signUpWith?: SignUpWithOutput;
1160
- signOut?: Scalars['Boolean']['output'];
1161
- refresh?: RefreshSessionOutput;
1162
- verifyChallenge?: Scalars['Boolean']['output'];
1163
- };
1164
-
1165
- export type MutationCreateUserArgs = {
1166
- input: CreateUserInput;
1167
- };
1168
-
1169
- export type MutationCreateUsersArgs = {
1170
- input: CreateUsersInput;
1171
- };
1172
-
1173
- export type MutationUpdateUserArgs = {
1174
- input: UpdateUserInput;
1175
- };
1176
-
1177
- export type MutationUpdateUsersArgs = {
1178
- input: UpdateUsersInput;
1179
- };
1180
-
1181
- export type MutationDeleteUserArgs = {
1182
- input: DeleteUserInput;
1183
- };
1184
-
1185
- export type MutationDeleteUsersArgs = {
1186
- input: DeleteUsersInput;
1187
- };
1188
-
1189
- export type MutationCreatePostArgs = {
1190
- input: CreatePostInput;
1191
- };
1192
-
1193
- export type MutationCreatePostsArgs = {
1194
- input: CreatePostsInput;
1195
- };
1196
-
1197
- export type MutationUpdatePostArgs = {
1198
- input: UpdatePostInput;
1199
- };
1200
-
1201
- export type MutationUpdatePostsArgs = {
1202
- input: UpdatePostsInput;
1203
- };
1204
-
1205
- export type MutationDeletePostArgs = {
1206
- input: DeletePostInput;
1207
- };
1208
-
1209
- export type MutationDeletePostsArgs = {
1210
- input: DeletePostsInput;
1211
- };
1212
-
1213
- export type MutationCreate_SessionArgs = {
1214
- input: Create_SessionInput;
1215
- };
1216
-
1217
- export type MutationCreate_SessionsArgs = {
1218
- input: Create_SessionsInput;
1219
- };
1220
-
1221
- export type MutationUpdate_SessionArgs = {
1222
- input: Update_SessionInput;
1223
- };
1224
-
1225
- export type MutationUpdate_SessionsArgs = {
1226
- input: Update_SessionsInput;
1227
- };
1228
-
1229
- export type MutationDelete_SessionArgs = {
1230
- input: Delete_SessionInput;
1231
- };
1232
-
1233
- export type MutationDelete_SessionsArgs = {
1234
- input: Delete_SessionsInput;
1235
- };
1236
-
1237
- export type MutationCreateRoleArgs = {
1238
- input: CreateRoleInput;
1239
- };
1240
-
1241
- export type MutationCreateRolesArgs = {
1242
- input: CreateRolesInput;
1243
- };
1244
-
1245
- export type MutationUpdateRoleArgs = {
1246
- input: UpdateRoleInput;
1247
- };
1248
-
1249
- export type MutationUpdateRolesArgs = {
1250
- input: UpdateRolesInput;
1251
- };
1252
-
1253
- export type MutationDeleteRoleArgs = {
1254
- input: DeleteRoleInput;
1255
- };
1256
-
1257
- export type MutationDeleteRolesArgs = {
1258
- input: DeleteRolesInput;
1259
- };
1260
-
1261
- export type MutationCreate_InternalConfigArgs = {
1262
- input: Create_InternalConfigInput;
1263
- };
1264
-
1265
- export type MutationCreate_InternalConfigsArgs = {
1266
- input: Create_InternalConfigsInput;
1267
- };
1268
-
1269
- export type MutationUpdate_InternalConfigArgs = {
1270
- input: Update_InternalConfigInput;
1271
- };
1272
-
1273
- export type MutationUpdate_InternalConfigsArgs = {
1274
- input: Update_InternalConfigsInput;
1275
- };
1276
-
1277
- export type MutationDelete_InternalConfigArgs = {
1278
- input: Delete_InternalConfigInput;
1279
- };
1280
-
1281
- export type MutationDelete_InternalConfigsArgs = {
1282
- input: Delete_InternalConfigsInput;
1283
- };
1284
-
1285
- export type MutationCreateMutationArgs = {
1286
- input: CreateMutationInput;
1287
- };
1288
-
1289
- export type MutationCustomMutationArgs = {
1290
- input: CustomMutationInput;
1291
- };
140
+ export type SecondCustomMutationInput = {
141
+ sum?: SecondCustomMutationSum
142
+ }
1292
143
 
1293
144
  export type MutationSecondCustomMutationArgs = {
1294
- input: SecondCustomMutationInput;
1295
- };
1296
-
1297
- export type MutationResetPasswordArgs = {
1298
- input: ResetPasswordInput;
1299
- };
1300
-
1301
- export type MutationSendOtpCodeArgs = {
1302
- input: SendOtpCodeInput;
1303
- };
1304
-
1305
- export type MutationSendEmailArgs = {
1306
- input: SendEmailInput;
1307
- };
1308
-
1309
- export type MutationSignInWithArgs = {
1310
- input: SignInWithInput;
1311
- };
1312
-
1313
- export type MutationSignUpWithArgs = {
1314
- input: SignUpWithInput;
1315
- };
1316
-
1317
- export type MutationRefreshArgs = {
1318
- input: RefreshInput;
1319
- };
1320
-
1321
- export type MutationVerifyChallengeArgs = {
1322
- input: VerifyChallengeInput;
1323
- };
1324
-
1325
- export type CreateUserPayload = {
1326
- user?: User;
1327
- ok?: Scalars['Boolean']['output'];
1328
- };
1329
-
1330
- export type CreateUserInput = {
1331
- fields?: UserCreateFieldsInput;
1332
- };
1333
-
1334
- export type CreateUsersInput = {
1335
- fields: UserCreateFieldsInput[];
1336
- offset?: Scalars['Int']['input'];
1337
- first?: Scalars['Int']['input'];
1338
- order?: UserOrder[];
1339
- };
1340
-
1341
- export type UpdateUserPayload = {
1342
- user?: User;
1343
- ok?: Scalars['Boolean']['output'];
1344
- };
1345
-
1346
- export type UpdateUserInput = {
1347
- id?: Scalars['ID']['input'];
1348
- fields?: UserUpdateFieldsInput;
1349
- };
1350
-
1351
- export type UserUpdateFieldsInput = {
1352
- name?: Scalars['String']['input'];
1353
- age?: Scalars['Int']['input'];
1354
- email?: Scalars['Email']['input'];
1355
- acl?: UserACLObjectUpdateFieldsInput;
1356
- createdAt?: Scalars['Date']['input'];
1357
- updatedAt?: Scalars['Date']['input'];
1358
- search?: Scalars['String']['input'][];
1359
- authentication?: UserAuthenticationUpdateFieldsInput;
1360
- provider?: AuthenticationProvider;
1361
- isOauth?: Scalars['Boolean']['input'];
1362
- verifiedEmail?: Scalars['Boolean']['input'];
1363
- role?: RolePointerInput;
1364
- sessions?: _SessionRelationInput;
1365
- };
1366
-
1367
- export type UserACLObjectUpdateFieldsInput = {
1368
- users?: UserACLObjectUsersACLUpdateFieldsInput[];
1369
- roles?: UserACLObjectRolesACLUpdateFieldsInput[];
1370
- };
1371
-
1372
- export type UserACLObjectUsersACLUpdateFieldsInput = {
1373
- userId?: Scalars['String']['input'];
1374
- read?: Scalars['Boolean']['input'];
1375
- write?: Scalars['Boolean']['input'];
1376
- };
1377
-
1378
- export type UserACLObjectRolesACLUpdateFieldsInput = {
1379
- roleId?: Scalars['String']['input'];
1380
- read?: Scalars['Boolean']['input'];
1381
- write?: Scalars['Boolean']['input'];
1382
- };
1383
-
1384
- export type UserAuthenticationUpdateFieldsInput = {
1385
- phonePassword?: UserAuthenticationPhonePasswordUpdateFieldsInput;
1386
- emailPassword?: UserAuthenticationEmailPasswordUpdateFieldsInput;
1387
- google?: UserAuthenticationGoogleUpdateFieldsInput;
1388
- github?: UserAuthenticationGithubUpdateFieldsInput;
1389
- };
1390
-
1391
- export type UserAuthenticationPhonePasswordUpdateFieldsInput = {
1392
- phone?: Scalars['Phone']['input'];
1393
- password?: Scalars['String']['input'];
1394
- };
1395
-
1396
- export type UserAuthenticationEmailPasswordUpdateFieldsInput = {
1397
- email?: Scalars['Email']['input'];
1398
- password?: Scalars['String']['input'];
1399
- };
1400
-
1401
- export type UserAuthenticationGoogleUpdateFieldsInput = {
1402
- email?: Scalars['Email']['input'];
1403
- verifiedEmail?: Scalars['Boolean']['input'];
1404
- };
1405
-
1406
- export type UserAuthenticationGithubUpdateFieldsInput = {
1407
- email?: Scalars['Email']['input'];
1408
- avatarUrl?: Scalars['String']['input'];
1409
- username?: Scalars['String']['input'];
1410
- };
1411
-
1412
- export type UpdateUsersInput = {
1413
- fields?: UserUpdateFieldsInput;
1414
- where?: UserWhereInput;
1415
- offset?: Scalars['Int']['input'];
1416
- first?: Scalars['Int']['input'];
1417
- order?: UserOrder[];
1418
- };
1419
-
1420
- export type DeleteUserPayload = {
1421
- user?: User;
1422
- ok?: Scalars['Boolean']['output'];
1423
- };
1424
-
1425
- export type DeleteUserInput = {
1426
- id?: Scalars['ID']['input'];
1427
- };
1428
-
1429
- export type DeleteUsersInput = {
1430
- where?: UserWhereInput;
1431
- order?: UserOrder[];
1432
- };
1433
-
1434
- export type CreatePostPayload = {
1435
- post?: Post;
1436
- ok?: Scalars['Boolean']['output'];
1437
- };
1438
-
1439
- export type CreatePostInput = {
1440
- fields?: PostCreateFieldsInput;
1441
- };
1442
-
1443
- export type CreatePostsInput = {
1444
- fields: PostCreateFieldsInput[];
1445
- offset?: Scalars['Int']['input'];
1446
- first?: Scalars['Int']['input'];
1447
- order?: PostOrder[];
1448
- };
1449
-
1450
- export type UpdatePostPayload = {
1451
- post?: Post;
1452
- ok?: Scalars['Boolean']['output'];
1453
- };
1454
-
1455
- export type UpdatePostInput = {
1456
- id?: Scalars['ID']['input'];
1457
- fields?: PostUpdateFieldsInput;
1458
- };
1459
-
1460
- export type PostUpdateFieldsInput = {
1461
- name?: Scalars['String']['input'];
1462
- test2?: RoleEnum;
1463
- acl?: PostACLObjectUpdateFieldsInput;
1464
- createdAt?: Scalars['Date']['input'];
1465
- updatedAt?: Scalars['Date']['input'];
1466
- search?: Scalars['String']['input'][];
1467
- };
1468
-
1469
- export type PostACLObjectUpdateFieldsInput = {
1470
- users?: PostACLObjectUsersACLUpdateFieldsInput[];
1471
- roles?: PostACLObjectRolesACLUpdateFieldsInput[];
1472
- };
1473
-
1474
- export type PostACLObjectUsersACLUpdateFieldsInput = {
1475
- userId?: Scalars['String']['input'];
1476
- read?: Scalars['Boolean']['input'];
1477
- write?: Scalars['Boolean']['input'];
1478
- };
1479
-
1480
- export type PostACLObjectRolesACLUpdateFieldsInput = {
1481
- roleId?: Scalars['String']['input'];
1482
- read?: Scalars['Boolean']['input'];
1483
- write?: Scalars['Boolean']['input'];
1484
- };
1485
-
1486
- export type UpdatePostsInput = {
1487
- fields?: PostUpdateFieldsInput;
1488
- where?: PostWhereInput;
1489
- offset?: Scalars['Int']['input'];
1490
- first?: Scalars['Int']['input'];
1491
- order?: PostOrder[];
1492
- };
1493
-
1494
- export type DeletePostPayload = {
1495
- post?: Post;
1496
- ok?: Scalars['Boolean']['output'];
1497
- };
1498
-
1499
- export type DeletePostInput = {
1500
- id?: Scalars['ID']['input'];
1501
- };
1502
-
1503
- export type DeletePostsInput = {
1504
- where?: PostWhereInput;
1505
- order?: PostOrder[];
1506
- };
1507
-
1508
- export type Create_SessionPayload = {
1509
- _session?: _Session;
1510
- ok?: Scalars['Boolean']['output'];
1511
- };
1512
-
1513
- export type Create_SessionInput = {
1514
- fields?: _SessionCreateFieldsInput;
1515
- };
1516
-
1517
- export type Create_SessionsInput = {
1518
- fields: _SessionCreateFieldsInput[];
1519
- offset?: Scalars['Int']['input'];
1520
- first?: Scalars['Int']['input'];
1521
- order?: _SessionOrder[];
1522
- };
1523
-
1524
- export type Update_SessionPayload = {
1525
- _session?: _Session;
1526
- ok?: Scalars['Boolean']['output'];
1527
- };
1528
-
1529
- export type Update_SessionInput = {
1530
- id?: Scalars['ID']['input'];
1531
- fields?: _SessionUpdateFieldsInput;
1532
- };
1533
-
1534
- export type _SessionUpdateFieldsInput = {
1535
- user?: UserPointerInput;
1536
- accessToken?: Scalars['String']['input'];
1537
- accessTokenExpiresAt?: Scalars['Date']['input'];
1538
- refreshToken?: Scalars['String']['input'];
1539
- refreshTokenExpiresAt?: Scalars['Date']['input'];
1540
- acl?: _SessionACLObjectUpdateFieldsInput;
1541
- createdAt?: Scalars['Date']['input'];
1542
- updatedAt?: Scalars['Date']['input'];
1543
- search?: Scalars['String']['input'][];
1544
- };
1545
-
1546
- export type _SessionACLObjectUpdateFieldsInput = {
1547
- users?: _SessionACLObjectUsersACLUpdateFieldsInput[];
1548
- roles?: _SessionACLObjectRolesACLUpdateFieldsInput[];
1549
- };
1550
-
1551
- export type _SessionACLObjectUsersACLUpdateFieldsInput = {
1552
- userId?: Scalars['String']['input'];
1553
- read?: Scalars['Boolean']['input'];
1554
- write?: Scalars['Boolean']['input'];
1555
- };
1556
-
1557
- export type _SessionACLObjectRolesACLUpdateFieldsInput = {
1558
- roleId?: Scalars['String']['input'];
1559
- read?: Scalars['Boolean']['input'];
1560
- write?: Scalars['Boolean']['input'];
1561
- };
1562
-
1563
- export type Update_SessionsInput = {
1564
- fields?: _SessionUpdateFieldsInput;
1565
- where?: _SessionWhereInput;
1566
- offset?: Scalars['Int']['input'];
1567
- first?: Scalars['Int']['input'];
1568
- order?: _SessionOrder[];
1569
- };
1570
-
1571
- export type Delete_SessionPayload = {
1572
- _session?: _Session;
1573
- ok?: Scalars['Boolean']['output'];
1574
- };
1575
-
1576
- export type Delete_SessionInput = {
1577
- id?: Scalars['ID']['input'];
1578
- };
1579
-
1580
- export type Delete_SessionsInput = {
1581
- where?: _SessionWhereInput;
1582
- order?: _SessionOrder[];
1583
- };
1584
-
1585
- export type CreateRolePayload = {
1586
- role?: Role;
1587
- ok?: Scalars['Boolean']['output'];
1588
- };
1589
-
1590
- export type CreateRoleInput = {
1591
- fields?: RoleCreateFieldsInput;
1592
- };
1593
-
1594
- export type CreateRolesInput = {
1595
- fields: RoleCreateFieldsInput[];
1596
- offset?: Scalars['Int']['input'];
1597
- first?: Scalars['Int']['input'];
1598
- order?: RoleOrder[];
1599
- };
1600
-
1601
- export type UpdateRolePayload = {
1602
- role?: Role;
1603
- ok?: Scalars['Boolean']['output'];
1604
- };
1605
-
1606
- export type UpdateRoleInput = {
1607
- id?: Scalars['ID']['input'];
1608
- fields?: RoleUpdateFieldsInput;
1609
- };
1610
-
1611
- export type RoleUpdateFieldsInput = {
1612
- name?: Scalars['String']['input'];
1613
- users?: UserRelationInput;
1614
- acl?: RoleACLObjectUpdateFieldsInput;
1615
- createdAt?: Scalars['Date']['input'];
1616
- updatedAt?: Scalars['Date']['input'];
1617
- search?: Scalars['String']['input'][];
1618
- };
1619
-
1620
- export type RoleACLObjectUpdateFieldsInput = {
1621
- users?: RoleACLObjectUsersACLUpdateFieldsInput[];
1622
- roles?: RoleACLObjectRolesACLUpdateFieldsInput[];
1623
- };
1624
-
1625
- export type RoleACLObjectUsersACLUpdateFieldsInput = {
1626
- userId?: Scalars['String']['input'];
1627
- read?: Scalars['Boolean']['input'];
1628
- write?: Scalars['Boolean']['input'];
1629
- };
1630
-
1631
- export type RoleACLObjectRolesACLUpdateFieldsInput = {
1632
- roleId?: Scalars['String']['input'];
1633
- read?: Scalars['Boolean']['input'];
1634
- write?: Scalars['Boolean']['input'];
1635
- };
1636
-
1637
- export type UpdateRolesInput = {
1638
- fields?: RoleUpdateFieldsInput;
1639
- where?: RoleWhereInput;
1640
- offset?: Scalars['Int']['input'];
1641
- first?: Scalars['Int']['input'];
1642
- order?: RoleOrder[];
1643
- };
1644
-
1645
- export type DeleteRolePayload = {
1646
- role?: Role;
1647
- ok?: Scalars['Boolean']['output'];
1648
- };
1649
-
1650
- export type DeleteRoleInput = {
1651
- id?: Scalars['ID']['input'];
1652
- };
1653
-
1654
- export type DeleteRolesInput = {
1655
- where?: RoleWhereInput;
1656
- order?: RoleOrder[];
1657
- };
1658
-
1659
- export type Create_InternalConfigPayload = {
1660
- _internalConfig?: _InternalConfig;
1661
- ok?: Scalars['Boolean']['output'];
1662
- };
1663
-
1664
- export type Create_InternalConfigInput = {
1665
- fields?: _InternalConfigCreateFieldsInput;
1666
- };
1667
-
1668
- export type Create_InternalConfigsInput = {
1669
- fields: _InternalConfigCreateFieldsInput[];
1670
- offset?: Scalars['Int']['input'];
1671
- first?: Scalars['Int']['input'];
1672
- order?: _InternalConfigOrder[];
1673
- };
1674
-
1675
- export type Update_InternalConfigPayload = {
1676
- _internalConfig?: _InternalConfig;
1677
- ok?: Scalars['Boolean']['output'];
1678
- };
1679
-
1680
- export type Update_InternalConfigInput = {
1681
- id?: Scalars['ID']['input'];
1682
- fields?: _InternalConfigUpdateFieldsInput;
1683
- };
145
+ input: SecondCustomMutationInput
146
+ }
1684
147
 
1685
- export type _InternalConfigUpdateFieldsInput = {
1686
- configKey?: Scalars['String']['input'];
1687
- configValue?: Scalars['String']['input'];
1688
- description?: Scalars['String']['input'];
1689
- acl?: _InternalConfigACLObjectUpdateFieldsInput;
1690
- createdAt?: Scalars['Date']['input'];
1691
- updatedAt?: Scalars['Date']['input'];
1692
- search?: Scalars['String']['input'][];
1693
- };
148
+ export type SecondCustomMutationSum = {
149
+ a: number,
150
+ b: number
151
+ }
1694
152
 
1695
- export type _InternalConfigACLObjectUpdateFieldsInput = {
1696
- users?: _InternalConfigACLObjectUsersACLUpdateFieldsInput[];
1697
- roles?: _InternalConfigACLObjectRolesACLUpdateFieldsInput[];
1698
- };
153
+ export type ResetPasswordInput = {
154
+ password: string,
155
+ email: string,
156
+ otp: string,
157
+ provider: AuthenticationProvider
158
+ }
1699
159
 
1700
- export type _InternalConfigACLObjectUsersACLUpdateFieldsInput = {
1701
- userId?: Scalars['String']['input'];
1702
- read?: Scalars['Boolean']['input'];
1703
- write?: Scalars['Boolean']['input'];
1704
- };
160
+ export type MutationResetPasswordArgs = {
161
+ input: ResetPasswordInput
162
+ }
1705
163
 
1706
- export type _InternalConfigACLObjectRolesACLUpdateFieldsInput = {
1707
- roleId?: Scalars['String']['input'];
1708
- read?: Scalars['Boolean']['input'];
1709
- write?: Scalars['Boolean']['input'];
1710
- };
164
+ export type SendOtpCodeInput = {
165
+ email: string
166
+ }
1711
167
 
1712
- export type Update_InternalConfigsInput = {
1713
- fields?: _InternalConfigUpdateFieldsInput;
1714
- where?: _InternalConfigWhereInput;
1715
- offset?: Scalars['Int']['input'];
1716
- first?: Scalars['Int']['input'];
1717
- order?: _InternalConfigOrder[];
1718
- };
168
+ export type MutationSendOtpCodeArgs = {
169
+ input: SendOtpCodeInput
170
+ }
1719
171
 
1720
- export type Delete_InternalConfigPayload = {
1721
- _internalConfig?: _InternalConfig;
1722
- ok?: Scalars['Boolean']['output'];
1723
- };
172
+ export type SendEmailInput = {
173
+ from: string,
174
+ to: Array<string>,
175
+ subject: string,
176
+ text?: string,
177
+ html?: string
178
+ }
1724
179
 
1725
- export type Delete_InternalConfigInput = {
1726
- id?: Scalars['ID']['input'];
1727
- };
180
+ export type MutationSendEmailArgs = {
181
+ input: SendEmailInput
182
+ }
1728
183
 
1729
- export type Delete_InternalConfigsInput = {
1730
- where?: _InternalConfigWhereInput;
1731
- order?: _InternalConfigOrder[];
1732
- };
184
+ export type SignInWithInput = {
185
+ authentication: SignInWithAuthentication
186
+ }
1733
187
 
1734
- export type CreateMutationInput = {
1735
- name: Scalars['Int']['input'];
1736
- };
188
+ export type MutationSignInWithArgs = {
189
+ input: SignInWithInput
190
+ }
1737
191
 
1738
- export type CustomMutationInput = {
1739
- a: Scalars['Int']['input'];
1740
- b: Scalars['Int']['input'];
1741
- };
192
+ export type SignInWithAuthenticationPhonePassword = {
193
+ phone: string,
194
+ password: string
195
+ }
1742
196
 
1743
- export type SecondCustomMutationInput = {
1744
- sum?: SecondCustomMutationSumInput;
1745
- };
197
+ export type SignInWithAuthentication = {
198
+ phonePassword?: SignInWithAuthenticationPhonePassword,
199
+ emailPassword?: SignInWithAuthenticationEmailPassword,
200
+ google?: SignInWithAuthenticationGoogle,
201
+ github?: SignInWithAuthenticationGithub,
202
+ otp?: SignInWithAuthenticationOtp,
203
+ secondaryFactor?: SecondaryFactor
204
+ }
1746
205
 
1747
- export type SecondCustomMutationSumInput = {
1748
- a: Scalars['Int']['input'];
1749
- b: Scalars['Int']['input'];
1750
- };
206
+ export type SignInWithAuthenticationEmailPassword = {
207
+ email: string,
208
+ password: string
209
+ }
1751
210
 
1752
- export type ResetPasswordInput = {
1753
- password: Scalars['String']['input'];
1754
- email: Scalars['Email']['input'];
1755
- otp: Scalars['String']['input'];
1756
- provider: AuthenticationProvider;
1757
- };
211
+ export type SignInWithAuthenticationGoogle = {
212
+ authorizationCode: string,
213
+ codeVerifier: string
214
+ }
1758
215
 
1759
- export type SendOtpCodeInput = {
1760
- email: Scalars['Email']['input'];
1761
- };
216
+ export type SignInWithAuthenticationGithub = {
217
+ authorizationCode: string,
218
+ codeVerifier: string
219
+ }
1762
220
 
1763
- export type SendEmailInput = {
1764
- from: Scalars['String']['input'];
1765
- to: Scalars['String']['input'][];
1766
- subject: Scalars['String']['input'];
1767
- text?: Scalars['String']['input'];
1768
- html?: Scalars['String']['input'];
1769
- };
221
+ export type SignInWithAuthenticationOtp = {
222
+ code?: string
223
+ }
1770
224
 
1771
- export type SignInWithOutput = {
1772
- id?: Scalars['String']['output'];
1773
- accessToken?: Scalars['String']['output'];
1774
- refreshToken?: Scalars['String']['output'];
1775
- };
225
+ export type SignUpWithInput = {
226
+ authentication: SignUpWithAuthentication
227
+ }
1776
228
 
1777
- export type SignInWithInput = {
1778
- authentication: SignInWithAuthenticationInput;
1779
- };
229
+ export type MutationSignUpWithArgs = {
230
+ input: SignUpWithInput
231
+ }
1780
232
 
1781
- export type SignInWithAuthenticationInput = {
1782
- phonePassword?: SignInWithAuthenticationPhonePasswordInput;
1783
- emailPassword?: SignInWithAuthenticationEmailPasswordInput;
1784
- google?: SignInWithAuthenticationGoogleInput;
1785
- github?: SignInWithAuthenticationGithubInput;
1786
- otp?: SignInWithAuthenticationOtpInput;
1787
- secondaryFactor?: SecondaryFactor;
1788
- };
233
+ export type SignUpWithAuthenticationPhonePassword = {
234
+ phone: string,
235
+ password: string
236
+ }
1789
237
 
1790
- export type SignInWithAuthenticationPhonePasswordInput = {
1791
- phone: Scalars['Phone']['input'];
1792
- password: Scalars['String']['input'];
1793
- };
238
+ export type SignUpWithAuthentication = {
239
+ phonePassword?: SignUpWithAuthenticationPhonePassword,
240
+ emailPassword?: SignUpWithAuthenticationEmailPassword,
241
+ google?: SignUpWithAuthenticationGoogle,
242
+ github?: SignUpWithAuthenticationGithub,
243
+ otp?: SignUpWithAuthenticationOtp,
244
+ secondaryFactor?: SecondaryFactor
245
+ }
1794
246
 
1795
- export type SignInWithAuthenticationEmailPasswordInput = {
1796
- email: Scalars['Email']['input'];
1797
- password: Scalars['String']['input'];
1798
- };
247
+ export type SignUpWithAuthenticationEmailPassword = {
248
+ email: string,
249
+ password: string
250
+ }
1799
251
 
1800
- export type SignInWithAuthenticationGoogleInput = {
1801
- authorizationCode: Scalars['String']['input'];
1802
- codeVerifier: Scalars['String']['input'];
1803
- };
252
+ export type SignUpWithAuthenticationGoogle = {
253
+ authorizationCode: string,
254
+ codeVerifier: string
255
+ }
1804
256
 
1805
- export type SignInWithAuthenticationGithubInput = {
1806
- authorizationCode: Scalars['String']['input'];
1807
- codeVerifier: Scalars['String']['input'];
1808
- };
257
+ export type SignUpWithAuthenticationGithub = {
258
+ authorizationCode: string,
259
+ codeVerifier: string
260
+ }
1809
261
 
1810
- export type SignInWithAuthenticationOtpInput = {
1811
- code?: Scalars['String']['input'];
1812
- };
262
+ export type SignUpWithAuthenticationOtp = {
263
+ code?: string
264
+ }
1813
265
 
1814
- export type SignUpWithOutput = {
1815
- id?: Scalars['String']['output'];
1816
- accessToken: Scalars['String']['output'];
1817
- refreshToken: Scalars['String']['output'];
1818
- };
266
+ export type SignOutInput = {
1819
267
 
1820
- export type SignUpWithInput = {
1821
- authentication: SignUpWithAuthenticationInput;
1822
- };
268
+ }
1823
269
 
1824
- export type SignUpWithAuthenticationInput = {
1825
- phonePassword?: SignUpWithAuthenticationPhonePasswordInput;
1826
- emailPassword?: SignUpWithAuthenticationEmailPasswordInput;
1827
- google?: SignUpWithAuthenticationGoogleInput;
1828
- github?: SignUpWithAuthenticationGithubInput;
1829
- otp?: SignUpWithAuthenticationOtpInput;
1830
- secondaryFactor?: SecondaryFactor;
1831
- };
270
+ export type MutationSignOutArgs = {
271
+ input: SignOutInput
272
+ }
1832
273
 
1833
- export type SignUpWithAuthenticationPhonePasswordInput = {
1834
- phone: Scalars['Phone']['input'];
1835
- password: Scalars['String']['input'];
1836
- };
274
+ export type RefreshInput = {
275
+ accessToken: string,
276
+ refreshToken: string
277
+ }
1837
278
 
1838
- export type SignUpWithAuthenticationEmailPasswordInput = {
1839
- email: Scalars['Email']['input'];
1840
- password: Scalars['String']['input'];
1841
- };
279
+ export type MutationRefreshArgs = {
280
+ input: RefreshInput
281
+ }
1842
282
 
1843
- export type SignUpWithAuthenticationGoogleInput = {
1844
- authorizationCode: Scalars['String']['input'];
1845
- codeVerifier: Scalars['String']['input'];
1846
- };
283
+ export type VerifyChallengeInput = {
284
+ factor?: VerifyChallengeFactor
285
+ }
1847
286
 
1848
- export type SignUpWithAuthenticationGithubInput = {
1849
- authorizationCode: Scalars['String']['input'];
1850
- codeVerifier: Scalars['String']['input'];
1851
- };
287
+ export type MutationVerifyChallengeArgs = {
288
+ input: VerifyChallengeInput
289
+ }
1852
290
 
1853
- export type SignUpWithAuthenticationOtpInput = {
1854
- code?: Scalars['String']['input'];
1855
- };
291
+ export type VerifyChallengeFactorOtp = {
292
+ code?: string
293
+ }
1856
294
 
1857
- export type RefreshSessionOutput = {
1858
- accessToken: Scalars['String']['output'];
1859
- refreshToken: Scalars['String']['output'];
1860
- };
295
+ export type VerifyChallengeFactor = {
296
+ otp?: VerifyChallengeFactorOtp
297
+ }
1861
298
 
1862
- export type RefreshInput = {
1863
- accessToken: Scalars['String']['input'];
1864
- refreshToken: Scalars['String']['input'];
1865
- };
299
+ export type HelloWorldInput = {
300
+ name: string
301
+ }
1866
302
 
1867
- export type VerifyChallengeInput = {
1868
- factor?: VerifyChallengeFactorInput;
1869
- };
303
+ export type QueryHelloWorldArgs = {
304
+ input: HelloWorldInput
305
+ }
1870
306
 
1871
- export type VerifyChallengeFactorInput = {
1872
- otp?: VerifyChallengeFactorOtpInput;
1873
- };
307
+ export type MeInput = {
1874
308
 
1875
- export type VerifyChallengeFactorOtpInput = {
1876
- code?: Scalars['String']['input'];
1877
- };
309
+ }
1878
310
 
311
+ export type QueryMeArgs = {
312
+ input: MeInput
313
+ }
1879
314
 
1880
315
  export type WabeSchemaScalars = ""
1881
316