/* !!! 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_comment` 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_comment * */ export type project_manager_commentModel = runtime.Types.Result.DefaultSelection export type AggregateProject_manager_comment = { _count: Project_manager_commentCountAggregateOutputType | null _avg: Project_manager_commentAvgAggregateOutputType | null _sum: Project_manager_commentSumAggregateOutputType | null _min: Project_manager_commentMinAggregateOutputType | null _max: Project_manager_commentMaxAggregateOutputType | null } export type Project_manager_commentAvgAggregateOutputType = { id: number | null task_id: number | null staff_id: number | null } export type Project_manager_commentSumAggregateOutputType = { id: number | null task_id: number | null staff_id: number | null } export type Project_manager_commentMinAggregateOutputType = { id: number | null task_id: number | null comment: string | null staff_id: number | null date: string | null unread: string | null } export type Project_manager_commentMaxAggregateOutputType = { id: number | null task_id: number | null comment: string | null staff_id: number | null date: string | null unread: string | null } export type Project_manager_commentCountAggregateOutputType = { id: number task_id: number comment: number staff_id: number date: number unread: number _all: number } export type Project_manager_commentAvgAggregateInputType = { id?: true task_id?: true staff_id?: true } export type Project_manager_commentSumAggregateInputType = { id?: true task_id?: true staff_id?: true } export type Project_manager_commentMinAggregateInputType = { id?: true task_id?: true comment?: true staff_id?: true date?: true unread?: true } export type Project_manager_commentMaxAggregateInputType = { id?: true task_id?: true comment?: true staff_id?: true date?: true unread?: true } export type Project_manager_commentCountAggregateInputType = { id?: true task_id?: true comment?: true staff_id?: true date?: true unread?: true _all?: true } export type Project_manager_commentAggregateArgs = { /** * Filter which project_manager_comment to aggregate. */ where?: Prisma.project_manager_commentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of project_manager_comments to fetch. */ orderBy?: Prisma.project_manager_commentOrderByWithRelationInput | Prisma.project_manager_commentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.project_manager_commentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` project_manager_comments 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_comments. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned project_manager_comments **/ _count?: true | Project_manager_commentCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Project_manager_commentAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Project_manager_commentSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Project_manager_commentMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Project_manager_commentMaxAggregateInputType } export type GetProject_manager_commentAggregateType = { [P in keyof T & keyof AggregateProject_manager_comment]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type project_manager_commentGroupByArgs = { where?: Prisma.project_manager_commentWhereInput orderBy?: Prisma.project_manager_commentOrderByWithAggregationInput | Prisma.project_manager_commentOrderByWithAggregationInput[] by: Prisma.Project_manager_commentScalarFieldEnum[] | Prisma.Project_manager_commentScalarFieldEnum having?: Prisma.project_manager_commentScalarWhereWithAggregatesInput take?: number skip?: number _count?: Project_manager_commentCountAggregateInputType | true _avg?: Project_manager_commentAvgAggregateInputType _sum?: Project_manager_commentSumAggregateInputType _min?: Project_manager_commentMinAggregateInputType _max?: Project_manager_commentMaxAggregateInputType } export type Project_manager_commentGroupByOutputType = { id: number task_id: number comment: string staff_id: number date: string unread: string _count: Project_manager_commentCountAggregateOutputType | null _avg: Project_manager_commentAvgAggregateOutputType | null _sum: Project_manager_commentSumAggregateOutputType | null _min: Project_manager_commentMinAggregateOutputType | null _max: Project_manager_commentMaxAggregateOutputType | null } type GetProject_manager_commentGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Project_manager_commentGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type project_manager_commentWhereInput = { AND?: Prisma.project_manager_commentWhereInput | Prisma.project_manager_commentWhereInput[] OR?: Prisma.project_manager_commentWhereInput[] NOT?: Prisma.project_manager_commentWhereInput | Prisma.project_manager_commentWhereInput[] id?: Prisma.IntFilter<"project_manager_comment"> | number task_id?: Prisma.IntFilter<"project_manager_comment"> | number comment?: Prisma.StringFilter<"project_manager_comment"> | string staff_id?: Prisma.IntFilter<"project_manager_comment"> | number date?: Prisma.StringFilter<"project_manager_comment"> | string unread?: Prisma.StringFilter<"project_manager_comment"> | string } export type project_manager_commentOrderByWithRelationInput = { id?: Prisma.SortOrder task_id?: Prisma.SortOrder comment?: Prisma.SortOrder staff_id?: Prisma.SortOrder date?: Prisma.SortOrder unread?: Prisma.SortOrder _relevance?: Prisma.project_manager_commentOrderByRelevanceInput } export type project_manager_commentWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.project_manager_commentWhereInput | Prisma.project_manager_commentWhereInput[] OR?: Prisma.project_manager_commentWhereInput[] NOT?: Prisma.project_manager_commentWhereInput | Prisma.project_manager_commentWhereInput[] task_id?: Prisma.IntFilter<"project_manager_comment"> | number comment?: Prisma.StringFilter<"project_manager_comment"> | string staff_id?: Prisma.IntFilter<"project_manager_comment"> | number date?: Prisma.StringFilter<"project_manager_comment"> | string unread?: Prisma.StringFilter<"project_manager_comment"> | string }, "id"> export type project_manager_commentOrderByWithAggregationInput = { id?: Prisma.SortOrder task_id?: Prisma.SortOrder comment?: Prisma.SortOrder staff_id?: Prisma.SortOrder date?: Prisma.SortOrder unread?: Prisma.SortOrder _count?: Prisma.project_manager_commentCountOrderByAggregateInput _avg?: Prisma.project_manager_commentAvgOrderByAggregateInput _max?: Prisma.project_manager_commentMaxOrderByAggregateInput _min?: Prisma.project_manager_commentMinOrderByAggregateInput _sum?: Prisma.project_manager_commentSumOrderByAggregateInput } export type project_manager_commentScalarWhereWithAggregatesInput = { AND?: Prisma.project_manager_commentScalarWhereWithAggregatesInput | Prisma.project_manager_commentScalarWhereWithAggregatesInput[] OR?: Prisma.project_manager_commentScalarWhereWithAggregatesInput[] NOT?: Prisma.project_manager_commentScalarWhereWithAggregatesInput | Prisma.project_manager_commentScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"project_manager_comment"> | number task_id?: Prisma.IntWithAggregatesFilter<"project_manager_comment"> | number comment?: Prisma.StringWithAggregatesFilter<"project_manager_comment"> | string staff_id?: Prisma.IntWithAggregatesFilter<"project_manager_comment"> | number date?: Prisma.StringWithAggregatesFilter<"project_manager_comment"> | string unread?: Prisma.StringWithAggregatesFilter<"project_manager_comment"> | string } export type project_manager_commentCreateInput = { task_id: number comment: string staff_id: number date: string unread: string } export type project_manager_commentUncheckedCreateInput = { id?: number task_id: number comment: string staff_id: number date: string unread: string } export type project_manager_commentUpdateInput = { task_id?: Prisma.IntFieldUpdateOperationsInput | number comment?: Prisma.StringFieldUpdateOperationsInput | string staff_id?: Prisma.IntFieldUpdateOperationsInput | number date?: Prisma.StringFieldUpdateOperationsInput | string unread?: Prisma.StringFieldUpdateOperationsInput | string } export type project_manager_commentUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number task_id?: Prisma.IntFieldUpdateOperationsInput | number comment?: Prisma.StringFieldUpdateOperationsInput | string staff_id?: Prisma.IntFieldUpdateOperationsInput | number date?: Prisma.StringFieldUpdateOperationsInput | string unread?: Prisma.StringFieldUpdateOperationsInput | string } export type project_manager_commentCreateManyInput = { id?: number task_id: number comment: string staff_id: number date: string unread: string } export type project_manager_commentUpdateManyMutationInput = { task_id?: Prisma.IntFieldUpdateOperationsInput | number comment?: Prisma.StringFieldUpdateOperationsInput | string staff_id?: Prisma.IntFieldUpdateOperationsInput | number date?: Prisma.StringFieldUpdateOperationsInput | string unread?: Prisma.StringFieldUpdateOperationsInput | string } export type project_manager_commentUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number task_id?: Prisma.IntFieldUpdateOperationsInput | number comment?: Prisma.StringFieldUpdateOperationsInput | string staff_id?: Prisma.IntFieldUpdateOperationsInput | number date?: Prisma.StringFieldUpdateOperationsInput | string unread?: Prisma.StringFieldUpdateOperationsInput | string } export type project_manager_commentOrderByRelevanceInput = { fields: Prisma.project_manager_commentOrderByRelevanceFieldEnum | Prisma.project_manager_commentOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type project_manager_commentCountOrderByAggregateInput = { id?: Prisma.SortOrder task_id?: Prisma.SortOrder comment?: Prisma.SortOrder staff_id?: Prisma.SortOrder date?: Prisma.SortOrder unread?: Prisma.SortOrder } export type project_manager_commentAvgOrderByAggregateInput = { id?: Prisma.SortOrder task_id?: Prisma.SortOrder staff_id?: Prisma.SortOrder } export type project_manager_commentMaxOrderByAggregateInput = { id?: Prisma.SortOrder task_id?: Prisma.SortOrder comment?: Prisma.SortOrder staff_id?: Prisma.SortOrder date?: Prisma.SortOrder unread?: Prisma.SortOrder } export type project_manager_commentMinOrderByAggregateInput = { id?: Prisma.SortOrder task_id?: Prisma.SortOrder comment?: Prisma.SortOrder staff_id?: Prisma.SortOrder date?: Prisma.SortOrder unread?: Prisma.SortOrder } export type project_manager_commentSumOrderByAggregateInput = { id?: Prisma.SortOrder task_id?: Prisma.SortOrder staff_id?: Prisma.SortOrder } export type project_manager_commentSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean task_id?: boolean comment?: boolean staff_id?: boolean date?: boolean unread?: boolean }, ExtArgs["result"]["project_manager_comment"]> export type project_manager_commentSelectScalar = { id?: boolean task_id?: boolean comment?: boolean staff_id?: boolean date?: boolean unread?: boolean } export type project_manager_commentOmit = runtime.Types.Extensions.GetOmit<"id" | "task_id" | "comment" | "staff_id" | "date" | "unread", ExtArgs["result"]["project_manager_comment"]> export type $project_manager_commentPayload = { name: "project_manager_comment" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number task_id: number comment: string staff_id: number date: string unread: string }, ExtArgs["result"]["project_manager_comment"]> composites: {} } export type project_manager_commentGetPayload = runtime.Types.Result.GetResult export type project_manager_commentCountArgs = Omit & { select?: Project_manager_commentCountAggregateInputType | true } export interface project_manager_commentDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['project_manager_comment'], meta: { name: 'project_manager_comment' } } /** * Find zero or one Project_manager_comment that matches the filter. * @param {project_manager_commentFindUniqueArgs} args - Arguments to find a Project_manager_comment * @example * // Get one Project_manager_comment * const project_manager_comment = await prisma.project_manager_comment.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__project_manager_commentClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Project_manager_comment that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {project_manager_commentFindUniqueOrThrowArgs} args - Arguments to find a Project_manager_comment * @example * // Get one Project_manager_comment * const project_manager_comment = await prisma.project_manager_comment.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__project_manager_commentClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Project_manager_comment 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_commentFindFirstArgs} args - Arguments to find a Project_manager_comment * @example * // Get one Project_manager_comment * const project_manager_comment = await prisma.project_manager_comment.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__project_manager_commentClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Project_manager_comment 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_commentFindFirstOrThrowArgs} args - Arguments to find a Project_manager_comment * @example * // Get one Project_manager_comment * const project_manager_comment = await prisma.project_manager_comment.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__project_manager_commentClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Project_manager_comments 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_commentFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Project_manager_comments * const project_manager_comments = await prisma.project_manager_comment.findMany() * * // Get first 10 Project_manager_comments * const project_manager_comments = await prisma.project_manager_comment.findMany({ take: 10 }) * * // Only select the `id` * const project_manager_commentWithIdOnly = await prisma.project_manager_comment.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Project_manager_comment. * @param {project_manager_commentCreateArgs} args - Arguments to create a Project_manager_comment. * @example * // Create one Project_manager_comment * const Project_manager_comment = await prisma.project_manager_comment.create({ * data: { * // ... data to create a Project_manager_comment * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__project_manager_commentClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Project_manager_comments. * @param {project_manager_commentCreateManyArgs} args - Arguments to create many Project_manager_comments. * @example * // Create many Project_manager_comments * const project_manager_comment = await prisma.project_manager_comment.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Project_manager_comment. * @param {project_manager_commentDeleteArgs} args - Arguments to delete one Project_manager_comment. * @example * // Delete one Project_manager_comment * const Project_manager_comment = await prisma.project_manager_comment.delete({ * where: { * // ... filter to delete one Project_manager_comment * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__project_manager_commentClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Project_manager_comment. * @param {project_manager_commentUpdateArgs} args - Arguments to update one Project_manager_comment. * @example * // Update one Project_manager_comment * const project_manager_comment = await prisma.project_manager_comment.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__project_manager_commentClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Project_manager_comments. * @param {project_manager_commentDeleteManyArgs} args - Arguments to filter Project_manager_comments to delete. * @example * // Delete a few Project_manager_comments * const { count } = await prisma.project_manager_comment.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Project_manager_comments. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {project_manager_commentUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Project_manager_comments * const project_manager_comment = await prisma.project_manager_comment.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Project_manager_comment. * @param {project_manager_commentUpsertArgs} args - Arguments to update or create a Project_manager_comment. * @example * // Update or create a Project_manager_comment * const project_manager_comment = await prisma.project_manager_comment.upsert({ * create: { * // ... data to create a Project_manager_comment * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Project_manager_comment we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__project_manager_commentClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Project_manager_comments. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {project_manager_commentCountArgs} args - Arguments to filter Project_manager_comments to count. * @example * // Count the number of Project_manager_comments * const count = await prisma.project_manager_comment.count({ * where: { * // ... the filter for the Project_manager_comments 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_comment. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Project_manager_commentAggregateArgs} 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_comment. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {project_manager_commentGroupByArgs} 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_commentGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: project_manager_commentGroupByArgs['orderBy'] } : { orderBy?: project_manager_commentGroupByArgs['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_commentGroupByPayload : Prisma.PrismaPromise /** * Fields of the project_manager_comment model */ readonly fields: project_manager_commentFieldRefs; } /** * The delegate class that acts as a "Promise-like" for project_manager_comment. * 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_commentClient 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_comment model */ export interface project_manager_commentFieldRefs { readonly id: Prisma.FieldRef<"project_manager_comment", 'Int'> readonly task_id: Prisma.FieldRef<"project_manager_comment", 'Int'> readonly comment: Prisma.FieldRef<"project_manager_comment", 'String'> readonly staff_id: Prisma.FieldRef<"project_manager_comment", 'Int'> readonly date: Prisma.FieldRef<"project_manager_comment", 'String'> readonly unread: Prisma.FieldRef<"project_manager_comment", 'String'> } // Custom InputTypes /** * project_manager_comment findUnique */ export type project_manager_commentFindUniqueArgs = { /** * Select specific fields to fetch from the project_manager_comment */ select?: Prisma.project_manager_commentSelect | null /** * Omit specific fields from the project_manager_comment */ omit?: Prisma.project_manager_commentOmit | null /** * Filter, which project_manager_comment to fetch. */ where: Prisma.project_manager_commentWhereUniqueInput } /** * project_manager_comment findUniqueOrThrow */ export type project_manager_commentFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the project_manager_comment */ select?: Prisma.project_manager_commentSelect | null /** * Omit specific fields from the project_manager_comment */ omit?: Prisma.project_manager_commentOmit | null /** * Filter, which project_manager_comment to fetch. */ where: Prisma.project_manager_commentWhereUniqueInput } /** * project_manager_comment findFirst */ export type project_manager_commentFindFirstArgs = { /** * Select specific fields to fetch from the project_manager_comment */ select?: Prisma.project_manager_commentSelect | null /** * Omit specific fields from the project_manager_comment */ omit?: Prisma.project_manager_commentOmit | null /** * Filter, which project_manager_comment to fetch. */ where?: Prisma.project_manager_commentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of project_manager_comments to fetch. */ orderBy?: Prisma.project_manager_commentOrderByWithRelationInput | Prisma.project_manager_commentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for project_manager_comments. */ cursor?: Prisma.project_manager_commentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` project_manager_comments 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_comments. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of project_manager_comments. */ distinct?: Prisma.Project_manager_commentScalarFieldEnum | Prisma.Project_manager_commentScalarFieldEnum[] } /** * project_manager_comment findFirstOrThrow */ export type project_manager_commentFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the project_manager_comment */ select?: Prisma.project_manager_commentSelect | null /** * Omit specific fields from the project_manager_comment */ omit?: Prisma.project_manager_commentOmit | null /** * Filter, which project_manager_comment to fetch. */ where?: Prisma.project_manager_commentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of project_manager_comments to fetch. */ orderBy?: Prisma.project_manager_commentOrderByWithRelationInput | Prisma.project_manager_commentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for project_manager_comments. */ cursor?: Prisma.project_manager_commentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` project_manager_comments 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_comments. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of project_manager_comments. */ distinct?: Prisma.Project_manager_commentScalarFieldEnum | Prisma.Project_manager_commentScalarFieldEnum[] } /** * project_manager_comment findMany */ export type project_manager_commentFindManyArgs = { /** * Select specific fields to fetch from the project_manager_comment */ select?: Prisma.project_manager_commentSelect | null /** * Omit specific fields from the project_manager_comment */ omit?: Prisma.project_manager_commentOmit | null /** * Filter, which project_manager_comments to fetch. */ where?: Prisma.project_manager_commentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of project_manager_comments to fetch. */ orderBy?: Prisma.project_manager_commentOrderByWithRelationInput | Prisma.project_manager_commentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing project_manager_comments. */ cursor?: Prisma.project_manager_commentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` project_manager_comments 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_comments. */ skip?: number distinct?: Prisma.Project_manager_commentScalarFieldEnum | Prisma.Project_manager_commentScalarFieldEnum[] } /** * project_manager_comment create */ export type project_manager_commentCreateArgs = { /** * Select specific fields to fetch from the project_manager_comment */ select?: Prisma.project_manager_commentSelect | null /** * Omit specific fields from the project_manager_comment */ omit?: Prisma.project_manager_commentOmit | null /** * The data needed to create a project_manager_comment. */ data: Prisma.XOR } /** * project_manager_comment createMany */ export type project_manager_commentCreateManyArgs = { /** * The data used to create many project_manager_comments. */ data: Prisma.project_manager_commentCreateManyInput | Prisma.project_manager_commentCreateManyInput[] skipDuplicates?: boolean } /** * project_manager_comment update */ export type project_manager_commentUpdateArgs = { /** * Select specific fields to fetch from the project_manager_comment */ select?: Prisma.project_manager_commentSelect | null /** * Omit specific fields from the project_manager_comment */ omit?: Prisma.project_manager_commentOmit | null /** * The data needed to update a project_manager_comment. */ data: Prisma.XOR /** * Choose, which project_manager_comment to update. */ where: Prisma.project_manager_commentWhereUniqueInput } /** * project_manager_comment updateMany */ export type project_manager_commentUpdateManyArgs = { /** * The data used to update project_manager_comments. */ data: Prisma.XOR /** * Filter which project_manager_comments to update */ where?: Prisma.project_manager_commentWhereInput /** * Limit how many project_manager_comments to update. */ limit?: number } /** * project_manager_comment upsert */ export type project_manager_commentUpsertArgs = { /** * Select specific fields to fetch from the project_manager_comment */ select?: Prisma.project_manager_commentSelect | null /** * Omit specific fields from the project_manager_comment */ omit?: Prisma.project_manager_commentOmit | null /** * The filter to search for the project_manager_comment to update in case it exists. */ where: Prisma.project_manager_commentWhereUniqueInput /** * In case the project_manager_comment found by the `where` argument doesn't exist, create a new project_manager_comment with this data. */ create: Prisma.XOR /** * In case the project_manager_comment was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * project_manager_comment delete */ export type project_manager_commentDeleteArgs = { /** * Select specific fields to fetch from the project_manager_comment */ select?: Prisma.project_manager_commentSelect | null /** * Omit specific fields from the project_manager_comment */ omit?: Prisma.project_manager_commentOmit | null /** * Filter which project_manager_comment to delete. */ where: Prisma.project_manager_commentWhereUniqueInput } /** * project_manager_comment deleteMany */ export type project_manager_commentDeleteManyArgs = { /** * Filter which project_manager_comments to delete */ where?: Prisma.project_manager_commentWhereInput /** * Limit how many project_manager_comments to delete. */ limit?: number } /** * project_manager_comment without action */ export type project_manager_commentDefaultArgs = { /** * Select specific fields to fetch from the project_manager_comment */ select?: Prisma.project_manager_commentSelect | null /** * Omit specific fields from the project_manager_comment */ omit?: Prisma.project_manager_commentOmit | null }