/* !!! 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` 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 * */ export type projectModel = runtime.Types.Result.DefaultSelection export type AggregateProject = { _count: ProjectCountAggregateOutputType | null _avg: ProjectAvgAggregateOutputType | null _sum: ProjectSumAggregateOutputType | null _min: ProjectMinAggregateOutputType | null _max: ProjectMaxAggregateOutputType | null } export type ProjectAvgAggregateOutputType = { id: number | null date_start: number | null date_end: number | null } export type ProjectSumAggregateOutputType = { id: number | null date_start: bigint | null date_end: bigint | null } export type ProjectMinAggregateOutputType = { id: number | null name: string | null status: string | null desc: string | null date_start: bigint | null date_end: bigint | null manager_name: string | null } export type ProjectMaxAggregateOutputType = { id: number | null name: string | null status: string | null desc: string | null date_start: bigint | null date_end: bigint | null manager_name: string | null } export type ProjectCountAggregateOutputType = { id: number name: number status: number desc: number date_start: number date_end: number manager_name: number _all: number } export type ProjectAvgAggregateInputType = { id?: true date_start?: true date_end?: true } export type ProjectSumAggregateInputType = { id?: true date_start?: true date_end?: true } export type ProjectMinAggregateInputType = { id?: true name?: true status?: true desc?: true date_start?: true date_end?: true manager_name?: true } export type ProjectMaxAggregateInputType = { id?: true name?: true status?: true desc?: true date_start?: true date_end?: true manager_name?: true } export type ProjectCountAggregateInputType = { id?: true name?: true status?: true desc?: true date_start?: true date_end?: true manager_name?: true _all?: true } export type ProjectAggregateArgs = { /** * Filter which project to aggregate. */ where?: Prisma.projectWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of projects to fetch. */ orderBy?: Prisma.projectOrderByWithRelationInput | Prisma.projectOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.projectWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` projects 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` projects. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned projects **/ _count?: true | ProjectCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: ProjectAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: ProjectSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ProjectMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ProjectMaxAggregateInputType } export type GetProjectAggregateType = { [P in keyof T & keyof AggregateProject]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type projectGroupByArgs = { where?: Prisma.projectWhereInput orderBy?: Prisma.projectOrderByWithAggregationInput | Prisma.projectOrderByWithAggregationInput[] by: Prisma.ProjectScalarFieldEnum[] | Prisma.ProjectScalarFieldEnum having?: Prisma.projectScalarWhereWithAggregatesInput take?: number skip?: number _count?: ProjectCountAggregateInputType | true _avg?: ProjectAvgAggregateInputType _sum?: ProjectSumAggregateInputType _min?: ProjectMinAggregateInputType _max?: ProjectMaxAggregateInputType } export type ProjectGroupByOutputType = { id: number name: string status: string desc: string | null date_start: bigint | null date_end: bigint | null manager_name: string | null _count: ProjectCountAggregateOutputType | null _avg: ProjectAvgAggregateOutputType | null _sum: ProjectSumAggregateOutputType | null _min: ProjectMinAggregateOutputType | null _max: ProjectMaxAggregateOutputType | null } type GetProjectGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof ProjectGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type projectWhereInput = { AND?: Prisma.projectWhereInput | Prisma.projectWhereInput[] OR?: Prisma.projectWhereInput[] NOT?: Prisma.projectWhereInput | Prisma.projectWhereInput[] id?: Prisma.IntFilter<"project"> | number name?: Prisma.StringFilter<"project"> | string status?: Prisma.StringFilter<"project"> | string desc?: Prisma.StringNullableFilter<"project"> | string | null date_start?: Prisma.BigIntNullableFilter<"project"> | bigint | number | null date_end?: Prisma.BigIntNullableFilter<"project"> | bigint | number | null manager_name?: Prisma.StringNullableFilter<"project"> | string | null } export type projectOrderByWithRelationInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder status?: Prisma.SortOrder desc?: Prisma.SortOrderInput | Prisma.SortOrder date_start?: Prisma.SortOrderInput | Prisma.SortOrder date_end?: Prisma.SortOrderInput | Prisma.SortOrder manager_name?: Prisma.SortOrderInput | Prisma.SortOrder _relevance?: Prisma.projectOrderByRelevanceInput } export type projectWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.projectWhereInput | Prisma.projectWhereInput[] OR?: Prisma.projectWhereInput[] NOT?: Prisma.projectWhereInput | Prisma.projectWhereInput[] name?: Prisma.StringFilter<"project"> | string status?: Prisma.StringFilter<"project"> | string desc?: Prisma.StringNullableFilter<"project"> | string | null date_start?: Prisma.BigIntNullableFilter<"project"> | bigint | number | null date_end?: Prisma.BigIntNullableFilter<"project"> | bigint | number | null manager_name?: Prisma.StringNullableFilter<"project"> | string | null }, "id"> export type projectOrderByWithAggregationInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder status?: Prisma.SortOrder desc?: Prisma.SortOrderInput | Prisma.SortOrder date_start?: Prisma.SortOrderInput | Prisma.SortOrder date_end?: Prisma.SortOrderInput | Prisma.SortOrder manager_name?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.projectCountOrderByAggregateInput _avg?: Prisma.projectAvgOrderByAggregateInput _max?: Prisma.projectMaxOrderByAggregateInput _min?: Prisma.projectMinOrderByAggregateInput _sum?: Prisma.projectSumOrderByAggregateInput } export type projectScalarWhereWithAggregatesInput = { AND?: Prisma.projectScalarWhereWithAggregatesInput | Prisma.projectScalarWhereWithAggregatesInput[] OR?: Prisma.projectScalarWhereWithAggregatesInput[] NOT?: Prisma.projectScalarWhereWithAggregatesInput | Prisma.projectScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"project"> | number name?: Prisma.StringWithAggregatesFilter<"project"> | string status?: Prisma.StringWithAggregatesFilter<"project"> | string desc?: Prisma.StringNullableWithAggregatesFilter<"project"> | string | null date_start?: Prisma.BigIntNullableWithAggregatesFilter<"project"> | bigint | number | null date_end?: Prisma.BigIntNullableWithAggregatesFilter<"project"> | bigint | number | null manager_name?: Prisma.StringNullableWithAggregatesFilter<"project"> | string | null } export type projectCreateInput = { name: string status: string desc?: string | null date_start?: bigint | number | null date_end?: bigint | number | null manager_name?: string | null } export type projectUncheckedCreateInput = { id?: number name: string status: string desc?: string | null date_start?: bigint | number | null date_end?: bigint | number | null manager_name?: string | null } export type projectUpdateInput = { name?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.StringFieldUpdateOperationsInput | string desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null date_start?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null date_end?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null manager_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type projectUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number name?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.StringFieldUpdateOperationsInput | string desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null date_start?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null date_end?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null manager_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type projectCreateManyInput = { id?: number name: string status: string desc?: string | null date_start?: bigint | number | null date_end?: bigint | number | null manager_name?: string | null } export type projectUpdateManyMutationInput = { name?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.StringFieldUpdateOperationsInput | string desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null date_start?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null date_end?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null manager_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type projectUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number name?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.StringFieldUpdateOperationsInput | string desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null date_start?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null date_end?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null manager_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type projectOrderByRelevanceInput = { fields: Prisma.projectOrderByRelevanceFieldEnum | Prisma.projectOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type projectCountOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder status?: Prisma.SortOrder desc?: Prisma.SortOrder date_start?: Prisma.SortOrder date_end?: Prisma.SortOrder manager_name?: Prisma.SortOrder } export type projectAvgOrderByAggregateInput = { id?: Prisma.SortOrder date_start?: Prisma.SortOrder date_end?: Prisma.SortOrder } export type projectMaxOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder status?: Prisma.SortOrder desc?: Prisma.SortOrder date_start?: Prisma.SortOrder date_end?: Prisma.SortOrder manager_name?: Prisma.SortOrder } export type projectMinOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder status?: Prisma.SortOrder desc?: Prisma.SortOrder date_start?: Prisma.SortOrder date_end?: Prisma.SortOrder manager_name?: Prisma.SortOrder } export type projectSumOrderByAggregateInput = { id?: Prisma.SortOrder date_start?: Prisma.SortOrder date_end?: Prisma.SortOrder } export type projectSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean name?: boolean status?: boolean desc?: boolean date_start?: boolean date_end?: boolean manager_name?: boolean }, ExtArgs["result"]["project"]> export type projectSelectScalar = { id?: boolean name?: boolean status?: boolean desc?: boolean date_start?: boolean date_end?: boolean manager_name?: boolean } export type projectOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "status" | "desc" | "date_start" | "date_end" | "manager_name", ExtArgs["result"]["project"]> export type $projectPayload = { name: "project" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number name: string status: string desc: string | null date_start: bigint | null date_end: bigint | null manager_name: string | null }, ExtArgs["result"]["project"]> composites: {} } export type projectGetPayload = runtime.Types.Result.GetResult export type projectCountArgs = Omit & { select?: ProjectCountAggregateInputType | true } export interface projectDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['project'], meta: { name: 'project' } } /** * Find zero or one Project that matches the filter. * @param {projectFindUniqueArgs} args - Arguments to find a Project * @example * // Get one Project * const project = await prisma.project.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__projectClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Project that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {projectFindUniqueOrThrowArgs} args - Arguments to find a Project * @example * // Get one Project * const project = await prisma.project.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__projectClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Project 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 {projectFindFirstArgs} args - Arguments to find a Project * @example * // Get one Project * const project = await prisma.project.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__projectClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Project 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 {projectFindFirstOrThrowArgs} args - Arguments to find a Project * @example * // Get one Project * const project = await prisma.project.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__projectClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Projects 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 {projectFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Projects * const projects = await prisma.project.findMany() * * // Get first 10 Projects * const projects = await prisma.project.findMany({ take: 10 }) * * // Only select the `id` * const projectWithIdOnly = await prisma.project.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Project. * @param {projectCreateArgs} args - Arguments to create a Project. * @example * // Create one Project * const Project = await prisma.project.create({ * data: { * // ... data to create a Project * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__projectClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Projects. * @param {projectCreateManyArgs} args - Arguments to create many Projects. * @example * // Create many Projects * const project = await prisma.project.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Project. * @param {projectDeleteArgs} args - Arguments to delete one Project. * @example * // Delete one Project * const Project = await prisma.project.delete({ * where: { * // ... filter to delete one Project * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__projectClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Project. * @param {projectUpdateArgs} args - Arguments to update one Project. * @example * // Update one Project * const project = await prisma.project.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__projectClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Projects. * @param {projectDeleteManyArgs} args - Arguments to filter Projects to delete. * @example * // Delete a few Projects * const { count } = await prisma.project.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Projects. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {projectUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Projects * const project = await prisma.project.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Project. * @param {projectUpsertArgs} args - Arguments to update or create a Project. * @example * // Update or create a Project * const project = await prisma.project.upsert({ * create: { * // ... data to create a Project * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Project we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__projectClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Projects. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {projectCountArgs} args - Arguments to filter Projects to count. * @example * // Count the number of Projects * const count = await prisma.project.count({ * where: { * // ... the filter for the Projects 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. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectAggregateArgs} 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. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {projectGroupByArgs} 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 projectGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: projectGroupByArgs['orderBy'] } : { orderBy?: projectGroupByArgs['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 ? GetProjectGroupByPayload : Prisma.PrismaPromise /** * Fields of the project model */ readonly fields: projectFieldRefs; } /** * The delegate class that acts as a "Promise-like" for project. * 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__projectClient 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 model */ export interface projectFieldRefs { readonly id: Prisma.FieldRef<"project", 'Int'> readonly name: Prisma.FieldRef<"project", 'String'> readonly status: Prisma.FieldRef<"project", 'String'> readonly desc: Prisma.FieldRef<"project", 'String'> readonly date_start: Prisma.FieldRef<"project", 'BigInt'> readonly date_end: Prisma.FieldRef<"project", 'BigInt'> readonly manager_name: Prisma.FieldRef<"project", 'String'> } // Custom InputTypes /** * project findUnique */ export type projectFindUniqueArgs = { /** * Select specific fields to fetch from the project */ select?: Prisma.projectSelect | null /** * Omit specific fields from the project */ omit?: Prisma.projectOmit | null /** * Filter, which project to fetch. */ where: Prisma.projectWhereUniqueInput } /** * project findUniqueOrThrow */ export type projectFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the project */ select?: Prisma.projectSelect | null /** * Omit specific fields from the project */ omit?: Prisma.projectOmit | null /** * Filter, which project to fetch. */ where: Prisma.projectWhereUniqueInput } /** * project findFirst */ export type projectFindFirstArgs = { /** * Select specific fields to fetch from the project */ select?: Prisma.projectSelect | null /** * Omit specific fields from the project */ omit?: Prisma.projectOmit | null /** * Filter, which project to fetch. */ where?: Prisma.projectWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of projects to fetch. */ orderBy?: Prisma.projectOrderByWithRelationInput | Prisma.projectOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for projects. */ cursor?: Prisma.projectWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` projects 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` projects. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of projects. */ distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[] } /** * project findFirstOrThrow */ export type projectFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the project */ select?: Prisma.projectSelect | null /** * Omit specific fields from the project */ omit?: Prisma.projectOmit | null /** * Filter, which project to fetch. */ where?: Prisma.projectWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of projects to fetch. */ orderBy?: Prisma.projectOrderByWithRelationInput | Prisma.projectOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for projects. */ cursor?: Prisma.projectWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` projects 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` projects. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of projects. */ distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[] } /** * project findMany */ export type projectFindManyArgs = { /** * Select specific fields to fetch from the project */ select?: Prisma.projectSelect | null /** * Omit specific fields from the project */ omit?: Prisma.projectOmit | null /** * Filter, which projects to fetch. */ where?: Prisma.projectWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of projects to fetch. */ orderBy?: Prisma.projectOrderByWithRelationInput | Prisma.projectOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing projects. */ cursor?: Prisma.projectWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` projects 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` projects. */ skip?: number distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[] } /** * project create */ export type projectCreateArgs = { /** * Select specific fields to fetch from the project */ select?: Prisma.projectSelect | null /** * Omit specific fields from the project */ omit?: Prisma.projectOmit | null /** * The data needed to create a project. */ data: Prisma.XOR } /** * project createMany */ export type projectCreateManyArgs = { /** * The data used to create many projects. */ data: Prisma.projectCreateManyInput | Prisma.projectCreateManyInput[] skipDuplicates?: boolean } /** * project update */ export type projectUpdateArgs = { /** * Select specific fields to fetch from the project */ select?: Prisma.projectSelect | null /** * Omit specific fields from the project */ omit?: Prisma.projectOmit | null /** * The data needed to update a project. */ data: Prisma.XOR /** * Choose, which project to update. */ where: Prisma.projectWhereUniqueInput } /** * project updateMany */ export type projectUpdateManyArgs = { /** * The data used to update projects. */ data: Prisma.XOR /** * Filter which projects to update */ where?: Prisma.projectWhereInput /** * Limit how many projects to update. */ limit?: number } /** * project upsert */ export type projectUpsertArgs = { /** * Select specific fields to fetch from the project */ select?: Prisma.projectSelect | null /** * Omit specific fields from the project */ omit?: Prisma.projectOmit | null /** * The filter to search for the project to update in case it exists. */ where: Prisma.projectWhereUniqueInput /** * In case the project found by the `where` argument doesn't exist, create a new project with this data. */ create: Prisma.XOR /** * In case the project was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * project delete */ export type projectDeleteArgs = { /** * Select specific fields to fetch from the project */ select?: Prisma.projectSelect | null /** * Omit specific fields from the project */ omit?: Prisma.projectOmit | null /** * Filter which project to delete. */ where: Prisma.projectWhereUniqueInput } /** * project deleteMany */ export type projectDeleteManyArgs = { /** * Filter which projects to delete */ where?: Prisma.projectWhereInput /** * Limit how many projects to delete. */ limit?: number } /** * project without action */ export type projectDefaultArgs = { /** * Select specific fields to fetch from the project */ select?: Prisma.projectSelect | null /** * Omit specific fields from the project */ omit?: Prisma.projectOmit | null }