Merge branch 'dev-0.2.1' into dev-0.2

# Conflicts:
#	generated/prisma/internal/class.ts
#	generated/prisma/internal/prismaNamespace.ts
#	generated/prisma/internal/prismaNamespaceBrowser.ts
#	generated/prisma/models/BoardColumn.ts
#	generated/prisma/models/Project.ts
#	generated/prisma/models/ProjectMember.ts
#	generated/prisma/models/Task.ts
#	generated/prisma/models/TaskMember.ts
#	generated/prisma/models/TaskTag.ts
#	generated/prisma/models/User.ts
#	server/routes/projects.js
#	server/routes/tasks.js
#	src/api/task.js
This commit is contained in:
jif2.zhang
2026-10-26 20:46:25 +08:00
95 changed files with 8694 additions and 1609 deletions
+237 -9
View File
@@ -38,6 +38,8 @@ export type ProjectSumAggregateOutputType = {
export type ProjectMinAggregateOutputType = {
id: number | null
uuid: string | null
code: string | null
name: string | null
ownerId: number | null
isPersonal: boolean | null
@@ -50,6 +52,8 @@ export type ProjectMinAggregateOutputType = {
export type ProjectMaxAggregateOutputType = {
id: number | null
uuid: string | null
code: string | null
name: string | null
ownerId: number | null
isPersonal: boolean | null
@@ -62,6 +66,8 @@ export type ProjectMaxAggregateOutputType = {
export type ProjectCountAggregateOutputType = {
id: number
uuid: number
code: number
name: number
ownerId: number
isPersonal: number
@@ -88,6 +94,8 @@ export type ProjectSumAggregateInputType = {
export type ProjectMinAggregateInputType = {
id?: true
uuid?: true
code?: true
name?: true
ownerId?: true
isPersonal?: true
@@ -100,6 +108,8 @@ export type ProjectMinAggregateInputType = {
export type ProjectMaxAggregateInputType = {
id?: true
uuid?: true
code?: true
name?: true
ownerId?: true
isPersonal?: true
@@ -112,6 +122,8 @@ export type ProjectMaxAggregateInputType = {
export type ProjectCountAggregateInputType = {
id?: true
uuid?: true
code?: true
name?: true
ownerId?: true
isPersonal?: true
@@ -213,6 +225,8 @@ export type ProjectGroupByArgs<ExtArgs extends runtime.Types.Extensions.Internal
export type ProjectGroupByOutputType = {
id: number
uuid: string
code: string
name: string
ownerId: number
isPersonal: boolean
@@ -250,6 +264,8 @@ export type ProjectWhereInput = {
OR?: Prisma.ProjectWhereInput[]
NOT?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[]
id?: Prisma.IntFilter<"Project"> | number
uuid?: Prisma.StringFilter<"Project"> | string
code?: Prisma.StringFilter<"Project"> | string
name?: Prisma.StringFilter<"Project"> | string
ownerId?: Prisma.IntFilter<"Project"> | number
isPersonal?: Prisma.BoolFilter<"Project"> | boolean
@@ -268,6 +284,8 @@ export type ProjectWhereInput = {
export type ProjectOrderByWithRelationInput = {
id?: Prisma.SortOrder
uuid?: Prisma.SortOrder
code?: Prisma.SortOrder
name?: Prisma.SortOrder
ownerId?: Prisma.SortOrder
isPersonal?: Prisma.SortOrder
@@ -282,11 +300,12 @@ export type ProjectOrderByWithRelationInput = {
members?: Prisma.ProjectMemberOrderByRelationAggregateInput
columns?: Prisma.BoardColumnOrderByRelationAggregateInput
tasks?: Prisma.TaskOrderByRelationAggregateInput
_relevance?: Prisma.ProjectOrderByRelevanceInput
}
export type ProjectWhereUniqueInput = Prisma.AtLeast<{
id?: number
uuid?: string
code?: string
AND?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[]
OR?: Prisma.ProjectWhereInput[]
NOT?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[]
@@ -304,10 +323,12 @@ export type ProjectWhereUniqueInput = Prisma.AtLeast<{
members?: Prisma.ProjectMemberListRelationFilter
columns?: Prisma.BoardColumnListRelationFilter
tasks?: Prisma.TaskListRelationFilter
}, "id">
}, "id" | "uuid" | "code">
export type ProjectOrderByWithAggregationInput = {
id?: Prisma.SortOrder
uuid?: Prisma.SortOrder
code?: Prisma.SortOrder
name?: Prisma.SortOrder
ownerId?: Prisma.SortOrder
isPersonal?: Prisma.SortOrder
@@ -330,6 +351,8 @@ export type ProjectScalarWhereWithAggregatesInput = {
OR?: Prisma.ProjectScalarWhereWithAggregatesInput[]
NOT?: Prisma.ProjectScalarWhereWithAggregatesInput | Prisma.ProjectScalarWhereWithAggregatesInput[]
id?: Prisma.IntWithAggregatesFilter<"Project"> | number
uuid?: Prisma.StringWithAggregatesFilter<"Project"> | string
code?: Prisma.StringWithAggregatesFilter<"Project"> | string
name?: Prisma.StringWithAggregatesFilter<"Project"> | string
ownerId?: Prisma.IntWithAggregatesFilter<"Project"> | number
isPersonal?: Prisma.BoolWithAggregatesFilter<"Project"> | boolean
@@ -343,6 +366,8 @@ export type ProjectScalarWhereWithAggregatesInput = {
}
export type ProjectCreateInput = {
uuid: string
code: string
name: string
isPersonal?: boolean
archived?: boolean
@@ -360,6 +385,8 @@ export type ProjectCreateInput = {
export type ProjectUncheckedCreateInput = {
id?: number
uuid: string
code: string
name: string
ownerId: number
isPersonal?: boolean
@@ -376,6 +403,8 @@ export type ProjectUncheckedCreateInput = {
}
export type ProjectUpdateInput = {
uuid?: Prisma.StringFieldUpdateOperationsInput | string
code?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
isPersonal?: Prisma.BoolFieldUpdateOperationsInput | boolean
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
@@ -393,6 +422,8 @@ export type ProjectUpdateInput = {
export type ProjectUncheckedUpdateInput = {
id?: Prisma.IntFieldUpdateOperationsInput | number
uuid?: Prisma.StringFieldUpdateOperationsInput | string
code?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
ownerId?: Prisma.IntFieldUpdateOperationsInput | number
isPersonal?: Prisma.BoolFieldUpdateOperationsInput | boolean
@@ -410,6 +441,8 @@ export type ProjectUncheckedUpdateInput = {
export type ProjectCreateManyInput = {
id?: number
uuid: string
code: string
name: string
ownerId: number
isPersonal?: boolean
@@ -423,6 +456,8 @@ export type ProjectCreateManyInput = {
}
export type ProjectUpdateManyMutationInput = {
uuid?: Prisma.StringFieldUpdateOperationsInput | string
code?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
isPersonal?: Prisma.BoolFieldUpdateOperationsInput | boolean
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
@@ -436,6 +471,8 @@ export type ProjectUpdateManyMutationInput = {
export type ProjectUncheckedUpdateManyInput = {
id?: Prisma.IntFieldUpdateOperationsInput | number
uuid?: Prisma.StringFieldUpdateOperationsInput | string
code?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
ownerId?: Prisma.IntFieldUpdateOperationsInput | number
isPersonal?: Prisma.BoolFieldUpdateOperationsInput | boolean
@@ -458,14 +495,10 @@ export type ProjectOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type ProjectOrderByRelevanceInput = {
fields: Prisma.ProjectOrderByRelevanceFieldEnum | Prisma.ProjectOrderByRelevanceFieldEnum[]
sort: Prisma.SortOrder
search: string
}
export type ProjectCountOrderByAggregateInput = {
id?: Prisma.SortOrder
uuid?: Prisma.SortOrder
code?: Prisma.SortOrder
name?: Prisma.SortOrder
ownerId?: Prisma.SortOrder
isPersonal?: Prisma.SortOrder
@@ -485,6 +518,8 @@ export type ProjectAvgOrderByAggregateInput = {
export type ProjectMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
uuid?: Prisma.SortOrder
code?: Prisma.SortOrder
name?: Prisma.SortOrder
ownerId?: Prisma.SortOrder
isPersonal?: Prisma.SortOrder
@@ -497,6 +532,8 @@ export type ProjectMaxOrderByAggregateInput = {
export type ProjectMinOrderByAggregateInput = {
id?: Prisma.SortOrder
uuid?: Prisma.SortOrder
code?: Prisma.SortOrder
name?: Prisma.SortOrder
ownerId?: Prisma.SortOrder
isPersonal?: Prisma.SortOrder
@@ -602,6 +639,8 @@ export type ProjectUpdateOneRequiredWithoutTasksNestedInput = {
}
export type ProjectCreateWithoutOwnerInput = {
uuid: string
code: string
name: string
isPersonal?: boolean
archived?: boolean
@@ -618,6 +657,8 @@ export type ProjectCreateWithoutOwnerInput = {
export type ProjectUncheckedCreateWithoutOwnerInput = {
id?: number
uuid: string
code: string
name: string
isPersonal?: boolean
archived?: boolean
@@ -663,6 +704,8 @@ export type ProjectScalarWhereInput = {
OR?: Prisma.ProjectScalarWhereInput[]
NOT?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[]
id?: Prisma.IntFilter<"Project"> | number
uuid?: Prisma.StringFilter<"Project"> | string
code?: Prisma.StringFilter<"Project"> | string
name?: Prisma.StringFilter<"Project"> | string
ownerId?: Prisma.IntFilter<"Project"> | number
isPersonal?: Prisma.BoolFilter<"Project"> | boolean
@@ -676,6 +719,8 @@ export type ProjectScalarWhereInput = {
}
export type ProjectCreateWithoutMembersInput = {
uuid: string
code: string
name: string
isPersonal?: boolean
archived?: boolean
@@ -692,6 +737,8 @@ export type ProjectCreateWithoutMembersInput = {
export type ProjectUncheckedCreateWithoutMembersInput = {
id?: number
uuid: string
code: string
name: string
ownerId: number
isPersonal?: boolean
@@ -723,6 +770,8 @@ export type ProjectUpdateToOneWithWhereWithoutMembersInput = {
}
export type ProjectUpdateWithoutMembersInput = {
uuid?: Prisma.StringFieldUpdateOperationsInput | string
code?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
isPersonal?: Prisma.BoolFieldUpdateOperationsInput | boolean
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
@@ -739,6 +788,8 @@ export type ProjectUpdateWithoutMembersInput = {
export type ProjectUncheckedUpdateWithoutMembersInput = {
id?: Prisma.IntFieldUpdateOperationsInput | number
uuid?: Prisma.StringFieldUpdateOperationsInput | string
code?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
ownerId?: Prisma.IntFieldUpdateOperationsInput | number
isPersonal?: Prisma.BoolFieldUpdateOperationsInput | boolean
@@ -754,6 +805,8 @@ export type ProjectUncheckedUpdateWithoutMembersInput = {
}
export type ProjectCreateWithoutColumnsInput = {
uuid: string
code: string
name: string
isPersonal?: boolean
archived?: boolean
@@ -770,6 +823,8 @@ export type ProjectCreateWithoutColumnsInput = {
export type ProjectUncheckedCreateWithoutColumnsInput = {
id?: number
uuid: string
code: string
name: string
ownerId: number
isPersonal?: boolean
@@ -801,6 +856,8 @@ export type ProjectUpdateToOneWithWhereWithoutColumnsInput = {
}
export type ProjectUpdateWithoutColumnsInput = {
uuid?: Prisma.StringFieldUpdateOperationsInput | string
code?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
isPersonal?: Prisma.BoolFieldUpdateOperationsInput | boolean
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
@@ -817,6 +874,8 @@ export type ProjectUpdateWithoutColumnsInput = {
export type ProjectUncheckedUpdateWithoutColumnsInput = {
id?: Prisma.IntFieldUpdateOperationsInput | number
uuid?: Prisma.StringFieldUpdateOperationsInput | string
code?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
ownerId?: Prisma.IntFieldUpdateOperationsInput | number
isPersonal?: Prisma.BoolFieldUpdateOperationsInput | boolean
@@ -832,6 +891,8 @@ export type ProjectUncheckedUpdateWithoutColumnsInput = {
}
export type ProjectCreateWithoutTasksInput = {
uuid: string
code: string
name: string
isPersonal?: boolean
archived?: boolean
@@ -848,6 +909,8 @@ export type ProjectCreateWithoutTasksInput = {
export type ProjectUncheckedCreateWithoutTasksInput = {
id?: number
uuid: string
code: string
name: string
ownerId: number
isPersonal?: boolean
@@ -879,6 +942,8 @@ export type ProjectUpdateToOneWithWhereWithoutTasksInput = {
}
export type ProjectUpdateWithoutTasksInput = {
uuid?: Prisma.StringFieldUpdateOperationsInput | string
code?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
isPersonal?: Prisma.BoolFieldUpdateOperationsInput | boolean
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
@@ -895,6 +960,8 @@ export type ProjectUpdateWithoutTasksInput = {
export type ProjectUncheckedUpdateWithoutTasksInput = {
id?: Prisma.IntFieldUpdateOperationsInput | number
uuid?: Prisma.StringFieldUpdateOperationsInput | string
code?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
ownerId?: Prisma.IntFieldUpdateOperationsInput | number
isPersonal?: Prisma.BoolFieldUpdateOperationsInput | boolean
@@ -911,6 +978,8 @@ export type ProjectUncheckedUpdateWithoutTasksInput = {
export type ProjectCreateManyOwnerInput = {
id?: number
uuid: string
code: string
name: string
isPersonal?: boolean
archived?: boolean
@@ -923,6 +992,8 @@ export type ProjectCreateManyOwnerInput = {
}
export type ProjectUpdateWithoutOwnerInput = {
uuid?: Prisma.StringFieldUpdateOperationsInput | string
code?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
isPersonal?: Prisma.BoolFieldUpdateOperationsInput | boolean
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
@@ -939,6 +1010,8 @@ export type ProjectUpdateWithoutOwnerInput = {
export type ProjectUncheckedUpdateWithoutOwnerInput = {
id?: Prisma.IntFieldUpdateOperationsInput | number
uuid?: Prisma.StringFieldUpdateOperationsInput | string
code?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
isPersonal?: Prisma.BoolFieldUpdateOperationsInput | boolean
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
@@ -955,6 +1028,8 @@ export type ProjectUncheckedUpdateWithoutOwnerInput = {
export type ProjectUncheckedUpdateManyWithoutOwnerInput = {
id?: Prisma.IntFieldUpdateOperationsInput | number
uuid?: Prisma.StringFieldUpdateOperationsInput | string
code?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
isPersonal?: Prisma.BoolFieldUpdateOperationsInput | boolean
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
@@ -1017,6 +1092,8 @@ export type ProjectCountOutputTypeCountTasksArgs<ExtArgs extends runtime.Types.E
export type ProjectSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
uuid?: boolean
code?: boolean
name?: boolean
ownerId?: boolean
isPersonal?: boolean
@@ -1034,10 +1111,44 @@ export type ProjectSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
_count?: boolean | Prisma.ProjectCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["project"]>
export type ProjectSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
uuid?: boolean
code?: boolean
name?: boolean
ownerId?: boolean
isPersonal?: boolean
archived?: boolean
notes?: boolean
taskKinds?: boolean
icon?: boolean
autoArchive?: boolean
createdAt?: boolean
updatedAt?: boolean
owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
}, ExtArgs["result"]["project"]>
export type ProjectSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
uuid?: boolean
code?: boolean
name?: boolean
ownerId?: boolean
isPersonal?: boolean
archived?: boolean
notes?: boolean
taskKinds?: boolean
icon?: boolean
autoArchive?: boolean
createdAt?: boolean
updatedAt?: boolean
owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
}, ExtArgs["result"]["project"]>
export type ProjectSelectScalar = {
id?: boolean
uuid?: boolean
code?: boolean
name?: boolean
ownerId?: boolean
isPersonal?: boolean
@@ -1050,7 +1161,7 @@ export type ProjectSelectScalar = {
updatedAt?: boolean
}
export type ProjectOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "ownerId" | "isPersonal" | "archived" | "notes" | "taskKinds" | "icon" | "autoArchive" | "createdAt" | "updatedAt", ExtArgs["result"]["project"]>
export type ProjectOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "code" | "name" | "ownerId" | "isPersonal" | "archived" | "notes" | "taskKinds" | "icon" | "autoArchive" | "createdAt" | "updatedAt", ExtArgs["result"]["project"]>
export type ProjectInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
members?: boolean | Prisma.Project$membersArgs<ExtArgs>
@@ -1058,6 +1169,12 @@ export type ProjectInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs
tasks?: boolean | Prisma.Project$tasksArgs<ExtArgs>
_count?: boolean | Prisma.ProjectCountOutputTypeDefaultArgs<ExtArgs>
}
export type ProjectIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
}
export type ProjectIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
}
export type $ProjectPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "Project"
@@ -1069,6 +1186,8 @@ export type $ProjectPayload<ExtArgs extends runtime.Types.Extensions.InternalArg
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: number
uuid: string
code: string
name: string
ownerId: number
isPersonal: boolean
@@ -1196,6 +1315,30 @@ export interface ProjectDelegate<ExtArgs extends runtime.Types.Extensions.Intern
*/
createMany<T extends ProjectCreateManyArgs>(args?: Prisma.SelectSubset<T, ProjectCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many Projects and returns the data saved in the database.
* @param {ProjectCreateManyAndReturnArgs} args - Arguments to create many Projects.
* @example
* // Create many Projects
* const project = await prisma.project.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many Projects and only return the `id`
* const projectWithIdOnly = await prisma.project.createManyAndReturn({
* select: { id: true },
* data: [
* // ... provide data here
* ]
* })
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
*
*/
createManyAndReturn<T extends ProjectCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProjectCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a Project.
* @param {ProjectDeleteArgs} args - Arguments to delete one Project.
@@ -1260,6 +1403,36 @@ export interface ProjectDelegate<ExtArgs extends runtime.Types.Extensions.Intern
*/
updateMany<T extends ProjectUpdateManyArgs>(args: Prisma.SelectSubset<T, ProjectUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Projects and returns the data updated in the database.
* @param {ProjectUpdateManyAndReturnArgs} args - Arguments to update many Projects.
* @example
* // Update many Projects
* const project = await prisma.project.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more Projects and only return the `id`
* const projectWithIdOnly = await prisma.project.updateManyAndReturn({
* select: { id: true },
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
*
*/
updateManyAndReturn<T extends ProjectUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProjectUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one Project.
* @param {ProjectUpsertArgs} args - Arguments to update or create a Project.
@@ -1453,6 +1626,8 @@ export interface Prisma__ProjectClient<T, Null = never, ExtArgs extends runtime.
*/
export interface ProjectFieldRefs {
readonly id: Prisma.FieldRef<"Project", 'Int'>
readonly uuid: Prisma.FieldRef<"Project", 'String'>
readonly code: Prisma.FieldRef<"Project", 'String'>
readonly name: Prisma.FieldRef<"Project", 'String'>
readonly ownerId: Prisma.FieldRef<"Project", 'Int'>
readonly isPersonal: Prisma.FieldRef<"Project", 'Boolean'>
@@ -1700,6 +1875,29 @@ export type ProjectCreateManyArgs<ExtArgs extends runtime.Types.Extensions.Inter
skipDuplicates?: boolean
}
/**
* Project createManyAndReturn
*/
export type ProjectCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Project
*/
select?: Prisma.ProjectSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the Project
*/
omit?: Prisma.ProjectOmit<ExtArgs> | null
/**
* The data used to create many Projects.
*/
data: Prisma.ProjectCreateManyInput | Prisma.ProjectCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ProjectIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* Project update
*/
@@ -1744,6 +1942,36 @@ export type ProjectUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.Inter
limit?: number
}
/**
* Project updateManyAndReturn
*/
export type ProjectUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Project
*/
select?: Prisma.ProjectSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the Project
*/
omit?: Prisma.ProjectOmit<ExtArgs> | null
/**
* The data used to update Projects.
*/
data: Prisma.XOR<Prisma.ProjectUpdateManyMutationInput, Prisma.ProjectUncheckedUpdateManyInput>
/**
* Filter which Projects to update
*/
where?: Prisma.ProjectWhereInput
/**
* Limit how many Projects to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ProjectIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* Project upsert
*/