@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
|
@@ -358,7 +358,6 @@ export type ComponentWhereInput = {
|
|
|
358
358
|
tags?: Prisma.StringNullableListFilter<"Component">
|
|
359
359
|
blockItems?: Prisma.BlockComponentListRelationFilter
|
|
360
360
|
instances?: Prisma.ComponentInstanceListRelationFilter
|
|
361
|
-
componentTags?: Prisma.ComponentTagListRelationFilter
|
|
362
361
|
}
|
|
363
362
|
|
|
364
363
|
export type ComponentOrderByWithRelationInput = {
|
|
@@ -387,7 +386,6 @@ export type ComponentOrderByWithRelationInput = {
|
|
|
387
386
|
tags?: Prisma.SortOrder
|
|
388
387
|
blockItems?: Prisma.BlockComponentOrderByRelationAggregateInput
|
|
389
388
|
instances?: Prisma.ComponentInstanceOrderByRelationAggregateInput
|
|
390
|
-
componentTags?: Prisma.ComponentTagOrderByRelationAggregateInput
|
|
391
389
|
}
|
|
392
390
|
|
|
393
391
|
export type ComponentWhereUniqueInput = Prisma.AtLeast<{
|
|
@@ -419,7 +417,6 @@ export type ComponentWhereUniqueInput = Prisma.AtLeast<{
|
|
|
419
417
|
tags?: Prisma.StringNullableListFilter<"Component">
|
|
420
418
|
blockItems?: Prisma.BlockComponentListRelationFilter
|
|
421
419
|
instances?: Prisma.ComponentInstanceListRelationFilter
|
|
422
|
-
componentTags?: Prisma.ComponentTagListRelationFilter
|
|
423
420
|
}, "id">
|
|
424
421
|
|
|
425
422
|
export type ComponentOrderByWithAggregationInput = {
|
|
@@ -493,7 +490,7 @@ export type ComponentCreateInput = {
|
|
|
493
490
|
defaultWidth?: number
|
|
494
491
|
defaultHeight?: number
|
|
495
492
|
prototypeKey?: string | null
|
|
496
|
-
config
|
|
493
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
497
494
|
defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
498
495
|
defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
499
496
|
preview?: string | null
|
|
@@ -508,7 +505,6 @@ export type ComponentCreateInput = {
|
|
|
508
505
|
tags?: Prisma.ComponentCreatetagsInput | string[]
|
|
509
506
|
blockItems?: Prisma.BlockComponentCreateNestedManyWithoutComponentInput
|
|
510
507
|
instances?: Prisma.ComponentInstanceCreateNestedManyWithoutComponentInput
|
|
511
|
-
componentTags?: Prisma.ComponentTagCreateNestedManyWithoutComponentInput
|
|
512
508
|
}
|
|
513
509
|
|
|
514
510
|
export type ComponentUncheckedCreateInput = {
|
|
@@ -522,7 +518,7 @@ export type ComponentUncheckedCreateInput = {
|
|
|
522
518
|
defaultWidth?: number
|
|
523
519
|
defaultHeight?: number
|
|
524
520
|
prototypeKey?: string | null
|
|
525
|
-
config
|
|
521
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
526
522
|
defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
527
523
|
defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
528
524
|
preview?: string | null
|
|
@@ -537,7 +533,6 @@ export type ComponentUncheckedCreateInput = {
|
|
|
537
533
|
tags?: Prisma.ComponentCreatetagsInput | string[]
|
|
538
534
|
blockItems?: Prisma.BlockComponentUncheckedCreateNestedManyWithoutComponentInput
|
|
539
535
|
instances?: Prisma.ComponentInstanceUncheckedCreateNestedManyWithoutComponentInput
|
|
540
|
-
componentTags?: Prisma.ComponentTagUncheckedCreateNestedManyWithoutComponentInput
|
|
541
536
|
}
|
|
542
537
|
|
|
543
538
|
export type ComponentUpdateInput = {
|
|
@@ -566,7 +561,6 @@ export type ComponentUpdateInput = {
|
|
|
566
561
|
tags?: Prisma.ComponentUpdatetagsInput | string[]
|
|
567
562
|
blockItems?: Prisma.BlockComponentUpdateManyWithoutComponentNestedInput
|
|
568
563
|
instances?: Prisma.ComponentInstanceUpdateManyWithoutComponentNestedInput
|
|
569
|
-
componentTags?: Prisma.ComponentTagUpdateManyWithoutComponentNestedInput
|
|
570
564
|
}
|
|
571
565
|
|
|
572
566
|
export type ComponentUncheckedUpdateInput = {
|
|
@@ -595,7 +589,6 @@ export type ComponentUncheckedUpdateInput = {
|
|
|
595
589
|
tags?: Prisma.ComponentUpdatetagsInput | string[]
|
|
596
590
|
blockItems?: Prisma.BlockComponentUncheckedUpdateManyWithoutComponentNestedInput
|
|
597
591
|
instances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutComponentNestedInput
|
|
598
|
-
componentTags?: Prisma.ComponentTagUncheckedUpdateManyWithoutComponentNestedInput
|
|
599
592
|
}
|
|
600
593
|
|
|
601
594
|
export type ComponentCreateManyInput = {
|
|
@@ -609,7 +602,7 @@ export type ComponentCreateManyInput = {
|
|
|
609
602
|
defaultWidth?: number
|
|
610
603
|
defaultHeight?: number
|
|
611
604
|
prototypeKey?: string | null
|
|
612
|
-
config
|
|
605
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
613
606
|
defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
614
607
|
defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
615
608
|
preview?: string | null
|
|
@@ -817,20 +810,6 @@ export type ComponentUpdateOneWithoutInstancesNestedInput = {
|
|
|
817
810
|
update?: Prisma.XOR<Prisma.XOR<Prisma.ComponentUpdateToOneWithWhereWithoutInstancesInput, Prisma.ComponentUpdateWithoutInstancesInput>, Prisma.ComponentUncheckedUpdateWithoutInstancesInput>
|
|
818
811
|
}
|
|
819
812
|
|
|
820
|
-
export type ComponentCreateNestedOneWithoutComponentTagsInput = {
|
|
821
|
-
create?: Prisma.XOR<Prisma.ComponentCreateWithoutComponentTagsInput, Prisma.ComponentUncheckedCreateWithoutComponentTagsInput>
|
|
822
|
-
connectOrCreate?: Prisma.ComponentCreateOrConnectWithoutComponentTagsInput
|
|
823
|
-
connect?: Prisma.ComponentWhereUniqueInput
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
export type ComponentUpdateOneRequiredWithoutComponentTagsNestedInput = {
|
|
827
|
-
create?: Prisma.XOR<Prisma.ComponentCreateWithoutComponentTagsInput, Prisma.ComponentUncheckedCreateWithoutComponentTagsInput>
|
|
828
|
-
connectOrCreate?: Prisma.ComponentCreateOrConnectWithoutComponentTagsInput
|
|
829
|
-
upsert?: Prisma.ComponentUpsertWithoutComponentTagsInput
|
|
830
|
-
connect?: Prisma.ComponentWhereUniqueInput
|
|
831
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.ComponentUpdateToOneWithWhereWithoutComponentTagsInput, Prisma.ComponentUpdateWithoutComponentTagsInput>, Prisma.ComponentUncheckedUpdateWithoutComponentTagsInput>
|
|
832
|
-
}
|
|
833
|
-
|
|
834
813
|
export type ComponentCreateWithoutBlockItemsInput = {
|
|
835
814
|
id?: string
|
|
836
815
|
name: string
|
|
@@ -842,7 +821,7 @@ export type ComponentCreateWithoutBlockItemsInput = {
|
|
|
842
821
|
defaultWidth?: number
|
|
843
822
|
defaultHeight?: number
|
|
844
823
|
prototypeKey?: string | null
|
|
845
|
-
config
|
|
824
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
846
825
|
defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
847
826
|
defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
848
827
|
preview?: string | null
|
|
@@ -856,7 +835,6 @@ export type ComponentCreateWithoutBlockItemsInput = {
|
|
|
856
835
|
updatedAt?: Date | string
|
|
857
836
|
tags?: Prisma.ComponentCreatetagsInput | string[]
|
|
858
837
|
instances?: Prisma.ComponentInstanceCreateNestedManyWithoutComponentInput
|
|
859
|
-
componentTags?: Prisma.ComponentTagCreateNestedManyWithoutComponentInput
|
|
860
838
|
}
|
|
861
839
|
|
|
862
840
|
export type ComponentUncheckedCreateWithoutBlockItemsInput = {
|
|
@@ -870,7 +848,7 @@ export type ComponentUncheckedCreateWithoutBlockItemsInput = {
|
|
|
870
848
|
defaultWidth?: number
|
|
871
849
|
defaultHeight?: number
|
|
872
850
|
prototypeKey?: string | null
|
|
873
|
-
config
|
|
851
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
874
852
|
defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
875
853
|
defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
876
854
|
preview?: string | null
|
|
@@ -884,7 +862,6 @@ export type ComponentUncheckedCreateWithoutBlockItemsInput = {
|
|
|
884
862
|
updatedAt?: Date | string
|
|
885
863
|
tags?: Prisma.ComponentCreatetagsInput | string[]
|
|
886
864
|
instances?: Prisma.ComponentInstanceUncheckedCreateNestedManyWithoutComponentInput
|
|
887
|
-
componentTags?: Prisma.ComponentTagUncheckedCreateNestedManyWithoutComponentInput
|
|
888
865
|
}
|
|
889
866
|
|
|
890
867
|
export type ComponentCreateOrConnectWithoutBlockItemsInput = {
|
|
@@ -928,7 +905,6 @@ export type ComponentUpdateWithoutBlockItemsInput = {
|
|
|
928
905
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
929
906
|
tags?: Prisma.ComponentUpdatetagsInput | string[]
|
|
930
907
|
instances?: Prisma.ComponentInstanceUpdateManyWithoutComponentNestedInput
|
|
931
|
-
componentTags?: Prisma.ComponentTagUpdateManyWithoutComponentNestedInput
|
|
932
908
|
}
|
|
933
909
|
|
|
934
910
|
export type ComponentUncheckedUpdateWithoutBlockItemsInput = {
|
|
@@ -956,7 +932,6 @@ export type ComponentUncheckedUpdateWithoutBlockItemsInput = {
|
|
|
956
932
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
957
933
|
tags?: Prisma.ComponentUpdatetagsInput | string[]
|
|
958
934
|
instances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutComponentNestedInput
|
|
959
|
-
componentTags?: Prisma.ComponentTagUncheckedUpdateManyWithoutComponentNestedInput
|
|
960
935
|
}
|
|
961
936
|
|
|
962
937
|
export type ComponentCreateWithoutInstancesInput = {
|
|
@@ -970,7 +945,7 @@ export type ComponentCreateWithoutInstancesInput = {
|
|
|
970
945
|
defaultWidth?: number
|
|
971
946
|
defaultHeight?: number
|
|
972
947
|
prototypeKey?: string | null
|
|
973
|
-
config
|
|
948
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
974
949
|
defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
975
950
|
defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
976
951
|
preview?: string | null
|
|
@@ -984,7 +959,6 @@ export type ComponentCreateWithoutInstancesInput = {
|
|
|
984
959
|
updatedAt?: Date | string
|
|
985
960
|
tags?: Prisma.ComponentCreatetagsInput | string[]
|
|
986
961
|
blockItems?: Prisma.BlockComponentCreateNestedManyWithoutComponentInput
|
|
987
|
-
componentTags?: Prisma.ComponentTagCreateNestedManyWithoutComponentInput
|
|
988
962
|
}
|
|
989
963
|
|
|
990
964
|
export type ComponentUncheckedCreateWithoutInstancesInput = {
|
|
@@ -998,7 +972,7 @@ export type ComponentUncheckedCreateWithoutInstancesInput = {
|
|
|
998
972
|
defaultWidth?: number
|
|
999
973
|
defaultHeight?: number
|
|
1000
974
|
prototypeKey?: string | null
|
|
1001
|
-
config
|
|
975
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
1002
976
|
defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1003
977
|
defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1004
978
|
preview?: string | null
|
|
@@ -1012,7 +986,6 @@ export type ComponentUncheckedCreateWithoutInstancesInput = {
|
|
|
1012
986
|
updatedAt?: Date | string
|
|
1013
987
|
tags?: Prisma.ComponentCreatetagsInput | string[]
|
|
1014
988
|
blockItems?: Prisma.BlockComponentUncheckedCreateNestedManyWithoutComponentInput
|
|
1015
|
-
componentTags?: Prisma.ComponentTagUncheckedCreateNestedManyWithoutComponentInput
|
|
1016
989
|
}
|
|
1017
990
|
|
|
1018
991
|
export type ComponentCreateOrConnectWithoutInstancesInput = {
|
|
@@ -1056,7 +1029,6 @@ export type ComponentUpdateWithoutInstancesInput = {
|
|
|
1056
1029
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1057
1030
|
tags?: Prisma.ComponentUpdatetagsInput | string[]
|
|
1058
1031
|
blockItems?: Prisma.BlockComponentUpdateManyWithoutComponentNestedInput
|
|
1059
|
-
componentTags?: Prisma.ComponentTagUpdateManyWithoutComponentNestedInput
|
|
1060
1032
|
}
|
|
1061
1033
|
|
|
1062
1034
|
export type ComponentUncheckedUpdateWithoutInstancesInput = {
|
|
@@ -1084,135 +1056,6 @@ export type ComponentUncheckedUpdateWithoutInstancesInput = {
|
|
|
1084
1056
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1085
1057
|
tags?: Prisma.ComponentUpdatetagsInput | string[]
|
|
1086
1058
|
blockItems?: Prisma.BlockComponentUncheckedUpdateManyWithoutComponentNestedInput
|
|
1087
|
-
componentTags?: Prisma.ComponentTagUncheckedUpdateManyWithoutComponentNestedInput
|
|
1088
|
-
}
|
|
1089
|
-
|
|
1090
|
-
export type ComponentCreateWithoutComponentTagsInput = {
|
|
1091
|
-
id?: string
|
|
1092
|
-
name: string
|
|
1093
|
-
description?: string | null
|
|
1094
|
-
type: string
|
|
1095
|
-
category?: string | null
|
|
1096
|
-
subCategory?: string | null
|
|
1097
|
-
path?: string | null
|
|
1098
|
-
defaultWidth?: number
|
|
1099
|
-
defaultHeight?: number
|
|
1100
|
-
prototypeKey?: string | null
|
|
1101
|
-
config: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
1102
|
-
defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1103
|
-
defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1104
|
-
preview?: string | null
|
|
1105
|
-
version?: number
|
|
1106
|
-
sortOrder?: number
|
|
1107
|
-
source?: string
|
|
1108
|
-
sourceId?: string | null
|
|
1109
|
-
isHidden?: boolean
|
|
1110
|
-
isDeleted?: boolean
|
|
1111
|
-
createdAt?: Date | string
|
|
1112
|
-
updatedAt?: Date | string
|
|
1113
|
-
tags?: Prisma.ComponentCreatetagsInput | string[]
|
|
1114
|
-
blockItems?: Prisma.BlockComponentCreateNestedManyWithoutComponentInput
|
|
1115
|
-
instances?: Prisma.ComponentInstanceCreateNestedManyWithoutComponentInput
|
|
1116
|
-
}
|
|
1117
|
-
|
|
1118
|
-
export type ComponentUncheckedCreateWithoutComponentTagsInput = {
|
|
1119
|
-
id?: string
|
|
1120
|
-
name: string
|
|
1121
|
-
description?: string | null
|
|
1122
|
-
type: string
|
|
1123
|
-
category?: string | null
|
|
1124
|
-
subCategory?: string | null
|
|
1125
|
-
path?: string | null
|
|
1126
|
-
defaultWidth?: number
|
|
1127
|
-
defaultHeight?: number
|
|
1128
|
-
prototypeKey?: string | null
|
|
1129
|
-
config: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
1130
|
-
defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1131
|
-
defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1132
|
-
preview?: string | null
|
|
1133
|
-
version?: number
|
|
1134
|
-
sortOrder?: number
|
|
1135
|
-
source?: string
|
|
1136
|
-
sourceId?: string | null
|
|
1137
|
-
isHidden?: boolean
|
|
1138
|
-
isDeleted?: boolean
|
|
1139
|
-
createdAt?: Date | string
|
|
1140
|
-
updatedAt?: Date | string
|
|
1141
|
-
tags?: Prisma.ComponentCreatetagsInput | string[]
|
|
1142
|
-
blockItems?: Prisma.BlockComponentUncheckedCreateNestedManyWithoutComponentInput
|
|
1143
|
-
instances?: Prisma.ComponentInstanceUncheckedCreateNestedManyWithoutComponentInput
|
|
1144
|
-
}
|
|
1145
|
-
|
|
1146
|
-
export type ComponentCreateOrConnectWithoutComponentTagsInput = {
|
|
1147
|
-
where: Prisma.ComponentWhereUniqueInput
|
|
1148
|
-
create: Prisma.XOR<Prisma.ComponentCreateWithoutComponentTagsInput, Prisma.ComponentUncheckedCreateWithoutComponentTagsInput>
|
|
1149
|
-
}
|
|
1150
|
-
|
|
1151
|
-
export type ComponentUpsertWithoutComponentTagsInput = {
|
|
1152
|
-
update: Prisma.XOR<Prisma.ComponentUpdateWithoutComponentTagsInput, Prisma.ComponentUncheckedUpdateWithoutComponentTagsInput>
|
|
1153
|
-
create: Prisma.XOR<Prisma.ComponentCreateWithoutComponentTagsInput, Prisma.ComponentUncheckedCreateWithoutComponentTagsInput>
|
|
1154
|
-
where?: Prisma.ComponentWhereInput
|
|
1155
|
-
}
|
|
1156
|
-
|
|
1157
|
-
export type ComponentUpdateToOneWithWhereWithoutComponentTagsInput = {
|
|
1158
|
-
where?: Prisma.ComponentWhereInput
|
|
1159
|
-
data: Prisma.XOR<Prisma.ComponentUpdateWithoutComponentTagsInput, Prisma.ComponentUncheckedUpdateWithoutComponentTagsInput>
|
|
1160
|
-
}
|
|
1161
|
-
|
|
1162
|
-
export type ComponentUpdateWithoutComponentTagsInput = {
|
|
1163
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1164
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1165
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1166
|
-
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1167
|
-
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1168
|
-
subCategory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1169
|
-
path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1170
|
-
defaultWidth?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1171
|
-
defaultHeight?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1172
|
-
prototypeKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1173
|
-
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
1174
|
-
defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1175
|
-
defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1176
|
-
preview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1177
|
-
version?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1178
|
-
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1179
|
-
source?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1180
|
-
sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1181
|
-
isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1182
|
-
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1183
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1184
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1185
|
-
tags?: Prisma.ComponentUpdatetagsInput | string[]
|
|
1186
|
-
blockItems?: Prisma.BlockComponentUpdateManyWithoutComponentNestedInput
|
|
1187
|
-
instances?: Prisma.ComponentInstanceUpdateManyWithoutComponentNestedInput
|
|
1188
|
-
}
|
|
1189
|
-
|
|
1190
|
-
export type ComponentUncheckedUpdateWithoutComponentTagsInput = {
|
|
1191
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1192
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1193
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1194
|
-
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1195
|
-
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1196
|
-
subCategory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1197
|
-
path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1198
|
-
defaultWidth?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1199
|
-
defaultHeight?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1200
|
-
prototypeKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1201
|
-
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
1202
|
-
defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1203
|
-
defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1204
|
-
preview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1205
|
-
version?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1206
|
-
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1207
|
-
source?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1208
|
-
sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1209
|
-
isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1210
|
-
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1211
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1212
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1213
|
-
tags?: Prisma.ComponentUpdatetagsInput | string[]
|
|
1214
|
-
blockItems?: Prisma.BlockComponentUncheckedUpdateManyWithoutComponentNestedInput
|
|
1215
|
-
instances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutComponentNestedInput
|
|
1216
1059
|
}
|
|
1217
1060
|
|
|
1218
1061
|
|
|
@@ -1223,13 +1066,11 @@ export type ComponentUncheckedUpdateWithoutComponentTagsInput = {
|
|
|
1223
1066
|
export type ComponentCountOutputType = {
|
|
1224
1067
|
blockItems: number
|
|
1225
1068
|
instances: number
|
|
1226
|
-
componentTags: number
|
|
1227
1069
|
}
|
|
1228
1070
|
|
|
1229
1071
|
export type ComponentCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1230
1072
|
blockItems?: boolean | ComponentCountOutputTypeCountBlockItemsArgs
|
|
1231
1073
|
instances?: boolean | ComponentCountOutputTypeCountInstancesArgs
|
|
1232
|
-
componentTags?: boolean | ComponentCountOutputTypeCountComponentTagsArgs
|
|
1233
1074
|
}
|
|
1234
1075
|
|
|
1235
1076
|
/**
|
|
@@ -1256,13 +1097,6 @@ export type ComponentCountOutputTypeCountInstancesArgs<ExtArgs extends runtime.T
|
|
|
1256
1097
|
where?: Prisma.ComponentInstanceWhereInput
|
|
1257
1098
|
}
|
|
1258
1099
|
|
|
1259
|
-
/**
|
|
1260
|
-
* ComponentCountOutputType without action
|
|
1261
|
-
*/
|
|
1262
|
-
export type ComponentCountOutputTypeCountComponentTagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1263
|
-
where?: Prisma.ComponentTagWhereInput
|
|
1264
|
-
}
|
|
1265
|
-
|
|
1266
1100
|
|
|
1267
1101
|
export type ComponentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1268
1102
|
id?: boolean
|
|
@@ -1290,7 +1124,6 @@ export type ComponentSelect<ExtArgs extends runtime.Types.Extensions.InternalArg
|
|
|
1290
1124
|
tags?: boolean
|
|
1291
1125
|
blockItems?: boolean | Prisma.Component$blockItemsArgs<ExtArgs>
|
|
1292
1126
|
instances?: boolean | Prisma.Component$instancesArgs<ExtArgs>
|
|
1293
|
-
componentTags?: boolean | Prisma.Component$componentTagsArgs<ExtArgs>
|
|
1294
1127
|
_count?: boolean | Prisma.ComponentCountOutputTypeDefaultArgs<ExtArgs>
|
|
1295
1128
|
}, ExtArgs["result"]["component"]>
|
|
1296
1129
|
|
|
@@ -1376,7 +1209,6 @@ export type ComponentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
1376
1209
|
export type ComponentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1377
1210
|
blockItems?: boolean | Prisma.Component$blockItemsArgs<ExtArgs>
|
|
1378
1211
|
instances?: boolean | Prisma.Component$instancesArgs<ExtArgs>
|
|
1379
|
-
componentTags?: boolean | Prisma.Component$componentTagsArgs<ExtArgs>
|
|
1380
1212
|
_count?: boolean | Prisma.ComponentCountOutputTypeDefaultArgs<ExtArgs>
|
|
1381
1213
|
}
|
|
1382
1214
|
export type ComponentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
@@ -1387,7 +1219,6 @@ export type $ComponentPayload<ExtArgs extends runtime.Types.Extensions.InternalA
|
|
|
1387
1219
|
objects: {
|
|
1388
1220
|
blockItems: Prisma.$BlockComponentPayload<ExtArgs>[]
|
|
1389
1221
|
instances: Prisma.$ComponentInstancePayload<ExtArgs>[]
|
|
1390
|
-
componentTags: Prisma.$ComponentTagPayload<ExtArgs>[]
|
|
1391
1222
|
}
|
|
1392
1223
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1393
1224
|
id: string
|
|
@@ -1809,7 +1640,6 @@ export interface Prisma__ComponentClient<T, Null = never, ExtArgs extends runtim
|
|
|
1809
1640
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1810
1641
|
blockItems<T extends Prisma.Component$blockItemsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Component$blockItemsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BlockComponentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1811
1642
|
instances<T extends Prisma.Component$instancesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Component$instancesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ComponentInstancePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1812
|
-
componentTags<T extends Prisma.Component$componentTagsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Component$componentTagsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ComponentTagPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1813
1643
|
/**
|
|
1814
1644
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1815
1645
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -2302,30 +2132,6 @@ export type Component$instancesArgs<ExtArgs extends runtime.Types.Extensions.Int
|
|
|
2302
2132
|
distinct?: Prisma.ComponentInstanceScalarFieldEnum | Prisma.ComponentInstanceScalarFieldEnum[]
|
|
2303
2133
|
}
|
|
2304
2134
|
|
|
2305
|
-
/**
|
|
2306
|
-
* Component.componentTags
|
|
2307
|
-
*/
|
|
2308
|
-
export type Component$componentTagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2309
|
-
/**
|
|
2310
|
-
* Select specific fields to fetch from the ComponentTag
|
|
2311
|
-
*/
|
|
2312
|
-
select?: Prisma.ComponentTagSelect<ExtArgs> | null
|
|
2313
|
-
/**
|
|
2314
|
-
* Omit specific fields from the ComponentTag
|
|
2315
|
-
*/
|
|
2316
|
-
omit?: Prisma.ComponentTagOmit<ExtArgs> | null
|
|
2317
|
-
/**
|
|
2318
|
-
* Choose, which related nodes to fetch as well
|
|
2319
|
-
*/
|
|
2320
|
-
include?: Prisma.ComponentTagInclude<ExtArgs> | null
|
|
2321
|
-
where?: Prisma.ComponentTagWhereInput
|
|
2322
|
-
orderBy?: Prisma.ComponentTagOrderByWithRelationInput | Prisma.ComponentTagOrderByWithRelationInput[]
|
|
2323
|
-
cursor?: Prisma.ComponentTagWhereUniqueInput
|
|
2324
|
-
take?: number
|
|
2325
|
-
skip?: number
|
|
2326
|
-
distinct?: Prisma.ComponentTagScalarFieldEnum | Prisma.ComponentTagScalarFieldEnum[]
|
|
2327
|
-
}
|
|
2328
|
-
|
|
2329
2135
|
/**
|
|
2330
2136
|
* Component without action
|
|
2331
2137
|
*/
|
|
@@ -296,7 +296,7 @@ export type ComponentInstanceWhereInput = {
|
|
|
296
296
|
style?: Prisma.JsonNullableFilter<"ComponentInstance">
|
|
297
297
|
createdAt?: Prisma.DateTimeFilter<"ComponentInstance"> | Date | string
|
|
298
298
|
updatedAt?: Prisma.DateTimeFilter<"ComponentInstance"> | Date | string
|
|
299
|
-
page?: Prisma.XOR<Prisma.
|
|
299
|
+
page?: Prisma.XOR<Prisma.DesignPageScalarRelationFilter, Prisma.DesignPageWhereInput>
|
|
300
300
|
component?: Prisma.XOR<Prisma.ComponentNullableScalarRelationFilter, Prisma.ComponentWhereInput> | null
|
|
301
301
|
blockInstance?: Prisma.XOR<Prisma.BlockInstanceNullableScalarRelationFilter, Prisma.BlockInstanceWhereInput> | null
|
|
302
302
|
}
|
|
@@ -316,7 +316,7 @@ export type ComponentInstanceOrderByWithRelationInput = {
|
|
|
316
316
|
style?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
317
317
|
createdAt?: Prisma.SortOrder
|
|
318
318
|
updatedAt?: Prisma.SortOrder
|
|
319
|
-
page?: Prisma.
|
|
319
|
+
page?: Prisma.DesignPageOrderByWithRelationInput
|
|
320
320
|
component?: Prisma.ComponentOrderByWithRelationInput
|
|
321
321
|
blockInstance?: Prisma.BlockInstanceOrderByWithRelationInput
|
|
322
322
|
}
|
|
@@ -339,7 +339,7 @@ export type ComponentInstanceWhereUniqueInput = Prisma.AtLeast<{
|
|
|
339
339
|
style?: Prisma.JsonNullableFilter<"ComponentInstance">
|
|
340
340
|
createdAt?: Prisma.DateTimeFilter<"ComponentInstance"> | Date | string
|
|
341
341
|
updatedAt?: Prisma.DateTimeFilter<"ComponentInstance"> | Date | string
|
|
342
|
-
page?: Prisma.XOR<Prisma.
|
|
342
|
+
page?: Prisma.XOR<Prisma.DesignPageScalarRelationFilter, Prisma.DesignPageWhereInput>
|
|
343
343
|
component?: Prisma.XOR<Prisma.ComponentNullableScalarRelationFilter, Prisma.ComponentWhereInput> | null
|
|
344
344
|
blockInstance?: Prisma.XOR<Prisma.BlockInstanceNullableScalarRelationFilter, Prisma.BlockInstanceWhereInput> | null
|
|
345
345
|
}, "id">
|
|
@@ -398,7 +398,7 @@ export type ComponentInstanceCreateInput = {
|
|
|
398
398
|
style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
399
399
|
createdAt?: Date | string
|
|
400
400
|
updatedAt?: Date | string
|
|
401
|
-
page: Prisma.
|
|
401
|
+
page: Prisma.DesignPageCreateNestedOneWithoutComponentInstancesInput
|
|
402
402
|
component?: Prisma.ComponentCreateNestedOneWithoutInstancesInput
|
|
403
403
|
blockInstance?: Prisma.BlockInstanceCreateNestedOneWithoutInstancesInput
|
|
404
404
|
}
|
|
@@ -432,7 +432,7 @@ export type ComponentInstanceUpdateInput = {
|
|
|
432
432
|
style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
433
433
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
434
434
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
435
|
-
page?: Prisma.
|
|
435
|
+
page?: Prisma.DesignPageUpdateOneRequiredWithoutComponentInstancesNestedInput
|
|
436
436
|
component?: Prisma.ComponentUpdateOneWithoutInstancesNestedInput
|
|
437
437
|
blockInstance?: Prisma.BlockInstanceUpdateOneWithoutInstancesNestedInput
|
|
438
438
|
}
|
|
@@ -713,7 +713,7 @@ export type ComponentInstanceCreateWithoutComponentInput = {
|
|
|
713
713
|
style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
714
714
|
createdAt?: Date | string
|
|
715
715
|
updatedAt?: Date | string
|
|
716
|
-
page: Prisma.
|
|
716
|
+
page: Prisma.DesignPageCreateNestedOneWithoutComponentInstancesInput
|
|
717
717
|
blockInstance?: Prisma.BlockInstanceCreateNestedOneWithoutInstancesInput
|
|
718
718
|
}
|
|
719
719
|
|
|
@@ -849,7 +849,7 @@ export type ComponentInstanceCreateWithoutBlockInstanceInput = {
|
|
|
849
849
|
style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
850
850
|
createdAt?: Date | string
|
|
851
851
|
updatedAt?: Date | string
|
|
852
|
-
page: Prisma.
|
|
852
|
+
page: Prisma.DesignPageCreateNestedOneWithoutComponentInstancesInput
|
|
853
853
|
component?: Prisma.ComponentCreateNestedOneWithoutInstancesInput
|
|
854
854
|
}
|
|
855
855
|
|
|
@@ -923,7 +923,7 @@ export type ComponentInstanceUpdateWithoutComponentInput = {
|
|
|
923
923
|
style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
924
924
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
925
925
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
926
|
-
page?: Prisma.
|
|
926
|
+
page?: Prisma.DesignPageUpdateOneRequiredWithoutComponentInstancesNestedInput
|
|
927
927
|
blockInstance?: Prisma.BlockInstanceUpdateOneWithoutInstancesNestedInput
|
|
928
928
|
}
|
|
929
929
|
|
|
@@ -1051,7 +1051,7 @@ export type ComponentInstanceUpdateWithoutBlockInstanceInput = {
|
|
|
1051
1051
|
style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1052
1052
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1053
1053
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1054
|
-
page?: Prisma.
|
|
1054
|
+
page?: Prisma.DesignPageUpdateOneRequiredWithoutComponentInstancesNestedInput
|
|
1055
1055
|
component?: Prisma.ComponentUpdateOneWithoutInstancesNestedInput
|
|
1056
1056
|
}
|
|
1057
1057
|
|
|
@@ -1104,7 +1104,7 @@ export type ComponentInstanceSelect<ExtArgs extends runtime.Types.Extensions.Int
|
|
|
1104
1104
|
style?: boolean
|
|
1105
1105
|
createdAt?: boolean
|
|
1106
1106
|
updatedAt?: boolean
|
|
1107
|
-
page?: boolean | Prisma.
|
|
1107
|
+
page?: boolean | Prisma.DesignPageDefaultArgs<ExtArgs>
|
|
1108
1108
|
component?: boolean | Prisma.ComponentInstance$componentArgs<ExtArgs>
|
|
1109
1109
|
blockInstance?: boolean | Prisma.ComponentInstance$blockInstanceArgs<ExtArgs>
|
|
1110
1110
|
}, ExtArgs["result"]["componentInstance"]>
|
|
@@ -1124,7 +1124,7 @@ export type ComponentInstanceSelectCreateManyAndReturn<ExtArgs extends runtime.T
|
|
|
1124
1124
|
style?: boolean
|
|
1125
1125
|
createdAt?: boolean
|
|
1126
1126
|
updatedAt?: boolean
|
|
1127
|
-
page?: boolean | Prisma.
|
|
1127
|
+
page?: boolean | Prisma.DesignPageDefaultArgs<ExtArgs>
|
|
1128
1128
|
component?: boolean | Prisma.ComponentInstance$componentArgs<ExtArgs>
|
|
1129
1129
|
blockInstance?: boolean | Prisma.ComponentInstance$blockInstanceArgs<ExtArgs>
|
|
1130
1130
|
}, ExtArgs["result"]["componentInstance"]>
|
|
@@ -1144,7 +1144,7 @@ export type ComponentInstanceSelectUpdateManyAndReturn<ExtArgs extends runtime.T
|
|
|
1144
1144
|
style?: boolean
|
|
1145
1145
|
createdAt?: boolean
|
|
1146
1146
|
updatedAt?: boolean
|
|
1147
|
-
page?: boolean | Prisma.
|
|
1147
|
+
page?: boolean | Prisma.DesignPageDefaultArgs<ExtArgs>
|
|
1148
1148
|
component?: boolean | Prisma.ComponentInstance$componentArgs<ExtArgs>
|
|
1149
1149
|
blockInstance?: boolean | Prisma.ComponentInstance$blockInstanceArgs<ExtArgs>
|
|
1150
1150
|
}, ExtArgs["result"]["componentInstance"]>
|
|
@@ -1168,17 +1168,17 @@ export type ComponentInstanceSelectScalar = {
|
|
|
1168
1168
|
|
|
1169
1169
|
export type ComponentInstanceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "pageId" | "componentId" | "blockInstanceId" | "name" | "x" | "y" | "width" | "height" | "zIndex" | "props" | "style" | "createdAt" | "updatedAt", ExtArgs["result"]["componentInstance"]>
|
|
1170
1170
|
export type ComponentInstanceInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1171
|
-
page?: boolean | Prisma.
|
|
1171
|
+
page?: boolean | Prisma.DesignPageDefaultArgs<ExtArgs>
|
|
1172
1172
|
component?: boolean | Prisma.ComponentInstance$componentArgs<ExtArgs>
|
|
1173
1173
|
blockInstance?: boolean | Prisma.ComponentInstance$blockInstanceArgs<ExtArgs>
|
|
1174
1174
|
}
|
|
1175
1175
|
export type ComponentInstanceIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1176
|
-
page?: boolean | Prisma.
|
|
1176
|
+
page?: boolean | Prisma.DesignPageDefaultArgs<ExtArgs>
|
|
1177
1177
|
component?: boolean | Prisma.ComponentInstance$componentArgs<ExtArgs>
|
|
1178
1178
|
blockInstance?: boolean | Prisma.ComponentInstance$blockInstanceArgs<ExtArgs>
|
|
1179
1179
|
}
|
|
1180
1180
|
export type ComponentInstanceIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1181
|
-
page?: boolean | Prisma.
|
|
1181
|
+
page?: boolean | Prisma.DesignPageDefaultArgs<ExtArgs>
|
|
1182
1182
|
component?: boolean | Prisma.ComponentInstance$componentArgs<ExtArgs>
|
|
1183
1183
|
blockInstance?: boolean | Prisma.ComponentInstance$blockInstanceArgs<ExtArgs>
|
|
1184
1184
|
}
|
|
@@ -1186,7 +1186,7 @@ export type ComponentInstanceIncludeUpdateManyAndReturn<ExtArgs extends runtime.
|
|
|
1186
1186
|
export type $ComponentInstancePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1187
1187
|
name: "ComponentInstance"
|
|
1188
1188
|
objects: {
|
|
1189
|
-
page: Prisma.$
|
|
1189
|
+
page: Prisma.$DesignPagePayload<ExtArgs>
|
|
1190
1190
|
component: Prisma.$ComponentPayload<ExtArgs> | null
|
|
1191
1191
|
blockInstance: Prisma.$BlockInstancePayload<ExtArgs> | null
|
|
1192
1192
|
}
|
|
@@ -1599,7 +1599,7 @@ readonly fields: ComponentInstanceFieldRefs;
|
|
|
1599
1599
|
*/
|
|
1600
1600
|
export interface Prisma__ComponentInstanceClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1601
1601
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1602
|
-
page<T extends Prisma.
|
|
1602
|
+
page<T extends Prisma.DesignPageDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DesignPageDefaultArgs<ExtArgs>>): Prisma.Prisma__DesignPageClient<runtime.Types.Result.GetResult<Prisma.$DesignPagePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1603
1603
|
component<T extends Prisma.ComponentInstance$componentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ComponentInstance$componentArgs<ExtArgs>>): Prisma.Prisma__ComponentClient<runtime.Types.Result.GetResult<Prisma.$ComponentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1604
1604
|
blockInstance<T extends Prisma.ComponentInstance$blockInstanceArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ComponentInstance$blockInstanceArgs<ExtArgs>>): Prisma.Prisma__BlockInstanceClient<runtime.Types.Result.GetResult<Prisma.$BlockInstancePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1605
1605
|
/**
|
|
@@ -255,7 +255,7 @@ export type CustomRoleScalarWhereWithAggregatesInput = {
|
|
|
255
255
|
export type CustomRoleCreateInput = {
|
|
256
256
|
id?: string
|
|
257
257
|
name: string
|
|
258
|
-
permissions
|
|
258
|
+
permissions?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
259
259
|
isSystem?: boolean
|
|
260
260
|
createdAt?: Date | string
|
|
261
261
|
updatedAt?: Date | string
|
|
@@ -267,7 +267,7 @@ export type CustomRoleUncheckedCreateInput = {
|
|
|
267
267
|
id?: string
|
|
268
268
|
workspaceId: string
|
|
269
269
|
name: string
|
|
270
|
-
permissions
|
|
270
|
+
permissions?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
271
271
|
isSystem?: boolean
|
|
272
272
|
createdAt?: Date | string
|
|
273
273
|
updatedAt?: Date | string
|
|
@@ -300,7 +300,7 @@ export type CustomRoleCreateManyInput = {
|
|
|
300
300
|
id?: string
|
|
301
301
|
workspaceId: string
|
|
302
302
|
name: string
|
|
303
|
-
permissions
|
|
303
|
+
permissions?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
304
304
|
isSystem?: boolean
|
|
305
305
|
createdAt?: Date | string
|
|
306
306
|
updatedAt?: Date | string
|
|
@@ -432,7 +432,7 @@ export type CustomRoleUpdateOneRequiredWithoutAssignmentsNestedInput = {
|
|
|
432
432
|
export type CustomRoleCreateWithoutWorkspaceInput = {
|
|
433
433
|
id?: string
|
|
434
434
|
name: string
|
|
435
|
-
permissions
|
|
435
|
+
permissions?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
436
436
|
isSystem?: boolean
|
|
437
437
|
createdAt?: Date | string
|
|
438
438
|
updatedAt?: Date | string
|
|
@@ -442,7 +442,7 @@ export type CustomRoleCreateWithoutWorkspaceInput = {
|
|
|
442
442
|
export type CustomRoleUncheckedCreateWithoutWorkspaceInput = {
|
|
443
443
|
id?: string
|
|
444
444
|
name: string
|
|
445
|
-
permissions
|
|
445
|
+
permissions?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
446
446
|
isSystem?: boolean
|
|
447
447
|
createdAt?: Date | string
|
|
448
448
|
updatedAt?: Date | string
|
|
@@ -491,7 +491,7 @@ export type CustomRoleScalarWhereInput = {
|
|
|
491
491
|
export type CustomRoleCreateWithoutAssignmentsInput = {
|
|
492
492
|
id?: string
|
|
493
493
|
name: string
|
|
494
|
-
permissions
|
|
494
|
+
permissions?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
495
495
|
isSystem?: boolean
|
|
496
496
|
createdAt?: Date | string
|
|
497
497
|
updatedAt?: Date | string
|
|
@@ -502,7 +502,7 @@ export type CustomRoleUncheckedCreateWithoutAssignmentsInput = {
|
|
|
502
502
|
id?: string
|
|
503
503
|
workspaceId: string
|
|
504
504
|
name: string
|
|
505
|
-
permissions
|
|
505
|
+
permissions?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
506
506
|
isSystem?: boolean
|
|
507
507
|
createdAt?: Date | string
|
|
508
508
|
updatedAt?: Date | string
|
|
@@ -547,7 +547,7 @@ export type CustomRoleUncheckedUpdateWithoutAssignmentsInput = {
|
|
|
547
547
|
export type CustomRoleCreateManyWorkspaceInput = {
|
|
548
548
|
id?: string
|
|
549
549
|
name: string
|
|
550
|
-
permissions
|
|
550
|
+
permissions?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
551
551
|
isSystem?: boolean
|
|
552
552
|
createdAt?: Date | string
|
|
553
553
|
updatedAt?: Date | string
|