/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `project_manager_task` model and its related types. * * 🟢 You can import this file directly. */ import type * as runtime from "@prisma/client/runtime/client" import type * as $Enums from "../enums" import type * as Prisma from "../internal/prismaNamespace" /** * Model project_manager_task * */ export type project_manager_taskModel = runtime.Types.Result.DefaultSelection export type AggregateProject_manager_task = { _count: Project_manager_taskCountAggregateOutputType | null _avg: Project_manager_taskAvgAggregateOutputType | null _sum: Project_manager_taskSumAggregateOutputType | null _min: Project_manager_taskMinAggregateOutputType | null _max: Project_manager_taskMaxAggregateOutputType | null } export type Project_manager_taskAvgAggregateOutputType = { id: number | null category_id: number | null pos: number | null deadline_watch: number | null priority: number | null create_by: number | null } export type Project_manager_taskSumAggregateOutputType = { id: number | null category_id: number | null pos: number | null deadline_watch: number | null priority: number | null create_by: number | null } export type Project_manager_taskMinAggregateOutputType = { id: number | null category_id: number | null pos: number | null titre: string | null color: string | null text_color: string | null desc: string | null ticket_id: string | null date_start: string | null date_deadline: string | null deadline_watch: number | null assign_staff: string | null priority: number | null done: boolean | null create_by: number | null date_creation: string | null date_update: string | null } export type Project_manager_taskMaxAggregateOutputType = { id: number | null category_id: number | null pos: number | null titre: string | null color: string | null text_color: string | null desc: string | null ticket_id: string | null date_start: string | null date_deadline: string | null deadline_watch: number | null assign_staff: string | null priority: number | null done: boolean | null create_by: number | null date_creation: string | null date_update: string | null } export type Project_manager_taskCountAggregateOutputType = { id: number category_id: number pos: number titre: number color: number text_color: number desc: number ticket_id: number date_start: number date_deadline: number deadline_watch: number assign_staff: number priority: number done: number create_by: number date_creation: number date_update: number _all: number } export type Project_manager_taskAvgAggregateInputType = { id?: true category_id?: true pos?: true deadline_watch?: true priority?: true create_by?: true } export type Project_manager_taskSumAggregateInputType = { id?: true category_id?: true pos?: true deadline_watch?: true priority?: true create_by?: true } export type Project_manager_taskMinAggregateInputType = { id?: true category_id?: true pos?: true titre?: true color?: true text_color?: true desc?: true ticket_id?: true date_start?: true date_deadline?: true deadline_watch?: true assign_staff?: true priority?: true done?: true create_by?: true date_creation?: true date_update?: true } export type Project_manager_taskMaxAggregateInputType = { id?: true category_id?: true pos?: true titre?: true color?: true text_color?: true desc?: true ticket_id?: true date_start?: true date_deadline?: true deadline_watch?: true assign_staff?: true priority?: true done?: true create_by?: true date_creation?: true date_update?: true } export type Project_manager_taskCountAggregateInputType = { id?: true category_id?: true pos?: true titre?: true color?: true text_color?: true desc?: true ticket_id?: true date_start?: true date_deadline?: true deadline_watch?: true assign_staff?: true priority?: true done?: true create_by?: true date_creation?: true date_update?: true _all?: true } export type Project_manager_taskAggregateArgs = { /** * Filter which project_manager_task to aggregate. */ where?: Prisma.project_manager_taskWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of project_manager_tasks to fetch. */ orderBy?: Prisma.project_manager_taskOrderByWithRelationInput | Prisma.project_manager_taskOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.project_manager_taskWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` project_manager_tasks from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` project_manager_tasks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned project_manager_tasks **/ _count?: true | Project_manager_taskCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Project_manager_taskAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Project_manager_taskSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Project_manager_taskMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Project_manager_taskMaxAggregateInputType } export type GetProject_manager_taskAggregateType = { [P in keyof T & keyof AggregateProject_manager_task]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type project_manager_taskGroupByArgs = { where?: Prisma.project_manager_taskWhereInput orderBy?: Prisma.project_manager_taskOrderByWithAggregationInput | Prisma.project_manager_taskOrderByWithAggregationInput[] by: Prisma.Project_manager_taskScalarFieldEnum[] | Prisma.Project_manager_taskScalarFieldEnum having?: Prisma.project_manager_taskScalarWhereWithAggregatesInput take?: number skip?: number _count?: Project_manager_taskCountAggregateInputType | true _avg?: Project_manager_taskAvgAggregateInputType _sum?: Project_manager_taskSumAggregateInputType _min?: Project_manager_taskMinAggregateInputType _max?: Project_manager_taskMaxAggregateInputType } export type Project_manager_taskGroupByOutputType = { id: number category_id: number pos: number titre: string color: string text_color: string desc: string ticket_id: string | null date_start: string | null date_deadline: string | null deadline_watch: number assign_staff: string | null priority: number done: boolean create_by: number date_creation: string | null date_update: string | null _count: Project_manager_taskCountAggregateOutputType | null _avg: Project_manager_taskAvgAggregateOutputType | null _sum: Project_manager_taskSumAggregateOutputType | null _min: Project_manager_taskMinAggregateOutputType | null _max: Project_manager_taskMaxAggregateOutputType | null } type GetProject_manager_taskGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Project_manager_taskGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type project_manager_taskWhereInput = { AND?: Prisma.project_manager_taskWhereInput | Prisma.project_manager_taskWhereInput[] OR?: Prisma.project_manager_taskWhereInput[] NOT?: Prisma.project_manager_taskWhereInput | Prisma.project_manager_taskWhereInput[] id?: Prisma.IntFilter<"project_manager_task"> | number category_id?: Prisma.IntFilter<"project_manager_task"> | number pos?: Prisma.IntFilter<"project_manager_task"> | number titre?: Prisma.StringFilter<"project_manager_task"> | string color?: Prisma.StringFilter<"project_manager_task"> | string text_color?: Prisma.StringFilter<"project_manager_task"> | string desc?: Prisma.StringFilter<"project_manager_task"> | string ticket_id?: Prisma.StringNullableFilter<"project_manager_task"> | string | null date_start?: Prisma.StringNullableFilter<"project_manager_task"> | string | null date_deadline?: Prisma.StringNullableFilter<"project_manager_task"> | string | null deadline_watch?: Prisma.IntFilter<"project_manager_task"> | number assign_staff?: Prisma.StringNullableFilter<"project_manager_task"> | string | null priority?: Prisma.IntFilter<"project_manager_task"> | number done?: Prisma.BoolFilter<"project_manager_task"> | boolean create_by?: Prisma.IntFilter<"project_manager_task"> | number date_creation?: Prisma.StringNullableFilter<"project_manager_task"> | string | null date_update?: Prisma.StringNullableFilter<"project_manager_task"> | string | null } export type project_manager_taskOrderByWithRelationInput = { id?: Prisma.SortOrder category_id?: Prisma.SortOrder pos?: Prisma.SortOrder titre?: Prisma.SortOrder color?: Prisma.SortOrder text_color?: Prisma.SortOrder desc?: Prisma.SortOrder ticket_id?: Prisma.SortOrderInput | Prisma.SortOrder date_start?: Prisma.SortOrderInput | Prisma.SortOrder date_deadline?: Prisma.SortOrderInput | Prisma.SortOrder deadline_watch?: Prisma.SortOrder assign_staff?: Prisma.SortOrderInput | Prisma.SortOrder priority?: Prisma.SortOrder done?: Prisma.SortOrder create_by?: Prisma.SortOrder date_creation?: Prisma.SortOrderInput | Prisma.SortOrder date_update?: Prisma.SortOrderInput | Prisma.SortOrder _relevance?: Prisma.project_manager_taskOrderByRelevanceInput } export type project_manager_taskWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.project_manager_taskWhereInput | Prisma.project_manager_taskWhereInput[] OR?: Prisma.project_manager_taskWhereInput[] NOT?: Prisma.project_manager_taskWhereInput | Prisma.project_manager_taskWhereInput[] category_id?: Prisma.IntFilter<"project_manager_task"> | number pos?: Prisma.IntFilter<"project_manager_task"> | number titre?: Prisma.StringFilter<"project_manager_task"> | string color?: Prisma.StringFilter<"project_manager_task"> | string text_color?: Prisma.StringFilter<"project_manager_task"> | string desc?: Prisma.StringFilter<"project_manager_task"> | string ticket_id?: Prisma.StringNullableFilter<"project_manager_task"> | string | null date_start?: Prisma.StringNullableFilter<"project_manager_task"> | string | null date_deadline?: Prisma.StringNullableFilter<"project_manager_task"> | string | null deadline_watch?: Prisma.IntFilter<"project_manager_task"> | number assign_staff?: Prisma.StringNullableFilter<"project_manager_task"> | string | null priority?: Prisma.IntFilter<"project_manager_task"> | number done?: Prisma.BoolFilter<"project_manager_task"> | boolean create_by?: Prisma.IntFilter<"project_manager_task"> | number date_creation?: Prisma.StringNullableFilter<"project_manager_task"> | string | null date_update?: Prisma.StringNullableFilter<"project_manager_task"> | string | null }, "id"> export type project_manager_taskOrderByWithAggregationInput = { id?: Prisma.SortOrder category_id?: Prisma.SortOrder pos?: Prisma.SortOrder titre?: Prisma.SortOrder color?: Prisma.SortOrder text_color?: Prisma.SortOrder desc?: Prisma.SortOrder ticket_id?: Prisma.SortOrderInput | Prisma.SortOrder date_start?: Prisma.SortOrderInput | Prisma.SortOrder date_deadline?: Prisma.SortOrderInput | Prisma.SortOrder deadline_watch?: Prisma.SortOrder assign_staff?: Prisma.SortOrderInput | Prisma.SortOrder priority?: Prisma.SortOrder done?: Prisma.SortOrder create_by?: Prisma.SortOrder date_creation?: Prisma.SortOrderInput | Prisma.SortOrder date_update?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.project_manager_taskCountOrderByAggregateInput _avg?: Prisma.project_manager_taskAvgOrderByAggregateInput _max?: Prisma.project_manager_taskMaxOrderByAggregateInput _min?: Prisma.project_manager_taskMinOrderByAggregateInput _sum?: Prisma.project_manager_taskSumOrderByAggregateInput } export type project_manager_taskScalarWhereWithAggregatesInput = { AND?: Prisma.project_manager_taskScalarWhereWithAggregatesInput | Prisma.project_manager_taskScalarWhereWithAggregatesInput[] OR?: Prisma.project_manager_taskScalarWhereWithAggregatesInput[] NOT?: Prisma.project_manager_taskScalarWhereWithAggregatesInput | Prisma.project_manager_taskScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"project_manager_task"> | number category_id?: Prisma.IntWithAggregatesFilter<"project_manager_task"> | number pos?: Prisma.IntWithAggregatesFilter<"project_manager_task"> | number titre?: Prisma.StringWithAggregatesFilter<"project_manager_task"> | string color?: Prisma.StringWithAggregatesFilter<"project_manager_task"> | string text_color?: Prisma.StringWithAggregatesFilter<"project_manager_task"> | string desc?: Prisma.StringWithAggregatesFilter<"project_manager_task"> | string ticket_id?: Prisma.StringNullableWithAggregatesFilter<"project_manager_task"> | string | null date_start?: Prisma.StringNullableWithAggregatesFilter<"project_manager_task"> | string | null date_deadline?: Prisma.StringNullableWithAggregatesFilter<"project_manager_task"> | string | null deadline_watch?: Prisma.IntWithAggregatesFilter<"project_manager_task"> | number assign_staff?: Prisma.StringNullableWithAggregatesFilter<"project_manager_task"> | string | null priority?: Prisma.IntWithAggregatesFilter<"project_manager_task"> | number done?: Prisma.BoolWithAggregatesFilter<"project_manager_task"> | boolean create_by?: Prisma.IntWithAggregatesFilter<"project_manager_task"> | number date_creation?: Prisma.StringNullableWithAggregatesFilter<"project_manager_task"> | string | null date_update?: Prisma.StringNullableWithAggregatesFilter<"project_manager_task"> | string | null } export type project_manager_taskCreateInput = { category_id: number pos: number titre: string color?: string text_color?: string desc: string ticket_id?: string | null date_start?: string | null date_deadline?: string | null deadline_watch?: number assign_staff?: string | null priority?: number done?: boolean create_by: number date_creation?: string | null date_update?: string | null } export type project_manager_taskUncheckedCreateInput = { id?: number category_id: number pos: number titre: string color?: string text_color?: string desc: string ticket_id?: string | null date_start?: string | null date_deadline?: string | null deadline_watch?: number assign_staff?: string | null priority?: number done?: boolean create_by: number date_creation?: string | null date_update?: string | null } export type project_manager_taskUpdateInput = { category_id?: Prisma.IntFieldUpdateOperationsInput | number pos?: Prisma.IntFieldUpdateOperationsInput | number titre?: Prisma.StringFieldUpdateOperationsInput | string color?: Prisma.StringFieldUpdateOperationsInput | string text_color?: Prisma.StringFieldUpdateOperationsInput | string desc?: Prisma.StringFieldUpdateOperationsInput | string ticket_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null date_start?: Prisma.NullableStringFieldUpdateOperationsInput | string | null date_deadline?: Prisma.NullableStringFieldUpdateOperationsInput | string | null deadline_watch?: Prisma.IntFieldUpdateOperationsInput | number assign_staff?: Prisma.NullableStringFieldUpdateOperationsInput | string | null priority?: Prisma.IntFieldUpdateOperationsInput | number done?: Prisma.BoolFieldUpdateOperationsInput | boolean create_by?: Prisma.IntFieldUpdateOperationsInput | number date_creation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null date_update?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type project_manager_taskUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number category_id?: Prisma.IntFieldUpdateOperationsInput | number pos?: Prisma.IntFieldUpdateOperationsInput | number titre?: Prisma.StringFieldUpdateOperationsInput | string color?: Prisma.StringFieldUpdateOperationsInput | string text_color?: Prisma.StringFieldUpdateOperationsInput | string desc?: Prisma.StringFieldUpdateOperationsInput | string ticket_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null date_start?: Prisma.NullableStringFieldUpdateOperationsInput | string | null date_deadline?: Prisma.NullableStringFieldUpdateOperationsInput | string | null deadline_watch?: Prisma.IntFieldUpdateOperationsInput | number assign_staff?: Prisma.NullableStringFieldUpdateOperationsInput | string | null priority?: Prisma.IntFieldUpdateOperationsInput | number done?: Prisma.BoolFieldUpdateOperationsInput | boolean create_by?: Prisma.IntFieldUpdateOperationsInput | number date_creation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null date_update?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type project_manager_taskCreateManyInput = { id?: number category_id: number pos: number titre: string color?: string text_color?: string desc: string ticket_id?: string | null date_start?: string | null date_deadline?: string | null deadline_watch?: number assign_staff?: string | null priority?: number done?: boolean create_by: number date_creation?: string | null date_update?: string | null } export type project_manager_taskUpdateManyMutationInput = { category_id?: Prisma.IntFieldUpdateOperationsInput | number pos?: Prisma.IntFieldUpdateOperationsInput | number titre?: Prisma.StringFieldUpdateOperationsInput | string color?: Prisma.StringFieldUpdateOperationsInput | string text_color?: Prisma.StringFieldUpdateOperationsInput | string desc?: Prisma.StringFieldUpdateOperationsInput | string ticket_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null date_start?: Prisma.NullableStringFieldUpdateOperationsInput | string | null date_deadline?: Prisma.NullableStringFieldUpdateOperationsInput | string | null deadline_watch?: Prisma.IntFieldUpdateOperationsInput | number assign_staff?: Prisma.NullableStringFieldUpdateOperationsInput | string | null priority?: Prisma.IntFieldUpdateOperationsInput | number done?: Prisma.BoolFieldUpdateOperationsInput | boolean create_by?: Prisma.IntFieldUpdateOperationsInput | number date_creation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null date_update?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type project_manager_taskUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number category_id?: Prisma.IntFieldUpdateOperationsInput | number pos?: Prisma.IntFieldUpdateOperationsInput | number titre?: Prisma.StringFieldUpdateOperationsInput | string color?: Prisma.StringFieldUpdateOperationsInput | string text_color?: Prisma.StringFieldUpdateOperationsInput | string desc?: Prisma.StringFieldUpdateOperationsInput | string ticket_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null date_start?: Prisma.NullableStringFieldUpdateOperationsInput | string | null date_deadline?: Prisma.NullableStringFieldUpdateOperationsInput | string | null deadline_watch?: Prisma.IntFieldUpdateOperationsInput | number assign_staff?: Prisma.NullableStringFieldUpdateOperationsInput | string | null priority?: Prisma.IntFieldUpdateOperationsInput | number done?: Prisma.BoolFieldUpdateOperationsInput | boolean create_by?: Prisma.IntFieldUpdateOperationsInput | number date_creation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null date_update?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type project_manager_taskOrderByRelevanceInput = { fields: Prisma.project_manager_taskOrderByRelevanceFieldEnum | Prisma.project_manager_taskOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type project_manager_taskCountOrderByAggregateInput = { id?: Prisma.SortOrder category_id?: Prisma.SortOrder pos?: Prisma.SortOrder titre?: Prisma.SortOrder color?: Prisma.SortOrder text_color?: Prisma.SortOrder desc?: Prisma.SortOrder ticket_id?: Prisma.SortOrder date_start?: Prisma.SortOrder date_deadline?: Prisma.SortOrder deadline_watch?: Prisma.SortOrder assign_staff?: Prisma.SortOrder priority?: Prisma.SortOrder done?: Prisma.SortOrder create_by?: Prisma.SortOrder date_creation?: Prisma.SortOrder date_update?: Prisma.SortOrder } export type project_manager_taskAvgOrderByAggregateInput = { id?: Prisma.SortOrder category_id?: Prisma.SortOrder pos?: Prisma.SortOrder deadline_watch?: Prisma.SortOrder priority?: Prisma.SortOrder create_by?: Prisma.SortOrder } export type project_manager_taskMaxOrderByAggregateInput = { id?: Prisma.SortOrder category_id?: Prisma.SortOrder pos?: Prisma.SortOrder titre?: Prisma.SortOrder color?: Prisma.SortOrder text_color?: Prisma.SortOrder desc?: Prisma.SortOrder ticket_id?: Prisma.SortOrder date_start?: Prisma.SortOrder date_deadline?: Prisma.SortOrder deadline_watch?: Prisma.SortOrder assign_staff?: Prisma.SortOrder priority?: Prisma.SortOrder done?: Prisma.SortOrder create_by?: Prisma.SortOrder date_creation?: Prisma.SortOrder date_update?: Prisma.SortOrder } export type project_manager_taskMinOrderByAggregateInput = { id?: Prisma.SortOrder category_id?: Prisma.SortOrder pos?: Prisma.SortOrder titre?: Prisma.SortOrder color?: Prisma.SortOrder text_color?: Prisma.SortOrder desc?: Prisma.SortOrder ticket_id?: Prisma.SortOrder date_start?: Prisma.SortOrder date_deadline?: Prisma.SortOrder deadline_watch?: Prisma.SortOrder assign_staff?: Prisma.SortOrder priority?: Prisma.SortOrder done?: Prisma.SortOrder create_by?: Prisma.SortOrder date_creation?: Prisma.SortOrder date_update?: Prisma.SortOrder } export type project_manager_taskSumOrderByAggregateInput = { id?: Prisma.SortOrder category_id?: Prisma.SortOrder pos?: Prisma.SortOrder deadline_watch?: Prisma.SortOrder priority?: Prisma.SortOrder create_by?: Prisma.SortOrder } export type project_manager_taskSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean category_id?: boolean pos?: boolean titre?: boolean color?: boolean text_color?: boolean desc?: boolean ticket_id?: boolean date_start?: boolean date_deadline?: boolean deadline_watch?: boolean assign_staff?: boolean priority?: boolean done?: boolean create_by?: boolean date_creation?: boolean date_update?: boolean }, ExtArgs["result"]["project_manager_task"]> export type project_manager_taskSelectScalar = { id?: boolean category_id?: boolean pos?: boolean titre?: boolean color?: boolean text_color?: boolean desc?: boolean ticket_id?: boolean date_start?: boolean date_deadline?: boolean deadline_watch?: boolean assign_staff?: boolean priority?: boolean done?: boolean create_by?: boolean date_creation?: boolean date_update?: boolean } export type project_manager_taskOmit = runtime.Types.Extensions.GetOmit<"id" | "category_id" | "pos" | "titre" | "color" | "text_color" | "desc" | "ticket_id" | "date_start" | "date_deadline" | "deadline_watch" | "assign_staff" | "priority" | "done" | "create_by" | "date_creation" | "date_update", ExtArgs["result"]["project_manager_task"]> export type $project_manager_taskPayload = { name: "project_manager_task" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number category_id: number pos: number titre: string color: string text_color: string desc: string ticket_id: string | null date_start: string | null date_deadline: string | null deadline_watch: number assign_staff: string | null priority: number done: boolean create_by: number date_creation: string | null date_update: string | null }, ExtArgs["result"]["project_manager_task"]> composites: {} } export type project_manager_taskGetPayload = runtime.Types.Result.GetResult export type project_manager_taskCountArgs = Omit & { select?: Project_manager_taskCountAggregateInputType | true } export interface project_manager_taskDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['project_manager_task'], meta: { name: 'project_manager_task' } } /** * Find zero or one Project_manager_task that matches the filter. * @param {project_manager_taskFindUniqueArgs} args - Arguments to find a Project_manager_task * @example * // Get one Project_manager_task * const project_manager_task = await prisma.project_manager_task.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__project_manager_taskClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Project_manager_task that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {project_manager_taskFindUniqueOrThrowArgs} args - Arguments to find a Project_manager_task * @example * // Get one Project_manager_task * const project_manager_task = await prisma.project_manager_task.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__project_manager_taskClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Project_manager_task that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {project_manager_taskFindFirstArgs} args - Arguments to find a Project_manager_task * @example * // Get one Project_manager_task * const project_manager_task = await prisma.project_manager_task.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__project_manager_taskClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Project_manager_task that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {project_manager_taskFindFirstOrThrowArgs} args - Arguments to find a Project_manager_task * @example * // Get one Project_manager_task * const project_manager_task = await prisma.project_manager_task.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__project_manager_taskClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Project_manager_tasks that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {project_manager_taskFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Project_manager_tasks * const project_manager_tasks = await prisma.project_manager_task.findMany() * * // Get first 10 Project_manager_tasks * const project_manager_tasks = await prisma.project_manager_task.findMany({ take: 10 }) * * // Only select the `id` * const project_manager_taskWithIdOnly = await prisma.project_manager_task.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Project_manager_task. * @param {project_manager_taskCreateArgs} args - Arguments to create a Project_manager_task. * @example * // Create one Project_manager_task * const Project_manager_task = await prisma.project_manager_task.create({ * data: { * // ... data to create a Project_manager_task * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__project_manager_taskClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Project_manager_tasks. * @param {project_manager_taskCreateManyArgs} args - Arguments to create many Project_manager_tasks. * @example * // Create many Project_manager_tasks * const project_manager_task = await prisma.project_manager_task.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Project_manager_task. * @param {project_manager_taskDeleteArgs} args - Arguments to delete one Project_manager_task. * @example * // Delete one Project_manager_task * const Project_manager_task = await prisma.project_manager_task.delete({ * where: { * // ... filter to delete one Project_manager_task * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__project_manager_taskClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Project_manager_task. * @param {project_manager_taskUpdateArgs} args - Arguments to update one Project_manager_task. * @example * // Update one Project_manager_task * const project_manager_task = await prisma.project_manager_task.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__project_manager_taskClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Project_manager_tasks. * @param {project_manager_taskDeleteManyArgs} args - Arguments to filter Project_manager_tasks to delete. * @example * // Delete a few Project_manager_tasks * const { count } = await prisma.project_manager_task.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Project_manager_tasks. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {project_manager_taskUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Project_manager_tasks * const project_manager_task = await prisma.project_manager_task.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Project_manager_task. * @param {project_manager_taskUpsertArgs} args - Arguments to update or create a Project_manager_task. * @example * // Update or create a Project_manager_task * const project_manager_task = await prisma.project_manager_task.upsert({ * create: { * // ... data to create a Project_manager_task * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Project_manager_task we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__project_manager_taskClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Project_manager_tasks. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {project_manager_taskCountArgs} args - Arguments to filter Project_manager_tasks to count. * @example * // Count the number of Project_manager_tasks * const count = await prisma.project_manager_task.count({ * where: { * // ... the filter for the Project_manager_tasks we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a Project_manager_task. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Project_manager_taskAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Prisma.Subset): Prisma.PrismaPromise> /** * Group by Project_manager_task. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {project_manager_taskGroupByArgs} args - Group by arguments. * @example * // Group by city, order by createdAt, get count * const result = await prisma.user.groupBy({ * by: ['city', 'createdAt'], * orderBy: { * createdAt: true * }, * _count: { * _all: true * }, * }) * **/ groupBy< T extends project_manager_taskGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: project_manager_taskGroupByArgs['orderBy'] } : { orderBy?: project_manager_taskGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetProject_manager_taskGroupByPayload : Prisma.PrismaPromise /** * Fields of the project_manager_task model */ readonly fields: project_manager_taskFieldRefs; } /** * The delegate class that acts as a "Promise-like" for project_manager_task. * Why is this prefixed with `Prisma__`? * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ export interface Prisma__project_manager_taskClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } /** * Fields of the project_manager_task model */ export interface project_manager_taskFieldRefs { readonly id: Prisma.FieldRef<"project_manager_task", 'Int'> readonly category_id: Prisma.FieldRef<"project_manager_task", 'Int'> readonly pos: Prisma.FieldRef<"project_manager_task", 'Int'> readonly titre: Prisma.FieldRef<"project_manager_task", 'String'> readonly color: Prisma.FieldRef<"project_manager_task", 'String'> readonly text_color: Prisma.FieldRef<"project_manager_task", 'String'> readonly desc: Prisma.FieldRef<"project_manager_task", 'String'> readonly ticket_id: Prisma.FieldRef<"project_manager_task", 'String'> readonly date_start: Prisma.FieldRef<"project_manager_task", 'String'> readonly date_deadline: Prisma.FieldRef<"project_manager_task", 'String'> readonly deadline_watch: Prisma.FieldRef<"project_manager_task", 'Int'> readonly assign_staff: Prisma.FieldRef<"project_manager_task", 'String'> readonly priority: Prisma.FieldRef<"project_manager_task", 'Int'> readonly done: Prisma.FieldRef<"project_manager_task", 'Boolean'> readonly create_by: Prisma.FieldRef<"project_manager_task", 'Int'> readonly date_creation: Prisma.FieldRef<"project_manager_task", 'String'> readonly date_update: Prisma.FieldRef<"project_manager_task", 'String'> } // Custom InputTypes /** * project_manager_task findUnique */ export type project_manager_taskFindUniqueArgs = { /** * Select specific fields to fetch from the project_manager_task */ select?: Prisma.project_manager_taskSelect | null /** * Omit specific fields from the project_manager_task */ omit?: Prisma.project_manager_taskOmit | null /** * Filter, which project_manager_task to fetch. */ where: Prisma.project_manager_taskWhereUniqueInput } /** * project_manager_task findUniqueOrThrow */ export type project_manager_taskFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the project_manager_task */ select?: Prisma.project_manager_taskSelect | null /** * Omit specific fields from the project_manager_task */ omit?: Prisma.project_manager_taskOmit | null /** * Filter, which project_manager_task to fetch. */ where: Prisma.project_manager_taskWhereUniqueInput } /** * project_manager_task findFirst */ export type project_manager_taskFindFirstArgs = { /** * Select specific fields to fetch from the project_manager_task */ select?: Prisma.project_manager_taskSelect | null /** * Omit specific fields from the project_manager_task */ omit?: Prisma.project_manager_taskOmit | null /** * Filter, which project_manager_task to fetch. */ where?: Prisma.project_manager_taskWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of project_manager_tasks to fetch. */ orderBy?: Prisma.project_manager_taskOrderByWithRelationInput | Prisma.project_manager_taskOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for project_manager_tasks. */ cursor?: Prisma.project_manager_taskWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` project_manager_tasks from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` project_manager_tasks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of project_manager_tasks. */ distinct?: Prisma.Project_manager_taskScalarFieldEnum | Prisma.Project_manager_taskScalarFieldEnum[] } /** * project_manager_task findFirstOrThrow */ export type project_manager_taskFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the project_manager_task */ select?: Prisma.project_manager_taskSelect | null /** * Omit specific fields from the project_manager_task */ omit?: Prisma.project_manager_taskOmit | null /** * Filter, which project_manager_task to fetch. */ where?: Prisma.project_manager_taskWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of project_manager_tasks to fetch. */ orderBy?: Prisma.project_manager_taskOrderByWithRelationInput | Prisma.project_manager_taskOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for project_manager_tasks. */ cursor?: Prisma.project_manager_taskWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` project_manager_tasks from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` project_manager_tasks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of project_manager_tasks. */ distinct?: Prisma.Project_manager_taskScalarFieldEnum | Prisma.Project_manager_taskScalarFieldEnum[] } /** * project_manager_task findMany */ export type project_manager_taskFindManyArgs = { /** * Select specific fields to fetch from the project_manager_task */ select?: Prisma.project_manager_taskSelect | null /** * Omit specific fields from the project_manager_task */ omit?: Prisma.project_manager_taskOmit | null /** * Filter, which project_manager_tasks to fetch. */ where?: Prisma.project_manager_taskWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of project_manager_tasks to fetch. */ orderBy?: Prisma.project_manager_taskOrderByWithRelationInput | Prisma.project_manager_taskOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing project_manager_tasks. */ cursor?: Prisma.project_manager_taskWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` project_manager_tasks from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` project_manager_tasks. */ skip?: number distinct?: Prisma.Project_manager_taskScalarFieldEnum | Prisma.Project_manager_taskScalarFieldEnum[] } /** * project_manager_task create */ export type project_manager_taskCreateArgs = { /** * Select specific fields to fetch from the project_manager_task */ select?: Prisma.project_manager_taskSelect | null /** * Omit specific fields from the project_manager_task */ omit?: Prisma.project_manager_taskOmit | null /** * The data needed to create a project_manager_task. */ data: Prisma.XOR } /** * project_manager_task createMany */ export type project_manager_taskCreateManyArgs = { /** * The data used to create many project_manager_tasks. */ data: Prisma.project_manager_taskCreateManyInput | Prisma.project_manager_taskCreateManyInput[] skipDuplicates?: boolean } /** * project_manager_task update */ export type project_manager_taskUpdateArgs = { /** * Select specific fields to fetch from the project_manager_task */ select?: Prisma.project_manager_taskSelect | null /** * Omit specific fields from the project_manager_task */ omit?: Prisma.project_manager_taskOmit | null /** * The data needed to update a project_manager_task. */ data: Prisma.XOR /** * Choose, which project_manager_task to update. */ where: Prisma.project_manager_taskWhereUniqueInput } /** * project_manager_task updateMany */ export type project_manager_taskUpdateManyArgs = { /** * The data used to update project_manager_tasks. */ data: Prisma.XOR /** * Filter which project_manager_tasks to update */ where?: Prisma.project_manager_taskWhereInput /** * Limit how many project_manager_tasks to update. */ limit?: number } /** * project_manager_task upsert */ export type project_manager_taskUpsertArgs = { /** * Select specific fields to fetch from the project_manager_task */ select?: Prisma.project_manager_taskSelect | null /** * Omit specific fields from the project_manager_task */ omit?: Prisma.project_manager_taskOmit | null /** * The filter to search for the project_manager_task to update in case it exists. */ where: Prisma.project_manager_taskWhereUniqueInput /** * In case the project_manager_task found by the `where` argument doesn't exist, create a new project_manager_task with this data. */ create: Prisma.XOR /** * In case the project_manager_task was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * project_manager_task delete */ export type project_manager_taskDeleteArgs = { /** * Select specific fields to fetch from the project_manager_task */ select?: Prisma.project_manager_taskSelect | null /** * Omit specific fields from the project_manager_task */ omit?: Prisma.project_manager_taskOmit | null /** * Filter which project_manager_task to delete. */ where: Prisma.project_manager_taskWhereUniqueInput } /** * project_manager_task deleteMany */ export type project_manager_taskDeleteManyArgs = { /** * Filter which project_manager_tasks to delete */ where?: Prisma.project_manager_taskWhereInput /** * Limit how many project_manager_tasks to delete. */ limit?: number } /** * project_manager_task without action */ export type project_manager_taskDefaultArgs = { /** * Select specific fields to fetch from the project_manager_task */ select?: Prisma.project_manager_taskSelect | null /** * Omit specific fields from the project_manager_task */ omit?: Prisma.project_manager_taskOmit | null }