@allbluecn/database 0.9.1 → 0.9.2
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/desktop-init.ts +2 -2
- package/dist/lib/share-utils.js +3 -3
- package/generated/browser.ts +115 -25
- package/generated/client.ts +115 -25
- package/generated/commonInputTypes.ts +34 -0
- package/generated/enums.ts +14 -0
- package/generated/internal/class.ts +234 -54
- package/generated/internal/prismaNamespace.ts +2190 -511
- package/generated/internal/prismaNamespaceBrowser.ts +391 -76
- package/generated/models/AgentConversation.ts +89 -89
- package/generated/models/AiProvider.ts +3 -3
- package/generated/models/AiStreamChunk.ts +3 -3
- 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 +5023 -0
- package/generated/models/BugActivity.ts +1765 -0
- package/generated/models/BugComment.ts +1853 -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/Comment.ts +99 -99
- package/generated/models/Component.ts +9 -9
- package/generated/models/ComponentInstance.ts +17 -17
- package/generated/models/CustomRole.ts +8 -8
- package/generated/models/Design.ts +2872 -0
- package/generated/models/DesignPage.ts +2402 -0
- package/generated/models/DesignTag.ts +1430 -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 +1970 -58
- 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/Tag.ts +49 -49
- package/generated/models/TestAutomationArtifact.ts +1790 -0
- package/generated/models/TestCase.ts +3568 -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 +12141 -2721
- package/generated/models.ts +26 -8
- package/generated-sqlite/browser.ts +8 -23
- package/generated-sqlite/client.ts +8 -23
- package/generated-sqlite/internal/class.ts +20 -50
- package/generated-sqlite/internal/prismaNamespace.ts +166 -437
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +25 -71
- 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 +9 -9
- package/generated-sqlite/models/ComponentInstance.ts +17 -17
- package/generated-sqlite/models/Design.ts +2679 -0
- package/generated-sqlite/models/DesignPage.ts +2398 -0
- package/generated-sqlite/models/DesignTag.ts +1426 -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/Tag.ts +49 -49
- package/generated-sqlite/models/User.ts +1201 -1321
- package/generated-sqlite/models/Workspace.ts +164 -0
- package/generated-sqlite/models.ts +4 -7
- package/index.ts +17 -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/package.json +2 -2
- package/schema.prisma +687 -177
- package/schema.sqlite.prisma +149 -151
- 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/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-sqlite/models/Artboard.ts +0 -1808
- package/generated-sqlite/models/ArtboardExport.ts +0 -1545
- 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
|
@@ -334,8 +334,8 @@ export type StoryFilterViewCreateInput = {
|
|
|
334
334
|
description?: string | null
|
|
335
335
|
icon?: string
|
|
336
336
|
projectId?: string | null
|
|
337
|
-
filters
|
|
338
|
-
displayOptions
|
|
337
|
+
filters?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
338
|
+
displayOptions?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
339
339
|
sortOrder?: number
|
|
340
340
|
createdAt?: Date | string
|
|
341
341
|
updatedAt?: Date | string
|
|
@@ -349,8 +349,8 @@ export type StoryFilterViewUncheckedCreateInput = {
|
|
|
349
349
|
description?: string | null
|
|
350
350
|
icon?: string
|
|
351
351
|
projectId?: string | null
|
|
352
|
-
filters
|
|
353
|
-
displayOptions
|
|
352
|
+
filters?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
353
|
+
displayOptions?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
354
354
|
sortOrder?: number
|
|
355
355
|
createdAt?: Date | string
|
|
356
356
|
updatedAt?: Date | string
|
|
@@ -391,8 +391,8 @@ export type StoryFilterViewCreateManyInput = {
|
|
|
391
391
|
description?: string | null
|
|
392
392
|
icon?: string
|
|
393
393
|
projectId?: string | null
|
|
394
|
-
filters
|
|
395
|
-
displayOptions
|
|
394
|
+
filters?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
395
|
+
displayOptions?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
396
396
|
sortOrder?: number
|
|
397
397
|
createdAt?: Date | string
|
|
398
398
|
updatedAt?: Date | string
|
|
@@ -529,8 +529,8 @@ export type StoryFilterViewCreateWithoutUserInput = {
|
|
|
529
529
|
description?: string | null
|
|
530
530
|
icon?: string
|
|
531
531
|
projectId?: string | null
|
|
532
|
-
filters
|
|
533
|
-
displayOptions
|
|
532
|
+
filters?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
533
|
+
displayOptions?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
534
534
|
sortOrder?: number
|
|
535
535
|
createdAt?: Date | string
|
|
536
536
|
updatedAt?: Date | string
|
|
@@ -542,8 +542,8 @@ export type StoryFilterViewUncheckedCreateWithoutUserInput = {
|
|
|
542
542
|
description?: string | null
|
|
543
543
|
icon?: string
|
|
544
544
|
projectId?: string | null
|
|
545
|
-
filters
|
|
546
|
-
displayOptions
|
|
545
|
+
filters?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
546
|
+
displayOptions?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
547
547
|
sortOrder?: number
|
|
548
548
|
createdAt?: Date | string
|
|
549
549
|
updatedAt?: Date | string
|
|
@@ -598,8 +598,8 @@ export type StoryFilterViewCreateManyUserInput = {
|
|
|
598
598
|
description?: string | null
|
|
599
599
|
icon?: string
|
|
600
600
|
projectId?: string | null
|
|
601
|
-
filters
|
|
602
|
-
displayOptions
|
|
601
|
+
filters?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
602
|
+
displayOptions?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
603
603
|
sortOrder?: number
|
|
604
604
|
createdAt?: Date | string
|
|
605
605
|
updatedAt?: Date | string
|
|
@@ -288,7 +288,7 @@ export type SystemPromptVersionScalarWhereWithAggregatesInput = {
|
|
|
288
288
|
export type SystemPromptVersionCreateInput = {
|
|
289
289
|
id?: string
|
|
290
290
|
version: number
|
|
291
|
-
sections
|
|
291
|
+
sections?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
292
292
|
note?: string | null
|
|
293
293
|
createdBy?: string | null
|
|
294
294
|
createdAt?: Date | string
|
|
@@ -299,7 +299,7 @@ export type SystemPromptVersionUncheckedCreateInput = {
|
|
|
299
299
|
id?: string
|
|
300
300
|
templateId: string
|
|
301
301
|
version: number
|
|
302
|
-
sections
|
|
302
|
+
sections?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
303
303
|
note?: string | null
|
|
304
304
|
createdBy?: string | null
|
|
305
305
|
createdAt?: Date | string
|
|
@@ -329,7 +329,7 @@ export type SystemPromptVersionCreateManyInput = {
|
|
|
329
329
|
id?: string
|
|
330
330
|
templateId: string
|
|
331
331
|
version: number
|
|
332
|
-
sections
|
|
332
|
+
sections?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
333
333
|
note?: string | null
|
|
334
334
|
createdBy?: string | null
|
|
335
335
|
createdAt?: Date | string
|
|
@@ -450,7 +450,7 @@ export type SystemPromptVersionUncheckedUpdateManyWithoutTemplateNestedInput = {
|
|
|
450
450
|
export type SystemPromptVersionCreateWithoutTemplateInput = {
|
|
451
451
|
id?: string
|
|
452
452
|
version: number
|
|
453
|
-
sections
|
|
453
|
+
sections?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
454
454
|
note?: string | null
|
|
455
455
|
createdBy?: string | null
|
|
456
456
|
createdAt?: Date | string
|
|
@@ -459,7 +459,7 @@ export type SystemPromptVersionCreateWithoutTemplateInput = {
|
|
|
459
459
|
export type SystemPromptVersionUncheckedCreateWithoutTemplateInput = {
|
|
460
460
|
id?: string
|
|
461
461
|
version: number
|
|
462
|
-
sections
|
|
462
|
+
sections?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
463
463
|
note?: string | null
|
|
464
464
|
createdBy?: string | null
|
|
465
465
|
createdAt?: Date | string
|
|
@@ -507,7 +507,7 @@ export type SystemPromptVersionScalarWhereInput = {
|
|
|
507
507
|
export type SystemPromptVersionCreateManyTemplateInput = {
|
|
508
508
|
id?: string
|
|
509
509
|
version: number
|
|
510
|
-
sections
|
|
510
|
+
sections?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
511
511
|
note?: string | null
|
|
512
512
|
createdBy?: string | null
|
|
513
513
|
createdAt?: Date | string
|
package/generated/models/Tag.ts
CHANGED
|
@@ -245,7 +245,7 @@ export type TagWhereInput = {
|
|
|
245
245
|
createdAt?: Prisma.DateTimeFilter<"Tag"> | Date | string
|
|
246
246
|
updatedAt?: Prisma.DateTimeFilter<"Tag"> | Date | string
|
|
247
247
|
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
248
|
-
|
|
248
|
+
designTags?: Prisma.DesignTagListRelationFilter
|
|
249
249
|
}
|
|
250
250
|
|
|
251
251
|
export type TagOrderByWithRelationInput = {
|
|
@@ -258,7 +258,7 @@ export type TagOrderByWithRelationInput = {
|
|
|
258
258
|
createdAt?: Prisma.SortOrder
|
|
259
259
|
updatedAt?: Prisma.SortOrder
|
|
260
260
|
user?: Prisma.UserOrderByWithRelationInput
|
|
261
|
-
|
|
261
|
+
designTags?: Prisma.DesignTagOrderByRelationAggregateInput
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
export type TagWhereUniqueInput = Prisma.AtLeast<{
|
|
@@ -275,7 +275,7 @@ export type TagWhereUniqueInput = Prisma.AtLeast<{
|
|
|
275
275
|
createdAt?: Prisma.DateTimeFilter<"Tag"> | Date | string
|
|
276
276
|
updatedAt?: Prisma.DateTimeFilter<"Tag"> | Date | string
|
|
277
277
|
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
278
|
-
|
|
278
|
+
designTags?: Prisma.DesignTagListRelationFilter
|
|
279
279
|
}, "id" | "name_userId">
|
|
280
280
|
|
|
281
281
|
export type TagOrderByWithAggregationInput = {
|
|
@@ -317,7 +317,7 @@ export type TagCreateInput = {
|
|
|
317
317
|
createdAt?: Date | string
|
|
318
318
|
updatedAt?: Date | string
|
|
319
319
|
user: Prisma.UserCreateNestedOneWithoutTagsInput
|
|
320
|
-
|
|
320
|
+
designTags?: Prisma.DesignTagCreateNestedManyWithoutTagInput
|
|
321
321
|
}
|
|
322
322
|
|
|
323
323
|
export type TagUncheckedCreateInput = {
|
|
@@ -329,7 +329,7 @@ export type TagUncheckedCreateInput = {
|
|
|
329
329
|
userId: string
|
|
330
330
|
createdAt?: Date | string
|
|
331
331
|
updatedAt?: Date | string
|
|
332
|
-
|
|
332
|
+
designTags?: Prisma.DesignTagUncheckedCreateNestedManyWithoutTagInput
|
|
333
333
|
}
|
|
334
334
|
|
|
335
335
|
export type TagUpdateInput = {
|
|
@@ -341,7 +341,7 @@ export type TagUpdateInput = {
|
|
|
341
341
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
342
342
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
343
343
|
user?: Prisma.UserUpdateOneRequiredWithoutTagsNestedInput
|
|
344
|
-
|
|
344
|
+
designTags?: Prisma.DesignTagUpdateManyWithoutTagNestedInput
|
|
345
345
|
}
|
|
346
346
|
|
|
347
347
|
export type TagUncheckedUpdateInput = {
|
|
@@ -353,7 +353,7 @@ export type TagUncheckedUpdateInput = {
|
|
|
353
353
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
354
354
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
355
355
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
356
|
-
|
|
356
|
+
designTags?: Prisma.DesignTagUncheckedUpdateManyWithoutTagNestedInput
|
|
357
357
|
}
|
|
358
358
|
|
|
359
359
|
export type TagCreateManyInput = {
|
|
@@ -493,18 +493,18 @@ export type TagUncheckedUpdateManyWithoutUserNestedInput = {
|
|
|
493
493
|
deleteMany?: Prisma.TagScalarWhereInput | Prisma.TagScalarWhereInput[]
|
|
494
494
|
}
|
|
495
495
|
|
|
496
|
-
export type
|
|
497
|
-
create?: Prisma.XOR<Prisma.
|
|
498
|
-
connectOrCreate?: Prisma.
|
|
496
|
+
export type TagCreateNestedOneWithoutDesignTagsInput = {
|
|
497
|
+
create?: Prisma.XOR<Prisma.TagCreateWithoutDesignTagsInput, Prisma.TagUncheckedCreateWithoutDesignTagsInput>
|
|
498
|
+
connectOrCreate?: Prisma.TagCreateOrConnectWithoutDesignTagsInput
|
|
499
499
|
connect?: Prisma.TagWhereUniqueInput
|
|
500
500
|
}
|
|
501
501
|
|
|
502
|
-
export type
|
|
503
|
-
create?: Prisma.XOR<Prisma.
|
|
504
|
-
connectOrCreate?: Prisma.
|
|
505
|
-
upsert?: Prisma.
|
|
502
|
+
export type TagUpdateOneRequiredWithoutDesignTagsNestedInput = {
|
|
503
|
+
create?: Prisma.XOR<Prisma.TagCreateWithoutDesignTagsInput, Prisma.TagUncheckedCreateWithoutDesignTagsInput>
|
|
504
|
+
connectOrCreate?: Prisma.TagCreateOrConnectWithoutDesignTagsInput
|
|
505
|
+
upsert?: Prisma.TagUpsertWithoutDesignTagsInput
|
|
506
506
|
connect?: Prisma.TagWhereUniqueInput
|
|
507
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.
|
|
507
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.TagUpdateToOneWithWhereWithoutDesignTagsInput, Prisma.TagUpdateWithoutDesignTagsInput>, Prisma.TagUncheckedUpdateWithoutDesignTagsInput>
|
|
508
508
|
}
|
|
509
509
|
|
|
510
510
|
export type TagCreateWithoutUserInput = {
|
|
@@ -515,7 +515,7 @@ export type TagCreateWithoutUserInput = {
|
|
|
515
515
|
isHidden?: boolean
|
|
516
516
|
createdAt?: Date | string
|
|
517
517
|
updatedAt?: Date | string
|
|
518
|
-
|
|
518
|
+
designTags?: Prisma.DesignTagCreateNestedManyWithoutTagInput
|
|
519
519
|
}
|
|
520
520
|
|
|
521
521
|
export type TagUncheckedCreateWithoutUserInput = {
|
|
@@ -526,7 +526,7 @@ export type TagUncheckedCreateWithoutUserInput = {
|
|
|
526
526
|
isHidden?: boolean
|
|
527
527
|
createdAt?: Date | string
|
|
528
528
|
updatedAt?: Date | string
|
|
529
|
-
|
|
529
|
+
designTags?: Prisma.DesignTagUncheckedCreateNestedManyWithoutTagInput
|
|
530
530
|
}
|
|
531
531
|
|
|
532
532
|
export type TagCreateOrConnectWithoutUserInput = {
|
|
@@ -569,7 +569,7 @@ export type TagScalarWhereInput = {
|
|
|
569
569
|
updatedAt?: Prisma.DateTimeFilter<"Tag"> | Date | string
|
|
570
570
|
}
|
|
571
571
|
|
|
572
|
-
export type
|
|
572
|
+
export type TagCreateWithoutDesignTagsInput = {
|
|
573
573
|
id?: string
|
|
574
574
|
name: string
|
|
575
575
|
color?: number
|
|
@@ -580,7 +580,7 @@ export type TagCreateWithoutPrdTagsInput = {
|
|
|
580
580
|
user: Prisma.UserCreateNestedOneWithoutTagsInput
|
|
581
581
|
}
|
|
582
582
|
|
|
583
|
-
export type
|
|
583
|
+
export type TagUncheckedCreateWithoutDesignTagsInput = {
|
|
584
584
|
id?: string
|
|
585
585
|
name: string
|
|
586
586
|
color?: number
|
|
@@ -591,23 +591,23 @@ export type TagUncheckedCreateWithoutPrdTagsInput = {
|
|
|
591
591
|
updatedAt?: Date | string
|
|
592
592
|
}
|
|
593
593
|
|
|
594
|
-
export type
|
|
594
|
+
export type TagCreateOrConnectWithoutDesignTagsInput = {
|
|
595
595
|
where: Prisma.TagWhereUniqueInput
|
|
596
|
-
create: Prisma.XOR<Prisma.
|
|
596
|
+
create: Prisma.XOR<Prisma.TagCreateWithoutDesignTagsInput, Prisma.TagUncheckedCreateWithoutDesignTagsInput>
|
|
597
597
|
}
|
|
598
598
|
|
|
599
|
-
export type
|
|
600
|
-
update: Prisma.XOR<Prisma.
|
|
601
|
-
create: Prisma.XOR<Prisma.
|
|
599
|
+
export type TagUpsertWithoutDesignTagsInput = {
|
|
600
|
+
update: Prisma.XOR<Prisma.TagUpdateWithoutDesignTagsInput, Prisma.TagUncheckedUpdateWithoutDesignTagsInput>
|
|
601
|
+
create: Prisma.XOR<Prisma.TagCreateWithoutDesignTagsInput, Prisma.TagUncheckedCreateWithoutDesignTagsInput>
|
|
602
602
|
where?: Prisma.TagWhereInput
|
|
603
603
|
}
|
|
604
604
|
|
|
605
|
-
export type
|
|
605
|
+
export type TagUpdateToOneWithWhereWithoutDesignTagsInput = {
|
|
606
606
|
where?: Prisma.TagWhereInput
|
|
607
|
-
data: Prisma.XOR<Prisma.
|
|
607
|
+
data: Prisma.XOR<Prisma.TagUpdateWithoutDesignTagsInput, Prisma.TagUncheckedUpdateWithoutDesignTagsInput>
|
|
608
608
|
}
|
|
609
609
|
|
|
610
|
-
export type
|
|
610
|
+
export type TagUpdateWithoutDesignTagsInput = {
|
|
611
611
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
612
612
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
613
613
|
color?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -618,7 +618,7 @@ export type TagUpdateWithoutPrdTagsInput = {
|
|
|
618
618
|
user?: Prisma.UserUpdateOneRequiredWithoutTagsNestedInput
|
|
619
619
|
}
|
|
620
620
|
|
|
621
|
-
export type
|
|
621
|
+
export type TagUncheckedUpdateWithoutDesignTagsInput = {
|
|
622
622
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
623
623
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
624
624
|
color?: Prisma.IntFieldUpdateOperationsInput | number
|
|
@@ -647,7 +647,7 @@ export type TagUpdateWithoutUserInput = {
|
|
|
647
647
|
isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
648
648
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
649
649
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
650
|
-
|
|
650
|
+
designTags?: Prisma.DesignTagUpdateManyWithoutTagNestedInput
|
|
651
651
|
}
|
|
652
652
|
|
|
653
653
|
export type TagUncheckedUpdateWithoutUserInput = {
|
|
@@ -658,7 +658,7 @@ export type TagUncheckedUpdateWithoutUserInput = {
|
|
|
658
658
|
isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
659
659
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
660
660
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
661
|
-
|
|
661
|
+
designTags?: Prisma.DesignTagUncheckedUpdateManyWithoutTagNestedInput
|
|
662
662
|
}
|
|
663
663
|
|
|
664
664
|
export type TagUncheckedUpdateManyWithoutUserInput = {
|
|
@@ -677,11 +677,11 @@ export type TagUncheckedUpdateManyWithoutUserInput = {
|
|
|
677
677
|
*/
|
|
678
678
|
|
|
679
679
|
export type TagCountOutputType = {
|
|
680
|
-
|
|
680
|
+
designTags: number
|
|
681
681
|
}
|
|
682
682
|
|
|
683
683
|
export type TagCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
684
|
-
|
|
684
|
+
designTags?: boolean | TagCountOutputTypeCountDesignTagsArgs
|
|
685
685
|
}
|
|
686
686
|
|
|
687
687
|
/**
|
|
@@ -697,8 +697,8 @@ export type TagCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensio
|
|
|
697
697
|
/**
|
|
698
698
|
* TagCountOutputType without action
|
|
699
699
|
*/
|
|
700
|
-
export type
|
|
701
|
-
where?: Prisma.
|
|
700
|
+
export type TagCountOutputTypeCountDesignTagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
701
|
+
where?: Prisma.DesignTagWhereInput
|
|
702
702
|
}
|
|
703
703
|
|
|
704
704
|
|
|
@@ -712,7 +712,7 @@ export type TagSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = ru
|
|
|
712
712
|
createdAt?: boolean
|
|
713
713
|
updatedAt?: boolean
|
|
714
714
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
715
|
-
|
|
715
|
+
designTags?: boolean | Prisma.Tag$designTagsArgs<ExtArgs>
|
|
716
716
|
_count?: boolean | Prisma.TagCountOutputTypeDefaultArgs<ExtArgs>
|
|
717
717
|
}, ExtArgs["result"]["tag"]>
|
|
718
718
|
|
|
@@ -754,7 +754,7 @@ export type TagSelectScalar = {
|
|
|
754
754
|
export type TagOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "color" | "sortOrder" | "isHidden" | "userId" | "createdAt" | "updatedAt", ExtArgs["result"]["tag"]>
|
|
755
755
|
export type TagInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
756
756
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
757
|
-
|
|
757
|
+
designTags?: boolean | Prisma.Tag$designTagsArgs<ExtArgs>
|
|
758
758
|
_count?: boolean | Prisma.TagCountOutputTypeDefaultArgs<ExtArgs>
|
|
759
759
|
}
|
|
760
760
|
export type TagIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
@@ -768,7 +768,7 @@ export type $TagPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
|
|
768
768
|
name: "Tag"
|
|
769
769
|
objects: {
|
|
770
770
|
user: Prisma.$UserPayload<ExtArgs>
|
|
771
|
-
|
|
771
|
+
designTags: Prisma.$DesignTagPayload<ExtArgs>[]
|
|
772
772
|
}
|
|
773
773
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
774
774
|
id: string
|
|
@@ -1174,7 +1174,7 @@ readonly fields: TagFieldRefs;
|
|
|
1174
1174
|
export interface Prisma__TagClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1175
1175
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1176
1176
|
user<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>
|
|
1177
|
-
|
|
1177
|
+
designTags<T extends Prisma.Tag$designTagsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tag$designTagsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DesignTagPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1178
1178
|
/**
|
|
1179
1179
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1180
1180
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -1613,27 +1613,27 @@ export type TagDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalA
|
|
|
1613
1613
|
}
|
|
1614
1614
|
|
|
1615
1615
|
/**
|
|
1616
|
-
* Tag.
|
|
1616
|
+
* Tag.designTags
|
|
1617
1617
|
*/
|
|
1618
|
-
export type Tag$
|
|
1618
|
+
export type Tag$designTagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1619
1619
|
/**
|
|
1620
|
-
* Select specific fields to fetch from the
|
|
1620
|
+
* Select specific fields to fetch from the DesignTag
|
|
1621
1621
|
*/
|
|
1622
|
-
select?: Prisma.
|
|
1622
|
+
select?: Prisma.DesignTagSelect<ExtArgs> | null
|
|
1623
1623
|
/**
|
|
1624
|
-
* Omit specific fields from the
|
|
1624
|
+
* Omit specific fields from the DesignTag
|
|
1625
1625
|
*/
|
|
1626
|
-
omit?: Prisma.
|
|
1626
|
+
omit?: Prisma.DesignTagOmit<ExtArgs> | null
|
|
1627
1627
|
/**
|
|
1628
1628
|
* Choose, which related nodes to fetch as well
|
|
1629
1629
|
*/
|
|
1630
|
-
include?: Prisma.
|
|
1631
|
-
where?: Prisma.
|
|
1632
|
-
orderBy?: Prisma.
|
|
1633
|
-
cursor?: Prisma.
|
|
1630
|
+
include?: Prisma.DesignTagInclude<ExtArgs> | null
|
|
1631
|
+
where?: Prisma.DesignTagWhereInput
|
|
1632
|
+
orderBy?: Prisma.DesignTagOrderByWithRelationInput | Prisma.DesignTagOrderByWithRelationInput[]
|
|
1633
|
+
cursor?: Prisma.DesignTagWhereUniqueInput
|
|
1634
1634
|
take?: number
|
|
1635
1635
|
skip?: number
|
|
1636
|
-
distinct?: Prisma.
|
|
1636
|
+
distinct?: Prisma.DesignTagScalarFieldEnum | Prisma.DesignTagScalarFieldEnum[]
|
|
1637
1637
|
}
|
|
1638
1638
|
|
|
1639
1639
|
/**
|