@allbluecn/database 0.9.1 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cf-env-stub.ts +4 -0
- package/cf-env.ts +25 -0
- package/cloudflare-workers.d.ts +6 -0
- package/desktop-init.ts +2 -2
- package/dist/cf-env-stub.d.ts +1 -0
- package/dist/cf-env-stub.js +4 -0
- package/dist/cf-env.d.ts +1 -0
- package/dist/cf-env.js +8 -0
- package/dist/lib/share-utils.js +3 -3
- package/generated/browser.ts +143 -38
- package/generated/client.ts +143 -38
- package/generated/commonInputTypes.ts +34 -0
- package/generated/enums.ts +14 -0
- package/generated/internal/class.ts +290 -80
- package/generated/internal/prismaNamespace.ts +3756 -1797
- package/generated/internal/prismaNamespaceBrowser.ts +478 -108
- package/generated/models/AgentConversation.ts +89 -89
- package/generated/models/AiProvider.ts +3 -3
- package/generated/models/AiStreamChunk.ts +3 -3
- package/generated/models/AiTask.ts +2481 -0
- package/generated/models/AiTaskRun.ts +1564 -0
- package/generated/models/AnyHubMarketApp.ts +8 -8
- package/generated/models/AuditLog.ts +6 -6
- package/generated/models/BlockInstance.ts +17 -17
- package/generated/models/Bug.ts +5116 -0
- package/generated/models/BugActivity.ts +1765 -0
- package/generated/models/BugComment.ts +1992 -0
- package/generated/models/BugCommentReaction.ts +1472 -0
- package/generated/models/BugEvent.ts +1339 -0
- package/generated/models/BugFilterView.ts +1438 -0
- package/generated/models/BugFixRun.ts +1479 -0
- package/generated/models/BugLabel.ts +1349 -0
- package/generated/models/BugProjectSettings.ts +1403 -0
- package/generated/models/BugReproRun.ts +1582 -0
- package/generated/models/ChatPersistenceMeta.ts +3 -3
- package/generated/models/CollabClient.ts +1199 -0
- package/generated/models/CollabDocument.ts +1121 -0
- package/generated/models/CollabUpdate.ts +1149 -0
- package/generated/models/Comment.ts +99 -99
- package/generated/models/Component.ts +7 -201
- package/generated/models/ComponentInstance.ts +17 -17
- package/generated/models/CustomRole.ts +8 -8
- package/generated/models/Design.ts +2682 -0
- package/generated/models/DesignPage.ts +2402 -0
- package/generated/models/DesignVersion.ts +2121 -0
- package/generated/models/DesktopSetting.ts +3 -3
- package/generated/models/Iteration.ts +148 -0
- package/generated/models/Label.ts +118 -0
- package/generated/models/LicenseKey.ts +16 -16
- package/generated/models/NotificationPreference.ts +5 -5
- package/generated/models/PageVersion.ts +49 -49
- package/generated/models/Plan.ts +5 -5
- package/generated/models/Project.ts +2240 -67
- package/generated/models/ProjectAccessToken.ts +1705 -0
- package/generated/models/ProjectWebhook.ts +1409 -0
- package/generated/models/Review.ts +118 -118
- package/generated/models/Share.ts +83 -83
- package/generated/models/ShareVersion.ts +15 -15
- package/generated/models/SsoProvider.ts +8 -8
- package/generated/models/Story.ts +973 -87
- package/generated/models/StoryDesignLink.ts +1430 -0
- package/generated/models/StoryFilterView.ts +12 -12
- package/generated/models/SystemPromptVersion.ts +6 -6
- package/generated/models/TestAutomationArtifact.ts +1790 -0
- package/generated/models/TestCase.ts +3645 -0
- package/generated/models/TestCaseFilterView.ts +1587 -0
- package/generated/models/TestCaseFolder.ts +1795 -0
- package/generated/models/TestExecRun.ts +1673 -0
- package/generated/models/TestGenerationRun.ts +1952 -0
- package/generated/models/TestPlan.ts +1950 -0
- package/generated/models/TestPlanCase.ts +1430 -0
- package/generated/models/TestRun.ts +1979 -0
- package/generated/models/TestRunCase.ts +2772 -0
- package/generated/models/ThirdPartyDependency.ts +19 -15
- package/generated/models/User.ts +13573 -3351
- package/generated/models/Workspace.ts +204 -0
- package/generated/models.ts +31 -10
- package/generated-sqlite/browser.ts +6 -36
- package/generated-sqlite/client.ts +6 -36
- package/generated-sqlite/internal/class.ts +16 -76
- package/generated-sqlite/internal/prismaNamespace.ts +127 -659
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +21 -103
- package/generated-sqlite/models/AgentConversation.ts +89 -89
- package/generated-sqlite/models/AiProvider.ts +3 -3
- package/generated-sqlite/models/AiStreamChunk.ts +3 -3
- package/generated-sqlite/models/AnyHubMarketApp.ts +8 -8
- package/generated-sqlite/models/BlockInstance.ts +17 -17
- package/generated-sqlite/models/ChatPersistenceMeta.ts +3 -3
- package/generated-sqlite/models/Comment.ts +99 -99
- package/generated-sqlite/models/Component.ts +7 -201
- package/generated-sqlite/models/ComponentInstance.ts +17 -17
- package/generated-sqlite/models/Design.ts +2497 -0
- package/generated-sqlite/models/DesignPage.ts +2398 -0
- package/generated-sqlite/models/DesignVersion.ts +2117 -0
- package/generated-sqlite/models/DesktopSetting.ts +3 -3
- package/generated-sqlite/models/KnowledgeBase.ts +240 -1
- package/generated-sqlite/models/NotificationPreference.ts +5 -5
- package/generated-sqlite/models/PageVersion.ts +49 -49
- package/generated-sqlite/models/Review.ts +118 -118
- package/generated-sqlite/models/Share.ts +83 -83
- package/generated-sqlite/models/ShareVersion.ts +15 -15
- package/generated-sqlite/models/SystemPromptVersion.ts +6 -6
- package/generated-sqlite/models/User.ts +1310 -2016
- package/generated-sqlite/models/Workspace.ts +164 -0
- package/generated-sqlite/models.ts +3 -9
- package/index.ts +31 -3
- package/migrations/20260924084200_add_prd_kind_drop_design_sketch/migration.sql +24 -0
- package/migrations/20260924123118_drop_user_sketch_api_token/migration.sql +8 -0
- package/migrations/20260925011516_rename_prd_tables/migration.sql +189 -0
- package/migrations/20260925064226_rename_prd_columns/migration.sql +193 -0
- package/migrations/20260925080000_rename_prd_embeddings/migration.sql +43 -0
- package/migrations/20261002184838_bug_module_init/migration.sql +297 -0
- package/migrations/20261004234209_testcase_module_init/migration.sql +290 -0
- package/migrations/20261005090000_testcase_plan_cases/migration.sql +34 -0
- package/migrations/20261006151229_add_missing_fk_indexes_auth_billing/migration.sql +50 -0
- package/migrations/20261006152058_add_missing_fk_indexes_story_bug_test/migration.sql +59 -0
- package/migrations/20261006152153_add_missing_fk_indexes_design_misc/migration.sql +50 -0
- package/migrations/20261006184250_explicit_on_delete_core/migration.sql +33 -0
- package/migrations/20261006184604_explicit_on_delete_rest/migration.sql +117 -0
- package/migrations/20261006184932_json_column_defaults/migration.sql +74 -0
- package/migrations/20261006191724_revert_version_token_cascade/migration.sql +21 -0
- package/migrations/20261007025537_dependency_category_enum/migration.sql +22 -0
- package/migrations/20261007112656_collab_init/migration.sql +45 -0
- package/migrations/20261007122530_collab_client_clientid_bigint/migration.sql +10 -0
- package/migrations/20261009194853_remove_tag_module/migration.sql +24 -0
- package/migrations/20261009222043_ai_task_init/migration.sql +67 -0
- package/migrations/20261019202531_ui_alignment_board_order/migration.sql +35 -0
- package/package.json +17 -6
- package/schema.prisma +777 -222
- package/schema.sqlite.prisma +140 -196
- package/src/lib/share-utils.ts +2 -2
- package/generated/models/Artboard.ts +0 -1811
- package/generated/models/ArtboardExport.ts +0 -1548
- package/generated/models/ComponentTag.ts +0 -1281
- package/generated/models/DesignProject.ts +0 -1643
- package/generated/models/PRD.ts +0 -2805
- package/generated/models/PRDPage.ts +0 -2402
- package/generated/models/PRDTag.ts +0 -1430
- package/generated/models/PRDVersion.ts +0 -2121
- package/generated/models/StoryPrdLink.ts +0 -1430
- package/generated/models/Tag.ts +0 -1655
- package/generated-sqlite/models/Artboard.ts +0 -1808
- package/generated-sqlite/models/ArtboardExport.ts +0 -1545
- package/generated-sqlite/models/ComponentTag.ts +0 -1278
- package/generated-sqlite/models/DesignProject.ts +0 -1640
- package/generated-sqlite/models/PRD.ts +0 -2616
- package/generated-sqlite/models/PRDPage.ts +0 -2398
- package/generated-sqlite/models/PRDTag.ts +0 -1426
- package/generated-sqlite/models/PRDVersion.ts +0 -2117
- package/generated-sqlite/models/Tag.ts +0 -1652
|
@@ -187,12 +187,12 @@ export type DesktopSettingScalarWhereWithAggregatesInput = {
|
|
|
187
187
|
|
|
188
188
|
export type DesktopSettingCreateInput = {
|
|
189
189
|
key: string
|
|
190
|
-
value
|
|
190
|
+
value?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
export type DesktopSettingUncheckedCreateInput = {
|
|
194
194
|
key: string
|
|
195
|
-
value
|
|
195
|
+
value?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
export type DesktopSettingUpdateInput = {
|
|
@@ -207,7 +207,7 @@ export type DesktopSettingUncheckedUpdateInput = {
|
|
|
207
207
|
|
|
208
208
|
export type DesktopSettingCreateManyInput = {
|
|
209
209
|
key: string
|
|
210
|
-
value
|
|
210
|
+
value?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
export type DesktopSettingUpdateManyMutationInput = {
|
|
@@ -233,6 +233,7 @@ export type IterationWhereInput = {
|
|
|
233
233
|
project?: Prisma.XOR<Prisma.ProjectScalarRelationFilter, Prisma.ProjectWhereInput>
|
|
234
234
|
createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
235
235
|
stories?: Prisma.StoryListRelationFilter
|
|
236
|
+
testPlans?: Prisma.TestPlanListRelationFilter
|
|
236
237
|
}
|
|
237
238
|
|
|
238
239
|
export type IterationOrderByWithRelationInput = {
|
|
@@ -250,6 +251,7 @@ export type IterationOrderByWithRelationInput = {
|
|
|
250
251
|
project?: Prisma.ProjectOrderByWithRelationInput
|
|
251
252
|
createdBy?: Prisma.UserOrderByWithRelationInput
|
|
252
253
|
stories?: Prisma.StoryOrderByRelationAggregateInput
|
|
254
|
+
testPlans?: Prisma.TestPlanOrderByRelationAggregateInput
|
|
253
255
|
}
|
|
254
256
|
|
|
255
257
|
export type IterationWhereUniqueInput = Prisma.AtLeast<{
|
|
@@ -270,6 +272,7 @@ export type IterationWhereUniqueInput = Prisma.AtLeast<{
|
|
|
270
272
|
project?: Prisma.XOR<Prisma.ProjectScalarRelationFilter, Prisma.ProjectWhereInput>
|
|
271
273
|
createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
272
274
|
stories?: Prisma.StoryListRelationFilter
|
|
275
|
+
testPlans?: Prisma.TestPlanListRelationFilter
|
|
273
276
|
}, "id">
|
|
274
277
|
|
|
275
278
|
export type IterationOrderByWithAggregationInput = {
|
|
@@ -319,6 +322,7 @@ export type IterationCreateInput = {
|
|
|
319
322
|
project: Prisma.ProjectCreateNestedOneWithoutIterationsInput
|
|
320
323
|
createdBy: Prisma.UserCreateNestedOneWithoutIterationsCreatedInput
|
|
321
324
|
stories?: Prisma.StoryCreateNestedManyWithoutIterationInput
|
|
325
|
+
testPlans?: Prisma.TestPlanCreateNestedManyWithoutIterationInput
|
|
322
326
|
}
|
|
323
327
|
|
|
324
328
|
export type IterationUncheckedCreateInput = {
|
|
@@ -334,6 +338,7 @@ export type IterationUncheckedCreateInput = {
|
|
|
334
338
|
createdAt?: Date | string
|
|
335
339
|
updatedAt?: Date | string
|
|
336
340
|
stories?: Prisma.StoryUncheckedCreateNestedManyWithoutIterationInput
|
|
341
|
+
testPlans?: Prisma.TestPlanUncheckedCreateNestedManyWithoutIterationInput
|
|
337
342
|
}
|
|
338
343
|
|
|
339
344
|
export type IterationUpdateInput = {
|
|
@@ -349,6 +354,7 @@ export type IterationUpdateInput = {
|
|
|
349
354
|
project?: Prisma.ProjectUpdateOneRequiredWithoutIterationsNestedInput
|
|
350
355
|
createdBy?: Prisma.UserUpdateOneRequiredWithoutIterationsCreatedNestedInput
|
|
351
356
|
stories?: Prisma.StoryUpdateManyWithoutIterationNestedInput
|
|
357
|
+
testPlans?: Prisma.TestPlanUpdateManyWithoutIterationNestedInput
|
|
352
358
|
}
|
|
353
359
|
|
|
354
360
|
export type IterationUncheckedUpdateInput = {
|
|
@@ -364,6 +370,7 @@ export type IterationUncheckedUpdateInput = {
|
|
|
364
370
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
365
371
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
366
372
|
stories?: Prisma.StoryUncheckedUpdateManyWithoutIterationNestedInput
|
|
373
|
+
testPlans?: Prisma.TestPlanUncheckedUpdateManyWithoutIterationNestedInput
|
|
367
374
|
}
|
|
368
375
|
|
|
369
376
|
export type IterationCreateManyInput = {
|
|
@@ -563,6 +570,22 @@ export type IterationUpdateOneWithoutStoriesNestedInput = {
|
|
|
563
570
|
update?: Prisma.XOR<Prisma.XOR<Prisma.IterationUpdateToOneWithWhereWithoutStoriesInput, Prisma.IterationUpdateWithoutStoriesInput>, Prisma.IterationUncheckedUpdateWithoutStoriesInput>
|
|
564
571
|
}
|
|
565
572
|
|
|
573
|
+
export type IterationCreateNestedOneWithoutTestPlansInput = {
|
|
574
|
+
create?: Prisma.XOR<Prisma.IterationCreateWithoutTestPlansInput, Prisma.IterationUncheckedCreateWithoutTestPlansInput>
|
|
575
|
+
connectOrCreate?: Prisma.IterationCreateOrConnectWithoutTestPlansInput
|
|
576
|
+
connect?: Prisma.IterationWhereUniqueInput
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
export type IterationUpdateOneWithoutTestPlansNestedInput = {
|
|
580
|
+
create?: Prisma.XOR<Prisma.IterationCreateWithoutTestPlansInput, Prisma.IterationUncheckedCreateWithoutTestPlansInput>
|
|
581
|
+
connectOrCreate?: Prisma.IterationCreateOrConnectWithoutTestPlansInput
|
|
582
|
+
upsert?: Prisma.IterationUpsertWithoutTestPlansInput
|
|
583
|
+
disconnect?: Prisma.IterationWhereInput | boolean
|
|
584
|
+
delete?: Prisma.IterationWhereInput | boolean
|
|
585
|
+
connect?: Prisma.IterationWhereUniqueInput
|
|
586
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.IterationUpdateToOneWithWhereWithoutTestPlansInput, Prisma.IterationUpdateWithoutTestPlansInput>, Prisma.IterationUncheckedUpdateWithoutTestPlansInput>
|
|
587
|
+
}
|
|
588
|
+
|
|
566
589
|
export type IterationCreateWithoutCreatedByInput = {
|
|
567
590
|
id?: string
|
|
568
591
|
name: string
|
|
@@ -575,6 +598,7 @@ export type IterationCreateWithoutCreatedByInput = {
|
|
|
575
598
|
updatedAt?: Date | string
|
|
576
599
|
project: Prisma.ProjectCreateNestedOneWithoutIterationsInput
|
|
577
600
|
stories?: Prisma.StoryCreateNestedManyWithoutIterationInput
|
|
601
|
+
testPlans?: Prisma.TestPlanCreateNestedManyWithoutIterationInput
|
|
578
602
|
}
|
|
579
603
|
|
|
580
604
|
export type IterationUncheckedCreateWithoutCreatedByInput = {
|
|
@@ -589,6 +613,7 @@ export type IterationUncheckedCreateWithoutCreatedByInput = {
|
|
|
589
613
|
createdAt?: Date | string
|
|
590
614
|
updatedAt?: Date | string
|
|
591
615
|
stories?: Prisma.StoryUncheckedCreateNestedManyWithoutIterationInput
|
|
616
|
+
testPlans?: Prisma.TestPlanUncheckedCreateNestedManyWithoutIterationInput
|
|
592
617
|
}
|
|
593
618
|
|
|
594
619
|
export type IterationCreateOrConnectWithoutCreatedByInput = {
|
|
@@ -646,6 +671,7 @@ export type IterationCreateWithoutProjectInput = {
|
|
|
646
671
|
updatedAt?: Date | string
|
|
647
672
|
createdBy: Prisma.UserCreateNestedOneWithoutIterationsCreatedInput
|
|
648
673
|
stories?: Prisma.StoryCreateNestedManyWithoutIterationInput
|
|
674
|
+
testPlans?: Prisma.TestPlanCreateNestedManyWithoutIterationInput
|
|
649
675
|
}
|
|
650
676
|
|
|
651
677
|
export type IterationUncheckedCreateWithoutProjectInput = {
|
|
@@ -660,6 +686,7 @@ export type IterationUncheckedCreateWithoutProjectInput = {
|
|
|
660
686
|
createdAt?: Date | string
|
|
661
687
|
updatedAt?: Date | string
|
|
662
688
|
stories?: Prisma.StoryUncheckedCreateNestedManyWithoutIterationInput
|
|
689
|
+
testPlans?: Prisma.TestPlanUncheckedCreateNestedManyWithoutIterationInput
|
|
663
690
|
}
|
|
664
691
|
|
|
665
692
|
export type IterationCreateOrConnectWithoutProjectInput = {
|
|
@@ -700,6 +727,7 @@ export type IterationCreateWithoutStoriesInput = {
|
|
|
700
727
|
updatedAt?: Date | string
|
|
701
728
|
project: Prisma.ProjectCreateNestedOneWithoutIterationsInput
|
|
702
729
|
createdBy: Prisma.UserCreateNestedOneWithoutIterationsCreatedInput
|
|
730
|
+
testPlans?: Prisma.TestPlanCreateNestedManyWithoutIterationInput
|
|
703
731
|
}
|
|
704
732
|
|
|
705
733
|
export type IterationUncheckedCreateWithoutStoriesInput = {
|
|
@@ -714,6 +742,7 @@ export type IterationUncheckedCreateWithoutStoriesInput = {
|
|
|
714
742
|
createdById: string
|
|
715
743
|
createdAt?: Date | string
|
|
716
744
|
updatedAt?: Date | string
|
|
745
|
+
testPlans?: Prisma.TestPlanUncheckedCreateNestedManyWithoutIterationInput
|
|
717
746
|
}
|
|
718
747
|
|
|
719
748
|
export type IterationCreateOrConnectWithoutStoriesInput = {
|
|
@@ -744,6 +773,7 @@ export type IterationUpdateWithoutStoriesInput = {
|
|
|
744
773
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
745
774
|
project?: Prisma.ProjectUpdateOneRequiredWithoutIterationsNestedInput
|
|
746
775
|
createdBy?: Prisma.UserUpdateOneRequiredWithoutIterationsCreatedNestedInput
|
|
776
|
+
testPlans?: Prisma.TestPlanUpdateManyWithoutIterationNestedInput
|
|
747
777
|
}
|
|
748
778
|
|
|
749
779
|
export type IterationUncheckedUpdateWithoutStoriesInput = {
|
|
@@ -758,6 +788,83 @@ export type IterationUncheckedUpdateWithoutStoriesInput = {
|
|
|
758
788
|
createdById?: Prisma.StringFieldUpdateOperationsInput | string
|
|
759
789
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
760
790
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
791
|
+
testPlans?: Prisma.TestPlanUncheckedUpdateManyWithoutIterationNestedInput
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
export type IterationCreateWithoutTestPlansInput = {
|
|
795
|
+
id?: string
|
|
796
|
+
name: string
|
|
797
|
+
description?: string | null
|
|
798
|
+
startDate: Date | string
|
|
799
|
+
endDate: Date | string
|
|
800
|
+
archived?: boolean
|
|
801
|
+
archivedAt?: Date | string | null
|
|
802
|
+
createdAt?: Date | string
|
|
803
|
+
updatedAt?: Date | string
|
|
804
|
+
project: Prisma.ProjectCreateNestedOneWithoutIterationsInput
|
|
805
|
+
createdBy: Prisma.UserCreateNestedOneWithoutIterationsCreatedInput
|
|
806
|
+
stories?: Prisma.StoryCreateNestedManyWithoutIterationInput
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
export type IterationUncheckedCreateWithoutTestPlansInput = {
|
|
810
|
+
id?: string
|
|
811
|
+
projectId: string
|
|
812
|
+
name: string
|
|
813
|
+
description?: string | null
|
|
814
|
+
startDate: Date | string
|
|
815
|
+
endDate: Date | string
|
|
816
|
+
archived?: boolean
|
|
817
|
+
archivedAt?: Date | string | null
|
|
818
|
+
createdById: string
|
|
819
|
+
createdAt?: Date | string
|
|
820
|
+
updatedAt?: Date | string
|
|
821
|
+
stories?: Prisma.StoryUncheckedCreateNestedManyWithoutIterationInput
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
export type IterationCreateOrConnectWithoutTestPlansInput = {
|
|
825
|
+
where: Prisma.IterationWhereUniqueInput
|
|
826
|
+
create: Prisma.XOR<Prisma.IterationCreateWithoutTestPlansInput, Prisma.IterationUncheckedCreateWithoutTestPlansInput>
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
export type IterationUpsertWithoutTestPlansInput = {
|
|
830
|
+
update: Prisma.XOR<Prisma.IterationUpdateWithoutTestPlansInput, Prisma.IterationUncheckedUpdateWithoutTestPlansInput>
|
|
831
|
+
create: Prisma.XOR<Prisma.IterationCreateWithoutTestPlansInput, Prisma.IterationUncheckedCreateWithoutTestPlansInput>
|
|
832
|
+
where?: Prisma.IterationWhereInput
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
export type IterationUpdateToOneWithWhereWithoutTestPlansInput = {
|
|
836
|
+
where?: Prisma.IterationWhereInput
|
|
837
|
+
data: Prisma.XOR<Prisma.IterationUpdateWithoutTestPlansInput, Prisma.IterationUncheckedUpdateWithoutTestPlansInput>
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
export type IterationUpdateWithoutTestPlansInput = {
|
|
841
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
842
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
843
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
844
|
+
startDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
845
|
+
endDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
846
|
+
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
847
|
+
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
848
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
849
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
850
|
+
project?: Prisma.ProjectUpdateOneRequiredWithoutIterationsNestedInput
|
|
851
|
+
createdBy?: Prisma.UserUpdateOneRequiredWithoutIterationsCreatedNestedInput
|
|
852
|
+
stories?: Prisma.StoryUpdateManyWithoutIterationNestedInput
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
export type IterationUncheckedUpdateWithoutTestPlansInput = {
|
|
856
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
857
|
+
projectId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
858
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
859
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
860
|
+
startDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
861
|
+
endDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
862
|
+
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
863
|
+
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
864
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string
|
|
865
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
866
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
867
|
+
stories?: Prisma.StoryUncheckedUpdateManyWithoutIterationNestedInput
|
|
761
868
|
}
|
|
762
869
|
|
|
763
870
|
export type IterationCreateManyCreatedByInput = {
|
|
@@ -785,6 +892,7 @@ export type IterationUpdateWithoutCreatedByInput = {
|
|
|
785
892
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
786
893
|
project?: Prisma.ProjectUpdateOneRequiredWithoutIterationsNestedInput
|
|
787
894
|
stories?: Prisma.StoryUpdateManyWithoutIterationNestedInput
|
|
895
|
+
testPlans?: Prisma.TestPlanUpdateManyWithoutIterationNestedInput
|
|
788
896
|
}
|
|
789
897
|
|
|
790
898
|
export type IterationUncheckedUpdateWithoutCreatedByInput = {
|
|
@@ -799,6 +907,7 @@ export type IterationUncheckedUpdateWithoutCreatedByInput = {
|
|
|
799
907
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
800
908
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
801
909
|
stories?: Prisma.StoryUncheckedUpdateManyWithoutIterationNestedInput
|
|
910
|
+
testPlans?: Prisma.TestPlanUncheckedUpdateManyWithoutIterationNestedInput
|
|
802
911
|
}
|
|
803
912
|
|
|
804
913
|
export type IterationUncheckedUpdateManyWithoutCreatedByInput = {
|
|
@@ -839,6 +948,7 @@ export type IterationUpdateWithoutProjectInput = {
|
|
|
839
948
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
840
949
|
createdBy?: Prisma.UserUpdateOneRequiredWithoutIterationsCreatedNestedInput
|
|
841
950
|
stories?: Prisma.StoryUpdateManyWithoutIterationNestedInput
|
|
951
|
+
testPlans?: Prisma.TestPlanUpdateManyWithoutIterationNestedInput
|
|
842
952
|
}
|
|
843
953
|
|
|
844
954
|
export type IterationUncheckedUpdateWithoutProjectInput = {
|
|
@@ -853,6 +963,7 @@ export type IterationUncheckedUpdateWithoutProjectInput = {
|
|
|
853
963
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
854
964
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
855
965
|
stories?: Prisma.StoryUncheckedUpdateManyWithoutIterationNestedInput
|
|
966
|
+
testPlans?: Prisma.TestPlanUncheckedUpdateManyWithoutIterationNestedInput
|
|
856
967
|
}
|
|
857
968
|
|
|
858
969
|
export type IterationUncheckedUpdateManyWithoutProjectInput = {
|
|
@@ -875,10 +986,12 @@ export type IterationUncheckedUpdateManyWithoutProjectInput = {
|
|
|
875
986
|
|
|
876
987
|
export type IterationCountOutputType = {
|
|
877
988
|
stories: number
|
|
989
|
+
testPlans: number
|
|
878
990
|
}
|
|
879
991
|
|
|
880
992
|
export type IterationCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
881
993
|
stories?: boolean | IterationCountOutputTypeCountStoriesArgs
|
|
994
|
+
testPlans?: boolean | IterationCountOutputTypeCountTestPlansArgs
|
|
882
995
|
}
|
|
883
996
|
|
|
884
997
|
/**
|
|
@@ -898,6 +1011,13 @@ export type IterationCountOutputTypeCountStoriesArgs<ExtArgs extends runtime.Typ
|
|
|
898
1011
|
where?: Prisma.StoryWhereInput
|
|
899
1012
|
}
|
|
900
1013
|
|
|
1014
|
+
/**
|
|
1015
|
+
* IterationCountOutputType without action
|
|
1016
|
+
*/
|
|
1017
|
+
export type IterationCountOutputTypeCountTestPlansArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1018
|
+
where?: Prisma.TestPlanWhereInput
|
|
1019
|
+
}
|
|
1020
|
+
|
|
901
1021
|
|
|
902
1022
|
export type IterationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
903
1023
|
id?: boolean
|
|
@@ -914,6 +1034,7 @@ export type IterationSelect<ExtArgs extends runtime.Types.Extensions.InternalArg
|
|
|
914
1034
|
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
|
915
1035
|
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
916
1036
|
stories?: boolean | Prisma.Iteration$storiesArgs<ExtArgs>
|
|
1037
|
+
testPlans?: boolean | Prisma.Iteration$testPlansArgs<ExtArgs>
|
|
917
1038
|
_count?: boolean | Prisma.IterationCountOutputTypeDefaultArgs<ExtArgs>
|
|
918
1039
|
}, ExtArgs["result"]["iteration"]>
|
|
919
1040
|
|
|
@@ -968,6 +1089,7 @@ export type IterationInclude<ExtArgs extends runtime.Types.Extensions.InternalAr
|
|
|
968
1089
|
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
|
969
1090
|
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
970
1091
|
stories?: boolean | Prisma.Iteration$storiesArgs<ExtArgs>
|
|
1092
|
+
testPlans?: boolean | Prisma.Iteration$testPlansArgs<ExtArgs>
|
|
971
1093
|
_count?: boolean | Prisma.IterationCountOutputTypeDefaultArgs<ExtArgs>
|
|
972
1094
|
}
|
|
973
1095
|
export type IterationIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
@@ -985,6 +1107,7 @@ export type $IterationPayload<ExtArgs extends runtime.Types.Extensions.InternalA
|
|
|
985
1107
|
project: Prisma.$ProjectPayload<ExtArgs>
|
|
986
1108
|
createdBy: Prisma.$UserPayload<ExtArgs>
|
|
987
1109
|
stories: Prisma.$StoryPayload<ExtArgs>[]
|
|
1110
|
+
testPlans: Prisma.$TestPlanPayload<ExtArgs>[]
|
|
988
1111
|
}
|
|
989
1112
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
990
1113
|
id: string
|
|
@@ -1395,6 +1518,7 @@ export interface Prisma__IterationClient<T, Null = never, ExtArgs extends runtim
|
|
|
1395
1518
|
project<T extends Prisma.ProjectDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProjectDefaultArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1396
1519
|
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>
|
|
1397
1520
|
stories<T extends Prisma.Iteration$storiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Iteration$storiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StoryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1521
|
+
testPlans<T extends Prisma.Iteration$testPlansArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Iteration$testPlansArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TestPlanPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1398
1522
|
/**
|
|
1399
1523
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1400
1524
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -1859,6 +1983,30 @@ export type Iteration$storiesArgs<ExtArgs extends runtime.Types.Extensions.Inter
|
|
|
1859
1983
|
distinct?: Prisma.StoryScalarFieldEnum | Prisma.StoryScalarFieldEnum[]
|
|
1860
1984
|
}
|
|
1861
1985
|
|
|
1986
|
+
/**
|
|
1987
|
+
* Iteration.testPlans
|
|
1988
|
+
*/
|
|
1989
|
+
export type Iteration$testPlansArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1990
|
+
/**
|
|
1991
|
+
* Select specific fields to fetch from the TestPlan
|
|
1992
|
+
*/
|
|
1993
|
+
select?: Prisma.TestPlanSelect<ExtArgs> | null
|
|
1994
|
+
/**
|
|
1995
|
+
* Omit specific fields from the TestPlan
|
|
1996
|
+
*/
|
|
1997
|
+
omit?: Prisma.TestPlanOmit<ExtArgs> | null
|
|
1998
|
+
/**
|
|
1999
|
+
* Choose, which related nodes to fetch as well
|
|
2000
|
+
*/
|
|
2001
|
+
include?: Prisma.TestPlanInclude<ExtArgs> | null
|
|
2002
|
+
where?: Prisma.TestPlanWhereInput
|
|
2003
|
+
orderBy?: Prisma.TestPlanOrderByWithRelationInput | Prisma.TestPlanOrderByWithRelationInput[]
|
|
2004
|
+
cursor?: Prisma.TestPlanWhereUniqueInput
|
|
2005
|
+
take?: number
|
|
2006
|
+
skip?: number
|
|
2007
|
+
distinct?: Prisma.TestPlanScalarFieldEnum | Prisma.TestPlanScalarFieldEnum[]
|
|
2008
|
+
}
|
|
2009
|
+
|
|
1862
2010
|
/**
|
|
1863
2011
|
* Iteration without action
|
|
1864
2012
|
*/
|
|
@@ -184,6 +184,7 @@ export type LabelWhereInput = {
|
|
|
184
184
|
createdAt?: Prisma.DateTimeFilter<"Label"> | Date | string
|
|
185
185
|
createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
186
186
|
stories?: Prisma.StoryLabelListRelationFilter
|
|
187
|
+
bugLabels?: Prisma.BugLabelListRelationFilter
|
|
187
188
|
}
|
|
188
189
|
|
|
189
190
|
export type LabelOrderByWithRelationInput = {
|
|
@@ -194,6 +195,7 @@ export type LabelOrderByWithRelationInput = {
|
|
|
194
195
|
createdAt?: Prisma.SortOrder
|
|
195
196
|
createdBy?: Prisma.UserOrderByWithRelationInput
|
|
196
197
|
stories?: Prisma.StoryLabelOrderByRelationAggregateInput
|
|
198
|
+
bugLabels?: Prisma.BugLabelOrderByRelationAggregateInput
|
|
197
199
|
}
|
|
198
200
|
|
|
199
201
|
export type LabelWhereUniqueInput = Prisma.AtLeast<{
|
|
@@ -207,6 +209,7 @@ export type LabelWhereUniqueInput = Prisma.AtLeast<{
|
|
|
207
209
|
createdAt?: Prisma.DateTimeFilter<"Label"> | Date | string
|
|
208
210
|
createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
209
211
|
stories?: Prisma.StoryLabelListRelationFilter
|
|
212
|
+
bugLabels?: Prisma.BugLabelListRelationFilter
|
|
210
213
|
}, "id" | "name">
|
|
211
214
|
|
|
212
215
|
export type LabelOrderByWithAggregationInput = {
|
|
@@ -238,6 +241,7 @@ export type LabelCreateInput = {
|
|
|
238
241
|
createdAt?: Date | string
|
|
239
242
|
createdBy: Prisma.UserCreateNestedOneWithoutLabelsCreatedInput
|
|
240
243
|
stories?: Prisma.StoryLabelCreateNestedManyWithoutLabelInput
|
|
244
|
+
bugLabels?: Prisma.BugLabelCreateNestedManyWithoutLabelInput
|
|
241
245
|
}
|
|
242
246
|
|
|
243
247
|
export type LabelUncheckedCreateInput = {
|
|
@@ -247,6 +251,7 @@ export type LabelUncheckedCreateInput = {
|
|
|
247
251
|
createdById: string
|
|
248
252
|
createdAt?: Date | string
|
|
249
253
|
stories?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutLabelInput
|
|
254
|
+
bugLabels?: Prisma.BugLabelUncheckedCreateNestedManyWithoutLabelInput
|
|
250
255
|
}
|
|
251
256
|
|
|
252
257
|
export type LabelUpdateInput = {
|
|
@@ -256,6 +261,7 @@ export type LabelUpdateInput = {
|
|
|
256
261
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
257
262
|
createdBy?: Prisma.UserUpdateOneRequiredWithoutLabelsCreatedNestedInput
|
|
258
263
|
stories?: Prisma.StoryLabelUpdateManyWithoutLabelNestedInput
|
|
264
|
+
bugLabels?: Prisma.BugLabelUpdateManyWithoutLabelNestedInput
|
|
259
265
|
}
|
|
260
266
|
|
|
261
267
|
export type LabelUncheckedUpdateInput = {
|
|
@@ -265,6 +271,7 @@ export type LabelUncheckedUpdateInput = {
|
|
|
265
271
|
createdById?: Prisma.StringFieldUpdateOperationsInput | string
|
|
266
272
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
267
273
|
stories?: Prisma.StoryLabelUncheckedUpdateManyWithoutLabelNestedInput
|
|
274
|
+
bugLabels?: Prisma.BugLabelUncheckedUpdateManyWithoutLabelNestedInput
|
|
268
275
|
}
|
|
269
276
|
|
|
270
277
|
export type LabelCreateManyInput = {
|
|
@@ -385,12 +392,27 @@ export type LabelUpdateOneRequiredWithoutStoriesNestedInput = {
|
|
|
385
392
|
update?: Prisma.XOR<Prisma.XOR<Prisma.LabelUpdateToOneWithWhereWithoutStoriesInput, Prisma.LabelUpdateWithoutStoriesInput>, Prisma.LabelUncheckedUpdateWithoutStoriesInput>
|
|
386
393
|
}
|
|
387
394
|
|
|
395
|
+
export type LabelCreateNestedOneWithoutBugLabelsInput = {
|
|
396
|
+
create?: Prisma.XOR<Prisma.LabelCreateWithoutBugLabelsInput, Prisma.LabelUncheckedCreateWithoutBugLabelsInput>
|
|
397
|
+
connectOrCreate?: Prisma.LabelCreateOrConnectWithoutBugLabelsInput
|
|
398
|
+
connect?: Prisma.LabelWhereUniqueInput
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
export type LabelUpdateOneRequiredWithoutBugLabelsNestedInput = {
|
|
402
|
+
create?: Prisma.XOR<Prisma.LabelCreateWithoutBugLabelsInput, Prisma.LabelUncheckedCreateWithoutBugLabelsInput>
|
|
403
|
+
connectOrCreate?: Prisma.LabelCreateOrConnectWithoutBugLabelsInput
|
|
404
|
+
upsert?: Prisma.LabelUpsertWithoutBugLabelsInput
|
|
405
|
+
connect?: Prisma.LabelWhereUniqueInput
|
|
406
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.LabelUpdateToOneWithWhereWithoutBugLabelsInput, Prisma.LabelUpdateWithoutBugLabelsInput>, Prisma.LabelUncheckedUpdateWithoutBugLabelsInput>
|
|
407
|
+
}
|
|
408
|
+
|
|
388
409
|
export type LabelCreateWithoutCreatedByInput = {
|
|
389
410
|
id?: string
|
|
390
411
|
name: string
|
|
391
412
|
color?: string
|
|
392
413
|
createdAt?: Date | string
|
|
393
414
|
stories?: Prisma.StoryLabelCreateNestedManyWithoutLabelInput
|
|
415
|
+
bugLabels?: Prisma.BugLabelCreateNestedManyWithoutLabelInput
|
|
394
416
|
}
|
|
395
417
|
|
|
396
418
|
export type LabelUncheckedCreateWithoutCreatedByInput = {
|
|
@@ -399,6 +421,7 @@ export type LabelUncheckedCreateWithoutCreatedByInput = {
|
|
|
399
421
|
color?: string
|
|
400
422
|
createdAt?: Date | string
|
|
401
423
|
stories?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutLabelInput
|
|
424
|
+
bugLabels?: Prisma.BugLabelUncheckedCreateNestedManyWithoutLabelInput
|
|
402
425
|
}
|
|
403
426
|
|
|
404
427
|
export type LabelCreateOrConnectWithoutCreatedByInput = {
|
|
@@ -444,6 +467,7 @@ export type LabelCreateWithoutStoriesInput = {
|
|
|
444
467
|
color?: string
|
|
445
468
|
createdAt?: Date | string
|
|
446
469
|
createdBy: Prisma.UserCreateNestedOneWithoutLabelsCreatedInput
|
|
470
|
+
bugLabels?: Prisma.BugLabelCreateNestedManyWithoutLabelInput
|
|
447
471
|
}
|
|
448
472
|
|
|
449
473
|
export type LabelUncheckedCreateWithoutStoriesInput = {
|
|
@@ -452,6 +476,7 @@ export type LabelUncheckedCreateWithoutStoriesInput = {
|
|
|
452
476
|
color?: string
|
|
453
477
|
createdById: string
|
|
454
478
|
createdAt?: Date | string
|
|
479
|
+
bugLabels?: Prisma.BugLabelUncheckedCreateNestedManyWithoutLabelInput
|
|
455
480
|
}
|
|
456
481
|
|
|
457
482
|
export type LabelCreateOrConnectWithoutStoriesInput = {
|
|
@@ -476,6 +501,7 @@ export type LabelUpdateWithoutStoriesInput = {
|
|
|
476
501
|
color?: Prisma.StringFieldUpdateOperationsInput | string
|
|
477
502
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
478
503
|
createdBy?: Prisma.UserUpdateOneRequiredWithoutLabelsCreatedNestedInput
|
|
504
|
+
bugLabels?: Prisma.BugLabelUpdateManyWithoutLabelNestedInput
|
|
479
505
|
}
|
|
480
506
|
|
|
481
507
|
export type LabelUncheckedUpdateWithoutStoriesInput = {
|
|
@@ -484,6 +510,59 @@ export type LabelUncheckedUpdateWithoutStoriesInput = {
|
|
|
484
510
|
color?: Prisma.StringFieldUpdateOperationsInput | string
|
|
485
511
|
createdById?: Prisma.StringFieldUpdateOperationsInput | string
|
|
486
512
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
513
|
+
bugLabels?: Prisma.BugLabelUncheckedUpdateManyWithoutLabelNestedInput
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
export type LabelCreateWithoutBugLabelsInput = {
|
|
517
|
+
id?: string
|
|
518
|
+
name: string
|
|
519
|
+
color?: string
|
|
520
|
+
createdAt?: Date | string
|
|
521
|
+
createdBy: Prisma.UserCreateNestedOneWithoutLabelsCreatedInput
|
|
522
|
+
stories?: Prisma.StoryLabelCreateNestedManyWithoutLabelInput
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
export type LabelUncheckedCreateWithoutBugLabelsInput = {
|
|
526
|
+
id?: string
|
|
527
|
+
name: string
|
|
528
|
+
color?: string
|
|
529
|
+
createdById: string
|
|
530
|
+
createdAt?: Date | string
|
|
531
|
+
stories?: Prisma.StoryLabelUncheckedCreateNestedManyWithoutLabelInput
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
export type LabelCreateOrConnectWithoutBugLabelsInput = {
|
|
535
|
+
where: Prisma.LabelWhereUniqueInput
|
|
536
|
+
create: Prisma.XOR<Prisma.LabelCreateWithoutBugLabelsInput, Prisma.LabelUncheckedCreateWithoutBugLabelsInput>
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
export type LabelUpsertWithoutBugLabelsInput = {
|
|
540
|
+
update: Prisma.XOR<Prisma.LabelUpdateWithoutBugLabelsInput, Prisma.LabelUncheckedUpdateWithoutBugLabelsInput>
|
|
541
|
+
create: Prisma.XOR<Prisma.LabelCreateWithoutBugLabelsInput, Prisma.LabelUncheckedCreateWithoutBugLabelsInput>
|
|
542
|
+
where?: Prisma.LabelWhereInput
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
export type LabelUpdateToOneWithWhereWithoutBugLabelsInput = {
|
|
546
|
+
where?: Prisma.LabelWhereInput
|
|
547
|
+
data: Prisma.XOR<Prisma.LabelUpdateWithoutBugLabelsInput, Prisma.LabelUncheckedUpdateWithoutBugLabelsInput>
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
export type LabelUpdateWithoutBugLabelsInput = {
|
|
551
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
552
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
553
|
+
color?: Prisma.StringFieldUpdateOperationsInput | string
|
|
554
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
555
|
+
createdBy?: Prisma.UserUpdateOneRequiredWithoutLabelsCreatedNestedInput
|
|
556
|
+
stories?: Prisma.StoryLabelUpdateManyWithoutLabelNestedInput
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
export type LabelUncheckedUpdateWithoutBugLabelsInput = {
|
|
560
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
561
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
562
|
+
color?: Prisma.StringFieldUpdateOperationsInput | string
|
|
563
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string
|
|
564
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
565
|
+
stories?: Prisma.StoryLabelUncheckedUpdateManyWithoutLabelNestedInput
|
|
487
566
|
}
|
|
488
567
|
|
|
489
568
|
export type LabelCreateManyCreatedByInput = {
|
|
@@ -499,6 +578,7 @@ export type LabelUpdateWithoutCreatedByInput = {
|
|
|
499
578
|
color?: Prisma.StringFieldUpdateOperationsInput | string
|
|
500
579
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
501
580
|
stories?: Prisma.StoryLabelUpdateManyWithoutLabelNestedInput
|
|
581
|
+
bugLabels?: Prisma.BugLabelUpdateManyWithoutLabelNestedInput
|
|
502
582
|
}
|
|
503
583
|
|
|
504
584
|
export type LabelUncheckedUpdateWithoutCreatedByInput = {
|
|
@@ -507,6 +587,7 @@ export type LabelUncheckedUpdateWithoutCreatedByInput = {
|
|
|
507
587
|
color?: Prisma.StringFieldUpdateOperationsInput | string
|
|
508
588
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
509
589
|
stories?: Prisma.StoryLabelUncheckedUpdateManyWithoutLabelNestedInput
|
|
590
|
+
bugLabels?: Prisma.BugLabelUncheckedUpdateManyWithoutLabelNestedInput
|
|
510
591
|
}
|
|
511
592
|
|
|
512
593
|
export type LabelUncheckedUpdateManyWithoutCreatedByInput = {
|
|
@@ -523,10 +604,12 @@ export type LabelUncheckedUpdateManyWithoutCreatedByInput = {
|
|
|
523
604
|
|
|
524
605
|
export type LabelCountOutputType = {
|
|
525
606
|
stories: number
|
|
607
|
+
bugLabels: number
|
|
526
608
|
}
|
|
527
609
|
|
|
528
610
|
export type LabelCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
529
611
|
stories?: boolean | LabelCountOutputTypeCountStoriesArgs
|
|
612
|
+
bugLabels?: boolean | LabelCountOutputTypeCountBugLabelsArgs
|
|
530
613
|
}
|
|
531
614
|
|
|
532
615
|
/**
|
|
@@ -546,6 +629,13 @@ export type LabelCountOutputTypeCountStoriesArgs<ExtArgs extends runtime.Types.E
|
|
|
546
629
|
where?: Prisma.StoryLabelWhereInput
|
|
547
630
|
}
|
|
548
631
|
|
|
632
|
+
/**
|
|
633
|
+
* LabelCountOutputType without action
|
|
634
|
+
*/
|
|
635
|
+
export type LabelCountOutputTypeCountBugLabelsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
636
|
+
where?: Prisma.BugLabelWhereInput
|
|
637
|
+
}
|
|
638
|
+
|
|
549
639
|
|
|
550
640
|
export type LabelSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
551
641
|
id?: boolean
|
|
@@ -555,6 +645,7 @@ export type LabelSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
|
|
555
645
|
createdAt?: boolean
|
|
556
646
|
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
557
647
|
stories?: boolean | Prisma.Label$storiesArgs<ExtArgs>
|
|
648
|
+
bugLabels?: boolean | Prisma.Label$bugLabelsArgs<ExtArgs>
|
|
558
649
|
_count?: boolean | Prisma.LabelCountOutputTypeDefaultArgs<ExtArgs>
|
|
559
650
|
}, ExtArgs["result"]["label"]>
|
|
560
651
|
|
|
@@ -588,6 +679,7 @@ export type LabelOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = ru
|
|
|
588
679
|
export type LabelInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
589
680
|
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
590
681
|
stories?: boolean | Prisma.Label$storiesArgs<ExtArgs>
|
|
682
|
+
bugLabels?: boolean | Prisma.Label$bugLabelsArgs<ExtArgs>
|
|
591
683
|
_count?: boolean | Prisma.LabelCountOutputTypeDefaultArgs<ExtArgs>
|
|
592
684
|
}
|
|
593
685
|
export type LabelIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
@@ -602,6 +694,7 @@ export type $LabelPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
602
694
|
objects: {
|
|
603
695
|
createdBy: Prisma.$UserPayload<ExtArgs>
|
|
604
696
|
stories: Prisma.$StoryLabelPayload<ExtArgs>[]
|
|
697
|
+
bugLabels: Prisma.$BugLabelPayload<ExtArgs>[]
|
|
605
698
|
}
|
|
606
699
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
607
700
|
id: string
|
|
@@ -1005,6 +1098,7 @@ export interface Prisma__LabelClient<T, Null = never, ExtArgs extends runtime.Ty
|
|
|
1005
1098
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1006
1099
|
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>
|
|
1007
1100
|
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
|
+
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>
|
|
1008
1102
|
/**
|
|
1009
1103
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1010
1104
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -1463,6 +1557,30 @@ export type Label$storiesArgs<ExtArgs extends runtime.Types.Extensions.InternalA
|
|
|
1463
1557
|
distinct?: Prisma.StoryLabelScalarFieldEnum | Prisma.StoryLabelScalarFieldEnum[]
|
|
1464
1558
|
}
|
|
1465
1559
|
|
|
1560
|
+
/**
|
|
1561
|
+
* Label.bugLabels
|
|
1562
|
+
*/
|
|
1563
|
+
export type Label$bugLabelsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1564
|
+
/**
|
|
1565
|
+
* Select specific fields to fetch from the BugLabel
|
|
1566
|
+
*/
|
|
1567
|
+
select?: Prisma.BugLabelSelect<ExtArgs> | null
|
|
1568
|
+
/**
|
|
1569
|
+
* Omit specific fields from the BugLabel
|
|
1570
|
+
*/
|
|
1571
|
+
omit?: Prisma.BugLabelOmit<ExtArgs> | null
|
|
1572
|
+
/**
|
|
1573
|
+
* Choose, which related nodes to fetch as well
|
|
1574
|
+
*/
|
|
1575
|
+
include?: Prisma.BugLabelInclude<ExtArgs> | null
|
|
1576
|
+
where?: Prisma.BugLabelWhereInput
|
|
1577
|
+
orderBy?: Prisma.BugLabelOrderByWithRelationInput | Prisma.BugLabelOrderByWithRelationInput[]
|
|
1578
|
+
cursor?: Prisma.BugLabelWhereUniqueInput
|
|
1579
|
+
take?: number
|
|
1580
|
+
skip?: number
|
|
1581
|
+
distinct?: Prisma.BugLabelScalarFieldEnum | Prisma.BugLabelScalarFieldEnum[]
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1466
1584
|
/**
|
|
1467
1585
|
* Label without action
|
|
1468
1586
|
*/
|