/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `ProjectMember` 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.ts" import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model ProjectMember * */ export type ProjectMemberModel = runtime.Types.Result.DefaultSelection export type AggregateProjectMember = { _count: ProjectMemberCountAggregateOutputType | null _avg: ProjectMemberAvgAggregateOutputType | null _sum: ProjectMemberSumAggregateOutputType | null _min: ProjectMemberMinAggregateOutputType | null _max: ProjectMemberMaxAggregateOutputType | null } export type ProjectMemberAvgAggregateOutputType = { id: number | null projectId: number | null userId: number | null } export type ProjectMemberSumAggregateOutputType = { id: number | null projectId: number | null userId: number | null } export type ProjectMemberMinAggregateOutputType = { id: number | null uuid: string | null projectUuid: string | null projectId: number | null userId: number | null permission: string | null createdAt: Date | null } export type ProjectMemberMaxAggregateOutputType = { id: number | null uuid: string | null projectUuid: string | null projectId: number | null userId: number | null permission: string | null createdAt: Date | null } export type ProjectMemberCountAggregateOutputType = { id: number uuid: number projectUuid: number projectId: number userId: number permission: number createdAt: number _all: number } export type ProjectMemberAvgAggregateInputType = { id?: true projectId?: true userId?: true } export type ProjectMemberSumAggregateInputType = { id?: true projectId?: true userId?: true } export type ProjectMemberMinAggregateInputType = { id?: true uuid?: true projectUuid?: true projectId?: true userId?: true permission?: true createdAt?: true } export type ProjectMemberMaxAggregateInputType = { id?: true uuid?: true projectUuid?: true projectId?: true userId?: true permission?: true createdAt?: true } export type ProjectMemberCountAggregateInputType = { id?: true uuid?: true projectUuid?: true projectId?: true userId?: true permission?: true createdAt?: true _all?: true } export type ProjectMemberAggregateArgs = { /** * Filter which ProjectMember to aggregate. */ where?: Prisma.ProjectMemberWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ProjectMembers to fetch. */ orderBy?: Prisma.ProjectMemberOrderByWithRelationInput | Prisma.ProjectMemberOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.ProjectMemberWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ProjectMembers 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` ProjectMembers. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned ProjectMembers **/ _count?: true | ProjectMemberCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: ProjectMemberAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: ProjectMemberSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ProjectMemberMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ProjectMemberMaxAggregateInputType } export type GetProjectMemberAggregateType = { [P in keyof T & keyof AggregateProjectMember]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type ProjectMemberGroupByArgs = { where?: Prisma.ProjectMemberWhereInput orderBy?: Prisma.ProjectMemberOrderByWithAggregationInput | Prisma.ProjectMemberOrderByWithAggregationInput[] by: Prisma.ProjectMemberScalarFieldEnum[] | Prisma.ProjectMemberScalarFieldEnum having?: Prisma.ProjectMemberScalarWhereWithAggregatesInput take?: number skip?: number _count?: ProjectMemberCountAggregateInputType | true _avg?: ProjectMemberAvgAggregateInputType _sum?: ProjectMemberSumAggregateInputType _min?: ProjectMemberMinAggregateInputType _max?: ProjectMemberMaxAggregateInputType } export type ProjectMemberGroupByOutputType = { id: number uuid: string projectUuid: string | null projectId: number userId: number permission: string createdAt: Date _count: ProjectMemberCountAggregateOutputType | null _avg: ProjectMemberAvgAggregateOutputType | null _sum: ProjectMemberSumAggregateOutputType | null _min: ProjectMemberMinAggregateOutputType | null _max: ProjectMemberMaxAggregateOutputType | null } export type GetProjectMemberGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof ProjectMemberGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type ProjectMemberWhereInput = { AND?: Prisma.ProjectMemberWhereInput | Prisma.ProjectMemberWhereInput[] OR?: Prisma.ProjectMemberWhereInput[] NOT?: Prisma.ProjectMemberWhereInput | Prisma.ProjectMemberWhereInput[] id?: Prisma.IntFilter<"ProjectMember"> | number uuid?: Prisma.StringFilter<"ProjectMember"> | string projectUuid?: Prisma.StringNullableFilter<"ProjectMember"> | string | null projectId?: Prisma.IntFilter<"ProjectMember"> | number userId?: Prisma.IntFilter<"ProjectMember"> | number permission?: Prisma.StringFilter<"ProjectMember"> | string createdAt?: Prisma.DateTimeFilter<"ProjectMember"> | Date | string project?: Prisma.XOR user?: Prisma.XOR } export type ProjectMemberOrderByWithRelationInput = { id?: Prisma.SortOrder uuid?: Prisma.SortOrder projectUuid?: Prisma.SortOrderInput | Prisma.SortOrder projectId?: Prisma.SortOrder userId?: Prisma.SortOrder permission?: Prisma.SortOrder createdAt?: Prisma.SortOrder project?: Prisma.ProjectOrderByWithRelationInput user?: Prisma.UserOrderByWithRelationInput } export type ProjectMemberWhereUniqueInput = Prisma.AtLeast<{ id?: number uuid?: string projectId_userId?: Prisma.ProjectMemberProjectIdUserIdCompoundUniqueInput AND?: Prisma.ProjectMemberWhereInput | Prisma.ProjectMemberWhereInput[] OR?: Prisma.ProjectMemberWhereInput[] NOT?: Prisma.ProjectMemberWhereInput | Prisma.ProjectMemberWhereInput[] projectUuid?: Prisma.StringNullableFilter<"ProjectMember"> | string | null projectId?: Prisma.IntFilter<"ProjectMember"> | number userId?: Prisma.IntFilter<"ProjectMember"> | number permission?: Prisma.StringFilter<"ProjectMember"> | string createdAt?: Prisma.DateTimeFilter<"ProjectMember"> | Date | string project?: Prisma.XOR user?: Prisma.XOR }, "id" | "uuid" | "projectId_userId"> export type ProjectMemberOrderByWithAggregationInput = { id?: Prisma.SortOrder uuid?: Prisma.SortOrder projectUuid?: Prisma.SortOrderInput | Prisma.SortOrder projectId?: Prisma.SortOrder userId?: Prisma.SortOrder permission?: Prisma.SortOrder createdAt?: Prisma.SortOrder _count?: Prisma.ProjectMemberCountOrderByAggregateInput _avg?: Prisma.ProjectMemberAvgOrderByAggregateInput _max?: Prisma.ProjectMemberMaxOrderByAggregateInput _min?: Prisma.ProjectMemberMinOrderByAggregateInput _sum?: Prisma.ProjectMemberSumOrderByAggregateInput } export type ProjectMemberScalarWhereWithAggregatesInput = { AND?: Prisma.ProjectMemberScalarWhereWithAggregatesInput | Prisma.ProjectMemberScalarWhereWithAggregatesInput[] OR?: Prisma.ProjectMemberScalarWhereWithAggregatesInput[] NOT?: Prisma.ProjectMemberScalarWhereWithAggregatesInput | Prisma.ProjectMemberScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"ProjectMember"> | number uuid?: Prisma.StringWithAggregatesFilter<"ProjectMember"> | string projectUuid?: Prisma.StringNullableWithAggregatesFilter<"ProjectMember"> | string | null projectId?: Prisma.IntWithAggregatesFilter<"ProjectMember"> | number userId?: Prisma.IntWithAggregatesFilter<"ProjectMember"> | number permission?: Prisma.StringWithAggregatesFilter<"ProjectMember"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"ProjectMember"> | Date | string } export type ProjectMemberCreateInput = { uuid: string projectUuid?: string | null permission?: string createdAt?: Date | string project: Prisma.ProjectCreateNestedOneWithoutMembersInput user: Prisma.UserCreateNestedOneWithoutProjectMembersInput } export type ProjectMemberUncheckedCreateInput = { id?: number uuid: string projectUuid?: string | null projectId: number userId: number permission?: string createdAt?: Date | string } export type ProjectMemberUpdateInput = { uuid?: Prisma.StringFieldUpdateOperationsInput | string projectUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null permission?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string project?: Prisma.ProjectUpdateOneRequiredWithoutMembersNestedInput user?: Prisma.UserUpdateOneRequiredWithoutProjectMembersNestedInput } export type ProjectMemberUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number uuid?: Prisma.StringFieldUpdateOperationsInput | string projectUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null projectId?: Prisma.IntFieldUpdateOperationsInput | number userId?: Prisma.IntFieldUpdateOperationsInput | number permission?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type ProjectMemberCreateManyInput = { id?: number uuid: string projectUuid?: string | null projectId: number userId: number permission?: string createdAt?: Date | string } export type ProjectMemberUpdateManyMutationInput = { uuid?: Prisma.StringFieldUpdateOperationsInput | string projectUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null permission?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type ProjectMemberUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number uuid?: Prisma.StringFieldUpdateOperationsInput | string projectUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null projectId?: Prisma.IntFieldUpdateOperationsInput | number userId?: Prisma.IntFieldUpdateOperationsInput | number permission?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type ProjectMemberListRelationFilter = { every?: Prisma.ProjectMemberWhereInput some?: Prisma.ProjectMemberWhereInput none?: Prisma.ProjectMemberWhereInput } export type ProjectMemberOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type ProjectMemberProjectIdUserIdCompoundUniqueInput = { projectId: number userId: number } export type ProjectMemberCountOrderByAggregateInput = { id?: Prisma.SortOrder uuid?: Prisma.SortOrder projectUuid?: Prisma.SortOrder projectId?: Prisma.SortOrder userId?: Prisma.SortOrder permission?: Prisma.SortOrder createdAt?: Prisma.SortOrder } export type ProjectMemberAvgOrderByAggregateInput = { id?: Prisma.SortOrder projectId?: Prisma.SortOrder userId?: Prisma.SortOrder } export type ProjectMemberMaxOrderByAggregateInput = { id?: Prisma.SortOrder uuid?: Prisma.SortOrder projectUuid?: Prisma.SortOrder projectId?: Prisma.SortOrder userId?: Prisma.SortOrder permission?: Prisma.SortOrder createdAt?: Prisma.SortOrder } export type ProjectMemberMinOrderByAggregateInput = { id?: Prisma.SortOrder uuid?: Prisma.SortOrder projectUuid?: Prisma.SortOrder projectId?: Prisma.SortOrder userId?: Prisma.SortOrder permission?: Prisma.SortOrder createdAt?: Prisma.SortOrder } export type ProjectMemberSumOrderByAggregateInput = { id?: Prisma.SortOrder projectId?: Prisma.SortOrder userId?: Prisma.SortOrder } export type ProjectMemberCreateNestedManyWithoutUserInput = { create?: Prisma.XOR | Prisma.ProjectMemberCreateWithoutUserInput[] | Prisma.ProjectMemberUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.ProjectMemberCreateOrConnectWithoutUserInput | Prisma.ProjectMemberCreateOrConnectWithoutUserInput[] createMany?: Prisma.ProjectMemberCreateManyUserInputEnvelope connect?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] } export type ProjectMemberUncheckedCreateNestedManyWithoutUserInput = { create?: Prisma.XOR | Prisma.ProjectMemberCreateWithoutUserInput[] | Prisma.ProjectMemberUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.ProjectMemberCreateOrConnectWithoutUserInput | Prisma.ProjectMemberCreateOrConnectWithoutUserInput[] createMany?: Prisma.ProjectMemberCreateManyUserInputEnvelope connect?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] } export type ProjectMemberUpdateManyWithoutUserNestedInput = { create?: Prisma.XOR | Prisma.ProjectMemberCreateWithoutUserInput[] | Prisma.ProjectMemberUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.ProjectMemberCreateOrConnectWithoutUserInput | Prisma.ProjectMemberCreateOrConnectWithoutUserInput[] upsert?: Prisma.ProjectMemberUpsertWithWhereUniqueWithoutUserInput | Prisma.ProjectMemberUpsertWithWhereUniqueWithoutUserInput[] createMany?: Prisma.ProjectMemberCreateManyUserInputEnvelope set?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] disconnect?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] delete?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] connect?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] update?: Prisma.ProjectMemberUpdateWithWhereUniqueWithoutUserInput | Prisma.ProjectMemberUpdateWithWhereUniqueWithoutUserInput[] updateMany?: Prisma.ProjectMemberUpdateManyWithWhereWithoutUserInput | Prisma.ProjectMemberUpdateManyWithWhereWithoutUserInput[] deleteMany?: Prisma.ProjectMemberScalarWhereInput | Prisma.ProjectMemberScalarWhereInput[] } export type ProjectMemberUncheckedUpdateManyWithoutUserNestedInput = { create?: Prisma.XOR | Prisma.ProjectMemberCreateWithoutUserInput[] | Prisma.ProjectMemberUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.ProjectMemberCreateOrConnectWithoutUserInput | Prisma.ProjectMemberCreateOrConnectWithoutUserInput[] upsert?: Prisma.ProjectMemberUpsertWithWhereUniqueWithoutUserInput | Prisma.ProjectMemberUpsertWithWhereUniqueWithoutUserInput[] createMany?: Prisma.ProjectMemberCreateManyUserInputEnvelope set?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] disconnect?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] delete?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] connect?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] update?: Prisma.ProjectMemberUpdateWithWhereUniqueWithoutUserInput | Prisma.ProjectMemberUpdateWithWhereUniqueWithoutUserInput[] updateMany?: Prisma.ProjectMemberUpdateManyWithWhereWithoutUserInput | Prisma.ProjectMemberUpdateManyWithWhereWithoutUserInput[] deleteMany?: Prisma.ProjectMemberScalarWhereInput | Prisma.ProjectMemberScalarWhereInput[] } export type ProjectMemberCreateNestedManyWithoutProjectInput = { create?: Prisma.XOR | Prisma.ProjectMemberCreateWithoutProjectInput[] | Prisma.ProjectMemberUncheckedCreateWithoutProjectInput[] connectOrCreate?: Prisma.ProjectMemberCreateOrConnectWithoutProjectInput | Prisma.ProjectMemberCreateOrConnectWithoutProjectInput[] createMany?: Prisma.ProjectMemberCreateManyProjectInputEnvelope connect?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] } export type ProjectMemberUncheckedCreateNestedManyWithoutProjectInput = { create?: Prisma.XOR | Prisma.ProjectMemberCreateWithoutProjectInput[] | Prisma.ProjectMemberUncheckedCreateWithoutProjectInput[] connectOrCreate?: Prisma.ProjectMemberCreateOrConnectWithoutProjectInput | Prisma.ProjectMemberCreateOrConnectWithoutProjectInput[] createMany?: Prisma.ProjectMemberCreateManyProjectInputEnvelope connect?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] } export type ProjectMemberUpdateManyWithoutProjectNestedInput = { create?: Prisma.XOR | Prisma.ProjectMemberCreateWithoutProjectInput[] | Prisma.ProjectMemberUncheckedCreateWithoutProjectInput[] connectOrCreate?: Prisma.ProjectMemberCreateOrConnectWithoutProjectInput | Prisma.ProjectMemberCreateOrConnectWithoutProjectInput[] upsert?: Prisma.ProjectMemberUpsertWithWhereUniqueWithoutProjectInput | Prisma.ProjectMemberUpsertWithWhereUniqueWithoutProjectInput[] createMany?: Prisma.ProjectMemberCreateManyProjectInputEnvelope set?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] disconnect?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] delete?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] connect?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] update?: Prisma.ProjectMemberUpdateWithWhereUniqueWithoutProjectInput | Prisma.ProjectMemberUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: Prisma.ProjectMemberUpdateManyWithWhereWithoutProjectInput | Prisma.ProjectMemberUpdateManyWithWhereWithoutProjectInput[] deleteMany?: Prisma.ProjectMemberScalarWhereInput | Prisma.ProjectMemberScalarWhereInput[] } export type ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput = { create?: Prisma.XOR | Prisma.ProjectMemberCreateWithoutProjectInput[] | Prisma.ProjectMemberUncheckedCreateWithoutProjectInput[] connectOrCreate?: Prisma.ProjectMemberCreateOrConnectWithoutProjectInput | Prisma.ProjectMemberCreateOrConnectWithoutProjectInput[] upsert?: Prisma.ProjectMemberUpsertWithWhereUniqueWithoutProjectInput | Prisma.ProjectMemberUpsertWithWhereUniqueWithoutProjectInput[] createMany?: Prisma.ProjectMemberCreateManyProjectInputEnvelope set?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] disconnect?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] delete?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] connect?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] update?: Prisma.ProjectMemberUpdateWithWhereUniqueWithoutProjectInput | Prisma.ProjectMemberUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: Prisma.ProjectMemberUpdateManyWithWhereWithoutProjectInput | Prisma.ProjectMemberUpdateManyWithWhereWithoutProjectInput[] deleteMany?: Prisma.ProjectMemberScalarWhereInput | Prisma.ProjectMemberScalarWhereInput[] } export type ProjectMemberCreateWithoutUserInput = { uuid: string projectUuid?: string | null permission?: string createdAt?: Date | string project: Prisma.ProjectCreateNestedOneWithoutMembersInput } export type ProjectMemberUncheckedCreateWithoutUserInput = { id?: number uuid: string projectUuid?: string | null projectId: number permission?: string createdAt?: Date | string } export type ProjectMemberCreateOrConnectWithoutUserInput = { where: Prisma.ProjectMemberWhereUniqueInput create: Prisma.XOR } export type ProjectMemberCreateManyUserInputEnvelope = { data: Prisma.ProjectMemberCreateManyUserInput | Prisma.ProjectMemberCreateManyUserInput[] skipDuplicates?: boolean } export type ProjectMemberUpsertWithWhereUniqueWithoutUserInput = { where: Prisma.ProjectMemberWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type ProjectMemberUpdateWithWhereUniqueWithoutUserInput = { where: Prisma.ProjectMemberWhereUniqueInput data: Prisma.XOR } export type ProjectMemberUpdateManyWithWhereWithoutUserInput = { where: Prisma.ProjectMemberScalarWhereInput data: Prisma.XOR } export type ProjectMemberScalarWhereInput = { AND?: Prisma.ProjectMemberScalarWhereInput | Prisma.ProjectMemberScalarWhereInput[] OR?: Prisma.ProjectMemberScalarWhereInput[] NOT?: Prisma.ProjectMemberScalarWhereInput | Prisma.ProjectMemberScalarWhereInput[] id?: Prisma.IntFilter<"ProjectMember"> | number uuid?: Prisma.StringFilter<"ProjectMember"> | string projectUuid?: Prisma.StringNullableFilter<"ProjectMember"> | string | null projectId?: Prisma.IntFilter<"ProjectMember"> | number userId?: Prisma.IntFilter<"ProjectMember"> | number permission?: Prisma.StringFilter<"ProjectMember"> | string createdAt?: Prisma.DateTimeFilter<"ProjectMember"> | Date | string } export type ProjectMemberCreateWithoutProjectInput = { uuid: string projectUuid?: string | null permission?: string createdAt?: Date | string user: Prisma.UserCreateNestedOneWithoutProjectMembersInput } export type ProjectMemberUncheckedCreateWithoutProjectInput = { id?: number uuid: string projectUuid?: string | null userId: number permission?: string createdAt?: Date | string } export type ProjectMemberCreateOrConnectWithoutProjectInput = { where: Prisma.ProjectMemberWhereUniqueInput create: Prisma.XOR } export type ProjectMemberCreateManyProjectInputEnvelope = { data: Prisma.ProjectMemberCreateManyProjectInput | Prisma.ProjectMemberCreateManyProjectInput[] skipDuplicates?: boolean } export type ProjectMemberUpsertWithWhereUniqueWithoutProjectInput = { where: Prisma.ProjectMemberWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type ProjectMemberUpdateWithWhereUniqueWithoutProjectInput = { where: Prisma.ProjectMemberWhereUniqueInput data: Prisma.XOR } export type ProjectMemberUpdateManyWithWhereWithoutProjectInput = { where: Prisma.ProjectMemberScalarWhereInput data: Prisma.XOR } export type ProjectMemberCreateManyUserInput = { id?: number uuid: string projectUuid?: string | null projectId: number permission?: string createdAt?: Date | string } export type ProjectMemberUpdateWithoutUserInput = { uuid?: Prisma.StringFieldUpdateOperationsInput | string projectUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null permission?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string project?: Prisma.ProjectUpdateOneRequiredWithoutMembersNestedInput } export type ProjectMemberUncheckedUpdateWithoutUserInput = { id?: Prisma.IntFieldUpdateOperationsInput | number uuid?: Prisma.StringFieldUpdateOperationsInput | string projectUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null projectId?: Prisma.IntFieldUpdateOperationsInput | number permission?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type ProjectMemberUncheckedUpdateManyWithoutUserInput = { id?: Prisma.IntFieldUpdateOperationsInput | number uuid?: Prisma.StringFieldUpdateOperationsInput | string projectUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null projectId?: Prisma.IntFieldUpdateOperationsInput | number permission?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type ProjectMemberCreateManyProjectInput = { id?: number uuid: string projectUuid?: string | null userId: number permission?: string createdAt?: Date | string } export type ProjectMemberUpdateWithoutProjectInput = { uuid?: Prisma.StringFieldUpdateOperationsInput | string projectUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null permission?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string user?: Prisma.UserUpdateOneRequiredWithoutProjectMembersNestedInput } export type ProjectMemberUncheckedUpdateWithoutProjectInput = { id?: Prisma.IntFieldUpdateOperationsInput | number uuid?: Prisma.StringFieldUpdateOperationsInput | string projectUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null userId?: Prisma.IntFieldUpdateOperationsInput | number permission?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type ProjectMemberUncheckedUpdateManyWithoutProjectInput = { id?: Prisma.IntFieldUpdateOperationsInput | number uuid?: Prisma.StringFieldUpdateOperationsInput | string projectUuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null userId?: Prisma.IntFieldUpdateOperationsInput | number permission?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type ProjectMemberSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean uuid?: boolean projectUuid?: boolean projectId?: boolean userId?: boolean permission?: boolean createdAt?: boolean project?: boolean | Prisma.ProjectDefaultArgs user?: boolean | Prisma.UserDefaultArgs }, ExtArgs["result"]["projectMember"]> export type ProjectMemberSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean uuid?: boolean projectUuid?: boolean projectId?: boolean userId?: boolean permission?: boolean createdAt?: boolean project?: boolean | Prisma.ProjectDefaultArgs user?: boolean | Prisma.UserDefaultArgs }, ExtArgs["result"]["projectMember"]> export type ProjectMemberSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean uuid?: boolean projectUuid?: boolean projectId?: boolean userId?: boolean permission?: boolean createdAt?: boolean project?: boolean | Prisma.ProjectDefaultArgs user?: boolean | Prisma.UserDefaultArgs }, ExtArgs["result"]["projectMember"]> export type ProjectMemberSelectScalar = { id?: boolean uuid?: boolean projectUuid?: boolean projectId?: boolean userId?: boolean permission?: boolean createdAt?: boolean } export type ProjectMemberOmit = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "projectUuid" | "projectId" | "userId" | "permission" | "createdAt", ExtArgs["result"]["projectMember"]> export type ProjectMemberInclude = { project?: boolean | Prisma.ProjectDefaultArgs user?: boolean | Prisma.UserDefaultArgs } export type ProjectMemberIncludeCreateManyAndReturn = { project?: boolean | Prisma.ProjectDefaultArgs user?: boolean | Prisma.UserDefaultArgs } export type ProjectMemberIncludeUpdateManyAndReturn = { project?: boolean | Prisma.ProjectDefaultArgs user?: boolean | Prisma.UserDefaultArgs } export type $ProjectMemberPayload = { name: "ProjectMember" objects: { project: Prisma.$ProjectPayload user: Prisma.$UserPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number uuid: string projectUuid: string | null projectId: number userId: number permission: string createdAt: Date }, ExtArgs["result"]["projectMember"]> composites: {} } export type ProjectMemberGetPayload = runtime.Types.Result.GetResult export type ProjectMemberCountArgs = Omit & { select?: ProjectMemberCountAggregateInputType | true } export interface ProjectMemberDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['ProjectMember'], meta: { name: 'ProjectMember' } } /** * Find zero or one ProjectMember that matches the filter. * @param {ProjectMemberFindUniqueArgs} args - Arguments to find a ProjectMember * @example * // Get one ProjectMember * const projectMember = await prisma.projectMember.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ProjectMemberClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one ProjectMember that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ProjectMemberFindUniqueOrThrowArgs} args - Arguments to find a ProjectMember * @example * // Get one ProjectMember * const projectMember = await prisma.projectMember.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ProjectMemberClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first ProjectMember 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 {ProjectMemberFindFirstArgs} args - Arguments to find a ProjectMember * @example * // Get one ProjectMember * const projectMember = await prisma.projectMember.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ProjectMemberClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first ProjectMember 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 {ProjectMemberFindFirstOrThrowArgs} args - Arguments to find a ProjectMember * @example * // Get one ProjectMember * const projectMember = await prisma.projectMember.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ProjectMemberClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more ProjectMembers 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 {ProjectMemberFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all ProjectMembers * const projectMembers = await prisma.projectMember.findMany() * * // Get first 10 ProjectMembers * const projectMembers = await prisma.projectMember.findMany({ take: 10 }) * * // Only select the `id` * const projectMemberWithIdOnly = await prisma.projectMember.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a ProjectMember. * @param {ProjectMemberCreateArgs} args - Arguments to create a ProjectMember. * @example * // Create one ProjectMember * const ProjectMember = await prisma.projectMember.create({ * data: { * // ... data to create a ProjectMember * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__ProjectMemberClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many ProjectMembers. * @param {ProjectMemberCreateManyArgs} args - Arguments to create many ProjectMembers. * @example * // Create many ProjectMembers * const projectMember = await prisma.projectMember.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many ProjectMembers and returns the data saved in the database. * @param {ProjectMemberCreateManyAndReturnArgs} args - Arguments to create many ProjectMembers. * @example * // Create many ProjectMembers * const projectMember = await prisma.projectMember.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many ProjectMembers and only return the `id` * const projectMemberWithIdOnly = await prisma.projectMember.createManyAndReturn({ * select: { id: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a ProjectMember. * @param {ProjectMemberDeleteArgs} args - Arguments to delete one ProjectMember. * @example * // Delete one ProjectMember * const ProjectMember = await prisma.projectMember.delete({ * where: { * // ... filter to delete one ProjectMember * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__ProjectMemberClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one ProjectMember. * @param {ProjectMemberUpdateArgs} args - Arguments to update one ProjectMember. * @example * // Update one ProjectMember * const projectMember = await prisma.projectMember.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__ProjectMemberClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more ProjectMembers. * @param {ProjectMemberDeleteManyArgs} args - Arguments to filter ProjectMembers to delete. * @example * // Delete a few ProjectMembers * const { count } = await prisma.projectMember.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ProjectMembers. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectMemberUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many ProjectMembers * const projectMember = await prisma.projectMember.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ProjectMembers and returns the data updated in the database. * @param {ProjectMemberUpdateManyAndReturnArgs} args - Arguments to update many ProjectMembers. * @example * // Update many ProjectMembers * const projectMember = await prisma.projectMember.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more ProjectMembers and only return the `id` * const projectMemberWithIdOnly = await prisma.projectMember.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one ProjectMember. * @param {ProjectMemberUpsertArgs} args - Arguments to update or create a ProjectMember. * @example * // Update or create a ProjectMember * const projectMember = await prisma.projectMember.upsert({ * create: { * // ... data to create a ProjectMember * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the ProjectMember we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ProjectMemberClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of ProjectMembers. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectMemberCountArgs} args - Arguments to filter ProjectMembers to count. * @example * // Count the number of ProjectMembers * const count = await prisma.projectMember.count({ * where: { * // ... the filter for the ProjectMembers 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 ProjectMember. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectMemberAggregateArgs} 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 ProjectMember. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectMemberGroupByArgs} 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 ProjectMemberGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: ProjectMemberGroupByArgs['orderBy'] } : { orderBy?: ProjectMemberGroupByArgs['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 ? GetProjectMemberGroupByPayload : Prisma.PrismaPromise /** * Fields of the ProjectMember model */ readonly fields: ProjectMemberFieldRefs; } /** * The delegate class that acts as a "Promise-like" for ProjectMember. * 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__ProjectMemberClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Prisma.Subset>): Prisma.Prisma__ProjectClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * 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 ProjectMember model */ export interface ProjectMemberFieldRefs { readonly id: Prisma.FieldRef<"ProjectMember", 'Int'> readonly uuid: Prisma.FieldRef<"ProjectMember", 'String'> readonly projectUuid: Prisma.FieldRef<"ProjectMember", 'String'> readonly projectId: Prisma.FieldRef<"ProjectMember", 'Int'> readonly userId: Prisma.FieldRef<"ProjectMember", 'Int'> readonly permission: Prisma.FieldRef<"ProjectMember", 'String'> readonly createdAt: Prisma.FieldRef<"ProjectMember", 'DateTime'> } // Custom InputTypes /** * ProjectMember findUnique */ export type ProjectMemberFindUniqueArgs = { /** * Select specific fields to fetch from the ProjectMember */ select?: Prisma.ProjectMemberSelect | null /** * Omit specific fields from the ProjectMember */ omit?: Prisma.ProjectMemberOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProjectMemberInclude | null /** * Filter, which ProjectMember to fetch. */ where: Prisma.ProjectMemberWhereUniqueInput } /** * ProjectMember findUniqueOrThrow */ export type ProjectMemberFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the ProjectMember */ select?: Prisma.ProjectMemberSelect | null /** * Omit specific fields from the ProjectMember */ omit?: Prisma.ProjectMemberOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProjectMemberInclude | null /** * Filter, which ProjectMember to fetch. */ where: Prisma.ProjectMemberWhereUniqueInput } /** * ProjectMember findFirst */ export type ProjectMemberFindFirstArgs = { /** * Select specific fields to fetch from the ProjectMember */ select?: Prisma.ProjectMemberSelect | null /** * Omit specific fields from the ProjectMember */ omit?: Prisma.ProjectMemberOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProjectMemberInclude | null /** * Filter, which ProjectMember to fetch. */ where?: Prisma.ProjectMemberWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ProjectMembers to fetch. */ orderBy?: Prisma.ProjectMemberOrderByWithRelationInput | Prisma.ProjectMemberOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ProjectMembers. */ cursor?: Prisma.ProjectMemberWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ProjectMembers 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` ProjectMembers. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ProjectMembers. */ distinct?: Prisma.ProjectMemberScalarFieldEnum | Prisma.ProjectMemberScalarFieldEnum[] } /** * ProjectMember findFirstOrThrow */ export type ProjectMemberFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the ProjectMember */ select?: Prisma.ProjectMemberSelect | null /** * Omit specific fields from the ProjectMember */ omit?: Prisma.ProjectMemberOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProjectMemberInclude | null /** * Filter, which ProjectMember to fetch. */ where?: Prisma.ProjectMemberWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ProjectMembers to fetch. */ orderBy?: Prisma.ProjectMemberOrderByWithRelationInput | Prisma.ProjectMemberOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ProjectMembers. */ cursor?: Prisma.ProjectMemberWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ProjectMembers 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` ProjectMembers. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ProjectMembers. */ distinct?: Prisma.ProjectMemberScalarFieldEnum | Prisma.ProjectMemberScalarFieldEnum[] } /** * ProjectMember findMany */ export type ProjectMemberFindManyArgs = { /** * Select specific fields to fetch from the ProjectMember */ select?: Prisma.ProjectMemberSelect | null /** * Omit specific fields from the ProjectMember */ omit?: Prisma.ProjectMemberOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProjectMemberInclude | null /** * Filter, which ProjectMembers to fetch. */ where?: Prisma.ProjectMemberWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ProjectMembers to fetch. */ orderBy?: Prisma.ProjectMemberOrderByWithRelationInput | Prisma.ProjectMemberOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing ProjectMembers. */ cursor?: Prisma.ProjectMemberWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ProjectMembers 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` ProjectMembers. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ProjectMembers. */ distinct?: Prisma.ProjectMemberScalarFieldEnum | Prisma.ProjectMemberScalarFieldEnum[] } /** * ProjectMember create */ export type ProjectMemberCreateArgs = { /** * Select specific fields to fetch from the ProjectMember */ select?: Prisma.ProjectMemberSelect | null /** * Omit specific fields from the ProjectMember */ omit?: Prisma.ProjectMemberOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProjectMemberInclude | null /** * The data needed to create a ProjectMember. */ data: Prisma.XOR } /** * ProjectMember createMany */ export type ProjectMemberCreateManyArgs = { /** * The data used to create many ProjectMembers. */ data: Prisma.ProjectMemberCreateManyInput | Prisma.ProjectMemberCreateManyInput[] skipDuplicates?: boolean } /** * ProjectMember createManyAndReturn */ export type ProjectMemberCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the ProjectMember */ select?: Prisma.ProjectMemberSelectCreateManyAndReturn | null /** * Omit specific fields from the ProjectMember */ omit?: Prisma.ProjectMemberOmit | null /** * The data used to create many ProjectMembers. */ data: Prisma.ProjectMemberCreateManyInput | Prisma.ProjectMemberCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProjectMemberIncludeCreateManyAndReturn | null } /** * ProjectMember update */ export type ProjectMemberUpdateArgs = { /** * Select specific fields to fetch from the ProjectMember */ select?: Prisma.ProjectMemberSelect | null /** * Omit specific fields from the ProjectMember */ omit?: Prisma.ProjectMemberOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProjectMemberInclude | null /** * The data needed to update a ProjectMember. */ data: Prisma.XOR /** * Choose, which ProjectMember to update. */ where: Prisma.ProjectMemberWhereUniqueInput } /** * ProjectMember updateMany */ export type ProjectMemberUpdateManyArgs = { /** * The data used to update ProjectMembers. */ data: Prisma.XOR /** * Filter which ProjectMembers to update */ where?: Prisma.ProjectMemberWhereInput /** * Limit how many ProjectMembers to update. */ limit?: number } /** * ProjectMember updateManyAndReturn */ export type ProjectMemberUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the ProjectMember */ select?: Prisma.ProjectMemberSelectUpdateManyAndReturn | null /** * Omit specific fields from the ProjectMember */ omit?: Prisma.ProjectMemberOmit | null /** * The data used to update ProjectMembers. */ data: Prisma.XOR /** * Filter which ProjectMembers to update */ where?: Prisma.ProjectMemberWhereInput /** * Limit how many ProjectMembers to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProjectMemberIncludeUpdateManyAndReturn | null } /** * ProjectMember upsert */ export type ProjectMemberUpsertArgs = { /** * Select specific fields to fetch from the ProjectMember */ select?: Prisma.ProjectMemberSelect | null /** * Omit specific fields from the ProjectMember */ omit?: Prisma.ProjectMemberOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProjectMemberInclude | null /** * The filter to search for the ProjectMember to update in case it exists. */ where: Prisma.ProjectMemberWhereUniqueInput /** * In case the ProjectMember found by the `where` argument doesn't exist, create a new ProjectMember with this data. */ create: Prisma.XOR /** * In case the ProjectMember was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * ProjectMember delete */ export type ProjectMemberDeleteArgs = { /** * Select specific fields to fetch from the ProjectMember */ select?: Prisma.ProjectMemberSelect | null /** * Omit specific fields from the ProjectMember */ omit?: Prisma.ProjectMemberOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProjectMemberInclude | null /** * Filter which ProjectMember to delete. */ where: Prisma.ProjectMemberWhereUniqueInput } /** * ProjectMember deleteMany */ export type ProjectMemberDeleteManyArgs = { /** * Filter which ProjectMembers to delete */ where?: Prisma.ProjectMemberWhereInput /** * Limit how many ProjectMembers to delete. */ limit?: number } /** * ProjectMember without action */ export type ProjectMemberDefaultArgs = { /** * Select specific fields to fetch from the ProjectMember */ select?: Prisma.ProjectMemberSelect | null /** * Omit specific fields from the ProjectMember */ omit?: Prisma.ProjectMemberOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProjectMemberInclude | null }