@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
|
@@ -26,7 +26,7 @@ export type AggregateReview = {
|
|
|
26
26
|
|
|
27
27
|
export type ReviewMinAggregateOutputType = {
|
|
28
28
|
id: string | null
|
|
29
|
-
|
|
29
|
+
designId: string | null
|
|
30
30
|
versionId: string | null
|
|
31
31
|
status: $Enums.ReviewStatus | null
|
|
32
32
|
reviewerId: string | null
|
|
@@ -37,7 +37,7 @@ export type ReviewMinAggregateOutputType = {
|
|
|
37
37
|
|
|
38
38
|
export type ReviewMaxAggregateOutputType = {
|
|
39
39
|
id: string | null
|
|
40
|
-
|
|
40
|
+
designId: string | null
|
|
41
41
|
versionId: string | null
|
|
42
42
|
status: $Enums.ReviewStatus | null
|
|
43
43
|
reviewerId: string | null
|
|
@@ -48,7 +48,7 @@ export type ReviewMaxAggregateOutputType = {
|
|
|
48
48
|
|
|
49
49
|
export type ReviewCountAggregateOutputType = {
|
|
50
50
|
id: number
|
|
51
|
-
|
|
51
|
+
designId: number
|
|
52
52
|
versionId: number
|
|
53
53
|
status: number
|
|
54
54
|
reviewerId: number
|
|
@@ -61,7 +61,7 @@ export type ReviewCountAggregateOutputType = {
|
|
|
61
61
|
|
|
62
62
|
export type ReviewMinAggregateInputType = {
|
|
63
63
|
id?: true
|
|
64
|
-
|
|
64
|
+
designId?: true
|
|
65
65
|
versionId?: true
|
|
66
66
|
status?: true
|
|
67
67
|
reviewerId?: true
|
|
@@ -72,7 +72,7 @@ export type ReviewMinAggregateInputType = {
|
|
|
72
72
|
|
|
73
73
|
export type ReviewMaxAggregateInputType = {
|
|
74
74
|
id?: true
|
|
75
|
-
|
|
75
|
+
designId?: true
|
|
76
76
|
versionId?: true
|
|
77
77
|
status?: true
|
|
78
78
|
reviewerId?: true
|
|
@@ -83,7 +83,7 @@ export type ReviewMaxAggregateInputType = {
|
|
|
83
83
|
|
|
84
84
|
export type ReviewCountAggregateInputType = {
|
|
85
85
|
id?: true
|
|
86
|
-
|
|
86
|
+
designId?: true
|
|
87
87
|
versionId?: true
|
|
88
88
|
status?: true
|
|
89
89
|
reviewerId?: true
|
|
@@ -167,7 +167,7 @@ export type ReviewGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalA
|
|
|
167
167
|
|
|
168
168
|
export type ReviewGroupByOutputType = {
|
|
169
169
|
id: string
|
|
170
|
-
|
|
170
|
+
designId: string
|
|
171
171
|
versionId: string
|
|
172
172
|
status: $Enums.ReviewStatus
|
|
173
173
|
reviewerId: string | null
|
|
@@ -199,56 +199,56 @@ export type ReviewWhereInput = {
|
|
|
199
199
|
OR?: Prisma.ReviewWhereInput[]
|
|
200
200
|
NOT?: Prisma.ReviewWhereInput | Prisma.ReviewWhereInput[]
|
|
201
201
|
id?: Prisma.StringFilter<"Review"> | string
|
|
202
|
-
|
|
202
|
+
designId?: Prisma.StringFilter<"Review"> | string
|
|
203
203
|
versionId?: Prisma.StringFilter<"Review"> | string
|
|
204
204
|
status?: Prisma.EnumReviewStatusFilter<"Review"> | $Enums.ReviewStatus
|
|
205
205
|
reviewerId?: Prisma.StringNullableFilter<"Review"> | string | null
|
|
206
206
|
notes?: Prisma.StringNullableFilter<"Review"> | string | null
|
|
207
207
|
createdAt?: Prisma.DateTimeFilter<"Review"> | Date | string
|
|
208
208
|
completedAt?: Prisma.DateTimeNullableFilter<"Review"> | Date | string | null
|
|
209
|
-
|
|
210
|
-
version?: Prisma.XOR<Prisma.
|
|
209
|
+
design?: Prisma.XOR<Prisma.DesignScalarRelationFilter, Prisma.DesignWhereInput>
|
|
210
|
+
version?: Prisma.XOR<Prisma.DesignVersionScalarRelationFilter, Prisma.DesignVersionWhereInput>
|
|
211
211
|
reviewer?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
212
212
|
comments?: Prisma.ReviewCommentListRelationFilter
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
export type ReviewOrderByWithRelationInput = {
|
|
216
216
|
id?: Prisma.SortOrder
|
|
217
|
-
|
|
217
|
+
designId?: Prisma.SortOrder
|
|
218
218
|
versionId?: Prisma.SortOrder
|
|
219
219
|
status?: Prisma.SortOrder
|
|
220
220
|
reviewerId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
221
221
|
notes?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
222
222
|
createdAt?: Prisma.SortOrder
|
|
223
223
|
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
224
|
-
|
|
225
|
-
version?: Prisma.
|
|
224
|
+
design?: Prisma.DesignOrderByWithRelationInput
|
|
225
|
+
version?: Prisma.DesignVersionOrderByWithRelationInput
|
|
226
226
|
reviewer?: Prisma.UserOrderByWithRelationInput
|
|
227
227
|
comments?: Prisma.ReviewCommentOrderByRelationAggregateInput
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
export type ReviewWhereUniqueInput = Prisma.AtLeast<{
|
|
231
231
|
id?: string
|
|
232
|
-
|
|
232
|
+
designId_versionId?: Prisma.ReviewDesignIdVersionIdCompoundUniqueInput
|
|
233
233
|
AND?: Prisma.ReviewWhereInput | Prisma.ReviewWhereInput[]
|
|
234
234
|
OR?: Prisma.ReviewWhereInput[]
|
|
235
235
|
NOT?: Prisma.ReviewWhereInput | Prisma.ReviewWhereInput[]
|
|
236
|
-
|
|
236
|
+
designId?: Prisma.StringFilter<"Review"> | string
|
|
237
237
|
versionId?: Prisma.StringFilter<"Review"> | string
|
|
238
238
|
status?: Prisma.EnumReviewStatusFilter<"Review"> | $Enums.ReviewStatus
|
|
239
239
|
reviewerId?: Prisma.StringNullableFilter<"Review"> | string | null
|
|
240
240
|
notes?: Prisma.StringNullableFilter<"Review"> | string | null
|
|
241
241
|
createdAt?: Prisma.DateTimeFilter<"Review"> | Date | string
|
|
242
242
|
completedAt?: Prisma.DateTimeNullableFilter<"Review"> | Date | string | null
|
|
243
|
-
|
|
244
|
-
version?: Prisma.XOR<Prisma.
|
|
243
|
+
design?: Prisma.XOR<Prisma.DesignScalarRelationFilter, Prisma.DesignWhereInput>
|
|
244
|
+
version?: Prisma.XOR<Prisma.DesignVersionScalarRelationFilter, Prisma.DesignVersionWhereInput>
|
|
245
245
|
reviewer?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
246
246
|
comments?: Prisma.ReviewCommentListRelationFilter
|
|
247
|
-
}, "id" | "
|
|
247
|
+
}, "id" | "designId_versionId">
|
|
248
248
|
|
|
249
249
|
export type ReviewOrderByWithAggregationInput = {
|
|
250
250
|
id?: Prisma.SortOrder
|
|
251
|
-
|
|
251
|
+
designId?: Prisma.SortOrder
|
|
252
252
|
versionId?: Prisma.SortOrder
|
|
253
253
|
status?: Prisma.SortOrder
|
|
254
254
|
reviewerId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
@@ -265,7 +265,7 @@ export type ReviewScalarWhereWithAggregatesInput = {
|
|
|
265
265
|
OR?: Prisma.ReviewScalarWhereWithAggregatesInput[]
|
|
266
266
|
NOT?: Prisma.ReviewScalarWhereWithAggregatesInput | Prisma.ReviewScalarWhereWithAggregatesInput[]
|
|
267
267
|
id?: Prisma.StringWithAggregatesFilter<"Review"> | string
|
|
268
|
-
|
|
268
|
+
designId?: Prisma.StringWithAggregatesFilter<"Review"> | string
|
|
269
269
|
versionId?: Prisma.StringWithAggregatesFilter<"Review"> | string
|
|
270
270
|
status?: Prisma.EnumReviewStatusWithAggregatesFilter<"Review"> | $Enums.ReviewStatus
|
|
271
271
|
reviewerId?: Prisma.StringNullableWithAggregatesFilter<"Review"> | string | null
|
|
@@ -280,15 +280,15 @@ export type ReviewCreateInput = {
|
|
|
280
280
|
notes?: string | null
|
|
281
281
|
createdAt?: Date | string
|
|
282
282
|
completedAt?: Date | string | null
|
|
283
|
-
|
|
284
|
-
version: Prisma.
|
|
283
|
+
design: Prisma.DesignCreateNestedOneWithoutReviewsInput
|
|
284
|
+
version: Prisma.DesignVersionCreateNestedOneWithoutReviewsInput
|
|
285
285
|
reviewer?: Prisma.UserCreateNestedOneWithoutReviewsInput
|
|
286
286
|
comments?: Prisma.ReviewCommentCreateNestedManyWithoutReviewInput
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
export type ReviewUncheckedCreateInput = {
|
|
290
290
|
id?: string
|
|
291
|
-
|
|
291
|
+
designId: string
|
|
292
292
|
versionId: string
|
|
293
293
|
status?: $Enums.ReviewStatus
|
|
294
294
|
reviewerId?: string | null
|
|
@@ -304,15 +304,15 @@ export type ReviewUpdateInput = {
|
|
|
304
304
|
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
305
305
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
306
306
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
307
|
-
|
|
308
|
-
version?: Prisma.
|
|
307
|
+
design?: Prisma.DesignUpdateOneRequiredWithoutReviewsNestedInput
|
|
308
|
+
version?: Prisma.DesignVersionUpdateOneRequiredWithoutReviewsNestedInput
|
|
309
309
|
reviewer?: Prisma.UserUpdateOneWithoutReviewsNestedInput
|
|
310
310
|
comments?: Prisma.ReviewCommentUpdateManyWithoutReviewNestedInput
|
|
311
311
|
}
|
|
312
312
|
|
|
313
313
|
export type ReviewUncheckedUpdateInput = {
|
|
314
314
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
315
|
-
|
|
315
|
+
designId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
316
316
|
versionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
317
317
|
status?: Prisma.EnumReviewStatusFieldUpdateOperationsInput | $Enums.ReviewStatus
|
|
318
318
|
reviewerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -324,7 +324,7 @@ export type ReviewUncheckedUpdateInput = {
|
|
|
324
324
|
|
|
325
325
|
export type ReviewCreateManyInput = {
|
|
326
326
|
id?: string
|
|
327
|
-
|
|
327
|
+
designId: string
|
|
328
328
|
versionId: string
|
|
329
329
|
status?: $Enums.ReviewStatus
|
|
330
330
|
reviewerId?: string | null
|
|
@@ -343,7 +343,7 @@ export type ReviewUpdateManyMutationInput = {
|
|
|
343
343
|
|
|
344
344
|
export type ReviewUncheckedUpdateManyInput = {
|
|
345
345
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
346
|
-
|
|
346
|
+
designId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
347
347
|
versionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
348
348
|
status?: Prisma.EnumReviewStatusFieldUpdateOperationsInput | $Enums.ReviewStatus
|
|
349
349
|
reviewerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -362,14 +362,14 @@ export type ReviewOrderByRelationAggregateInput = {
|
|
|
362
362
|
_count?: Prisma.SortOrder
|
|
363
363
|
}
|
|
364
364
|
|
|
365
|
-
export type
|
|
366
|
-
|
|
365
|
+
export type ReviewDesignIdVersionIdCompoundUniqueInput = {
|
|
366
|
+
designId: string
|
|
367
367
|
versionId: string
|
|
368
368
|
}
|
|
369
369
|
|
|
370
370
|
export type ReviewCountOrderByAggregateInput = {
|
|
371
371
|
id?: Prisma.SortOrder
|
|
372
|
-
|
|
372
|
+
designId?: Prisma.SortOrder
|
|
373
373
|
versionId?: Prisma.SortOrder
|
|
374
374
|
status?: Prisma.SortOrder
|
|
375
375
|
reviewerId?: Prisma.SortOrder
|
|
@@ -380,7 +380,7 @@ export type ReviewCountOrderByAggregateInput = {
|
|
|
380
380
|
|
|
381
381
|
export type ReviewMaxOrderByAggregateInput = {
|
|
382
382
|
id?: Prisma.SortOrder
|
|
383
|
-
|
|
383
|
+
designId?: Prisma.SortOrder
|
|
384
384
|
versionId?: Prisma.SortOrder
|
|
385
385
|
status?: Prisma.SortOrder
|
|
386
386
|
reviewerId?: Prisma.SortOrder
|
|
@@ -391,7 +391,7 @@ export type ReviewMaxOrderByAggregateInput = {
|
|
|
391
391
|
|
|
392
392
|
export type ReviewMinOrderByAggregateInput = {
|
|
393
393
|
id?: Prisma.SortOrder
|
|
394
|
-
|
|
394
|
+
designId?: Prisma.SortOrder
|
|
395
395
|
versionId?: Prisma.SortOrder
|
|
396
396
|
status?: Prisma.SortOrder
|
|
397
397
|
reviewerId?: Prisma.SortOrder
|
|
@@ -447,45 +447,45 @@ export type ReviewUncheckedUpdateManyWithoutReviewerNestedInput = {
|
|
|
447
447
|
deleteMany?: Prisma.ReviewScalarWhereInput | Prisma.ReviewScalarWhereInput[]
|
|
448
448
|
}
|
|
449
449
|
|
|
450
|
-
export type
|
|
451
|
-
create?: Prisma.XOR<Prisma.
|
|
452
|
-
connectOrCreate?: Prisma.
|
|
453
|
-
createMany?: Prisma.
|
|
450
|
+
export type ReviewCreateNestedManyWithoutDesignInput = {
|
|
451
|
+
create?: Prisma.XOR<Prisma.ReviewCreateWithoutDesignInput, Prisma.ReviewUncheckedCreateWithoutDesignInput> | Prisma.ReviewCreateWithoutDesignInput[] | Prisma.ReviewUncheckedCreateWithoutDesignInput[]
|
|
452
|
+
connectOrCreate?: Prisma.ReviewCreateOrConnectWithoutDesignInput | Prisma.ReviewCreateOrConnectWithoutDesignInput[]
|
|
453
|
+
createMany?: Prisma.ReviewCreateManyDesignInputEnvelope
|
|
454
454
|
connect?: Prisma.ReviewWhereUniqueInput | Prisma.ReviewWhereUniqueInput[]
|
|
455
455
|
}
|
|
456
456
|
|
|
457
|
-
export type
|
|
458
|
-
create?: Prisma.XOR<Prisma.
|
|
459
|
-
connectOrCreate?: Prisma.
|
|
460
|
-
createMany?: Prisma.
|
|
457
|
+
export type ReviewUncheckedCreateNestedManyWithoutDesignInput = {
|
|
458
|
+
create?: Prisma.XOR<Prisma.ReviewCreateWithoutDesignInput, Prisma.ReviewUncheckedCreateWithoutDesignInput> | Prisma.ReviewCreateWithoutDesignInput[] | Prisma.ReviewUncheckedCreateWithoutDesignInput[]
|
|
459
|
+
connectOrCreate?: Prisma.ReviewCreateOrConnectWithoutDesignInput | Prisma.ReviewCreateOrConnectWithoutDesignInput[]
|
|
460
|
+
createMany?: Prisma.ReviewCreateManyDesignInputEnvelope
|
|
461
461
|
connect?: Prisma.ReviewWhereUniqueInput | Prisma.ReviewWhereUniqueInput[]
|
|
462
462
|
}
|
|
463
463
|
|
|
464
|
-
export type
|
|
465
|
-
create?: Prisma.XOR<Prisma.
|
|
466
|
-
connectOrCreate?: Prisma.
|
|
467
|
-
upsert?: Prisma.
|
|
468
|
-
createMany?: Prisma.
|
|
464
|
+
export type ReviewUpdateManyWithoutDesignNestedInput = {
|
|
465
|
+
create?: Prisma.XOR<Prisma.ReviewCreateWithoutDesignInput, Prisma.ReviewUncheckedCreateWithoutDesignInput> | Prisma.ReviewCreateWithoutDesignInput[] | Prisma.ReviewUncheckedCreateWithoutDesignInput[]
|
|
466
|
+
connectOrCreate?: Prisma.ReviewCreateOrConnectWithoutDesignInput | Prisma.ReviewCreateOrConnectWithoutDesignInput[]
|
|
467
|
+
upsert?: Prisma.ReviewUpsertWithWhereUniqueWithoutDesignInput | Prisma.ReviewUpsertWithWhereUniqueWithoutDesignInput[]
|
|
468
|
+
createMany?: Prisma.ReviewCreateManyDesignInputEnvelope
|
|
469
469
|
set?: Prisma.ReviewWhereUniqueInput | Prisma.ReviewWhereUniqueInput[]
|
|
470
470
|
disconnect?: Prisma.ReviewWhereUniqueInput | Prisma.ReviewWhereUniqueInput[]
|
|
471
471
|
delete?: Prisma.ReviewWhereUniqueInput | Prisma.ReviewWhereUniqueInput[]
|
|
472
472
|
connect?: Prisma.ReviewWhereUniqueInput | Prisma.ReviewWhereUniqueInput[]
|
|
473
|
-
update?: Prisma.
|
|
474
|
-
updateMany?: Prisma.
|
|
473
|
+
update?: Prisma.ReviewUpdateWithWhereUniqueWithoutDesignInput | Prisma.ReviewUpdateWithWhereUniqueWithoutDesignInput[]
|
|
474
|
+
updateMany?: Prisma.ReviewUpdateManyWithWhereWithoutDesignInput | Prisma.ReviewUpdateManyWithWhereWithoutDesignInput[]
|
|
475
475
|
deleteMany?: Prisma.ReviewScalarWhereInput | Prisma.ReviewScalarWhereInput[]
|
|
476
476
|
}
|
|
477
477
|
|
|
478
|
-
export type
|
|
479
|
-
create?: Prisma.XOR<Prisma.
|
|
480
|
-
connectOrCreate?: Prisma.
|
|
481
|
-
upsert?: Prisma.
|
|
482
|
-
createMany?: Prisma.
|
|
478
|
+
export type ReviewUncheckedUpdateManyWithoutDesignNestedInput = {
|
|
479
|
+
create?: Prisma.XOR<Prisma.ReviewCreateWithoutDesignInput, Prisma.ReviewUncheckedCreateWithoutDesignInput> | Prisma.ReviewCreateWithoutDesignInput[] | Prisma.ReviewUncheckedCreateWithoutDesignInput[]
|
|
480
|
+
connectOrCreate?: Prisma.ReviewCreateOrConnectWithoutDesignInput | Prisma.ReviewCreateOrConnectWithoutDesignInput[]
|
|
481
|
+
upsert?: Prisma.ReviewUpsertWithWhereUniqueWithoutDesignInput | Prisma.ReviewUpsertWithWhereUniqueWithoutDesignInput[]
|
|
482
|
+
createMany?: Prisma.ReviewCreateManyDesignInputEnvelope
|
|
483
483
|
set?: Prisma.ReviewWhereUniqueInput | Prisma.ReviewWhereUniqueInput[]
|
|
484
484
|
disconnect?: Prisma.ReviewWhereUniqueInput | Prisma.ReviewWhereUniqueInput[]
|
|
485
485
|
delete?: Prisma.ReviewWhereUniqueInput | Prisma.ReviewWhereUniqueInput[]
|
|
486
486
|
connect?: Prisma.ReviewWhereUniqueInput | Prisma.ReviewWhereUniqueInput[]
|
|
487
|
-
update?: Prisma.
|
|
488
|
-
updateMany?: Prisma.
|
|
487
|
+
update?: Prisma.ReviewUpdateWithWhereUniqueWithoutDesignInput | Prisma.ReviewUpdateWithWhereUniqueWithoutDesignInput[]
|
|
488
|
+
updateMany?: Prisma.ReviewUpdateManyWithWhereWithoutDesignInput | Prisma.ReviewUpdateManyWithWhereWithoutDesignInput[]
|
|
489
489
|
deleteMany?: Prisma.ReviewScalarWhereInput | Prisma.ReviewScalarWhereInput[]
|
|
490
490
|
}
|
|
491
491
|
|
|
@@ -555,14 +555,14 @@ export type ReviewCreateWithoutReviewerInput = {
|
|
|
555
555
|
notes?: string | null
|
|
556
556
|
createdAt?: Date | string
|
|
557
557
|
completedAt?: Date | string | null
|
|
558
|
-
|
|
559
|
-
version: Prisma.
|
|
558
|
+
design: Prisma.DesignCreateNestedOneWithoutReviewsInput
|
|
559
|
+
version: Prisma.DesignVersionCreateNestedOneWithoutReviewsInput
|
|
560
560
|
comments?: Prisma.ReviewCommentCreateNestedManyWithoutReviewInput
|
|
561
561
|
}
|
|
562
562
|
|
|
563
563
|
export type ReviewUncheckedCreateWithoutReviewerInput = {
|
|
564
564
|
id?: string
|
|
565
|
-
|
|
565
|
+
designId: string
|
|
566
566
|
versionId: string
|
|
567
567
|
status?: $Enums.ReviewStatus
|
|
568
568
|
notes?: string | null
|
|
@@ -602,7 +602,7 @@ export type ReviewScalarWhereInput = {
|
|
|
602
602
|
OR?: Prisma.ReviewScalarWhereInput[]
|
|
603
603
|
NOT?: Prisma.ReviewScalarWhereInput | Prisma.ReviewScalarWhereInput[]
|
|
604
604
|
id?: Prisma.StringFilter<"Review"> | string
|
|
605
|
-
|
|
605
|
+
designId?: Prisma.StringFilter<"Review"> | string
|
|
606
606
|
versionId?: Prisma.StringFilter<"Review"> | string
|
|
607
607
|
status?: Prisma.EnumReviewStatusFilter<"Review"> | $Enums.ReviewStatus
|
|
608
608
|
reviewerId?: Prisma.StringNullableFilter<"Review"> | string | null
|
|
@@ -611,18 +611,18 @@ export type ReviewScalarWhereInput = {
|
|
|
611
611
|
completedAt?: Prisma.DateTimeNullableFilter<"Review"> | Date | string | null
|
|
612
612
|
}
|
|
613
613
|
|
|
614
|
-
export type
|
|
614
|
+
export type ReviewCreateWithoutDesignInput = {
|
|
615
615
|
id?: string
|
|
616
616
|
status?: $Enums.ReviewStatus
|
|
617
617
|
notes?: string | null
|
|
618
618
|
createdAt?: Date | string
|
|
619
619
|
completedAt?: Date | string | null
|
|
620
|
-
version: Prisma.
|
|
620
|
+
version: Prisma.DesignVersionCreateNestedOneWithoutReviewsInput
|
|
621
621
|
reviewer?: Prisma.UserCreateNestedOneWithoutReviewsInput
|
|
622
622
|
comments?: Prisma.ReviewCommentCreateNestedManyWithoutReviewInput
|
|
623
623
|
}
|
|
624
624
|
|
|
625
|
-
export type
|
|
625
|
+
export type ReviewUncheckedCreateWithoutDesignInput = {
|
|
626
626
|
id?: string
|
|
627
627
|
versionId: string
|
|
628
628
|
status?: $Enums.ReviewStatus
|
|
@@ -633,30 +633,30 @@ export type ReviewUncheckedCreateWithoutPrdInput = {
|
|
|
633
633
|
comments?: Prisma.ReviewCommentUncheckedCreateNestedManyWithoutReviewInput
|
|
634
634
|
}
|
|
635
635
|
|
|
636
|
-
export type
|
|
636
|
+
export type ReviewCreateOrConnectWithoutDesignInput = {
|
|
637
637
|
where: Prisma.ReviewWhereUniqueInput
|
|
638
|
-
create: Prisma.XOR<Prisma.
|
|
638
|
+
create: Prisma.XOR<Prisma.ReviewCreateWithoutDesignInput, Prisma.ReviewUncheckedCreateWithoutDesignInput>
|
|
639
639
|
}
|
|
640
640
|
|
|
641
|
-
export type
|
|
642
|
-
data: Prisma.
|
|
641
|
+
export type ReviewCreateManyDesignInputEnvelope = {
|
|
642
|
+
data: Prisma.ReviewCreateManyDesignInput | Prisma.ReviewCreateManyDesignInput[]
|
|
643
643
|
skipDuplicates?: boolean
|
|
644
644
|
}
|
|
645
645
|
|
|
646
|
-
export type
|
|
646
|
+
export type ReviewUpsertWithWhereUniqueWithoutDesignInput = {
|
|
647
647
|
where: Prisma.ReviewWhereUniqueInput
|
|
648
|
-
update: Prisma.XOR<Prisma.
|
|
649
|
-
create: Prisma.XOR<Prisma.
|
|
648
|
+
update: Prisma.XOR<Prisma.ReviewUpdateWithoutDesignInput, Prisma.ReviewUncheckedUpdateWithoutDesignInput>
|
|
649
|
+
create: Prisma.XOR<Prisma.ReviewCreateWithoutDesignInput, Prisma.ReviewUncheckedCreateWithoutDesignInput>
|
|
650
650
|
}
|
|
651
651
|
|
|
652
|
-
export type
|
|
652
|
+
export type ReviewUpdateWithWhereUniqueWithoutDesignInput = {
|
|
653
653
|
where: Prisma.ReviewWhereUniqueInput
|
|
654
|
-
data: Prisma.XOR<Prisma.
|
|
654
|
+
data: Prisma.XOR<Prisma.ReviewUpdateWithoutDesignInput, Prisma.ReviewUncheckedUpdateWithoutDesignInput>
|
|
655
655
|
}
|
|
656
656
|
|
|
657
|
-
export type
|
|
657
|
+
export type ReviewUpdateManyWithWhereWithoutDesignInput = {
|
|
658
658
|
where: Prisma.ReviewScalarWhereInput
|
|
659
|
-
data: Prisma.XOR<Prisma.ReviewUpdateManyMutationInput, Prisma.
|
|
659
|
+
data: Prisma.XOR<Prisma.ReviewUpdateManyMutationInput, Prisma.ReviewUncheckedUpdateManyWithoutDesignInput>
|
|
660
660
|
}
|
|
661
661
|
|
|
662
662
|
export type ReviewCreateWithoutVersionInput = {
|
|
@@ -665,14 +665,14 @@ export type ReviewCreateWithoutVersionInput = {
|
|
|
665
665
|
notes?: string | null
|
|
666
666
|
createdAt?: Date | string
|
|
667
667
|
completedAt?: Date | string | null
|
|
668
|
-
|
|
668
|
+
design: Prisma.DesignCreateNestedOneWithoutReviewsInput
|
|
669
669
|
reviewer?: Prisma.UserCreateNestedOneWithoutReviewsInput
|
|
670
670
|
comments?: Prisma.ReviewCommentCreateNestedManyWithoutReviewInput
|
|
671
671
|
}
|
|
672
672
|
|
|
673
673
|
export type ReviewUncheckedCreateWithoutVersionInput = {
|
|
674
674
|
id?: string
|
|
675
|
-
|
|
675
|
+
designId: string
|
|
676
676
|
status?: $Enums.ReviewStatus
|
|
677
677
|
reviewerId?: string | null
|
|
678
678
|
notes?: string | null
|
|
@@ -713,14 +713,14 @@ export type ReviewCreateWithoutCommentsInput = {
|
|
|
713
713
|
notes?: string | null
|
|
714
714
|
createdAt?: Date | string
|
|
715
715
|
completedAt?: Date | string | null
|
|
716
|
-
|
|
717
|
-
version: Prisma.
|
|
716
|
+
design: Prisma.DesignCreateNestedOneWithoutReviewsInput
|
|
717
|
+
version: Prisma.DesignVersionCreateNestedOneWithoutReviewsInput
|
|
718
718
|
reviewer?: Prisma.UserCreateNestedOneWithoutReviewsInput
|
|
719
719
|
}
|
|
720
720
|
|
|
721
721
|
export type ReviewUncheckedCreateWithoutCommentsInput = {
|
|
722
722
|
id?: string
|
|
723
|
-
|
|
723
|
+
designId: string
|
|
724
724
|
versionId: string
|
|
725
725
|
status?: $Enums.ReviewStatus
|
|
726
726
|
reviewerId?: string | null
|
|
@@ -751,14 +751,14 @@ export type ReviewUpdateWithoutCommentsInput = {
|
|
|
751
751
|
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
752
752
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
753
753
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
754
|
-
|
|
755
|
-
version?: Prisma.
|
|
754
|
+
design?: Prisma.DesignUpdateOneRequiredWithoutReviewsNestedInput
|
|
755
|
+
version?: Prisma.DesignVersionUpdateOneRequiredWithoutReviewsNestedInput
|
|
756
756
|
reviewer?: Prisma.UserUpdateOneWithoutReviewsNestedInput
|
|
757
757
|
}
|
|
758
758
|
|
|
759
759
|
export type ReviewUncheckedUpdateWithoutCommentsInput = {
|
|
760
760
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
761
|
-
|
|
761
|
+
designId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
762
762
|
versionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
763
763
|
status?: Prisma.EnumReviewStatusFieldUpdateOperationsInput | $Enums.ReviewStatus
|
|
764
764
|
reviewerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -769,7 +769,7 @@ export type ReviewUncheckedUpdateWithoutCommentsInput = {
|
|
|
769
769
|
|
|
770
770
|
export type ReviewCreateManyReviewerInput = {
|
|
771
771
|
id?: string
|
|
772
|
-
|
|
772
|
+
designId: string
|
|
773
773
|
versionId: string
|
|
774
774
|
status?: $Enums.ReviewStatus
|
|
775
775
|
notes?: string | null
|
|
@@ -783,14 +783,14 @@ export type ReviewUpdateWithoutReviewerInput = {
|
|
|
783
783
|
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
784
784
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
785
785
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
786
|
-
|
|
787
|
-
version?: Prisma.
|
|
786
|
+
design?: Prisma.DesignUpdateOneRequiredWithoutReviewsNestedInput
|
|
787
|
+
version?: Prisma.DesignVersionUpdateOneRequiredWithoutReviewsNestedInput
|
|
788
788
|
comments?: Prisma.ReviewCommentUpdateManyWithoutReviewNestedInput
|
|
789
789
|
}
|
|
790
790
|
|
|
791
791
|
export type ReviewUncheckedUpdateWithoutReviewerInput = {
|
|
792
792
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
793
|
-
|
|
793
|
+
designId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
794
794
|
versionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
795
795
|
status?: Prisma.EnumReviewStatusFieldUpdateOperationsInput | $Enums.ReviewStatus
|
|
796
796
|
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -801,7 +801,7 @@ export type ReviewUncheckedUpdateWithoutReviewerInput = {
|
|
|
801
801
|
|
|
802
802
|
export type ReviewUncheckedUpdateManyWithoutReviewerInput = {
|
|
803
803
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
804
|
-
|
|
804
|
+
designId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
805
805
|
versionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
806
806
|
status?: Prisma.EnumReviewStatusFieldUpdateOperationsInput | $Enums.ReviewStatus
|
|
807
807
|
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -809,7 +809,7 @@ export type ReviewUncheckedUpdateManyWithoutReviewerInput = {
|
|
|
809
809
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
810
810
|
}
|
|
811
811
|
|
|
812
|
-
export type
|
|
812
|
+
export type ReviewCreateManyDesignInput = {
|
|
813
813
|
id?: string
|
|
814
814
|
versionId: string
|
|
815
815
|
status?: $Enums.ReviewStatus
|
|
@@ -819,18 +819,18 @@ export type ReviewCreateManyPrdInput = {
|
|
|
819
819
|
completedAt?: Date | string | null
|
|
820
820
|
}
|
|
821
821
|
|
|
822
|
-
export type
|
|
822
|
+
export type ReviewUpdateWithoutDesignInput = {
|
|
823
823
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
824
824
|
status?: Prisma.EnumReviewStatusFieldUpdateOperationsInput | $Enums.ReviewStatus
|
|
825
825
|
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
826
826
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
827
827
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
828
|
-
version?: Prisma.
|
|
828
|
+
version?: Prisma.DesignVersionUpdateOneRequiredWithoutReviewsNestedInput
|
|
829
829
|
reviewer?: Prisma.UserUpdateOneWithoutReviewsNestedInput
|
|
830
830
|
comments?: Prisma.ReviewCommentUpdateManyWithoutReviewNestedInput
|
|
831
831
|
}
|
|
832
832
|
|
|
833
|
-
export type
|
|
833
|
+
export type ReviewUncheckedUpdateWithoutDesignInput = {
|
|
834
834
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
835
835
|
versionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
836
836
|
status?: Prisma.EnumReviewStatusFieldUpdateOperationsInput | $Enums.ReviewStatus
|
|
@@ -841,7 +841,7 @@ export type ReviewUncheckedUpdateWithoutPrdInput = {
|
|
|
841
841
|
comments?: Prisma.ReviewCommentUncheckedUpdateManyWithoutReviewNestedInput
|
|
842
842
|
}
|
|
843
843
|
|
|
844
|
-
export type
|
|
844
|
+
export type ReviewUncheckedUpdateManyWithoutDesignInput = {
|
|
845
845
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
846
846
|
versionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
847
847
|
status?: Prisma.EnumReviewStatusFieldUpdateOperationsInput | $Enums.ReviewStatus
|
|
@@ -853,7 +853,7 @@ export type ReviewUncheckedUpdateManyWithoutPrdInput = {
|
|
|
853
853
|
|
|
854
854
|
export type ReviewCreateManyVersionInput = {
|
|
855
855
|
id?: string
|
|
856
|
-
|
|
856
|
+
designId: string
|
|
857
857
|
status?: $Enums.ReviewStatus
|
|
858
858
|
reviewerId?: string | null
|
|
859
859
|
notes?: string | null
|
|
@@ -867,14 +867,14 @@ export type ReviewUpdateWithoutVersionInput = {
|
|
|
867
867
|
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
868
868
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
869
869
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
870
|
-
|
|
870
|
+
design?: Prisma.DesignUpdateOneRequiredWithoutReviewsNestedInput
|
|
871
871
|
reviewer?: Prisma.UserUpdateOneWithoutReviewsNestedInput
|
|
872
872
|
comments?: Prisma.ReviewCommentUpdateManyWithoutReviewNestedInput
|
|
873
873
|
}
|
|
874
874
|
|
|
875
875
|
export type ReviewUncheckedUpdateWithoutVersionInput = {
|
|
876
876
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
877
|
-
|
|
877
|
+
designId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
878
878
|
status?: Prisma.EnumReviewStatusFieldUpdateOperationsInput | $Enums.ReviewStatus
|
|
879
879
|
reviewerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
880
880
|
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -885,7 +885,7 @@ export type ReviewUncheckedUpdateWithoutVersionInput = {
|
|
|
885
885
|
|
|
886
886
|
export type ReviewUncheckedUpdateManyWithoutVersionInput = {
|
|
887
887
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
888
|
-
|
|
888
|
+
designId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
889
889
|
status?: Prisma.EnumReviewStatusFieldUpdateOperationsInput | $Enums.ReviewStatus
|
|
890
890
|
reviewerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
891
891
|
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -926,15 +926,15 @@ export type ReviewCountOutputTypeCountCommentsArgs<ExtArgs extends runtime.Types
|
|
|
926
926
|
|
|
927
927
|
export type ReviewSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
928
928
|
id?: boolean
|
|
929
|
-
|
|
929
|
+
designId?: boolean
|
|
930
930
|
versionId?: boolean
|
|
931
931
|
status?: boolean
|
|
932
932
|
reviewerId?: boolean
|
|
933
933
|
notes?: boolean
|
|
934
934
|
createdAt?: boolean
|
|
935
935
|
completedAt?: boolean
|
|
936
|
-
|
|
937
|
-
version?: boolean | Prisma.
|
|
936
|
+
design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
|
|
937
|
+
version?: boolean | Prisma.DesignVersionDefaultArgs<ExtArgs>
|
|
938
938
|
reviewer?: boolean | Prisma.Review$reviewerArgs<ExtArgs>
|
|
939
939
|
comments?: boolean | Prisma.Review$commentsArgs<ExtArgs>
|
|
940
940
|
_count?: boolean | Prisma.ReviewCountOutputTypeDefaultArgs<ExtArgs>
|
|
@@ -942,35 +942,35 @@ export type ReviewSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
|
|
942
942
|
|
|
943
943
|
export type ReviewSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
944
944
|
id?: boolean
|
|
945
|
-
|
|
945
|
+
designId?: boolean
|
|
946
946
|
versionId?: boolean
|
|
947
947
|
status?: boolean
|
|
948
948
|
reviewerId?: boolean
|
|
949
949
|
notes?: boolean
|
|
950
950
|
createdAt?: boolean
|
|
951
951
|
completedAt?: boolean
|
|
952
|
-
|
|
953
|
-
version?: boolean | Prisma.
|
|
952
|
+
design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
|
|
953
|
+
version?: boolean | Prisma.DesignVersionDefaultArgs<ExtArgs>
|
|
954
954
|
reviewer?: boolean | Prisma.Review$reviewerArgs<ExtArgs>
|
|
955
955
|
}, ExtArgs["result"]["review"]>
|
|
956
956
|
|
|
957
957
|
export type ReviewSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
958
958
|
id?: boolean
|
|
959
|
-
|
|
959
|
+
designId?: boolean
|
|
960
960
|
versionId?: boolean
|
|
961
961
|
status?: boolean
|
|
962
962
|
reviewerId?: boolean
|
|
963
963
|
notes?: boolean
|
|
964
964
|
createdAt?: boolean
|
|
965
965
|
completedAt?: boolean
|
|
966
|
-
|
|
967
|
-
version?: boolean | Prisma.
|
|
966
|
+
design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
|
|
967
|
+
version?: boolean | Prisma.DesignVersionDefaultArgs<ExtArgs>
|
|
968
968
|
reviewer?: boolean | Prisma.Review$reviewerArgs<ExtArgs>
|
|
969
969
|
}, ExtArgs["result"]["review"]>
|
|
970
970
|
|
|
971
971
|
export type ReviewSelectScalar = {
|
|
972
972
|
id?: boolean
|
|
973
|
-
|
|
973
|
+
designId?: boolean
|
|
974
974
|
versionId?: boolean
|
|
975
975
|
status?: boolean
|
|
976
976
|
reviewerId?: boolean
|
|
@@ -979,36 +979,36 @@ export type ReviewSelectScalar = {
|
|
|
979
979
|
completedAt?: boolean
|
|
980
980
|
}
|
|
981
981
|
|
|
982
|
-
export type ReviewOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "
|
|
982
|
+
export type ReviewOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "designId" | "versionId" | "status" | "reviewerId" | "notes" | "createdAt" | "completedAt", ExtArgs["result"]["review"]>
|
|
983
983
|
export type ReviewInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
984
|
-
|
|
985
|
-
version?: boolean | Prisma.
|
|
984
|
+
design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
|
|
985
|
+
version?: boolean | Prisma.DesignVersionDefaultArgs<ExtArgs>
|
|
986
986
|
reviewer?: boolean | Prisma.Review$reviewerArgs<ExtArgs>
|
|
987
987
|
comments?: boolean | Prisma.Review$commentsArgs<ExtArgs>
|
|
988
988
|
_count?: boolean | Prisma.ReviewCountOutputTypeDefaultArgs<ExtArgs>
|
|
989
989
|
}
|
|
990
990
|
export type ReviewIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
991
|
-
|
|
992
|
-
version?: boolean | Prisma.
|
|
991
|
+
design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
|
|
992
|
+
version?: boolean | Prisma.DesignVersionDefaultArgs<ExtArgs>
|
|
993
993
|
reviewer?: boolean | Prisma.Review$reviewerArgs<ExtArgs>
|
|
994
994
|
}
|
|
995
995
|
export type ReviewIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
996
|
-
|
|
997
|
-
version?: boolean | Prisma.
|
|
996
|
+
design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
|
|
997
|
+
version?: boolean | Prisma.DesignVersionDefaultArgs<ExtArgs>
|
|
998
998
|
reviewer?: boolean | Prisma.Review$reviewerArgs<ExtArgs>
|
|
999
999
|
}
|
|
1000
1000
|
|
|
1001
1001
|
export type $ReviewPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1002
1002
|
name: "Review"
|
|
1003
1003
|
objects: {
|
|
1004
|
-
|
|
1005
|
-
version: Prisma.$
|
|
1004
|
+
design: Prisma.$DesignPayload<ExtArgs>
|
|
1005
|
+
version: Prisma.$DesignVersionPayload<ExtArgs>
|
|
1006
1006
|
reviewer: Prisma.$UserPayload<ExtArgs> | null
|
|
1007
1007
|
comments: Prisma.$ReviewCommentPayload<ExtArgs>[]
|
|
1008
1008
|
}
|
|
1009
1009
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1010
1010
|
id: string
|
|
1011
|
-
|
|
1011
|
+
designId: string
|
|
1012
1012
|
versionId: string
|
|
1013
1013
|
status: $Enums.ReviewStatus
|
|
1014
1014
|
reviewerId: string | null
|
|
@@ -1409,8 +1409,8 @@ readonly fields: ReviewFieldRefs;
|
|
|
1409
1409
|
*/
|
|
1410
1410
|
export interface Prisma__ReviewClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1411
1411
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1412
|
-
|
|
1413
|
-
version<T extends Prisma.
|
|
1412
|
+
design<T extends Prisma.DesignDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DesignDefaultArgs<ExtArgs>>): Prisma.Prisma__DesignClient<runtime.Types.Result.GetResult<Prisma.$DesignPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1413
|
+
version<T extends Prisma.DesignVersionDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DesignVersionDefaultArgs<ExtArgs>>): Prisma.Prisma__DesignVersionClient<runtime.Types.Result.GetResult<Prisma.$DesignVersionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1414
1414
|
reviewer<T extends Prisma.Review$reviewerArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Review$reviewerArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1415
1415
|
comments<T extends Prisma.Review$commentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Review$commentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ReviewCommentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1416
1416
|
/**
|
|
@@ -1443,7 +1443,7 @@ export interface Prisma__ReviewClient<T, Null = never, ExtArgs extends runtime.T
|
|
|
1443
1443
|
*/
|
|
1444
1444
|
export interface ReviewFieldRefs {
|
|
1445
1445
|
readonly id: Prisma.FieldRef<"Review", 'String'>
|
|
1446
|
-
readonly
|
|
1446
|
+
readonly designId: Prisma.FieldRef<"Review", 'String'>
|
|
1447
1447
|
readonly versionId: Prisma.FieldRef<"Review", 'String'>
|
|
1448
1448
|
readonly status: Prisma.FieldRef<"Review", 'ReviewStatus'>
|
|
1449
1449
|
readonly reviewerId: Prisma.FieldRef<"Review", 'String'>
|