@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
@@ -23,6 +23,9 @@ export type AuthCodeFlowStateMinAggregateOutputType = {
23
23
  clientRedirectUri: string | null;
24
24
  callbackUri: string | null;
25
25
  expiresAt: bigint | null;
26
+ selectedInstance: string | null;
27
+ selectedInstanceLabel: string | null;
28
+ resource: string | null;
26
29
  };
27
30
  export type AuthCodeFlowStateMaxAggregateOutputType = {
28
31
  internalState: string | null;
@@ -33,6 +36,9 @@ export type AuthCodeFlowStateMaxAggregateOutputType = {
33
36
  clientRedirectUri: string | null;
34
37
  callbackUri: string | null;
35
38
  expiresAt: bigint | null;
39
+ selectedInstance: string | null;
40
+ selectedInstanceLabel: string | null;
41
+ resource: string | null;
36
42
  };
37
43
  export type AuthCodeFlowStateCountAggregateOutputType = {
38
44
  internalState: number;
@@ -43,6 +49,12 @@ export type AuthCodeFlowStateCountAggregateOutputType = {
43
49
  clientRedirectUri: number;
44
50
  callbackUri: number;
45
51
  expiresAt: number;
52
+ requestedGitlabScopes: number;
53
+ selectedInstance: number;
54
+ selectedInstanceLabel: number;
55
+ mcpScopes: number;
56
+ resource: number;
57
+ gitlabTokens: number;
46
58
  _all: number;
47
59
  };
48
60
  export type AuthCodeFlowStateAvgAggregateInputType = {
@@ -60,6 +72,9 @@ export type AuthCodeFlowStateMinAggregateInputType = {
60
72
  clientRedirectUri?: true;
61
73
  callbackUri?: true;
62
74
  expiresAt?: true;
75
+ selectedInstance?: true;
76
+ selectedInstanceLabel?: true;
77
+ resource?: true;
63
78
  };
64
79
  export type AuthCodeFlowStateMaxAggregateInputType = {
65
80
  internalState?: true;
@@ -70,6 +85,9 @@ export type AuthCodeFlowStateMaxAggregateInputType = {
70
85
  clientRedirectUri?: true;
71
86
  callbackUri?: true;
72
87
  expiresAt?: true;
88
+ selectedInstance?: true;
89
+ selectedInstanceLabel?: true;
90
+ resource?: true;
73
91
  };
74
92
  export type AuthCodeFlowStateCountAggregateInputType = {
75
93
  internalState?: true;
@@ -80,6 +98,12 @@ export type AuthCodeFlowStateCountAggregateInputType = {
80
98
  clientRedirectUri?: true;
81
99
  callbackUri?: true;
82
100
  expiresAt?: true;
101
+ requestedGitlabScopes?: true;
102
+ selectedInstance?: true;
103
+ selectedInstanceLabel?: true;
104
+ mcpScopes?: true;
105
+ resource?: true;
106
+ gitlabTokens?: true;
83
107
  _all?: true;
84
108
  };
85
109
  export type AuthCodeFlowStateAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -119,6 +143,12 @@ export type AuthCodeFlowStateGroupByOutputType = {
119
143
  clientRedirectUri: string;
120
144
  callbackUri: string;
121
145
  expiresAt: bigint;
146
+ requestedGitlabScopes: runtime.JsonValue | null;
147
+ selectedInstance: string | null;
148
+ selectedInstanceLabel: string | null;
149
+ mcpScopes: runtime.JsonValue | null;
150
+ resource: string | null;
151
+ gitlabTokens: runtime.JsonValue | null;
122
152
  _count: AuthCodeFlowStateCountAggregateOutputType | null;
123
153
  _avg: AuthCodeFlowStateAvgAggregateOutputType | null;
124
154
  _sum: AuthCodeFlowStateSumAggregateOutputType | null;
@@ -140,6 +170,12 @@ export type AuthCodeFlowStateWhereInput = {
140
170
  clientRedirectUri?: Prisma.StringFilter<"AuthCodeFlowState"> | string;
141
171
  callbackUri?: Prisma.StringFilter<"AuthCodeFlowState"> | string;
142
172
  expiresAt?: Prisma.BigIntFilter<"AuthCodeFlowState"> | bigint | number;
173
+ requestedGitlabScopes?: Prisma.JsonNullableFilter<"AuthCodeFlowState">;
174
+ selectedInstance?: Prisma.StringNullableFilter<"AuthCodeFlowState"> | string | null;
175
+ selectedInstanceLabel?: Prisma.StringNullableFilter<"AuthCodeFlowState"> | string | null;
176
+ mcpScopes?: Prisma.JsonNullableFilter<"AuthCodeFlowState">;
177
+ resource?: Prisma.StringNullableFilter<"AuthCodeFlowState"> | string | null;
178
+ gitlabTokens?: Prisma.JsonNullableFilter<"AuthCodeFlowState">;
143
179
  };
144
180
  export type AuthCodeFlowStateOrderByWithRelationInput = {
145
181
  internalState?: Prisma.SortOrder;
@@ -150,6 +186,12 @@ export type AuthCodeFlowStateOrderByWithRelationInput = {
150
186
  clientRedirectUri?: Prisma.SortOrder;
151
187
  callbackUri?: Prisma.SortOrder;
152
188
  expiresAt?: Prisma.SortOrder;
189
+ requestedGitlabScopes?: Prisma.SortOrderInput | Prisma.SortOrder;
190
+ selectedInstance?: Prisma.SortOrderInput | Prisma.SortOrder;
191
+ selectedInstanceLabel?: Prisma.SortOrderInput | Prisma.SortOrder;
192
+ mcpScopes?: Prisma.SortOrderInput | Prisma.SortOrder;
193
+ resource?: Prisma.SortOrderInput | Prisma.SortOrder;
194
+ gitlabTokens?: Prisma.SortOrderInput | Prisma.SortOrder;
153
195
  };
154
196
  export type AuthCodeFlowStateWhereUniqueInput = Prisma.AtLeast<{
155
197
  internalState?: string;
@@ -163,6 +205,12 @@ export type AuthCodeFlowStateWhereUniqueInput = Prisma.AtLeast<{
163
205
  clientRedirectUri?: Prisma.StringFilter<"AuthCodeFlowState"> | string;
164
206
  callbackUri?: Prisma.StringFilter<"AuthCodeFlowState"> | string;
165
207
  expiresAt?: Prisma.BigIntFilter<"AuthCodeFlowState"> | bigint | number;
208
+ requestedGitlabScopes?: Prisma.JsonNullableFilter<"AuthCodeFlowState">;
209
+ selectedInstance?: Prisma.StringNullableFilter<"AuthCodeFlowState"> | string | null;
210
+ selectedInstanceLabel?: Prisma.StringNullableFilter<"AuthCodeFlowState"> | string | null;
211
+ mcpScopes?: Prisma.JsonNullableFilter<"AuthCodeFlowState">;
212
+ resource?: Prisma.StringNullableFilter<"AuthCodeFlowState"> | string | null;
213
+ gitlabTokens?: Prisma.JsonNullableFilter<"AuthCodeFlowState">;
166
214
  }, "internalState">;
167
215
  export type AuthCodeFlowStateOrderByWithAggregationInput = {
168
216
  internalState?: Prisma.SortOrder;
@@ -173,6 +221,12 @@ export type AuthCodeFlowStateOrderByWithAggregationInput = {
173
221
  clientRedirectUri?: Prisma.SortOrder;
174
222
  callbackUri?: Prisma.SortOrder;
175
223
  expiresAt?: Prisma.SortOrder;
224
+ requestedGitlabScopes?: Prisma.SortOrderInput | Prisma.SortOrder;
225
+ selectedInstance?: Prisma.SortOrderInput | Prisma.SortOrder;
226
+ selectedInstanceLabel?: Prisma.SortOrderInput | Prisma.SortOrder;
227
+ mcpScopes?: Prisma.SortOrderInput | Prisma.SortOrder;
228
+ resource?: Prisma.SortOrderInput | Prisma.SortOrder;
229
+ gitlabTokens?: Prisma.SortOrderInput | Prisma.SortOrder;
176
230
  _count?: Prisma.AuthCodeFlowStateCountOrderByAggregateInput;
177
231
  _avg?: Prisma.AuthCodeFlowStateAvgOrderByAggregateInput;
178
232
  _max?: Prisma.AuthCodeFlowStateMaxOrderByAggregateInput;
@@ -191,6 +245,12 @@ export type AuthCodeFlowStateScalarWhereWithAggregatesInput = {
191
245
  clientRedirectUri?: Prisma.StringWithAggregatesFilter<"AuthCodeFlowState"> | string;
192
246
  callbackUri?: Prisma.StringWithAggregatesFilter<"AuthCodeFlowState"> | string;
193
247
  expiresAt?: Prisma.BigIntWithAggregatesFilter<"AuthCodeFlowState"> | bigint | number;
248
+ requestedGitlabScopes?: Prisma.JsonNullableWithAggregatesFilter<"AuthCodeFlowState">;
249
+ selectedInstance?: Prisma.StringNullableWithAggregatesFilter<"AuthCodeFlowState"> | string | null;
250
+ selectedInstanceLabel?: Prisma.StringNullableWithAggregatesFilter<"AuthCodeFlowState"> | string | null;
251
+ mcpScopes?: Prisma.JsonNullableWithAggregatesFilter<"AuthCodeFlowState">;
252
+ resource?: Prisma.StringNullableWithAggregatesFilter<"AuthCodeFlowState"> | string | null;
253
+ gitlabTokens?: Prisma.JsonNullableWithAggregatesFilter<"AuthCodeFlowState">;
194
254
  };
195
255
  export type AuthCodeFlowStateCreateInput = {
196
256
  internalState: string;
@@ -201,6 +261,12 @@ export type AuthCodeFlowStateCreateInput = {
201
261
  clientRedirectUri: string;
202
262
  callbackUri: string;
203
263
  expiresAt: bigint | number;
264
+ requestedGitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
265
+ selectedInstance?: string | null;
266
+ selectedInstanceLabel?: string | null;
267
+ mcpScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
268
+ resource?: string | null;
269
+ gitlabTokens?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
204
270
  };
205
271
  export type AuthCodeFlowStateUncheckedCreateInput = {
206
272
  internalState: string;
@@ -211,6 +277,12 @@ export type AuthCodeFlowStateUncheckedCreateInput = {
211
277
  clientRedirectUri: string;
212
278
  callbackUri: string;
213
279
  expiresAt: bigint | number;
280
+ requestedGitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
281
+ selectedInstance?: string | null;
282
+ selectedInstanceLabel?: string | null;
283
+ mcpScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
284
+ resource?: string | null;
285
+ gitlabTokens?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
214
286
  };
215
287
  export type AuthCodeFlowStateUpdateInput = {
216
288
  internalState?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -221,6 +293,12 @@ export type AuthCodeFlowStateUpdateInput = {
221
293
  clientRedirectUri?: Prisma.StringFieldUpdateOperationsInput | string;
222
294
  callbackUri?: Prisma.StringFieldUpdateOperationsInput | string;
223
295
  expiresAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
296
+ requestedGitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
297
+ selectedInstance?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
298
+ selectedInstanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
299
+ mcpScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
300
+ resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
301
+ gitlabTokens?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
224
302
  };
225
303
  export type AuthCodeFlowStateUncheckedUpdateInput = {
226
304
  internalState?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -231,6 +309,12 @@ export type AuthCodeFlowStateUncheckedUpdateInput = {
231
309
  clientRedirectUri?: Prisma.StringFieldUpdateOperationsInput | string;
232
310
  callbackUri?: Prisma.StringFieldUpdateOperationsInput | string;
233
311
  expiresAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
312
+ requestedGitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
313
+ selectedInstance?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
314
+ selectedInstanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
315
+ mcpScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
316
+ resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
317
+ gitlabTokens?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
234
318
  };
235
319
  export type AuthCodeFlowStateCreateManyInput = {
236
320
  internalState: string;
@@ -241,6 +325,12 @@ export type AuthCodeFlowStateCreateManyInput = {
241
325
  clientRedirectUri: string;
242
326
  callbackUri: string;
243
327
  expiresAt: bigint | number;
328
+ requestedGitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
329
+ selectedInstance?: string | null;
330
+ selectedInstanceLabel?: string | null;
331
+ mcpScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
332
+ resource?: string | null;
333
+ gitlabTokens?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
244
334
  };
245
335
  export type AuthCodeFlowStateUpdateManyMutationInput = {
246
336
  internalState?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -251,6 +341,12 @@ export type AuthCodeFlowStateUpdateManyMutationInput = {
251
341
  clientRedirectUri?: Prisma.StringFieldUpdateOperationsInput | string;
252
342
  callbackUri?: Prisma.StringFieldUpdateOperationsInput | string;
253
343
  expiresAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
344
+ requestedGitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
345
+ selectedInstance?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
346
+ selectedInstanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
347
+ mcpScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
348
+ resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
349
+ gitlabTokens?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
254
350
  };
255
351
  export type AuthCodeFlowStateUncheckedUpdateManyInput = {
256
352
  internalState?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -261,6 +357,12 @@ export type AuthCodeFlowStateUncheckedUpdateManyInput = {
261
357
  clientRedirectUri?: Prisma.StringFieldUpdateOperationsInput | string;
262
358
  callbackUri?: Prisma.StringFieldUpdateOperationsInput | string;
263
359
  expiresAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
360
+ requestedGitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
361
+ selectedInstance?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
362
+ selectedInstanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
363
+ mcpScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
364
+ resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
365
+ gitlabTokens?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
264
366
  };
265
367
  export type AuthCodeFlowStateCountOrderByAggregateInput = {
266
368
  internalState?: Prisma.SortOrder;
@@ -271,6 +373,12 @@ export type AuthCodeFlowStateCountOrderByAggregateInput = {
271
373
  clientRedirectUri?: Prisma.SortOrder;
272
374
  callbackUri?: Prisma.SortOrder;
273
375
  expiresAt?: Prisma.SortOrder;
376
+ requestedGitlabScopes?: Prisma.SortOrder;
377
+ selectedInstance?: Prisma.SortOrder;
378
+ selectedInstanceLabel?: Prisma.SortOrder;
379
+ mcpScopes?: Prisma.SortOrder;
380
+ resource?: Prisma.SortOrder;
381
+ gitlabTokens?: Prisma.SortOrder;
274
382
  };
275
383
  export type AuthCodeFlowStateAvgOrderByAggregateInput = {
276
384
  expiresAt?: Prisma.SortOrder;
@@ -284,6 +392,9 @@ export type AuthCodeFlowStateMaxOrderByAggregateInput = {
284
392
  clientRedirectUri?: Prisma.SortOrder;
285
393
  callbackUri?: Prisma.SortOrder;
286
394
  expiresAt?: Prisma.SortOrder;
395
+ selectedInstance?: Prisma.SortOrder;
396
+ selectedInstanceLabel?: Prisma.SortOrder;
397
+ resource?: Prisma.SortOrder;
287
398
  };
288
399
  export type AuthCodeFlowStateMinOrderByAggregateInput = {
289
400
  internalState?: Prisma.SortOrder;
@@ -294,6 +405,9 @@ export type AuthCodeFlowStateMinOrderByAggregateInput = {
294
405
  clientRedirectUri?: Prisma.SortOrder;
295
406
  callbackUri?: Prisma.SortOrder;
296
407
  expiresAt?: Prisma.SortOrder;
408
+ selectedInstance?: Prisma.SortOrder;
409
+ selectedInstanceLabel?: Prisma.SortOrder;
410
+ resource?: Prisma.SortOrder;
297
411
  };
298
412
  export type AuthCodeFlowStateSumOrderByAggregateInput = {
299
413
  expiresAt?: Prisma.SortOrder;
@@ -307,6 +421,12 @@ export type AuthCodeFlowStateSelect<ExtArgs extends runtime.Types.Extensions.Int
307
421
  clientRedirectUri?: boolean;
308
422
  callbackUri?: boolean;
309
423
  expiresAt?: boolean;
424
+ requestedGitlabScopes?: boolean;
425
+ selectedInstance?: boolean;
426
+ selectedInstanceLabel?: boolean;
427
+ mcpScopes?: boolean;
428
+ resource?: boolean;
429
+ gitlabTokens?: boolean;
310
430
  }, ExtArgs["result"]["authCodeFlowState"]>;
311
431
  export type AuthCodeFlowStateSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
312
432
  internalState?: boolean;
@@ -317,6 +437,12 @@ export type AuthCodeFlowStateSelectCreateManyAndReturn<ExtArgs extends runtime.T
317
437
  clientRedirectUri?: boolean;
318
438
  callbackUri?: boolean;
319
439
  expiresAt?: boolean;
440
+ requestedGitlabScopes?: boolean;
441
+ selectedInstance?: boolean;
442
+ selectedInstanceLabel?: boolean;
443
+ mcpScopes?: boolean;
444
+ resource?: boolean;
445
+ gitlabTokens?: boolean;
320
446
  }, ExtArgs["result"]["authCodeFlowState"]>;
321
447
  export type AuthCodeFlowStateSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
322
448
  internalState?: boolean;
@@ -327,6 +453,12 @@ export type AuthCodeFlowStateSelectUpdateManyAndReturn<ExtArgs extends runtime.T
327
453
  clientRedirectUri?: boolean;
328
454
  callbackUri?: boolean;
329
455
  expiresAt?: boolean;
456
+ requestedGitlabScopes?: boolean;
457
+ selectedInstance?: boolean;
458
+ selectedInstanceLabel?: boolean;
459
+ mcpScopes?: boolean;
460
+ resource?: boolean;
461
+ gitlabTokens?: boolean;
330
462
  }, ExtArgs["result"]["authCodeFlowState"]>;
331
463
  export type AuthCodeFlowStateSelectScalar = {
332
464
  internalState?: boolean;
@@ -337,8 +469,14 @@ export type AuthCodeFlowStateSelectScalar = {
337
469
  clientRedirectUri?: boolean;
338
470
  callbackUri?: boolean;
339
471
  expiresAt?: boolean;
340
- };
341
- export type AuthCodeFlowStateOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"internalState" | "clientId" | "codeChallenge" | "codeChallengeMethod" | "clientState" | "clientRedirectUri" | "callbackUri" | "expiresAt", ExtArgs["result"]["authCodeFlowState"]>;
472
+ requestedGitlabScopes?: boolean;
473
+ selectedInstance?: boolean;
474
+ selectedInstanceLabel?: boolean;
475
+ mcpScopes?: boolean;
476
+ resource?: boolean;
477
+ gitlabTokens?: boolean;
478
+ };
479
+ export type AuthCodeFlowStateOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"internalState" | "clientId" | "codeChallenge" | "codeChallengeMethod" | "clientState" | "clientRedirectUri" | "callbackUri" | "expiresAt" | "requestedGitlabScopes" | "selectedInstance" | "selectedInstanceLabel" | "mcpScopes" | "resource" | "gitlabTokens", ExtArgs["result"]["authCodeFlowState"]>;
342
480
  export type $AuthCodeFlowStatePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
343
481
  name: "AuthCodeFlowState";
344
482
  objects: {};
@@ -351,6 +489,12 @@ export type $AuthCodeFlowStatePayload<ExtArgs extends runtime.Types.Extensions.I
351
489
  clientRedirectUri: string;
352
490
  callbackUri: string;
353
491
  expiresAt: bigint;
492
+ requestedGitlabScopes: runtime.JsonValue | null;
493
+ selectedInstance: string | null;
494
+ selectedInstanceLabel: string | null;
495
+ mcpScopes: runtime.JsonValue | null;
496
+ resource: string | null;
497
+ gitlabTokens: runtime.JsonValue | null;
354
498
  }, ExtArgs["result"]["authCodeFlowState"]>;
355
499
  composites: {};
356
500
  };
@@ -416,6 +560,12 @@ export interface AuthCodeFlowStateFieldRefs {
416
560
  readonly clientRedirectUri: Prisma.FieldRef<"AuthCodeFlowState", 'String'>;
417
561
  readonly callbackUri: Prisma.FieldRef<"AuthCodeFlowState", 'String'>;
418
562
  readonly expiresAt: Prisma.FieldRef<"AuthCodeFlowState", 'BigInt'>;
563
+ readonly requestedGitlabScopes: Prisma.FieldRef<"AuthCodeFlowState", 'Json'>;
564
+ readonly selectedInstance: Prisma.FieldRef<"AuthCodeFlowState", 'String'>;
565
+ readonly selectedInstanceLabel: Prisma.FieldRef<"AuthCodeFlowState", 'String'>;
566
+ readonly mcpScopes: Prisma.FieldRef<"AuthCodeFlowState", 'Json'>;
567
+ readonly resource: Prisma.FieldRef<"AuthCodeFlowState", 'String'>;
568
+ readonly gitlabTokens: Prisma.FieldRef<"AuthCodeFlowState", 'Json'>;
419
569
  }
420
570
  export type AuthCodeFlowStateFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
421
571
  select?: Prisma.AuthCodeFlowStateSelect<ExtArgs> | null;