@structured-world/gitlab-mcp-db 10.1.0 → 12.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 (35) hide show
  1. package/README.md +8 -8
  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 +6 -6
  6. package/dist/generated/prisma/internal/class.js.map +1 -1
  7. package/dist/generated/prisma/internal/prismaNamespace.d.ts +209 -1
  8. package/dist/generated/prisma/internal/prismaNamespace.js +56 -5
  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 +174 -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 +555 -3
  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 +29 -1
  24. package/dist/src/postgresql.js +580 -86
  25. package/dist/src/postgresql.js.map +1 -1
  26. package/dist/tsconfig.tsbuildinfo +1 -1
  27. package/package.json +12 -6
  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/20261017000000_linked_accounts/migration.sql +15 -0
  33. package/prisma/migrations/migration_lock.toml +3 -0
  34. package/prisma/schema.prisma +66 -0
  35. 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,13 @@ 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;
58
+ link: number;
46
59
  _all: number;
47
60
  };
48
61
  export type AuthCodeFlowStateAvgAggregateInputType = {
@@ -60,6 +73,9 @@ export type AuthCodeFlowStateMinAggregateInputType = {
60
73
  clientRedirectUri?: true;
61
74
  callbackUri?: true;
62
75
  expiresAt?: true;
76
+ selectedInstance?: true;
77
+ selectedInstanceLabel?: true;
78
+ resource?: true;
63
79
  };
64
80
  export type AuthCodeFlowStateMaxAggregateInputType = {
65
81
  internalState?: true;
@@ -70,6 +86,9 @@ export type AuthCodeFlowStateMaxAggregateInputType = {
70
86
  clientRedirectUri?: true;
71
87
  callbackUri?: true;
72
88
  expiresAt?: true;
89
+ selectedInstance?: true;
90
+ selectedInstanceLabel?: true;
91
+ resource?: true;
73
92
  };
74
93
  export type AuthCodeFlowStateCountAggregateInputType = {
75
94
  internalState?: true;
@@ -80,6 +99,13 @@ export type AuthCodeFlowStateCountAggregateInputType = {
80
99
  clientRedirectUri?: true;
81
100
  callbackUri?: true;
82
101
  expiresAt?: true;
102
+ requestedGitlabScopes?: true;
103
+ selectedInstance?: true;
104
+ selectedInstanceLabel?: true;
105
+ mcpScopes?: true;
106
+ resource?: true;
107
+ gitlabTokens?: true;
108
+ link?: true;
83
109
  _all?: true;
84
110
  };
85
111
  export type AuthCodeFlowStateAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -119,6 +145,13 @@ export type AuthCodeFlowStateGroupByOutputType = {
119
145
  clientRedirectUri: string;
120
146
  callbackUri: string;
121
147
  expiresAt: bigint;
148
+ requestedGitlabScopes: runtime.JsonValue | null;
149
+ selectedInstance: string | null;
150
+ selectedInstanceLabel: string | null;
151
+ mcpScopes: runtime.JsonValue | null;
152
+ resource: string | null;
153
+ gitlabTokens: runtime.JsonValue | null;
154
+ link: runtime.JsonValue | null;
122
155
  _count: AuthCodeFlowStateCountAggregateOutputType | null;
123
156
  _avg: AuthCodeFlowStateAvgAggregateOutputType | null;
124
157
  _sum: AuthCodeFlowStateSumAggregateOutputType | null;
@@ -140,6 +173,13 @@ export type AuthCodeFlowStateWhereInput = {
140
173
  clientRedirectUri?: Prisma.StringFilter<"AuthCodeFlowState"> | string;
141
174
  callbackUri?: Prisma.StringFilter<"AuthCodeFlowState"> | string;
142
175
  expiresAt?: Prisma.BigIntFilter<"AuthCodeFlowState"> | bigint | number;
176
+ requestedGitlabScopes?: Prisma.JsonNullableFilter<"AuthCodeFlowState">;
177
+ selectedInstance?: Prisma.StringNullableFilter<"AuthCodeFlowState"> | string | null;
178
+ selectedInstanceLabel?: Prisma.StringNullableFilter<"AuthCodeFlowState"> | string | null;
179
+ mcpScopes?: Prisma.JsonNullableFilter<"AuthCodeFlowState">;
180
+ resource?: Prisma.StringNullableFilter<"AuthCodeFlowState"> | string | null;
181
+ gitlabTokens?: Prisma.JsonNullableFilter<"AuthCodeFlowState">;
182
+ link?: Prisma.JsonNullableFilter<"AuthCodeFlowState">;
143
183
  };
144
184
  export type AuthCodeFlowStateOrderByWithRelationInput = {
145
185
  internalState?: Prisma.SortOrder;
@@ -150,6 +190,13 @@ export type AuthCodeFlowStateOrderByWithRelationInput = {
150
190
  clientRedirectUri?: Prisma.SortOrder;
151
191
  callbackUri?: Prisma.SortOrder;
152
192
  expiresAt?: Prisma.SortOrder;
193
+ requestedGitlabScopes?: Prisma.SortOrderInput | Prisma.SortOrder;
194
+ selectedInstance?: Prisma.SortOrderInput | Prisma.SortOrder;
195
+ selectedInstanceLabel?: Prisma.SortOrderInput | Prisma.SortOrder;
196
+ mcpScopes?: Prisma.SortOrderInput | Prisma.SortOrder;
197
+ resource?: Prisma.SortOrderInput | Prisma.SortOrder;
198
+ gitlabTokens?: Prisma.SortOrderInput | Prisma.SortOrder;
199
+ link?: Prisma.SortOrderInput | Prisma.SortOrder;
153
200
  };
154
201
  export type AuthCodeFlowStateWhereUniqueInput = Prisma.AtLeast<{
155
202
  internalState?: string;
@@ -163,6 +210,13 @@ export type AuthCodeFlowStateWhereUniqueInput = Prisma.AtLeast<{
163
210
  clientRedirectUri?: Prisma.StringFilter<"AuthCodeFlowState"> | string;
164
211
  callbackUri?: Prisma.StringFilter<"AuthCodeFlowState"> | string;
165
212
  expiresAt?: Prisma.BigIntFilter<"AuthCodeFlowState"> | bigint | number;
213
+ requestedGitlabScopes?: Prisma.JsonNullableFilter<"AuthCodeFlowState">;
214
+ selectedInstance?: Prisma.StringNullableFilter<"AuthCodeFlowState"> | string | null;
215
+ selectedInstanceLabel?: Prisma.StringNullableFilter<"AuthCodeFlowState"> | string | null;
216
+ mcpScopes?: Prisma.JsonNullableFilter<"AuthCodeFlowState">;
217
+ resource?: Prisma.StringNullableFilter<"AuthCodeFlowState"> | string | null;
218
+ gitlabTokens?: Prisma.JsonNullableFilter<"AuthCodeFlowState">;
219
+ link?: Prisma.JsonNullableFilter<"AuthCodeFlowState">;
166
220
  }, "internalState">;
167
221
  export type AuthCodeFlowStateOrderByWithAggregationInput = {
168
222
  internalState?: Prisma.SortOrder;
@@ -173,6 +227,13 @@ export type AuthCodeFlowStateOrderByWithAggregationInput = {
173
227
  clientRedirectUri?: Prisma.SortOrder;
174
228
  callbackUri?: Prisma.SortOrder;
175
229
  expiresAt?: Prisma.SortOrder;
230
+ requestedGitlabScopes?: Prisma.SortOrderInput | Prisma.SortOrder;
231
+ selectedInstance?: Prisma.SortOrderInput | Prisma.SortOrder;
232
+ selectedInstanceLabel?: Prisma.SortOrderInput | Prisma.SortOrder;
233
+ mcpScopes?: Prisma.SortOrderInput | Prisma.SortOrder;
234
+ resource?: Prisma.SortOrderInput | Prisma.SortOrder;
235
+ gitlabTokens?: Prisma.SortOrderInput | Prisma.SortOrder;
236
+ link?: Prisma.SortOrderInput | Prisma.SortOrder;
176
237
  _count?: Prisma.AuthCodeFlowStateCountOrderByAggregateInput;
177
238
  _avg?: Prisma.AuthCodeFlowStateAvgOrderByAggregateInput;
178
239
  _max?: Prisma.AuthCodeFlowStateMaxOrderByAggregateInput;
@@ -191,6 +252,13 @@ export type AuthCodeFlowStateScalarWhereWithAggregatesInput = {
191
252
  clientRedirectUri?: Prisma.StringWithAggregatesFilter<"AuthCodeFlowState"> | string;
192
253
  callbackUri?: Prisma.StringWithAggregatesFilter<"AuthCodeFlowState"> | string;
193
254
  expiresAt?: Prisma.BigIntWithAggregatesFilter<"AuthCodeFlowState"> | bigint | number;
255
+ requestedGitlabScopes?: Prisma.JsonNullableWithAggregatesFilter<"AuthCodeFlowState">;
256
+ selectedInstance?: Prisma.StringNullableWithAggregatesFilter<"AuthCodeFlowState"> | string | null;
257
+ selectedInstanceLabel?: Prisma.StringNullableWithAggregatesFilter<"AuthCodeFlowState"> | string | null;
258
+ mcpScopes?: Prisma.JsonNullableWithAggregatesFilter<"AuthCodeFlowState">;
259
+ resource?: Prisma.StringNullableWithAggregatesFilter<"AuthCodeFlowState"> | string | null;
260
+ gitlabTokens?: Prisma.JsonNullableWithAggregatesFilter<"AuthCodeFlowState">;
261
+ link?: Prisma.JsonNullableWithAggregatesFilter<"AuthCodeFlowState">;
194
262
  };
195
263
  export type AuthCodeFlowStateCreateInput = {
196
264
  internalState: string;
@@ -201,6 +269,13 @@ export type AuthCodeFlowStateCreateInput = {
201
269
  clientRedirectUri: string;
202
270
  callbackUri: string;
203
271
  expiresAt: bigint | number;
272
+ requestedGitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
273
+ selectedInstance?: string | null;
274
+ selectedInstanceLabel?: string | null;
275
+ mcpScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
276
+ resource?: string | null;
277
+ gitlabTokens?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
278
+ link?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
204
279
  };
205
280
  export type AuthCodeFlowStateUncheckedCreateInput = {
206
281
  internalState: string;
@@ -211,6 +286,13 @@ export type AuthCodeFlowStateUncheckedCreateInput = {
211
286
  clientRedirectUri: string;
212
287
  callbackUri: string;
213
288
  expiresAt: bigint | number;
289
+ requestedGitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
290
+ selectedInstance?: string | null;
291
+ selectedInstanceLabel?: string | null;
292
+ mcpScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
293
+ resource?: string | null;
294
+ gitlabTokens?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
295
+ link?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
214
296
  };
215
297
  export type AuthCodeFlowStateUpdateInput = {
216
298
  internalState?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -221,6 +303,13 @@ export type AuthCodeFlowStateUpdateInput = {
221
303
  clientRedirectUri?: Prisma.StringFieldUpdateOperationsInput | string;
222
304
  callbackUri?: Prisma.StringFieldUpdateOperationsInput | string;
223
305
  expiresAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
306
+ requestedGitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
307
+ selectedInstance?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
308
+ selectedInstanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
309
+ mcpScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
310
+ resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
311
+ gitlabTokens?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
312
+ link?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
224
313
  };
225
314
  export type AuthCodeFlowStateUncheckedUpdateInput = {
226
315
  internalState?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -231,6 +320,13 @@ export type AuthCodeFlowStateUncheckedUpdateInput = {
231
320
  clientRedirectUri?: Prisma.StringFieldUpdateOperationsInput | string;
232
321
  callbackUri?: Prisma.StringFieldUpdateOperationsInput | string;
233
322
  expiresAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
323
+ requestedGitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
324
+ selectedInstance?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
325
+ selectedInstanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
326
+ mcpScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
327
+ resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
328
+ gitlabTokens?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
329
+ link?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
234
330
  };
235
331
  export type AuthCodeFlowStateCreateManyInput = {
236
332
  internalState: string;
@@ -241,6 +337,13 @@ export type AuthCodeFlowStateCreateManyInput = {
241
337
  clientRedirectUri: string;
242
338
  callbackUri: string;
243
339
  expiresAt: bigint | number;
340
+ requestedGitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
341
+ selectedInstance?: string | null;
342
+ selectedInstanceLabel?: string | null;
343
+ mcpScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
344
+ resource?: string | null;
345
+ gitlabTokens?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
346
+ link?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
244
347
  };
245
348
  export type AuthCodeFlowStateUpdateManyMutationInput = {
246
349
  internalState?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -251,6 +354,13 @@ export type AuthCodeFlowStateUpdateManyMutationInput = {
251
354
  clientRedirectUri?: Prisma.StringFieldUpdateOperationsInput | string;
252
355
  callbackUri?: Prisma.StringFieldUpdateOperationsInput | string;
253
356
  expiresAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
357
+ requestedGitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
358
+ selectedInstance?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
359
+ selectedInstanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
360
+ mcpScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
361
+ resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
362
+ gitlabTokens?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
363
+ link?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
254
364
  };
255
365
  export type AuthCodeFlowStateUncheckedUpdateManyInput = {
256
366
  internalState?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -261,6 +371,13 @@ export type AuthCodeFlowStateUncheckedUpdateManyInput = {
261
371
  clientRedirectUri?: Prisma.StringFieldUpdateOperationsInput | string;
262
372
  callbackUri?: Prisma.StringFieldUpdateOperationsInput | string;
263
373
  expiresAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
374
+ requestedGitlabScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
375
+ selectedInstance?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
376
+ selectedInstanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
377
+ mcpScopes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
378
+ resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
379
+ gitlabTokens?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
380
+ link?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
264
381
  };
265
382
  export type AuthCodeFlowStateCountOrderByAggregateInput = {
266
383
  internalState?: Prisma.SortOrder;
@@ -271,6 +388,13 @@ export type AuthCodeFlowStateCountOrderByAggregateInput = {
271
388
  clientRedirectUri?: Prisma.SortOrder;
272
389
  callbackUri?: Prisma.SortOrder;
273
390
  expiresAt?: Prisma.SortOrder;
391
+ requestedGitlabScopes?: Prisma.SortOrder;
392
+ selectedInstance?: Prisma.SortOrder;
393
+ selectedInstanceLabel?: Prisma.SortOrder;
394
+ mcpScopes?: Prisma.SortOrder;
395
+ resource?: Prisma.SortOrder;
396
+ gitlabTokens?: Prisma.SortOrder;
397
+ link?: Prisma.SortOrder;
274
398
  };
275
399
  export type AuthCodeFlowStateAvgOrderByAggregateInput = {
276
400
  expiresAt?: Prisma.SortOrder;
@@ -284,6 +408,9 @@ export type AuthCodeFlowStateMaxOrderByAggregateInput = {
284
408
  clientRedirectUri?: Prisma.SortOrder;
285
409
  callbackUri?: Prisma.SortOrder;
286
410
  expiresAt?: Prisma.SortOrder;
411
+ selectedInstance?: Prisma.SortOrder;
412
+ selectedInstanceLabel?: Prisma.SortOrder;
413
+ resource?: Prisma.SortOrder;
287
414
  };
288
415
  export type AuthCodeFlowStateMinOrderByAggregateInput = {
289
416
  internalState?: Prisma.SortOrder;
@@ -294,6 +421,9 @@ export type AuthCodeFlowStateMinOrderByAggregateInput = {
294
421
  clientRedirectUri?: Prisma.SortOrder;
295
422
  callbackUri?: Prisma.SortOrder;
296
423
  expiresAt?: Prisma.SortOrder;
424
+ selectedInstance?: Prisma.SortOrder;
425
+ selectedInstanceLabel?: Prisma.SortOrder;
426
+ resource?: Prisma.SortOrder;
297
427
  };
298
428
  export type AuthCodeFlowStateSumOrderByAggregateInput = {
299
429
  expiresAt?: Prisma.SortOrder;
@@ -307,6 +437,13 @@ export type AuthCodeFlowStateSelect<ExtArgs extends runtime.Types.Extensions.Int
307
437
  clientRedirectUri?: boolean;
308
438
  callbackUri?: boolean;
309
439
  expiresAt?: boolean;
440
+ requestedGitlabScopes?: boolean;
441
+ selectedInstance?: boolean;
442
+ selectedInstanceLabel?: boolean;
443
+ mcpScopes?: boolean;
444
+ resource?: boolean;
445
+ gitlabTokens?: boolean;
446
+ link?: boolean;
310
447
  }, ExtArgs["result"]["authCodeFlowState"]>;
311
448
  export type AuthCodeFlowStateSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
312
449
  internalState?: boolean;
@@ -317,6 +454,13 @@ export type AuthCodeFlowStateSelectCreateManyAndReturn<ExtArgs extends runtime.T
317
454
  clientRedirectUri?: boolean;
318
455
  callbackUri?: boolean;
319
456
  expiresAt?: boolean;
457
+ requestedGitlabScopes?: boolean;
458
+ selectedInstance?: boolean;
459
+ selectedInstanceLabel?: boolean;
460
+ mcpScopes?: boolean;
461
+ resource?: boolean;
462
+ gitlabTokens?: boolean;
463
+ link?: boolean;
320
464
  }, ExtArgs["result"]["authCodeFlowState"]>;
321
465
  export type AuthCodeFlowStateSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
322
466
  internalState?: boolean;
@@ -327,6 +471,13 @@ export type AuthCodeFlowStateSelectUpdateManyAndReturn<ExtArgs extends runtime.T
327
471
  clientRedirectUri?: boolean;
328
472
  callbackUri?: boolean;
329
473
  expiresAt?: boolean;
474
+ requestedGitlabScopes?: boolean;
475
+ selectedInstance?: boolean;
476
+ selectedInstanceLabel?: boolean;
477
+ mcpScopes?: boolean;
478
+ resource?: boolean;
479
+ gitlabTokens?: boolean;
480
+ link?: boolean;
330
481
  }, ExtArgs["result"]["authCodeFlowState"]>;
331
482
  export type AuthCodeFlowStateSelectScalar = {
332
483
  internalState?: boolean;
@@ -337,8 +488,15 @@ export type AuthCodeFlowStateSelectScalar = {
337
488
  clientRedirectUri?: boolean;
338
489
  callbackUri?: boolean;
339
490
  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"]>;
491
+ requestedGitlabScopes?: boolean;
492
+ selectedInstance?: boolean;
493
+ selectedInstanceLabel?: boolean;
494
+ mcpScopes?: boolean;
495
+ resource?: boolean;
496
+ gitlabTokens?: boolean;
497
+ link?: boolean;
498
+ };
499
+ 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" | "link", ExtArgs["result"]["authCodeFlowState"]>;
342
500
  export type $AuthCodeFlowStatePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
343
501
  name: "AuthCodeFlowState";
344
502
  objects: {};
@@ -351,6 +509,13 @@ export type $AuthCodeFlowStatePayload<ExtArgs extends runtime.Types.Extensions.I
351
509
  clientRedirectUri: string;
352
510
  callbackUri: string;
353
511
  expiresAt: bigint;
512
+ requestedGitlabScopes: runtime.JsonValue | null;
513
+ selectedInstance: string | null;
514
+ selectedInstanceLabel: string | null;
515
+ mcpScopes: runtime.JsonValue | null;
516
+ resource: string | null;
517
+ gitlabTokens: runtime.JsonValue | null;
518
+ link: runtime.JsonValue | null;
354
519
  }, ExtArgs["result"]["authCodeFlowState"]>;
355
520
  composites: {};
356
521
  };
@@ -416,6 +581,13 @@ export interface AuthCodeFlowStateFieldRefs {
416
581
  readonly clientRedirectUri: Prisma.FieldRef<"AuthCodeFlowState", 'String'>;
417
582
  readonly callbackUri: Prisma.FieldRef<"AuthCodeFlowState", 'String'>;
418
583
  readonly expiresAt: Prisma.FieldRef<"AuthCodeFlowState", 'BigInt'>;
584
+ readonly requestedGitlabScopes: Prisma.FieldRef<"AuthCodeFlowState", 'Json'>;
585
+ readonly selectedInstance: Prisma.FieldRef<"AuthCodeFlowState", 'String'>;
586
+ readonly selectedInstanceLabel: Prisma.FieldRef<"AuthCodeFlowState", 'String'>;
587
+ readonly mcpScopes: Prisma.FieldRef<"AuthCodeFlowState", 'Json'>;
588
+ readonly resource: Prisma.FieldRef<"AuthCodeFlowState", 'String'>;
589
+ readonly gitlabTokens: Prisma.FieldRef<"AuthCodeFlowState", 'Json'>;
590
+ readonly link: Prisma.FieldRef<"AuthCodeFlowState", 'Json'>;
419
591
  }
420
592
  export type AuthCodeFlowStateFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
421
593
  select?: Prisma.AuthCodeFlowStateSelect<ExtArgs> | null;