Notification UI and house invitation
This commit is contained in:
1480
src/generated/prisma/models/Notification.ts
Normal file
1480
src/generated/prisma/models/Notification.ts
Normal file
File diff suppressed because it is too large
Load Diff
@@ -233,6 +233,7 @@ export type UserWhereInput = {
|
||||
sessions?: Prisma.SessionListRelationFilter
|
||||
accounts?: Prisma.AccountListRelationFilter
|
||||
audit?: Prisma.AuditListRelationFilter
|
||||
notification?: Prisma.NotificationListRelationFilter
|
||||
members?: Prisma.MemberListRelationFilter
|
||||
invitations?: Prisma.InvitationListRelationFilter
|
||||
}
|
||||
@@ -252,6 +253,7 @@ export type UserOrderByWithRelationInput = {
|
||||
sessions?: Prisma.SessionOrderByRelationAggregateInput
|
||||
accounts?: Prisma.AccountOrderByRelationAggregateInput
|
||||
audit?: Prisma.AuditOrderByRelationAggregateInput
|
||||
notification?: Prisma.NotificationOrderByRelationAggregateInput
|
||||
members?: Prisma.MemberOrderByRelationAggregateInput
|
||||
invitations?: Prisma.InvitationOrderByRelationAggregateInput
|
||||
}
|
||||
@@ -274,6 +276,7 @@ export type UserWhereUniqueInput = Prisma.AtLeast<{
|
||||
sessions?: Prisma.SessionListRelationFilter
|
||||
accounts?: Prisma.AccountListRelationFilter
|
||||
audit?: Prisma.AuditListRelationFilter
|
||||
notification?: Prisma.NotificationListRelationFilter
|
||||
members?: Prisma.MemberListRelationFilter
|
||||
invitations?: Prisma.InvitationListRelationFilter
|
||||
}, "id" | "email">
|
||||
@@ -327,6 +330,7 @@ export type UserCreateInput = {
|
||||
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
||||
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput
|
||||
audit?: Prisma.AuditCreateNestedManyWithoutUserInput
|
||||
notification?: Prisma.NotificationCreateNestedManyWithoutUserInput
|
||||
members?: Prisma.MemberCreateNestedManyWithoutUserInput
|
||||
invitations?: Prisma.InvitationCreateNestedManyWithoutUserInput
|
||||
}
|
||||
@@ -346,6 +350,7 @@ export type UserUncheckedCreateInput = {
|
||||
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
||||
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput
|
||||
audit?: Prisma.AuditUncheckedCreateNestedManyWithoutUserInput
|
||||
notification?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput
|
||||
members?: Prisma.MemberUncheckedCreateNestedManyWithoutUserInput
|
||||
invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
@@ -365,6 +370,7 @@ export type UserUpdateInput = {
|
||||
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
||||
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput
|
||||
audit?: Prisma.AuditUpdateManyWithoutUserNestedInput
|
||||
notification?: Prisma.NotificationUpdateManyWithoutUserNestedInput
|
||||
members?: Prisma.MemberUpdateManyWithoutUserNestedInput
|
||||
invitations?: Prisma.InvitationUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
@@ -384,6 +390,7 @@ export type UserUncheckedUpdateInput = {
|
||||
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
||||
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput
|
||||
audit?: Prisma.AuditUncheckedUpdateManyWithoutUserNestedInput
|
||||
notification?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput
|
||||
members?: Prisma.MemberUncheckedUpdateManyWithoutUserNestedInput
|
||||
invitations?: Prisma.InvitationUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
@@ -571,6 +578,20 @@ export type UserUpdateOneRequiredWithoutAuditNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutAuditInput, Prisma.UserUpdateWithoutAuditInput>, Prisma.UserUncheckedUpdateWithoutAuditInput>
|
||||
}
|
||||
|
||||
export type UserCreateNestedOneWithoutNotificationInput = {
|
||||
create?: Prisma.XOR<Prisma.UserCreateWithoutNotificationInput, Prisma.UserUncheckedCreateWithoutNotificationInput>
|
||||
connectOrCreate?: Prisma.UserCreateOrConnectWithoutNotificationInput
|
||||
connect?: Prisma.UserWhereUniqueInput
|
||||
}
|
||||
|
||||
export type UserUpdateOneRequiredWithoutNotificationNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.UserCreateWithoutNotificationInput, Prisma.UserUncheckedCreateWithoutNotificationInput>
|
||||
connectOrCreate?: Prisma.UserCreateOrConnectWithoutNotificationInput
|
||||
upsert?: Prisma.UserUpsertWithoutNotificationInput
|
||||
connect?: Prisma.UserWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutNotificationInput, Prisma.UserUpdateWithoutNotificationInput>, Prisma.UserUncheckedUpdateWithoutNotificationInput>
|
||||
}
|
||||
|
||||
export type UserCreateWithoutSessionsInput = {
|
||||
id?: string
|
||||
name: string
|
||||
@@ -585,6 +606,7 @@ export type UserCreateWithoutSessionsInput = {
|
||||
banExpires?: Date | string | null
|
||||
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput
|
||||
audit?: Prisma.AuditCreateNestedManyWithoutUserInput
|
||||
notification?: Prisma.NotificationCreateNestedManyWithoutUserInput
|
||||
members?: Prisma.MemberCreateNestedManyWithoutUserInput
|
||||
invitations?: Prisma.InvitationCreateNestedManyWithoutUserInput
|
||||
}
|
||||
@@ -603,6 +625,7 @@ export type UserUncheckedCreateWithoutSessionsInput = {
|
||||
banExpires?: Date | string | null
|
||||
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput
|
||||
audit?: Prisma.AuditUncheckedCreateNestedManyWithoutUserInput
|
||||
notification?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput
|
||||
members?: Prisma.MemberUncheckedCreateNestedManyWithoutUserInput
|
||||
invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
@@ -637,6 +660,7 @@ export type UserUpdateWithoutSessionsInput = {
|
||||
banExpires?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput
|
||||
audit?: Prisma.AuditUpdateManyWithoutUserNestedInput
|
||||
notification?: Prisma.NotificationUpdateManyWithoutUserNestedInput
|
||||
members?: Prisma.MemberUpdateManyWithoutUserNestedInput
|
||||
invitations?: Prisma.InvitationUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
@@ -655,6 +679,7 @@ export type UserUncheckedUpdateWithoutSessionsInput = {
|
||||
banExpires?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput
|
||||
audit?: Prisma.AuditUncheckedUpdateManyWithoutUserNestedInput
|
||||
notification?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput
|
||||
members?: Prisma.MemberUncheckedUpdateManyWithoutUserNestedInput
|
||||
invitations?: Prisma.InvitationUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
@@ -673,6 +698,7 @@ export type UserCreateWithoutAccountsInput = {
|
||||
banExpires?: Date | string | null
|
||||
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
||||
audit?: Prisma.AuditCreateNestedManyWithoutUserInput
|
||||
notification?: Prisma.NotificationCreateNestedManyWithoutUserInput
|
||||
members?: Prisma.MemberCreateNestedManyWithoutUserInput
|
||||
invitations?: Prisma.InvitationCreateNestedManyWithoutUserInput
|
||||
}
|
||||
@@ -691,6 +717,7 @@ export type UserUncheckedCreateWithoutAccountsInput = {
|
||||
banExpires?: Date | string | null
|
||||
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
||||
audit?: Prisma.AuditUncheckedCreateNestedManyWithoutUserInput
|
||||
notification?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput
|
||||
members?: Prisma.MemberUncheckedCreateNestedManyWithoutUserInput
|
||||
invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
@@ -725,6 +752,7 @@ export type UserUpdateWithoutAccountsInput = {
|
||||
banExpires?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
||||
audit?: Prisma.AuditUpdateManyWithoutUserNestedInput
|
||||
notification?: Prisma.NotificationUpdateManyWithoutUserNestedInput
|
||||
members?: Prisma.MemberUpdateManyWithoutUserNestedInput
|
||||
invitations?: Prisma.InvitationUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
@@ -743,6 +771,7 @@ export type UserUncheckedUpdateWithoutAccountsInput = {
|
||||
banExpires?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
||||
audit?: Prisma.AuditUncheckedUpdateManyWithoutUserNestedInput
|
||||
notification?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput
|
||||
members?: Prisma.MemberUncheckedUpdateManyWithoutUserNestedInput
|
||||
invitations?: Prisma.InvitationUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
@@ -762,6 +791,7 @@ export type UserCreateWithoutMembersInput = {
|
||||
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
||||
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput
|
||||
audit?: Prisma.AuditCreateNestedManyWithoutUserInput
|
||||
notification?: Prisma.NotificationCreateNestedManyWithoutUserInput
|
||||
invitations?: Prisma.InvitationCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
@@ -780,6 +810,7 @@ export type UserUncheckedCreateWithoutMembersInput = {
|
||||
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
||||
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput
|
||||
audit?: Prisma.AuditUncheckedCreateNestedManyWithoutUserInput
|
||||
notification?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput
|
||||
invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
@@ -814,6 +845,7 @@ export type UserUpdateWithoutMembersInput = {
|
||||
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
||||
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput
|
||||
audit?: Prisma.AuditUpdateManyWithoutUserNestedInput
|
||||
notification?: Prisma.NotificationUpdateManyWithoutUserNestedInput
|
||||
invitations?: Prisma.InvitationUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
@@ -832,6 +864,7 @@ export type UserUncheckedUpdateWithoutMembersInput = {
|
||||
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
||||
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput
|
||||
audit?: Prisma.AuditUncheckedUpdateManyWithoutUserNestedInput
|
||||
notification?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput
|
||||
invitations?: Prisma.InvitationUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
@@ -850,6 +883,7 @@ export type UserCreateWithoutInvitationsInput = {
|
||||
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
||||
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput
|
||||
audit?: Prisma.AuditCreateNestedManyWithoutUserInput
|
||||
notification?: Prisma.NotificationCreateNestedManyWithoutUserInput
|
||||
members?: Prisma.MemberCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
@@ -868,6 +902,7 @@ export type UserUncheckedCreateWithoutInvitationsInput = {
|
||||
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
||||
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput
|
||||
audit?: Prisma.AuditUncheckedCreateNestedManyWithoutUserInput
|
||||
notification?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput
|
||||
members?: Prisma.MemberUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
@@ -902,6 +937,7 @@ export type UserUpdateWithoutInvitationsInput = {
|
||||
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
||||
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput
|
||||
audit?: Prisma.AuditUpdateManyWithoutUserNestedInput
|
||||
notification?: Prisma.NotificationUpdateManyWithoutUserNestedInput
|
||||
members?: Prisma.MemberUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
@@ -920,6 +956,7 @@ export type UserUncheckedUpdateWithoutInvitationsInput = {
|
||||
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
||||
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput
|
||||
audit?: Prisma.AuditUncheckedUpdateManyWithoutUserNestedInput
|
||||
notification?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput
|
||||
members?: Prisma.MemberUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
@@ -937,6 +974,7 @@ export type UserCreateWithoutAuditInput = {
|
||||
banExpires?: Date | string | null
|
||||
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
||||
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput
|
||||
notification?: Prisma.NotificationCreateNestedManyWithoutUserInput
|
||||
members?: Prisma.MemberCreateNestedManyWithoutUserInput
|
||||
invitations?: Prisma.InvitationCreateNestedManyWithoutUserInput
|
||||
}
|
||||
@@ -955,6 +993,7 @@ export type UserUncheckedCreateWithoutAuditInput = {
|
||||
banExpires?: Date | string | null
|
||||
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
||||
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput
|
||||
notification?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput
|
||||
members?: Prisma.MemberUncheckedCreateNestedManyWithoutUserInput
|
||||
invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
@@ -989,6 +1028,7 @@ export type UserUpdateWithoutAuditInput = {
|
||||
banExpires?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
||||
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput
|
||||
notification?: Prisma.NotificationUpdateManyWithoutUserNestedInput
|
||||
members?: Prisma.MemberUpdateManyWithoutUserNestedInput
|
||||
invitations?: Prisma.InvitationUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
@@ -1007,6 +1047,99 @@ export type UserUncheckedUpdateWithoutAuditInput = {
|
||||
banExpires?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
||||
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput
|
||||
notification?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput
|
||||
members?: Prisma.MemberUncheckedUpdateManyWithoutUserNestedInput
|
||||
invitations?: Prisma.InvitationUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserCreateWithoutNotificationInput = {
|
||||
id?: string
|
||||
name: string
|
||||
email: string
|
||||
emailVerified?: boolean
|
||||
image?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
role?: string | null
|
||||
banned?: boolean | null
|
||||
banReason?: string | null
|
||||
banExpires?: Date | string | null
|
||||
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
||||
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput
|
||||
audit?: Prisma.AuditCreateNestedManyWithoutUserInput
|
||||
members?: Prisma.MemberCreateNestedManyWithoutUserInput
|
||||
invitations?: Prisma.InvitationCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutNotificationInput = {
|
||||
id?: string
|
||||
name: string
|
||||
email: string
|
||||
emailVerified?: boolean
|
||||
image?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
role?: string | null
|
||||
banned?: boolean | null
|
||||
banReason?: string | null
|
||||
banExpires?: Date | string | null
|
||||
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
||||
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput
|
||||
audit?: Prisma.AuditUncheckedCreateNestedManyWithoutUserInput
|
||||
members?: Prisma.MemberUncheckedCreateNestedManyWithoutUserInput
|
||||
invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutNotificationInput = {
|
||||
where: Prisma.UserWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.UserCreateWithoutNotificationInput, Prisma.UserUncheckedCreateWithoutNotificationInput>
|
||||
}
|
||||
|
||||
export type UserUpsertWithoutNotificationInput = {
|
||||
update: Prisma.XOR<Prisma.UserUpdateWithoutNotificationInput, Prisma.UserUncheckedUpdateWithoutNotificationInput>
|
||||
create: Prisma.XOR<Prisma.UserCreateWithoutNotificationInput, Prisma.UserUncheckedCreateWithoutNotificationInput>
|
||||
where?: Prisma.UserWhereInput
|
||||
}
|
||||
|
||||
export type UserUpdateToOneWithWhereWithoutNotificationInput = {
|
||||
where?: Prisma.UserWhereInput
|
||||
data: Prisma.XOR<Prisma.UserUpdateWithoutNotificationInput, Prisma.UserUncheckedUpdateWithoutNotificationInput>
|
||||
}
|
||||
|
||||
export type UserUpdateWithoutNotificationInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
email?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
role?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
banned?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
||||
banReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
banExpires?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
||||
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput
|
||||
audit?: Prisma.AuditUpdateManyWithoutUserNestedInput
|
||||
members?: Prisma.MemberUpdateManyWithoutUserNestedInput
|
||||
invitations?: Prisma.InvitationUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutNotificationInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
email?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
role?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
banned?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
||||
banReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
banExpires?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
||||
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput
|
||||
audit?: Prisma.AuditUncheckedUpdateManyWithoutUserNestedInput
|
||||
members?: Prisma.MemberUncheckedUpdateManyWithoutUserNestedInput
|
||||
invitations?: Prisma.InvitationUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
@@ -1020,6 +1153,7 @@ export type UserCountOutputType = {
|
||||
sessions: number
|
||||
accounts: number
|
||||
audit: number
|
||||
notification: number
|
||||
members: number
|
||||
invitations: number
|
||||
}
|
||||
@@ -1028,6 +1162,7 @@ export type UserCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.I
|
||||
sessions?: boolean | UserCountOutputTypeCountSessionsArgs
|
||||
accounts?: boolean | UserCountOutputTypeCountAccountsArgs
|
||||
audit?: boolean | UserCountOutputTypeCountAuditArgs
|
||||
notification?: boolean | UserCountOutputTypeCountNotificationArgs
|
||||
members?: boolean | UserCountOutputTypeCountMembersArgs
|
||||
invitations?: boolean | UserCountOutputTypeCountInvitationsArgs
|
||||
}
|
||||
@@ -1063,6 +1198,13 @@ export type UserCountOutputTypeCountAuditArgs<ExtArgs extends runtime.Types.Exte
|
||||
where?: Prisma.AuditWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* UserCountOutputType without action
|
||||
*/
|
||||
export type UserCountOutputTypeCountNotificationArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
where?: Prisma.NotificationWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* UserCountOutputType without action
|
||||
*/
|
||||
@@ -1093,6 +1235,7 @@ export type UserSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = r
|
||||
sessions?: boolean | Prisma.User$sessionsArgs<ExtArgs>
|
||||
accounts?: boolean | Prisma.User$accountsArgs<ExtArgs>
|
||||
audit?: boolean | Prisma.User$auditArgs<ExtArgs>
|
||||
notification?: boolean | Prisma.User$notificationArgs<ExtArgs>
|
||||
members?: boolean | Prisma.User$membersArgs<ExtArgs>
|
||||
invitations?: boolean | Prisma.User$invitationsArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.UserCountOutputTypeDefaultArgs<ExtArgs>
|
||||
@@ -1145,6 +1288,7 @@ export type UserInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
||||
sessions?: boolean | Prisma.User$sessionsArgs<ExtArgs>
|
||||
accounts?: boolean | Prisma.User$accountsArgs<ExtArgs>
|
||||
audit?: boolean | Prisma.User$auditArgs<ExtArgs>
|
||||
notification?: boolean | Prisma.User$notificationArgs<ExtArgs>
|
||||
members?: boolean | Prisma.User$membersArgs<ExtArgs>
|
||||
invitations?: boolean | Prisma.User$invitationsArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.UserCountOutputTypeDefaultArgs<ExtArgs>
|
||||
@@ -1158,6 +1302,7 @@ export type $UserPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
||||
sessions: Prisma.$SessionPayload<ExtArgs>[]
|
||||
accounts: Prisma.$AccountPayload<ExtArgs>[]
|
||||
audit: Prisma.$AuditPayload<ExtArgs>[]
|
||||
notification: Prisma.$NotificationPayload<ExtArgs>[]
|
||||
members: Prisma.$MemberPayload<ExtArgs>[]
|
||||
invitations: Prisma.$InvitationPayload<ExtArgs>[]
|
||||
}
|
||||
@@ -1570,6 +1715,7 @@ export interface Prisma__UserClient<T, Null = never, ExtArgs extends runtime.Typ
|
||||
sessions<T extends Prisma.User$sessionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$sessionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SessionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
accounts<T extends Prisma.User$accountsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$accountsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AccountPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
audit<T extends Prisma.User$auditArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$auditArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuditPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
notification<T extends Prisma.User$notificationArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$notificationArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$NotificationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
members<T extends Prisma.User$membersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$membersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MemberPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
invitations<T extends Prisma.User$invitationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$invitationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InvitationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
/**
|
||||
@@ -2071,6 +2217,30 @@ export type User$auditArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
||||
distinct?: Prisma.AuditScalarFieldEnum | Prisma.AuditScalarFieldEnum[]
|
||||
}
|
||||
|
||||
/**
|
||||
* User.notification
|
||||
*/
|
||||
export type User$notificationArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the Notification
|
||||
*/
|
||||
select?: Prisma.NotificationSelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the Notification
|
||||
*/
|
||||
omit?: Prisma.NotificationOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.NotificationInclude<ExtArgs> | null
|
||||
where?: Prisma.NotificationWhereInput
|
||||
orderBy?: Prisma.NotificationOrderByWithRelationInput | Prisma.NotificationOrderByWithRelationInput[]
|
||||
cursor?: Prisma.NotificationWhereUniqueInput
|
||||
take?: number
|
||||
skip?: number
|
||||
distinct?: Prisma.NotificationScalarFieldEnum | Prisma.NotificationScalarFieldEnum[]
|
||||
}
|
||||
|
||||
/**
|
||||
* User.members
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user