feat(0.2.1): Sequential ID Mapping —— 外键 uuid 镜像列+触发器, 同步流改 uuid 主键 (离线行回填后本地 id 稳定), 客户端零改动
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
# Sync Streams (edition 3): 任务模块 6 表 + User (展示用)
|
||||
# 引号保留 PG PascalCase 标识; 主键要求: 同步表必须输出 text 型 id 列 => CAST("id" AS TEXT)
|
||||
# 可见性: 用户能看到自己参与的项目 (ProjectMember), 及其下全部任务域数据
|
||||
# 见 docs/V0.2/离线编辑模块/0.2.1实施方案.md
|
||||
# Sequential ID Mapping (见 docs/V0.2/离线编辑模块/0.2.1实施方案.md §3):
|
||||
# - 客户端主键 = uuid 列 (离线新建行同步回填后 id 稳定); int 自增 id 不下发
|
||||
# - 外键输出 uuid 镜像列, 别名回 projectId/columnId/parentId/taskId (客户端字段名不变)
|
||||
# - 引号保留 PG PascalCase 标识; 可见性按 ProjectMember 过滤
|
||||
|
||||
config:
|
||||
edition: 3
|
||||
@@ -16,9 +17,9 @@ streams:
|
||||
with:
|
||||
my_projects: SELECT "projectId" FROM "ProjectMember" WHERE CAST("userId" AS TEXT) = auth.user_id()
|
||||
queries:
|
||||
- SELECT CAST("id" AS TEXT) AS "id", "uuid", "code", "name", "ownerId", "isPersonal", "archived", "notes", "taskKinds", "icon", "createdAt", "updatedAt" FROM "Project" WHERE "id" IN my_projects
|
||||
- SELECT CAST("id" AS TEXT) AS "id", "uuid", "projectId", "userId", "permission", "createdAt" FROM "ProjectMember" WHERE "projectId" IN my_projects
|
||||
- SELECT CAST("id" AS TEXT) AS "id", "uuid", "projectId", "name", "sortOrder", "boundStatus", "retention", "createdAt", "updatedAt" FROM "BoardColumn" WHERE "projectId" IN my_projects
|
||||
- SELECT CAST("id" AS TEXT) AS "id", "uuid", "projectId", "columnId", "parentId", "title", "description", "kind", "markDate", "status", "doneAt", "assigneeId", "creatorId", "extras", "sortOrder", "number", "createdAt", "updatedAt" FROM "Task" WHERE "projectId" IN my_projects
|
||||
- SELECT CAST("id" AS TEXT) AS "id", "uuid", "taskId", "userId" FROM "TaskMember" WHERE "taskId" IN (SELECT "id" FROM "Task" WHERE "projectId" IN my_projects)
|
||||
- SELECT CAST("id" AS TEXT) AS "id", "uuid", "taskId", "name" FROM "TaskTag" WHERE "taskId" IN (SELECT "id" FROM "Task" WHERE "projectId" IN my_projects)
|
||||
- SELECT "uuid" AS "id", "uuid", "code", "name", CAST("ownerId" AS TEXT) AS "ownerId", "isPersonal", "archived", "notes", "taskKinds", "icon", "createdAt", "updatedAt" FROM "Project" WHERE "id" IN my_projects
|
||||
- SELECT "uuid" AS "id", "uuid", "projectUuid" AS "projectId", CAST("userId" AS TEXT) AS "userId", "permission", "createdAt" FROM "ProjectMember" WHERE "projectId" IN my_projects
|
||||
- SELECT "uuid" AS "id", "uuid", "projectUuid" AS "projectId", "name", "sortOrder", "boundStatus", "retention", "createdAt", "updatedAt" FROM "BoardColumn" WHERE "projectId" IN my_projects
|
||||
- SELECT "uuid" AS "id", "uuid", "projectUuid" AS "projectId", "columnUuid" AS "columnId", "parentUuid" AS "parentId", "title", "description", "kind", "markDate", "status", "doneAt", CAST("assigneeId" AS TEXT) AS "assigneeId", CAST("creatorId" AS TEXT) AS "creatorId", "extras", "sortOrder", "number", "createdAt", "updatedAt" FROM "Task" WHERE "projectId" IN my_projects
|
||||
- SELECT "uuid" AS "id", "uuid", "taskUuid" AS "taskId", CAST("userId" AS TEXT) AS "userId" FROM "TaskMember" WHERE "taskId" IN (SELECT "id" FROM "Task" WHERE "projectId" IN my_projects)
|
||||
- SELECT "uuid" AS "id", "uuid", "taskUuid" AS "taskId", "name" FROM "TaskTag" WHERE "taskId" IN (SELECT "id" FROM "Task" WHERE "projectId" IN my_projects)
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -2989,6 +2989,7 @@ export type ProjectScalarFieldEnum = (typeof ProjectScalarFieldEnum)[keyof typeo
|
||||
export const ProjectMemberScalarFieldEnum = {
|
||||
id: 'id',
|
||||
uuid: 'uuid',
|
||||
projectUuid: 'projectUuid',
|
||||
projectId: 'projectId',
|
||||
userId: 'userId',
|
||||
permission: 'permission',
|
||||
@@ -3001,6 +3002,7 @@ export type ProjectMemberScalarFieldEnum = (typeof ProjectMemberScalarFieldEnum)
|
||||
export const BoardColumnScalarFieldEnum = {
|
||||
id: 'id',
|
||||
uuid: 'uuid',
|
||||
projectUuid: 'projectUuid',
|
||||
projectId: 'projectId',
|
||||
name: 'name',
|
||||
sortOrder: 'sortOrder',
|
||||
@@ -3016,6 +3018,9 @@ export type BoardColumnScalarFieldEnum = (typeof BoardColumnScalarFieldEnum)[key
|
||||
export const TaskScalarFieldEnum = {
|
||||
id: 'id',
|
||||
uuid: 'uuid',
|
||||
projectUuid: 'projectUuid',
|
||||
columnUuid: 'columnUuid',
|
||||
parentUuid: 'parentUuid',
|
||||
projectId: 'projectId',
|
||||
columnId: 'columnId',
|
||||
parentId: 'parentId',
|
||||
@@ -3040,6 +3045,7 @@ export type TaskScalarFieldEnum = (typeof TaskScalarFieldEnum)[keyof typeof Task
|
||||
export const TaskMemberScalarFieldEnum = {
|
||||
id: 'id',
|
||||
uuid: 'uuid',
|
||||
taskUuid: 'taskUuid',
|
||||
taskId: 'taskId',
|
||||
userId: 'userId'
|
||||
} as const
|
||||
@@ -3050,6 +3056,7 @@ export type TaskMemberScalarFieldEnum = (typeof TaskMemberScalarFieldEnum)[keyof
|
||||
export const TaskTagScalarFieldEnum = {
|
||||
id: 'id',
|
||||
uuid: 'uuid',
|
||||
taskUuid: 'taskUuid',
|
||||
taskId: 'taskId',
|
||||
name: 'name'
|
||||
} as const
|
||||
|
||||
@@ -470,6 +470,7 @@ export type ProjectScalarFieldEnum = (typeof ProjectScalarFieldEnum)[keyof typeo
|
||||
export const ProjectMemberScalarFieldEnum = {
|
||||
id: 'id',
|
||||
uuid: 'uuid',
|
||||
projectUuid: 'projectUuid',
|
||||
projectId: 'projectId',
|
||||
userId: 'userId',
|
||||
permission: 'permission',
|
||||
@@ -482,6 +483,7 @@ export type ProjectMemberScalarFieldEnum = (typeof ProjectMemberScalarFieldEnum)
|
||||
export const BoardColumnScalarFieldEnum = {
|
||||
id: 'id',
|
||||
uuid: 'uuid',
|
||||
projectUuid: 'projectUuid',
|
||||
projectId: 'projectId',
|
||||
name: 'name',
|
||||
sortOrder: 'sortOrder',
|
||||
@@ -497,6 +499,9 @@ export type BoardColumnScalarFieldEnum = (typeof BoardColumnScalarFieldEnum)[key
|
||||
export const TaskScalarFieldEnum = {
|
||||
id: 'id',
|
||||
uuid: 'uuid',
|
||||
projectUuid: 'projectUuid',
|
||||
columnUuid: 'columnUuid',
|
||||
parentUuid: 'parentUuid',
|
||||
projectId: 'projectId',
|
||||
columnId: 'columnId',
|
||||
parentId: 'parentId',
|
||||
@@ -521,6 +526,7 @@ export type TaskScalarFieldEnum = (typeof TaskScalarFieldEnum)[keyof typeof Task
|
||||
export const TaskMemberScalarFieldEnum = {
|
||||
id: 'id',
|
||||
uuid: 'uuid',
|
||||
taskUuid: 'taskUuid',
|
||||
taskId: 'taskId',
|
||||
userId: 'userId'
|
||||
} as const
|
||||
@@ -531,6 +537,7 @@ export type TaskMemberScalarFieldEnum = (typeof TaskMemberScalarFieldEnum)[keyof
|
||||
export const TaskTagScalarFieldEnum = {
|
||||
id: 'id',
|
||||
uuid: 'uuid',
|
||||
taskUuid: 'taskUuid',
|
||||
taskId: 'taskId',
|
||||
name: 'name'
|
||||
} as const
|
||||
|
||||
@@ -41,6 +41,7 @@ export type BoardColumnSumAggregateOutputType = {
|
||||
export type BoardColumnMinAggregateOutputType = {
|
||||
id: number | null
|
||||
uuid: string | null
|
||||
projectUuid: string | null
|
||||
projectId: number | null
|
||||
name: string | null
|
||||
sortOrder: number | null
|
||||
@@ -53,6 +54,7 @@ export type BoardColumnMinAggregateOutputType = {
|
||||
export type BoardColumnMaxAggregateOutputType = {
|
||||
id: number | null
|
||||
uuid: string | null
|
||||
projectUuid: string | null
|
||||
projectId: number | null
|
||||
name: string | null
|
||||
sortOrder: number | null
|
||||
@@ -65,6 +67,7 @@ export type BoardColumnMaxAggregateOutputType = {
|
||||
export type BoardColumnCountAggregateOutputType = {
|
||||
id: number
|
||||
uuid: number
|
||||
projectUuid: number
|
||||
projectId: number
|
||||
name: number
|
||||
sortOrder: number
|
||||
@@ -91,6 +94,7 @@ export type BoardColumnSumAggregateInputType = {
|
||||
export type BoardColumnMinAggregateInputType = {
|
||||
id?: true
|
||||
uuid?: true
|
||||
projectUuid?: true
|
||||
projectId?: true
|
||||
name?: true
|
||||
sortOrder?: true
|
||||
@@ -103,6 +107,7 @@ export type BoardColumnMinAggregateInputType = {
|
||||
export type BoardColumnMaxAggregateInputType = {
|
||||
id?: true
|
||||
uuid?: true
|
||||
projectUuid?: true
|
||||
projectId?: true
|
||||
name?: true
|
||||
sortOrder?: true
|
||||
@@ -115,6 +120,7 @@ export type BoardColumnMaxAggregateInputType = {
|
||||
export type BoardColumnCountAggregateInputType = {
|
||||
id?: true
|
||||
uuid?: true
|
||||
projectUuid?: true
|
||||
projectId?: true
|
||||
name?: true
|
||||
sortOrder?: true
|
||||
@@ -214,6 +220,7 @@ export type BoardColumnGroupByArgs<ExtArgs extends runtime.Types.Extensions.Inte
|
||||
export type BoardColumnGroupByOutputType = {
|
||||
id: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
projectId: number
|
||||
name: string
|
||||
sortOrder: number
|
||||
@@ -249,6 +256,7 @@ export type BoardColumnWhereInput = {
|
||||
NOT?: Prisma.BoardColumnWhereInput | Prisma.BoardColumnWhereInput[]
|
||||
id?: Prisma.IntFilter<"BoardColumn"> | number
|
||||
uuid?: Prisma.StringFilter<"BoardColumn"> | string
|
||||
projectUuid?: Prisma.StringFilter<"BoardColumn"> | string
|
||||
projectId?: Prisma.IntFilter<"BoardColumn"> | number
|
||||
name?: Prisma.StringFilter<"BoardColumn"> | string
|
||||
sortOrder?: Prisma.IntFilter<"BoardColumn"> | number
|
||||
@@ -263,6 +271,7 @@ export type BoardColumnWhereInput = {
|
||||
export type BoardColumnOrderByWithRelationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
uuid?: Prisma.SortOrder
|
||||
projectUuid?: Prisma.SortOrder
|
||||
projectId?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
sortOrder?: Prisma.SortOrder
|
||||
@@ -281,6 +290,7 @@ export type BoardColumnWhereUniqueInput = Prisma.AtLeast<{
|
||||
AND?: Prisma.BoardColumnWhereInput | Prisma.BoardColumnWhereInput[]
|
||||
OR?: Prisma.BoardColumnWhereInput[]
|
||||
NOT?: Prisma.BoardColumnWhereInput | Prisma.BoardColumnWhereInput[]
|
||||
projectUuid?: Prisma.StringFilter<"BoardColumn"> | string
|
||||
projectId?: Prisma.IntFilter<"BoardColumn"> | number
|
||||
name?: Prisma.StringFilter<"BoardColumn"> | string
|
||||
sortOrder?: Prisma.IntFilter<"BoardColumn"> | number
|
||||
@@ -295,6 +305,7 @@ export type BoardColumnWhereUniqueInput = Prisma.AtLeast<{
|
||||
export type BoardColumnOrderByWithAggregationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
uuid?: Prisma.SortOrder
|
||||
projectUuid?: Prisma.SortOrder
|
||||
projectId?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
sortOrder?: Prisma.SortOrder
|
||||
@@ -315,6 +326,7 @@ export type BoardColumnScalarWhereWithAggregatesInput = {
|
||||
NOT?: Prisma.BoardColumnScalarWhereWithAggregatesInput | Prisma.BoardColumnScalarWhereWithAggregatesInput[]
|
||||
id?: Prisma.IntWithAggregatesFilter<"BoardColumn"> | number
|
||||
uuid?: Prisma.StringWithAggregatesFilter<"BoardColumn"> | string
|
||||
projectUuid?: Prisma.StringWithAggregatesFilter<"BoardColumn"> | string
|
||||
projectId?: Prisma.IntWithAggregatesFilter<"BoardColumn"> | number
|
||||
name?: Prisma.StringWithAggregatesFilter<"BoardColumn"> | string
|
||||
sortOrder?: Prisma.IntWithAggregatesFilter<"BoardColumn"> | number
|
||||
@@ -326,6 +338,7 @@ export type BoardColumnScalarWhereWithAggregatesInput = {
|
||||
|
||||
export type BoardColumnCreateInput = {
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
name: string
|
||||
sortOrder?: number
|
||||
boundStatus?: string | null
|
||||
@@ -339,6 +352,7 @@ export type BoardColumnCreateInput = {
|
||||
export type BoardColumnUncheckedCreateInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
projectId: number
|
||||
name: string
|
||||
sortOrder?: number
|
||||
@@ -351,6 +365,7 @@ export type BoardColumnUncheckedCreateInput = {
|
||||
|
||||
export type BoardColumnUpdateInput = {
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
boundStatus?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -364,6 +379,7 @@ export type BoardColumnUpdateInput = {
|
||||
export type BoardColumnUncheckedUpdateInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
@@ -377,6 +393,7 @@ export type BoardColumnUncheckedUpdateInput = {
|
||||
export type BoardColumnCreateManyInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
projectId: number
|
||||
name: string
|
||||
sortOrder?: number
|
||||
@@ -388,6 +405,7 @@ export type BoardColumnCreateManyInput = {
|
||||
|
||||
export type BoardColumnUpdateManyMutationInput = {
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
boundStatus?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -399,6 +417,7 @@ export type BoardColumnUpdateManyMutationInput = {
|
||||
export type BoardColumnUncheckedUpdateManyInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
@@ -426,6 +445,7 @@ export type BoardColumnProjectIdNameCompoundUniqueInput = {
|
||||
export type BoardColumnCountOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
uuid?: Prisma.SortOrder
|
||||
projectUuid?: Prisma.SortOrder
|
||||
projectId?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
sortOrder?: Prisma.SortOrder
|
||||
@@ -444,6 +464,7 @@ export type BoardColumnAvgOrderByAggregateInput = {
|
||||
export type BoardColumnMaxOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
uuid?: Prisma.SortOrder
|
||||
projectUuid?: Prisma.SortOrder
|
||||
projectId?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
sortOrder?: Prisma.SortOrder
|
||||
@@ -456,6 +477,7 @@ export type BoardColumnMaxOrderByAggregateInput = {
|
||||
export type BoardColumnMinOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
uuid?: Prisma.SortOrder
|
||||
projectUuid?: Prisma.SortOrder
|
||||
projectId?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
sortOrder?: Prisma.SortOrder
|
||||
@@ -534,6 +556,7 @@ export type BoardColumnUpdateOneRequiredWithoutTasksNestedInput = {
|
||||
|
||||
export type BoardColumnCreateWithoutProjectInput = {
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
name: string
|
||||
sortOrder?: number
|
||||
boundStatus?: string | null
|
||||
@@ -546,6 +569,7 @@ export type BoardColumnCreateWithoutProjectInput = {
|
||||
export type BoardColumnUncheckedCreateWithoutProjectInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
name: string
|
||||
sortOrder?: number
|
||||
boundStatus?: string | null
|
||||
@@ -587,6 +611,7 @@ export type BoardColumnScalarWhereInput = {
|
||||
NOT?: Prisma.BoardColumnScalarWhereInput | Prisma.BoardColumnScalarWhereInput[]
|
||||
id?: Prisma.IntFilter<"BoardColumn"> | number
|
||||
uuid?: Prisma.StringFilter<"BoardColumn"> | string
|
||||
projectUuid?: Prisma.StringFilter<"BoardColumn"> | string
|
||||
projectId?: Prisma.IntFilter<"BoardColumn"> | number
|
||||
name?: Prisma.StringFilter<"BoardColumn"> | string
|
||||
sortOrder?: Prisma.IntFilter<"BoardColumn"> | number
|
||||
@@ -598,6 +623,7 @@ export type BoardColumnScalarWhereInput = {
|
||||
|
||||
export type BoardColumnCreateWithoutTasksInput = {
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
name: string
|
||||
sortOrder?: number
|
||||
boundStatus?: string | null
|
||||
@@ -610,6 +636,7 @@ export type BoardColumnCreateWithoutTasksInput = {
|
||||
export type BoardColumnUncheckedCreateWithoutTasksInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
projectId: number
|
||||
name: string
|
||||
sortOrder?: number
|
||||
@@ -637,6 +664,7 @@ export type BoardColumnUpdateToOneWithWhereWithoutTasksInput = {
|
||||
|
||||
export type BoardColumnUpdateWithoutTasksInput = {
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
boundStatus?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -649,6 +677,7 @@ export type BoardColumnUpdateWithoutTasksInput = {
|
||||
export type BoardColumnUncheckedUpdateWithoutTasksInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
@@ -661,6 +690,7 @@ export type BoardColumnUncheckedUpdateWithoutTasksInput = {
|
||||
export type BoardColumnCreateManyProjectInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
name: string
|
||||
sortOrder?: number
|
||||
boundStatus?: string | null
|
||||
@@ -671,6 +701,7 @@ export type BoardColumnCreateManyProjectInput = {
|
||||
|
||||
export type BoardColumnUpdateWithoutProjectInput = {
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
boundStatus?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -683,6 +714,7 @@ export type BoardColumnUpdateWithoutProjectInput = {
|
||||
export type BoardColumnUncheckedUpdateWithoutProjectInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
boundStatus?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -695,6 +727,7 @@ export type BoardColumnUncheckedUpdateWithoutProjectInput = {
|
||||
export type BoardColumnUncheckedUpdateManyWithoutProjectInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
boundStatus?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -737,6 +770,7 @@ export type BoardColumnCountOutputTypeCountTasksArgs<ExtArgs extends runtime.Typ
|
||||
export type BoardColumnSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
uuid?: boolean
|
||||
projectUuid?: boolean
|
||||
projectId?: boolean
|
||||
name?: boolean
|
||||
sortOrder?: boolean
|
||||
@@ -752,6 +786,7 @@ export type BoardColumnSelect<ExtArgs extends runtime.Types.Extensions.InternalA
|
||||
export type BoardColumnSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
uuid?: boolean
|
||||
projectUuid?: boolean
|
||||
projectId?: boolean
|
||||
name?: boolean
|
||||
sortOrder?: boolean
|
||||
@@ -765,6 +800,7 @@ export type BoardColumnSelectCreateManyAndReturn<ExtArgs extends runtime.Types.E
|
||||
export type BoardColumnSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
uuid?: boolean
|
||||
projectUuid?: boolean
|
||||
projectId?: boolean
|
||||
name?: boolean
|
||||
sortOrder?: boolean
|
||||
@@ -778,6 +814,7 @@ export type BoardColumnSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.E
|
||||
export type BoardColumnSelectScalar = {
|
||||
id?: boolean
|
||||
uuid?: boolean
|
||||
projectUuid?: boolean
|
||||
projectId?: boolean
|
||||
name?: boolean
|
||||
sortOrder?: boolean
|
||||
@@ -787,7 +824,7 @@ export type BoardColumnSelectScalar = {
|
||||
updatedAt?: boolean
|
||||
}
|
||||
|
||||
export type BoardColumnOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "projectId" | "name" | "sortOrder" | "boundStatus" | "retention" | "createdAt" | "updatedAt", ExtArgs["result"]["boardColumn"]>
|
||||
export type BoardColumnOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "projectUuid" | "projectId" | "name" | "sortOrder" | "boundStatus" | "retention" | "createdAt" | "updatedAt", ExtArgs["result"]["boardColumn"]>
|
||||
export type BoardColumnInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
||||
tasks?: boolean | Prisma.BoardColumn$tasksArgs<ExtArgs>
|
||||
@@ -809,6 +846,7 @@ export type $BoardColumnPayload<ExtArgs extends runtime.Types.Extensions.Interna
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
projectId: number
|
||||
name: string
|
||||
sortOrder: number
|
||||
@@ -1243,6 +1281,7 @@ export interface Prisma__BoardColumnClient<T, Null = never, ExtArgs extends runt
|
||||
export interface BoardColumnFieldRefs {
|
||||
readonly id: Prisma.FieldRef<"BoardColumn", 'Int'>
|
||||
readonly uuid: Prisma.FieldRef<"BoardColumn", 'String'>
|
||||
readonly projectUuid: Prisma.FieldRef<"BoardColumn", 'String'>
|
||||
readonly projectId: Prisma.FieldRef<"BoardColumn", 'Int'>
|
||||
readonly name: Prisma.FieldRef<"BoardColumn", 'String'>
|
||||
readonly sortOrder: Prisma.FieldRef<"BoardColumn", 'Int'>
|
||||
|
||||
@@ -41,6 +41,7 @@ export type ProjectMemberSumAggregateOutputType = {
|
||||
export type ProjectMemberMinAggregateOutputType = {
|
||||
id: number | null
|
||||
uuid: string | null
|
||||
projectUuid: string | null
|
||||
projectId: number | null
|
||||
userId: number | null
|
||||
permission: string | null
|
||||
@@ -50,6 +51,7 @@ export type ProjectMemberMinAggregateOutputType = {
|
||||
export type ProjectMemberMaxAggregateOutputType = {
|
||||
id: number | null
|
||||
uuid: string | null
|
||||
projectUuid: string | null
|
||||
projectId: number | null
|
||||
userId: number | null
|
||||
permission: string | null
|
||||
@@ -59,6 +61,7 @@ export type ProjectMemberMaxAggregateOutputType = {
|
||||
export type ProjectMemberCountAggregateOutputType = {
|
||||
id: number
|
||||
uuid: number
|
||||
projectUuid: number
|
||||
projectId: number
|
||||
userId: number
|
||||
permission: number
|
||||
@@ -82,6 +85,7 @@ export type ProjectMemberSumAggregateInputType = {
|
||||
export type ProjectMemberMinAggregateInputType = {
|
||||
id?: true
|
||||
uuid?: true
|
||||
projectUuid?: true
|
||||
projectId?: true
|
||||
userId?: true
|
||||
permission?: true
|
||||
@@ -91,6 +95,7 @@ export type ProjectMemberMinAggregateInputType = {
|
||||
export type ProjectMemberMaxAggregateInputType = {
|
||||
id?: true
|
||||
uuid?: true
|
||||
projectUuid?: true
|
||||
projectId?: true
|
||||
userId?: true
|
||||
permission?: true
|
||||
@@ -100,6 +105,7 @@ export type ProjectMemberMaxAggregateInputType = {
|
||||
export type ProjectMemberCountAggregateInputType = {
|
||||
id?: true
|
||||
uuid?: true
|
||||
projectUuid?: true
|
||||
projectId?: true
|
||||
userId?: true
|
||||
permission?: true
|
||||
@@ -196,6 +202,7 @@ export type ProjectMemberGroupByArgs<ExtArgs extends runtime.Types.Extensions.In
|
||||
export type ProjectMemberGroupByOutputType = {
|
||||
id: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
projectId: number
|
||||
userId: number
|
||||
permission: string
|
||||
@@ -228,6 +235,7 @@ export type ProjectMemberWhereInput = {
|
||||
NOT?: Prisma.ProjectMemberWhereInput | Prisma.ProjectMemberWhereInput[]
|
||||
id?: Prisma.IntFilter<"ProjectMember"> | number
|
||||
uuid?: Prisma.StringFilter<"ProjectMember"> | string
|
||||
projectUuid?: Prisma.StringFilter<"ProjectMember"> | string
|
||||
projectId?: Prisma.IntFilter<"ProjectMember"> | number
|
||||
userId?: Prisma.IntFilter<"ProjectMember"> | number
|
||||
permission?: Prisma.StringFilter<"ProjectMember"> | string
|
||||
@@ -239,6 +247,7 @@ export type ProjectMemberWhereInput = {
|
||||
export type ProjectMemberOrderByWithRelationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
uuid?: Prisma.SortOrder
|
||||
projectUuid?: Prisma.SortOrder
|
||||
projectId?: Prisma.SortOrder
|
||||
userId?: Prisma.SortOrder
|
||||
permission?: Prisma.SortOrder
|
||||
@@ -254,6 +263,7 @@ export type ProjectMemberWhereUniqueInput = Prisma.AtLeast<{
|
||||
AND?: Prisma.ProjectMemberWhereInput | Prisma.ProjectMemberWhereInput[]
|
||||
OR?: Prisma.ProjectMemberWhereInput[]
|
||||
NOT?: Prisma.ProjectMemberWhereInput | Prisma.ProjectMemberWhereInput[]
|
||||
projectUuid?: Prisma.StringFilter<"ProjectMember"> | string
|
||||
projectId?: Prisma.IntFilter<"ProjectMember"> | number
|
||||
userId?: Prisma.IntFilter<"ProjectMember"> | number
|
||||
permission?: Prisma.StringFilter<"ProjectMember"> | string
|
||||
@@ -265,6 +275,7 @@ export type ProjectMemberWhereUniqueInput = Prisma.AtLeast<{
|
||||
export type ProjectMemberOrderByWithAggregationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
uuid?: Prisma.SortOrder
|
||||
projectUuid?: Prisma.SortOrder
|
||||
projectId?: Prisma.SortOrder
|
||||
userId?: Prisma.SortOrder
|
||||
permission?: Prisma.SortOrder
|
||||
@@ -282,6 +293,7 @@ export type ProjectMemberScalarWhereWithAggregatesInput = {
|
||||
NOT?: Prisma.ProjectMemberScalarWhereWithAggregatesInput | Prisma.ProjectMemberScalarWhereWithAggregatesInput[]
|
||||
id?: Prisma.IntWithAggregatesFilter<"ProjectMember"> | number
|
||||
uuid?: Prisma.StringWithAggregatesFilter<"ProjectMember"> | string
|
||||
projectUuid?: Prisma.StringWithAggregatesFilter<"ProjectMember"> | string
|
||||
projectId?: Prisma.IntWithAggregatesFilter<"ProjectMember"> | number
|
||||
userId?: Prisma.IntWithAggregatesFilter<"ProjectMember"> | number
|
||||
permission?: Prisma.StringWithAggregatesFilter<"ProjectMember"> | string
|
||||
@@ -290,6 +302,7 @@ export type ProjectMemberScalarWhereWithAggregatesInput = {
|
||||
|
||||
export type ProjectMemberCreateInput = {
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
permission?: string
|
||||
createdAt?: Date | string
|
||||
project: Prisma.ProjectCreateNestedOneWithoutMembersInput
|
||||
@@ -299,6 +312,7 @@ export type ProjectMemberCreateInput = {
|
||||
export type ProjectMemberUncheckedCreateInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
projectId: number
|
||||
userId: number
|
||||
permission?: string
|
||||
@@ -307,6 +321,7 @@ export type ProjectMemberUncheckedCreateInput = {
|
||||
|
||||
export type ProjectMemberUpdateInput = {
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
permission?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
project?: Prisma.ProjectUpdateOneRequiredWithoutMembersNestedInput
|
||||
@@ -316,6 +331,7 @@ export type ProjectMemberUpdateInput = {
|
||||
export type ProjectMemberUncheckedUpdateInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
userId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
permission?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -325,6 +341,7 @@ export type ProjectMemberUncheckedUpdateInput = {
|
||||
export type ProjectMemberCreateManyInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
projectId: number
|
||||
userId: number
|
||||
permission?: string
|
||||
@@ -333,6 +350,7 @@ export type ProjectMemberCreateManyInput = {
|
||||
|
||||
export type ProjectMemberUpdateManyMutationInput = {
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
permission?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
@@ -340,6 +358,7 @@ export type ProjectMemberUpdateManyMutationInput = {
|
||||
export type ProjectMemberUncheckedUpdateManyInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
userId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
permission?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -364,6 +383,7 @@ export type ProjectMemberProjectIdUserIdCompoundUniqueInput = {
|
||||
export type ProjectMemberCountOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
uuid?: Prisma.SortOrder
|
||||
projectUuid?: Prisma.SortOrder
|
||||
projectId?: Prisma.SortOrder
|
||||
userId?: Prisma.SortOrder
|
||||
permission?: Prisma.SortOrder
|
||||
@@ -379,6 +399,7 @@ export type ProjectMemberAvgOrderByAggregateInput = {
|
||||
export type ProjectMemberMaxOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
uuid?: Prisma.SortOrder
|
||||
projectUuid?: Prisma.SortOrder
|
||||
projectId?: Prisma.SortOrder
|
||||
userId?: Prisma.SortOrder
|
||||
permission?: Prisma.SortOrder
|
||||
@@ -388,6 +409,7 @@ export type ProjectMemberMaxOrderByAggregateInput = {
|
||||
export type ProjectMemberMinOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
uuid?: Prisma.SortOrder
|
||||
projectUuid?: Prisma.SortOrder
|
||||
projectId?: Prisma.SortOrder
|
||||
userId?: Prisma.SortOrder
|
||||
permission?: Prisma.SortOrder
|
||||
@@ -486,6 +508,7 @@ export type ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput = {
|
||||
|
||||
export type ProjectMemberCreateWithoutUserInput = {
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
permission?: string
|
||||
createdAt?: Date | string
|
||||
project: Prisma.ProjectCreateNestedOneWithoutMembersInput
|
||||
@@ -494,6 +517,7 @@ export type ProjectMemberCreateWithoutUserInput = {
|
||||
export type ProjectMemberUncheckedCreateWithoutUserInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
projectId: number
|
||||
permission?: string
|
||||
createdAt?: Date | string
|
||||
@@ -531,6 +555,7 @@ export type ProjectMemberScalarWhereInput = {
|
||||
NOT?: Prisma.ProjectMemberScalarWhereInput | Prisma.ProjectMemberScalarWhereInput[]
|
||||
id?: Prisma.IntFilter<"ProjectMember"> | number
|
||||
uuid?: Prisma.StringFilter<"ProjectMember"> | string
|
||||
projectUuid?: Prisma.StringFilter<"ProjectMember"> | string
|
||||
projectId?: Prisma.IntFilter<"ProjectMember"> | number
|
||||
userId?: Prisma.IntFilter<"ProjectMember"> | number
|
||||
permission?: Prisma.StringFilter<"ProjectMember"> | string
|
||||
@@ -539,6 +564,7 @@ export type ProjectMemberScalarWhereInput = {
|
||||
|
||||
export type ProjectMemberCreateWithoutProjectInput = {
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
permission?: string
|
||||
createdAt?: Date | string
|
||||
user: Prisma.UserCreateNestedOneWithoutProjectMembersInput
|
||||
@@ -547,6 +573,7 @@ export type ProjectMemberCreateWithoutProjectInput = {
|
||||
export type ProjectMemberUncheckedCreateWithoutProjectInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
userId: number
|
||||
permission?: string
|
||||
createdAt?: Date | string
|
||||
@@ -581,6 +608,7 @@ export type ProjectMemberUpdateManyWithWhereWithoutProjectInput = {
|
||||
export type ProjectMemberCreateManyUserInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
projectId: number
|
||||
permission?: string
|
||||
createdAt?: Date | string
|
||||
@@ -588,6 +616,7 @@ export type ProjectMemberCreateManyUserInput = {
|
||||
|
||||
export type ProjectMemberUpdateWithoutUserInput = {
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
permission?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
project?: Prisma.ProjectUpdateOneRequiredWithoutMembersNestedInput
|
||||
@@ -596,6 +625,7 @@ export type ProjectMemberUpdateWithoutUserInput = {
|
||||
export type ProjectMemberUncheckedUpdateWithoutUserInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
permission?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -604,6 +634,7 @@ export type ProjectMemberUncheckedUpdateWithoutUserInput = {
|
||||
export type ProjectMemberUncheckedUpdateManyWithoutUserInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
permission?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -612,6 +643,7 @@ export type ProjectMemberUncheckedUpdateManyWithoutUserInput = {
|
||||
export type ProjectMemberCreateManyProjectInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
userId: number
|
||||
permission?: string
|
||||
createdAt?: Date | string
|
||||
@@ -619,6 +651,7 @@ export type ProjectMemberCreateManyProjectInput = {
|
||||
|
||||
export type ProjectMemberUpdateWithoutProjectInput = {
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
permission?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
user?: Prisma.UserUpdateOneRequiredWithoutProjectMembersNestedInput
|
||||
@@ -627,6 +660,7 @@ export type ProjectMemberUpdateWithoutProjectInput = {
|
||||
export type ProjectMemberUncheckedUpdateWithoutProjectInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
userId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
permission?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -635,6 +669,7 @@ export type ProjectMemberUncheckedUpdateWithoutProjectInput = {
|
||||
export type ProjectMemberUncheckedUpdateManyWithoutProjectInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
userId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
permission?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -645,6 +680,7 @@ export type ProjectMemberUncheckedUpdateManyWithoutProjectInput = {
|
||||
export type ProjectMemberSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
uuid?: boolean
|
||||
projectUuid?: boolean
|
||||
projectId?: boolean
|
||||
userId?: boolean
|
||||
permission?: boolean
|
||||
@@ -656,6 +692,7 @@ export type ProjectMemberSelect<ExtArgs extends runtime.Types.Extensions.Interna
|
||||
export type ProjectMemberSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
uuid?: boolean
|
||||
projectUuid?: boolean
|
||||
projectId?: boolean
|
||||
userId?: boolean
|
||||
permission?: boolean
|
||||
@@ -667,6 +704,7 @@ export type ProjectMemberSelectCreateManyAndReturn<ExtArgs extends runtime.Types
|
||||
export type ProjectMemberSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
uuid?: boolean
|
||||
projectUuid?: boolean
|
||||
projectId?: boolean
|
||||
userId?: boolean
|
||||
permission?: boolean
|
||||
@@ -678,13 +716,14 @@ export type ProjectMemberSelectUpdateManyAndReturn<ExtArgs extends runtime.Types
|
||||
export type ProjectMemberSelectScalar = {
|
||||
id?: boolean
|
||||
uuid?: boolean
|
||||
projectUuid?: boolean
|
||||
projectId?: boolean
|
||||
userId?: boolean
|
||||
permission?: boolean
|
||||
createdAt?: boolean
|
||||
}
|
||||
|
||||
export type ProjectMemberOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "projectId" | "userId" | "permission" | "createdAt", ExtArgs["result"]["projectMember"]>
|
||||
export type ProjectMemberOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "projectUuid" | "projectId" | "userId" | "permission" | "createdAt", ExtArgs["result"]["projectMember"]>
|
||||
export type ProjectMemberInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
||||
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
||||
@@ -707,6 +746,7 @@ export type $ProjectMemberPayload<ExtArgs extends runtime.Types.Extensions.Inter
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
projectId: number
|
||||
userId: number
|
||||
permission: string
|
||||
@@ -1138,6 +1178,7 @@ export interface Prisma__ProjectMemberClient<T, Null = never, ExtArgs extends ru
|
||||
export interface ProjectMemberFieldRefs {
|
||||
readonly id: Prisma.FieldRef<"ProjectMember", 'Int'>
|
||||
readonly uuid: Prisma.FieldRef<"ProjectMember", 'String'>
|
||||
readonly projectUuid: Prisma.FieldRef<"ProjectMember", 'String'>
|
||||
readonly projectId: Prisma.FieldRef<"ProjectMember", 'Int'>
|
||||
readonly userId: Prisma.FieldRef<"ProjectMember", 'Int'>
|
||||
readonly permission: Prisma.FieldRef<"ProjectMember", 'String'>
|
||||
|
||||
@@ -51,6 +51,9 @@ export type TaskSumAggregateOutputType = {
|
||||
export type TaskMinAggregateOutputType = {
|
||||
id: number | null
|
||||
uuid: string | null
|
||||
projectUuid: string | null
|
||||
columnUuid: string | null
|
||||
parentUuid: string | null
|
||||
projectId: number | null
|
||||
columnId: number | null
|
||||
parentId: number | null
|
||||
@@ -71,6 +74,9 @@ export type TaskMinAggregateOutputType = {
|
||||
export type TaskMaxAggregateOutputType = {
|
||||
id: number | null
|
||||
uuid: string | null
|
||||
projectUuid: string | null
|
||||
columnUuid: string | null
|
||||
parentUuid: string | null
|
||||
projectId: number | null
|
||||
columnId: number | null
|
||||
parentId: number | null
|
||||
@@ -91,6 +97,9 @@ export type TaskMaxAggregateOutputType = {
|
||||
export type TaskCountAggregateOutputType = {
|
||||
id: number
|
||||
uuid: number
|
||||
projectUuid: number
|
||||
columnUuid: number
|
||||
parentUuid: number
|
||||
projectId: number
|
||||
columnId: number
|
||||
parentId: number
|
||||
@@ -136,6 +145,9 @@ export type TaskSumAggregateInputType = {
|
||||
export type TaskMinAggregateInputType = {
|
||||
id?: true
|
||||
uuid?: true
|
||||
projectUuid?: true
|
||||
columnUuid?: true
|
||||
parentUuid?: true
|
||||
projectId?: true
|
||||
columnId?: true
|
||||
parentId?: true
|
||||
@@ -156,6 +168,9 @@ export type TaskMinAggregateInputType = {
|
||||
export type TaskMaxAggregateInputType = {
|
||||
id?: true
|
||||
uuid?: true
|
||||
projectUuid?: true
|
||||
columnUuid?: true
|
||||
parentUuid?: true
|
||||
projectId?: true
|
||||
columnId?: true
|
||||
parentId?: true
|
||||
@@ -176,6 +191,9 @@ export type TaskMaxAggregateInputType = {
|
||||
export type TaskCountAggregateInputType = {
|
||||
id?: true
|
||||
uuid?: true
|
||||
projectUuid?: true
|
||||
columnUuid?: true
|
||||
parentUuid?: true
|
||||
projectId?: true
|
||||
columnId?: true
|
||||
parentId?: true
|
||||
@@ -284,6 +302,9 @@ export type TaskGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArg
|
||||
export type TaskGroupByOutputType = {
|
||||
id: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
columnUuid: string
|
||||
parentUuid: string | null
|
||||
projectId: number
|
||||
columnId: number
|
||||
parentId: number | null
|
||||
@@ -328,6 +349,9 @@ export type TaskWhereInput = {
|
||||
NOT?: Prisma.TaskWhereInput | Prisma.TaskWhereInput[]
|
||||
id?: Prisma.IntFilter<"Task"> | number
|
||||
uuid?: Prisma.StringFilter<"Task"> | string
|
||||
projectUuid?: Prisma.StringFilter<"Task"> | string
|
||||
columnUuid?: Prisma.StringFilter<"Task"> | string
|
||||
parentUuid?: Prisma.StringNullableFilter<"Task"> | string | null
|
||||
projectId?: Prisma.IntFilter<"Task"> | number
|
||||
columnId?: Prisma.IntFilter<"Task"> | number
|
||||
parentId?: Prisma.IntNullableFilter<"Task"> | number | null
|
||||
@@ -357,6 +381,9 @@ export type TaskWhereInput = {
|
||||
export type TaskOrderByWithRelationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
uuid?: Prisma.SortOrder
|
||||
projectUuid?: Prisma.SortOrder
|
||||
columnUuid?: Prisma.SortOrder
|
||||
parentUuid?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
projectId?: Prisma.SortOrder
|
||||
columnId?: Prisma.SortOrder
|
||||
parentId?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
@@ -390,6 +417,9 @@ export type TaskWhereUniqueInput = Prisma.AtLeast<{
|
||||
AND?: Prisma.TaskWhereInput | Prisma.TaskWhereInput[]
|
||||
OR?: Prisma.TaskWhereInput[]
|
||||
NOT?: Prisma.TaskWhereInput | Prisma.TaskWhereInput[]
|
||||
projectUuid?: Prisma.StringFilter<"Task"> | string
|
||||
columnUuid?: Prisma.StringFilter<"Task"> | string
|
||||
parentUuid?: Prisma.StringNullableFilter<"Task"> | string | null
|
||||
projectId?: Prisma.IntFilter<"Task"> | number
|
||||
columnId?: Prisma.IntFilter<"Task"> | number
|
||||
parentId?: Prisma.IntNullableFilter<"Task"> | number | null
|
||||
@@ -419,6 +449,9 @@ export type TaskWhereUniqueInput = Prisma.AtLeast<{
|
||||
export type TaskOrderByWithAggregationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
uuid?: Prisma.SortOrder
|
||||
projectUuid?: Prisma.SortOrder
|
||||
columnUuid?: Prisma.SortOrder
|
||||
parentUuid?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
projectId?: Prisma.SortOrder
|
||||
columnId?: Prisma.SortOrder
|
||||
parentId?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
@@ -448,6 +481,9 @@ export type TaskScalarWhereWithAggregatesInput = {
|
||||
NOT?: Prisma.TaskScalarWhereWithAggregatesInput | Prisma.TaskScalarWhereWithAggregatesInput[]
|
||||
id?: Prisma.IntWithAggregatesFilter<"Task"> | number
|
||||
uuid?: Prisma.StringWithAggregatesFilter<"Task"> | string
|
||||
projectUuid?: Prisma.StringWithAggregatesFilter<"Task"> | string
|
||||
columnUuid?: Prisma.StringWithAggregatesFilter<"Task"> | string
|
||||
parentUuid?: Prisma.StringNullableWithAggregatesFilter<"Task"> | string | null
|
||||
projectId?: Prisma.IntWithAggregatesFilter<"Task"> | number
|
||||
columnId?: Prisma.IntWithAggregatesFilter<"Task"> | number
|
||||
parentId?: Prisma.IntNullableWithAggregatesFilter<"Task"> | number | null
|
||||
@@ -468,6 +504,9 @@ export type TaskScalarWhereWithAggregatesInput = {
|
||||
|
||||
export type TaskCreateInput = {
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
columnUuid: string
|
||||
parentUuid?: string | null
|
||||
title: string
|
||||
description?: string
|
||||
kind?: string | null
|
||||
@@ -492,6 +531,9 @@ export type TaskCreateInput = {
|
||||
export type TaskUncheckedCreateInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
columnUuid: string
|
||||
parentUuid?: string | null
|
||||
projectId: number
|
||||
columnId: number
|
||||
parentId?: number | null
|
||||
@@ -515,6 +557,9 @@ export type TaskUncheckedCreateInput = {
|
||||
|
||||
export type TaskUpdateInput = {
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
columnUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
parentUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
title?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
kind?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -539,6 +584,9 @@ export type TaskUpdateInput = {
|
||||
export type TaskUncheckedUpdateInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
columnUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
parentUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
projectId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
columnId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
@@ -563,6 +611,9 @@ export type TaskUncheckedUpdateInput = {
|
||||
export type TaskCreateManyInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
columnUuid: string
|
||||
parentUuid?: string | null
|
||||
projectId: number
|
||||
columnId: number
|
||||
parentId?: number | null
|
||||
@@ -583,6 +634,9 @@ export type TaskCreateManyInput = {
|
||||
|
||||
export type TaskUpdateManyMutationInput = {
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
columnUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
parentUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
title?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
kind?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -599,6 +653,9 @@ export type TaskUpdateManyMutationInput = {
|
||||
export type TaskUncheckedUpdateManyInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
columnUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
parentUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
projectId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
columnId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
@@ -640,6 +697,9 @@ export type TaskProjectIdNumberCompoundUniqueInput = {
|
||||
export type TaskCountOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
uuid?: Prisma.SortOrder
|
||||
projectUuid?: Prisma.SortOrder
|
||||
columnUuid?: Prisma.SortOrder
|
||||
parentUuid?: Prisma.SortOrder
|
||||
projectId?: Prisma.SortOrder
|
||||
columnId?: Prisma.SortOrder
|
||||
parentId?: Prisma.SortOrder
|
||||
@@ -672,6 +732,9 @@ export type TaskAvgOrderByAggregateInput = {
|
||||
export type TaskMaxOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
uuid?: Prisma.SortOrder
|
||||
projectUuid?: Prisma.SortOrder
|
||||
columnUuid?: Prisma.SortOrder
|
||||
parentUuid?: Prisma.SortOrder
|
||||
projectId?: Prisma.SortOrder
|
||||
columnId?: Prisma.SortOrder
|
||||
parentId?: Prisma.SortOrder
|
||||
@@ -692,6 +755,9 @@ export type TaskMaxOrderByAggregateInput = {
|
||||
export type TaskMinOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
uuid?: Prisma.SortOrder
|
||||
projectUuid?: Prisma.SortOrder
|
||||
columnUuid?: Prisma.SortOrder
|
||||
parentUuid?: Prisma.SortOrder
|
||||
projectId?: Prisma.SortOrder
|
||||
columnId?: Prisma.SortOrder
|
||||
parentId?: Prisma.SortOrder
|
||||
@@ -981,6 +1047,9 @@ export type TaskUpdateOneRequiredWithoutTagsNestedInput = {
|
||||
|
||||
export type TaskCreateWithoutAssigneeInput = {
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
columnUuid: string
|
||||
parentUuid?: string | null
|
||||
title: string
|
||||
description?: string
|
||||
kind?: string | null
|
||||
@@ -1004,6 +1073,9 @@ export type TaskCreateWithoutAssigneeInput = {
|
||||
export type TaskUncheckedCreateWithoutAssigneeInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
columnUuid: string
|
||||
parentUuid?: string | null
|
||||
projectId: number
|
||||
columnId: number
|
||||
parentId?: number | null
|
||||
@@ -1036,6 +1108,9 @@ export type TaskCreateManyAssigneeInputEnvelope = {
|
||||
|
||||
export type TaskCreateWithoutCreatorInput = {
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
columnUuid: string
|
||||
parentUuid?: string | null
|
||||
title: string
|
||||
description?: string
|
||||
kind?: string | null
|
||||
@@ -1059,6 +1134,9 @@ export type TaskCreateWithoutCreatorInput = {
|
||||
export type TaskUncheckedCreateWithoutCreatorInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
columnUuid: string
|
||||
parentUuid?: string | null
|
||||
projectId: number
|
||||
columnId: number
|
||||
parentId?: number | null
|
||||
@@ -1111,6 +1189,9 @@ export type TaskScalarWhereInput = {
|
||||
NOT?: Prisma.TaskScalarWhereInput | Prisma.TaskScalarWhereInput[]
|
||||
id?: Prisma.IntFilter<"Task"> | number
|
||||
uuid?: Prisma.StringFilter<"Task"> | string
|
||||
projectUuid?: Prisma.StringFilter<"Task"> | string
|
||||
columnUuid?: Prisma.StringFilter<"Task"> | string
|
||||
parentUuid?: Prisma.StringNullableFilter<"Task"> | string | null
|
||||
projectId?: Prisma.IntFilter<"Task"> | number
|
||||
columnId?: Prisma.IntFilter<"Task"> | number
|
||||
parentId?: Prisma.IntNullableFilter<"Task"> | number | null
|
||||
@@ -1147,6 +1228,9 @@ export type TaskUpdateManyWithWhereWithoutCreatorInput = {
|
||||
|
||||
export type TaskCreateWithoutProjectInput = {
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
columnUuid: string
|
||||
parentUuid?: string | null
|
||||
title: string
|
||||
description?: string
|
||||
kind?: string | null
|
||||
@@ -1170,6 +1254,9 @@ export type TaskCreateWithoutProjectInput = {
|
||||
export type TaskUncheckedCreateWithoutProjectInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
columnUuid: string
|
||||
parentUuid?: string | null
|
||||
columnId: number
|
||||
parentId?: number | null
|
||||
title: string
|
||||
@@ -1218,6 +1305,9 @@ export type TaskUpdateManyWithWhereWithoutProjectInput = {
|
||||
|
||||
export type TaskCreateWithoutColumnInput = {
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
columnUuid: string
|
||||
parentUuid?: string | null
|
||||
title: string
|
||||
description?: string
|
||||
kind?: string | null
|
||||
@@ -1241,6 +1331,9 @@ export type TaskCreateWithoutColumnInput = {
|
||||
export type TaskUncheckedCreateWithoutColumnInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
columnUuid: string
|
||||
parentUuid?: string | null
|
||||
projectId: number
|
||||
parentId?: number | null
|
||||
title: string
|
||||
@@ -1289,6 +1382,9 @@ export type TaskUpdateManyWithWhereWithoutColumnInput = {
|
||||
|
||||
export type TaskCreateWithoutChildrenInput = {
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
columnUuid: string
|
||||
parentUuid?: string | null
|
||||
title: string
|
||||
description?: string
|
||||
kind?: string | null
|
||||
@@ -1312,6 +1408,9 @@ export type TaskCreateWithoutChildrenInput = {
|
||||
export type TaskUncheckedCreateWithoutChildrenInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
columnUuid: string
|
||||
parentUuid?: string | null
|
||||
projectId: number
|
||||
columnId: number
|
||||
parentId?: number | null
|
||||
@@ -1339,6 +1438,9 @@ export type TaskCreateOrConnectWithoutChildrenInput = {
|
||||
|
||||
export type TaskCreateWithoutParentInput = {
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
columnUuid: string
|
||||
parentUuid?: string | null
|
||||
title: string
|
||||
description?: string
|
||||
kind?: string | null
|
||||
@@ -1362,6 +1464,9 @@ export type TaskCreateWithoutParentInput = {
|
||||
export type TaskUncheckedCreateWithoutParentInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
columnUuid: string
|
||||
parentUuid?: string | null
|
||||
projectId: number
|
||||
columnId: number
|
||||
title: string
|
||||
@@ -1405,6 +1510,9 @@ export type TaskUpdateToOneWithWhereWithoutChildrenInput = {
|
||||
|
||||
export type TaskUpdateWithoutChildrenInput = {
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
columnUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
parentUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
title?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
kind?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -1428,6 +1536,9 @@ export type TaskUpdateWithoutChildrenInput = {
|
||||
export type TaskUncheckedUpdateWithoutChildrenInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
columnUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
parentUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
projectId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
columnId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
@@ -1466,6 +1577,9 @@ export type TaskUpdateManyWithWhereWithoutParentInput = {
|
||||
|
||||
export type TaskCreateWithoutMembersInput = {
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
columnUuid: string
|
||||
parentUuid?: string | null
|
||||
title: string
|
||||
description?: string
|
||||
kind?: string | null
|
||||
@@ -1489,6 +1603,9 @@ export type TaskCreateWithoutMembersInput = {
|
||||
export type TaskUncheckedCreateWithoutMembersInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
columnUuid: string
|
||||
parentUuid?: string | null
|
||||
projectId: number
|
||||
columnId: number
|
||||
parentId?: number | null
|
||||
@@ -1527,6 +1644,9 @@ export type TaskUpdateToOneWithWhereWithoutMembersInput = {
|
||||
|
||||
export type TaskUpdateWithoutMembersInput = {
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
columnUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
parentUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
title?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
kind?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -1550,6 +1670,9 @@ export type TaskUpdateWithoutMembersInput = {
|
||||
export type TaskUncheckedUpdateWithoutMembersInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
columnUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
parentUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
projectId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
columnId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
@@ -1572,6 +1695,9 @@ export type TaskUncheckedUpdateWithoutMembersInput = {
|
||||
|
||||
export type TaskCreateWithoutTagsInput = {
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
columnUuid: string
|
||||
parentUuid?: string | null
|
||||
title: string
|
||||
description?: string
|
||||
kind?: string | null
|
||||
@@ -1595,6 +1721,9 @@ export type TaskCreateWithoutTagsInput = {
|
||||
export type TaskUncheckedCreateWithoutTagsInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
columnUuid: string
|
||||
parentUuid?: string | null
|
||||
projectId: number
|
||||
columnId: number
|
||||
parentId?: number | null
|
||||
@@ -1633,6 +1762,9 @@ export type TaskUpdateToOneWithWhereWithoutTagsInput = {
|
||||
|
||||
export type TaskUpdateWithoutTagsInput = {
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
columnUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
parentUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
title?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
kind?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -1656,6 +1788,9 @@ export type TaskUpdateWithoutTagsInput = {
|
||||
export type TaskUncheckedUpdateWithoutTagsInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
columnUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
parentUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
projectId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
columnId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
@@ -1679,6 +1814,9 @@ export type TaskUncheckedUpdateWithoutTagsInput = {
|
||||
export type TaskCreateManyAssigneeInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
columnUuid: string
|
||||
parentUuid?: string | null
|
||||
projectId: number
|
||||
columnId: number
|
||||
parentId?: number | null
|
||||
@@ -1699,6 +1837,9 @@ export type TaskCreateManyAssigneeInput = {
|
||||
export type TaskCreateManyCreatorInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
columnUuid: string
|
||||
parentUuid?: string | null
|
||||
projectId: number
|
||||
columnId: number
|
||||
parentId?: number | null
|
||||
@@ -1718,6 +1859,9 @@ export type TaskCreateManyCreatorInput = {
|
||||
|
||||
export type TaskUpdateWithoutAssigneeInput = {
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
columnUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
parentUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
title?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
kind?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -1741,6 +1885,9 @@ export type TaskUpdateWithoutAssigneeInput = {
|
||||
export type TaskUncheckedUpdateWithoutAssigneeInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
columnUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
parentUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
projectId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
columnId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
@@ -1764,6 +1911,9 @@ export type TaskUncheckedUpdateWithoutAssigneeInput = {
|
||||
export type TaskUncheckedUpdateManyWithoutAssigneeInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
columnUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
parentUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
projectId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
columnId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
@@ -1783,6 +1933,9 @@ export type TaskUncheckedUpdateManyWithoutAssigneeInput = {
|
||||
|
||||
export type TaskUpdateWithoutCreatorInput = {
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
columnUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
parentUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
title?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
kind?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -1806,6 +1959,9 @@ export type TaskUpdateWithoutCreatorInput = {
|
||||
export type TaskUncheckedUpdateWithoutCreatorInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
columnUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
parentUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
projectId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
columnId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
@@ -1829,6 +1985,9 @@ export type TaskUncheckedUpdateWithoutCreatorInput = {
|
||||
export type TaskUncheckedUpdateManyWithoutCreatorInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
columnUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
parentUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
projectId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
columnId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
@@ -1849,6 +2008,9 @@ export type TaskUncheckedUpdateManyWithoutCreatorInput = {
|
||||
export type TaskCreateManyProjectInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
columnUuid: string
|
||||
parentUuid?: string | null
|
||||
columnId: number
|
||||
parentId?: number | null
|
||||
title: string
|
||||
@@ -1868,6 +2030,9 @@ export type TaskCreateManyProjectInput = {
|
||||
|
||||
export type TaskUpdateWithoutProjectInput = {
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
columnUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
parentUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
title?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
kind?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -1891,6 +2056,9 @@ export type TaskUpdateWithoutProjectInput = {
|
||||
export type TaskUncheckedUpdateWithoutProjectInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
columnUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
parentUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
columnId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
title?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -1914,6 +2082,9 @@ export type TaskUncheckedUpdateWithoutProjectInput = {
|
||||
export type TaskUncheckedUpdateManyWithoutProjectInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
columnUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
parentUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
columnId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
title?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -1934,6 +2105,9 @@ export type TaskUncheckedUpdateManyWithoutProjectInput = {
|
||||
export type TaskCreateManyColumnInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
columnUuid: string
|
||||
parentUuid?: string | null
|
||||
projectId: number
|
||||
parentId?: number | null
|
||||
title: string
|
||||
@@ -1953,6 +2127,9 @@ export type TaskCreateManyColumnInput = {
|
||||
|
||||
export type TaskUpdateWithoutColumnInput = {
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
columnUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
parentUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
title?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
kind?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -1976,6 +2153,9 @@ export type TaskUpdateWithoutColumnInput = {
|
||||
export type TaskUncheckedUpdateWithoutColumnInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
columnUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
parentUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
projectId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
title?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -1999,6 +2179,9 @@ export type TaskUncheckedUpdateWithoutColumnInput = {
|
||||
export type TaskUncheckedUpdateManyWithoutColumnInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
columnUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
parentUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
projectId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
title?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -2019,6 +2202,9 @@ export type TaskUncheckedUpdateManyWithoutColumnInput = {
|
||||
export type TaskCreateManyParentInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
columnUuid: string
|
||||
parentUuid?: string | null
|
||||
projectId: number
|
||||
columnId: number
|
||||
title: string
|
||||
@@ -2038,6 +2224,9 @@ export type TaskCreateManyParentInput = {
|
||||
|
||||
export type TaskUpdateWithoutParentInput = {
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
columnUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
parentUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
title?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
kind?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -2061,6 +2250,9 @@ export type TaskUpdateWithoutParentInput = {
|
||||
export type TaskUncheckedUpdateWithoutParentInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
columnUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
parentUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
projectId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
columnId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
title?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -2084,6 +2276,9 @@ export type TaskUncheckedUpdateWithoutParentInput = {
|
||||
export type TaskUncheckedUpdateManyWithoutParentInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
projectUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
columnUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
parentUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
projectId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
columnId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
title?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -2153,6 +2348,9 @@ export type TaskCountOutputTypeCountTagsArgs<ExtArgs extends runtime.Types.Exten
|
||||
export type TaskSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
uuid?: boolean
|
||||
projectUuid?: boolean
|
||||
columnUuid?: boolean
|
||||
parentUuid?: boolean
|
||||
projectId?: boolean
|
||||
columnId?: boolean
|
||||
parentId?: boolean
|
||||
@@ -2183,6 +2381,9 @@ export type TaskSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = r
|
||||
export type TaskSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
uuid?: boolean
|
||||
projectUuid?: boolean
|
||||
columnUuid?: boolean
|
||||
parentUuid?: boolean
|
||||
projectId?: boolean
|
||||
columnId?: boolean
|
||||
parentId?: boolean
|
||||
@@ -2209,6 +2410,9 @@ export type TaskSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensio
|
||||
export type TaskSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
uuid?: boolean
|
||||
projectUuid?: boolean
|
||||
columnUuid?: boolean
|
||||
parentUuid?: boolean
|
||||
projectId?: boolean
|
||||
columnId?: boolean
|
||||
parentId?: boolean
|
||||
@@ -2235,6 +2439,9 @@ export type TaskSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensio
|
||||
export type TaskSelectScalar = {
|
||||
id?: boolean
|
||||
uuid?: boolean
|
||||
projectUuid?: boolean
|
||||
columnUuid?: boolean
|
||||
parentUuid?: boolean
|
||||
projectId?: boolean
|
||||
columnId?: boolean
|
||||
parentId?: boolean
|
||||
@@ -2253,7 +2460,7 @@ export type TaskSelectScalar = {
|
||||
number?: boolean
|
||||
}
|
||||
|
||||
export type TaskOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "projectId" | "columnId" | "parentId" | "title" | "description" | "kind" | "markDate" | "status" | "doneAt" | "assigneeId" | "creatorId" | "extras" | "sortOrder" | "createdAt" | "updatedAt" | "number", ExtArgs["result"]["task"]>
|
||||
export type TaskOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "projectUuid" | "columnUuid" | "parentUuid" | "projectId" | "columnId" | "parentId" | "title" | "description" | "kind" | "markDate" | "status" | "doneAt" | "assigneeId" | "creatorId" | "extras" | "sortOrder" | "createdAt" | "updatedAt" | "number", ExtArgs["result"]["task"]>
|
||||
export type TaskInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
||||
column?: boolean | Prisma.BoardColumnDefaultArgs<ExtArgs>
|
||||
@@ -2295,6 +2502,9 @@ export type $TaskPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: number
|
||||
uuid: string
|
||||
projectUuid: string
|
||||
columnUuid: string
|
||||
parentUuid: string | null
|
||||
projectId: number
|
||||
columnId: number
|
||||
parentId: number | null
|
||||
@@ -2744,6 +2954,9 @@ export interface Prisma__TaskClient<T, Null = never, ExtArgs extends runtime.Typ
|
||||
export interface TaskFieldRefs {
|
||||
readonly id: Prisma.FieldRef<"Task", 'Int'>
|
||||
readonly uuid: Prisma.FieldRef<"Task", 'String'>
|
||||
readonly projectUuid: Prisma.FieldRef<"Task", 'String'>
|
||||
readonly columnUuid: Prisma.FieldRef<"Task", 'String'>
|
||||
readonly parentUuid: Prisma.FieldRef<"Task", 'String'>
|
||||
readonly projectId: Prisma.FieldRef<"Task", 'Int'>
|
||||
readonly columnId: Prisma.FieldRef<"Task", 'Int'>
|
||||
readonly parentId: Prisma.FieldRef<"Task", 'Int'>
|
||||
|
||||
@@ -41,6 +41,7 @@ export type TaskMemberSumAggregateOutputType = {
|
||||
export type TaskMemberMinAggregateOutputType = {
|
||||
id: number | null
|
||||
uuid: string | null
|
||||
taskUuid: string | null
|
||||
taskId: number | null
|
||||
userId: number | null
|
||||
}
|
||||
@@ -48,6 +49,7 @@ export type TaskMemberMinAggregateOutputType = {
|
||||
export type TaskMemberMaxAggregateOutputType = {
|
||||
id: number | null
|
||||
uuid: string | null
|
||||
taskUuid: string | null
|
||||
taskId: number | null
|
||||
userId: number | null
|
||||
}
|
||||
@@ -55,6 +57,7 @@ export type TaskMemberMaxAggregateOutputType = {
|
||||
export type TaskMemberCountAggregateOutputType = {
|
||||
id: number
|
||||
uuid: number
|
||||
taskUuid: number
|
||||
taskId: number
|
||||
userId: number
|
||||
_all: number
|
||||
@@ -76,6 +79,7 @@ export type TaskMemberSumAggregateInputType = {
|
||||
export type TaskMemberMinAggregateInputType = {
|
||||
id?: true
|
||||
uuid?: true
|
||||
taskUuid?: true
|
||||
taskId?: true
|
||||
userId?: true
|
||||
}
|
||||
@@ -83,6 +87,7 @@ export type TaskMemberMinAggregateInputType = {
|
||||
export type TaskMemberMaxAggregateInputType = {
|
||||
id?: true
|
||||
uuid?: true
|
||||
taskUuid?: true
|
||||
taskId?: true
|
||||
userId?: true
|
||||
}
|
||||
@@ -90,6 +95,7 @@ export type TaskMemberMaxAggregateInputType = {
|
||||
export type TaskMemberCountAggregateInputType = {
|
||||
id?: true
|
||||
uuid?: true
|
||||
taskUuid?: true
|
||||
taskId?: true
|
||||
userId?: true
|
||||
_all?: true
|
||||
@@ -184,6 +190,7 @@ export type TaskMemberGroupByArgs<ExtArgs extends runtime.Types.Extensions.Inter
|
||||
export type TaskMemberGroupByOutputType = {
|
||||
id: number
|
||||
uuid: string
|
||||
taskUuid: string
|
||||
taskId: number
|
||||
userId: number
|
||||
_count: TaskMemberCountAggregateOutputType | null
|
||||
@@ -214,6 +221,7 @@ export type TaskMemberWhereInput = {
|
||||
NOT?: Prisma.TaskMemberWhereInput | Prisma.TaskMemberWhereInput[]
|
||||
id?: Prisma.IntFilter<"TaskMember"> | number
|
||||
uuid?: Prisma.StringFilter<"TaskMember"> | string
|
||||
taskUuid?: Prisma.StringFilter<"TaskMember"> | string
|
||||
taskId?: Prisma.IntFilter<"TaskMember"> | number
|
||||
userId?: Prisma.IntFilter<"TaskMember"> | number
|
||||
task?: Prisma.XOR<Prisma.TaskScalarRelationFilter, Prisma.TaskWhereInput>
|
||||
@@ -223,6 +231,7 @@ export type TaskMemberWhereInput = {
|
||||
export type TaskMemberOrderByWithRelationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
uuid?: Prisma.SortOrder
|
||||
taskUuid?: Prisma.SortOrder
|
||||
taskId?: Prisma.SortOrder
|
||||
userId?: Prisma.SortOrder
|
||||
task?: Prisma.TaskOrderByWithRelationInput
|
||||
@@ -236,6 +245,7 @@ export type TaskMemberWhereUniqueInput = Prisma.AtLeast<{
|
||||
AND?: Prisma.TaskMemberWhereInput | Prisma.TaskMemberWhereInput[]
|
||||
OR?: Prisma.TaskMemberWhereInput[]
|
||||
NOT?: Prisma.TaskMemberWhereInput | Prisma.TaskMemberWhereInput[]
|
||||
taskUuid?: Prisma.StringFilter<"TaskMember"> | string
|
||||
taskId?: Prisma.IntFilter<"TaskMember"> | number
|
||||
userId?: Prisma.IntFilter<"TaskMember"> | number
|
||||
task?: Prisma.XOR<Prisma.TaskScalarRelationFilter, Prisma.TaskWhereInput>
|
||||
@@ -245,6 +255,7 @@ export type TaskMemberWhereUniqueInput = Prisma.AtLeast<{
|
||||
export type TaskMemberOrderByWithAggregationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
uuid?: Prisma.SortOrder
|
||||
taskUuid?: Prisma.SortOrder
|
||||
taskId?: Prisma.SortOrder
|
||||
userId?: Prisma.SortOrder
|
||||
_count?: Prisma.TaskMemberCountOrderByAggregateInput
|
||||
@@ -260,12 +271,14 @@ export type TaskMemberScalarWhereWithAggregatesInput = {
|
||||
NOT?: Prisma.TaskMemberScalarWhereWithAggregatesInput | Prisma.TaskMemberScalarWhereWithAggregatesInput[]
|
||||
id?: Prisma.IntWithAggregatesFilter<"TaskMember"> | number
|
||||
uuid?: Prisma.StringWithAggregatesFilter<"TaskMember"> | string
|
||||
taskUuid?: Prisma.StringWithAggregatesFilter<"TaskMember"> | string
|
||||
taskId?: Prisma.IntWithAggregatesFilter<"TaskMember"> | number
|
||||
userId?: Prisma.IntWithAggregatesFilter<"TaskMember"> | number
|
||||
}
|
||||
|
||||
export type TaskMemberCreateInput = {
|
||||
uuid: string
|
||||
taskUuid: string
|
||||
task: Prisma.TaskCreateNestedOneWithoutMembersInput
|
||||
user: Prisma.UserCreateNestedOneWithoutTaskMembersInput
|
||||
}
|
||||
@@ -273,12 +286,14 @@ export type TaskMemberCreateInput = {
|
||||
export type TaskMemberUncheckedCreateInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
taskUuid: string
|
||||
taskId: number
|
||||
userId: number
|
||||
}
|
||||
|
||||
export type TaskMemberUpdateInput = {
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
taskUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
task?: Prisma.TaskUpdateOneRequiredWithoutMembersNestedInput
|
||||
user?: Prisma.UserUpdateOneRequiredWithoutTaskMembersNestedInput
|
||||
}
|
||||
@@ -286,6 +301,7 @@ export type TaskMemberUpdateInput = {
|
||||
export type TaskMemberUncheckedUpdateInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
taskUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
taskId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
userId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
}
|
||||
@@ -293,17 +309,20 @@ export type TaskMemberUncheckedUpdateInput = {
|
||||
export type TaskMemberCreateManyInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
taskUuid: string
|
||||
taskId: number
|
||||
userId: number
|
||||
}
|
||||
|
||||
export type TaskMemberUpdateManyMutationInput = {
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
taskUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type TaskMemberUncheckedUpdateManyInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
taskUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
taskId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
userId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
}
|
||||
@@ -326,6 +345,7 @@ export type TaskMemberTaskIdUserIdCompoundUniqueInput = {
|
||||
export type TaskMemberCountOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
uuid?: Prisma.SortOrder
|
||||
taskUuid?: Prisma.SortOrder
|
||||
taskId?: Prisma.SortOrder
|
||||
userId?: Prisma.SortOrder
|
||||
}
|
||||
@@ -339,6 +359,7 @@ export type TaskMemberAvgOrderByAggregateInput = {
|
||||
export type TaskMemberMaxOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
uuid?: Prisma.SortOrder
|
||||
taskUuid?: Prisma.SortOrder
|
||||
taskId?: Prisma.SortOrder
|
||||
userId?: Prisma.SortOrder
|
||||
}
|
||||
@@ -346,6 +367,7 @@ export type TaskMemberMaxOrderByAggregateInput = {
|
||||
export type TaskMemberMinOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
uuid?: Prisma.SortOrder
|
||||
taskUuid?: Prisma.SortOrder
|
||||
taskId?: Prisma.SortOrder
|
||||
userId?: Prisma.SortOrder
|
||||
}
|
||||
@@ -442,12 +464,14 @@ export type TaskMemberUncheckedUpdateManyWithoutTaskNestedInput = {
|
||||
|
||||
export type TaskMemberCreateWithoutUserInput = {
|
||||
uuid: string
|
||||
taskUuid: string
|
||||
task: Prisma.TaskCreateNestedOneWithoutMembersInput
|
||||
}
|
||||
|
||||
export type TaskMemberUncheckedCreateWithoutUserInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
taskUuid: string
|
||||
taskId: number
|
||||
}
|
||||
|
||||
@@ -483,18 +507,21 @@ export type TaskMemberScalarWhereInput = {
|
||||
NOT?: Prisma.TaskMemberScalarWhereInput | Prisma.TaskMemberScalarWhereInput[]
|
||||
id?: Prisma.IntFilter<"TaskMember"> | number
|
||||
uuid?: Prisma.StringFilter<"TaskMember"> | string
|
||||
taskUuid?: Prisma.StringFilter<"TaskMember"> | string
|
||||
taskId?: Prisma.IntFilter<"TaskMember"> | number
|
||||
userId?: Prisma.IntFilter<"TaskMember"> | number
|
||||
}
|
||||
|
||||
export type TaskMemberCreateWithoutTaskInput = {
|
||||
uuid: string
|
||||
taskUuid: string
|
||||
user: Prisma.UserCreateNestedOneWithoutTaskMembersInput
|
||||
}
|
||||
|
||||
export type TaskMemberUncheckedCreateWithoutTaskInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
taskUuid: string
|
||||
userId: number
|
||||
}
|
||||
|
||||
@@ -527,46 +554,54 @@ export type TaskMemberUpdateManyWithWhereWithoutTaskInput = {
|
||||
export type TaskMemberCreateManyUserInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
taskUuid: string
|
||||
taskId: number
|
||||
}
|
||||
|
||||
export type TaskMemberUpdateWithoutUserInput = {
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
taskUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
task?: Prisma.TaskUpdateOneRequiredWithoutMembersNestedInput
|
||||
}
|
||||
|
||||
export type TaskMemberUncheckedUpdateWithoutUserInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
taskUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
taskId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
}
|
||||
|
||||
export type TaskMemberUncheckedUpdateManyWithoutUserInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
taskUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
taskId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
}
|
||||
|
||||
export type TaskMemberCreateManyTaskInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
taskUuid: string
|
||||
userId: number
|
||||
}
|
||||
|
||||
export type TaskMemberUpdateWithoutTaskInput = {
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
taskUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
user?: Prisma.UserUpdateOneRequiredWithoutTaskMembersNestedInput
|
||||
}
|
||||
|
||||
export type TaskMemberUncheckedUpdateWithoutTaskInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
taskUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
userId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
}
|
||||
|
||||
export type TaskMemberUncheckedUpdateManyWithoutTaskInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
taskUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
userId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
}
|
||||
|
||||
@@ -575,6 +610,7 @@ export type TaskMemberUncheckedUpdateManyWithoutTaskInput = {
|
||||
export type TaskMemberSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
uuid?: boolean
|
||||
taskUuid?: boolean
|
||||
taskId?: boolean
|
||||
userId?: boolean
|
||||
task?: boolean | Prisma.TaskDefaultArgs<ExtArgs>
|
||||
@@ -584,6 +620,7 @@ export type TaskMemberSelect<ExtArgs extends runtime.Types.Extensions.InternalAr
|
||||
export type TaskMemberSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
uuid?: boolean
|
||||
taskUuid?: boolean
|
||||
taskId?: boolean
|
||||
userId?: boolean
|
||||
task?: boolean | Prisma.TaskDefaultArgs<ExtArgs>
|
||||
@@ -593,6 +630,7 @@ export type TaskMemberSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Ex
|
||||
export type TaskMemberSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
uuid?: boolean
|
||||
taskUuid?: boolean
|
||||
taskId?: boolean
|
||||
userId?: boolean
|
||||
task?: boolean | Prisma.TaskDefaultArgs<ExtArgs>
|
||||
@@ -602,11 +640,12 @@ export type TaskMemberSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Ex
|
||||
export type TaskMemberSelectScalar = {
|
||||
id?: boolean
|
||||
uuid?: boolean
|
||||
taskUuid?: boolean
|
||||
taskId?: boolean
|
||||
userId?: boolean
|
||||
}
|
||||
|
||||
export type TaskMemberOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "taskId" | "userId", ExtArgs["result"]["taskMember"]>
|
||||
export type TaskMemberOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "taskUuid" | "taskId" | "userId", ExtArgs["result"]["taskMember"]>
|
||||
export type TaskMemberInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
task?: boolean | Prisma.TaskDefaultArgs<ExtArgs>
|
||||
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
||||
@@ -629,6 +668,7 @@ export type $TaskMemberPayload<ExtArgs extends runtime.Types.Extensions.Internal
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: number
|
||||
uuid: string
|
||||
taskUuid: string
|
||||
taskId: number
|
||||
userId: number
|
||||
}, ExtArgs["result"]["taskMember"]>
|
||||
@@ -1058,6 +1098,7 @@ export interface Prisma__TaskMemberClient<T, Null = never, ExtArgs extends runti
|
||||
export interface TaskMemberFieldRefs {
|
||||
readonly id: Prisma.FieldRef<"TaskMember", 'Int'>
|
||||
readonly uuid: Prisma.FieldRef<"TaskMember", 'String'>
|
||||
readonly taskUuid: Prisma.FieldRef<"TaskMember", 'String'>
|
||||
readonly taskId: Prisma.FieldRef<"TaskMember", 'Int'>
|
||||
readonly userId: Prisma.FieldRef<"TaskMember", 'Int'>
|
||||
}
|
||||
|
||||
@@ -39,6 +39,7 @@ export type TaskTagSumAggregateOutputType = {
|
||||
export type TaskTagMinAggregateOutputType = {
|
||||
id: number | null
|
||||
uuid: string | null
|
||||
taskUuid: string | null
|
||||
taskId: number | null
|
||||
name: string | null
|
||||
}
|
||||
@@ -46,6 +47,7 @@ export type TaskTagMinAggregateOutputType = {
|
||||
export type TaskTagMaxAggregateOutputType = {
|
||||
id: number | null
|
||||
uuid: string | null
|
||||
taskUuid: string | null
|
||||
taskId: number | null
|
||||
name: string | null
|
||||
}
|
||||
@@ -53,6 +55,7 @@ export type TaskTagMaxAggregateOutputType = {
|
||||
export type TaskTagCountAggregateOutputType = {
|
||||
id: number
|
||||
uuid: number
|
||||
taskUuid: number
|
||||
taskId: number
|
||||
name: number
|
||||
_all: number
|
||||
@@ -72,6 +75,7 @@ export type TaskTagSumAggregateInputType = {
|
||||
export type TaskTagMinAggregateInputType = {
|
||||
id?: true
|
||||
uuid?: true
|
||||
taskUuid?: true
|
||||
taskId?: true
|
||||
name?: true
|
||||
}
|
||||
@@ -79,6 +83,7 @@ export type TaskTagMinAggregateInputType = {
|
||||
export type TaskTagMaxAggregateInputType = {
|
||||
id?: true
|
||||
uuid?: true
|
||||
taskUuid?: true
|
||||
taskId?: true
|
||||
name?: true
|
||||
}
|
||||
@@ -86,6 +91,7 @@ export type TaskTagMaxAggregateInputType = {
|
||||
export type TaskTagCountAggregateInputType = {
|
||||
id?: true
|
||||
uuid?: true
|
||||
taskUuid?: true
|
||||
taskId?: true
|
||||
name?: true
|
||||
_all?: true
|
||||
@@ -180,6 +186,7 @@ export type TaskTagGroupByArgs<ExtArgs extends runtime.Types.Extensions.Internal
|
||||
export type TaskTagGroupByOutputType = {
|
||||
id: number
|
||||
uuid: string
|
||||
taskUuid: string
|
||||
taskId: number
|
||||
name: string
|
||||
_count: TaskTagCountAggregateOutputType | null
|
||||
@@ -210,6 +217,7 @@ export type TaskTagWhereInput = {
|
||||
NOT?: Prisma.TaskTagWhereInput | Prisma.TaskTagWhereInput[]
|
||||
id?: Prisma.IntFilter<"TaskTag"> | number
|
||||
uuid?: Prisma.StringFilter<"TaskTag"> | string
|
||||
taskUuid?: Prisma.StringFilter<"TaskTag"> | string
|
||||
taskId?: Prisma.IntFilter<"TaskTag"> | number
|
||||
name?: Prisma.StringFilter<"TaskTag"> | string
|
||||
task?: Prisma.XOR<Prisma.TaskScalarRelationFilter, Prisma.TaskWhereInput>
|
||||
@@ -218,6 +226,7 @@ export type TaskTagWhereInput = {
|
||||
export type TaskTagOrderByWithRelationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
uuid?: Prisma.SortOrder
|
||||
taskUuid?: Prisma.SortOrder
|
||||
taskId?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
task?: Prisma.TaskOrderByWithRelationInput
|
||||
@@ -229,6 +238,7 @@ export type TaskTagWhereUniqueInput = Prisma.AtLeast<{
|
||||
AND?: Prisma.TaskTagWhereInput | Prisma.TaskTagWhereInput[]
|
||||
OR?: Prisma.TaskTagWhereInput[]
|
||||
NOT?: Prisma.TaskTagWhereInput | Prisma.TaskTagWhereInput[]
|
||||
taskUuid?: Prisma.StringFilter<"TaskTag"> | string
|
||||
taskId?: Prisma.IntFilter<"TaskTag"> | number
|
||||
name?: Prisma.StringFilter<"TaskTag"> | string
|
||||
task?: Prisma.XOR<Prisma.TaskScalarRelationFilter, Prisma.TaskWhereInput>
|
||||
@@ -237,6 +247,7 @@ export type TaskTagWhereUniqueInput = Prisma.AtLeast<{
|
||||
export type TaskTagOrderByWithAggregationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
uuid?: Prisma.SortOrder
|
||||
taskUuid?: Prisma.SortOrder
|
||||
taskId?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
_count?: Prisma.TaskTagCountOrderByAggregateInput
|
||||
@@ -252,12 +263,14 @@ export type TaskTagScalarWhereWithAggregatesInput = {
|
||||
NOT?: Prisma.TaskTagScalarWhereWithAggregatesInput | Prisma.TaskTagScalarWhereWithAggregatesInput[]
|
||||
id?: Prisma.IntWithAggregatesFilter<"TaskTag"> | number
|
||||
uuid?: Prisma.StringWithAggregatesFilter<"TaskTag"> | string
|
||||
taskUuid?: Prisma.StringWithAggregatesFilter<"TaskTag"> | string
|
||||
taskId?: Prisma.IntWithAggregatesFilter<"TaskTag"> | number
|
||||
name?: Prisma.StringWithAggregatesFilter<"TaskTag"> | string
|
||||
}
|
||||
|
||||
export type TaskTagCreateInput = {
|
||||
uuid: string
|
||||
taskUuid: string
|
||||
name: string
|
||||
task: Prisma.TaskCreateNestedOneWithoutTagsInput
|
||||
}
|
||||
@@ -265,12 +278,14 @@ export type TaskTagCreateInput = {
|
||||
export type TaskTagUncheckedCreateInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
taskUuid: string
|
||||
taskId: number
|
||||
name: string
|
||||
}
|
||||
|
||||
export type TaskTagUpdateInput = {
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
taskUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
task?: Prisma.TaskUpdateOneRequiredWithoutTagsNestedInput
|
||||
}
|
||||
@@ -278,6 +293,7 @@ export type TaskTagUpdateInput = {
|
||||
export type TaskTagUncheckedUpdateInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
taskUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
taskId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
@@ -285,18 +301,21 @@ export type TaskTagUncheckedUpdateInput = {
|
||||
export type TaskTagCreateManyInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
taskUuid: string
|
||||
taskId: number
|
||||
name: string
|
||||
}
|
||||
|
||||
export type TaskTagUpdateManyMutationInput = {
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
taskUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type TaskTagUncheckedUpdateManyInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
taskUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
taskId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
@@ -314,6 +333,7 @@ export type TaskTagOrderByRelationAggregateInput = {
|
||||
export type TaskTagCountOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
uuid?: Prisma.SortOrder
|
||||
taskUuid?: Prisma.SortOrder
|
||||
taskId?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
}
|
||||
@@ -326,6 +346,7 @@ export type TaskTagAvgOrderByAggregateInput = {
|
||||
export type TaskTagMaxOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
uuid?: Prisma.SortOrder
|
||||
taskUuid?: Prisma.SortOrder
|
||||
taskId?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
}
|
||||
@@ -333,6 +354,7 @@ export type TaskTagMaxOrderByAggregateInput = {
|
||||
export type TaskTagMinOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
uuid?: Prisma.SortOrder
|
||||
taskUuid?: Prisma.SortOrder
|
||||
taskId?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
}
|
||||
@@ -386,12 +408,14 @@ export type TaskTagUncheckedUpdateManyWithoutTaskNestedInput = {
|
||||
|
||||
export type TaskTagCreateWithoutTaskInput = {
|
||||
uuid: string
|
||||
taskUuid: string
|
||||
name: string
|
||||
}
|
||||
|
||||
export type TaskTagUncheckedCreateWithoutTaskInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
taskUuid: string
|
||||
name: string
|
||||
}
|
||||
|
||||
@@ -427,6 +451,7 @@ export type TaskTagScalarWhereInput = {
|
||||
NOT?: Prisma.TaskTagScalarWhereInput | Prisma.TaskTagScalarWhereInput[]
|
||||
id?: Prisma.IntFilter<"TaskTag"> | number
|
||||
uuid?: Prisma.StringFilter<"TaskTag"> | string
|
||||
taskUuid?: Prisma.StringFilter<"TaskTag"> | string
|
||||
taskId?: Prisma.IntFilter<"TaskTag"> | number
|
||||
name?: Prisma.StringFilter<"TaskTag"> | string
|
||||
}
|
||||
@@ -434,23 +459,27 @@ export type TaskTagScalarWhereInput = {
|
||||
export type TaskTagCreateManyTaskInput = {
|
||||
id?: number
|
||||
uuid: string
|
||||
taskUuid: string
|
||||
name: string
|
||||
}
|
||||
|
||||
export type TaskTagUpdateWithoutTaskInput = {
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
taskUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type TaskTagUncheckedUpdateWithoutTaskInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
taskUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type TaskTagUncheckedUpdateManyWithoutTaskInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
taskUuid?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
@@ -459,6 +488,7 @@ export type TaskTagUncheckedUpdateManyWithoutTaskInput = {
|
||||
export type TaskTagSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
uuid?: boolean
|
||||
taskUuid?: boolean
|
||||
taskId?: boolean
|
||||
name?: boolean
|
||||
task?: boolean | Prisma.TaskDefaultArgs<ExtArgs>
|
||||
@@ -467,6 +497,7 @@ export type TaskTagSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
||||
export type TaskTagSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
uuid?: boolean
|
||||
taskUuid?: boolean
|
||||
taskId?: boolean
|
||||
name?: boolean
|
||||
task?: boolean | Prisma.TaskDefaultArgs<ExtArgs>
|
||||
@@ -475,6 +506,7 @@ export type TaskTagSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Exten
|
||||
export type TaskTagSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
uuid?: boolean
|
||||
taskUuid?: boolean
|
||||
taskId?: boolean
|
||||
name?: boolean
|
||||
task?: boolean | Prisma.TaskDefaultArgs<ExtArgs>
|
||||
@@ -483,11 +515,12 @@ export type TaskTagSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Exten
|
||||
export type TaskTagSelectScalar = {
|
||||
id?: boolean
|
||||
uuid?: boolean
|
||||
taskUuid?: boolean
|
||||
taskId?: boolean
|
||||
name?: boolean
|
||||
}
|
||||
|
||||
export type TaskTagOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "taskId" | "name", ExtArgs["result"]["taskTag"]>
|
||||
export type TaskTagOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "taskUuid" | "taskId" | "name", ExtArgs["result"]["taskTag"]>
|
||||
export type TaskTagInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
task?: boolean | Prisma.TaskDefaultArgs<ExtArgs>
|
||||
}
|
||||
@@ -506,6 +539,7 @@ export type $TaskTagPayload<ExtArgs extends runtime.Types.Extensions.InternalArg
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: number
|
||||
uuid: string
|
||||
taskUuid: string
|
||||
taskId: number
|
||||
name: string
|
||||
}, ExtArgs["result"]["taskTag"]>
|
||||
@@ -934,6 +968,7 @@ export interface Prisma__TaskTagClient<T, Null = never, ExtArgs extends runtime.
|
||||
export interface TaskTagFieldRefs {
|
||||
readonly id: Prisma.FieldRef<"TaskTag", 'Int'>
|
||||
readonly uuid: Prisma.FieldRef<"TaskTag", 'String'>
|
||||
readonly taskUuid: Prisma.FieldRef<"TaskTag", 'String'>
|
||||
readonly taskId: Prisma.FieldRef<"TaskTag", 'Int'>
|
||||
readonly name: Prisma.FieldRef<"TaskTag", 'String'>
|
||||
}
|
||||
|
||||
@@ -0,0 +1,96 @@
|
||||
-- uuid 外键镜像 (PowerSync Sequential ID Mapping, 见 docs/V0.2/离线编辑模块/0.2.1实施方案.md §3)
|
||||
-- 目的: 同步流以 uuid 作为客户端主键 (离线新建行同步回填后本地 id 稳定不变),
|
||||
-- 外键列同步输出 uuid 镜像 (别名回 projectId/columnId/parentId/taskId), 客户端零改动。
|
||||
-- 镜像列由触发器维护: REST/Prisma 写 int 外键 -> 触发器回填 uuid; upload 端在应用层解析 uuid -> int。
|
||||
|
||||
-- 1) 加列 (先可空)
|
||||
ALTER TABLE "BoardColumn" ADD COLUMN "projectUuid" VARCHAR(36);
|
||||
ALTER TABLE "Task" ADD COLUMN "projectUuid" VARCHAR(36), ADD COLUMN "columnUuid" VARCHAR(36), ADD COLUMN "parentUuid" VARCHAR(36);
|
||||
ALTER TABLE "ProjectMember" ADD COLUMN "projectUuid" VARCHAR(36);
|
||||
ALTER TABLE "TaskMember" ADD COLUMN "taskUuid" VARCHAR(36);
|
||||
ALTER TABLE "TaskTag" ADD COLUMN "taskUuid" VARCHAR(36);
|
||||
|
||||
-- 2) 存量回填
|
||||
UPDATE "BoardColumn" c SET "projectUuid" = p."uuid" FROM "Project" p WHERE c."projectId" = p."id";
|
||||
UPDATE "Task" t SET "projectUuid" = p."uuid" FROM "Project" p WHERE t."projectId" = p."id";
|
||||
UPDATE "Task" t SET "columnUuid" = c."uuid" FROM "BoardColumn" c WHERE t."columnId" = c."id";
|
||||
UPDATE "Task" t SET "parentUuid" = pt."uuid" FROM "Task" pt WHERE t."parentId" = pt."id";
|
||||
UPDATE "ProjectMember" pm SET "projectUuid" = p."uuid" FROM "Project" p WHERE pm."projectId" = p."id";
|
||||
UPDATE "TaskMember" tm SET "taskUuid" = t."uuid" FROM "Task" t WHERE tm."taskId" = t."id";
|
||||
UPDATE "TaskTag" tt SET "taskUuid" = t."uuid" FROM "Task" t WHERE tt."taskId" = t."id";
|
||||
|
||||
-- 3) 非空约束
|
||||
ALTER TABLE "BoardColumn" ALTER COLUMN "projectUuid" SET NOT NULL;
|
||||
ALTER TABLE "Task" ALTER COLUMN "projectUuid" SET NOT NULL;
|
||||
ALTER TABLE "Task" ALTER COLUMN "columnUuid" SET NOT NULL;
|
||||
ALTER TABLE "ProjectMember" ALTER COLUMN "projectUuid" SET NOT NULL;
|
||||
ALTER TABLE "TaskMember" ALTER COLUMN "taskUuid" SET NOT NULL;
|
||||
ALTER TABLE "TaskTag" ALTER COLUMN "taskUuid" SET NOT NULL;
|
||||
|
||||
-- 4) 外键 (级联与 int 外键一致)
|
||||
ALTER TABLE "BoardColumn" ADD CONSTRAINT "BoardColumn_projectUuid_fkey" FOREIGN KEY ("projectUuid") REFERENCES "Project"("uuid") ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
ALTER TABLE "Task" ADD CONSTRAINT "Task_projectUuid_fkey" FOREIGN KEY ("projectUuid") REFERENCES "Project"("uuid") ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
ALTER TABLE "Task" ADD CONSTRAINT "Task_columnUuid_fkey" FOREIGN KEY ("columnUuid") REFERENCES "BoardColumn"("uuid") ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
ALTER TABLE "Task" ADD CONSTRAINT "Task_parentUuid_fkey" FOREIGN KEY ("parentUuid") REFERENCES "Task"("uuid") ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
ALTER TABLE "ProjectMember" ADD CONSTRAINT "ProjectMember_projectUuid_fkey" FOREIGN KEY ("projectUuid") REFERENCES "Project"("uuid") ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
ALTER TABLE "TaskMember" ADD CONSTRAINT "TaskMember_taskUuid_fkey" FOREIGN KEY ("taskUuid") REFERENCES "Task"("uuid") ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
ALTER TABLE "TaskTag" ADD CONSTRAINT "TaskTag_taskUuid_fkey" FOREIGN KEY ("taskUuid") REFERENCES "Task"("uuid") ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
|
||||
-- 5) 触发器: 写入时按 int 外键回填 uuid 镜像
|
||||
CREATE OR REPLACE FUNCTION "func_projectmember_uuid_map"() RETURNS TRIGGER AS $$
|
||||
BEGIN
|
||||
SELECT "uuid" INTO NEW."projectUuid" FROM "Project" WHERE "id" = NEW."projectId";
|
||||
IF NOT FOUND THEN RAISE EXCEPTION 'Project % 不存在', NEW."projectId"; END IF;
|
||||
RETURN NEW;
|
||||
END;
|
||||
$$ LANGUAGE plpgsql;
|
||||
CREATE TRIGGER "trg_projectmember_uuid_map" BEFORE INSERT OR UPDATE ON "ProjectMember"
|
||||
FOR EACH ROW EXECUTE FUNCTION "func_projectmember_uuid_map"();
|
||||
|
||||
CREATE OR REPLACE FUNCTION "func_boardcolumn_uuid_map"() RETURNS TRIGGER AS $$
|
||||
BEGIN
|
||||
SELECT "uuid" INTO NEW."projectUuid" FROM "Project" WHERE "id" = NEW."projectId";
|
||||
IF NOT FOUND THEN RAISE EXCEPTION 'Project % 不存在', NEW."projectId"; END IF;
|
||||
RETURN NEW;
|
||||
END;
|
||||
$$ LANGUAGE plpgsql;
|
||||
CREATE TRIGGER "trg_boardcolumn_uuid_map" BEFORE INSERT OR UPDATE ON "BoardColumn"
|
||||
FOR EACH ROW EXECUTE FUNCTION "func_boardcolumn_uuid_map"();
|
||||
|
||||
CREATE OR REPLACE FUNCTION "func_task_uuid_map"() RETURNS TRIGGER AS $$
|
||||
BEGIN
|
||||
SELECT "uuid" INTO NEW."projectUuid" FROM "Project" WHERE "id" = NEW."projectId";
|
||||
IF NOT FOUND THEN RAISE EXCEPTION 'Project % 不存在', NEW."projectId"; END IF;
|
||||
SELECT "uuid" INTO NEW."columnUuid" FROM "BoardColumn" WHERE "id" = NEW."columnId";
|
||||
IF NOT FOUND THEN RAISE EXCEPTION 'BoardColumn % 不存在', NEW."columnId"; END IF;
|
||||
IF NEW."parentId" IS NULL THEN
|
||||
NEW."parentUuid" := NULL;
|
||||
ELSE
|
||||
SELECT "uuid" INTO NEW."parentUuid" FROM "Task" WHERE "id" = NEW."parentId";
|
||||
IF NOT FOUND THEN RAISE EXCEPTION 'Task % 不存在', NEW."parentId"; END IF;
|
||||
END IF;
|
||||
RETURN NEW;
|
||||
END;
|
||||
$$ LANGUAGE plpgsql;
|
||||
CREATE TRIGGER "trg_task_uuid_map" BEFORE INSERT OR UPDATE ON "Task"
|
||||
FOR EACH ROW EXECUTE FUNCTION "func_task_uuid_map"();
|
||||
|
||||
CREATE OR REPLACE FUNCTION "func_taskmember_uuid_map"() RETURNS TRIGGER AS $$
|
||||
BEGIN
|
||||
SELECT "uuid" INTO NEW."taskUuid" FROM "Task" WHERE "id" = NEW."taskId";
|
||||
IF NOT FOUND THEN RAISE EXCEPTION 'Task % 不存在', NEW."taskId"; END IF;
|
||||
RETURN NEW;
|
||||
END;
|
||||
$$ LANGUAGE plpgsql;
|
||||
CREATE TRIGGER "trg_taskmember_uuid_map" BEFORE INSERT OR UPDATE ON "TaskMember"
|
||||
FOR EACH ROW EXECUTE FUNCTION "func_taskmember_uuid_map"();
|
||||
|
||||
CREATE OR REPLACE FUNCTION "func_tasktag_uuid_map"() RETURNS TRIGGER AS $$
|
||||
BEGIN
|
||||
SELECT "uuid" INTO NEW."taskUuid" FROM "Task" WHERE "id" = NEW."taskId";
|
||||
IF NOT FOUND THEN RAISE EXCEPTION 'Task % 不存在', NEW."taskId"; END IF;
|
||||
RETURN NEW;
|
||||
END;
|
||||
$$ LANGUAGE plpgsql;
|
||||
CREATE TRIGGER "trg_tasktag_uuid_map" BEFORE INSERT OR UPDATE ON "TaskTag"
|
||||
FOR EACH ROW EXECUTE FUNCTION "func_tasktag_uuid_map"();
|
||||
+11
-4
@@ -412,6 +412,7 @@ model Project {
|
||||
model ProjectMember {
|
||||
id Int @id @default(autoincrement())
|
||||
uuid String @unique @db.VarChar(36) // 同步标识: 客户端生成 (0.2.1 离线编辑)
|
||||
projectUuid String @db.VarChar(36) // 外键 uuid 镜像 (触发器维护)
|
||||
projectId Int
|
||||
project Project @relation(fields: [projectId], references: [id], onDelete: Cascade)
|
||||
userId Int
|
||||
@@ -426,6 +427,7 @@ model ProjectMember {
|
||||
model BoardColumn {
|
||||
id Int @id @default(autoincrement())
|
||||
uuid String @unique @db.VarChar(36) // 同步标识: 客户端生成 (0.2.1 离线编辑)
|
||||
projectUuid String @db.VarChar(36) // projectId 的 uuid 镜像 (触发器维护, 同步流输出用)
|
||||
projectId Int
|
||||
project Project @relation(fields: [projectId], references: [id], onDelete: Cascade)
|
||||
name String @db.VarChar(20)
|
||||
@@ -444,6 +446,9 @@ model BoardColumn {
|
||||
model Task {
|
||||
id Int @id @default(autoincrement())
|
||||
uuid String @unique @db.VarChar(36) // 同步标识: 客户端生成 (0.2.1 离线编辑)
|
||||
projectUuid String @db.VarChar(36) // 外键 uuid 镜像 (触发器维护, 同步流输出用)
|
||||
columnUuid String @db.VarChar(36)
|
||||
parentUuid String? @db.VarChar(36)
|
||||
projectId Int
|
||||
project Project @relation(fields: [projectId], references: [id], onDelete: Cascade)
|
||||
columnId Int
|
||||
@@ -482,8 +487,9 @@ model Task {
|
||||
}
|
||||
|
||||
model TaskMember {
|
||||
id Int @id @default(autoincrement())
|
||||
uuid String @unique @db.VarChar(36) // 同步标识: 客户端生成 (0.2.1 离线编辑)
|
||||
id Int @id @default(autoincrement())
|
||||
uuid String @unique @db.VarChar(36) // 同步标识: 客户端生成 (0.2.1 离线编辑)
|
||||
taskUuid String @db.VarChar(36) // 外键 uuid 镜像 (触发器维护)
|
||||
taskId Int
|
||||
task Task @relation(fields: [taskId], references: [id], onDelete: Cascade)
|
||||
userId Int
|
||||
@@ -493,8 +499,9 @@ model TaskMember {
|
||||
}
|
||||
|
||||
model TaskTag {
|
||||
id Int @id @default(autoincrement())
|
||||
uuid String @unique @db.VarChar(36) // 同步标识: 客户端生成 (0.2.1 离线编辑)
|
||||
id Int @id @default(autoincrement())
|
||||
uuid String @unique @db.VarChar(36) // 同步标识: 客户端生成 (0.2.1 离线编辑)
|
||||
taskUuid String @db.VarChar(36) // 外键 uuid 镜像 (触发器维护)
|
||||
taskId Int
|
||||
task Task @relation(fields: [taskId], references: [id], onDelete: Cascade)
|
||||
name String @db.VarChar(20)
|
||||
|
||||
Reference in New Issue
Block a user