/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `notifications` model and its related types. * * 🟢 You can import this file directly. */ import type * as runtime from "@prisma/client/runtime/client" import type * as $Enums from "../enums" import type * as Prisma from "../internal/prismaNamespace" /** * Model notifications * */ export type notificationsModel = runtime.Types.Result.DefaultSelection export type AggregateNotifications = { _count: NotificationsCountAggregateOutputType | null _avg: NotificationsAvgAggregateOutputType | null _sum: NotificationsSumAggregateOutputType | null _min: NotificationsMinAggregateOutputType | null _max: NotificationsMaxAggregateOutputType | null } export type NotificationsAvgAggregateOutputType = { id: number | null target: number | null sender_id: number | null recipient_id: number | null is_read: number | null } export type NotificationsSumAggregateOutputType = { id: number | null target: number | null sender_id: number | null recipient_id: number | null is_read: number | null } export type NotificationsMinAggregateOutputType = { id: number | null type: string | null scope: string | null target: number | null sender_id: number | null recipient_id: number | null title_key: string | null title_params: string | null text_key: string | null text_params: string | null positive_text_key: string | null negative_text_key: string | null positive_callback: string | null negative_callback: string | null response: string | null navigate_text_key: string | null navigate_target: string | null is_read: number | null created_at: Date | null } export type NotificationsMaxAggregateOutputType = { id: number | null type: string | null scope: string | null target: number | null sender_id: number | null recipient_id: number | null title_key: string | null title_params: string | null text_key: string | null text_params: string | null positive_text_key: string | null negative_text_key: string | null positive_callback: string | null negative_callback: string | null response: string | null navigate_text_key: string | null navigate_target: string | null is_read: number | null created_at: Date | null } export type NotificationsCountAggregateOutputType = { id: number type: number scope: number target: number sender_id: number recipient_id: number title_key: number title_params: number text_key: number text_params: number positive_text_key: number negative_text_key: number positive_callback: number negative_callback: number response: number navigate_text_key: number navigate_target: number is_read: number created_at: number _all: number } export type NotificationsAvgAggregateInputType = { id?: true target?: true sender_id?: true recipient_id?: true is_read?: true } export type NotificationsSumAggregateInputType = { id?: true target?: true sender_id?: true recipient_id?: true is_read?: true } export type NotificationsMinAggregateInputType = { id?: true type?: true scope?: true target?: true sender_id?: true recipient_id?: true title_key?: true title_params?: true text_key?: true text_params?: true positive_text_key?: true negative_text_key?: true positive_callback?: true negative_callback?: true response?: true navigate_text_key?: true navigate_target?: true is_read?: true created_at?: true } export type NotificationsMaxAggregateInputType = { id?: true type?: true scope?: true target?: true sender_id?: true recipient_id?: true title_key?: true title_params?: true text_key?: true text_params?: true positive_text_key?: true negative_text_key?: true positive_callback?: true negative_callback?: true response?: true navigate_text_key?: true navigate_target?: true is_read?: true created_at?: true } export type NotificationsCountAggregateInputType = { id?: true type?: true scope?: true target?: true sender_id?: true recipient_id?: true title_key?: true title_params?: true text_key?: true text_params?: true positive_text_key?: true negative_text_key?: true positive_callback?: true negative_callback?: true response?: true navigate_text_key?: true navigate_target?: true is_read?: true created_at?: true _all?: true } export type NotificationsAggregateArgs = { /** * Filter which notifications to aggregate. */ where?: Prisma.notificationsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of notifications to fetch. */ orderBy?: Prisma.notificationsOrderByWithRelationInput | Prisma.notificationsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.notificationsWhereUniqueInput /** * {@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 | NotificationsCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: NotificationsAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: NotificationsSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: NotificationsMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: NotificationsMaxAggregateInputType } export type GetNotificationsAggregateType = { [P in keyof T & keyof AggregateNotifications]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type notificationsGroupByArgs = { where?: Prisma.notificationsWhereInput orderBy?: Prisma.notificationsOrderByWithAggregationInput | Prisma.notificationsOrderByWithAggregationInput[] by: Prisma.NotificationsScalarFieldEnum[] | Prisma.NotificationsScalarFieldEnum having?: Prisma.notificationsScalarWhereWithAggregatesInput take?: number skip?: number _count?: NotificationsCountAggregateInputType | true _avg?: NotificationsAvgAggregateInputType _sum?: NotificationsSumAggregateInputType _min?: NotificationsMinAggregateInputType _max?: NotificationsMaxAggregateInputType } export type NotificationsGroupByOutputType = { id: number type: string scope: string target: number sender_id: number | null recipient_id: number title_key: string title_params: string | null text_key: string text_params: string | null positive_text_key: string | null negative_text_key: string | null positive_callback: string | null negative_callback: string | null response: string | null navigate_text_key: string | null navigate_target: string | null is_read: number | null created_at: Date | null _count: NotificationsCountAggregateOutputType | null _avg: NotificationsAvgAggregateOutputType | null _sum: NotificationsSumAggregateOutputType | null _min: NotificationsMinAggregateOutputType | null _max: NotificationsMaxAggregateOutputType | null } export type GetNotificationsGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof NotificationsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type notificationsWhereInput = { AND?: Prisma.notificationsWhereInput | Prisma.notificationsWhereInput[] OR?: Prisma.notificationsWhereInput[] NOT?: Prisma.notificationsWhereInput | Prisma.notificationsWhereInput[] id?: Prisma.IntFilter<"notifications"> | number type?: Prisma.StringFilter<"notifications"> | string scope?: Prisma.StringFilter<"notifications"> | string target?: Prisma.IntFilter<"notifications"> | number sender_id?: Prisma.IntNullableFilter<"notifications"> | number | null recipient_id?: Prisma.IntFilter<"notifications"> | number title_key?: Prisma.StringFilter<"notifications"> | string title_params?: Prisma.StringNullableFilter<"notifications"> | string | null text_key?: Prisma.StringFilter<"notifications"> | string text_params?: Prisma.StringNullableFilter<"notifications"> | string | null positive_text_key?: Prisma.StringNullableFilter<"notifications"> | string | null negative_text_key?: Prisma.StringNullableFilter<"notifications"> | string | null positive_callback?: Prisma.StringNullableFilter<"notifications"> | string | null negative_callback?: Prisma.StringNullableFilter<"notifications"> | string | null response?: Prisma.StringNullableFilter<"notifications"> | string | null navigate_text_key?: Prisma.StringNullableFilter<"notifications"> | string | null navigate_target?: Prisma.StringNullableFilter<"notifications"> | string | null is_read?: Prisma.IntNullableFilter<"notifications"> | number | null created_at?: Prisma.DateTimeNullableFilter<"notifications"> | Date | string | null users_notifications_recipient_idTousers?: Prisma.XOR users_notifications_sender_idTousers?: Prisma.XOR | null } export type notificationsOrderByWithRelationInput = { id?: Prisma.SortOrder type?: Prisma.SortOrder scope?: Prisma.SortOrder target?: Prisma.SortOrder sender_id?: Prisma.SortOrderInput | Prisma.SortOrder recipient_id?: Prisma.SortOrder title_key?: Prisma.SortOrder title_params?: Prisma.SortOrderInput | Prisma.SortOrder text_key?: Prisma.SortOrder text_params?: Prisma.SortOrderInput | Prisma.SortOrder positive_text_key?: Prisma.SortOrderInput | Prisma.SortOrder negative_text_key?: Prisma.SortOrderInput | Prisma.SortOrder positive_callback?: Prisma.SortOrderInput | Prisma.SortOrder negative_callback?: Prisma.SortOrderInput | Prisma.SortOrder response?: Prisma.SortOrderInput | Prisma.SortOrder navigate_text_key?: Prisma.SortOrderInput | Prisma.SortOrder navigate_target?: Prisma.SortOrderInput | Prisma.SortOrder is_read?: Prisma.SortOrderInput | Prisma.SortOrder created_at?: Prisma.SortOrderInput | Prisma.SortOrder users_notifications_recipient_idTousers?: Prisma.usersOrderByWithRelationInput users_notifications_sender_idTousers?: Prisma.usersOrderByWithRelationInput } export type notificationsWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.notificationsWhereInput | Prisma.notificationsWhereInput[] OR?: Prisma.notificationsWhereInput[] NOT?: Prisma.notificationsWhereInput | Prisma.notificationsWhereInput[] type?: Prisma.StringFilter<"notifications"> | string scope?: Prisma.StringFilter<"notifications"> | string target?: Prisma.IntFilter<"notifications"> | number sender_id?: Prisma.IntNullableFilter<"notifications"> | number | null recipient_id?: Prisma.IntFilter<"notifications"> | number title_key?: Prisma.StringFilter<"notifications"> | string title_params?: Prisma.StringNullableFilter<"notifications"> | string | null text_key?: Prisma.StringFilter<"notifications"> | string text_params?: Prisma.StringNullableFilter<"notifications"> | string | null positive_text_key?: Prisma.StringNullableFilter<"notifications"> | string | null negative_text_key?: Prisma.StringNullableFilter<"notifications"> | string | null positive_callback?: Prisma.StringNullableFilter<"notifications"> | string | null negative_callback?: Prisma.StringNullableFilter<"notifications"> | string | null response?: Prisma.StringNullableFilter<"notifications"> | string | null navigate_text_key?: Prisma.StringNullableFilter<"notifications"> | string | null navigate_target?: Prisma.StringNullableFilter<"notifications"> | string | null is_read?: Prisma.IntNullableFilter<"notifications"> | number | null created_at?: Prisma.DateTimeNullableFilter<"notifications"> | Date | string | null users_notifications_recipient_idTousers?: Prisma.XOR users_notifications_sender_idTousers?: Prisma.XOR | null }, "id"> export type notificationsOrderByWithAggregationInput = { id?: Prisma.SortOrder type?: Prisma.SortOrder scope?: Prisma.SortOrder target?: Prisma.SortOrder sender_id?: Prisma.SortOrderInput | Prisma.SortOrder recipient_id?: Prisma.SortOrder title_key?: Prisma.SortOrder title_params?: Prisma.SortOrderInput | Prisma.SortOrder text_key?: Prisma.SortOrder text_params?: Prisma.SortOrderInput | Prisma.SortOrder positive_text_key?: Prisma.SortOrderInput | Prisma.SortOrder negative_text_key?: Prisma.SortOrderInput | Prisma.SortOrder positive_callback?: Prisma.SortOrderInput | Prisma.SortOrder negative_callback?: Prisma.SortOrderInput | Prisma.SortOrder response?: Prisma.SortOrderInput | Prisma.SortOrder navigate_text_key?: Prisma.SortOrderInput | Prisma.SortOrder navigate_target?: Prisma.SortOrderInput | Prisma.SortOrder is_read?: Prisma.SortOrderInput | Prisma.SortOrder created_at?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.notificationsCountOrderByAggregateInput _avg?: Prisma.notificationsAvgOrderByAggregateInput _max?: Prisma.notificationsMaxOrderByAggregateInput _min?: Prisma.notificationsMinOrderByAggregateInput _sum?: Prisma.notificationsSumOrderByAggregateInput } export type notificationsScalarWhereWithAggregatesInput = { AND?: Prisma.notificationsScalarWhereWithAggregatesInput | Prisma.notificationsScalarWhereWithAggregatesInput[] OR?: Prisma.notificationsScalarWhereWithAggregatesInput[] NOT?: Prisma.notificationsScalarWhereWithAggregatesInput | Prisma.notificationsScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"notifications"> | number type?: Prisma.StringWithAggregatesFilter<"notifications"> | string scope?: Prisma.StringWithAggregatesFilter<"notifications"> | string target?: Prisma.IntWithAggregatesFilter<"notifications"> | number sender_id?: Prisma.IntNullableWithAggregatesFilter<"notifications"> | number | null recipient_id?: Prisma.IntWithAggregatesFilter<"notifications"> | number title_key?: Prisma.StringWithAggregatesFilter<"notifications"> | string title_params?: Prisma.StringNullableWithAggregatesFilter<"notifications"> | string | null text_key?: Prisma.StringWithAggregatesFilter<"notifications"> | string text_params?: Prisma.StringNullableWithAggregatesFilter<"notifications"> | string | null positive_text_key?: Prisma.StringNullableWithAggregatesFilter<"notifications"> | string | null negative_text_key?: Prisma.StringNullableWithAggregatesFilter<"notifications"> | string | null positive_callback?: Prisma.StringNullableWithAggregatesFilter<"notifications"> | string | null negative_callback?: Prisma.StringNullableWithAggregatesFilter<"notifications"> | string | null response?: Prisma.StringNullableWithAggregatesFilter<"notifications"> | string | null navigate_text_key?: Prisma.StringNullableWithAggregatesFilter<"notifications"> | string | null navigate_target?: Prisma.StringNullableWithAggregatesFilter<"notifications"> | string | null is_read?: Prisma.IntNullableWithAggregatesFilter<"notifications"> | number | null created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"notifications"> | Date | string | null } export type notificationsCreateInput = { type: string scope: string target: number title_key: string title_params?: string | null text_key: string text_params?: string | null positive_text_key?: string | null negative_text_key?: string | null positive_callback?: string | null negative_callback?: string | null response?: string | null navigate_text_key?: string | null navigate_target?: string | null is_read?: number | null created_at?: Date | string | null users_notifications_recipient_idTousers: Prisma.usersCreateNestedOneWithoutNotifications_notifications_recipient_idTousersInput users_notifications_sender_idTousers?: Prisma.usersCreateNestedOneWithoutNotifications_notifications_sender_idTousersInput } export type notificationsUncheckedCreateInput = { id?: number type: string scope: string target: number sender_id?: number | null recipient_id: number title_key: string title_params?: string | null text_key: string text_params?: string | null positive_text_key?: string | null negative_text_key?: string | null positive_callback?: string | null negative_callback?: string | null response?: string | null navigate_text_key?: string | null navigate_target?: string | null is_read?: number | null created_at?: Date | string | null } export type notificationsUpdateInput = { type?: Prisma.StringFieldUpdateOperationsInput | string scope?: Prisma.StringFieldUpdateOperationsInput | string target?: Prisma.IntFieldUpdateOperationsInput | number title_key?: Prisma.StringFieldUpdateOperationsInput | string title_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null text_key?: Prisma.StringFieldUpdateOperationsInput | string text_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null positive_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null negative_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null positive_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null negative_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null response?: Prisma.NullableStringFieldUpdateOperationsInput | string | null navigate_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null navigate_target?: Prisma.NullableStringFieldUpdateOperationsInput | string | null is_read?: Prisma.NullableIntFieldUpdateOperationsInput | number | null created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null users_notifications_recipient_idTousers?: Prisma.usersUpdateOneRequiredWithoutNotifications_notifications_recipient_idTousersNestedInput users_notifications_sender_idTousers?: Prisma.usersUpdateOneWithoutNotifications_notifications_sender_idTousersNestedInput } export type notificationsUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number type?: Prisma.StringFieldUpdateOperationsInput | string scope?: Prisma.StringFieldUpdateOperationsInput | string target?: Prisma.IntFieldUpdateOperationsInput | number sender_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null recipient_id?: Prisma.IntFieldUpdateOperationsInput | number title_key?: Prisma.StringFieldUpdateOperationsInput | string title_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null text_key?: Prisma.StringFieldUpdateOperationsInput | string text_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null positive_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null negative_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null positive_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null negative_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null response?: Prisma.NullableStringFieldUpdateOperationsInput | string | null navigate_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null navigate_target?: Prisma.NullableStringFieldUpdateOperationsInput | string | null is_read?: Prisma.NullableIntFieldUpdateOperationsInput | number | null created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type notificationsCreateManyInput = { id?: number type: string scope: string target: number sender_id?: number | null recipient_id: number title_key: string title_params?: string | null text_key: string text_params?: string | null positive_text_key?: string | null negative_text_key?: string | null positive_callback?: string | null negative_callback?: string | null response?: string | null navigate_text_key?: string | null navigate_target?: string | null is_read?: number | null created_at?: Date | string | null } export type notificationsUpdateManyMutationInput = { type?: Prisma.StringFieldUpdateOperationsInput | string scope?: Prisma.StringFieldUpdateOperationsInput | string target?: Prisma.IntFieldUpdateOperationsInput | number title_key?: Prisma.StringFieldUpdateOperationsInput | string title_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null text_key?: Prisma.StringFieldUpdateOperationsInput | string text_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null positive_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null negative_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null positive_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null negative_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null response?: Prisma.NullableStringFieldUpdateOperationsInput | string | null navigate_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null navigate_target?: Prisma.NullableStringFieldUpdateOperationsInput | string | null is_read?: Prisma.NullableIntFieldUpdateOperationsInput | number | null created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type notificationsUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number type?: Prisma.StringFieldUpdateOperationsInput | string scope?: Prisma.StringFieldUpdateOperationsInput | string target?: Prisma.IntFieldUpdateOperationsInput | number sender_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null recipient_id?: Prisma.IntFieldUpdateOperationsInput | number title_key?: Prisma.StringFieldUpdateOperationsInput | string title_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null text_key?: Prisma.StringFieldUpdateOperationsInput | string text_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null positive_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null negative_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null positive_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null negative_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null response?: Prisma.NullableStringFieldUpdateOperationsInput | string | null navigate_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null navigate_target?: Prisma.NullableStringFieldUpdateOperationsInput | string | null is_read?: Prisma.NullableIntFieldUpdateOperationsInput | number | null created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type notificationsCountOrderByAggregateInput = { id?: Prisma.SortOrder type?: Prisma.SortOrder scope?: Prisma.SortOrder target?: Prisma.SortOrder sender_id?: Prisma.SortOrder recipient_id?: Prisma.SortOrder title_key?: Prisma.SortOrder title_params?: Prisma.SortOrder text_key?: Prisma.SortOrder text_params?: Prisma.SortOrder positive_text_key?: Prisma.SortOrder negative_text_key?: Prisma.SortOrder positive_callback?: Prisma.SortOrder negative_callback?: Prisma.SortOrder response?: Prisma.SortOrder navigate_text_key?: Prisma.SortOrder navigate_target?: Prisma.SortOrder is_read?: Prisma.SortOrder created_at?: Prisma.SortOrder } export type notificationsAvgOrderByAggregateInput = { id?: Prisma.SortOrder target?: Prisma.SortOrder sender_id?: Prisma.SortOrder recipient_id?: Prisma.SortOrder is_read?: Prisma.SortOrder } export type notificationsMaxOrderByAggregateInput = { id?: Prisma.SortOrder type?: Prisma.SortOrder scope?: Prisma.SortOrder target?: Prisma.SortOrder sender_id?: Prisma.SortOrder recipient_id?: Prisma.SortOrder title_key?: Prisma.SortOrder title_params?: Prisma.SortOrder text_key?: Prisma.SortOrder text_params?: Prisma.SortOrder positive_text_key?: Prisma.SortOrder negative_text_key?: Prisma.SortOrder positive_callback?: Prisma.SortOrder negative_callback?: Prisma.SortOrder response?: Prisma.SortOrder navigate_text_key?: Prisma.SortOrder navigate_target?: Prisma.SortOrder is_read?: Prisma.SortOrder created_at?: Prisma.SortOrder } export type notificationsMinOrderByAggregateInput = { id?: Prisma.SortOrder type?: Prisma.SortOrder scope?: Prisma.SortOrder target?: Prisma.SortOrder sender_id?: Prisma.SortOrder recipient_id?: Prisma.SortOrder title_key?: Prisma.SortOrder title_params?: Prisma.SortOrder text_key?: Prisma.SortOrder text_params?: Prisma.SortOrder positive_text_key?: Prisma.SortOrder negative_text_key?: Prisma.SortOrder positive_callback?: Prisma.SortOrder negative_callback?: Prisma.SortOrder response?: Prisma.SortOrder navigate_text_key?: Prisma.SortOrder navigate_target?: Prisma.SortOrder is_read?: Prisma.SortOrder created_at?: Prisma.SortOrder } export type notificationsSumOrderByAggregateInput = { id?: Prisma.SortOrder target?: Prisma.SortOrder sender_id?: Prisma.SortOrder recipient_id?: Prisma.SortOrder is_read?: Prisma.SortOrder } export type NotificationsListRelationFilter = { every?: Prisma.notificationsWhereInput some?: Prisma.notificationsWhereInput none?: Prisma.notificationsWhereInput } export type notificationsOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput = { create?: Prisma.XOR | Prisma.notificationsCreateWithoutUsers_notifications_recipient_idTousersInput[] | Prisma.notificationsUncheckedCreateWithoutUsers_notifications_recipient_idTousersInput[] connectOrCreate?: Prisma.notificationsCreateOrConnectWithoutUsers_notifications_recipient_idTousersInput | Prisma.notificationsCreateOrConnectWithoutUsers_notifications_recipient_idTousersInput[] createMany?: Prisma.notificationsCreateManyUsers_notifications_recipient_idTousersInputEnvelope connect?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] } export type notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput = { create?: Prisma.XOR | Prisma.notificationsCreateWithoutUsers_notifications_sender_idTousersInput[] | Prisma.notificationsUncheckedCreateWithoutUsers_notifications_sender_idTousersInput[] connectOrCreate?: Prisma.notificationsCreateOrConnectWithoutUsers_notifications_sender_idTousersInput | Prisma.notificationsCreateOrConnectWithoutUsers_notifications_sender_idTousersInput[] createMany?: Prisma.notificationsCreateManyUsers_notifications_sender_idTousersInputEnvelope connect?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] } export type notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput = { create?: Prisma.XOR | Prisma.notificationsCreateWithoutUsers_notifications_recipient_idTousersInput[] | Prisma.notificationsUncheckedCreateWithoutUsers_notifications_recipient_idTousersInput[] connectOrCreate?: Prisma.notificationsCreateOrConnectWithoutUsers_notifications_recipient_idTousersInput | Prisma.notificationsCreateOrConnectWithoutUsers_notifications_recipient_idTousersInput[] createMany?: Prisma.notificationsCreateManyUsers_notifications_recipient_idTousersInputEnvelope connect?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] } export type notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput = { create?: Prisma.XOR | Prisma.notificationsCreateWithoutUsers_notifications_sender_idTousersInput[] | Prisma.notificationsUncheckedCreateWithoutUsers_notifications_sender_idTousersInput[] connectOrCreate?: Prisma.notificationsCreateOrConnectWithoutUsers_notifications_sender_idTousersInput | Prisma.notificationsCreateOrConnectWithoutUsers_notifications_sender_idTousersInput[] createMany?: Prisma.notificationsCreateManyUsers_notifications_sender_idTousersInputEnvelope connect?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] } export type notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput = { create?: Prisma.XOR | Prisma.notificationsCreateWithoutUsers_notifications_recipient_idTousersInput[] | Prisma.notificationsUncheckedCreateWithoutUsers_notifications_recipient_idTousersInput[] connectOrCreate?: Prisma.notificationsCreateOrConnectWithoutUsers_notifications_recipient_idTousersInput | Prisma.notificationsCreateOrConnectWithoutUsers_notifications_recipient_idTousersInput[] upsert?: Prisma.notificationsUpsertWithWhereUniqueWithoutUsers_notifications_recipient_idTousersInput | Prisma.notificationsUpsertWithWhereUniqueWithoutUsers_notifications_recipient_idTousersInput[] createMany?: Prisma.notificationsCreateManyUsers_notifications_recipient_idTousersInputEnvelope set?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] disconnect?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] delete?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] connect?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] update?: Prisma.notificationsUpdateWithWhereUniqueWithoutUsers_notifications_recipient_idTousersInput | Prisma.notificationsUpdateWithWhereUniqueWithoutUsers_notifications_recipient_idTousersInput[] updateMany?: Prisma.notificationsUpdateManyWithWhereWithoutUsers_notifications_recipient_idTousersInput | Prisma.notificationsUpdateManyWithWhereWithoutUsers_notifications_recipient_idTousersInput[] deleteMany?: Prisma.notificationsScalarWhereInput | Prisma.notificationsScalarWhereInput[] } export type notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput = { create?: Prisma.XOR | Prisma.notificationsCreateWithoutUsers_notifications_sender_idTousersInput[] | Prisma.notificationsUncheckedCreateWithoutUsers_notifications_sender_idTousersInput[] connectOrCreate?: Prisma.notificationsCreateOrConnectWithoutUsers_notifications_sender_idTousersInput | Prisma.notificationsCreateOrConnectWithoutUsers_notifications_sender_idTousersInput[] upsert?: Prisma.notificationsUpsertWithWhereUniqueWithoutUsers_notifications_sender_idTousersInput | Prisma.notificationsUpsertWithWhereUniqueWithoutUsers_notifications_sender_idTousersInput[] createMany?: Prisma.notificationsCreateManyUsers_notifications_sender_idTousersInputEnvelope set?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] disconnect?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] delete?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] connect?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] update?: Prisma.notificationsUpdateWithWhereUniqueWithoutUsers_notifications_sender_idTousersInput | Prisma.notificationsUpdateWithWhereUniqueWithoutUsers_notifications_sender_idTousersInput[] updateMany?: Prisma.notificationsUpdateManyWithWhereWithoutUsers_notifications_sender_idTousersInput | Prisma.notificationsUpdateManyWithWhereWithoutUsers_notifications_sender_idTousersInput[] deleteMany?: Prisma.notificationsScalarWhereInput | Prisma.notificationsScalarWhereInput[] } export type notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput = { create?: Prisma.XOR | Prisma.notificationsCreateWithoutUsers_notifications_recipient_idTousersInput[] | Prisma.notificationsUncheckedCreateWithoutUsers_notifications_recipient_idTousersInput[] connectOrCreate?: Prisma.notificationsCreateOrConnectWithoutUsers_notifications_recipient_idTousersInput | Prisma.notificationsCreateOrConnectWithoutUsers_notifications_recipient_idTousersInput[] upsert?: Prisma.notificationsUpsertWithWhereUniqueWithoutUsers_notifications_recipient_idTousersInput | Prisma.notificationsUpsertWithWhereUniqueWithoutUsers_notifications_recipient_idTousersInput[] createMany?: Prisma.notificationsCreateManyUsers_notifications_recipient_idTousersInputEnvelope set?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] disconnect?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] delete?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] connect?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] update?: Prisma.notificationsUpdateWithWhereUniqueWithoutUsers_notifications_recipient_idTousersInput | Prisma.notificationsUpdateWithWhereUniqueWithoutUsers_notifications_recipient_idTousersInput[] updateMany?: Prisma.notificationsUpdateManyWithWhereWithoutUsers_notifications_recipient_idTousersInput | Prisma.notificationsUpdateManyWithWhereWithoutUsers_notifications_recipient_idTousersInput[] deleteMany?: Prisma.notificationsScalarWhereInput | Prisma.notificationsScalarWhereInput[] } export type notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput = { create?: Prisma.XOR | Prisma.notificationsCreateWithoutUsers_notifications_sender_idTousersInput[] | Prisma.notificationsUncheckedCreateWithoutUsers_notifications_sender_idTousersInput[] connectOrCreate?: Prisma.notificationsCreateOrConnectWithoutUsers_notifications_sender_idTousersInput | Prisma.notificationsCreateOrConnectWithoutUsers_notifications_sender_idTousersInput[] upsert?: Prisma.notificationsUpsertWithWhereUniqueWithoutUsers_notifications_sender_idTousersInput | Prisma.notificationsUpsertWithWhereUniqueWithoutUsers_notifications_sender_idTousersInput[] createMany?: Prisma.notificationsCreateManyUsers_notifications_sender_idTousersInputEnvelope set?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] disconnect?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] delete?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] connect?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] update?: Prisma.notificationsUpdateWithWhereUniqueWithoutUsers_notifications_sender_idTousersInput | Prisma.notificationsUpdateWithWhereUniqueWithoutUsers_notifications_sender_idTousersInput[] updateMany?: Prisma.notificationsUpdateManyWithWhereWithoutUsers_notifications_sender_idTousersInput | Prisma.notificationsUpdateManyWithWhereWithoutUsers_notifications_sender_idTousersInput[] deleteMany?: Prisma.notificationsScalarWhereInput | Prisma.notificationsScalarWhereInput[] } export type notificationsCreateWithoutUsers_notifications_recipient_idTousersInput = { type: string scope: string target: number title_key: string title_params?: string | null text_key: string text_params?: string | null positive_text_key?: string | null negative_text_key?: string | null positive_callback?: string | null negative_callback?: string | null response?: string | null navigate_text_key?: string | null navigate_target?: string | null is_read?: number | null created_at?: Date | string | null users_notifications_sender_idTousers?: Prisma.usersCreateNestedOneWithoutNotifications_notifications_sender_idTousersInput } export type notificationsUncheckedCreateWithoutUsers_notifications_recipient_idTousersInput = { id?: number type: string scope: string target: number sender_id?: number | null title_key: string title_params?: string | null text_key: string text_params?: string | null positive_text_key?: string | null negative_text_key?: string | null positive_callback?: string | null negative_callback?: string | null response?: string | null navigate_text_key?: string | null navigate_target?: string | null is_read?: number | null created_at?: Date | string | null } export type notificationsCreateOrConnectWithoutUsers_notifications_recipient_idTousersInput = { where: Prisma.notificationsWhereUniqueInput create: Prisma.XOR } export type notificationsCreateManyUsers_notifications_recipient_idTousersInputEnvelope = { data: Prisma.notificationsCreateManyUsers_notifications_recipient_idTousersInput | Prisma.notificationsCreateManyUsers_notifications_recipient_idTousersInput[] } export type notificationsCreateWithoutUsers_notifications_sender_idTousersInput = { type: string scope: string target: number title_key: string title_params?: string | null text_key: string text_params?: string | null positive_text_key?: string | null negative_text_key?: string | null positive_callback?: string | null negative_callback?: string | null response?: string | null navigate_text_key?: string | null navigate_target?: string | null is_read?: number | null created_at?: Date | string | null users_notifications_recipient_idTousers: Prisma.usersCreateNestedOneWithoutNotifications_notifications_recipient_idTousersInput } export type notificationsUncheckedCreateWithoutUsers_notifications_sender_idTousersInput = { id?: number type: string scope: string target: number recipient_id: number title_key: string title_params?: string | null text_key: string text_params?: string | null positive_text_key?: string | null negative_text_key?: string | null positive_callback?: string | null negative_callback?: string | null response?: string | null navigate_text_key?: string | null navigate_target?: string | null is_read?: number | null created_at?: Date | string | null } export type notificationsCreateOrConnectWithoutUsers_notifications_sender_idTousersInput = { where: Prisma.notificationsWhereUniqueInput create: Prisma.XOR } export type notificationsCreateManyUsers_notifications_sender_idTousersInputEnvelope = { data: Prisma.notificationsCreateManyUsers_notifications_sender_idTousersInput | Prisma.notificationsCreateManyUsers_notifications_sender_idTousersInput[] } export type notificationsUpsertWithWhereUniqueWithoutUsers_notifications_recipient_idTousersInput = { where: Prisma.notificationsWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type notificationsUpdateWithWhereUniqueWithoutUsers_notifications_recipient_idTousersInput = { where: Prisma.notificationsWhereUniqueInput data: Prisma.XOR } export type notificationsUpdateManyWithWhereWithoutUsers_notifications_recipient_idTousersInput = { where: Prisma.notificationsScalarWhereInput data: Prisma.XOR } export type notificationsScalarWhereInput = { AND?: Prisma.notificationsScalarWhereInput | Prisma.notificationsScalarWhereInput[] OR?: Prisma.notificationsScalarWhereInput[] NOT?: Prisma.notificationsScalarWhereInput | Prisma.notificationsScalarWhereInput[] id?: Prisma.IntFilter<"notifications"> | number type?: Prisma.StringFilter<"notifications"> | string scope?: Prisma.StringFilter<"notifications"> | string target?: Prisma.IntFilter<"notifications"> | number sender_id?: Prisma.IntNullableFilter<"notifications"> | number | null recipient_id?: Prisma.IntFilter<"notifications"> | number title_key?: Prisma.StringFilter<"notifications"> | string title_params?: Prisma.StringNullableFilter<"notifications"> | string | null text_key?: Prisma.StringFilter<"notifications"> | string text_params?: Prisma.StringNullableFilter<"notifications"> | string | null positive_text_key?: Prisma.StringNullableFilter<"notifications"> | string | null negative_text_key?: Prisma.StringNullableFilter<"notifications"> | string | null positive_callback?: Prisma.StringNullableFilter<"notifications"> | string | null negative_callback?: Prisma.StringNullableFilter<"notifications"> | string | null response?: Prisma.StringNullableFilter<"notifications"> | string | null navigate_text_key?: Prisma.StringNullableFilter<"notifications"> | string | null navigate_target?: Prisma.StringNullableFilter<"notifications"> | string | null is_read?: Prisma.IntNullableFilter<"notifications"> | number | null created_at?: Prisma.DateTimeNullableFilter<"notifications"> | Date | string | null } export type notificationsUpsertWithWhereUniqueWithoutUsers_notifications_sender_idTousersInput = { where: Prisma.notificationsWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type notificationsUpdateWithWhereUniqueWithoutUsers_notifications_sender_idTousersInput = { where: Prisma.notificationsWhereUniqueInput data: Prisma.XOR } export type notificationsUpdateManyWithWhereWithoutUsers_notifications_sender_idTousersInput = { where: Prisma.notificationsScalarWhereInput data: Prisma.XOR } export type notificationsCreateManyUsers_notifications_recipient_idTousersInput = { id?: number type: string scope: string target: number sender_id?: number | null title_key: string title_params?: string | null text_key: string text_params?: string | null positive_text_key?: string | null negative_text_key?: string | null positive_callback?: string | null negative_callback?: string | null response?: string | null navigate_text_key?: string | null navigate_target?: string | null is_read?: number | null created_at?: Date | string | null } export type notificationsCreateManyUsers_notifications_sender_idTousersInput = { id?: number type: string scope: string target: number recipient_id: number title_key: string title_params?: string | null text_key: string text_params?: string | null positive_text_key?: string | null negative_text_key?: string | null positive_callback?: string | null negative_callback?: string | null response?: string | null navigate_text_key?: string | null navigate_target?: string | null is_read?: number | null created_at?: Date | string | null } export type notificationsUpdateWithoutUsers_notifications_recipient_idTousersInput = { type?: Prisma.StringFieldUpdateOperationsInput | string scope?: Prisma.StringFieldUpdateOperationsInput | string target?: Prisma.IntFieldUpdateOperationsInput | number title_key?: Prisma.StringFieldUpdateOperationsInput | string title_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null text_key?: Prisma.StringFieldUpdateOperationsInput | string text_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null positive_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null negative_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null positive_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null negative_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null response?: Prisma.NullableStringFieldUpdateOperationsInput | string | null navigate_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null navigate_target?: Prisma.NullableStringFieldUpdateOperationsInput | string | null is_read?: Prisma.NullableIntFieldUpdateOperationsInput | number | null created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null users_notifications_sender_idTousers?: Prisma.usersUpdateOneWithoutNotifications_notifications_sender_idTousersNestedInput } export type notificationsUncheckedUpdateWithoutUsers_notifications_recipient_idTousersInput = { id?: Prisma.IntFieldUpdateOperationsInput | number type?: Prisma.StringFieldUpdateOperationsInput | string scope?: Prisma.StringFieldUpdateOperationsInput | string target?: Prisma.IntFieldUpdateOperationsInput | number sender_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null title_key?: Prisma.StringFieldUpdateOperationsInput | string title_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null text_key?: Prisma.StringFieldUpdateOperationsInput | string text_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null positive_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null negative_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null positive_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null negative_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null response?: Prisma.NullableStringFieldUpdateOperationsInput | string | null navigate_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null navigate_target?: Prisma.NullableStringFieldUpdateOperationsInput | string | null is_read?: Prisma.NullableIntFieldUpdateOperationsInput | number | null created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersInput = { id?: Prisma.IntFieldUpdateOperationsInput | number type?: Prisma.StringFieldUpdateOperationsInput | string scope?: Prisma.StringFieldUpdateOperationsInput | string target?: Prisma.IntFieldUpdateOperationsInput | number sender_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null title_key?: Prisma.StringFieldUpdateOperationsInput | string title_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null text_key?: Prisma.StringFieldUpdateOperationsInput | string text_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null positive_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null negative_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null positive_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null negative_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null response?: Prisma.NullableStringFieldUpdateOperationsInput | string | null navigate_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null navigate_target?: Prisma.NullableStringFieldUpdateOperationsInput | string | null is_read?: Prisma.NullableIntFieldUpdateOperationsInput | number | null created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type notificationsUpdateWithoutUsers_notifications_sender_idTousersInput = { type?: Prisma.StringFieldUpdateOperationsInput | string scope?: Prisma.StringFieldUpdateOperationsInput | string target?: Prisma.IntFieldUpdateOperationsInput | number title_key?: Prisma.StringFieldUpdateOperationsInput | string title_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null text_key?: Prisma.StringFieldUpdateOperationsInput | string text_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null positive_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null negative_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null positive_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null negative_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null response?: Prisma.NullableStringFieldUpdateOperationsInput | string | null navigate_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null navigate_target?: Prisma.NullableStringFieldUpdateOperationsInput | string | null is_read?: Prisma.NullableIntFieldUpdateOperationsInput | number | null created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null users_notifications_recipient_idTousers?: Prisma.usersUpdateOneRequiredWithoutNotifications_notifications_recipient_idTousersNestedInput } export type notificationsUncheckedUpdateWithoutUsers_notifications_sender_idTousersInput = { id?: Prisma.IntFieldUpdateOperationsInput | number type?: Prisma.StringFieldUpdateOperationsInput | string scope?: Prisma.StringFieldUpdateOperationsInput | string target?: Prisma.IntFieldUpdateOperationsInput | number recipient_id?: Prisma.IntFieldUpdateOperationsInput | number title_key?: Prisma.StringFieldUpdateOperationsInput | string title_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null text_key?: Prisma.StringFieldUpdateOperationsInput | string text_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null positive_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null negative_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null positive_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null negative_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null response?: Prisma.NullableStringFieldUpdateOperationsInput | string | null navigate_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null navigate_target?: Prisma.NullableStringFieldUpdateOperationsInput | string | null is_read?: Prisma.NullableIntFieldUpdateOperationsInput | number | null created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersInput = { id?: Prisma.IntFieldUpdateOperationsInput | number type?: Prisma.StringFieldUpdateOperationsInput | string scope?: Prisma.StringFieldUpdateOperationsInput | string target?: Prisma.IntFieldUpdateOperationsInput | number recipient_id?: Prisma.IntFieldUpdateOperationsInput | number title_key?: Prisma.StringFieldUpdateOperationsInput | string title_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null text_key?: Prisma.StringFieldUpdateOperationsInput | string text_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null positive_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null negative_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null positive_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null negative_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null response?: Prisma.NullableStringFieldUpdateOperationsInput | string | null navigate_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null navigate_target?: Prisma.NullableStringFieldUpdateOperationsInput | string | null is_read?: Prisma.NullableIntFieldUpdateOperationsInput | number | null created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type notificationsSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean type?: boolean scope?: boolean target?: boolean sender_id?: boolean recipient_id?: boolean title_key?: boolean title_params?: boolean text_key?: boolean text_params?: boolean positive_text_key?: boolean negative_text_key?: boolean positive_callback?: boolean negative_callback?: boolean response?: boolean navigate_text_key?: boolean navigate_target?: boolean is_read?: boolean created_at?: boolean users_notifications_recipient_idTousers?: boolean | Prisma.usersDefaultArgs users_notifications_sender_idTousers?: boolean | Prisma.notifications$users_notifications_sender_idTousersArgs }, ExtArgs["result"]["notifications"]> export type notificationsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean type?: boolean scope?: boolean target?: boolean sender_id?: boolean recipient_id?: boolean title_key?: boolean title_params?: boolean text_key?: boolean text_params?: boolean positive_text_key?: boolean negative_text_key?: boolean positive_callback?: boolean negative_callback?: boolean response?: boolean navigate_text_key?: boolean navigate_target?: boolean is_read?: boolean created_at?: boolean users_notifications_recipient_idTousers?: boolean | Prisma.usersDefaultArgs users_notifications_sender_idTousers?: boolean | Prisma.notifications$users_notifications_sender_idTousersArgs }, ExtArgs["result"]["notifications"]> export type notificationsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean type?: boolean scope?: boolean target?: boolean sender_id?: boolean recipient_id?: boolean title_key?: boolean title_params?: boolean text_key?: boolean text_params?: boolean positive_text_key?: boolean negative_text_key?: boolean positive_callback?: boolean negative_callback?: boolean response?: boolean navigate_text_key?: boolean navigate_target?: boolean is_read?: boolean created_at?: boolean users_notifications_recipient_idTousers?: boolean | Prisma.usersDefaultArgs users_notifications_sender_idTousers?: boolean | Prisma.notifications$users_notifications_sender_idTousersArgs }, ExtArgs["result"]["notifications"]> export type notificationsSelectScalar = { id?: boolean type?: boolean scope?: boolean target?: boolean sender_id?: boolean recipient_id?: boolean title_key?: boolean title_params?: boolean text_key?: boolean text_params?: boolean positive_text_key?: boolean negative_text_key?: boolean positive_callback?: boolean negative_callback?: boolean response?: boolean navigate_text_key?: boolean navigate_target?: boolean is_read?: boolean created_at?: boolean } export type notificationsOmit = runtime.Types.Extensions.GetOmit<"id" | "type" | "scope" | "target" | "sender_id" | "recipient_id" | "title_key" | "title_params" | "text_key" | "text_params" | "positive_text_key" | "negative_text_key" | "positive_callback" | "negative_callback" | "response" | "navigate_text_key" | "navigate_target" | "is_read" | "created_at", ExtArgs["result"]["notifications"]> export type notificationsInclude = { users_notifications_recipient_idTousers?: boolean | Prisma.usersDefaultArgs users_notifications_sender_idTousers?: boolean | Prisma.notifications$users_notifications_sender_idTousersArgs } export type notificationsIncludeCreateManyAndReturn = { users_notifications_recipient_idTousers?: boolean | Prisma.usersDefaultArgs users_notifications_sender_idTousers?: boolean | Prisma.notifications$users_notifications_sender_idTousersArgs } export type notificationsIncludeUpdateManyAndReturn = { users_notifications_recipient_idTousers?: boolean | Prisma.usersDefaultArgs users_notifications_sender_idTousers?: boolean | Prisma.notifications$users_notifications_sender_idTousersArgs } export type $notificationsPayload = { name: "notifications" objects: { users_notifications_recipient_idTousers: Prisma.$usersPayload users_notifications_sender_idTousers: Prisma.$usersPayload | null } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number type: string scope: string target: number sender_id: number | null recipient_id: number title_key: string title_params: string | null text_key: string text_params: string | null positive_text_key: string | null negative_text_key: string | null positive_callback: string | null negative_callback: string | null response: string | null navigate_text_key: string | null navigate_target: string | null is_read: number | null created_at: Date | null }, ExtArgs["result"]["notifications"]> composites: {} } export type notificationsGetPayload = runtime.Types.Result.GetResult export type notificationsCountArgs = Omit & { select?: NotificationsCountAggregateInputType | true } export interface notificationsDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['notifications'], meta: { name: 'notifications' } } /** * Find zero or one Notifications that matches the filter. * @param {notificationsFindUniqueArgs} args - Arguments to find a Notifications * @example * // Get one Notifications * const notifications = await prisma.notifications.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__notificationsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Notifications that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {notificationsFindUniqueOrThrowArgs} args - Arguments to find a Notifications * @example * // Get one Notifications * const notifications = await prisma.notifications.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__notificationsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first 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 {notificationsFindFirstArgs} args - Arguments to find a Notifications * @example * // Get one Notifications * const notifications = await prisma.notifications.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__notificationsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Notifications 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 {notificationsFindFirstOrThrowArgs} args - Arguments to find a Notifications * @example * // Get one Notifications * const notifications = await prisma.notifications.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__notificationsClient, 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 {notificationsFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Notifications * const notifications = await prisma.notifications.findMany() * * // Get first 10 Notifications * const notifications = await prisma.notifications.findMany({ take: 10 }) * * // Only select the `id` * const notificationsWithIdOnly = await prisma.notifications.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Notifications. * @param {notificationsCreateArgs} args - Arguments to create a Notifications. * @example * // Create one Notifications * const Notifications = await prisma.notifications.create({ * data: { * // ... data to create a Notifications * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__notificationsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Notifications. * @param {notificationsCreateManyArgs} args - Arguments to create many Notifications. * @example * // Create many Notifications * const notifications = await prisma.notifications.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many Notifications and returns the data saved in the database. * @param {notificationsCreateManyAndReturnArgs} args - Arguments to create many Notifications. * @example * // Create many Notifications * const notifications = await prisma.notifications.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Notifications and only return the `id` * const notificationsWithIdOnly = await prisma.notifications.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 Notifications. * @param {notificationsDeleteArgs} args - Arguments to delete one Notifications. * @example * // Delete one Notifications * const Notifications = await prisma.notifications.delete({ * where: { * // ... filter to delete one Notifications * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__notificationsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Notifications. * @param {notificationsUpdateArgs} args - Arguments to update one Notifications. * @example * // Update one Notifications * const notifications = await prisma.notifications.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__notificationsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Notifications. * @param {notificationsDeleteManyArgs} args - Arguments to filter Notifications to delete. * @example * // Delete a few Notifications * const { count } = await prisma.notifications.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 {notificationsUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Notifications * const notifications = await prisma.notifications.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 {notificationsUpdateManyAndReturnArgs} args - Arguments to update many Notifications. * @example * // Update many Notifications * const notifications = await prisma.notifications.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Notifications and only return the `id` * const notificationsWithIdOnly = await prisma.notifications.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 Notifications. * @param {notificationsUpsertArgs} args - Arguments to update or create a Notifications. * @example * // Update or create a Notifications * const notifications = await prisma.notifications.upsert({ * create: { * // ... data to create a Notifications * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Notifications we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__notificationsClient, 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 {notificationsCountArgs} args - Arguments to filter Notifications to count. * @example * // Count the number of Notifications * const count = await prisma.notifications.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 Notifications. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {NotificationsAggregateArgs} 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 Notifications. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {notificationsGroupByArgs} 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 notificationsGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: notificationsGroupByArgs['orderBy'] } : { orderBy?: notificationsGroupByArgs['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 ? GetNotificationsGroupByPayload : Prisma.PrismaPromise /** * Fields of the notifications model */ readonly fields: notificationsFieldRefs; } /** * The delegate class that acts as a "Promise-like" for notifications. * 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__notificationsClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" users_notifications_recipient_idTousers = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> users_notifications_sender_idTousers = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, 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 notifications model */ export interface notificationsFieldRefs { readonly id: Prisma.FieldRef<"notifications", 'Int'> readonly type: Prisma.FieldRef<"notifications", 'String'> readonly scope: Prisma.FieldRef<"notifications", 'String'> readonly target: Prisma.FieldRef<"notifications", 'Int'> readonly sender_id: Prisma.FieldRef<"notifications", 'Int'> readonly recipient_id: Prisma.FieldRef<"notifications", 'Int'> readonly title_key: Prisma.FieldRef<"notifications", 'String'> readonly title_params: Prisma.FieldRef<"notifications", 'String'> readonly text_key: Prisma.FieldRef<"notifications", 'String'> readonly text_params: Prisma.FieldRef<"notifications", 'String'> readonly positive_text_key: Prisma.FieldRef<"notifications", 'String'> readonly negative_text_key: Prisma.FieldRef<"notifications", 'String'> readonly positive_callback: Prisma.FieldRef<"notifications", 'String'> readonly negative_callback: Prisma.FieldRef<"notifications", 'String'> readonly response: Prisma.FieldRef<"notifications", 'String'> readonly navigate_text_key: Prisma.FieldRef<"notifications", 'String'> readonly navigate_target: Prisma.FieldRef<"notifications", 'String'> readonly is_read: Prisma.FieldRef<"notifications", 'Int'> readonly created_at: Prisma.FieldRef<"notifications", 'DateTime'> } // Custom InputTypes /** * notifications findUnique */ export type notificationsFindUniqueArgs = { /** * Select specific fields to fetch from the notifications */ select?: Prisma.notificationsSelect | null /** * Omit specific fields from the notifications */ omit?: Prisma.notificationsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.notificationsInclude | null /** * Filter, which notifications to fetch. */ where: Prisma.notificationsWhereUniqueInput } /** * notifications findUniqueOrThrow */ export type notificationsFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the notifications */ select?: Prisma.notificationsSelect | null /** * Omit specific fields from the notifications */ omit?: Prisma.notificationsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.notificationsInclude | null /** * Filter, which notifications to fetch. */ where: Prisma.notificationsWhereUniqueInput } /** * notifications findFirst */ export type notificationsFindFirstArgs = { /** * Select specific fields to fetch from the notifications */ select?: Prisma.notificationsSelect | null /** * Omit specific fields from the notifications */ omit?: Prisma.notificationsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.notificationsInclude | null /** * Filter, which notifications to fetch. */ where?: Prisma.notificationsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of notifications to fetch. */ orderBy?: Prisma.notificationsOrderByWithRelationInput | Prisma.notificationsOrderByWithRelationInput[] /** * {@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.notificationsWhereUniqueInput /** * {@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.NotificationsScalarFieldEnum | Prisma.NotificationsScalarFieldEnum[] } /** * notifications findFirstOrThrow */ export type notificationsFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the notifications */ select?: Prisma.notificationsSelect | null /** * Omit specific fields from the notifications */ omit?: Prisma.notificationsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.notificationsInclude | null /** * Filter, which notifications to fetch. */ where?: Prisma.notificationsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of notifications to fetch. */ orderBy?: Prisma.notificationsOrderByWithRelationInput | Prisma.notificationsOrderByWithRelationInput[] /** * {@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.notificationsWhereUniqueInput /** * {@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.NotificationsScalarFieldEnum | Prisma.NotificationsScalarFieldEnum[] } /** * notifications findMany */ export type notificationsFindManyArgs = { /** * Select specific fields to fetch from the notifications */ select?: Prisma.notificationsSelect | null /** * Omit specific fields from the notifications */ omit?: Prisma.notificationsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.notificationsInclude | null /** * Filter, which notifications to fetch. */ where?: Prisma.notificationsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of notifications to fetch. */ orderBy?: Prisma.notificationsOrderByWithRelationInput | Prisma.notificationsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing notifications. */ cursor?: Prisma.notificationsWhereUniqueInput /** * {@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.NotificationsScalarFieldEnum | Prisma.NotificationsScalarFieldEnum[] } /** * notifications create */ export type notificationsCreateArgs = { /** * Select specific fields to fetch from the notifications */ select?: Prisma.notificationsSelect | null /** * Omit specific fields from the notifications */ omit?: Prisma.notificationsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.notificationsInclude | null /** * The data needed to create a notifications. */ data: Prisma.XOR } /** * notifications createMany */ export type notificationsCreateManyArgs = { /** * The data used to create many notifications. */ data: Prisma.notificationsCreateManyInput | Prisma.notificationsCreateManyInput[] } /** * notifications createManyAndReturn */ export type notificationsCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the notifications */ select?: Prisma.notificationsSelectCreateManyAndReturn | null /** * Omit specific fields from the notifications */ omit?: Prisma.notificationsOmit | null /** * The data used to create many notifications. */ data: Prisma.notificationsCreateManyInput | Prisma.notificationsCreateManyInput[] /** * Choose, which related nodes to fetch as well */ include?: Prisma.notificationsIncludeCreateManyAndReturn | null } /** * notifications update */ export type notificationsUpdateArgs = { /** * Select specific fields to fetch from the notifications */ select?: Prisma.notificationsSelect | null /** * Omit specific fields from the notifications */ omit?: Prisma.notificationsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.notificationsInclude | null /** * The data needed to update a notifications. */ data: Prisma.XOR /** * Choose, which notifications to update. */ where: Prisma.notificationsWhereUniqueInput } /** * notifications updateMany */ export type notificationsUpdateManyArgs = { /** * The data used to update notifications. */ data: Prisma.XOR /** * Filter which notifications to update */ where?: Prisma.notificationsWhereInput /** * Limit how many notifications to update. */ limit?: number } /** * notifications updateManyAndReturn */ export type notificationsUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the notifications */ select?: Prisma.notificationsSelectUpdateManyAndReturn | null /** * Omit specific fields from the notifications */ omit?: Prisma.notificationsOmit | null /** * The data used to update notifications. */ data: Prisma.XOR /** * Filter which notifications to update */ where?: Prisma.notificationsWhereInput /** * Limit how many notifications to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.notificationsIncludeUpdateManyAndReturn | null } /** * notifications upsert */ export type notificationsUpsertArgs = { /** * Select specific fields to fetch from the notifications */ select?: Prisma.notificationsSelect | null /** * Omit specific fields from the notifications */ omit?: Prisma.notificationsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.notificationsInclude | null /** * The filter to search for the notifications to update in case it exists. */ where: Prisma.notificationsWhereUniqueInput /** * In case the notifications found by the `where` argument doesn't exist, create a new notifications with this data. */ create: Prisma.XOR /** * In case the notifications was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * notifications delete */ export type notificationsDeleteArgs = { /** * Select specific fields to fetch from the notifications */ select?: Prisma.notificationsSelect | null /** * Omit specific fields from the notifications */ omit?: Prisma.notificationsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.notificationsInclude | null /** * Filter which notifications to delete. */ where: Prisma.notificationsWhereUniqueInput } /** * notifications deleteMany */ export type notificationsDeleteManyArgs = { /** * Filter which notifications to delete */ where?: Prisma.notificationsWhereInput /** * Limit how many notifications to delete. */ limit?: number } /** * notifications.users_notifications_sender_idTousers */ export type notifications$users_notifications_sender_idTousersArgs = { /** * Select specific fields to fetch from the users */ select?: Prisma.usersSelect | null /** * Omit specific fields from the users */ omit?: Prisma.usersOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.usersInclude | null where?: Prisma.usersWhereInput } /** * notifications without action */ export type notificationsDefaultArgs = { /** * Select specific fields to fetch from the notifications */ select?: Prisma.notificationsSelect | null /** * Omit specific fields from the notifications */ omit?: Prisma.notificationsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.notificationsInclude | null }