/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `Notification` model and its related types. * * 🟢 You can import this file directly. */ import type * as PJTG from '../pjtg'; 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 Notification * */ export type NotificationModel = runtime.Types.Result.DefaultSelection export type AggregateNotification = { _count: NotificationCountAggregateOutputType | null _min: NotificationMinAggregateOutputType | null _max: NotificationMaxAggregateOutputType | null } export type NotificationMinAggregateOutputType = { id: string | null type: $Enums.NotificationType | null createdAt: Date | null updatedAt: Date | null teamId: string | null projectId: string | null creatorId: string | null assetId: string | null taskId: string | null userId: string | null } export type NotificationMaxAggregateOutputType = { id: string | null type: $Enums.NotificationType | null createdAt: Date | null updatedAt: Date | null teamId: string | null projectId: string | null creatorId: string | null assetId: string | null taskId: string | null userId: string | null } export type NotificationCountAggregateOutputType = { id: number type: number createdAt: number updatedAt: number teamId: number projectId: number creatorId: number assetId: number taskId: number userId: number _all: number } export type NotificationMinAggregateInputType = { id?: true type?: true createdAt?: true updatedAt?: true teamId?: true projectId?: true creatorId?: true assetId?: true taskId?: true userId?: true } export type NotificationMaxAggregateInputType = { id?: true type?: true createdAt?: true updatedAt?: true teamId?: true projectId?: true creatorId?: true assetId?: true taskId?: true userId?: true } export type NotificationCountAggregateInputType = { id?: true type?: true createdAt?: true updatedAt?: true teamId?: true projectId?: true creatorId?: true assetId?: true taskId?: true userId?: true _all?: true } export type NotificationAggregateArgs = { /** * Filter which Notification to aggregate. */ where?: Prisma.NotificationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Notifications to fetch. */ orderBy?: Prisma.NotificationOrderByWithRelationInput | Prisma.NotificationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.NotificationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Notifications 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` Notifications. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Notifications **/ _count?: true | NotificationCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: NotificationMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: NotificationMaxAggregateInputType } export type GetNotificationAggregateType = { [P in keyof T & keyof AggregateNotification]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type NotificationGroupByArgs = { where?: Prisma.NotificationWhereInput orderBy?: Prisma.NotificationOrderByWithAggregationInput | Prisma.NotificationOrderByWithAggregationInput[] by: Prisma.NotificationScalarFieldEnum[] | Prisma.NotificationScalarFieldEnum having?: Prisma.NotificationScalarWhereWithAggregatesInput take?: number skip?: number _count?: NotificationCountAggregateInputType | true _min?: NotificationMinAggregateInputType _max?: NotificationMaxAggregateInputType } export type NotificationGroupByOutputType = { id: string type: $Enums.NotificationType | null createdAt: Date updatedAt: Date teamId: string projectId: string | null creatorId: string | null assetId: string | null taskId: string | null userId: string | null _count: NotificationCountAggregateOutputType | null _min: NotificationMinAggregateOutputType | null _max: NotificationMaxAggregateOutputType | null } export type GetNotificationGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof NotificationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type NotificationWhereInput = { AND?: Prisma.NotificationWhereInput | Prisma.NotificationWhereInput[] OR?: Prisma.NotificationWhereInput[] NOT?: Prisma.NotificationWhereInput | Prisma.NotificationWhereInput[] id?: Prisma.StringFilter<"Notification"> | string type?: Prisma.EnumNotificationTypeNullableFilter<"Notification"> | $Enums.NotificationType | null createdAt?: Prisma.DateTimeFilter<"Notification"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Notification"> | Date | string teamId?: Prisma.StringFilter<"Notification"> | string projectId?: Prisma.StringNullableFilter<"Notification"> | string | null creatorId?: Prisma.StringNullableFilter<"Notification"> | string | null assetId?: Prisma.StringNullableFilter<"Notification"> | string | null taskId?: Prisma.StringNullableFilter<"Notification"> | string | null userId?: Prisma.StringNullableFilter<"Notification"> | string | null team?: Prisma.XOR project?: Prisma.XOR | null creator?: Prisma.XOR | null asset?: Prisma.XOR | null task?: Prisma.XOR | null user?: Prisma.XOR | null readByMembers?: Prisma.XOR | null } export type NotificationOrderByWithRelationInput = { id?: Prisma.SortOrder type?: Prisma.SortOrderInput | Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder teamId?: Prisma.SortOrder projectId?: Prisma.SortOrderInput | Prisma.SortOrder creatorId?: Prisma.SortOrderInput | Prisma.SortOrder assetId?: Prisma.SortOrderInput | Prisma.SortOrder taskId?: Prisma.SortOrderInput | Prisma.SortOrder userId?: Prisma.SortOrderInput | Prisma.SortOrder team?: Prisma.TeamOrderByWithRelationInput project?: Prisma.ProjectOrderByWithRelationInput creator?: Prisma.UserOrderByWithRelationInput asset?: Prisma.AssetOrderByWithRelationInput task?: Prisma.TaskOrderByWithRelationInput user?: Prisma.UserOrderByWithRelationInput readByMembers?: Prisma.TeamMemberOrderByWithRelationInput } export type NotificationWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.NotificationWhereInput | Prisma.NotificationWhereInput[] OR?: Prisma.NotificationWhereInput[] NOT?: Prisma.NotificationWhereInput | Prisma.NotificationWhereInput[] type?: Prisma.EnumNotificationTypeNullableFilter<"Notification"> | $Enums.NotificationType | null createdAt?: Prisma.DateTimeFilter<"Notification"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Notification"> | Date | string teamId?: Prisma.StringFilter<"Notification"> | string projectId?: Prisma.StringNullableFilter<"Notification"> | string | null creatorId?: Prisma.StringNullableFilter<"Notification"> | string | null assetId?: Prisma.StringNullableFilter<"Notification"> | string | null taskId?: Prisma.StringNullableFilter<"Notification"> | string | null userId?: Prisma.StringNullableFilter<"Notification"> | string | null team?: Prisma.XOR project?: Prisma.XOR | null creator?: Prisma.XOR | null asset?: Prisma.XOR | null task?: Prisma.XOR | null user?: Prisma.XOR | null readByMembers?: Prisma.XOR | null }, "id"> export type NotificationOrderByWithAggregationInput = { id?: Prisma.SortOrder type?: Prisma.SortOrderInput | Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder teamId?: Prisma.SortOrder projectId?: Prisma.SortOrderInput | Prisma.SortOrder creatorId?: Prisma.SortOrderInput | Prisma.SortOrder assetId?: Prisma.SortOrderInput | Prisma.SortOrder taskId?: Prisma.SortOrderInput | Prisma.SortOrder userId?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.NotificationCountOrderByAggregateInput _max?: Prisma.NotificationMaxOrderByAggregateInput _min?: Prisma.NotificationMinOrderByAggregateInput } export type NotificationScalarWhereWithAggregatesInput = { AND?: Prisma.NotificationScalarWhereWithAggregatesInput | Prisma.NotificationScalarWhereWithAggregatesInput[] OR?: Prisma.NotificationScalarWhereWithAggregatesInput[] NOT?: Prisma.NotificationScalarWhereWithAggregatesInput | Prisma.NotificationScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"Notification"> | string type?: Prisma.EnumNotificationTypeNullableWithAggregatesFilter<"Notification"> | $Enums.NotificationType | null createdAt?: Prisma.DateTimeWithAggregatesFilter<"Notification"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Notification"> | Date | string teamId?: Prisma.StringWithAggregatesFilter<"Notification"> | string projectId?: Prisma.StringNullableWithAggregatesFilter<"Notification"> | string | null creatorId?: Prisma.StringNullableWithAggregatesFilter<"Notification"> | string | null assetId?: Prisma.StringNullableWithAggregatesFilter<"Notification"> | string | null taskId?: Prisma.StringNullableWithAggregatesFilter<"Notification"> | string | null userId?: Prisma.StringNullableWithAggregatesFilter<"Notification"> | string | null } export type NotificationCreateInput = { id?: string type?: $Enums.NotificationType | null createdAt?: Date | string updatedAt?: Date | string team: Prisma.TeamCreateNestedOneWithoutNotificationsInput project?: Prisma.ProjectCreateNestedOneWithoutNotificationsInput creator?: Prisma.UserCreateNestedOneWithoutCreatedNotificationsInput asset?: Prisma.AssetCreateNestedOneWithoutNotificationsInput task?: Prisma.TaskCreateNestedOneWithoutNotificationsInput user?: Prisma.UserCreateNestedOneWithoutNotificationsInput readByMembers?: Prisma.TeamMemberCreateNestedOneWithoutLastReadNotificationInput } export type NotificationUncheckedCreateInput = { id?: string type?: $Enums.NotificationType | null createdAt?: Date | string updatedAt?: Date | string teamId: string projectId?: string | null creatorId?: string | null assetId?: string | null taskId?: string | null userId?: string | null readByMembers?: Prisma.TeamMemberUncheckedCreateNestedOneWithoutLastReadNotificationInput } export type NotificationUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string team?: Prisma.TeamUpdateOneRequiredWithoutNotificationsNestedInput project?: Prisma.ProjectUpdateOneWithoutNotificationsNestedInput creator?: Prisma.UserUpdateOneWithoutCreatedNotificationsNestedInput asset?: Prisma.AssetUpdateOneWithoutNotificationsNestedInput task?: Prisma.TaskUpdateOneWithoutNotificationsNestedInput user?: Prisma.UserUpdateOneWithoutNotificationsNestedInput readByMembers?: Prisma.TeamMemberUpdateOneWithoutLastReadNotificationNestedInput } export type NotificationUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string teamId?: Prisma.StringFieldUpdateOperationsInput | string projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null readByMembers?: Prisma.TeamMemberUncheckedUpdateOneWithoutLastReadNotificationNestedInput } export type NotificationCreateManyInput = { id?: string type?: $Enums.NotificationType | null createdAt?: Date | string updatedAt?: Date | string teamId: string projectId?: string | null creatorId?: string | null assetId?: string | null taskId?: string | null userId?: string | null } export type NotificationUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type NotificationUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string teamId?: Prisma.StringFieldUpdateOperationsInput | string projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type NotificationListRelationFilter = { every?: Prisma.NotificationWhereInput some?: Prisma.NotificationWhereInput none?: Prisma.NotificationWhereInput } export type NotificationOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type NotificationNullableScalarRelationFilter = { is?: Prisma.NotificationWhereInput | null isNot?: Prisma.NotificationWhereInput | null } export type NotificationCountOrderByAggregateInput = { id?: Prisma.SortOrder type?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder teamId?: Prisma.SortOrder projectId?: Prisma.SortOrder creatorId?: Prisma.SortOrder assetId?: Prisma.SortOrder taskId?: Prisma.SortOrder userId?: Prisma.SortOrder } export type NotificationMaxOrderByAggregateInput = { id?: Prisma.SortOrder type?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder teamId?: Prisma.SortOrder projectId?: Prisma.SortOrder creatorId?: Prisma.SortOrder assetId?: Prisma.SortOrder taskId?: Prisma.SortOrder userId?: Prisma.SortOrder } export type NotificationMinOrderByAggregateInput = { id?: Prisma.SortOrder type?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder teamId?: Prisma.SortOrder projectId?: Prisma.SortOrder creatorId?: Prisma.SortOrder assetId?: Prisma.SortOrder taskId?: Prisma.SortOrder userId?: Prisma.SortOrder } export type NotificationCreateNestedManyWithoutCreatorInput = { create?: Prisma.XOR | Prisma.NotificationCreateWithoutCreatorInput[] | Prisma.NotificationUncheckedCreateWithoutCreatorInput[] connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutCreatorInput | Prisma.NotificationCreateOrConnectWithoutCreatorInput[] createMany?: Prisma.NotificationCreateManyCreatorInputEnvelope connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] } export type NotificationCreateNestedManyWithoutUserInput = { create?: Prisma.XOR | Prisma.NotificationCreateWithoutUserInput[] | Prisma.NotificationUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutUserInput | Prisma.NotificationCreateOrConnectWithoutUserInput[] createMany?: Prisma.NotificationCreateManyUserInputEnvelope connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] } export type NotificationUncheckedCreateNestedManyWithoutCreatorInput = { create?: Prisma.XOR | Prisma.NotificationCreateWithoutCreatorInput[] | Prisma.NotificationUncheckedCreateWithoutCreatorInput[] connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutCreatorInput | Prisma.NotificationCreateOrConnectWithoutCreatorInput[] createMany?: Prisma.NotificationCreateManyCreatorInputEnvelope connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] } export type NotificationUncheckedCreateNestedManyWithoutUserInput = { create?: Prisma.XOR | Prisma.NotificationCreateWithoutUserInput[] | Prisma.NotificationUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutUserInput | Prisma.NotificationCreateOrConnectWithoutUserInput[] createMany?: Prisma.NotificationCreateManyUserInputEnvelope connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] } export type NotificationUpdateManyWithoutCreatorNestedInput = { create?: Prisma.XOR | Prisma.NotificationCreateWithoutCreatorInput[] | Prisma.NotificationUncheckedCreateWithoutCreatorInput[] connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutCreatorInput | Prisma.NotificationCreateOrConnectWithoutCreatorInput[] upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutCreatorInput | Prisma.NotificationUpsertWithWhereUniqueWithoutCreatorInput[] createMany?: Prisma.NotificationCreateManyCreatorInputEnvelope set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] update?: Prisma.NotificationUpdateWithWhereUniqueWithoutCreatorInput | Prisma.NotificationUpdateWithWhereUniqueWithoutCreatorInput[] updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutCreatorInput | Prisma.NotificationUpdateManyWithWhereWithoutCreatorInput[] deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] } export type NotificationUpdateManyWithoutUserNestedInput = { create?: Prisma.XOR | Prisma.NotificationCreateWithoutUserInput[] | Prisma.NotificationUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutUserInput | Prisma.NotificationCreateOrConnectWithoutUserInput[] upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutUserInput | Prisma.NotificationUpsertWithWhereUniqueWithoutUserInput[] createMany?: Prisma.NotificationCreateManyUserInputEnvelope set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] update?: Prisma.NotificationUpdateWithWhereUniqueWithoutUserInput | Prisma.NotificationUpdateWithWhereUniqueWithoutUserInput[] updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutUserInput | Prisma.NotificationUpdateManyWithWhereWithoutUserInput[] deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] } export type NotificationUncheckedUpdateManyWithoutCreatorNestedInput = { create?: Prisma.XOR | Prisma.NotificationCreateWithoutCreatorInput[] | Prisma.NotificationUncheckedCreateWithoutCreatorInput[] connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutCreatorInput | Prisma.NotificationCreateOrConnectWithoutCreatorInput[] upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutCreatorInput | Prisma.NotificationUpsertWithWhereUniqueWithoutCreatorInput[] createMany?: Prisma.NotificationCreateManyCreatorInputEnvelope set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] update?: Prisma.NotificationUpdateWithWhereUniqueWithoutCreatorInput | Prisma.NotificationUpdateWithWhereUniqueWithoutCreatorInput[] updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutCreatorInput | Prisma.NotificationUpdateManyWithWhereWithoutCreatorInput[] deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] } export type NotificationUncheckedUpdateManyWithoutUserNestedInput = { create?: Prisma.XOR | Prisma.NotificationCreateWithoutUserInput[] | Prisma.NotificationUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutUserInput | Prisma.NotificationCreateOrConnectWithoutUserInput[] upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutUserInput | Prisma.NotificationUpsertWithWhereUniqueWithoutUserInput[] createMany?: Prisma.NotificationCreateManyUserInputEnvelope set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] update?: Prisma.NotificationUpdateWithWhereUniqueWithoutUserInput | Prisma.NotificationUpdateWithWhereUniqueWithoutUserInput[] updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutUserInput | Prisma.NotificationUpdateManyWithWhereWithoutUserInput[] deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] } export type NotificationCreateNestedManyWithoutTeamInput = { create?: Prisma.XOR | Prisma.NotificationCreateWithoutTeamInput[] | Prisma.NotificationUncheckedCreateWithoutTeamInput[] connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutTeamInput | Prisma.NotificationCreateOrConnectWithoutTeamInput[] createMany?: Prisma.NotificationCreateManyTeamInputEnvelope connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] } export type NotificationUncheckedCreateNestedManyWithoutTeamInput = { create?: Prisma.XOR | Prisma.NotificationCreateWithoutTeamInput[] | Prisma.NotificationUncheckedCreateWithoutTeamInput[] connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutTeamInput | Prisma.NotificationCreateOrConnectWithoutTeamInput[] createMany?: Prisma.NotificationCreateManyTeamInputEnvelope connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] } export type NotificationUpdateManyWithoutTeamNestedInput = { create?: Prisma.XOR | Prisma.NotificationCreateWithoutTeamInput[] | Prisma.NotificationUncheckedCreateWithoutTeamInput[] connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutTeamInput | Prisma.NotificationCreateOrConnectWithoutTeamInput[] upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutTeamInput | Prisma.NotificationUpsertWithWhereUniqueWithoutTeamInput[] createMany?: Prisma.NotificationCreateManyTeamInputEnvelope set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] update?: Prisma.NotificationUpdateWithWhereUniqueWithoutTeamInput | Prisma.NotificationUpdateWithWhereUniqueWithoutTeamInput[] updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutTeamInput | Prisma.NotificationUpdateManyWithWhereWithoutTeamInput[] deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] } export type NotificationUncheckedUpdateManyWithoutTeamNestedInput = { create?: Prisma.XOR | Prisma.NotificationCreateWithoutTeamInput[] | Prisma.NotificationUncheckedCreateWithoutTeamInput[] connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutTeamInput | Prisma.NotificationCreateOrConnectWithoutTeamInput[] upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutTeamInput | Prisma.NotificationUpsertWithWhereUniqueWithoutTeamInput[] createMany?: Prisma.NotificationCreateManyTeamInputEnvelope set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] update?: Prisma.NotificationUpdateWithWhereUniqueWithoutTeamInput | Prisma.NotificationUpdateWithWhereUniqueWithoutTeamInput[] updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutTeamInput | Prisma.NotificationUpdateManyWithWhereWithoutTeamInput[] deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] } export type NotificationCreateNestedOneWithoutReadByMembersInput = { create?: Prisma.XOR connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutReadByMembersInput connect?: Prisma.NotificationWhereUniqueInput } export type NotificationUpdateOneWithoutReadByMembersNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutReadByMembersInput upsert?: Prisma.NotificationUpsertWithoutReadByMembersInput disconnect?: Prisma.NotificationWhereInput | boolean delete?: Prisma.NotificationWhereInput | boolean connect?: Prisma.NotificationWhereUniqueInput update?: Prisma.XOR, Prisma.NotificationUncheckedUpdateWithoutReadByMembersInput> } export type NotificationCreateNestedManyWithoutProjectInput = { create?: Prisma.XOR | Prisma.NotificationCreateWithoutProjectInput[] | Prisma.NotificationUncheckedCreateWithoutProjectInput[] connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutProjectInput | Prisma.NotificationCreateOrConnectWithoutProjectInput[] createMany?: Prisma.NotificationCreateManyProjectInputEnvelope connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] } export type NotificationUncheckedCreateNestedManyWithoutProjectInput = { create?: Prisma.XOR | Prisma.NotificationCreateWithoutProjectInput[] | Prisma.NotificationUncheckedCreateWithoutProjectInput[] connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutProjectInput | Prisma.NotificationCreateOrConnectWithoutProjectInput[] createMany?: Prisma.NotificationCreateManyProjectInputEnvelope connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] } export type NotificationUpdateManyWithoutProjectNestedInput = { create?: Prisma.XOR | Prisma.NotificationCreateWithoutProjectInput[] | Prisma.NotificationUncheckedCreateWithoutProjectInput[] connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutProjectInput | Prisma.NotificationCreateOrConnectWithoutProjectInput[] upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutProjectInput | Prisma.NotificationUpsertWithWhereUniqueWithoutProjectInput[] createMany?: Prisma.NotificationCreateManyProjectInputEnvelope set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] update?: Prisma.NotificationUpdateWithWhereUniqueWithoutProjectInput | Prisma.NotificationUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutProjectInput | Prisma.NotificationUpdateManyWithWhereWithoutProjectInput[] deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] } export type NotificationUncheckedUpdateManyWithoutProjectNestedInput = { create?: Prisma.XOR | Prisma.NotificationCreateWithoutProjectInput[] | Prisma.NotificationUncheckedCreateWithoutProjectInput[] connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutProjectInput | Prisma.NotificationCreateOrConnectWithoutProjectInput[] upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutProjectInput | Prisma.NotificationUpsertWithWhereUniqueWithoutProjectInput[] createMany?: Prisma.NotificationCreateManyProjectInputEnvelope set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] update?: Prisma.NotificationUpdateWithWhereUniqueWithoutProjectInput | Prisma.NotificationUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutProjectInput | Prisma.NotificationUpdateManyWithWhereWithoutProjectInput[] deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] } export type NotificationCreateNestedManyWithoutAssetInput = { create?: Prisma.XOR | Prisma.NotificationCreateWithoutAssetInput[] | Prisma.NotificationUncheckedCreateWithoutAssetInput[] connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutAssetInput | Prisma.NotificationCreateOrConnectWithoutAssetInput[] createMany?: Prisma.NotificationCreateManyAssetInputEnvelope connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] } export type NotificationUncheckedCreateNestedManyWithoutAssetInput = { create?: Prisma.XOR | Prisma.NotificationCreateWithoutAssetInput[] | Prisma.NotificationUncheckedCreateWithoutAssetInput[] connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutAssetInput | Prisma.NotificationCreateOrConnectWithoutAssetInput[] createMany?: Prisma.NotificationCreateManyAssetInputEnvelope connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] } export type NotificationUpdateManyWithoutAssetNestedInput = { create?: Prisma.XOR | Prisma.NotificationCreateWithoutAssetInput[] | Prisma.NotificationUncheckedCreateWithoutAssetInput[] connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutAssetInput | Prisma.NotificationCreateOrConnectWithoutAssetInput[] upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutAssetInput | Prisma.NotificationUpsertWithWhereUniqueWithoutAssetInput[] createMany?: Prisma.NotificationCreateManyAssetInputEnvelope set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] update?: Prisma.NotificationUpdateWithWhereUniqueWithoutAssetInput | Prisma.NotificationUpdateWithWhereUniqueWithoutAssetInput[] updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutAssetInput | Prisma.NotificationUpdateManyWithWhereWithoutAssetInput[] deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] } export type NotificationUncheckedUpdateManyWithoutAssetNestedInput = { create?: Prisma.XOR | Prisma.NotificationCreateWithoutAssetInput[] | Prisma.NotificationUncheckedCreateWithoutAssetInput[] connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutAssetInput | Prisma.NotificationCreateOrConnectWithoutAssetInput[] upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutAssetInput | Prisma.NotificationUpsertWithWhereUniqueWithoutAssetInput[] createMany?: Prisma.NotificationCreateManyAssetInputEnvelope set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] update?: Prisma.NotificationUpdateWithWhereUniqueWithoutAssetInput | Prisma.NotificationUpdateWithWhereUniqueWithoutAssetInput[] updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutAssetInput | Prisma.NotificationUpdateManyWithWhereWithoutAssetInput[] deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] } export type NullableEnumNotificationTypeFieldUpdateOperationsInput = { set?: $Enums.NotificationType | null } export type NotificationCreateNestedManyWithoutTaskInput = { create?: Prisma.XOR | Prisma.NotificationCreateWithoutTaskInput[] | Prisma.NotificationUncheckedCreateWithoutTaskInput[] connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutTaskInput | Prisma.NotificationCreateOrConnectWithoutTaskInput[] createMany?: Prisma.NotificationCreateManyTaskInputEnvelope connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] } export type NotificationUncheckedCreateNestedManyWithoutTaskInput = { create?: Prisma.XOR | Prisma.NotificationCreateWithoutTaskInput[] | Prisma.NotificationUncheckedCreateWithoutTaskInput[] connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutTaskInput | Prisma.NotificationCreateOrConnectWithoutTaskInput[] createMany?: Prisma.NotificationCreateManyTaskInputEnvelope connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] } export type NotificationUpdateManyWithoutTaskNestedInput = { create?: Prisma.XOR | Prisma.NotificationCreateWithoutTaskInput[] | Prisma.NotificationUncheckedCreateWithoutTaskInput[] connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutTaskInput | Prisma.NotificationCreateOrConnectWithoutTaskInput[] upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutTaskInput | Prisma.NotificationUpsertWithWhereUniqueWithoutTaskInput[] createMany?: Prisma.NotificationCreateManyTaskInputEnvelope set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] update?: Prisma.NotificationUpdateWithWhereUniqueWithoutTaskInput | Prisma.NotificationUpdateWithWhereUniqueWithoutTaskInput[] updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutTaskInput | Prisma.NotificationUpdateManyWithWhereWithoutTaskInput[] deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] } export type NotificationUncheckedUpdateManyWithoutTaskNestedInput = { create?: Prisma.XOR | Prisma.NotificationCreateWithoutTaskInput[] | Prisma.NotificationUncheckedCreateWithoutTaskInput[] connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutTaskInput | Prisma.NotificationCreateOrConnectWithoutTaskInput[] upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutTaskInput | Prisma.NotificationUpsertWithWhereUniqueWithoutTaskInput[] createMany?: Prisma.NotificationCreateManyTaskInputEnvelope set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] update?: Prisma.NotificationUpdateWithWhereUniqueWithoutTaskInput | Prisma.NotificationUpdateWithWhereUniqueWithoutTaskInput[] updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutTaskInput | Prisma.NotificationUpdateManyWithWhereWithoutTaskInput[] deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] } export type NotificationCreateWithoutCreatorInput = { id?: string type?: $Enums.NotificationType | null createdAt?: Date | string updatedAt?: Date | string team: Prisma.TeamCreateNestedOneWithoutNotificationsInput project?: Prisma.ProjectCreateNestedOneWithoutNotificationsInput asset?: Prisma.AssetCreateNestedOneWithoutNotificationsInput task?: Prisma.TaskCreateNestedOneWithoutNotificationsInput user?: Prisma.UserCreateNestedOneWithoutNotificationsInput readByMembers?: Prisma.TeamMemberCreateNestedOneWithoutLastReadNotificationInput } export type NotificationUncheckedCreateWithoutCreatorInput = { id?: string type?: $Enums.NotificationType | null createdAt?: Date | string updatedAt?: Date | string teamId: string projectId?: string | null assetId?: string | null taskId?: string | null userId?: string | null readByMembers?: Prisma.TeamMemberUncheckedCreateNestedOneWithoutLastReadNotificationInput } export type NotificationCreateOrConnectWithoutCreatorInput = { where: Prisma.NotificationWhereUniqueInput create: Prisma.XOR } export type NotificationCreateManyCreatorInputEnvelope = { data: Prisma.NotificationCreateManyCreatorInput | Prisma.NotificationCreateManyCreatorInput[] skipDuplicates?: boolean } export type NotificationCreateWithoutUserInput = { id?: string type?: $Enums.NotificationType | null createdAt?: Date | string updatedAt?: Date | string team: Prisma.TeamCreateNestedOneWithoutNotificationsInput project?: Prisma.ProjectCreateNestedOneWithoutNotificationsInput creator?: Prisma.UserCreateNestedOneWithoutCreatedNotificationsInput asset?: Prisma.AssetCreateNestedOneWithoutNotificationsInput task?: Prisma.TaskCreateNestedOneWithoutNotificationsInput readByMembers?: Prisma.TeamMemberCreateNestedOneWithoutLastReadNotificationInput } export type NotificationUncheckedCreateWithoutUserInput = { id?: string type?: $Enums.NotificationType | null createdAt?: Date | string updatedAt?: Date | string teamId: string projectId?: string | null creatorId?: string | null assetId?: string | null taskId?: string | null readByMembers?: Prisma.TeamMemberUncheckedCreateNestedOneWithoutLastReadNotificationInput } export type NotificationCreateOrConnectWithoutUserInput = { where: Prisma.NotificationWhereUniqueInput create: Prisma.XOR } export type NotificationCreateManyUserInputEnvelope = { data: Prisma.NotificationCreateManyUserInput | Prisma.NotificationCreateManyUserInput[] skipDuplicates?: boolean } export type NotificationUpsertWithWhereUniqueWithoutCreatorInput = { where: Prisma.NotificationWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type NotificationUpdateWithWhereUniqueWithoutCreatorInput = { where: Prisma.NotificationWhereUniqueInput data: Prisma.XOR } export type NotificationUpdateManyWithWhereWithoutCreatorInput = { where: Prisma.NotificationScalarWhereInput data: Prisma.XOR } export type NotificationScalarWhereInput = { AND?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] OR?: Prisma.NotificationScalarWhereInput[] NOT?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] id?: Prisma.StringFilter<"Notification"> | string type?: Prisma.EnumNotificationTypeNullableFilter<"Notification"> | $Enums.NotificationType | null createdAt?: Prisma.DateTimeFilter<"Notification"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Notification"> | Date | string teamId?: Prisma.StringFilter<"Notification"> | string projectId?: Prisma.StringNullableFilter<"Notification"> | string | null creatorId?: Prisma.StringNullableFilter<"Notification"> | string | null assetId?: Prisma.StringNullableFilter<"Notification"> | string | null taskId?: Prisma.StringNullableFilter<"Notification"> | string | null userId?: Prisma.StringNullableFilter<"Notification"> | string | null } export type NotificationUpsertWithWhereUniqueWithoutUserInput = { where: Prisma.NotificationWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type NotificationUpdateWithWhereUniqueWithoutUserInput = { where: Prisma.NotificationWhereUniqueInput data: Prisma.XOR } export type NotificationUpdateManyWithWhereWithoutUserInput = { where: Prisma.NotificationScalarWhereInput data: Prisma.XOR } export type NotificationCreateWithoutTeamInput = { id?: string type?: $Enums.NotificationType | null createdAt?: Date | string updatedAt?: Date | string project?: Prisma.ProjectCreateNestedOneWithoutNotificationsInput creator?: Prisma.UserCreateNestedOneWithoutCreatedNotificationsInput asset?: Prisma.AssetCreateNestedOneWithoutNotificationsInput task?: Prisma.TaskCreateNestedOneWithoutNotificationsInput user?: Prisma.UserCreateNestedOneWithoutNotificationsInput readByMembers?: Prisma.TeamMemberCreateNestedOneWithoutLastReadNotificationInput } export type NotificationUncheckedCreateWithoutTeamInput = { id?: string type?: $Enums.NotificationType | null createdAt?: Date | string updatedAt?: Date | string projectId?: string | null creatorId?: string | null assetId?: string | null taskId?: string | null userId?: string | null readByMembers?: Prisma.TeamMemberUncheckedCreateNestedOneWithoutLastReadNotificationInput } export type NotificationCreateOrConnectWithoutTeamInput = { where: Prisma.NotificationWhereUniqueInput create: Prisma.XOR } export type NotificationCreateManyTeamInputEnvelope = { data: Prisma.NotificationCreateManyTeamInput | Prisma.NotificationCreateManyTeamInput[] skipDuplicates?: boolean } export type NotificationUpsertWithWhereUniqueWithoutTeamInput = { where: Prisma.NotificationWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type NotificationUpdateWithWhereUniqueWithoutTeamInput = { where: Prisma.NotificationWhereUniqueInput data: Prisma.XOR } export type NotificationUpdateManyWithWhereWithoutTeamInput = { where: Prisma.NotificationScalarWhereInput data: Prisma.XOR } export type NotificationCreateWithoutReadByMembersInput = { id?: string type?: $Enums.NotificationType | null createdAt?: Date | string updatedAt?: Date | string team: Prisma.TeamCreateNestedOneWithoutNotificationsInput project?: Prisma.ProjectCreateNestedOneWithoutNotificationsInput creator?: Prisma.UserCreateNestedOneWithoutCreatedNotificationsInput asset?: Prisma.AssetCreateNestedOneWithoutNotificationsInput task?: Prisma.TaskCreateNestedOneWithoutNotificationsInput user?: Prisma.UserCreateNestedOneWithoutNotificationsInput } export type NotificationUncheckedCreateWithoutReadByMembersInput = { id?: string type?: $Enums.NotificationType | null createdAt?: Date | string updatedAt?: Date | string teamId: string projectId?: string | null creatorId?: string | null assetId?: string | null taskId?: string | null userId?: string | null } export type NotificationCreateOrConnectWithoutReadByMembersInput = { where: Prisma.NotificationWhereUniqueInput create: Prisma.XOR } export type NotificationUpsertWithoutReadByMembersInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.NotificationWhereInput } export type NotificationUpdateToOneWithWhereWithoutReadByMembersInput = { where?: Prisma.NotificationWhereInput data: Prisma.XOR } export type NotificationUpdateWithoutReadByMembersInput = { id?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string team?: Prisma.TeamUpdateOneRequiredWithoutNotificationsNestedInput project?: Prisma.ProjectUpdateOneWithoutNotificationsNestedInput creator?: Prisma.UserUpdateOneWithoutCreatedNotificationsNestedInput asset?: Prisma.AssetUpdateOneWithoutNotificationsNestedInput task?: Prisma.TaskUpdateOneWithoutNotificationsNestedInput user?: Prisma.UserUpdateOneWithoutNotificationsNestedInput } export type NotificationUncheckedUpdateWithoutReadByMembersInput = { id?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string teamId?: Prisma.StringFieldUpdateOperationsInput | string projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type NotificationCreateWithoutProjectInput = { id?: string type?: $Enums.NotificationType | null createdAt?: Date | string updatedAt?: Date | string team: Prisma.TeamCreateNestedOneWithoutNotificationsInput creator?: Prisma.UserCreateNestedOneWithoutCreatedNotificationsInput asset?: Prisma.AssetCreateNestedOneWithoutNotificationsInput task?: Prisma.TaskCreateNestedOneWithoutNotificationsInput user?: Prisma.UserCreateNestedOneWithoutNotificationsInput readByMembers?: Prisma.TeamMemberCreateNestedOneWithoutLastReadNotificationInput } export type NotificationUncheckedCreateWithoutProjectInput = { id?: string type?: $Enums.NotificationType | null createdAt?: Date | string updatedAt?: Date | string teamId: string creatorId?: string | null assetId?: string | null taskId?: string | null userId?: string | null readByMembers?: Prisma.TeamMemberUncheckedCreateNestedOneWithoutLastReadNotificationInput } export type NotificationCreateOrConnectWithoutProjectInput = { where: Prisma.NotificationWhereUniqueInput create: Prisma.XOR } export type NotificationCreateManyProjectInputEnvelope = { data: Prisma.NotificationCreateManyProjectInput | Prisma.NotificationCreateManyProjectInput[] skipDuplicates?: boolean } export type NotificationUpsertWithWhereUniqueWithoutProjectInput = { where: Prisma.NotificationWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type NotificationUpdateWithWhereUniqueWithoutProjectInput = { where: Prisma.NotificationWhereUniqueInput data: Prisma.XOR } export type NotificationUpdateManyWithWhereWithoutProjectInput = { where: Prisma.NotificationScalarWhereInput data: Prisma.XOR } export type NotificationCreateWithoutAssetInput = { id?: string type?: $Enums.NotificationType | null createdAt?: Date | string updatedAt?: Date | string team: Prisma.TeamCreateNestedOneWithoutNotificationsInput project?: Prisma.ProjectCreateNestedOneWithoutNotificationsInput creator?: Prisma.UserCreateNestedOneWithoutCreatedNotificationsInput task?: Prisma.TaskCreateNestedOneWithoutNotificationsInput user?: Prisma.UserCreateNestedOneWithoutNotificationsInput readByMembers?: Prisma.TeamMemberCreateNestedOneWithoutLastReadNotificationInput } export type NotificationUncheckedCreateWithoutAssetInput = { id?: string type?: $Enums.NotificationType | null createdAt?: Date | string updatedAt?: Date | string teamId: string projectId?: string | null creatorId?: string | null taskId?: string | null userId?: string | null readByMembers?: Prisma.TeamMemberUncheckedCreateNestedOneWithoutLastReadNotificationInput } export type NotificationCreateOrConnectWithoutAssetInput = { where: Prisma.NotificationWhereUniqueInput create: Prisma.XOR } export type NotificationCreateManyAssetInputEnvelope = { data: Prisma.NotificationCreateManyAssetInput | Prisma.NotificationCreateManyAssetInput[] skipDuplicates?: boolean } export type NotificationUpsertWithWhereUniqueWithoutAssetInput = { where: Prisma.NotificationWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type NotificationUpdateWithWhereUniqueWithoutAssetInput = { where: Prisma.NotificationWhereUniqueInput data: Prisma.XOR } export type NotificationUpdateManyWithWhereWithoutAssetInput = { where: Prisma.NotificationScalarWhereInput data: Prisma.XOR } export type NotificationCreateWithoutTaskInput = { id?: string type?: $Enums.NotificationType | null createdAt?: Date | string updatedAt?: Date | string team: Prisma.TeamCreateNestedOneWithoutNotificationsInput project?: Prisma.ProjectCreateNestedOneWithoutNotificationsInput creator?: Prisma.UserCreateNestedOneWithoutCreatedNotificationsInput asset?: Prisma.AssetCreateNestedOneWithoutNotificationsInput user?: Prisma.UserCreateNestedOneWithoutNotificationsInput readByMembers?: Prisma.TeamMemberCreateNestedOneWithoutLastReadNotificationInput } export type NotificationUncheckedCreateWithoutTaskInput = { id?: string type?: $Enums.NotificationType | null createdAt?: Date | string updatedAt?: Date | string teamId: string projectId?: string | null creatorId?: string | null assetId?: string | null userId?: string | null readByMembers?: Prisma.TeamMemberUncheckedCreateNestedOneWithoutLastReadNotificationInput } export type NotificationCreateOrConnectWithoutTaskInput = { where: Prisma.NotificationWhereUniqueInput create: Prisma.XOR } export type NotificationCreateManyTaskInputEnvelope = { data: Prisma.NotificationCreateManyTaskInput | Prisma.NotificationCreateManyTaskInput[] skipDuplicates?: boolean } export type NotificationUpsertWithWhereUniqueWithoutTaskInput = { where: Prisma.NotificationWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type NotificationUpdateWithWhereUniqueWithoutTaskInput = { where: Prisma.NotificationWhereUniqueInput data: Prisma.XOR } export type NotificationUpdateManyWithWhereWithoutTaskInput = { where: Prisma.NotificationScalarWhereInput data: Prisma.XOR } export type NotificationCreateManyCreatorInput = { id?: string type?: $Enums.NotificationType | null createdAt?: Date | string updatedAt?: Date | string teamId: string projectId?: string | null assetId?: string | null taskId?: string | null userId?: string | null } export type NotificationCreateManyUserInput = { id?: string type?: $Enums.NotificationType | null createdAt?: Date | string updatedAt?: Date | string teamId: string projectId?: string | null creatorId?: string | null assetId?: string | null taskId?: string | null } export type NotificationUpdateWithoutCreatorInput = { id?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string team?: Prisma.TeamUpdateOneRequiredWithoutNotificationsNestedInput project?: Prisma.ProjectUpdateOneWithoutNotificationsNestedInput asset?: Prisma.AssetUpdateOneWithoutNotificationsNestedInput task?: Prisma.TaskUpdateOneWithoutNotificationsNestedInput user?: Prisma.UserUpdateOneWithoutNotificationsNestedInput readByMembers?: Prisma.TeamMemberUpdateOneWithoutLastReadNotificationNestedInput } export type NotificationUncheckedUpdateWithoutCreatorInput = { id?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string teamId?: Prisma.StringFieldUpdateOperationsInput | string projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null readByMembers?: Prisma.TeamMemberUncheckedUpdateOneWithoutLastReadNotificationNestedInput } export type NotificationUncheckedUpdateManyWithoutCreatorInput = { id?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string teamId?: Prisma.StringFieldUpdateOperationsInput | string projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type NotificationUpdateWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string team?: Prisma.TeamUpdateOneRequiredWithoutNotificationsNestedInput project?: Prisma.ProjectUpdateOneWithoutNotificationsNestedInput creator?: Prisma.UserUpdateOneWithoutCreatedNotificationsNestedInput asset?: Prisma.AssetUpdateOneWithoutNotificationsNestedInput task?: Prisma.TaskUpdateOneWithoutNotificationsNestedInput readByMembers?: Prisma.TeamMemberUpdateOneWithoutLastReadNotificationNestedInput } export type NotificationUncheckedUpdateWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string teamId?: Prisma.StringFieldUpdateOperationsInput | string projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null readByMembers?: Prisma.TeamMemberUncheckedUpdateOneWithoutLastReadNotificationNestedInput } export type NotificationUncheckedUpdateManyWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string teamId?: Prisma.StringFieldUpdateOperationsInput | string projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type NotificationCreateManyTeamInput = { id?: string type?: $Enums.NotificationType | null createdAt?: Date | string updatedAt?: Date | string projectId?: string | null creatorId?: string | null assetId?: string | null taskId?: string | null userId?: string | null } export type NotificationUpdateWithoutTeamInput = { id?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string project?: Prisma.ProjectUpdateOneWithoutNotificationsNestedInput creator?: Prisma.UserUpdateOneWithoutCreatedNotificationsNestedInput asset?: Prisma.AssetUpdateOneWithoutNotificationsNestedInput task?: Prisma.TaskUpdateOneWithoutNotificationsNestedInput user?: Prisma.UserUpdateOneWithoutNotificationsNestedInput readByMembers?: Prisma.TeamMemberUpdateOneWithoutLastReadNotificationNestedInput } export type NotificationUncheckedUpdateWithoutTeamInput = { id?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null readByMembers?: Prisma.TeamMemberUncheckedUpdateOneWithoutLastReadNotificationNestedInput } export type NotificationUncheckedUpdateManyWithoutTeamInput = { id?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type NotificationCreateManyProjectInput = { id?: string type?: $Enums.NotificationType | null createdAt?: Date | string updatedAt?: Date | string teamId: string creatorId?: string | null assetId?: string | null taskId?: string | null userId?: string | null } export type NotificationUpdateWithoutProjectInput = { id?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string team?: Prisma.TeamUpdateOneRequiredWithoutNotificationsNestedInput creator?: Prisma.UserUpdateOneWithoutCreatedNotificationsNestedInput asset?: Prisma.AssetUpdateOneWithoutNotificationsNestedInput task?: Prisma.TaskUpdateOneWithoutNotificationsNestedInput user?: Prisma.UserUpdateOneWithoutNotificationsNestedInput readByMembers?: Prisma.TeamMemberUpdateOneWithoutLastReadNotificationNestedInput } export type NotificationUncheckedUpdateWithoutProjectInput = { id?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string teamId?: Prisma.StringFieldUpdateOperationsInput | string creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null readByMembers?: Prisma.TeamMemberUncheckedUpdateOneWithoutLastReadNotificationNestedInput } export type NotificationUncheckedUpdateManyWithoutProjectInput = { id?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string teamId?: Prisma.StringFieldUpdateOperationsInput | string creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type NotificationCreateManyAssetInput = { id?: string type?: $Enums.NotificationType | null createdAt?: Date | string updatedAt?: Date | string teamId: string projectId?: string | null creatorId?: string | null taskId?: string | null userId?: string | null } export type NotificationUpdateWithoutAssetInput = { id?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string team?: Prisma.TeamUpdateOneRequiredWithoutNotificationsNestedInput project?: Prisma.ProjectUpdateOneWithoutNotificationsNestedInput creator?: Prisma.UserUpdateOneWithoutCreatedNotificationsNestedInput task?: Prisma.TaskUpdateOneWithoutNotificationsNestedInput user?: Prisma.UserUpdateOneWithoutNotificationsNestedInput readByMembers?: Prisma.TeamMemberUpdateOneWithoutLastReadNotificationNestedInput } export type NotificationUncheckedUpdateWithoutAssetInput = { id?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string teamId?: Prisma.StringFieldUpdateOperationsInput | string projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null readByMembers?: Prisma.TeamMemberUncheckedUpdateOneWithoutLastReadNotificationNestedInput } export type NotificationUncheckedUpdateManyWithoutAssetInput = { id?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string teamId?: Prisma.StringFieldUpdateOperationsInput | string projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type NotificationCreateManyTaskInput = { id?: string type?: $Enums.NotificationType | null createdAt?: Date | string updatedAt?: Date | string teamId: string projectId?: string | null creatorId?: string | null assetId?: string | null userId?: string | null } export type NotificationUpdateWithoutTaskInput = { id?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string team?: Prisma.TeamUpdateOneRequiredWithoutNotificationsNestedInput project?: Prisma.ProjectUpdateOneWithoutNotificationsNestedInput creator?: Prisma.UserUpdateOneWithoutCreatedNotificationsNestedInput asset?: Prisma.AssetUpdateOneWithoutNotificationsNestedInput user?: Prisma.UserUpdateOneWithoutNotificationsNestedInput readByMembers?: Prisma.TeamMemberUpdateOneWithoutLastReadNotificationNestedInput } export type NotificationUncheckedUpdateWithoutTaskInput = { id?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string teamId?: Prisma.StringFieldUpdateOperationsInput | string projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null readByMembers?: Prisma.TeamMemberUncheckedUpdateOneWithoutLastReadNotificationNestedInput } export type NotificationUncheckedUpdateManyWithoutTaskInput = { id?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string teamId?: Prisma.StringFieldUpdateOperationsInput | string projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type NotificationSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean type?: boolean createdAt?: boolean updatedAt?: boolean teamId?: boolean projectId?: boolean creatorId?: boolean assetId?: boolean taskId?: boolean userId?: boolean team?: boolean | Prisma.TeamDefaultArgs project?: boolean | Prisma.Notification$projectArgs creator?: boolean | Prisma.Notification$creatorArgs asset?: boolean | Prisma.Notification$assetArgs task?: boolean | Prisma.Notification$taskArgs user?: boolean | Prisma.Notification$userArgs readByMembers?: boolean | Prisma.Notification$readByMembersArgs }, ExtArgs["result"]["notification"]> export type NotificationSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean type?: boolean createdAt?: boolean updatedAt?: boolean teamId?: boolean projectId?: boolean creatorId?: boolean assetId?: boolean taskId?: boolean userId?: boolean team?: boolean | Prisma.TeamDefaultArgs project?: boolean | Prisma.Notification$projectArgs creator?: boolean | Prisma.Notification$creatorArgs asset?: boolean | Prisma.Notification$assetArgs task?: boolean | Prisma.Notification$taskArgs user?: boolean | Prisma.Notification$userArgs }, ExtArgs["result"]["notification"]> export type NotificationSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean type?: boolean createdAt?: boolean updatedAt?: boolean teamId?: boolean projectId?: boolean creatorId?: boolean assetId?: boolean taskId?: boolean userId?: boolean team?: boolean | Prisma.TeamDefaultArgs project?: boolean | Prisma.Notification$projectArgs creator?: boolean | Prisma.Notification$creatorArgs asset?: boolean | Prisma.Notification$assetArgs task?: boolean | Prisma.Notification$taskArgs user?: boolean | Prisma.Notification$userArgs }, ExtArgs["result"]["notification"]> export type NotificationSelectScalar = { id?: boolean type?: boolean createdAt?: boolean updatedAt?: boolean teamId?: boolean projectId?: boolean creatorId?: boolean assetId?: boolean taskId?: boolean userId?: boolean } export type NotificationOmit = runtime.Types.Extensions.GetOmit<"id" | "type" | "createdAt" | "updatedAt" | "teamId" | "projectId" | "creatorId" | "assetId" | "taskId" | "userId", ExtArgs["result"]["notification"]> export type NotificationInclude = { team?: boolean | Prisma.TeamDefaultArgs project?: boolean | Prisma.Notification$projectArgs creator?: boolean | Prisma.Notification$creatorArgs asset?: boolean | Prisma.Notification$assetArgs task?: boolean | Prisma.Notification$taskArgs user?: boolean | Prisma.Notification$userArgs readByMembers?: boolean | Prisma.Notification$readByMembersArgs } export type NotificationIncludeCreateManyAndReturn = { team?: boolean | Prisma.TeamDefaultArgs project?: boolean | Prisma.Notification$projectArgs creator?: boolean | Prisma.Notification$creatorArgs asset?: boolean | Prisma.Notification$assetArgs task?: boolean | Prisma.Notification$taskArgs user?: boolean | Prisma.Notification$userArgs } export type NotificationIncludeUpdateManyAndReturn = { team?: boolean | Prisma.TeamDefaultArgs project?: boolean | Prisma.Notification$projectArgs creator?: boolean | Prisma.Notification$creatorArgs asset?: boolean | Prisma.Notification$assetArgs task?: boolean | Prisma.Notification$taskArgs user?: boolean | Prisma.Notification$userArgs } export type $NotificationPayload = { name: "Notification" objects: { team: Prisma.$TeamPayload project: Prisma.$ProjectPayload | null creator: Prisma.$UserPayload | null asset: Prisma.$AssetPayload | null task: Prisma.$TaskPayload | null user: Prisma.$UserPayload | null readByMembers: Prisma.$TeamMemberPayload | null } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string type: $Enums.NotificationType | null createdAt: Date updatedAt: Date teamId: string projectId: string | null creatorId: string | null assetId: string | null taskId: string | null userId: string | null }, ExtArgs["result"]["notification"]> composites: {} } export type NotificationGetPayload = runtime.Types.Result.GetResult export type NotificationCountArgs = Omit & { select?: NotificationCountAggregateInputType | true } export interface NotificationDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Notification'], meta: { name: 'Notification' } } /** * Find zero or one Notification that matches the filter. * @param {NotificationFindUniqueArgs} args - Arguments to find a Notification * @example * // Get one Notification * const notification = await prisma.notification.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__NotificationClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Notification that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {NotificationFindUniqueOrThrowArgs} args - Arguments to find a Notification * @example * // Get one Notification * const notification = await prisma.notification.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__NotificationClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Notification 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 {NotificationFindFirstArgs} args - Arguments to find a Notification * @example * // Get one Notification * const notification = await prisma.notification.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__NotificationClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Notification 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 {NotificationFindFirstOrThrowArgs} args - Arguments to find a Notification * @example * // Get one Notification * const notification = await prisma.notification.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__NotificationClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Notifications 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 {NotificationFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Notifications * const notifications = await prisma.notification.findMany() * * // Get first 10 Notifications * const notifications = await prisma.notification.findMany({ take: 10 }) * * // Only select the `id` * const notificationWithIdOnly = await prisma.notification.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Notification. * @param {NotificationCreateArgs} args - Arguments to create a Notification. * @example * // Create one Notification * const Notification = await prisma.notification.create({ * data: { * // ... data to create a Notification * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__NotificationClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Notifications. * @param {NotificationCreateManyArgs} args - Arguments to create many Notifications. * @example * // Create many Notifications * const notification = await prisma.notification.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many Notifications and returns the data saved in the database. * @param {NotificationCreateManyAndReturnArgs} args - Arguments to create many Notifications. * @example * // Create many Notifications * const notification = await prisma.notification.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Notifications and only return the `id` * const notificationWithIdOnly = await prisma.notification.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 Notification. * @param {NotificationDeleteArgs} args - Arguments to delete one Notification. * @example * // Delete one Notification * const Notification = await prisma.notification.delete({ * where: { * // ... filter to delete one Notification * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__NotificationClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Notification. * @param {NotificationUpdateArgs} args - Arguments to update one Notification. * @example * // Update one Notification * const notification = await prisma.notification.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__NotificationClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Notifications. * @param {NotificationDeleteManyArgs} args - Arguments to filter Notifications to delete. * @example * // Delete a few Notifications * const { count } = await prisma.notification.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Notifications. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {NotificationUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Notifications * const notification = await prisma.notification.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Notifications and returns the data updated in the database. * @param {NotificationUpdateManyAndReturnArgs} args - Arguments to update many Notifications. * @example * // Update many Notifications * const notification = await prisma.notification.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Notifications and only return the `id` * const notificationWithIdOnly = await prisma.notification.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 Notification. * @param {NotificationUpsertArgs} args - Arguments to update or create a Notification. * @example * // Update or create a Notification * const notification = await prisma.notification.upsert({ * create: { * // ... data to create a Notification * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Notification we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__NotificationClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Notifications. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {NotificationCountArgs} args - Arguments to filter Notifications to count. * @example * // Count the number of Notifications * const count = await prisma.notification.count({ * where: { * // ... the filter for the Notifications 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 Notification. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {NotificationAggregateArgs} 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 Notification. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {NotificationGroupByArgs} 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 NotificationGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: NotificationGroupByArgs['orderBy'] } : { orderBy?: NotificationGroupByArgs['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 ? GetNotificationGroupByPayload : Prisma.PrismaPromise /** * Fields of the Notification model */ readonly fields: NotificationFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Notification. * 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__NotificationClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" team = {}>(args?: Prisma.Subset>): Prisma.Prisma__TeamClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> project = {}>(args?: Prisma.Subset>): Prisma.Prisma__ProjectClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> creator = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> asset = {}>(args?: Prisma.Subset>): Prisma.Prisma__AssetClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> task = {}>(args?: Prisma.Subset>): Prisma.Prisma__TaskClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> readByMembers = {}>(args?: Prisma.Subset>): Prisma.Prisma__TeamMemberClient, 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 Notification model */ export interface NotificationFieldRefs { readonly id: Prisma.FieldRef<"Notification", 'String'> readonly type: Prisma.FieldRef<"Notification", 'NotificationType'> readonly createdAt: Prisma.FieldRef<"Notification", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"Notification", 'DateTime'> readonly teamId: Prisma.FieldRef<"Notification", 'String'> readonly projectId: Prisma.FieldRef<"Notification", 'String'> readonly creatorId: Prisma.FieldRef<"Notification", 'String'> readonly assetId: Prisma.FieldRef<"Notification", 'String'> readonly taskId: Prisma.FieldRef<"Notification", 'String'> readonly userId: Prisma.FieldRef<"Notification", 'String'> } // Custom InputTypes /** * Notification findUnique */ export type NotificationFindUniqueArgs = { /** * Select specific fields to fetch from the Notification */ select?: Prisma.NotificationSelect | null /** * Omit specific fields from the Notification */ omit?: Prisma.NotificationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.NotificationInclude | null /** * Filter, which Notification to fetch. */ where: Prisma.NotificationWhereUniqueInput } /** * Notification findUniqueOrThrow */ export type NotificationFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Notification */ select?: Prisma.NotificationSelect | null /** * Omit specific fields from the Notification */ omit?: Prisma.NotificationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.NotificationInclude | null /** * Filter, which Notification to fetch. */ where: Prisma.NotificationWhereUniqueInput } /** * Notification findFirst */ export type NotificationFindFirstArgs = { /** * Select specific fields to fetch from the Notification */ select?: Prisma.NotificationSelect | null /** * Omit specific fields from the Notification */ omit?: Prisma.NotificationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.NotificationInclude | null /** * Filter, which Notification to fetch. */ where?: Prisma.NotificationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Notifications to fetch. */ orderBy?: Prisma.NotificationOrderByWithRelationInput | Prisma.NotificationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Notifications. */ cursor?: Prisma.NotificationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Notifications 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` Notifications. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Notifications. */ distinct?: Prisma.NotificationScalarFieldEnum | Prisma.NotificationScalarFieldEnum[] } /** * Notification findFirstOrThrow */ export type NotificationFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Notification */ select?: Prisma.NotificationSelect | null /** * Omit specific fields from the Notification */ omit?: Prisma.NotificationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.NotificationInclude | null /** * Filter, which Notification to fetch. */ where?: Prisma.NotificationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Notifications to fetch. */ orderBy?: Prisma.NotificationOrderByWithRelationInput | Prisma.NotificationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Notifications. */ cursor?: Prisma.NotificationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Notifications 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` Notifications. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Notifications. */ distinct?: Prisma.NotificationScalarFieldEnum | Prisma.NotificationScalarFieldEnum[] } /** * Notification findMany */ export type NotificationFindManyArgs = { /** * Select specific fields to fetch from the Notification */ select?: Prisma.NotificationSelect | null /** * Omit specific fields from the Notification */ omit?: Prisma.NotificationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.NotificationInclude | null /** * Filter, which Notifications to fetch. */ where?: Prisma.NotificationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Notifications to fetch. */ orderBy?: Prisma.NotificationOrderByWithRelationInput | Prisma.NotificationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Notifications. */ cursor?: Prisma.NotificationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Notifications 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` Notifications. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Notifications. */ distinct?: Prisma.NotificationScalarFieldEnum | Prisma.NotificationScalarFieldEnum[] } /** * Notification create */ export type NotificationCreateArgs = { /** * Select specific fields to fetch from the Notification */ select?: Prisma.NotificationSelect | null /** * Omit specific fields from the Notification */ omit?: Prisma.NotificationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.NotificationInclude | null /** * The data needed to create a Notification. */ data: Prisma.XOR } /** * Notification createMany */ export type NotificationCreateManyArgs = { /** * The data used to create many Notifications. */ data: Prisma.NotificationCreateManyInput | Prisma.NotificationCreateManyInput[] skipDuplicates?: boolean } /** * Notification createManyAndReturn */ export type NotificationCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Notification */ select?: Prisma.NotificationSelectCreateManyAndReturn | null /** * Omit specific fields from the Notification */ omit?: Prisma.NotificationOmit | null /** * The data used to create many Notifications. */ data: Prisma.NotificationCreateManyInput | Prisma.NotificationCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.NotificationIncludeCreateManyAndReturn | null } /** * Notification update */ export type NotificationUpdateArgs = { /** * Select specific fields to fetch from the Notification */ select?: Prisma.NotificationSelect | null /** * Omit specific fields from the Notification */ omit?: Prisma.NotificationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.NotificationInclude | null /** * The data needed to update a Notification. */ data: Prisma.XOR /** * Choose, which Notification to update. */ where: Prisma.NotificationWhereUniqueInput } /** * Notification updateMany */ export type NotificationUpdateManyArgs = { /** * The data used to update Notifications. */ data: Prisma.XOR /** * Filter which Notifications to update */ where?: Prisma.NotificationWhereInput /** * Limit how many Notifications to update. */ limit?: number } /** * Notification updateManyAndReturn */ export type NotificationUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Notification */ select?: Prisma.NotificationSelectUpdateManyAndReturn | null /** * Omit specific fields from the Notification */ omit?: Prisma.NotificationOmit | null /** * The data used to update Notifications. */ data: Prisma.XOR /** * Filter which Notifications to update */ where?: Prisma.NotificationWhereInput /** * Limit how many Notifications to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.NotificationIncludeUpdateManyAndReturn | null } /** * Notification upsert */ export type NotificationUpsertArgs = { /** * Select specific fields to fetch from the Notification */ select?: Prisma.NotificationSelect | null /** * Omit specific fields from the Notification */ omit?: Prisma.NotificationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.NotificationInclude | null /** * The filter to search for the Notification to update in case it exists. */ where: Prisma.NotificationWhereUniqueInput /** * In case the Notification found by the `where` argument doesn't exist, create a new Notification with this data. */ create: Prisma.XOR /** * In case the Notification was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * Notification delete */ export type NotificationDeleteArgs = { /** * Select specific fields to fetch from the Notification */ select?: Prisma.NotificationSelect | null /** * Omit specific fields from the Notification */ omit?: Prisma.NotificationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.NotificationInclude | null /** * Filter which Notification to delete. */ where: Prisma.NotificationWhereUniqueInput } /** * Notification deleteMany */ export type NotificationDeleteManyArgs = { /** * Filter which Notifications to delete */ where?: Prisma.NotificationWhereInput /** * Limit how many Notifications to delete. */ limit?: number } /** * Notification.project */ export type Notification$projectArgs = { /** * Select specific fields to fetch from the Project */ select?: Prisma.ProjectSelect | null /** * Omit specific fields from the Project */ omit?: Prisma.ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProjectInclude | null where?: Prisma.ProjectWhereInput } /** * Notification.creator */ export type Notification$creatorArgs = { /** * Select specific fields to fetch from the User */ select?: Prisma.UserSelect | null /** * Omit specific fields from the User */ omit?: Prisma.UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserInclude | null where?: Prisma.UserWhereInput } /** * Notification.asset */ export type Notification$assetArgs = { /** * Select specific fields to fetch from the Asset */ select?: Prisma.AssetSelect | null /** * Omit specific fields from the Asset */ omit?: Prisma.AssetOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetInclude | null where?: Prisma.AssetWhereInput } /** * Notification.task */ export type Notification$taskArgs = { /** * Select specific fields to fetch from the Task */ select?: Prisma.TaskSelect | null /** * Omit specific fields from the Task */ omit?: Prisma.TaskOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TaskInclude | null where?: Prisma.TaskWhereInput } /** * Notification.user */ export type Notification$userArgs = { /** * Select specific fields to fetch from the User */ select?: Prisma.UserSelect | null /** * Omit specific fields from the User */ omit?: Prisma.UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserInclude | null where?: Prisma.UserWhereInput } /** * Notification.readByMembers */ export type Notification$readByMembersArgs = { /** * Select specific fields to fetch from the TeamMember */ select?: Prisma.TeamMemberSelect | null /** * Omit specific fields from the TeamMember */ omit?: Prisma.TeamMemberOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TeamMemberInclude | null where?: Prisma.TeamMemberWhereInput } /** * Notification without action */ export type NotificationDefaultArgs = { /** * Select specific fields to fetch from the Notification */ select?: Prisma.NotificationSelect | null /** * Omit specific fields from the Notification */ omit?: Prisma.NotificationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.NotificationInclude | null }