@allbluecn/database 0.10.1 → 0.11.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.
@@ -12477,6 +12477,7 @@ export const LabelScalarFieldEnum = {
12477
12477
  name: 'name',
12478
12478
  color: 'color',
12479
12479
  createdById: 'createdById',
12480
+ projectId: 'projectId',
12480
12481
  createdAt: 'createdAt'
12481
12482
  } as const
12482
12483
 
@@ -12765,7 +12766,9 @@ export const PlanScalarFieldEnum = {
12765
12766
  skillQuota: 'skillQuota',
12766
12767
  sandboxMinutesMonthly: 'sandboxMinutesMonthly',
12767
12768
  mediaGenerationsMonthly: 'mediaGenerationsMonthly',
12768
- galleryStorageMb: 'galleryStorageMb'
12769
+ galleryStorageMb: 'galleryStorageMb',
12770
+ installQuota: 'installQuota',
12771
+ blobStorageMb: 'blobStorageMb'
12769
12772
  } as const
12770
12773
 
12771
12774
  export type PlanScalarFieldEnum = (typeof PlanScalarFieldEnum)[keyof typeof PlanScalarFieldEnum]
@@ -1332,6 +1332,7 @@ export const LabelScalarFieldEnum = {
1332
1332
  name: 'name',
1333
1333
  color: 'color',
1334
1334
  createdById: 'createdById',
1335
+ projectId: 'projectId',
1335
1336
  createdAt: 'createdAt'
1336
1337
  } as const
1337
1338
 
@@ -1620,7 +1621,9 @@ export const PlanScalarFieldEnum = {
1620
1621
  skillQuota: 'skillQuota',
1621
1622
  sandboxMinutesMonthly: 'sandboxMinutesMonthly',
1622
1623
  mediaGenerationsMonthly: 'mediaGenerationsMonthly',
1623
- galleryStorageMb: 'galleryStorageMb'
1624
+ galleryStorageMb: 'galleryStorageMb',
1625
+ installQuota: 'installQuota',
1626
+ blobStorageMb: 'blobStorageMb'
1624
1627
  } as const
1625
1628
 
1626
1629
  export type PlanScalarFieldEnum = (typeof PlanScalarFieldEnum)[keyof typeof PlanScalarFieldEnum]
@@ -29,6 +29,7 @@ export type LabelMinAggregateOutputType = {
29
29
  name: string | null
30
30
  color: string | null
31
31
  createdById: string | null
32
+ projectId: string | null
32
33
  createdAt: Date | null
33
34
  }
34
35
 
@@ -37,6 +38,7 @@ export type LabelMaxAggregateOutputType = {
37
38
  name: string | null
38
39
  color: string | null
39
40
  createdById: string | null
41
+ projectId: string | null
40
42
  createdAt: Date | null
41
43
  }
42
44
 
@@ -45,6 +47,7 @@ export type LabelCountAggregateOutputType = {
45
47
  name: number
46
48
  color: number
47
49
  createdById: number
50
+ projectId: number
48
51
  createdAt: number
49
52
  _all: number
50
53
  }
@@ -55,6 +58,7 @@ export type LabelMinAggregateInputType = {
55
58
  name?: true
56
59
  color?: true
57
60
  createdById?: true
61
+ projectId?: true
58
62
  createdAt?: true
59
63
  }
60
64
 
@@ -63,6 +67,7 @@ export type LabelMaxAggregateInputType = {
63
67
  name?: true
64
68
  color?: true
65
69
  createdById?: true
70
+ projectId?: true
66
71
  createdAt?: true
67
72
  }
68
73
 
@@ -71,6 +76,7 @@ export type LabelCountAggregateInputType = {
71
76
  name?: true
72
77
  color?: true
73
78
  createdById?: true
79
+ projectId?: true
74
80
  createdAt?: true
75
81
  _all?: true
76
82
  }
@@ -152,6 +158,7 @@ export type LabelGroupByOutputType = {
152
158
  name: string
153
159
  color: string
154
160
  createdById: string
161
+ projectId: string | null
155
162
  createdAt: Date
156
163
  _count: LabelCountAggregateOutputType | null
157
164
  _min: LabelMinAggregateOutputType | null
@@ -181,8 +188,10 @@ export type LabelWhereInput = {
181
188
  name?: Prisma.StringFilter<"Label"> | string
182
189
  color?: Prisma.StringFilter<"Label"> | string
183
190
  createdById?: Prisma.StringFilter<"Label"> | string
191
+ projectId?: Prisma.StringNullableFilter<"Label"> | string | null
184
192
  createdAt?: Prisma.DateTimeFilter<"Label"> | Date | string
185
193
  createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
194
+ project?: Prisma.XOR<Prisma.ProjectNullableScalarRelationFilter, Prisma.ProjectWhereInput> | null
186
195
  stories?: Prisma.StoryLabelListRelationFilter
187
196
  bugLabels?: Prisma.BugLabelListRelationFilter
188
197
  }
@@ -192,31 +201,36 @@ export type LabelOrderByWithRelationInput = {
192
201
  name?: Prisma.SortOrder
193
202
  color?: Prisma.SortOrder
194
203
  createdById?: Prisma.SortOrder
204
+ projectId?: Prisma.SortOrderInput | Prisma.SortOrder
195
205
  createdAt?: Prisma.SortOrder
196
206
  createdBy?: Prisma.UserOrderByWithRelationInput
207
+ project?: Prisma.ProjectOrderByWithRelationInput
197
208
  stories?: Prisma.StoryLabelOrderByRelationAggregateInput
198
209
  bugLabels?: Prisma.BugLabelOrderByRelationAggregateInput
199
210
  }
200
211
 
201
212
  export type LabelWhereUniqueInput = Prisma.AtLeast<{
202
213
  id?: string
203
- name?: string
204
214
  AND?: Prisma.LabelWhereInput | Prisma.LabelWhereInput[]
205
215
  OR?: Prisma.LabelWhereInput[]
206
216
  NOT?: Prisma.LabelWhereInput | Prisma.LabelWhereInput[]
217
+ name?: Prisma.StringFilter<"Label"> | string
207
218
  color?: Prisma.StringFilter<"Label"> | string
208
219
  createdById?: Prisma.StringFilter<"Label"> | string
220
+ projectId?: Prisma.StringNullableFilter<"Label"> | string | null
209
221
  createdAt?: Prisma.DateTimeFilter<"Label"> | Date | string
210
222
  createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
223
+ project?: Prisma.XOR<Prisma.ProjectNullableScalarRelationFilter, Prisma.ProjectWhereInput> | null
211
224
  stories?: Prisma.StoryLabelListRelationFilter
212
225
  bugLabels?: Prisma.BugLabelListRelationFilter
213
- }, "id" | "name">
226
+ }, "id">
214
227
 
215
228
  export type LabelOrderByWithAggregationInput = {
216
229
  id?: Prisma.SortOrder
217
230
  name?: Prisma.SortOrder
218
231
  color?: Prisma.SortOrder
219
232
  createdById?: Prisma.SortOrder
233
+ projectId?: Prisma.SortOrderInput | Prisma.SortOrder
220
234
  createdAt?: Prisma.SortOrder
221
235
  _count?: Prisma.LabelCountOrderByAggregateInput
222
236
  _max?: Prisma.LabelMaxOrderByAggregateInput
@@ -231,6 +245,7 @@ export type LabelScalarWhereWithAggregatesInput = {
231
245
  name?: Prisma.StringWithAggregatesFilter<"Label"> | string
232
246
  color?: Prisma.StringWithAggregatesFilter<"Label"> | string
233
247
  createdById?: Prisma.StringWithAggregatesFilter<"Label"> | string
248
+ projectId?: Prisma.StringNullableWithAggregatesFilter<"Label"> | string | null
234
249
  createdAt?: Prisma.DateTimeWithAggregatesFilter<"Label"> | Date | string
235
250
  }
236
251
 
@@ -240,6 +255,7 @@ export type LabelCreateInput = {
240
255
  color?: string
241
256
  createdAt?: Date | string
242
257
  createdBy: Prisma.UserCreateNestedOneWithoutLabelsCreatedInput
258
+ project?: Prisma.ProjectCreateNestedOneWithoutLabelsInput
243
259
  stories?: Prisma.StoryLabelCreateNestedManyWithoutLabelInput
244
260
  bugLabels?: Prisma.BugLabelCreateNestedManyWithoutLabelInput
245
261
  }
@@ -249,6 +265,7 @@ export type LabelUncheckedCreateInput = {
249
265
  name: string
250
266
  color?: string
251
267
  createdById: string
268
+ projectId?: string | null
252
269
  createdAt?: Date | string
253
270
  stories?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutLabelInput
254
271
  bugLabels?: Prisma.BugLabelUncheckedCreateNestedManyWithoutLabelInput
@@ -260,6 +277,7 @@ export type LabelUpdateInput = {
260
277
  color?: Prisma.StringFieldUpdateOperationsInput | string
261
278
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
262
279
  createdBy?: Prisma.UserUpdateOneRequiredWithoutLabelsCreatedNestedInput
280
+ project?: Prisma.ProjectUpdateOneWithoutLabelsNestedInput
263
281
  stories?: Prisma.StoryLabelUpdateManyWithoutLabelNestedInput
264
282
  bugLabels?: Prisma.BugLabelUpdateManyWithoutLabelNestedInput
265
283
  }
@@ -269,6 +287,7 @@ export type LabelUncheckedUpdateInput = {
269
287
  name?: Prisma.StringFieldUpdateOperationsInput | string
270
288
  color?: Prisma.StringFieldUpdateOperationsInput | string
271
289
  createdById?: Prisma.StringFieldUpdateOperationsInput | string
290
+ projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
272
291
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
273
292
  stories?: Prisma.StoryLabelUncheckedUpdateManyWithoutLabelNestedInput
274
293
  bugLabels?: Prisma.BugLabelUncheckedUpdateManyWithoutLabelNestedInput
@@ -279,6 +298,7 @@ export type LabelCreateManyInput = {
279
298
  name: string
280
299
  color?: string
281
300
  createdById: string
301
+ projectId?: string | null
282
302
  createdAt?: Date | string
283
303
  }
284
304
 
@@ -294,6 +314,7 @@ export type LabelUncheckedUpdateManyInput = {
294
314
  name?: Prisma.StringFieldUpdateOperationsInput | string
295
315
  color?: Prisma.StringFieldUpdateOperationsInput | string
296
316
  createdById?: Prisma.StringFieldUpdateOperationsInput | string
317
+ projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
297
318
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
298
319
  }
299
320
 
@@ -312,6 +333,7 @@ export type LabelCountOrderByAggregateInput = {
312
333
  name?: Prisma.SortOrder
313
334
  color?: Prisma.SortOrder
314
335
  createdById?: Prisma.SortOrder
336
+ projectId?: Prisma.SortOrder
315
337
  createdAt?: Prisma.SortOrder
316
338
  }
317
339
 
@@ -320,6 +342,7 @@ export type LabelMaxOrderByAggregateInput = {
320
342
  name?: Prisma.SortOrder
321
343
  color?: Prisma.SortOrder
322
344
  createdById?: Prisma.SortOrder
345
+ projectId?: Prisma.SortOrder
323
346
  createdAt?: Prisma.SortOrder
324
347
  }
325
348
 
@@ -328,6 +351,7 @@ export type LabelMinOrderByAggregateInput = {
328
351
  name?: Prisma.SortOrder
329
352
  color?: Prisma.SortOrder
330
353
  createdById?: Prisma.SortOrder
354
+ projectId?: Prisma.SortOrder
331
355
  createdAt?: Prisma.SortOrder
332
356
  }
333
357
 
@@ -378,6 +402,48 @@ export type LabelUncheckedUpdateManyWithoutCreatedByNestedInput = {
378
402
  deleteMany?: Prisma.LabelScalarWhereInput | Prisma.LabelScalarWhereInput[]
379
403
  }
380
404
 
405
+ export type LabelCreateNestedManyWithoutProjectInput = {
406
+ create?: Prisma.XOR<Prisma.LabelCreateWithoutProjectInput, Prisma.LabelUncheckedCreateWithoutProjectInput> | Prisma.LabelCreateWithoutProjectInput[] | Prisma.LabelUncheckedCreateWithoutProjectInput[]
407
+ connectOrCreate?: Prisma.LabelCreateOrConnectWithoutProjectInput | Prisma.LabelCreateOrConnectWithoutProjectInput[]
408
+ createMany?: Prisma.LabelCreateManyProjectInputEnvelope
409
+ connect?: Prisma.LabelWhereUniqueInput | Prisma.LabelWhereUniqueInput[]
410
+ }
411
+
412
+ export type LabelUncheckedCreateNestedManyWithoutProjectInput = {
413
+ create?: Prisma.XOR<Prisma.LabelCreateWithoutProjectInput, Prisma.LabelUncheckedCreateWithoutProjectInput> | Prisma.LabelCreateWithoutProjectInput[] | Prisma.LabelUncheckedCreateWithoutProjectInput[]
414
+ connectOrCreate?: Prisma.LabelCreateOrConnectWithoutProjectInput | Prisma.LabelCreateOrConnectWithoutProjectInput[]
415
+ createMany?: Prisma.LabelCreateManyProjectInputEnvelope
416
+ connect?: Prisma.LabelWhereUniqueInput | Prisma.LabelWhereUniqueInput[]
417
+ }
418
+
419
+ export type LabelUpdateManyWithoutProjectNestedInput = {
420
+ create?: Prisma.XOR<Prisma.LabelCreateWithoutProjectInput, Prisma.LabelUncheckedCreateWithoutProjectInput> | Prisma.LabelCreateWithoutProjectInput[] | Prisma.LabelUncheckedCreateWithoutProjectInput[]
421
+ connectOrCreate?: Prisma.LabelCreateOrConnectWithoutProjectInput | Prisma.LabelCreateOrConnectWithoutProjectInput[]
422
+ upsert?: Prisma.LabelUpsertWithWhereUniqueWithoutProjectInput | Prisma.LabelUpsertWithWhereUniqueWithoutProjectInput[]
423
+ createMany?: Prisma.LabelCreateManyProjectInputEnvelope
424
+ set?: Prisma.LabelWhereUniqueInput | Prisma.LabelWhereUniqueInput[]
425
+ disconnect?: Prisma.LabelWhereUniqueInput | Prisma.LabelWhereUniqueInput[]
426
+ delete?: Prisma.LabelWhereUniqueInput | Prisma.LabelWhereUniqueInput[]
427
+ connect?: Prisma.LabelWhereUniqueInput | Prisma.LabelWhereUniqueInput[]
428
+ update?: Prisma.LabelUpdateWithWhereUniqueWithoutProjectInput | Prisma.LabelUpdateWithWhereUniqueWithoutProjectInput[]
429
+ updateMany?: Prisma.LabelUpdateManyWithWhereWithoutProjectInput | Prisma.LabelUpdateManyWithWhereWithoutProjectInput[]
430
+ deleteMany?: Prisma.LabelScalarWhereInput | Prisma.LabelScalarWhereInput[]
431
+ }
432
+
433
+ export type LabelUncheckedUpdateManyWithoutProjectNestedInput = {
434
+ create?: Prisma.XOR<Prisma.LabelCreateWithoutProjectInput, Prisma.LabelUncheckedCreateWithoutProjectInput> | Prisma.LabelCreateWithoutProjectInput[] | Prisma.LabelUncheckedCreateWithoutProjectInput[]
435
+ connectOrCreate?: Prisma.LabelCreateOrConnectWithoutProjectInput | Prisma.LabelCreateOrConnectWithoutProjectInput[]
436
+ upsert?: Prisma.LabelUpsertWithWhereUniqueWithoutProjectInput | Prisma.LabelUpsertWithWhereUniqueWithoutProjectInput[]
437
+ createMany?: Prisma.LabelCreateManyProjectInputEnvelope
438
+ set?: Prisma.LabelWhereUniqueInput | Prisma.LabelWhereUniqueInput[]
439
+ disconnect?: Prisma.LabelWhereUniqueInput | Prisma.LabelWhereUniqueInput[]
440
+ delete?: Prisma.LabelWhereUniqueInput | Prisma.LabelWhereUniqueInput[]
441
+ connect?: Prisma.LabelWhereUniqueInput | Prisma.LabelWhereUniqueInput[]
442
+ update?: Prisma.LabelUpdateWithWhereUniqueWithoutProjectInput | Prisma.LabelUpdateWithWhereUniqueWithoutProjectInput[]
443
+ updateMany?: Prisma.LabelUpdateManyWithWhereWithoutProjectInput | Prisma.LabelUpdateManyWithWhereWithoutProjectInput[]
444
+ deleteMany?: Prisma.LabelScalarWhereInput | Prisma.LabelScalarWhereInput[]
445
+ }
446
+
381
447
  export type LabelCreateNestedOneWithoutStoriesInput = {
382
448
  create?: Prisma.XOR<Prisma.LabelCreateWithoutStoriesInput, Prisma.LabelUncheckedCreateWithoutStoriesInput>
383
449
  connectOrCreate?: Prisma.LabelCreateOrConnectWithoutStoriesInput
@@ -411,6 +477,7 @@ export type LabelCreateWithoutCreatedByInput = {
411
477
  name: string
412
478
  color?: string
413
479
  createdAt?: Date | string
480
+ project?: Prisma.ProjectCreateNestedOneWithoutLabelsInput
414
481
  stories?: Prisma.StoryLabelCreateNestedManyWithoutLabelInput
415
482
  bugLabels?: Prisma.BugLabelCreateNestedManyWithoutLabelInput
416
483
  }
@@ -419,6 +486,7 @@ export type LabelUncheckedCreateWithoutCreatedByInput = {
419
486
  id?: string
420
487
  name: string
421
488
  color?: string
489
+ projectId?: string | null
422
490
  createdAt?: Date | string
423
491
  stories?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutLabelInput
424
492
  bugLabels?: Prisma.BugLabelUncheckedCreateNestedManyWithoutLabelInput
@@ -458,15 +526,63 @@ export type LabelScalarWhereInput = {
458
526
  name?: Prisma.StringFilter<"Label"> | string
459
527
  color?: Prisma.StringFilter<"Label"> | string
460
528
  createdById?: Prisma.StringFilter<"Label"> | string
529
+ projectId?: Prisma.StringNullableFilter<"Label"> | string | null
461
530
  createdAt?: Prisma.DateTimeFilter<"Label"> | Date | string
462
531
  }
463
532
 
533
+ export type LabelCreateWithoutProjectInput = {
534
+ id?: string
535
+ name: string
536
+ color?: string
537
+ createdAt?: Date | string
538
+ createdBy: Prisma.UserCreateNestedOneWithoutLabelsCreatedInput
539
+ stories?: Prisma.StoryLabelCreateNestedManyWithoutLabelInput
540
+ bugLabels?: Prisma.BugLabelCreateNestedManyWithoutLabelInput
541
+ }
542
+
543
+ export type LabelUncheckedCreateWithoutProjectInput = {
544
+ id?: string
545
+ name: string
546
+ color?: string
547
+ createdById: string
548
+ createdAt?: Date | string
549
+ stories?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutLabelInput
550
+ bugLabels?: Prisma.BugLabelUncheckedCreateNestedManyWithoutLabelInput
551
+ }
552
+
553
+ export type LabelCreateOrConnectWithoutProjectInput = {
554
+ where: Prisma.LabelWhereUniqueInput
555
+ create: Prisma.XOR<Prisma.LabelCreateWithoutProjectInput, Prisma.LabelUncheckedCreateWithoutProjectInput>
556
+ }
557
+
558
+ export type LabelCreateManyProjectInputEnvelope = {
559
+ data: Prisma.LabelCreateManyProjectInput | Prisma.LabelCreateManyProjectInput[]
560
+ skipDuplicates?: boolean
561
+ }
562
+
563
+ export type LabelUpsertWithWhereUniqueWithoutProjectInput = {
564
+ where: Prisma.LabelWhereUniqueInput
565
+ update: Prisma.XOR<Prisma.LabelUpdateWithoutProjectInput, Prisma.LabelUncheckedUpdateWithoutProjectInput>
566
+ create: Prisma.XOR<Prisma.LabelCreateWithoutProjectInput, Prisma.LabelUncheckedCreateWithoutProjectInput>
567
+ }
568
+
569
+ export type LabelUpdateWithWhereUniqueWithoutProjectInput = {
570
+ where: Prisma.LabelWhereUniqueInput
571
+ data: Prisma.XOR<Prisma.LabelUpdateWithoutProjectInput, Prisma.LabelUncheckedUpdateWithoutProjectInput>
572
+ }
573
+
574
+ export type LabelUpdateManyWithWhereWithoutProjectInput = {
575
+ where: Prisma.LabelScalarWhereInput
576
+ data: Prisma.XOR<Prisma.LabelUpdateManyMutationInput, Prisma.LabelUncheckedUpdateManyWithoutProjectInput>
577
+ }
578
+
464
579
  export type LabelCreateWithoutStoriesInput = {
465
580
  id?: string
466
581
  name: string
467
582
  color?: string
468
583
  createdAt?: Date | string
469
584
  createdBy: Prisma.UserCreateNestedOneWithoutLabelsCreatedInput
585
+ project?: Prisma.ProjectCreateNestedOneWithoutLabelsInput
470
586
  bugLabels?: Prisma.BugLabelCreateNestedManyWithoutLabelInput
471
587
  }
472
588
 
@@ -475,6 +591,7 @@ export type LabelUncheckedCreateWithoutStoriesInput = {
475
591
  name: string
476
592
  color?: string
477
593
  createdById: string
594
+ projectId?: string | null
478
595
  createdAt?: Date | string
479
596
  bugLabels?: Prisma.BugLabelUncheckedCreateNestedManyWithoutLabelInput
480
597
  }
@@ -501,6 +618,7 @@ export type LabelUpdateWithoutStoriesInput = {
501
618
  color?: Prisma.StringFieldUpdateOperationsInput | string
502
619
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
503
620
  createdBy?: Prisma.UserUpdateOneRequiredWithoutLabelsCreatedNestedInput
621
+ project?: Prisma.ProjectUpdateOneWithoutLabelsNestedInput
504
622
  bugLabels?: Prisma.BugLabelUpdateManyWithoutLabelNestedInput
505
623
  }
506
624
 
@@ -509,6 +627,7 @@ export type LabelUncheckedUpdateWithoutStoriesInput = {
509
627
  name?: Prisma.StringFieldUpdateOperationsInput | string
510
628
  color?: Prisma.StringFieldUpdateOperationsInput | string
511
629
  createdById?: Prisma.StringFieldUpdateOperationsInput | string
630
+ projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
512
631
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
513
632
  bugLabels?: Prisma.BugLabelUncheckedUpdateManyWithoutLabelNestedInput
514
633
  }
@@ -519,6 +638,7 @@ export type LabelCreateWithoutBugLabelsInput = {
519
638
  color?: string
520
639
  createdAt?: Date | string
521
640
  createdBy: Prisma.UserCreateNestedOneWithoutLabelsCreatedInput
641
+ project?: Prisma.ProjectCreateNestedOneWithoutLabelsInput
522
642
  stories?: Prisma.StoryLabelCreateNestedManyWithoutLabelInput
523
643
  }
524
644
 
@@ -527,6 +647,7 @@ export type LabelUncheckedCreateWithoutBugLabelsInput = {
527
647
  name: string
528
648
  color?: string
529
649
  createdById: string
650
+ projectId?: string | null
530
651
  createdAt?: Date | string
531
652
  stories?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutLabelInput
532
653
  }
@@ -553,6 +674,7 @@ export type LabelUpdateWithoutBugLabelsInput = {
553
674
  color?: Prisma.StringFieldUpdateOperationsInput | string
554
675
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
555
676
  createdBy?: Prisma.UserUpdateOneRequiredWithoutLabelsCreatedNestedInput
677
+ project?: Prisma.ProjectUpdateOneWithoutLabelsNestedInput
556
678
  stories?: Prisma.StoryLabelUpdateManyWithoutLabelNestedInput
557
679
  }
558
680
 
@@ -561,6 +683,7 @@ export type LabelUncheckedUpdateWithoutBugLabelsInput = {
561
683
  name?: Prisma.StringFieldUpdateOperationsInput | string
562
684
  color?: Prisma.StringFieldUpdateOperationsInput | string
563
685
  createdById?: Prisma.StringFieldUpdateOperationsInput | string
686
+ projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
564
687
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
565
688
  stories?: Prisma.StoryLabelUncheckedUpdateManyWithoutLabelNestedInput
566
689
  }
@@ -569,6 +692,7 @@ export type LabelCreateManyCreatedByInput = {
569
692
  id?: string
570
693
  name: string
571
694
  color?: string
695
+ projectId?: string | null
572
696
  createdAt?: Date | string
573
697
  }
574
698
 
@@ -577,6 +701,7 @@ export type LabelUpdateWithoutCreatedByInput = {
577
701
  name?: Prisma.StringFieldUpdateOperationsInput | string
578
702
  color?: Prisma.StringFieldUpdateOperationsInput | string
579
703
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
704
+ project?: Prisma.ProjectUpdateOneWithoutLabelsNestedInput
580
705
  stories?: Prisma.StoryLabelUpdateManyWithoutLabelNestedInput
581
706
  bugLabels?: Prisma.BugLabelUpdateManyWithoutLabelNestedInput
582
707
  }
@@ -585,6 +710,7 @@ export type LabelUncheckedUpdateWithoutCreatedByInput = {
585
710
  id?: Prisma.StringFieldUpdateOperationsInput | string
586
711
  name?: Prisma.StringFieldUpdateOperationsInput | string
587
712
  color?: Prisma.StringFieldUpdateOperationsInput | string
713
+ projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
588
714
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
589
715
  stories?: Prisma.StoryLabelUncheckedUpdateManyWithoutLabelNestedInput
590
716
  bugLabels?: Prisma.BugLabelUncheckedUpdateManyWithoutLabelNestedInput
@@ -594,6 +720,43 @@ export type LabelUncheckedUpdateManyWithoutCreatedByInput = {
594
720
  id?: Prisma.StringFieldUpdateOperationsInput | string
595
721
  name?: Prisma.StringFieldUpdateOperationsInput | string
596
722
  color?: Prisma.StringFieldUpdateOperationsInput | string
723
+ projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
724
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
725
+ }
726
+
727
+ export type LabelCreateManyProjectInput = {
728
+ id?: string
729
+ name: string
730
+ color?: string
731
+ createdById: string
732
+ createdAt?: Date | string
733
+ }
734
+
735
+ export type LabelUpdateWithoutProjectInput = {
736
+ id?: Prisma.StringFieldUpdateOperationsInput | string
737
+ name?: Prisma.StringFieldUpdateOperationsInput | string
738
+ color?: Prisma.StringFieldUpdateOperationsInput | string
739
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
740
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutLabelsCreatedNestedInput
741
+ stories?: Prisma.StoryLabelUpdateManyWithoutLabelNestedInput
742
+ bugLabels?: Prisma.BugLabelUpdateManyWithoutLabelNestedInput
743
+ }
744
+
745
+ export type LabelUncheckedUpdateWithoutProjectInput = {
746
+ id?: Prisma.StringFieldUpdateOperationsInput | string
747
+ name?: Prisma.StringFieldUpdateOperationsInput | string
748
+ color?: Prisma.StringFieldUpdateOperationsInput | string
749
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
750
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
751
+ stories?: Prisma.StoryLabelUncheckedUpdateManyWithoutLabelNestedInput
752
+ bugLabels?: Prisma.BugLabelUncheckedUpdateManyWithoutLabelNestedInput
753
+ }
754
+
755
+ export type LabelUncheckedUpdateManyWithoutProjectInput = {
756
+ id?: Prisma.StringFieldUpdateOperationsInput | string
757
+ name?: Prisma.StringFieldUpdateOperationsInput | string
758
+ color?: Prisma.StringFieldUpdateOperationsInput | string
759
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
597
760
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
598
761
  }
599
762
 
@@ -642,8 +805,10 @@ export type LabelSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
642
805
  name?: boolean
643
806
  color?: boolean
644
807
  createdById?: boolean
808
+ projectId?: boolean
645
809
  createdAt?: boolean
646
810
  createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
811
+ project?: boolean | Prisma.Label$projectArgs<ExtArgs>
647
812
  stories?: boolean | Prisma.Label$storiesArgs<ExtArgs>
648
813
  bugLabels?: boolean | Prisma.Label$bugLabelsArgs<ExtArgs>
649
814
  _count?: boolean | Prisma.LabelCountOutputTypeDefaultArgs<ExtArgs>
@@ -654,8 +819,10 @@ export type LabelSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensi
654
819
  name?: boolean
655
820
  color?: boolean
656
821
  createdById?: boolean
822
+ projectId?: boolean
657
823
  createdAt?: boolean
658
824
  createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
825
+ project?: boolean | Prisma.Label$projectArgs<ExtArgs>
659
826
  }, ExtArgs["result"]["label"]>
660
827
 
661
828
  export type LabelSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
@@ -663,8 +830,10 @@ export type LabelSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensi
663
830
  name?: boolean
664
831
  color?: boolean
665
832
  createdById?: boolean
833
+ projectId?: boolean
666
834
  createdAt?: boolean
667
835
  createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
836
+ project?: boolean | Prisma.Label$projectArgs<ExtArgs>
668
837
  }, ExtArgs["result"]["label"]>
669
838
 
670
839
  export type LabelSelectScalar = {
@@ -672,27 +841,32 @@ export type LabelSelectScalar = {
672
841
  name?: boolean
673
842
  color?: boolean
674
843
  createdById?: boolean
844
+ projectId?: boolean
675
845
  createdAt?: boolean
676
846
  }
677
847
 
678
- export type LabelOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "color" | "createdById" | "createdAt", ExtArgs["result"]["label"]>
848
+ export type LabelOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "color" | "createdById" | "projectId" | "createdAt", ExtArgs["result"]["label"]>
679
849
  export type LabelInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
680
850
  createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
851
+ project?: boolean | Prisma.Label$projectArgs<ExtArgs>
681
852
  stories?: boolean | Prisma.Label$storiesArgs<ExtArgs>
682
853
  bugLabels?: boolean | Prisma.Label$bugLabelsArgs<ExtArgs>
683
854
  _count?: boolean | Prisma.LabelCountOutputTypeDefaultArgs<ExtArgs>
684
855
  }
685
856
  export type LabelIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
686
857
  createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
858
+ project?: boolean | Prisma.Label$projectArgs<ExtArgs>
687
859
  }
688
860
  export type LabelIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
689
861
  createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
862
+ project?: boolean | Prisma.Label$projectArgs<ExtArgs>
690
863
  }
691
864
 
692
865
  export type $LabelPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
693
866
  name: "Label"
694
867
  objects: {
695
868
  createdBy: Prisma.$UserPayload<ExtArgs>
869
+ project: Prisma.$ProjectPayload<ExtArgs> | null
696
870
  stories: Prisma.$StoryLabelPayload<ExtArgs>[]
697
871
  bugLabels: Prisma.$BugLabelPayload<ExtArgs>[]
698
872
  }
@@ -701,6 +875,7 @@ export type $LabelPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
701
875
  name: string
702
876
  color: string
703
877
  createdById: string
878
+ projectId: string | null
704
879
  createdAt: Date
705
880
  }, ExtArgs["result"]["label"]>
706
881
  composites: {}
@@ -1097,6 +1272,7 @@ readonly fields: LabelFieldRefs;
1097
1272
  export interface Prisma__LabelClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1098
1273
  readonly [Symbol.toStringTag]: "PrismaPromise"
1099
1274
  createdBy<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1275
+ project<T extends Prisma.Label$projectArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Label$projectArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1100
1276
  stories<T extends Prisma.Label$storiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Label$storiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StoryLabelPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1101
1277
  bugLabels<T extends Prisma.Label$bugLabelsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Label$bugLabelsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BugLabelPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1102
1278
  /**
@@ -1132,6 +1308,7 @@ export interface LabelFieldRefs {
1132
1308
  readonly name: Prisma.FieldRef<"Label", 'String'>
1133
1309
  readonly color: Prisma.FieldRef<"Label", 'String'>
1134
1310
  readonly createdById: Prisma.FieldRef<"Label", 'String'>
1311
+ readonly projectId: Prisma.FieldRef<"Label", 'String'>
1135
1312
  readonly createdAt: Prisma.FieldRef<"Label", 'DateTime'>
1136
1313
  }
1137
1314
 
@@ -1533,6 +1710,25 @@ export type LabelDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.Interna
1533
1710
  limit?: number
1534
1711
  }
1535
1712
 
1713
+ /**
1714
+ * Label.project
1715
+ */
1716
+ export type Label$projectArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1717
+ /**
1718
+ * Select specific fields to fetch from the Project
1719
+ */
1720
+ select?: Prisma.ProjectSelect<ExtArgs> | null
1721
+ /**
1722
+ * Omit specific fields from the Project
1723
+ */
1724
+ omit?: Prisma.ProjectOmit<ExtArgs> | null
1725
+ /**
1726
+ * Choose, which related nodes to fetch as well
1727
+ */
1728
+ include?: Prisma.ProjectInclude<ExtArgs> | null
1729
+ where?: Prisma.ProjectWhereInput
1730
+ }
1731
+
1536
1732
  /**
1537
1733
  * Label.stories
1538
1734
  */