@structured-world/gitlab-mcp-db 10.1.0 → 11.0.0

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.
Files changed (34) hide show
  1. package/README.md +7 -7
  2. package/dist/generated/prisma/client.d.ts +2 -0
  3. package/dist/generated/prisma/commonInputTypes.d.ts +178 -9
  4. package/dist/generated/prisma/internal/class.d.ts +6 -0
  5. package/dist/generated/prisma/internal/class.js +4 -4
  6. package/dist/generated/prisma/internal/class.js.map +1 -1
  7. package/dist/generated/prisma/internal/prismaNamespace.d.ts +207 -1
  8. package/dist/generated/prisma/internal/prismaNamespace.js +52 -3
  9. package/dist/generated/prisma/internal/prismaNamespace.js.map +1 -1
  10. package/dist/generated/prisma/models/AccountSettings.d.ts +400 -0
  11. package/dist/generated/prisma/models/AccountSettings.js +3 -0
  12. package/dist/generated/prisma/models/AccountSettings.js.map +1 -0
  13. package/dist/generated/prisma/models/AuthCodeFlowState.d.ts +152 -2
  14. package/dist/generated/prisma/models/DeviceFlowState.d.ts +214 -2
  15. package/dist/generated/prisma/models/OAuthClient.d.ts +577 -0
  16. package/dist/generated/prisma/models/OAuthClient.js +3 -0
  17. package/dist/generated/prisma/models/OAuthClient.js.map +1 -0
  18. package/dist/generated/prisma/models/OAuthSession.d.ts +116 -1
  19. package/dist/generated/prisma/models.d.ts +2 -0
  20. package/dist/src/migrate.d.ts +16 -0
  21. package/dist/src/migrate.js +115 -0
  22. package/dist/src/migrate.js.map +1 -0
  23. package/dist/src/postgresql.d.ts +17 -1
  24. package/dist/src/postgresql.js +309 -83
  25. package/dist/src/postgresql.js.map +1 -1
  26. package/dist/tsconfig.tsbuildinfo +1 -1
  27. package/package.json +8 -3
  28. package/prisma/migrations/0_init/migration.sql +115 -0
  29. package/prisma/migrations/20261008000000_released_schema_columns/migration.sql +15 -0
  30. package/prisma/migrations/20261009000000_oauth_account_linking/migration.sql +47 -0
  31. package/prisma/migrations/20261010000000_account_settings/migration.sql +12 -0
  32. package/prisma/migrations/migration_lock.toml +3 -0
  33. package/prisma/schema.prisma +59 -0
  34. package/prisma.config.ts +19 -0
@@ -11,10 +11,12 @@ export type AggregateDeviceFlowState = {
11
11
  export type DeviceFlowStateAvgAggregateOutputType = {
12
12
  expiresAt: number | null;
13
13
  interval: number | null;
14
+ nextPollAt: number | null;
14
15
  };
15
16
  export type DeviceFlowStateSumAggregateOutputType = {
16
17
  expiresAt: bigint | null;
17
18
  interval: number | null;
19
+ nextPollAt: bigint | null;
18
20
  };
19
21
  export type DeviceFlowStateMinAggregateOutputType = {
20
22
  state: string | null;
@@ -28,6 +30,11 @@ export type DeviceFlowStateMinAggregateOutputType = {
28
30
  codeChallenge: string | null;
29
31
  codeChallengeMethod: string | null;
30
32
  redirectUri: string | null;
33
+ clientState: string | null;
34
+ nextPollAt: bigint | null;
35
+ selectedInstance: string | null;
36
+ selectedInstanceLabel: string | null;
37
+ resource: string | null;
31
38
  };
32
39
  export type DeviceFlowStateMaxAggregateOutputType = {
33
40
  state: string | null;
@@ -41,6 +48,11 @@ export type DeviceFlowStateMaxAggregateOutputType = {
41
48
  codeChallenge: string | null;
42
49
  codeChallengeMethod: string | null;
43
50
  redirectUri: string | null;
51
+ clientState: string | null;
52
+ nextPollAt: bigint | null;
53
+ selectedInstance: string | null;
54
+ selectedInstanceLabel: string | null;
55
+ resource: string | null;
44
56
  };
45
57
  export type DeviceFlowStateCountAggregateOutputType = {
46
58
  state: number;
@@ -54,15 +66,25 @@ export type DeviceFlowStateCountAggregateOutputType = {
54
66
  codeChallenge: number;
55
67
  codeChallengeMethod: number;
56
68
  redirectUri: number;
69
+ requestedGitlabScopes: number;
70
+ clientState: number;
71
+ nextPollAt: number;
72
+ selectedInstance: number;
73
+ selectedInstanceLabel: number;
74
+ mcpScopes: number;
75
+ resource: number;
76
+ gitlabTokens: number;
57
77
  _all: number;
58
78
  };
59
79
  export type DeviceFlowStateAvgAggregateInputType = {
60
80
  expiresAt?: true;
61
81
  interval?: true;
82
+ nextPollAt?: true;
62
83
  };
63
84
  export type DeviceFlowStateSumAggregateInputType = {
64
85
  expiresAt?: true;
65
86
  interval?: true;
87
+ nextPollAt?: true;
66
88
  };
67
89
  export type DeviceFlowStateMinAggregateInputType = {
68
90
  state?: true;
@@ -76,6 +98,11 @@ export type DeviceFlowStateMinAggregateInputType = {
76
98
  codeChallenge?: true;
77
99
  codeChallengeMethod?: true;
78
100
  redirectUri?: true;
101
+ clientState?: true;
102
+ nextPollAt?: true;
103
+ selectedInstance?: true;
104
+ selectedInstanceLabel?: true;
105
+ resource?: true;
79
106
  };
80
107
  export type DeviceFlowStateMaxAggregateInputType = {
81
108
  state?: true;
@@ -89,6 +116,11 @@ export type DeviceFlowStateMaxAggregateInputType = {
89
116
  codeChallenge?: true;
90
117
  codeChallengeMethod?: true;
91
118
  redirectUri?: true;
119
+ clientState?: true;
120
+ nextPollAt?: true;
121
+ selectedInstance?: true;
122
+ selectedInstanceLabel?: true;
123
+ resource?: true;
92
124
  };
93
125
  export type DeviceFlowStateCountAggregateInputType = {
94
126
  state?: true;
@@ -102,6 +134,14 @@ export type DeviceFlowStateCountAggregateInputType = {
102
134
  codeChallenge?: true;
103
135
  codeChallengeMethod?: true;
104
136
  redirectUri?: true;
137
+ requestedGitlabScopes?: true;
138
+ clientState?: true;
139
+ nextPollAt?: true;
140
+ selectedInstance?: true;
141
+ selectedInstanceLabel?: true;
142
+ mcpScopes?: true;
143
+ resource?: true;
144
+ gitlabTokens?: true;
105
145
  _all?: true;
106
146
  };
107
147
  export type DeviceFlowStateAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -144,6 +184,14 @@ export type DeviceFlowStateGroupByOutputType = {
144
184
  codeChallenge: string;
145
185
  codeChallengeMethod: string;
146
186
  redirectUri: string | null;
187
+ requestedGitlabScopes: runtime.JsonValue | null;
188
+ clientState: string | null;
189
+ nextPollAt: bigint | null;
190
+ selectedInstance: string | null;
191
+ selectedInstanceLabel: string | null;
192
+ mcpScopes: runtime.JsonValue | null;
193
+ resource: string | null;
194
+ gitlabTokens: runtime.JsonValue | null;
147
195
  _count: DeviceFlowStateCountAggregateOutputType | null;
148
196
  _avg: DeviceFlowStateAvgAggregateOutputType | null;
149
197
  _sum: DeviceFlowStateSumAggregateOutputType | null;
@@ -168,6 +216,14 @@ export type DeviceFlowStateWhereInput = {
168
216
  codeChallenge?: Prisma.StringFilter<"DeviceFlowState"> | string;
169
217
  codeChallengeMethod?: Prisma.StringFilter<"DeviceFlowState"> | string;
170
218
  redirectUri?: Prisma.StringNullableFilter<"DeviceFlowState"> | string | null;
219
+ requestedGitlabScopes?: Prisma.JsonNullableFilter<"DeviceFlowState">;
220
+ clientState?: Prisma.StringNullableFilter<"DeviceFlowState"> | string | null;
221
+ nextPollAt?: Prisma.BigIntNullableFilter<"DeviceFlowState"> | bigint | number | null;
222
+ selectedInstance?: Prisma.StringNullableFilter<"DeviceFlowState"> | string | null;
223
+ selectedInstanceLabel?: Prisma.StringNullableFilter<"DeviceFlowState"> | string | null;
224
+ mcpScopes?: Prisma.JsonNullableFilter<"DeviceFlowState">;
225
+ resource?: Prisma.StringNullableFilter<"DeviceFlowState"> | string | null;
226
+ gitlabTokens?: Prisma.JsonNullableFilter<"DeviceFlowState">;
171
227
  };
172
228
  export type DeviceFlowStateOrderByWithRelationInput = {
173
229
  state?: Prisma.SortOrder;
@@ -181,6 +237,14 @@ export type DeviceFlowStateOrderByWithRelationInput = {
181
237
  codeChallenge?: Prisma.SortOrder;
182
238
  codeChallengeMethod?: Prisma.SortOrder;
183
239
  redirectUri?: Prisma.SortOrderInput | Prisma.SortOrder;
240
+ requestedGitlabScopes?: Prisma.SortOrderInput | Prisma.SortOrder;
241
+ clientState?: Prisma.SortOrderInput | Prisma.SortOrder;
242
+ nextPollAt?: Prisma.SortOrderInput | Prisma.SortOrder;
243
+ selectedInstance?: Prisma.SortOrderInput | Prisma.SortOrder;
244
+ selectedInstanceLabel?: Prisma.SortOrderInput | Prisma.SortOrder;
245
+ mcpScopes?: Prisma.SortOrderInput | Prisma.SortOrder;
246
+ resource?: Prisma.SortOrderInput | Prisma.SortOrder;
247
+ gitlabTokens?: Prisma.SortOrderInput | Prisma.SortOrder;
184
248
  };
185
249
  export type DeviceFlowStateWhereUniqueInput = Prisma.AtLeast<{
186
250
  state?: string;
@@ -197,6 +261,14 @@ export type DeviceFlowStateWhereUniqueInput = Prisma.AtLeast<{
197
261
  codeChallenge?: Prisma.StringFilter<"DeviceFlowState"> | string;
198
262
  codeChallengeMethod?: Prisma.StringFilter<"DeviceFlowState"> | string;
199
263
  redirectUri?: Prisma.StringNullableFilter<"DeviceFlowState"> | string | null;
264
+ requestedGitlabScopes?: Prisma.JsonNullableFilter<"DeviceFlowState">;
265
+ clientState?: Prisma.StringNullableFilter<"DeviceFlowState"> | string | null;
266
+ nextPollAt?: Prisma.BigIntNullableFilter<"DeviceFlowState"> | bigint | number | null;
267
+ selectedInstance?: Prisma.StringNullableFilter<"DeviceFlowState"> | string | null;
268
+ selectedInstanceLabel?: Prisma.StringNullableFilter<"DeviceFlowState"> | string | null;
269
+ mcpScopes?: Prisma.JsonNullableFilter<"DeviceFlowState">;
270
+ resource?: Prisma.StringNullableFilter<"DeviceFlowState"> | string | null;
271
+ gitlabTokens?: Prisma.JsonNullableFilter<"DeviceFlowState">;
200
272
  }, "state">;
201
273
  export type DeviceFlowStateOrderByWithAggregationInput = {
202
274
  state?: Prisma.SortOrder;
@@ -210,6 +282,14 @@ export type DeviceFlowStateOrderByWithAggregationInput = {
210
282
  codeChallenge?: Prisma.SortOrder;
211
283
  codeChallengeMethod?: Prisma.SortOrder;
212
284
  redirectUri?: Prisma.SortOrderInput | Prisma.SortOrder;
285
+ requestedGitlabScopes?: Prisma.SortOrderInput | Prisma.SortOrder;
286
+ clientState?: Prisma.SortOrderInput | Prisma.SortOrder;
287
+ nextPollAt?: Prisma.SortOrderInput | Prisma.SortOrder;
288
+ selectedInstance?: Prisma.SortOrderInput | Prisma.SortOrder;
289
+ selectedInstanceLabel?: Prisma.SortOrderInput | Prisma.SortOrder;
290
+ mcpScopes?: Prisma.SortOrderInput | Prisma.SortOrder;
291
+ resource?: Prisma.SortOrderInput | Prisma.SortOrder;
292
+ gitlabTokens?: Prisma.SortOrderInput | Prisma.SortOrder;
213
293
  _count?: Prisma.DeviceFlowStateCountOrderByAggregateInput;
214
294
  _avg?: Prisma.DeviceFlowStateAvgOrderByAggregateInput;
215
295
  _max?: Prisma.DeviceFlowStateMaxOrderByAggregateInput;
@@ -231,6 +311,14 @@ export type DeviceFlowStateScalarWhereWithAggregatesInput = {
231
311
  codeChallenge?: Prisma.StringWithAggregatesFilter<"DeviceFlowState"> | string;
232
312
  codeChallengeMethod?: Prisma.StringWithAggregatesFilter<"DeviceFlowState"> | string;
233
313
  redirectUri?: Prisma.StringNullableWithAggregatesFilter<"DeviceFlowState"> | string | null;
314
+ requestedGitlabScopes?: Prisma.JsonNullableWithAggregatesFilter<"DeviceFlowState">;
315
+ clientState?: Prisma.StringNullableWithAggregatesFilter<"DeviceFlowState"> | string | null;
316
+ nextPollAt?: Prisma.BigIntNullableWithAggregatesFilter<"DeviceFlowState"> | bigint | number | null;
317
+ selectedInstance?: Prisma.StringNullableWithAggregatesFilter<"DeviceFlowState"> | string | null;
318
+ selectedInstanceLabel?: Prisma.StringNullableWithAggregatesFilter<"DeviceFlowState"> | string | null;
319
+ mcpScopes?: Prisma.JsonNullableWithAggregatesFilter<"DeviceFlowState">;
320
+ resource?: Prisma.StringNullableWithAggregatesFilter<"DeviceFlowState"> | string | null;
321
+ gitlabTokens?: Prisma.JsonNullableWithAggregatesFilter<"DeviceFlowState">;
234
322
  };
235
323
  export type DeviceFlowStateCreateInput = {
236
324
  state: string;
@@ -244,6 +332,14 @@ export type DeviceFlowStateCreateInput = {
244
332
  codeChallenge: string;
245
333
  codeChallengeMethod: string;
246
334
  redirectUri?: string | null;
335
+ requestedGitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
336
+ clientState?: string | null;
337
+ nextPollAt?: bigint | number | null;
338
+ selectedInstance?: string | null;
339
+ selectedInstanceLabel?: string | null;
340
+ mcpScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
341
+ resource?: string | null;
342
+ gitlabTokens?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
247
343
  };
248
344
  export type DeviceFlowStateUncheckedCreateInput = {
249
345
  state: string;
@@ -257,6 +353,14 @@ export type DeviceFlowStateUncheckedCreateInput = {
257
353
  codeChallenge: string;
258
354
  codeChallengeMethod: string;
259
355
  redirectUri?: string | null;
356
+ requestedGitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
357
+ clientState?: string | null;
358
+ nextPollAt?: bigint | number | null;
359
+ selectedInstance?: string | null;
360
+ selectedInstanceLabel?: string | null;
361
+ mcpScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
362
+ resource?: string | null;
363
+ gitlabTokens?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
260
364
  };
261
365
  export type DeviceFlowStateUpdateInput = {
262
366
  state?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -270,6 +374,14 @@ export type DeviceFlowStateUpdateInput = {
270
374
  codeChallenge?: Prisma.StringFieldUpdateOperationsInput | string;
271
375
  codeChallengeMethod?: Prisma.StringFieldUpdateOperationsInput | string;
272
376
  redirectUri?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
377
+ requestedGitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
378
+ clientState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
379
+ nextPollAt?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
380
+ selectedInstance?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
381
+ selectedInstanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
382
+ mcpScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
383
+ resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
384
+ gitlabTokens?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
273
385
  };
274
386
  export type DeviceFlowStateUncheckedUpdateInput = {
275
387
  state?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -283,6 +395,14 @@ export type DeviceFlowStateUncheckedUpdateInput = {
283
395
  codeChallenge?: Prisma.StringFieldUpdateOperationsInput | string;
284
396
  codeChallengeMethod?: Prisma.StringFieldUpdateOperationsInput | string;
285
397
  redirectUri?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
398
+ requestedGitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
399
+ clientState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
400
+ nextPollAt?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
401
+ selectedInstance?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
402
+ selectedInstanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
403
+ mcpScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
404
+ resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
405
+ gitlabTokens?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
286
406
  };
287
407
  export type DeviceFlowStateCreateManyInput = {
288
408
  state: string;
@@ -296,6 +416,14 @@ export type DeviceFlowStateCreateManyInput = {
296
416
  codeChallenge: string;
297
417
  codeChallengeMethod: string;
298
418
  redirectUri?: string | null;
419
+ requestedGitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
420
+ clientState?: string | null;
421
+ nextPollAt?: bigint | number | null;
422
+ selectedInstance?: string | null;
423
+ selectedInstanceLabel?: string | null;
424
+ mcpScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
425
+ resource?: string | null;
426
+ gitlabTokens?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
299
427
  };
300
428
  export type DeviceFlowStateUpdateManyMutationInput = {
301
429
  state?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -309,6 +437,14 @@ export type DeviceFlowStateUpdateManyMutationInput = {
309
437
  codeChallenge?: Prisma.StringFieldUpdateOperationsInput | string;
310
438
  codeChallengeMethod?: Prisma.StringFieldUpdateOperationsInput | string;
311
439
  redirectUri?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
440
+ requestedGitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
441
+ clientState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
442
+ nextPollAt?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
443
+ selectedInstance?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
444
+ selectedInstanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
445
+ mcpScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
446
+ resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
447
+ gitlabTokens?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
312
448
  };
313
449
  export type DeviceFlowStateUncheckedUpdateManyInput = {
314
450
  state?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -322,6 +458,14 @@ export type DeviceFlowStateUncheckedUpdateManyInput = {
322
458
  codeChallenge?: Prisma.StringFieldUpdateOperationsInput | string;
323
459
  codeChallengeMethod?: Prisma.StringFieldUpdateOperationsInput | string;
324
460
  redirectUri?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
461
+ requestedGitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
462
+ clientState?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
463
+ nextPollAt?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
464
+ selectedInstance?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
465
+ selectedInstanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
466
+ mcpScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
467
+ resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
468
+ gitlabTokens?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
325
469
  };
326
470
  export type DeviceFlowStateCountOrderByAggregateInput = {
327
471
  state?: Prisma.SortOrder;
@@ -335,10 +479,19 @@ export type DeviceFlowStateCountOrderByAggregateInput = {
335
479
  codeChallenge?: Prisma.SortOrder;
336
480
  codeChallengeMethod?: Prisma.SortOrder;
337
481
  redirectUri?: Prisma.SortOrder;
482
+ requestedGitlabScopes?: Prisma.SortOrder;
483
+ clientState?: Prisma.SortOrder;
484
+ nextPollAt?: Prisma.SortOrder;
485
+ selectedInstance?: Prisma.SortOrder;
486
+ selectedInstanceLabel?: Prisma.SortOrder;
487
+ mcpScopes?: Prisma.SortOrder;
488
+ resource?: Prisma.SortOrder;
489
+ gitlabTokens?: Prisma.SortOrder;
338
490
  };
339
491
  export type DeviceFlowStateAvgOrderByAggregateInput = {
340
492
  expiresAt?: Prisma.SortOrder;
341
493
  interval?: Prisma.SortOrder;
494
+ nextPollAt?: Prisma.SortOrder;
342
495
  };
343
496
  export type DeviceFlowStateMaxOrderByAggregateInput = {
344
497
  state?: Prisma.SortOrder;
@@ -352,6 +505,11 @@ export type DeviceFlowStateMaxOrderByAggregateInput = {
352
505
  codeChallenge?: Prisma.SortOrder;
353
506
  codeChallengeMethod?: Prisma.SortOrder;
354
507
  redirectUri?: Prisma.SortOrder;
508
+ clientState?: Prisma.SortOrder;
509
+ nextPollAt?: Prisma.SortOrder;
510
+ selectedInstance?: Prisma.SortOrder;
511
+ selectedInstanceLabel?: Prisma.SortOrder;
512
+ resource?: Prisma.SortOrder;
355
513
  };
356
514
  export type DeviceFlowStateMinOrderByAggregateInput = {
357
515
  state?: Prisma.SortOrder;
@@ -365,10 +523,16 @@ export type DeviceFlowStateMinOrderByAggregateInput = {
365
523
  codeChallenge?: Prisma.SortOrder;
366
524
  codeChallengeMethod?: Prisma.SortOrder;
367
525
  redirectUri?: Prisma.SortOrder;
526
+ clientState?: Prisma.SortOrder;
527
+ nextPollAt?: Prisma.SortOrder;
528
+ selectedInstance?: Prisma.SortOrder;
529
+ selectedInstanceLabel?: Prisma.SortOrder;
530
+ resource?: Prisma.SortOrder;
368
531
  };
369
532
  export type DeviceFlowStateSumOrderByAggregateInput = {
370
533
  expiresAt?: Prisma.SortOrder;
371
534
  interval?: Prisma.SortOrder;
535
+ nextPollAt?: Prisma.SortOrder;
372
536
  };
373
537
  export type DeviceFlowStateSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
374
538
  state?: boolean;
@@ -382,6 +546,14 @@ export type DeviceFlowStateSelect<ExtArgs extends runtime.Types.Extensions.Inter
382
546
  codeChallenge?: boolean;
383
547
  codeChallengeMethod?: boolean;
384
548
  redirectUri?: boolean;
549
+ requestedGitlabScopes?: boolean;
550
+ clientState?: boolean;
551
+ nextPollAt?: boolean;
552
+ selectedInstance?: boolean;
553
+ selectedInstanceLabel?: boolean;
554
+ mcpScopes?: boolean;
555
+ resource?: boolean;
556
+ gitlabTokens?: boolean;
385
557
  }, ExtArgs["result"]["deviceFlowState"]>;
386
558
  export type DeviceFlowStateSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
387
559
  state?: boolean;
@@ -395,6 +567,14 @@ export type DeviceFlowStateSelectCreateManyAndReturn<ExtArgs extends runtime.Typ
395
567
  codeChallenge?: boolean;
396
568
  codeChallengeMethod?: boolean;
397
569
  redirectUri?: boolean;
570
+ requestedGitlabScopes?: boolean;
571
+ clientState?: boolean;
572
+ nextPollAt?: boolean;
573
+ selectedInstance?: boolean;
574
+ selectedInstanceLabel?: boolean;
575
+ mcpScopes?: boolean;
576
+ resource?: boolean;
577
+ gitlabTokens?: boolean;
398
578
  }, ExtArgs["result"]["deviceFlowState"]>;
399
579
  export type DeviceFlowStateSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
400
580
  state?: boolean;
@@ -408,6 +588,14 @@ export type DeviceFlowStateSelectUpdateManyAndReturn<ExtArgs extends runtime.Typ
408
588
  codeChallenge?: boolean;
409
589
  codeChallengeMethod?: boolean;
410
590
  redirectUri?: boolean;
591
+ requestedGitlabScopes?: boolean;
592
+ clientState?: boolean;
593
+ nextPollAt?: boolean;
594
+ selectedInstance?: boolean;
595
+ selectedInstanceLabel?: boolean;
596
+ mcpScopes?: boolean;
597
+ resource?: boolean;
598
+ gitlabTokens?: boolean;
411
599
  }, ExtArgs["result"]["deviceFlowState"]>;
412
600
  export type DeviceFlowStateSelectScalar = {
413
601
  state?: boolean;
@@ -421,8 +609,16 @@ export type DeviceFlowStateSelectScalar = {
421
609
  codeChallenge?: boolean;
422
610
  codeChallengeMethod?: boolean;
423
611
  redirectUri?: boolean;
424
- };
425
- export type DeviceFlowStateOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"state" | "deviceCode" | "userCode" | "verificationUri" | "verificationUriComplete" | "expiresAt" | "interval" | "clientId" | "codeChallenge" | "codeChallengeMethod" | "redirectUri", ExtArgs["result"]["deviceFlowState"]>;
612
+ requestedGitlabScopes?: boolean;
613
+ clientState?: boolean;
614
+ nextPollAt?: boolean;
615
+ selectedInstance?: boolean;
616
+ selectedInstanceLabel?: boolean;
617
+ mcpScopes?: boolean;
618
+ resource?: boolean;
619
+ gitlabTokens?: boolean;
620
+ };
621
+ export type DeviceFlowStateOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"state" | "deviceCode" | "userCode" | "verificationUri" | "verificationUriComplete" | "expiresAt" | "interval" | "clientId" | "codeChallenge" | "codeChallengeMethod" | "redirectUri" | "requestedGitlabScopes" | "clientState" | "nextPollAt" | "selectedInstance" | "selectedInstanceLabel" | "mcpScopes" | "resource" | "gitlabTokens", ExtArgs["result"]["deviceFlowState"]>;
426
622
  export type $DeviceFlowStatePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
427
623
  name: "DeviceFlowState";
428
624
  objects: {};
@@ -438,6 +634,14 @@ export type $DeviceFlowStatePayload<ExtArgs extends runtime.Types.Extensions.Int
438
634
  codeChallenge: string;
439
635
  codeChallengeMethod: string;
440
636
  redirectUri: string | null;
637
+ requestedGitlabScopes: runtime.JsonValue | null;
638
+ clientState: string | null;
639
+ nextPollAt: bigint | null;
640
+ selectedInstance: string | null;
641
+ selectedInstanceLabel: string | null;
642
+ mcpScopes: runtime.JsonValue | null;
643
+ resource: string | null;
644
+ gitlabTokens: runtime.JsonValue | null;
441
645
  }, ExtArgs["result"]["deviceFlowState"]>;
442
646
  composites: {};
443
647
  };
@@ -506,6 +710,14 @@ export interface DeviceFlowStateFieldRefs {
506
710
  readonly codeChallenge: Prisma.FieldRef<"DeviceFlowState", 'String'>;
507
711
  readonly codeChallengeMethod: Prisma.FieldRef<"DeviceFlowState", 'String'>;
508
712
  readonly redirectUri: Prisma.FieldRef<"DeviceFlowState", 'String'>;
713
+ readonly requestedGitlabScopes: Prisma.FieldRef<"DeviceFlowState", 'Json'>;
714
+ readonly clientState: Prisma.FieldRef<"DeviceFlowState", 'String'>;
715
+ readonly nextPollAt: Prisma.FieldRef<"DeviceFlowState", 'BigInt'>;
716
+ readonly selectedInstance: Prisma.FieldRef<"DeviceFlowState", 'String'>;
717
+ readonly selectedInstanceLabel: Prisma.FieldRef<"DeviceFlowState", 'String'>;
718
+ readonly mcpScopes: Prisma.FieldRef<"DeviceFlowState", 'Json'>;
719
+ readonly resource: Prisma.FieldRef<"DeviceFlowState", 'String'>;
720
+ readonly gitlabTokens: Prisma.FieldRef<"DeviceFlowState", 'Json'>;
509
721
  }
510
722
  export type DeviceFlowStateFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
511
723
  select?: Prisma.DeviceFlowStateSelect<ExtArgs> | null;