@manuelp1345/graph-generator 1.2.14 → 1.2.16
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/dist/cli.js +1 -1
- package/dist/codegen.js +1 -1
- package/dist/generated.js +61 -2
- package/package.json +1 -1
- package/src/cli.ts +1 -1
- package/src/codegen.ts +2 -1
- package/src/generated.tsx +1465 -22
- package/src/user/queries.graphql +4 -1
package/src/generated.tsx
CHANGED
@@ -15,6 +15,7 @@ export type Scalars = {
|
|
15
15
|
Boolean: { input: boolean; output: boolean; }
|
16
16
|
Int: { input: number; output: number; }
|
17
17
|
Float: { input: number; output: number; }
|
18
|
+
DateTimeISO: { input: any; output: any; }
|
18
19
|
};
|
19
20
|
|
20
21
|
export type AffectedRowsOutput = {
|
@@ -31,10 +32,199 @@ export type AggregateUser = {
|
|
31
32
|
_sum?: Maybe<UserSumAggregate>;
|
32
33
|
};
|
33
34
|
|
35
|
+
export type AggregateUserInformation = {
|
36
|
+
__typename?: 'AggregateUserInformation';
|
37
|
+
_avg?: Maybe<UserInformationAvgAggregate>;
|
38
|
+
_count?: Maybe<UserInformationCountAggregate>;
|
39
|
+
_max?: Maybe<UserInformationMaxAggregate>;
|
40
|
+
_min?: Maybe<UserInformationMinAggregate>;
|
41
|
+
_sum?: Maybe<UserInformationSumAggregate>;
|
42
|
+
};
|
43
|
+
|
44
|
+
export type AggregateUserSettings = {
|
45
|
+
__typename?: 'AggregateUserSettings';
|
46
|
+
_avg?: Maybe<UserSettingsAvgAggregate>;
|
47
|
+
_count?: Maybe<UserSettingsCountAggregate>;
|
48
|
+
_max?: Maybe<UserSettingsMaxAggregate>;
|
49
|
+
_min?: Maybe<UserSettingsMinAggregate>;
|
50
|
+
_sum?: Maybe<UserSettingsSumAggregate>;
|
51
|
+
};
|
52
|
+
|
34
53
|
export type CreateManyAndReturnUser = {
|
35
54
|
__typename?: 'CreateManyAndReturnUser';
|
55
|
+
email: Scalars['String']['output'];
|
56
|
+
firstName: Scalars['String']['output'];
|
57
|
+
id: Scalars['Int']['output'];
|
58
|
+
lastName?: Maybe<Scalars['String']['output']>;
|
59
|
+
role: Role;
|
60
|
+
};
|
61
|
+
|
62
|
+
export type CreateManyAndReturnUserInformation = {
|
63
|
+
__typename?: 'CreateManyAndReturnUserInformation';
|
64
|
+
age: Scalars['Int']['output'];
|
65
|
+
daysToTrain?: Maybe<Array<DaysToTrain>>;
|
66
|
+
gender: Gender;
|
67
|
+
height?: Maybe<Scalars['Float']['output']>;
|
68
|
+
id: Scalars['Int']['output'];
|
69
|
+
image?: Maybe<Scalars['String']['output']>;
|
70
|
+
injury?: Maybe<Scalars['String']['output']>;
|
71
|
+
medicalCondition?: Maybe<Array<Scalars['String']['output']>>;
|
72
|
+
pathology?: Maybe<Scalars['String']['output']>;
|
73
|
+
targetOptions?: Maybe<TargetOptions>;
|
74
|
+
timeToTrain?: Maybe<Scalars['DateTimeISO']['output']>;
|
75
|
+
user: User;
|
76
|
+
userId: Scalars['Int']['output'];
|
77
|
+
weight?: Maybe<Scalars['Float']['output']>;
|
78
|
+
};
|
79
|
+
|
80
|
+
export type CreateManyAndReturnUserSettings = {
|
81
|
+
__typename?: 'CreateManyAndReturnUserSettings';
|
36
82
|
id: Scalars['Int']['output'];
|
37
|
-
|
83
|
+
theme?: Maybe<Scalars['String']['output']>;
|
84
|
+
user: User;
|
85
|
+
userId: Scalars['Int']['output'];
|
86
|
+
};
|
87
|
+
|
88
|
+
export type DateTimeNullableFilter = {
|
89
|
+
equals?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
90
|
+
gt?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
91
|
+
gte?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
92
|
+
in?: InputMaybe<Array<Scalars['DateTimeISO']['input']>>;
|
93
|
+
lt?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
94
|
+
lte?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
95
|
+
not?: InputMaybe<NestedDateTimeNullableFilter>;
|
96
|
+
notIn?: InputMaybe<Array<Scalars['DateTimeISO']['input']>>;
|
97
|
+
};
|
98
|
+
|
99
|
+
export type DateTimeNullableWithAggregatesFilter = {
|
100
|
+
_count?: InputMaybe<NestedIntNullableFilter>;
|
101
|
+
_max?: InputMaybe<NestedDateTimeNullableFilter>;
|
102
|
+
_min?: InputMaybe<NestedDateTimeNullableFilter>;
|
103
|
+
equals?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
104
|
+
gt?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
105
|
+
gte?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
106
|
+
in?: InputMaybe<Array<Scalars['DateTimeISO']['input']>>;
|
107
|
+
lt?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
108
|
+
lte?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
109
|
+
not?: InputMaybe<NestedDateTimeNullableWithAggregatesFilter>;
|
110
|
+
notIn?: InputMaybe<Array<Scalars['DateTimeISO']['input']>>;
|
111
|
+
};
|
112
|
+
|
113
|
+
export enum DaysToTrain {
|
114
|
+
FRIDAY = 'FRIDAY',
|
115
|
+
MONDAY = 'MONDAY',
|
116
|
+
SATURDAY = 'SATURDAY',
|
117
|
+
SUNDAY = 'SUNDAY',
|
118
|
+
THURSDAY = 'THURSDAY',
|
119
|
+
TUESDAY = 'TUESDAY',
|
120
|
+
WEDNESDAY = 'WEDNESDAY'
|
121
|
+
}
|
122
|
+
|
123
|
+
export type EnumDaysToTrainNullableListFilter = {
|
124
|
+
equals?: InputMaybe<Array<DaysToTrain>>;
|
125
|
+
has?: InputMaybe<DaysToTrain>;
|
126
|
+
hasEvery?: InputMaybe<Array<DaysToTrain>>;
|
127
|
+
hasSome?: InputMaybe<Array<DaysToTrain>>;
|
128
|
+
isEmpty?: InputMaybe<Scalars['Boolean']['input']>;
|
129
|
+
};
|
130
|
+
|
131
|
+
export type EnumGenderFieldUpdateOperationsInput = {
|
132
|
+
set?: InputMaybe<Gender>;
|
133
|
+
};
|
134
|
+
|
135
|
+
export type EnumGenderFilter = {
|
136
|
+
equals?: InputMaybe<Gender>;
|
137
|
+
in?: InputMaybe<Array<Gender>>;
|
138
|
+
not?: InputMaybe<NestedEnumGenderFilter>;
|
139
|
+
notIn?: InputMaybe<Array<Gender>>;
|
140
|
+
};
|
141
|
+
|
142
|
+
export type EnumGenderWithAggregatesFilter = {
|
143
|
+
_count?: InputMaybe<NestedIntFilter>;
|
144
|
+
_max?: InputMaybe<NestedEnumGenderFilter>;
|
145
|
+
_min?: InputMaybe<NestedEnumGenderFilter>;
|
146
|
+
equals?: InputMaybe<Gender>;
|
147
|
+
in?: InputMaybe<Array<Gender>>;
|
148
|
+
not?: InputMaybe<NestedEnumGenderWithAggregatesFilter>;
|
149
|
+
notIn?: InputMaybe<Array<Gender>>;
|
150
|
+
};
|
151
|
+
|
152
|
+
export type EnumRoleFieldUpdateOperationsInput = {
|
153
|
+
set?: InputMaybe<Role>;
|
154
|
+
};
|
155
|
+
|
156
|
+
export type EnumRoleFilter = {
|
157
|
+
equals?: InputMaybe<Role>;
|
158
|
+
in?: InputMaybe<Array<Role>>;
|
159
|
+
not?: InputMaybe<NestedEnumRoleFilter>;
|
160
|
+
notIn?: InputMaybe<Array<Role>>;
|
161
|
+
};
|
162
|
+
|
163
|
+
export type EnumRoleWithAggregatesFilter = {
|
164
|
+
_count?: InputMaybe<NestedIntFilter>;
|
165
|
+
_max?: InputMaybe<NestedEnumRoleFilter>;
|
166
|
+
_min?: InputMaybe<NestedEnumRoleFilter>;
|
167
|
+
equals?: InputMaybe<Role>;
|
168
|
+
in?: InputMaybe<Array<Role>>;
|
169
|
+
not?: InputMaybe<NestedEnumRoleWithAggregatesFilter>;
|
170
|
+
notIn?: InputMaybe<Array<Role>>;
|
171
|
+
};
|
172
|
+
|
173
|
+
export type EnumtargetOptionsNullableFilter = {
|
174
|
+
equals?: InputMaybe<TargetOptions>;
|
175
|
+
in?: InputMaybe<Array<TargetOptions>>;
|
176
|
+
not?: InputMaybe<NestedEnumtargetOptionsNullableFilter>;
|
177
|
+
notIn?: InputMaybe<Array<TargetOptions>>;
|
178
|
+
};
|
179
|
+
|
180
|
+
export type EnumtargetOptionsNullableWithAggregatesFilter = {
|
181
|
+
_count?: InputMaybe<NestedIntNullableFilter>;
|
182
|
+
_max?: InputMaybe<NestedEnumtargetOptionsNullableFilter>;
|
183
|
+
_min?: InputMaybe<NestedEnumtargetOptionsNullableFilter>;
|
184
|
+
equals?: InputMaybe<TargetOptions>;
|
185
|
+
in?: InputMaybe<Array<TargetOptions>>;
|
186
|
+
not?: InputMaybe<NestedEnumtargetOptionsNullableWithAggregatesFilter>;
|
187
|
+
notIn?: InputMaybe<Array<TargetOptions>>;
|
188
|
+
};
|
189
|
+
|
190
|
+
export type FloatNullableFilter = {
|
191
|
+
equals?: InputMaybe<Scalars['Float']['input']>;
|
192
|
+
gt?: InputMaybe<Scalars['Float']['input']>;
|
193
|
+
gte?: InputMaybe<Scalars['Float']['input']>;
|
194
|
+
in?: InputMaybe<Array<Scalars['Float']['input']>>;
|
195
|
+
lt?: InputMaybe<Scalars['Float']['input']>;
|
196
|
+
lte?: InputMaybe<Scalars['Float']['input']>;
|
197
|
+
not?: InputMaybe<NestedFloatNullableFilter>;
|
198
|
+
notIn?: InputMaybe<Array<Scalars['Float']['input']>>;
|
199
|
+
};
|
200
|
+
|
201
|
+
export type FloatNullableWithAggregatesFilter = {
|
202
|
+
_avg?: InputMaybe<NestedFloatNullableFilter>;
|
203
|
+
_count?: InputMaybe<NestedIntNullableFilter>;
|
204
|
+
_max?: InputMaybe<NestedFloatNullableFilter>;
|
205
|
+
_min?: InputMaybe<NestedFloatNullableFilter>;
|
206
|
+
_sum?: InputMaybe<NestedFloatNullableFilter>;
|
207
|
+
equals?: InputMaybe<Scalars['Float']['input']>;
|
208
|
+
gt?: InputMaybe<Scalars['Float']['input']>;
|
209
|
+
gte?: InputMaybe<Scalars['Float']['input']>;
|
210
|
+
in?: InputMaybe<Array<Scalars['Float']['input']>>;
|
211
|
+
lt?: InputMaybe<Scalars['Float']['input']>;
|
212
|
+
lte?: InputMaybe<Scalars['Float']['input']>;
|
213
|
+
not?: InputMaybe<NestedFloatNullableWithAggregatesFilter>;
|
214
|
+
notIn?: InputMaybe<Array<Scalars['Float']['input']>>;
|
215
|
+
};
|
216
|
+
|
217
|
+
export enum Gender {
|
218
|
+
F = 'F',
|
219
|
+
M = 'M'
|
220
|
+
}
|
221
|
+
|
222
|
+
export type IntFieldUpdateOperationsInput = {
|
223
|
+
decrement?: InputMaybe<Scalars['Int']['input']>;
|
224
|
+
divide?: InputMaybe<Scalars['Int']['input']>;
|
225
|
+
increment?: InputMaybe<Scalars['Int']['input']>;
|
226
|
+
multiply?: InputMaybe<Scalars['Int']['input']>;
|
227
|
+
set?: InputMaybe<Scalars['Int']['input']>;
|
38
228
|
};
|
39
229
|
|
40
230
|
export type IntFilter = {
|
@@ -67,28 +257,80 @@ export type IntWithAggregatesFilter = {
|
|
67
257
|
export type Mutation = {
|
68
258
|
__typename?: 'Mutation';
|
69
259
|
createManyAndReturnUser: Array<CreateManyAndReturnUser>;
|
260
|
+
createManyAndReturnUserInformation: Array<CreateManyAndReturnUserInformation>;
|
261
|
+
createManyAndReturnUserSettings: Array<CreateManyAndReturnUserSettings>;
|
70
262
|
createManyUser: AffectedRowsOutput;
|
263
|
+
createManyUserInformation: AffectedRowsOutput;
|
264
|
+
createManyUserSettings: AffectedRowsOutput;
|
71
265
|
createOneUser: User;
|
266
|
+
createOneUserInformation: UserInformation;
|
267
|
+
createOneUserSettings: UserSettings;
|
72
268
|
deleteManyUser: AffectedRowsOutput;
|
269
|
+
deleteManyUserInformation: AffectedRowsOutput;
|
270
|
+
deleteManyUserSettings: AffectedRowsOutput;
|
73
271
|
deleteOneUser?: Maybe<User>;
|
272
|
+
deleteOneUserInformation?: Maybe<UserInformation>;
|
273
|
+
deleteOneUserSettings?: Maybe<UserSettings>;
|
74
274
|
updateManyUser: AffectedRowsOutput;
|
275
|
+
updateManyUserInformation: AffectedRowsOutput;
|
276
|
+
updateManyUserSettings: AffectedRowsOutput;
|
75
277
|
updateOneUser?: Maybe<User>;
|
278
|
+
updateOneUserInformation?: Maybe<UserInformation>;
|
279
|
+
updateOneUserSettings?: Maybe<UserSettings>;
|
76
280
|
upsertOneUser: User;
|
281
|
+
upsertOneUserInformation: UserInformation;
|
282
|
+
upsertOneUserSettings: UserSettings;
|
77
283
|
};
|
78
284
|
|
79
285
|
|
80
286
|
export type MutationCreateManyAndReturnUserArgs = {
|
81
287
|
data: Array<UserCreateManyInput>;
|
288
|
+
skipDuplicates?: InputMaybe<Scalars['Boolean']['input']>;
|
289
|
+
};
|
290
|
+
|
291
|
+
|
292
|
+
export type MutationCreateManyAndReturnUserInformationArgs = {
|
293
|
+
data: Array<UserInformationCreateManyInput>;
|
294
|
+
skipDuplicates?: InputMaybe<Scalars['Boolean']['input']>;
|
295
|
+
};
|
296
|
+
|
297
|
+
|
298
|
+
export type MutationCreateManyAndReturnUserSettingsArgs = {
|
299
|
+
data: Array<UserSettingsCreateManyInput>;
|
300
|
+
skipDuplicates?: InputMaybe<Scalars['Boolean']['input']>;
|
82
301
|
};
|
83
302
|
|
84
303
|
|
85
304
|
export type MutationCreateManyUserArgs = {
|
86
305
|
data: Array<UserCreateManyInput>;
|
306
|
+
skipDuplicates?: InputMaybe<Scalars['Boolean']['input']>;
|
307
|
+
};
|
308
|
+
|
309
|
+
|
310
|
+
export type MutationCreateManyUserInformationArgs = {
|
311
|
+
data: Array<UserInformationCreateManyInput>;
|
312
|
+
skipDuplicates?: InputMaybe<Scalars['Boolean']['input']>;
|
313
|
+
};
|
314
|
+
|
315
|
+
|
316
|
+
export type MutationCreateManyUserSettingsArgs = {
|
317
|
+
data: Array<UserSettingsCreateManyInput>;
|
318
|
+
skipDuplicates?: InputMaybe<Scalars['Boolean']['input']>;
|
87
319
|
};
|
88
320
|
|
89
321
|
|
90
322
|
export type MutationCreateOneUserArgs = {
|
91
|
-
data
|
323
|
+
data: UserCreateInput;
|
324
|
+
};
|
325
|
+
|
326
|
+
|
327
|
+
export type MutationCreateOneUserInformationArgs = {
|
328
|
+
data: UserInformationCreateInput;
|
329
|
+
};
|
330
|
+
|
331
|
+
|
332
|
+
export type MutationCreateOneUserSettingsArgs = {
|
333
|
+
data: UserSettingsCreateInput;
|
92
334
|
};
|
93
335
|
|
94
336
|
|
@@ -97,29 +339,163 @@ export type MutationDeleteManyUserArgs = {
|
|
97
339
|
};
|
98
340
|
|
99
341
|
|
342
|
+
export type MutationDeleteManyUserInformationArgs = {
|
343
|
+
where?: InputMaybe<UserInformationWhereInput>;
|
344
|
+
};
|
345
|
+
|
346
|
+
|
347
|
+
export type MutationDeleteManyUserSettingsArgs = {
|
348
|
+
where?: InputMaybe<UserSettingsWhereInput>;
|
349
|
+
};
|
350
|
+
|
351
|
+
|
100
352
|
export type MutationDeleteOneUserArgs = {
|
101
353
|
where: UserWhereUniqueInput;
|
102
354
|
};
|
103
355
|
|
104
356
|
|
357
|
+
export type MutationDeleteOneUserInformationArgs = {
|
358
|
+
where: UserInformationWhereUniqueInput;
|
359
|
+
};
|
360
|
+
|
361
|
+
|
362
|
+
export type MutationDeleteOneUserSettingsArgs = {
|
363
|
+
where: UserSettingsWhereUniqueInput;
|
364
|
+
};
|
365
|
+
|
366
|
+
|
105
367
|
export type MutationUpdateManyUserArgs = {
|
106
368
|
data: UserUpdateManyMutationInput;
|
107
369
|
where?: InputMaybe<UserWhereInput>;
|
108
370
|
};
|
109
371
|
|
110
372
|
|
373
|
+
export type MutationUpdateManyUserInformationArgs = {
|
374
|
+
data: UserInformationUpdateManyMutationInput;
|
375
|
+
where?: InputMaybe<UserInformationWhereInput>;
|
376
|
+
};
|
377
|
+
|
378
|
+
|
379
|
+
export type MutationUpdateManyUserSettingsArgs = {
|
380
|
+
data: UserSettingsUpdateManyMutationInput;
|
381
|
+
where?: InputMaybe<UserSettingsWhereInput>;
|
382
|
+
};
|
383
|
+
|
384
|
+
|
111
385
|
export type MutationUpdateOneUserArgs = {
|
112
386
|
data: UserUpdateInput;
|
113
387
|
where: UserWhereUniqueInput;
|
114
388
|
};
|
115
389
|
|
116
390
|
|
391
|
+
export type MutationUpdateOneUserInformationArgs = {
|
392
|
+
data: UserInformationUpdateInput;
|
393
|
+
where: UserInformationWhereUniqueInput;
|
394
|
+
};
|
395
|
+
|
396
|
+
|
397
|
+
export type MutationUpdateOneUserSettingsArgs = {
|
398
|
+
data: UserSettingsUpdateInput;
|
399
|
+
where: UserSettingsWhereUniqueInput;
|
400
|
+
};
|
401
|
+
|
402
|
+
|
117
403
|
export type MutationUpsertOneUserArgs = {
|
118
404
|
create: UserCreateInput;
|
119
405
|
update: UserUpdateInput;
|
120
406
|
where: UserWhereUniqueInput;
|
121
407
|
};
|
122
408
|
|
409
|
+
|
410
|
+
export type MutationUpsertOneUserInformationArgs = {
|
411
|
+
create: UserInformationCreateInput;
|
412
|
+
update: UserInformationUpdateInput;
|
413
|
+
where: UserInformationWhereUniqueInput;
|
414
|
+
};
|
415
|
+
|
416
|
+
|
417
|
+
export type MutationUpsertOneUserSettingsArgs = {
|
418
|
+
create: UserSettingsCreateInput;
|
419
|
+
update: UserSettingsUpdateInput;
|
420
|
+
where: UserSettingsWhereUniqueInput;
|
421
|
+
};
|
422
|
+
|
423
|
+
export type NestedDateTimeNullableFilter = {
|
424
|
+
equals?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
425
|
+
gt?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
426
|
+
gte?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
427
|
+
in?: InputMaybe<Array<Scalars['DateTimeISO']['input']>>;
|
428
|
+
lt?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
429
|
+
lte?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
430
|
+
not?: InputMaybe<NestedDateTimeNullableFilter>;
|
431
|
+
notIn?: InputMaybe<Array<Scalars['DateTimeISO']['input']>>;
|
432
|
+
};
|
433
|
+
|
434
|
+
export type NestedDateTimeNullableWithAggregatesFilter = {
|
435
|
+
_count?: InputMaybe<NestedIntNullableFilter>;
|
436
|
+
_max?: InputMaybe<NestedDateTimeNullableFilter>;
|
437
|
+
_min?: InputMaybe<NestedDateTimeNullableFilter>;
|
438
|
+
equals?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
439
|
+
gt?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
440
|
+
gte?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
441
|
+
in?: InputMaybe<Array<Scalars['DateTimeISO']['input']>>;
|
442
|
+
lt?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
443
|
+
lte?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
444
|
+
not?: InputMaybe<NestedDateTimeNullableWithAggregatesFilter>;
|
445
|
+
notIn?: InputMaybe<Array<Scalars['DateTimeISO']['input']>>;
|
446
|
+
};
|
447
|
+
|
448
|
+
export type NestedEnumGenderFilter = {
|
449
|
+
equals?: InputMaybe<Gender>;
|
450
|
+
in?: InputMaybe<Array<Gender>>;
|
451
|
+
not?: InputMaybe<NestedEnumGenderFilter>;
|
452
|
+
notIn?: InputMaybe<Array<Gender>>;
|
453
|
+
};
|
454
|
+
|
455
|
+
export type NestedEnumGenderWithAggregatesFilter = {
|
456
|
+
_count?: InputMaybe<NestedIntFilter>;
|
457
|
+
_max?: InputMaybe<NestedEnumGenderFilter>;
|
458
|
+
_min?: InputMaybe<NestedEnumGenderFilter>;
|
459
|
+
equals?: InputMaybe<Gender>;
|
460
|
+
in?: InputMaybe<Array<Gender>>;
|
461
|
+
not?: InputMaybe<NestedEnumGenderWithAggregatesFilter>;
|
462
|
+
notIn?: InputMaybe<Array<Gender>>;
|
463
|
+
};
|
464
|
+
|
465
|
+
export type NestedEnumRoleFilter = {
|
466
|
+
equals?: InputMaybe<Role>;
|
467
|
+
in?: InputMaybe<Array<Role>>;
|
468
|
+
not?: InputMaybe<NestedEnumRoleFilter>;
|
469
|
+
notIn?: InputMaybe<Array<Role>>;
|
470
|
+
};
|
471
|
+
|
472
|
+
export type NestedEnumRoleWithAggregatesFilter = {
|
473
|
+
_count?: InputMaybe<NestedIntFilter>;
|
474
|
+
_max?: InputMaybe<NestedEnumRoleFilter>;
|
475
|
+
_min?: InputMaybe<NestedEnumRoleFilter>;
|
476
|
+
equals?: InputMaybe<Role>;
|
477
|
+
in?: InputMaybe<Array<Role>>;
|
478
|
+
not?: InputMaybe<NestedEnumRoleWithAggregatesFilter>;
|
479
|
+
notIn?: InputMaybe<Array<Role>>;
|
480
|
+
};
|
481
|
+
|
482
|
+
export type NestedEnumtargetOptionsNullableFilter = {
|
483
|
+
equals?: InputMaybe<TargetOptions>;
|
484
|
+
in?: InputMaybe<Array<TargetOptions>>;
|
485
|
+
not?: InputMaybe<NestedEnumtargetOptionsNullableFilter>;
|
486
|
+
notIn?: InputMaybe<Array<TargetOptions>>;
|
487
|
+
};
|
488
|
+
|
489
|
+
export type NestedEnumtargetOptionsNullableWithAggregatesFilter = {
|
490
|
+
_count?: InputMaybe<NestedIntNullableFilter>;
|
491
|
+
_max?: InputMaybe<NestedEnumtargetOptionsNullableFilter>;
|
492
|
+
_min?: InputMaybe<NestedEnumtargetOptionsNullableFilter>;
|
493
|
+
equals?: InputMaybe<TargetOptions>;
|
494
|
+
in?: InputMaybe<Array<TargetOptions>>;
|
495
|
+
not?: InputMaybe<NestedEnumtargetOptionsNullableWithAggregatesFilter>;
|
496
|
+
notIn?: InputMaybe<Array<TargetOptions>>;
|
497
|
+
};
|
498
|
+
|
123
499
|
export type NestedFloatFilter = {
|
124
500
|
equals?: InputMaybe<Scalars['Float']['input']>;
|
125
501
|
gt?: InputMaybe<Scalars['Float']['input']>;
|
@@ -131,6 +507,33 @@ export type NestedFloatFilter = {
|
|
131
507
|
notIn?: InputMaybe<Array<Scalars['Float']['input']>>;
|
132
508
|
};
|
133
509
|
|
510
|
+
export type NestedFloatNullableFilter = {
|
511
|
+
equals?: InputMaybe<Scalars['Float']['input']>;
|
512
|
+
gt?: InputMaybe<Scalars['Float']['input']>;
|
513
|
+
gte?: InputMaybe<Scalars['Float']['input']>;
|
514
|
+
in?: InputMaybe<Array<Scalars['Float']['input']>>;
|
515
|
+
lt?: InputMaybe<Scalars['Float']['input']>;
|
516
|
+
lte?: InputMaybe<Scalars['Float']['input']>;
|
517
|
+
not?: InputMaybe<NestedFloatNullableFilter>;
|
518
|
+
notIn?: InputMaybe<Array<Scalars['Float']['input']>>;
|
519
|
+
};
|
520
|
+
|
521
|
+
export type NestedFloatNullableWithAggregatesFilter = {
|
522
|
+
_avg?: InputMaybe<NestedFloatNullableFilter>;
|
523
|
+
_count?: InputMaybe<NestedIntNullableFilter>;
|
524
|
+
_max?: InputMaybe<NestedFloatNullableFilter>;
|
525
|
+
_min?: InputMaybe<NestedFloatNullableFilter>;
|
526
|
+
_sum?: InputMaybe<NestedFloatNullableFilter>;
|
527
|
+
equals?: InputMaybe<Scalars['Float']['input']>;
|
528
|
+
gt?: InputMaybe<Scalars['Float']['input']>;
|
529
|
+
gte?: InputMaybe<Scalars['Float']['input']>;
|
530
|
+
in?: InputMaybe<Array<Scalars['Float']['input']>>;
|
531
|
+
lt?: InputMaybe<Scalars['Float']['input']>;
|
532
|
+
lte?: InputMaybe<Scalars['Float']['input']>;
|
533
|
+
not?: InputMaybe<NestedFloatNullableWithAggregatesFilter>;
|
534
|
+
notIn?: InputMaybe<Array<Scalars['Float']['input']>>;
|
535
|
+
};
|
536
|
+
|
134
537
|
export type NestedIntFilter = {
|
135
538
|
equals?: InputMaybe<Scalars['Int']['input']>;
|
136
539
|
gt?: InputMaybe<Scalars['Int']['input']>;
|
@@ -169,6 +572,20 @@ export type NestedIntWithAggregatesFilter = {
|
|
169
572
|
notIn?: InputMaybe<Array<Scalars['Int']['input']>>;
|
170
573
|
};
|
171
574
|
|
575
|
+
export type NestedStringFilter = {
|
576
|
+
contains?: InputMaybe<Scalars['String']['input']>;
|
577
|
+
endsWith?: InputMaybe<Scalars['String']['input']>;
|
578
|
+
equals?: InputMaybe<Scalars['String']['input']>;
|
579
|
+
gt?: InputMaybe<Scalars['String']['input']>;
|
580
|
+
gte?: InputMaybe<Scalars['String']['input']>;
|
581
|
+
in?: InputMaybe<Array<Scalars['String']['input']>>;
|
582
|
+
lt?: InputMaybe<Scalars['String']['input']>;
|
583
|
+
lte?: InputMaybe<Scalars['String']['input']>;
|
584
|
+
not?: InputMaybe<NestedStringFilter>;
|
585
|
+
notIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
586
|
+
startsWith?: InputMaybe<Scalars['String']['input']>;
|
587
|
+
};
|
588
|
+
|
172
589
|
export type NestedStringNullableFilter = {
|
173
590
|
contains?: InputMaybe<Scalars['String']['input']>;
|
174
591
|
endsWith?: InputMaybe<Scalars['String']['input']>;
|
@@ -200,6 +617,39 @@ export type NestedStringNullableWithAggregatesFilter = {
|
|
200
617
|
startsWith?: InputMaybe<Scalars['String']['input']>;
|
201
618
|
};
|
202
619
|
|
620
|
+
export type NestedStringWithAggregatesFilter = {
|
621
|
+
_count?: InputMaybe<NestedIntFilter>;
|
622
|
+
_max?: InputMaybe<NestedStringFilter>;
|
623
|
+
_min?: InputMaybe<NestedStringFilter>;
|
624
|
+
contains?: InputMaybe<Scalars['String']['input']>;
|
625
|
+
endsWith?: InputMaybe<Scalars['String']['input']>;
|
626
|
+
equals?: InputMaybe<Scalars['String']['input']>;
|
627
|
+
gt?: InputMaybe<Scalars['String']['input']>;
|
628
|
+
gte?: InputMaybe<Scalars['String']['input']>;
|
629
|
+
in?: InputMaybe<Array<Scalars['String']['input']>>;
|
630
|
+
lt?: InputMaybe<Scalars['String']['input']>;
|
631
|
+
lte?: InputMaybe<Scalars['String']['input']>;
|
632
|
+
not?: InputMaybe<NestedStringWithAggregatesFilter>;
|
633
|
+
notIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
634
|
+
startsWith?: InputMaybe<Scalars['String']['input']>;
|
635
|
+
};
|
636
|
+
|
637
|
+
export type NullableDateTimeFieldUpdateOperationsInput = {
|
638
|
+
set?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
639
|
+
};
|
640
|
+
|
641
|
+
export type NullableEnumtargetOptionsFieldUpdateOperationsInput = {
|
642
|
+
set?: InputMaybe<TargetOptions>;
|
643
|
+
};
|
644
|
+
|
645
|
+
export type NullableFloatFieldUpdateOperationsInput = {
|
646
|
+
decrement?: InputMaybe<Scalars['Float']['input']>;
|
647
|
+
divide?: InputMaybe<Scalars['Float']['input']>;
|
648
|
+
increment?: InputMaybe<Scalars['Float']['input']>;
|
649
|
+
multiply?: InputMaybe<Scalars['Float']['input']>;
|
650
|
+
set?: InputMaybe<Scalars['Float']['input']>;
|
651
|
+
};
|
652
|
+
|
203
653
|
export type NullableStringFieldUpdateOperationsInput = {
|
204
654
|
set?: InputMaybe<Scalars['String']['input']>;
|
205
655
|
};
|
@@ -212,11 +662,25 @@ export enum NullsOrder {
|
|
212
662
|
export type Query = {
|
213
663
|
__typename?: 'Query';
|
214
664
|
aggregateUser: AggregateUser;
|
665
|
+
aggregateUserInformation: AggregateUserInformation;
|
666
|
+
aggregateUserSettings: AggregateUserSettings;
|
215
667
|
findFirstUser?: Maybe<User>;
|
668
|
+
findFirstUserInformation?: Maybe<UserInformation>;
|
669
|
+
findFirstUserInformationOrThrow?: Maybe<UserInformation>;
|
216
670
|
findFirstUserOrThrow?: Maybe<User>;
|
671
|
+
findFirstUserSettings?: Maybe<UserSettings>;
|
672
|
+
findFirstUserSettingsOrThrow?: Maybe<UserSettings>;
|
673
|
+
findManyUserSettings: Array<UserSettings>;
|
674
|
+
findUniqueUserSettings?: Maybe<UserSettings>;
|
675
|
+
findUniqueUserSettingsOrThrow?: Maybe<UserSettings>;
|
217
676
|
getUser?: Maybe<User>;
|
677
|
+
getUserInformation?: Maybe<UserInformation>;
|
218
678
|
groupByUser: Array<UserGroupBy>;
|
679
|
+
groupByUserInformation: Array<UserInformationGroupBy>;
|
680
|
+
groupByUserSettings: Array<UserSettingsGroupBy>;
|
219
681
|
user?: Maybe<User>;
|
682
|
+
userInformation?: Maybe<UserInformation>;
|
683
|
+
userInformations: Array<UserInformation>;
|
220
684
|
users: Array<User>;
|
221
685
|
};
|
222
686
|
|
@@ -230,6 +694,24 @@ export type QueryAggregateUserArgs = {
|
|
230
694
|
};
|
231
695
|
|
232
696
|
|
697
|
+
export type QueryAggregateUserInformationArgs = {
|
698
|
+
cursor?: InputMaybe<UserInformationWhereUniqueInput>;
|
699
|
+
orderBy?: InputMaybe<Array<UserInformationOrderByWithRelationInput>>;
|
700
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
701
|
+
take?: InputMaybe<Scalars['Int']['input']>;
|
702
|
+
where?: InputMaybe<UserInformationWhereInput>;
|
703
|
+
};
|
704
|
+
|
705
|
+
|
706
|
+
export type QueryAggregateUserSettingsArgs = {
|
707
|
+
cursor?: InputMaybe<UserSettingsWhereUniqueInput>;
|
708
|
+
orderBy?: InputMaybe<Array<UserSettingsOrderByWithRelationInput>>;
|
709
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
710
|
+
take?: InputMaybe<Scalars['Int']['input']>;
|
711
|
+
where?: InputMaybe<UserSettingsWhereInput>;
|
712
|
+
};
|
713
|
+
|
714
|
+
|
233
715
|
export type QueryFindFirstUserArgs = {
|
234
716
|
cursor?: InputMaybe<UserWhereUniqueInput>;
|
235
717
|
distinct?: InputMaybe<Array<UserScalarFieldEnum>>;
|
@@ -240,6 +722,26 @@ export type QueryFindFirstUserArgs = {
|
|
240
722
|
};
|
241
723
|
|
242
724
|
|
725
|
+
export type QueryFindFirstUserInformationArgs = {
|
726
|
+
cursor?: InputMaybe<UserInformationWhereUniqueInput>;
|
727
|
+
distinct?: InputMaybe<Array<UserInformationScalarFieldEnum>>;
|
728
|
+
orderBy?: InputMaybe<Array<UserInformationOrderByWithRelationInput>>;
|
729
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
730
|
+
take?: InputMaybe<Scalars['Int']['input']>;
|
731
|
+
where?: InputMaybe<UserInformationWhereInput>;
|
732
|
+
};
|
733
|
+
|
734
|
+
|
735
|
+
export type QueryFindFirstUserInformationOrThrowArgs = {
|
736
|
+
cursor?: InputMaybe<UserInformationWhereUniqueInput>;
|
737
|
+
distinct?: InputMaybe<Array<UserInformationScalarFieldEnum>>;
|
738
|
+
orderBy?: InputMaybe<Array<UserInformationOrderByWithRelationInput>>;
|
739
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
740
|
+
take?: InputMaybe<Scalars['Int']['input']>;
|
741
|
+
where?: InputMaybe<UserInformationWhereInput>;
|
742
|
+
};
|
743
|
+
|
744
|
+
|
243
745
|
export type QueryFindFirstUserOrThrowArgs = {
|
244
746
|
cursor?: InputMaybe<UserWhereUniqueInput>;
|
245
747
|
distinct?: InputMaybe<Array<UserScalarFieldEnum>>;
|
@@ -250,11 +752,56 @@ export type QueryFindFirstUserOrThrowArgs = {
|
|
250
752
|
};
|
251
753
|
|
252
754
|
|
755
|
+
export type QueryFindFirstUserSettingsArgs = {
|
756
|
+
cursor?: InputMaybe<UserSettingsWhereUniqueInput>;
|
757
|
+
distinct?: InputMaybe<Array<UserSettingsScalarFieldEnum>>;
|
758
|
+
orderBy?: InputMaybe<Array<UserSettingsOrderByWithRelationInput>>;
|
759
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
760
|
+
take?: InputMaybe<Scalars['Int']['input']>;
|
761
|
+
where?: InputMaybe<UserSettingsWhereInput>;
|
762
|
+
};
|
763
|
+
|
764
|
+
|
765
|
+
export type QueryFindFirstUserSettingsOrThrowArgs = {
|
766
|
+
cursor?: InputMaybe<UserSettingsWhereUniqueInput>;
|
767
|
+
distinct?: InputMaybe<Array<UserSettingsScalarFieldEnum>>;
|
768
|
+
orderBy?: InputMaybe<Array<UserSettingsOrderByWithRelationInput>>;
|
769
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
770
|
+
take?: InputMaybe<Scalars['Int']['input']>;
|
771
|
+
where?: InputMaybe<UserSettingsWhereInput>;
|
772
|
+
};
|
773
|
+
|
774
|
+
|
775
|
+
export type QueryFindManyUserSettingsArgs = {
|
776
|
+
cursor?: InputMaybe<UserSettingsWhereUniqueInput>;
|
777
|
+
distinct?: InputMaybe<Array<UserSettingsScalarFieldEnum>>;
|
778
|
+
orderBy?: InputMaybe<Array<UserSettingsOrderByWithRelationInput>>;
|
779
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
780
|
+
take?: InputMaybe<Scalars['Int']['input']>;
|
781
|
+
where?: InputMaybe<UserSettingsWhereInput>;
|
782
|
+
};
|
783
|
+
|
784
|
+
|
785
|
+
export type QueryFindUniqueUserSettingsArgs = {
|
786
|
+
where: UserSettingsWhereUniqueInput;
|
787
|
+
};
|
788
|
+
|
789
|
+
|
790
|
+
export type QueryFindUniqueUserSettingsOrThrowArgs = {
|
791
|
+
where: UserSettingsWhereUniqueInput;
|
792
|
+
};
|
793
|
+
|
794
|
+
|
253
795
|
export type QueryGetUserArgs = {
|
254
796
|
where: UserWhereUniqueInput;
|
255
797
|
};
|
256
798
|
|
257
799
|
|
800
|
+
export type QueryGetUserInformationArgs = {
|
801
|
+
where: UserInformationWhereUniqueInput;
|
802
|
+
};
|
803
|
+
|
804
|
+
|
258
805
|
export type QueryGroupByUserArgs = {
|
259
806
|
by: Array<UserScalarFieldEnum>;
|
260
807
|
having?: InputMaybe<UserScalarWhereWithAggregatesInput>;
|
@@ -265,11 +812,46 @@ export type QueryGroupByUserArgs = {
|
|
265
812
|
};
|
266
813
|
|
267
814
|
|
815
|
+
export type QueryGroupByUserInformationArgs = {
|
816
|
+
by: Array<UserInformationScalarFieldEnum>;
|
817
|
+
having?: InputMaybe<UserInformationScalarWhereWithAggregatesInput>;
|
818
|
+
orderBy?: InputMaybe<Array<UserInformationOrderByWithAggregationInput>>;
|
819
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
820
|
+
take?: InputMaybe<Scalars['Int']['input']>;
|
821
|
+
where?: InputMaybe<UserInformationWhereInput>;
|
822
|
+
};
|
823
|
+
|
824
|
+
|
825
|
+
export type QueryGroupByUserSettingsArgs = {
|
826
|
+
by: Array<UserSettingsScalarFieldEnum>;
|
827
|
+
having?: InputMaybe<UserSettingsScalarWhereWithAggregatesInput>;
|
828
|
+
orderBy?: InputMaybe<Array<UserSettingsOrderByWithAggregationInput>>;
|
829
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
830
|
+
take?: InputMaybe<Scalars['Int']['input']>;
|
831
|
+
where?: InputMaybe<UserSettingsWhereInput>;
|
832
|
+
};
|
833
|
+
|
834
|
+
|
268
835
|
export type QueryUserArgs = {
|
269
836
|
where: UserWhereUniqueInput;
|
270
837
|
};
|
271
838
|
|
272
839
|
|
840
|
+
export type QueryUserInformationArgs = {
|
841
|
+
where: UserInformationWhereUniqueInput;
|
842
|
+
};
|
843
|
+
|
844
|
+
|
845
|
+
export type QueryUserInformationsArgs = {
|
846
|
+
cursor?: InputMaybe<UserInformationWhereUniqueInput>;
|
847
|
+
distinct?: InputMaybe<Array<UserInformationScalarFieldEnum>>;
|
848
|
+
orderBy?: InputMaybe<Array<UserInformationOrderByWithRelationInput>>;
|
849
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
850
|
+
take?: InputMaybe<Scalars['Int']['input']>;
|
851
|
+
where?: InputMaybe<UserInformationWhereInput>;
|
852
|
+
};
|
853
|
+
|
854
|
+
|
273
855
|
export type QueryUsersArgs = {
|
274
856
|
cursor?: InputMaybe<UserWhereUniqueInput>;
|
275
857
|
distinct?: InputMaybe<Array<UserScalarFieldEnum>>;
|
@@ -279,6 +861,16 @@ export type QueryUsersArgs = {
|
|
279
861
|
where?: InputMaybe<UserWhereInput>;
|
280
862
|
};
|
281
863
|
|
864
|
+
export enum QueryMode {
|
865
|
+
DEFAULT = 'default',
|
866
|
+
INSENSITIVE = 'insensitive'
|
867
|
+
}
|
868
|
+
|
869
|
+
export enum Role {
|
870
|
+
ADMIN = 'ADMIN',
|
871
|
+
USER = 'USER'
|
872
|
+
}
|
873
|
+
|
282
874
|
export enum SortOrder {
|
283
875
|
ASC = 'asc',
|
284
876
|
DESC = 'desc'
|
@@ -289,6 +881,25 @@ export type SortOrderInput = {
|
|
289
881
|
sort: SortOrder;
|
290
882
|
};
|
291
883
|
|
884
|
+
export type StringFieldUpdateOperationsInput = {
|
885
|
+
set?: InputMaybe<Scalars['String']['input']>;
|
886
|
+
};
|
887
|
+
|
888
|
+
export type StringFilter = {
|
889
|
+
contains?: InputMaybe<Scalars['String']['input']>;
|
890
|
+
endsWith?: InputMaybe<Scalars['String']['input']>;
|
891
|
+
equals?: InputMaybe<Scalars['String']['input']>;
|
892
|
+
gt?: InputMaybe<Scalars['String']['input']>;
|
893
|
+
gte?: InputMaybe<Scalars['String']['input']>;
|
894
|
+
in?: InputMaybe<Array<Scalars['String']['input']>>;
|
895
|
+
lt?: InputMaybe<Scalars['String']['input']>;
|
896
|
+
lte?: InputMaybe<Scalars['String']['input']>;
|
897
|
+
mode?: InputMaybe<QueryMode>;
|
898
|
+
not?: InputMaybe<NestedStringFilter>;
|
899
|
+
notIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
900
|
+
startsWith?: InputMaybe<Scalars['String']['input']>;
|
901
|
+
};
|
902
|
+
|
292
903
|
export type StringNullableFilter = {
|
293
904
|
contains?: InputMaybe<Scalars['String']['input']>;
|
294
905
|
endsWith?: InputMaybe<Scalars['String']['input']>;
|
@@ -298,11 +909,20 @@ export type StringNullableFilter = {
|
|
298
909
|
in?: InputMaybe<Array<Scalars['String']['input']>>;
|
299
910
|
lt?: InputMaybe<Scalars['String']['input']>;
|
300
911
|
lte?: InputMaybe<Scalars['String']['input']>;
|
912
|
+
mode?: InputMaybe<QueryMode>;
|
301
913
|
not?: InputMaybe<NestedStringNullableFilter>;
|
302
914
|
notIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
303
915
|
startsWith?: InputMaybe<Scalars['String']['input']>;
|
304
916
|
};
|
305
917
|
|
918
|
+
export type StringNullableListFilter = {
|
919
|
+
equals?: InputMaybe<Array<Scalars['String']['input']>>;
|
920
|
+
has?: InputMaybe<Scalars['String']['input']>;
|
921
|
+
hasEvery?: InputMaybe<Array<Scalars['String']['input']>>;
|
922
|
+
hasSome?: InputMaybe<Array<Scalars['String']['input']>>;
|
923
|
+
isEmpty?: InputMaybe<Scalars['Boolean']['input']>;
|
924
|
+
};
|
925
|
+
|
306
926
|
export type StringNullableWithAggregatesFilter = {
|
307
927
|
_count?: InputMaybe<NestedIntNullableFilter>;
|
308
928
|
_max?: InputMaybe<NestedStringNullableFilter>;
|
@@ -315,15 +935,49 @@ export type StringNullableWithAggregatesFilter = {
|
|
315
935
|
in?: InputMaybe<Array<Scalars['String']['input']>>;
|
316
936
|
lt?: InputMaybe<Scalars['String']['input']>;
|
317
937
|
lte?: InputMaybe<Scalars['String']['input']>;
|
938
|
+
mode?: InputMaybe<QueryMode>;
|
318
939
|
not?: InputMaybe<NestedStringNullableWithAggregatesFilter>;
|
319
940
|
notIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
320
941
|
startsWith?: InputMaybe<Scalars['String']['input']>;
|
321
942
|
};
|
322
943
|
|
944
|
+
export type StringWithAggregatesFilter = {
|
945
|
+
_count?: InputMaybe<NestedIntFilter>;
|
946
|
+
_max?: InputMaybe<NestedStringFilter>;
|
947
|
+
_min?: InputMaybe<NestedStringFilter>;
|
948
|
+
contains?: InputMaybe<Scalars['String']['input']>;
|
949
|
+
endsWith?: InputMaybe<Scalars['String']['input']>;
|
950
|
+
equals?: InputMaybe<Scalars['String']['input']>;
|
951
|
+
gt?: InputMaybe<Scalars['String']['input']>;
|
952
|
+
gte?: InputMaybe<Scalars['String']['input']>;
|
953
|
+
in?: InputMaybe<Array<Scalars['String']['input']>>;
|
954
|
+
lt?: InputMaybe<Scalars['String']['input']>;
|
955
|
+
lte?: InputMaybe<Scalars['String']['input']>;
|
956
|
+
mode?: InputMaybe<QueryMode>;
|
957
|
+
not?: InputMaybe<NestedStringWithAggregatesFilter>;
|
958
|
+
notIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
959
|
+
startsWith?: InputMaybe<Scalars['String']['input']>;
|
960
|
+
};
|
961
|
+
|
323
962
|
export type User = {
|
324
963
|
__typename?: 'User';
|
964
|
+
email: Scalars['String']['output'];
|
965
|
+
firstName: Scalars['String']['output'];
|
325
966
|
id: Scalars['Int']['output'];
|
326
|
-
|
967
|
+
info?: Maybe<UserInformation>;
|
968
|
+
lastName?: Maybe<Scalars['String']['output']>;
|
969
|
+
role: Role;
|
970
|
+
settings?: Maybe<UserSettings>;
|
971
|
+
};
|
972
|
+
|
973
|
+
|
974
|
+
export type UserInfoArgs = {
|
975
|
+
where?: InputMaybe<UserInformationWhereInput>;
|
976
|
+
};
|
977
|
+
|
978
|
+
|
979
|
+
export type UserSettingsArgs = {
|
980
|
+
where?: InputMaybe<UserSettingsWhereInput>;
|
327
981
|
};
|
328
982
|
|
329
983
|
export type UserAvgAggregate = {
|
@@ -338,22 +992,74 @@ export type UserAvgOrderByAggregateInput = {
|
|
338
992
|
export type UserCountAggregate = {
|
339
993
|
__typename?: 'UserCountAggregate';
|
340
994
|
_all: Scalars['Int']['output'];
|
995
|
+
email: Scalars['Int']['output'];
|
996
|
+
firstName: Scalars['Int']['output'];
|
341
997
|
id: Scalars['Int']['output'];
|
342
|
-
|
998
|
+
lastName: Scalars['Int']['output'];
|
999
|
+
role: Scalars['Int']['output'];
|
343
1000
|
};
|
344
1001
|
|
345
1002
|
export type UserCountOrderByAggregateInput = {
|
1003
|
+
email?: InputMaybe<SortOrder>;
|
1004
|
+
firstName?: InputMaybe<SortOrder>;
|
346
1005
|
id?: InputMaybe<SortOrder>;
|
347
|
-
|
1006
|
+
lastName?: InputMaybe<SortOrder>;
|
1007
|
+
role?: InputMaybe<SortOrder>;
|
348
1008
|
};
|
349
1009
|
|
350
1010
|
export type UserCreateInput = {
|
351
|
-
|
1011
|
+
email: Scalars['String']['input'];
|
1012
|
+
firstName: Scalars['String']['input'];
|
1013
|
+
info?: InputMaybe<UserInformationCreateNestedOneWithoutUserInput>;
|
1014
|
+
lastName?: InputMaybe<Scalars['String']['input']>;
|
1015
|
+
role?: InputMaybe<Role>;
|
1016
|
+
settings?: InputMaybe<UserSettingsCreateNestedOneWithoutUserInput>;
|
352
1017
|
};
|
353
1018
|
|
354
1019
|
export type UserCreateManyInput = {
|
1020
|
+
email: Scalars['String']['input'];
|
1021
|
+
firstName: Scalars['String']['input'];
|
355
1022
|
id?: InputMaybe<Scalars['Int']['input']>;
|
356
|
-
|
1023
|
+
lastName?: InputMaybe<Scalars['String']['input']>;
|
1024
|
+
role?: InputMaybe<Role>;
|
1025
|
+
};
|
1026
|
+
|
1027
|
+
export type UserCreateNestedOneWithoutInfoInput = {
|
1028
|
+
connect?: InputMaybe<UserWhereUniqueInput>;
|
1029
|
+
connectOrCreate?: InputMaybe<UserCreateOrConnectWithoutInfoInput>;
|
1030
|
+
create?: InputMaybe<UserCreateWithoutInfoInput>;
|
1031
|
+
};
|
1032
|
+
|
1033
|
+
export type UserCreateNestedOneWithoutSettingsInput = {
|
1034
|
+
connect?: InputMaybe<UserWhereUniqueInput>;
|
1035
|
+
connectOrCreate?: InputMaybe<UserCreateOrConnectWithoutSettingsInput>;
|
1036
|
+
create?: InputMaybe<UserCreateWithoutSettingsInput>;
|
1037
|
+
};
|
1038
|
+
|
1039
|
+
export type UserCreateOrConnectWithoutInfoInput = {
|
1040
|
+
create: UserCreateWithoutInfoInput;
|
1041
|
+
where: UserWhereUniqueInput;
|
1042
|
+
};
|
1043
|
+
|
1044
|
+
export type UserCreateOrConnectWithoutSettingsInput = {
|
1045
|
+
create: UserCreateWithoutSettingsInput;
|
1046
|
+
where: UserWhereUniqueInput;
|
1047
|
+
};
|
1048
|
+
|
1049
|
+
export type UserCreateWithoutInfoInput = {
|
1050
|
+
email: Scalars['String']['input'];
|
1051
|
+
firstName: Scalars['String']['input'];
|
1052
|
+
lastName?: InputMaybe<Scalars['String']['input']>;
|
1053
|
+
role?: InputMaybe<Role>;
|
1054
|
+
settings?: InputMaybe<UserSettingsCreateNestedOneWithoutUserInput>;
|
1055
|
+
};
|
1056
|
+
|
1057
|
+
export type UserCreateWithoutSettingsInput = {
|
1058
|
+
email: Scalars['String']['input'];
|
1059
|
+
firstName: Scalars['String']['input'];
|
1060
|
+
info?: InputMaybe<UserInformationCreateNestedOneWithoutUserInput>;
|
1061
|
+
lastName?: InputMaybe<Scalars['String']['input']>;
|
1062
|
+
role?: InputMaybe<Role>;
|
357
1063
|
};
|
358
1064
|
|
359
1065
|
export type UserGroupBy = {
|
@@ -363,30 +1069,467 @@ export type UserGroupBy = {
|
|
363
1069
|
_max?: Maybe<UserMaxAggregate>;
|
364
1070
|
_min?: Maybe<UserMinAggregate>;
|
365
1071
|
_sum?: Maybe<UserSumAggregate>;
|
1072
|
+
email: Scalars['String']['output'];
|
1073
|
+
firstName: Scalars['String']['output'];
|
1074
|
+
id: Scalars['Int']['output'];
|
1075
|
+
lastName?: Maybe<Scalars['String']['output']>;
|
1076
|
+
role: Role;
|
1077
|
+
};
|
1078
|
+
|
1079
|
+
export type UserInformation = {
|
1080
|
+
__typename?: 'UserInformation';
|
1081
|
+
age: Scalars['Int']['output'];
|
1082
|
+
daysToTrain: Array<DaysToTrain>;
|
1083
|
+
gender: Gender;
|
1084
|
+
height?: Maybe<Scalars['Float']['output']>;
|
1085
|
+
id: Scalars['Int']['output'];
|
1086
|
+
image?: Maybe<Scalars['String']['output']>;
|
1087
|
+
injury?: Maybe<Scalars['String']['output']>;
|
1088
|
+
medicalCondition: Array<Scalars['String']['output']>;
|
1089
|
+
pathology?: Maybe<Scalars['String']['output']>;
|
1090
|
+
targetOptions?: Maybe<TargetOptions>;
|
1091
|
+
timeToTrain?: Maybe<Scalars['DateTimeISO']['output']>;
|
1092
|
+
user: User;
|
1093
|
+
userId: Scalars['Int']['output'];
|
1094
|
+
weight?: Maybe<Scalars['Float']['output']>;
|
1095
|
+
};
|
1096
|
+
|
1097
|
+
export type UserInformationAvgAggregate = {
|
1098
|
+
__typename?: 'UserInformationAvgAggregate';
|
1099
|
+
age?: Maybe<Scalars['Float']['output']>;
|
1100
|
+
height?: Maybe<Scalars['Float']['output']>;
|
1101
|
+
id?: Maybe<Scalars['Float']['output']>;
|
1102
|
+
userId?: Maybe<Scalars['Float']['output']>;
|
1103
|
+
weight?: Maybe<Scalars['Float']['output']>;
|
1104
|
+
};
|
1105
|
+
|
1106
|
+
export type UserInformationAvgOrderByAggregateInput = {
|
1107
|
+
age?: InputMaybe<SortOrder>;
|
1108
|
+
height?: InputMaybe<SortOrder>;
|
1109
|
+
id?: InputMaybe<SortOrder>;
|
1110
|
+
userId?: InputMaybe<SortOrder>;
|
1111
|
+
weight?: InputMaybe<SortOrder>;
|
1112
|
+
};
|
1113
|
+
|
1114
|
+
export type UserInformationCountAggregate = {
|
1115
|
+
__typename?: 'UserInformationCountAggregate';
|
1116
|
+
_all: Scalars['Int']['output'];
|
1117
|
+
age: Scalars['Int']['output'];
|
1118
|
+
daysToTrain: Scalars['Int']['output'];
|
1119
|
+
gender: Scalars['Int']['output'];
|
1120
|
+
height: Scalars['Int']['output'];
|
366
1121
|
id: Scalars['Int']['output'];
|
367
|
-
|
1122
|
+
image: Scalars['Int']['output'];
|
1123
|
+
injury: Scalars['Int']['output'];
|
1124
|
+
medicalCondition: Scalars['Int']['output'];
|
1125
|
+
pathology: Scalars['Int']['output'];
|
1126
|
+
targetOptions: Scalars['Int']['output'];
|
1127
|
+
timeToTrain: Scalars['Int']['output'];
|
1128
|
+
userId: Scalars['Int']['output'];
|
1129
|
+
weight: Scalars['Int']['output'];
|
1130
|
+
};
|
1131
|
+
|
1132
|
+
export type UserInformationCountOrderByAggregateInput = {
|
1133
|
+
age?: InputMaybe<SortOrder>;
|
1134
|
+
daysToTrain?: InputMaybe<SortOrder>;
|
1135
|
+
gender?: InputMaybe<SortOrder>;
|
1136
|
+
height?: InputMaybe<SortOrder>;
|
1137
|
+
id?: InputMaybe<SortOrder>;
|
1138
|
+
image?: InputMaybe<SortOrder>;
|
1139
|
+
injury?: InputMaybe<SortOrder>;
|
1140
|
+
medicalCondition?: InputMaybe<SortOrder>;
|
1141
|
+
pathology?: InputMaybe<SortOrder>;
|
1142
|
+
targetOptions?: InputMaybe<SortOrder>;
|
1143
|
+
timeToTrain?: InputMaybe<SortOrder>;
|
1144
|
+
userId?: InputMaybe<SortOrder>;
|
1145
|
+
weight?: InputMaybe<SortOrder>;
|
1146
|
+
};
|
1147
|
+
|
1148
|
+
export type UserInformationCreateInput = {
|
1149
|
+
age: Scalars['Int']['input'];
|
1150
|
+
daysToTrain?: InputMaybe<UserInformationCreatedaysToTrainInput>;
|
1151
|
+
gender: Gender;
|
1152
|
+
height?: InputMaybe<Scalars['Float']['input']>;
|
1153
|
+
image?: InputMaybe<Scalars['String']['input']>;
|
1154
|
+
injury?: InputMaybe<Scalars['String']['input']>;
|
1155
|
+
medicalCondition?: InputMaybe<UserInformationCreatemedicalConditionInput>;
|
1156
|
+
pathology?: InputMaybe<Scalars['String']['input']>;
|
1157
|
+
targetOptions?: InputMaybe<TargetOptions>;
|
1158
|
+
timeToTrain?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
1159
|
+
user: UserCreateNestedOneWithoutInfoInput;
|
1160
|
+
weight?: InputMaybe<Scalars['Float']['input']>;
|
1161
|
+
};
|
1162
|
+
|
1163
|
+
export type UserInformationCreateManyInput = {
|
1164
|
+
age: Scalars['Int']['input'];
|
1165
|
+
daysToTrain?: InputMaybe<UserInformationCreatedaysToTrainInput>;
|
1166
|
+
gender: Gender;
|
1167
|
+
height?: InputMaybe<Scalars['Float']['input']>;
|
1168
|
+
id?: InputMaybe<Scalars['Int']['input']>;
|
1169
|
+
image?: InputMaybe<Scalars['String']['input']>;
|
1170
|
+
injury?: InputMaybe<Scalars['String']['input']>;
|
1171
|
+
medicalCondition?: InputMaybe<UserInformationCreatemedicalConditionInput>;
|
1172
|
+
pathology?: InputMaybe<Scalars['String']['input']>;
|
1173
|
+
targetOptions?: InputMaybe<TargetOptions>;
|
1174
|
+
timeToTrain?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
1175
|
+
userId: Scalars['Int']['input'];
|
1176
|
+
weight?: InputMaybe<Scalars['Float']['input']>;
|
1177
|
+
};
|
1178
|
+
|
1179
|
+
export type UserInformationCreateNestedOneWithoutUserInput = {
|
1180
|
+
connect?: InputMaybe<UserInformationWhereUniqueInput>;
|
1181
|
+
connectOrCreate?: InputMaybe<UserInformationCreateOrConnectWithoutUserInput>;
|
1182
|
+
create?: InputMaybe<UserInformationCreateWithoutUserInput>;
|
1183
|
+
};
|
1184
|
+
|
1185
|
+
export type UserInformationCreateOrConnectWithoutUserInput = {
|
1186
|
+
create: UserInformationCreateWithoutUserInput;
|
1187
|
+
where: UserInformationWhereUniqueInput;
|
1188
|
+
};
|
1189
|
+
|
1190
|
+
export type UserInformationCreateWithoutUserInput = {
|
1191
|
+
age: Scalars['Int']['input'];
|
1192
|
+
daysToTrain?: InputMaybe<UserInformationCreatedaysToTrainInput>;
|
1193
|
+
gender: Gender;
|
1194
|
+
height?: InputMaybe<Scalars['Float']['input']>;
|
1195
|
+
image?: InputMaybe<Scalars['String']['input']>;
|
1196
|
+
injury?: InputMaybe<Scalars['String']['input']>;
|
1197
|
+
medicalCondition?: InputMaybe<UserInformationCreatemedicalConditionInput>;
|
1198
|
+
pathology?: InputMaybe<Scalars['String']['input']>;
|
1199
|
+
targetOptions?: InputMaybe<TargetOptions>;
|
1200
|
+
timeToTrain?: InputMaybe<Scalars['DateTimeISO']['input']>;
|
1201
|
+
weight?: InputMaybe<Scalars['Float']['input']>;
|
1202
|
+
};
|
1203
|
+
|
1204
|
+
export type UserInformationCreatedaysToTrainInput = {
|
1205
|
+
set: Array<DaysToTrain>;
|
1206
|
+
};
|
1207
|
+
|
1208
|
+
export type UserInformationCreatemedicalConditionInput = {
|
1209
|
+
set: Array<Scalars['String']['input']>;
|
1210
|
+
};
|
1211
|
+
|
1212
|
+
export type UserInformationGroupBy = {
|
1213
|
+
__typename?: 'UserInformationGroupBy';
|
1214
|
+
_avg?: Maybe<UserInformationAvgAggregate>;
|
1215
|
+
_count?: Maybe<UserInformationCountAggregate>;
|
1216
|
+
_max?: Maybe<UserInformationMaxAggregate>;
|
1217
|
+
_min?: Maybe<UserInformationMinAggregate>;
|
1218
|
+
_sum?: Maybe<UserInformationSumAggregate>;
|
1219
|
+
age: Scalars['Int']['output'];
|
1220
|
+
daysToTrain?: Maybe<Array<DaysToTrain>>;
|
1221
|
+
gender: Gender;
|
1222
|
+
height?: Maybe<Scalars['Float']['output']>;
|
1223
|
+
id: Scalars['Int']['output'];
|
1224
|
+
image?: Maybe<Scalars['String']['output']>;
|
1225
|
+
injury?: Maybe<Scalars['String']['output']>;
|
1226
|
+
medicalCondition?: Maybe<Array<Scalars['String']['output']>>;
|
1227
|
+
pathology?: Maybe<Scalars['String']['output']>;
|
1228
|
+
targetOptions?: Maybe<TargetOptions>;
|
1229
|
+
timeToTrain?: Maybe<Scalars['DateTimeISO']['output']>;
|
1230
|
+
userId: Scalars['Int']['output'];
|
1231
|
+
weight?: Maybe<Scalars['Float']['output']>;
|
1232
|
+
};
|
1233
|
+
|
1234
|
+
export type UserInformationMaxAggregate = {
|
1235
|
+
__typename?: 'UserInformationMaxAggregate';
|
1236
|
+
age?: Maybe<Scalars['Int']['output']>;
|
1237
|
+
gender?: Maybe<Gender>;
|
1238
|
+
height?: Maybe<Scalars['Float']['output']>;
|
1239
|
+
id?: Maybe<Scalars['Int']['output']>;
|
1240
|
+
image?: Maybe<Scalars['String']['output']>;
|
1241
|
+
injury?: Maybe<Scalars['String']['output']>;
|
1242
|
+
pathology?: Maybe<Scalars['String']['output']>;
|
1243
|
+
targetOptions?: Maybe<TargetOptions>;
|
1244
|
+
timeToTrain?: Maybe<Scalars['DateTimeISO']['output']>;
|
1245
|
+
userId?: Maybe<Scalars['Int']['output']>;
|
1246
|
+
weight?: Maybe<Scalars['Float']['output']>;
|
1247
|
+
};
|
1248
|
+
|
1249
|
+
export type UserInformationMaxOrderByAggregateInput = {
|
1250
|
+
age?: InputMaybe<SortOrder>;
|
1251
|
+
gender?: InputMaybe<SortOrder>;
|
1252
|
+
height?: InputMaybe<SortOrder>;
|
1253
|
+
id?: InputMaybe<SortOrder>;
|
1254
|
+
image?: InputMaybe<SortOrder>;
|
1255
|
+
injury?: InputMaybe<SortOrder>;
|
1256
|
+
pathology?: InputMaybe<SortOrder>;
|
1257
|
+
targetOptions?: InputMaybe<SortOrder>;
|
1258
|
+
timeToTrain?: InputMaybe<SortOrder>;
|
1259
|
+
userId?: InputMaybe<SortOrder>;
|
1260
|
+
weight?: InputMaybe<SortOrder>;
|
1261
|
+
};
|
1262
|
+
|
1263
|
+
export type UserInformationMinAggregate = {
|
1264
|
+
__typename?: 'UserInformationMinAggregate';
|
1265
|
+
age?: Maybe<Scalars['Int']['output']>;
|
1266
|
+
gender?: Maybe<Gender>;
|
1267
|
+
height?: Maybe<Scalars['Float']['output']>;
|
1268
|
+
id?: Maybe<Scalars['Int']['output']>;
|
1269
|
+
image?: Maybe<Scalars['String']['output']>;
|
1270
|
+
injury?: Maybe<Scalars['String']['output']>;
|
1271
|
+
pathology?: Maybe<Scalars['String']['output']>;
|
1272
|
+
targetOptions?: Maybe<TargetOptions>;
|
1273
|
+
timeToTrain?: Maybe<Scalars['DateTimeISO']['output']>;
|
1274
|
+
userId?: Maybe<Scalars['Int']['output']>;
|
1275
|
+
weight?: Maybe<Scalars['Float']['output']>;
|
1276
|
+
};
|
1277
|
+
|
1278
|
+
export type UserInformationMinOrderByAggregateInput = {
|
1279
|
+
age?: InputMaybe<SortOrder>;
|
1280
|
+
gender?: InputMaybe<SortOrder>;
|
1281
|
+
height?: InputMaybe<SortOrder>;
|
1282
|
+
id?: InputMaybe<SortOrder>;
|
1283
|
+
image?: InputMaybe<SortOrder>;
|
1284
|
+
injury?: InputMaybe<SortOrder>;
|
1285
|
+
pathology?: InputMaybe<SortOrder>;
|
1286
|
+
targetOptions?: InputMaybe<SortOrder>;
|
1287
|
+
timeToTrain?: InputMaybe<SortOrder>;
|
1288
|
+
userId?: InputMaybe<SortOrder>;
|
1289
|
+
weight?: InputMaybe<SortOrder>;
|
1290
|
+
};
|
1291
|
+
|
1292
|
+
export type UserInformationNullableRelationFilter = {
|
1293
|
+
is?: InputMaybe<UserInformationWhereInput>;
|
1294
|
+
isNot?: InputMaybe<UserInformationWhereInput>;
|
1295
|
+
};
|
1296
|
+
|
1297
|
+
export type UserInformationOrderByWithAggregationInput = {
|
1298
|
+
_avg?: InputMaybe<UserInformationAvgOrderByAggregateInput>;
|
1299
|
+
_count?: InputMaybe<UserInformationCountOrderByAggregateInput>;
|
1300
|
+
_max?: InputMaybe<UserInformationMaxOrderByAggregateInput>;
|
1301
|
+
_min?: InputMaybe<UserInformationMinOrderByAggregateInput>;
|
1302
|
+
_sum?: InputMaybe<UserInformationSumOrderByAggregateInput>;
|
1303
|
+
age?: InputMaybe<SortOrder>;
|
1304
|
+
daysToTrain?: InputMaybe<SortOrder>;
|
1305
|
+
gender?: InputMaybe<SortOrder>;
|
1306
|
+
height?: InputMaybe<SortOrderInput>;
|
1307
|
+
id?: InputMaybe<SortOrder>;
|
1308
|
+
image?: InputMaybe<SortOrderInput>;
|
1309
|
+
injury?: InputMaybe<SortOrderInput>;
|
1310
|
+
medicalCondition?: InputMaybe<SortOrder>;
|
1311
|
+
pathology?: InputMaybe<SortOrderInput>;
|
1312
|
+
targetOptions?: InputMaybe<SortOrderInput>;
|
1313
|
+
timeToTrain?: InputMaybe<SortOrderInput>;
|
1314
|
+
userId?: InputMaybe<SortOrder>;
|
1315
|
+
weight?: InputMaybe<SortOrderInput>;
|
1316
|
+
};
|
1317
|
+
|
1318
|
+
export type UserInformationOrderByWithRelationInput = {
|
1319
|
+
age?: InputMaybe<SortOrder>;
|
1320
|
+
daysToTrain?: InputMaybe<SortOrder>;
|
1321
|
+
gender?: InputMaybe<SortOrder>;
|
1322
|
+
height?: InputMaybe<SortOrderInput>;
|
1323
|
+
id?: InputMaybe<SortOrder>;
|
1324
|
+
image?: InputMaybe<SortOrderInput>;
|
1325
|
+
injury?: InputMaybe<SortOrderInput>;
|
1326
|
+
medicalCondition?: InputMaybe<SortOrder>;
|
1327
|
+
pathology?: InputMaybe<SortOrderInput>;
|
1328
|
+
targetOptions?: InputMaybe<SortOrderInput>;
|
1329
|
+
timeToTrain?: InputMaybe<SortOrderInput>;
|
1330
|
+
user?: InputMaybe<UserOrderByWithRelationInput>;
|
1331
|
+
userId?: InputMaybe<SortOrder>;
|
1332
|
+
weight?: InputMaybe<SortOrderInput>;
|
1333
|
+
};
|
1334
|
+
|
1335
|
+
export enum UserInformationScalarFieldEnum {
|
1336
|
+
AGE = 'age',
|
1337
|
+
DAYSTOTRAIN = 'daysToTrain',
|
1338
|
+
GENDER = 'gender',
|
1339
|
+
HEIGHT = 'height',
|
1340
|
+
ID = 'id',
|
1341
|
+
IMAGE = 'image',
|
1342
|
+
INJURY = 'injury',
|
1343
|
+
MEDICALCONDITION = 'medicalCondition',
|
1344
|
+
PATHOLOGY = 'pathology',
|
1345
|
+
TARGETOPTIONS = 'targetOptions',
|
1346
|
+
TIMETOTRAIN = 'timeToTrain',
|
1347
|
+
USERID = 'userId',
|
1348
|
+
WEIGHT = 'weight'
|
1349
|
+
}
|
1350
|
+
|
1351
|
+
export type UserInformationScalarWhereWithAggregatesInput = {
|
1352
|
+
AND?: InputMaybe<Array<UserInformationScalarWhereWithAggregatesInput>>;
|
1353
|
+
NOT?: InputMaybe<Array<UserInformationScalarWhereWithAggregatesInput>>;
|
1354
|
+
OR?: InputMaybe<Array<UserInformationScalarWhereWithAggregatesInput>>;
|
1355
|
+
age?: InputMaybe<IntWithAggregatesFilter>;
|
1356
|
+
daysToTrain?: InputMaybe<EnumDaysToTrainNullableListFilter>;
|
1357
|
+
gender?: InputMaybe<EnumGenderWithAggregatesFilter>;
|
1358
|
+
height?: InputMaybe<FloatNullableWithAggregatesFilter>;
|
1359
|
+
id?: InputMaybe<IntWithAggregatesFilter>;
|
1360
|
+
image?: InputMaybe<StringNullableWithAggregatesFilter>;
|
1361
|
+
injury?: InputMaybe<StringNullableWithAggregatesFilter>;
|
1362
|
+
medicalCondition?: InputMaybe<StringNullableListFilter>;
|
1363
|
+
pathology?: InputMaybe<StringNullableWithAggregatesFilter>;
|
1364
|
+
targetOptions?: InputMaybe<EnumtargetOptionsNullableWithAggregatesFilter>;
|
1365
|
+
timeToTrain?: InputMaybe<DateTimeNullableWithAggregatesFilter>;
|
1366
|
+
userId?: InputMaybe<IntWithAggregatesFilter>;
|
1367
|
+
weight?: InputMaybe<FloatNullableWithAggregatesFilter>;
|
1368
|
+
};
|
1369
|
+
|
1370
|
+
export type UserInformationSumAggregate = {
|
1371
|
+
__typename?: 'UserInformationSumAggregate';
|
1372
|
+
age?: Maybe<Scalars['Int']['output']>;
|
1373
|
+
height?: Maybe<Scalars['Float']['output']>;
|
1374
|
+
id?: Maybe<Scalars['Int']['output']>;
|
1375
|
+
userId?: Maybe<Scalars['Int']['output']>;
|
1376
|
+
weight?: Maybe<Scalars['Float']['output']>;
|
1377
|
+
};
|
1378
|
+
|
1379
|
+
export type UserInformationSumOrderByAggregateInput = {
|
1380
|
+
age?: InputMaybe<SortOrder>;
|
1381
|
+
height?: InputMaybe<SortOrder>;
|
1382
|
+
id?: InputMaybe<SortOrder>;
|
1383
|
+
userId?: InputMaybe<SortOrder>;
|
1384
|
+
weight?: InputMaybe<SortOrder>;
|
1385
|
+
};
|
1386
|
+
|
1387
|
+
export type UserInformationUpdateInput = {
|
1388
|
+
age?: InputMaybe<IntFieldUpdateOperationsInput>;
|
1389
|
+
daysToTrain?: InputMaybe<UserInformationUpdatedaysToTrainInput>;
|
1390
|
+
gender?: InputMaybe<EnumGenderFieldUpdateOperationsInput>;
|
1391
|
+
height?: InputMaybe<NullableFloatFieldUpdateOperationsInput>;
|
1392
|
+
image?: InputMaybe<NullableStringFieldUpdateOperationsInput>;
|
1393
|
+
injury?: InputMaybe<NullableStringFieldUpdateOperationsInput>;
|
1394
|
+
medicalCondition?: InputMaybe<UserInformationUpdatemedicalConditionInput>;
|
1395
|
+
pathology?: InputMaybe<NullableStringFieldUpdateOperationsInput>;
|
1396
|
+
targetOptions?: InputMaybe<NullableEnumtargetOptionsFieldUpdateOperationsInput>;
|
1397
|
+
timeToTrain?: InputMaybe<NullableDateTimeFieldUpdateOperationsInput>;
|
1398
|
+
user?: InputMaybe<UserUpdateOneRequiredWithoutInfoNestedInput>;
|
1399
|
+
weight?: InputMaybe<NullableFloatFieldUpdateOperationsInput>;
|
1400
|
+
};
|
1401
|
+
|
1402
|
+
export type UserInformationUpdateManyMutationInput = {
|
1403
|
+
age?: InputMaybe<IntFieldUpdateOperationsInput>;
|
1404
|
+
daysToTrain?: InputMaybe<UserInformationUpdatedaysToTrainInput>;
|
1405
|
+
gender?: InputMaybe<EnumGenderFieldUpdateOperationsInput>;
|
1406
|
+
height?: InputMaybe<NullableFloatFieldUpdateOperationsInput>;
|
1407
|
+
image?: InputMaybe<NullableStringFieldUpdateOperationsInput>;
|
1408
|
+
injury?: InputMaybe<NullableStringFieldUpdateOperationsInput>;
|
1409
|
+
medicalCondition?: InputMaybe<UserInformationUpdatemedicalConditionInput>;
|
1410
|
+
pathology?: InputMaybe<NullableStringFieldUpdateOperationsInput>;
|
1411
|
+
targetOptions?: InputMaybe<NullableEnumtargetOptionsFieldUpdateOperationsInput>;
|
1412
|
+
timeToTrain?: InputMaybe<NullableDateTimeFieldUpdateOperationsInput>;
|
1413
|
+
weight?: InputMaybe<NullableFloatFieldUpdateOperationsInput>;
|
1414
|
+
};
|
1415
|
+
|
1416
|
+
export type UserInformationUpdateOneWithoutUserNestedInput = {
|
1417
|
+
connect?: InputMaybe<UserInformationWhereUniqueInput>;
|
1418
|
+
connectOrCreate?: InputMaybe<UserInformationCreateOrConnectWithoutUserInput>;
|
1419
|
+
create?: InputMaybe<UserInformationCreateWithoutUserInput>;
|
1420
|
+
delete?: InputMaybe<UserInformationWhereInput>;
|
1421
|
+
disconnect?: InputMaybe<UserInformationWhereInput>;
|
1422
|
+
update?: InputMaybe<UserInformationUpdateToOneWithWhereWithoutUserInput>;
|
1423
|
+
upsert?: InputMaybe<UserInformationUpsertWithoutUserInput>;
|
1424
|
+
};
|
1425
|
+
|
1426
|
+
export type UserInformationUpdateToOneWithWhereWithoutUserInput = {
|
1427
|
+
data: UserInformationUpdateWithoutUserInput;
|
1428
|
+
where?: InputMaybe<UserInformationWhereInput>;
|
1429
|
+
};
|
1430
|
+
|
1431
|
+
export type UserInformationUpdateWithoutUserInput = {
|
1432
|
+
age?: InputMaybe<IntFieldUpdateOperationsInput>;
|
1433
|
+
daysToTrain?: InputMaybe<UserInformationUpdatedaysToTrainInput>;
|
1434
|
+
gender?: InputMaybe<EnumGenderFieldUpdateOperationsInput>;
|
1435
|
+
height?: InputMaybe<NullableFloatFieldUpdateOperationsInput>;
|
1436
|
+
image?: InputMaybe<NullableStringFieldUpdateOperationsInput>;
|
1437
|
+
injury?: InputMaybe<NullableStringFieldUpdateOperationsInput>;
|
1438
|
+
medicalCondition?: InputMaybe<UserInformationUpdatemedicalConditionInput>;
|
1439
|
+
pathology?: InputMaybe<NullableStringFieldUpdateOperationsInput>;
|
1440
|
+
targetOptions?: InputMaybe<NullableEnumtargetOptionsFieldUpdateOperationsInput>;
|
1441
|
+
timeToTrain?: InputMaybe<NullableDateTimeFieldUpdateOperationsInput>;
|
1442
|
+
weight?: InputMaybe<NullableFloatFieldUpdateOperationsInput>;
|
1443
|
+
};
|
1444
|
+
|
1445
|
+
export type UserInformationUpdatedaysToTrainInput = {
|
1446
|
+
push?: InputMaybe<Array<DaysToTrain>>;
|
1447
|
+
set?: InputMaybe<Array<DaysToTrain>>;
|
1448
|
+
};
|
1449
|
+
|
1450
|
+
export type UserInformationUpdatemedicalConditionInput = {
|
1451
|
+
push?: InputMaybe<Array<Scalars['String']['input']>>;
|
1452
|
+
set?: InputMaybe<Array<Scalars['String']['input']>>;
|
1453
|
+
};
|
1454
|
+
|
1455
|
+
export type UserInformationUpsertWithoutUserInput = {
|
1456
|
+
create: UserInformationCreateWithoutUserInput;
|
1457
|
+
update: UserInformationUpdateWithoutUserInput;
|
1458
|
+
where?: InputMaybe<UserInformationWhereInput>;
|
1459
|
+
};
|
1460
|
+
|
1461
|
+
export type UserInformationWhereInput = {
|
1462
|
+
AND?: InputMaybe<Array<UserInformationWhereInput>>;
|
1463
|
+
NOT?: InputMaybe<Array<UserInformationWhereInput>>;
|
1464
|
+
OR?: InputMaybe<Array<UserInformationWhereInput>>;
|
1465
|
+
age?: InputMaybe<IntFilter>;
|
1466
|
+
daysToTrain?: InputMaybe<EnumDaysToTrainNullableListFilter>;
|
1467
|
+
gender?: InputMaybe<EnumGenderFilter>;
|
1468
|
+
height?: InputMaybe<FloatNullableFilter>;
|
1469
|
+
id?: InputMaybe<IntFilter>;
|
1470
|
+
image?: InputMaybe<StringNullableFilter>;
|
1471
|
+
injury?: InputMaybe<StringNullableFilter>;
|
1472
|
+
medicalCondition?: InputMaybe<StringNullableListFilter>;
|
1473
|
+
pathology?: InputMaybe<StringNullableFilter>;
|
1474
|
+
targetOptions?: InputMaybe<EnumtargetOptionsNullableFilter>;
|
1475
|
+
timeToTrain?: InputMaybe<DateTimeNullableFilter>;
|
1476
|
+
user?: InputMaybe<UserRelationFilter>;
|
1477
|
+
userId?: InputMaybe<IntFilter>;
|
1478
|
+
weight?: InputMaybe<FloatNullableFilter>;
|
1479
|
+
};
|
1480
|
+
|
1481
|
+
export type UserInformationWhereUniqueInput = {
|
1482
|
+
AND?: InputMaybe<Array<UserInformationWhereInput>>;
|
1483
|
+
NOT?: InputMaybe<Array<UserInformationWhereInput>>;
|
1484
|
+
OR?: InputMaybe<Array<UserInformationWhereInput>>;
|
1485
|
+
age?: InputMaybe<IntFilter>;
|
1486
|
+
daysToTrain?: InputMaybe<EnumDaysToTrainNullableListFilter>;
|
1487
|
+
gender?: InputMaybe<EnumGenderFilter>;
|
1488
|
+
height?: InputMaybe<FloatNullableFilter>;
|
1489
|
+
id?: InputMaybe<Scalars['Int']['input']>;
|
1490
|
+
image?: InputMaybe<StringNullableFilter>;
|
1491
|
+
injury?: InputMaybe<StringNullableFilter>;
|
1492
|
+
medicalCondition?: InputMaybe<StringNullableListFilter>;
|
1493
|
+
pathology?: InputMaybe<StringNullableFilter>;
|
1494
|
+
targetOptions?: InputMaybe<EnumtargetOptionsNullableFilter>;
|
1495
|
+
timeToTrain?: InputMaybe<DateTimeNullableFilter>;
|
1496
|
+
user?: InputMaybe<UserRelationFilter>;
|
1497
|
+
userId?: InputMaybe<Scalars['Int']['input']>;
|
1498
|
+
weight?: InputMaybe<FloatNullableFilter>;
|
368
1499
|
};
|
369
1500
|
|
370
1501
|
export type UserMaxAggregate = {
|
371
1502
|
__typename?: 'UserMaxAggregate';
|
1503
|
+
email?: Maybe<Scalars['String']['output']>;
|
1504
|
+
firstName?: Maybe<Scalars['String']['output']>;
|
372
1505
|
id?: Maybe<Scalars['Int']['output']>;
|
373
|
-
|
1506
|
+
lastName?: Maybe<Scalars['String']['output']>;
|
1507
|
+
role?: Maybe<Role>;
|
374
1508
|
};
|
375
1509
|
|
376
1510
|
export type UserMaxOrderByAggregateInput = {
|
1511
|
+
email?: InputMaybe<SortOrder>;
|
1512
|
+
firstName?: InputMaybe<SortOrder>;
|
377
1513
|
id?: InputMaybe<SortOrder>;
|
378
|
-
|
1514
|
+
lastName?: InputMaybe<SortOrder>;
|
1515
|
+
role?: InputMaybe<SortOrder>;
|
379
1516
|
};
|
380
1517
|
|
381
1518
|
export type UserMinAggregate = {
|
382
1519
|
__typename?: 'UserMinAggregate';
|
1520
|
+
email?: Maybe<Scalars['String']['output']>;
|
1521
|
+
firstName?: Maybe<Scalars['String']['output']>;
|
383
1522
|
id?: Maybe<Scalars['Int']['output']>;
|
384
|
-
|
1523
|
+
lastName?: Maybe<Scalars['String']['output']>;
|
1524
|
+
role?: Maybe<Role>;
|
385
1525
|
};
|
386
1526
|
|
387
1527
|
export type UserMinOrderByAggregateInput = {
|
1528
|
+
email?: InputMaybe<SortOrder>;
|
1529
|
+
firstName?: InputMaybe<SortOrder>;
|
388
1530
|
id?: InputMaybe<SortOrder>;
|
389
|
-
|
1531
|
+
lastName?: InputMaybe<SortOrder>;
|
1532
|
+
role?: InputMaybe<SortOrder>;
|
390
1533
|
};
|
391
1534
|
|
392
1535
|
export type UserOrderByWithAggregationInput = {
|
@@ -395,26 +1538,245 @@ export type UserOrderByWithAggregationInput = {
|
|
395
1538
|
_max?: InputMaybe<UserMaxOrderByAggregateInput>;
|
396
1539
|
_min?: InputMaybe<UserMinOrderByAggregateInput>;
|
397
1540
|
_sum?: InputMaybe<UserSumOrderByAggregateInput>;
|
1541
|
+
email?: InputMaybe<SortOrder>;
|
1542
|
+
firstName?: InputMaybe<SortOrder>;
|
398
1543
|
id?: InputMaybe<SortOrder>;
|
399
|
-
|
1544
|
+
lastName?: InputMaybe<SortOrderInput>;
|
1545
|
+
role?: InputMaybe<SortOrder>;
|
400
1546
|
};
|
401
1547
|
|
402
1548
|
export type UserOrderByWithRelationInput = {
|
1549
|
+
email?: InputMaybe<SortOrder>;
|
1550
|
+
firstName?: InputMaybe<SortOrder>;
|
403
1551
|
id?: InputMaybe<SortOrder>;
|
404
|
-
|
1552
|
+
info?: InputMaybe<UserInformationOrderByWithRelationInput>;
|
1553
|
+
lastName?: InputMaybe<SortOrderInput>;
|
1554
|
+
role?: InputMaybe<SortOrder>;
|
1555
|
+
settings?: InputMaybe<UserSettingsOrderByWithRelationInput>;
|
1556
|
+
};
|
1557
|
+
|
1558
|
+
export type UserRelationFilter = {
|
1559
|
+
is?: InputMaybe<UserWhereInput>;
|
1560
|
+
isNot?: InputMaybe<UserWhereInput>;
|
405
1561
|
};
|
406
1562
|
|
407
1563
|
export enum UserScalarFieldEnum {
|
1564
|
+
EMAIL = 'email',
|
1565
|
+
FIRSTNAME = 'firstName',
|
408
1566
|
ID = 'id',
|
409
|
-
|
1567
|
+
LASTNAME = 'lastName',
|
1568
|
+
ROLE = 'role'
|
410
1569
|
}
|
411
1570
|
|
412
1571
|
export type UserScalarWhereWithAggregatesInput = {
|
413
1572
|
AND?: InputMaybe<Array<UserScalarWhereWithAggregatesInput>>;
|
414
1573
|
NOT?: InputMaybe<Array<UserScalarWhereWithAggregatesInput>>;
|
415
1574
|
OR?: InputMaybe<Array<UserScalarWhereWithAggregatesInput>>;
|
1575
|
+
email?: InputMaybe<StringWithAggregatesFilter>;
|
1576
|
+
firstName?: InputMaybe<StringWithAggregatesFilter>;
|
416
1577
|
id?: InputMaybe<IntWithAggregatesFilter>;
|
417
|
-
|
1578
|
+
lastName?: InputMaybe<StringNullableWithAggregatesFilter>;
|
1579
|
+
role?: InputMaybe<EnumRoleWithAggregatesFilter>;
|
1580
|
+
};
|
1581
|
+
|
1582
|
+
export type UserSettings = {
|
1583
|
+
__typename?: 'UserSettings';
|
1584
|
+
id: Scalars['Int']['output'];
|
1585
|
+
theme?: Maybe<Scalars['String']['output']>;
|
1586
|
+
user: User;
|
1587
|
+
userId: Scalars['Int']['output'];
|
1588
|
+
};
|
1589
|
+
|
1590
|
+
export type UserSettingsAvgAggregate = {
|
1591
|
+
__typename?: 'UserSettingsAvgAggregate';
|
1592
|
+
id?: Maybe<Scalars['Float']['output']>;
|
1593
|
+
userId?: Maybe<Scalars['Float']['output']>;
|
1594
|
+
};
|
1595
|
+
|
1596
|
+
export type UserSettingsAvgOrderByAggregateInput = {
|
1597
|
+
id?: InputMaybe<SortOrder>;
|
1598
|
+
userId?: InputMaybe<SortOrder>;
|
1599
|
+
};
|
1600
|
+
|
1601
|
+
export type UserSettingsCountAggregate = {
|
1602
|
+
__typename?: 'UserSettingsCountAggregate';
|
1603
|
+
_all: Scalars['Int']['output'];
|
1604
|
+
id: Scalars['Int']['output'];
|
1605
|
+
theme: Scalars['Int']['output'];
|
1606
|
+
userId: Scalars['Int']['output'];
|
1607
|
+
};
|
1608
|
+
|
1609
|
+
export type UserSettingsCountOrderByAggregateInput = {
|
1610
|
+
id?: InputMaybe<SortOrder>;
|
1611
|
+
theme?: InputMaybe<SortOrder>;
|
1612
|
+
userId?: InputMaybe<SortOrder>;
|
1613
|
+
};
|
1614
|
+
|
1615
|
+
export type UserSettingsCreateInput = {
|
1616
|
+
theme?: InputMaybe<Scalars['String']['input']>;
|
1617
|
+
user: UserCreateNestedOneWithoutSettingsInput;
|
1618
|
+
};
|
1619
|
+
|
1620
|
+
export type UserSettingsCreateManyInput = {
|
1621
|
+
id?: InputMaybe<Scalars['Int']['input']>;
|
1622
|
+
theme?: InputMaybe<Scalars['String']['input']>;
|
1623
|
+
userId: Scalars['Int']['input'];
|
1624
|
+
};
|
1625
|
+
|
1626
|
+
export type UserSettingsCreateNestedOneWithoutUserInput = {
|
1627
|
+
connect?: InputMaybe<UserSettingsWhereUniqueInput>;
|
1628
|
+
connectOrCreate?: InputMaybe<UserSettingsCreateOrConnectWithoutUserInput>;
|
1629
|
+
create?: InputMaybe<UserSettingsCreateWithoutUserInput>;
|
1630
|
+
};
|
1631
|
+
|
1632
|
+
export type UserSettingsCreateOrConnectWithoutUserInput = {
|
1633
|
+
create: UserSettingsCreateWithoutUserInput;
|
1634
|
+
where: UserSettingsWhereUniqueInput;
|
1635
|
+
};
|
1636
|
+
|
1637
|
+
export type UserSettingsCreateWithoutUserInput = {
|
1638
|
+
theme?: InputMaybe<Scalars['String']['input']>;
|
1639
|
+
};
|
1640
|
+
|
1641
|
+
export type UserSettingsGroupBy = {
|
1642
|
+
__typename?: 'UserSettingsGroupBy';
|
1643
|
+
_avg?: Maybe<UserSettingsAvgAggregate>;
|
1644
|
+
_count?: Maybe<UserSettingsCountAggregate>;
|
1645
|
+
_max?: Maybe<UserSettingsMaxAggregate>;
|
1646
|
+
_min?: Maybe<UserSettingsMinAggregate>;
|
1647
|
+
_sum?: Maybe<UserSettingsSumAggregate>;
|
1648
|
+
id: Scalars['Int']['output'];
|
1649
|
+
theme?: Maybe<Scalars['String']['output']>;
|
1650
|
+
userId: Scalars['Int']['output'];
|
1651
|
+
};
|
1652
|
+
|
1653
|
+
export type UserSettingsMaxAggregate = {
|
1654
|
+
__typename?: 'UserSettingsMaxAggregate';
|
1655
|
+
id?: Maybe<Scalars['Int']['output']>;
|
1656
|
+
theme?: Maybe<Scalars['String']['output']>;
|
1657
|
+
userId?: Maybe<Scalars['Int']['output']>;
|
1658
|
+
};
|
1659
|
+
|
1660
|
+
export type UserSettingsMaxOrderByAggregateInput = {
|
1661
|
+
id?: InputMaybe<SortOrder>;
|
1662
|
+
theme?: InputMaybe<SortOrder>;
|
1663
|
+
userId?: InputMaybe<SortOrder>;
|
1664
|
+
};
|
1665
|
+
|
1666
|
+
export type UserSettingsMinAggregate = {
|
1667
|
+
__typename?: 'UserSettingsMinAggregate';
|
1668
|
+
id?: Maybe<Scalars['Int']['output']>;
|
1669
|
+
theme?: Maybe<Scalars['String']['output']>;
|
1670
|
+
userId?: Maybe<Scalars['Int']['output']>;
|
1671
|
+
};
|
1672
|
+
|
1673
|
+
export type UserSettingsMinOrderByAggregateInput = {
|
1674
|
+
id?: InputMaybe<SortOrder>;
|
1675
|
+
theme?: InputMaybe<SortOrder>;
|
1676
|
+
userId?: InputMaybe<SortOrder>;
|
1677
|
+
};
|
1678
|
+
|
1679
|
+
export type UserSettingsNullableRelationFilter = {
|
1680
|
+
is?: InputMaybe<UserSettingsWhereInput>;
|
1681
|
+
isNot?: InputMaybe<UserSettingsWhereInput>;
|
1682
|
+
};
|
1683
|
+
|
1684
|
+
export type UserSettingsOrderByWithAggregationInput = {
|
1685
|
+
_avg?: InputMaybe<UserSettingsAvgOrderByAggregateInput>;
|
1686
|
+
_count?: InputMaybe<UserSettingsCountOrderByAggregateInput>;
|
1687
|
+
_max?: InputMaybe<UserSettingsMaxOrderByAggregateInput>;
|
1688
|
+
_min?: InputMaybe<UserSettingsMinOrderByAggregateInput>;
|
1689
|
+
_sum?: InputMaybe<UserSettingsSumOrderByAggregateInput>;
|
1690
|
+
id?: InputMaybe<SortOrder>;
|
1691
|
+
theme?: InputMaybe<SortOrderInput>;
|
1692
|
+
userId?: InputMaybe<SortOrder>;
|
1693
|
+
};
|
1694
|
+
|
1695
|
+
export type UserSettingsOrderByWithRelationInput = {
|
1696
|
+
id?: InputMaybe<SortOrder>;
|
1697
|
+
theme?: InputMaybe<SortOrderInput>;
|
1698
|
+
user?: InputMaybe<UserOrderByWithRelationInput>;
|
1699
|
+
userId?: InputMaybe<SortOrder>;
|
1700
|
+
};
|
1701
|
+
|
1702
|
+
export enum UserSettingsScalarFieldEnum {
|
1703
|
+
ID = 'id',
|
1704
|
+
THEME = 'theme',
|
1705
|
+
USERID = 'userId'
|
1706
|
+
}
|
1707
|
+
|
1708
|
+
export type UserSettingsScalarWhereWithAggregatesInput = {
|
1709
|
+
AND?: InputMaybe<Array<UserSettingsScalarWhereWithAggregatesInput>>;
|
1710
|
+
NOT?: InputMaybe<Array<UserSettingsScalarWhereWithAggregatesInput>>;
|
1711
|
+
OR?: InputMaybe<Array<UserSettingsScalarWhereWithAggregatesInput>>;
|
1712
|
+
id?: InputMaybe<IntWithAggregatesFilter>;
|
1713
|
+
theme?: InputMaybe<StringNullableWithAggregatesFilter>;
|
1714
|
+
userId?: InputMaybe<IntWithAggregatesFilter>;
|
1715
|
+
};
|
1716
|
+
|
1717
|
+
export type UserSettingsSumAggregate = {
|
1718
|
+
__typename?: 'UserSettingsSumAggregate';
|
1719
|
+
id?: Maybe<Scalars['Int']['output']>;
|
1720
|
+
userId?: Maybe<Scalars['Int']['output']>;
|
1721
|
+
};
|
1722
|
+
|
1723
|
+
export type UserSettingsSumOrderByAggregateInput = {
|
1724
|
+
id?: InputMaybe<SortOrder>;
|
1725
|
+
userId?: InputMaybe<SortOrder>;
|
1726
|
+
};
|
1727
|
+
|
1728
|
+
export type UserSettingsUpdateInput = {
|
1729
|
+
theme?: InputMaybe<NullableStringFieldUpdateOperationsInput>;
|
1730
|
+
user?: InputMaybe<UserUpdateOneRequiredWithoutSettingsNestedInput>;
|
1731
|
+
};
|
1732
|
+
|
1733
|
+
export type UserSettingsUpdateManyMutationInput = {
|
1734
|
+
theme?: InputMaybe<NullableStringFieldUpdateOperationsInput>;
|
1735
|
+
};
|
1736
|
+
|
1737
|
+
export type UserSettingsUpdateOneWithoutUserNestedInput = {
|
1738
|
+
connect?: InputMaybe<UserSettingsWhereUniqueInput>;
|
1739
|
+
connectOrCreate?: InputMaybe<UserSettingsCreateOrConnectWithoutUserInput>;
|
1740
|
+
create?: InputMaybe<UserSettingsCreateWithoutUserInput>;
|
1741
|
+
delete?: InputMaybe<UserSettingsWhereInput>;
|
1742
|
+
disconnect?: InputMaybe<UserSettingsWhereInput>;
|
1743
|
+
update?: InputMaybe<UserSettingsUpdateToOneWithWhereWithoutUserInput>;
|
1744
|
+
upsert?: InputMaybe<UserSettingsUpsertWithoutUserInput>;
|
1745
|
+
};
|
1746
|
+
|
1747
|
+
export type UserSettingsUpdateToOneWithWhereWithoutUserInput = {
|
1748
|
+
data: UserSettingsUpdateWithoutUserInput;
|
1749
|
+
where?: InputMaybe<UserSettingsWhereInput>;
|
1750
|
+
};
|
1751
|
+
|
1752
|
+
export type UserSettingsUpdateWithoutUserInput = {
|
1753
|
+
theme?: InputMaybe<NullableStringFieldUpdateOperationsInput>;
|
1754
|
+
};
|
1755
|
+
|
1756
|
+
export type UserSettingsUpsertWithoutUserInput = {
|
1757
|
+
create: UserSettingsCreateWithoutUserInput;
|
1758
|
+
update: UserSettingsUpdateWithoutUserInput;
|
1759
|
+
where?: InputMaybe<UserSettingsWhereInput>;
|
1760
|
+
};
|
1761
|
+
|
1762
|
+
export type UserSettingsWhereInput = {
|
1763
|
+
AND?: InputMaybe<Array<UserSettingsWhereInput>>;
|
1764
|
+
NOT?: InputMaybe<Array<UserSettingsWhereInput>>;
|
1765
|
+
OR?: InputMaybe<Array<UserSettingsWhereInput>>;
|
1766
|
+
id?: InputMaybe<IntFilter>;
|
1767
|
+
theme?: InputMaybe<StringNullableFilter>;
|
1768
|
+
user?: InputMaybe<UserRelationFilter>;
|
1769
|
+
userId?: InputMaybe<IntFilter>;
|
1770
|
+
};
|
1771
|
+
|
1772
|
+
export type UserSettingsWhereUniqueInput = {
|
1773
|
+
AND?: InputMaybe<Array<UserSettingsWhereInput>>;
|
1774
|
+
NOT?: InputMaybe<Array<UserSettingsWhereInput>>;
|
1775
|
+
OR?: InputMaybe<Array<UserSettingsWhereInput>>;
|
1776
|
+
id?: InputMaybe<Scalars['Int']['input']>;
|
1777
|
+
theme?: InputMaybe<StringNullableFilter>;
|
1778
|
+
user?: InputMaybe<UserRelationFilter>;
|
1779
|
+
userId?: InputMaybe<Scalars['Int']['input']>;
|
418
1780
|
};
|
419
1781
|
|
420
1782
|
export type UserSumAggregate = {
|
@@ -427,40 +1789,121 @@ export type UserSumOrderByAggregateInput = {
|
|
427
1789
|
};
|
428
1790
|
|
429
1791
|
export type UserUpdateInput = {
|
430
|
-
|
1792
|
+
email?: InputMaybe<StringFieldUpdateOperationsInput>;
|
1793
|
+
firstName?: InputMaybe<StringFieldUpdateOperationsInput>;
|
1794
|
+
info?: InputMaybe<UserInformationUpdateOneWithoutUserNestedInput>;
|
1795
|
+
lastName?: InputMaybe<NullableStringFieldUpdateOperationsInput>;
|
1796
|
+
role?: InputMaybe<EnumRoleFieldUpdateOperationsInput>;
|
1797
|
+
settings?: InputMaybe<UserSettingsUpdateOneWithoutUserNestedInput>;
|
431
1798
|
};
|
432
1799
|
|
433
1800
|
export type UserUpdateManyMutationInput = {
|
434
|
-
|
1801
|
+
email?: InputMaybe<StringFieldUpdateOperationsInput>;
|
1802
|
+
firstName?: InputMaybe<StringFieldUpdateOperationsInput>;
|
1803
|
+
lastName?: InputMaybe<NullableStringFieldUpdateOperationsInput>;
|
1804
|
+
role?: InputMaybe<EnumRoleFieldUpdateOperationsInput>;
|
1805
|
+
};
|
1806
|
+
|
1807
|
+
export type UserUpdateOneRequiredWithoutInfoNestedInput = {
|
1808
|
+
connect?: InputMaybe<UserWhereUniqueInput>;
|
1809
|
+
connectOrCreate?: InputMaybe<UserCreateOrConnectWithoutInfoInput>;
|
1810
|
+
create?: InputMaybe<UserCreateWithoutInfoInput>;
|
1811
|
+
update?: InputMaybe<UserUpdateToOneWithWhereWithoutInfoInput>;
|
1812
|
+
upsert?: InputMaybe<UserUpsertWithoutInfoInput>;
|
1813
|
+
};
|
1814
|
+
|
1815
|
+
export type UserUpdateOneRequiredWithoutSettingsNestedInput = {
|
1816
|
+
connect?: InputMaybe<UserWhereUniqueInput>;
|
1817
|
+
connectOrCreate?: InputMaybe<UserCreateOrConnectWithoutSettingsInput>;
|
1818
|
+
create?: InputMaybe<UserCreateWithoutSettingsInput>;
|
1819
|
+
update?: InputMaybe<UserUpdateToOneWithWhereWithoutSettingsInput>;
|
1820
|
+
upsert?: InputMaybe<UserUpsertWithoutSettingsInput>;
|
1821
|
+
};
|
1822
|
+
|
1823
|
+
export type UserUpdateToOneWithWhereWithoutInfoInput = {
|
1824
|
+
data: UserUpdateWithoutInfoInput;
|
1825
|
+
where?: InputMaybe<UserWhereInput>;
|
1826
|
+
};
|
1827
|
+
|
1828
|
+
export type UserUpdateToOneWithWhereWithoutSettingsInput = {
|
1829
|
+
data: UserUpdateWithoutSettingsInput;
|
1830
|
+
where?: InputMaybe<UserWhereInput>;
|
1831
|
+
};
|
1832
|
+
|
1833
|
+
export type UserUpdateWithoutInfoInput = {
|
1834
|
+
email?: InputMaybe<StringFieldUpdateOperationsInput>;
|
1835
|
+
firstName?: InputMaybe<StringFieldUpdateOperationsInput>;
|
1836
|
+
lastName?: InputMaybe<NullableStringFieldUpdateOperationsInput>;
|
1837
|
+
role?: InputMaybe<EnumRoleFieldUpdateOperationsInput>;
|
1838
|
+
settings?: InputMaybe<UserSettingsUpdateOneWithoutUserNestedInput>;
|
1839
|
+
};
|
1840
|
+
|
1841
|
+
export type UserUpdateWithoutSettingsInput = {
|
1842
|
+
email?: InputMaybe<StringFieldUpdateOperationsInput>;
|
1843
|
+
firstName?: InputMaybe<StringFieldUpdateOperationsInput>;
|
1844
|
+
info?: InputMaybe<UserInformationUpdateOneWithoutUserNestedInput>;
|
1845
|
+
lastName?: InputMaybe<NullableStringFieldUpdateOperationsInput>;
|
1846
|
+
role?: InputMaybe<EnumRoleFieldUpdateOperationsInput>;
|
1847
|
+
};
|
1848
|
+
|
1849
|
+
export type UserUpsertWithoutInfoInput = {
|
1850
|
+
create: UserCreateWithoutInfoInput;
|
1851
|
+
update: UserUpdateWithoutInfoInput;
|
1852
|
+
where?: InputMaybe<UserWhereInput>;
|
1853
|
+
};
|
1854
|
+
|
1855
|
+
export type UserUpsertWithoutSettingsInput = {
|
1856
|
+
create: UserCreateWithoutSettingsInput;
|
1857
|
+
update: UserUpdateWithoutSettingsInput;
|
1858
|
+
where?: InputMaybe<UserWhereInput>;
|
435
1859
|
};
|
436
1860
|
|
437
1861
|
export type UserWhereInput = {
|
438
1862
|
AND?: InputMaybe<Array<UserWhereInput>>;
|
439
1863
|
NOT?: InputMaybe<Array<UserWhereInput>>;
|
440
1864
|
OR?: InputMaybe<Array<UserWhereInput>>;
|
1865
|
+
email?: InputMaybe<StringFilter>;
|
1866
|
+
firstName?: InputMaybe<StringFilter>;
|
441
1867
|
id?: InputMaybe<IntFilter>;
|
442
|
-
|
1868
|
+
info?: InputMaybe<UserInformationNullableRelationFilter>;
|
1869
|
+
lastName?: InputMaybe<StringNullableFilter>;
|
1870
|
+
role?: InputMaybe<EnumRoleFilter>;
|
1871
|
+
settings?: InputMaybe<UserSettingsNullableRelationFilter>;
|
443
1872
|
};
|
444
1873
|
|
445
1874
|
export type UserWhereUniqueInput = {
|
446
1875
|
AND?: InputMaybe<Array<UserWhereInput>>;
|
447
1876
|
NOT?: InputMaybe<Array<UserWhereInput>>;
|
448
1877
|
OR?: InputMaybe<Array<UserWhereInput>>;
|
1878
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
1879
|
+
firstName?: InputMaybe<StringFilter>;
|
449
1880
|
id?: InputMaybe<Scalars['Int']['input']>;
|
450
|
-
|
1881
|
+
info?: InputMaybe<UserInformationNullableRelationFilter>;
|
1882
|
+
lastName?: InputMaybe<StringNullableFilter>;
|
1883
|
+
role?: InputMaybe<EnumRoleFilter>;
|
1884
|
+
settings?: InputMaybe<UserSettingsNullableRelationFilter>;
|
451
1885
|
};
|
452
1886
|
|
1887
|
+
export enum TargetOptions {
|
1888
|
+
GAIN = 'GAIN',
|
1889
|
+
LOSE = 'LOSE',
|
1890
|
+
MAINTAIN = 'MAINTAIN'
|
1891
|
+
}
|
1892
|
+
|
453
1893
|
export type GetUsersQueryVariables = Exact<{ [key: string]: never; }>;
|
454
1894
|
|
455
1895
|
|
456
|
-
export type GetUsersQuery = { __typename?: 'Query', users: Array<{ __typename?: 'User', id: number,
|
1896
|
+
export type GetUsersQuery = { __typename?: 'Query', users: Array<{ __typename?: 'User', id: number, firstName: string, lastName?: string | null, role: Role, email: string }> };
|
457
1897
|
|
458
1898
|
|
459
1899
|
export const GetUsersDocument = gql`
|
460
1900
|
query GetUsers {
|
461
1901
|
users {
|
462
1902
|
id
|
463
|
-
|
1903
|
+
firstName
|
1904
|
+
lastName
|
1905
|
+
role
|
1906
|
+
email
|
464
1907
|
}
|
465
1908
|
}
|
466
1909
|
`;
|