@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
|
@@ -493,7 +493,7 @@ export type ComponentCreateInput = {
|
|
|
493
493
|
defaultWidth?: number
|
|
494
494
|
defaultHeight?: number
|
|
495
495
|
prototypeKey?: string | null
|
|
496
|
-
config
|
|
496
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
497
497
|
defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
498
498
|
defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
499
499
|
preview?: string | null
|
|
@@ -522,7 +522,7 @@ export type ComponentUncheckedCreateInput = {
|
|
|
522
522
|
defaultWidth?: number
|
|
523
523
|
defaultHeight?: number
|
|
524
524
|
prototypeKey?: string | null
|
|
525
|
-
config
|
|
525
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
526
526
|
defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
527
527
|
defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
528
528
|
preview?: string | null
|
|
@@ -609,7 +609,7 @@ export type ComponentCreateManyInput = {
|
|
|
609
609
|
defaultWidth?: number
|
|
610
610
|
defaultHeight?: number
|
|
611
611
|
prototypeKey?: string | null
|
|
612
|
-
config
|
|
612
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
613
613
|
defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
614
614
|
defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
615
615
|
preview?: string | null
|
|
@@ -842,7 +842,7 @@ export type ComponentCreateWithoutBlockItemsInput = {
|
|
|
842
842
|
defaultWidth?: number
|
|
843
843
|
defaultHeight?: number
|
|
844
844
|
prototypeKey?: string | null
|
|
845
|
-
config
|
|
845
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
846
846
|
defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
847
847
|
defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
848
848
|
preview?: string | null
|
|
@@ -870,7 +870,7 @@ export type ComponentUncheckedCreateWithoutBlockItemsInput = {
|
|
|
870
870
|
defaultWidth?: number
|
|
871
871
|
defaultHeight?: number
|
|
872
872
|
prototypeKey?: string | null
|
|
873
|
-
config
|
|
873
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
874
874
|
defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
875
875
|
defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
876
876
|
preview?: string | null
|
|
@@ -970,7 +970,7 @@ export type ComponentCreateWithoutInstancesInput = {
|
|
|
970
970
|
defaultWidth?: number
|
|
971
971
|
defaultHeight?: number
|
|
972
972
|
prototypeKey?: string | null
|
|
973
|
-
config
|
|
973
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
974
974
|
defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
975
975
|
defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
976
976
|
preview?: string | null
|
|
@@ -998,7 +998,7 @@ export type ComponentUncheckedCreateWithoutInstancesInput = {
|
|
|
998
998
|
defaultWidth?: number
|
|
999
999
|
defaultHeight?: number
|
|
1000
1000
|
prototypeKey?: string | null
|
|
1001
|
-
config
|
|
1001
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
1002
1002
|
defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1003
1003
|
defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1004
1004
|
preview?: string | null
|
|
@@ -1098,7 +1098,7 @@ export type ComponentCreateWithoutComponentTagsInput = {
|
|
|
1098
1098
|
defaultWidth?: number
|
|
1099
1099
|
defaultHeight?: number
|
|
1100
1100
|
prototypeKey?: string | null
|
|
1101
|
-
config
|
|
1101
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
1102
1102
|
defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1103
1103
|
defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1104
1104
|
preview?: string | null
|
|
@@ -1126,7 +1126,7 @@ export type ComponentUncheckedCreateWithoutComponentTagsInput = {
|
|
|
1126
1126
|
defaultWidth?: number
|
|
1127
1127
|
defaultHeight?: number
|
|
1128
1128
|
prototypeKey?: string | null
|
|
1129
|
-
config
|
|
1129
|
+
config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
1130
1130
|
defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1131
1131
|
defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1132
1132
|
preview?: string | null
|
|
@@ -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
|