1390 lines
52 KiB
TypeScript
1390 lines
52 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports the `GroupUser` model and its related types.
|
|
*
|
|
* 🟢 You can import this file directly.
|
|
*/
|
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
import type * as $Enums from "../enums.ts"
|
|
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
|
|
/**
|
|
* Model GroupUser
|
|
*
|
|
*/
|
|
export type GroupUserModel = runtime.Types.Result.DefaultSelection<Prisma.$GroupUserPayload>
|
|
|
|
export type AggregateGroupUser = {
|
|
_count: GroupUserCountAggregateOutputType | null
|
|
_min: GroupUserMinAggregateOutputType | null
|
|
_max: GroupUserMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GroupUserMinAggregateOutputType = {
|
|
id: string | null
|
|
groupId: string | null
|
|
userId: string | null
|
|
}
|
|
|
|
export type GroupUserMaxAggregateOutputType = {
|
|
id: string | null
|
|
groupId: string | null
|
|
userId: string | null
|
|
}
|
|
|
|
export type GroupUserCountAggregateOutputType = {
|
|
id: number
|
|
groupId: number
|
|
userId: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type GroupUserMinAggregateInputType = {
|
|
id?: true
|
|
groupId?: true
|
|
userId?: true
|
|
}
|
|
|
|
export type GroupUserMaxAggregateInputType = {
|
|
id?: true
|
|
groupId?: true
|
|
userId?: true
|
|
}
|
|
|
|
export type GroupUserCountAggregateInputType = {
|
|
id?: true
|
|
groupId?: true
|
|
userId?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type GroupUserAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which GroupUser to aggregate.
|
|
*/
|
|
where?: Prisma.GroupUserWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of GroupUsers to fetch.
|
|
*/
|
|
orderBy?: Prisma.GroupUserOrderByWithRelationInput | Prisma.GroupUserOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.GroupUserWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` GroupUsers 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` GroupUsers.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned GroupUsers
|
|
**/
|
|
_count?: true | GroupUserCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: GroupUserMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: GroupUserMaxAggregateInputType
|
|
}
|
|
|
|
export type GetGroupUserAggregateType<T extends GroupUserAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateGroupUser]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateGroupUser[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateGroupUser[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type GroupUserGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.GroupUserWhereInput
|
|
orderBy?: Prisma.GroupUserOrderByWithAggregationInput | Prisma.GroupUserOrderByWithAggregationInput[]
|
|
by: Prisma.GroupUserScalarFieldEnum[] | Prisma.GroupUserScalarFieldEnum
|
|
having?: Prisma.GroupUserScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: GroupUserCountAggregateInputType | true
|
|
_min?: GroupUserMinAggregateInputType
|
|
_max?: GroupUserMaxAggregateInputType
|
|
}
|
|
|
|
export type GroupUserGroupByOutputType = {
|
|
id: string
|
|
groupId: string
|
|
userId: string
|
|
_count: GroupUserCountAggregateOutputType | null
|
|
_min: GroupUserMinAggregateOutputType | null
|
|
_max: GroupUserMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetGroupUserGroupByPayload<T extends GroupUserGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<GroupUserGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof GroupUserGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], GroupUserGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], GroupUserGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type GroupUserWhereInput = {
|
|
AND?: Prisma.GroupUserWhereInput | Prisma.GroupUserWhereInput[]
|
|
OR?: Prisma.GroupUserWhereInput[]
|
|
NOT?: Prisma.GroupUserWhereInput | Prisma.GroupUserWhereInput[]
|
|
id?: Prisma.StringFilter<"GroupUser"> | string
|
|
groupId?: Prisma.StringFilter<"GroupUser"> | string
|
|
userId?: Prisma.StringFilter<"GroupUser"> | string
|
|
group?: Prisma.XOR<Prisma.GroupScalarRelationFilter, Prisma.GroupWhereInput>
|
|
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
}
|
|
|
|
export type GroupUserOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
groupId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
group?: Prisma.GroupOrderByWithRelationInput
|
|
user?: Prisma.UserOrderByWithRelationInput
|
|
}
|
|
|
|
export type GroupUserWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
group_user_membership_key?: Prisma.GroupUserGroup_user_membership_keyCompoundUniqueInput
|
|
AND?: Prisma.GroupUserWhereInput | Prisma.GroupUserWhereInput[]
|
|
OR?: Prisma.GroupUserWhereInput[]
|
|
NOT?: Prisma.GroupUserWhereInput | Prisma.GroupUserWhereInput[]
|
|
groupId?: Prisma.StringFilter<"GroupUser"> | string
|
|
userId?: Prisma.StringFilter<"GroupUser"> | string
|
|
group?: Prisma.XOR<Prisma.GroupScalarRelationFilter, Prisma.GroupWhereInput>
|
|
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
}, "id" | "group_user_membership_key">
|
|
|
|
export type GroupUserOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
groupId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
_count?: Prisma.GroupUserCountOrderByAggregateInput
|
|
_max?: Prisma.GroupUserMaxOrderByAggregateInput
|
|
_min?: Prisma.GroupUserMinOrderByAggregateInput
|
|
}
|
|
|
|
export type GroupUserScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.GroupUserScalarWhereWithAggregatesInput | Prisma.GroupUserScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.GroupUserScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.GroupUserScalarWhereWithAggregatesInput | Prisma.GroupUserScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"GroupUser"> | string
|
|
groupId?: Prisma.StringWithAggregatesFilter<"GroupUser"> | string
|
|
userId?: Prisma.StringWithAggregatesFilter<"GroupUser"> | string
|
|
}
|
|
|
|
export type GroupUserCreateInput = {
|
|
id?: string
|
|
group: Prisma.GroupCreateNestedOneWithoutUsersInput
|
|
user: Prisma.UserCreateNestedOneWithoutGroupsInput
|
|
}
|
|
|
|
export type GroupUserUncheckedCreateInput = {
|
|
id?: string
|
|
groupId: string
|
|
userId: string
|
|
}
|
|
|
|
export type GroupUserUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
group?: Prisma.GroupUpdateOneRequiredWithoutUsersNestedInput
|
|
user?: Prisma.UserUpdateOneRequiredWithoutGroupsNestedInput
|
|
}
|
|
|
|
export type GroupUserUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
groupId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type GroupUserCreateManyInput = {
|
|
id?: string
|
|
groupId: string
|
|
userId: string
|
|
}
|
|
|
|
export type GroupUserUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type GroupUserUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
groupId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type GroupUserListRelationFilter = {
|
|
every?: Prisma.GroupUserWhereInput
|
|
some?: Prisma.GroupUserWhereInput
|
|
none?: Prisma.GroupUserWhereInput
|
|
}
|
|
|
|
export type GroupUserOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type GroupUserGroup_user_membership_keyCompoundUniqueInput = {
|
|
groupId: string
|
|
userId: string
|
|
}
|
|
|
|
export type GroupUserCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
groupId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type GroupUserMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
groupId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type GroupUserMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
groupId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type GroupUserCreateNestedManyWithoutUserInput = {
|
|
create?: Prisma.XOR<Prisma.GroupUserCreateWithoutUserInput, Prisma.GroupUserUncheckedCreateWithoutUserInput> | Prisma.GroupUserCreateWithoutUserInput[] | Prisma.GroupUserUncheckedCreateWithoutUserInput[]
|
|
connectOrCreate?: Prisma.GroupUserCreateOrConnectWithoutUserInput | Prisma.GroupUserCreateOrConnectWithoutUserInput[]
|
|
createMany?: Prisma.GroupUserCreateManyUserInputEnvelope
|
|
connect?: Prisma.GroupUserWhereUniqueInput | Prisma.GroupUserWhereUniqueInput[]
|
|
}
|
|
|
|
export type GroupUserUncheckedCreateNestedManyWithoutUserInput = {
|
|
create?: Prisma.XOR<Prisma.GroupUserCreateWithoutUserInput, Prisma.GroupUserUncheckedCreateWithoutUserInput> | Prisma.GroupUserCreateWithoutUserInput[] | Prisma.GroupUserUncheckedCreateWithoutUserInput[]
|
|
connectOrCreate?: Prisma.GroupUserCreateOrConnectWithoutUserInput | Prisma.GroupUserCreateOrConnectWithoutUserInput[]
|
|
createMany?: Prisma.GroupUserCreateManyUserInputEnvelope
|
|
connect?: Prisma.GroupUserWhereUniqueInput | Prisma.GroupUserWhereUniqueInput[]
|
|
}
|
|
|
|
export type GroupUserUpdateManyWithoutUserNestedInput = {
|
|
create?: Prisma.XOR<Prisma.GroupUserCreateWithoutUserInput, Prisma.GroupUserUncheckedCreateWithoutUserInput> | Prisma.GroupUserCreateWithoutUserInput[] | Prisma.GroupUserUncheckedCreateWithoutUserInput[]
|
|
connectOrCreate?: Prisma.GroupUserCreateOrConnectWithoutUserInput | Prisma.GroupUserCreateOrConnectWithoutUserInput[]
|
|
upsert?: Prisma.GroupUserUpsertWithWhereUniqueWithoutUserInput | Prisma.GroupUserUpsertWithWhereUniqueWithoutUserInput[]
|
|
createMany?: Prisma.GroupUserCreateManyUserInputEnvelope
|
|
set?: Prisma.GroupUserWhereUniqueInput | Prisma.GroupUserWhereUniqueInput[]
|
|
disconnect?: Prisma.GroupUserWhereUniqueInput | Prisma.GroupUserWhereUniqueInput[]
|
|
delete?: Prisma.GroupUserWhereUniqueInput | Prisma.GroupUserWhereUniqueInput[]
|
|
connect?: Prisma.GroupUserWhereUniqueInput | Prisma.GroupUserWhereUniqueInput[]
|
|
update?: Prisma.GroupUserUpdateWithWhereUniqueWithoutUserInput | Prisma.GroupUserUpdateWithWhereUniqueWithoutUserInput[]
|
|
updateMany?: Prisma.GroupUserUpdateManyWithWhereWithoutUserInput | Prisma.GroupUserUpdateManyWithWhereWithoutUserInput[]
|
|
deleteMany?: Prisma.GroupUserScalarWhereInput | Prisma.GroupUserScalarWhereInput[]
|
|
}
|
|
|
|
export type GroupUserUncheckedUpdateManyWithoutUserNestedInput = {
|
|
create?: Prisma.XOR<Prisma.GroupUserCreateWithoutUserInput, Prisma.GroupUserUncheckedCreateWithoutUserInput> | Prisma.GroupUserCreateWithoutUserInput[] | Prisma.GroupUserUncheckedCreateWithoutUserInput[]
|
|
connectOrCreate?: Prisma.GroupUserCreateOrConnectWithoutUserInput | Prisma.GroupUserCreateOrConnectWithoutUserInput[]
|
|
upsert?: Prisma.GroupUserUpsertWithWhereUniqueWithoutUserInput | Prisma.GroupUserUpsertWithWhereUniqueWithoutUserInput[]
|
|
createMany?: Prisma.GroupUserCreateManyUserInputEnvelope
|
|
set?: Prisma.GroupUserWhereUniqueInput | Prisma.GroupUserWhereUniqueInput[]
|
|
disconnect?: Prisma.GroupUserWhereUniqueInput | Prisma.GroupUserWhereUniqueInput[]
|
|
delete?: Prisma.GroupUserWhereUniqueInput | Prisma.GroupUserWhereUniqueInput[]
|
|
connect?: Prisma.GroupUserWhereUniqueInput | Prisma.GroupUserWhereUniqueInput[]
|
|
update?: Prisma.GroupUserUpdateWithWhereUniqueWithoutUserInput | Prisma.GroupUserUpdateWithWhereUniqueWithoutUserInput[]
|
|
updateMany?: Prisma.GroupUserUpdateManyWithWhereWithoutUserInput | Prisma.GroupUserUpdateManyWithWhereWithoutUserInput[]
|
|
deleteMany?: Prisma.GroupUserScalarWhereInput | Prisma.GroupUserScalarWhereInput[]
|
|
}
|
|
|
|
export type GroupUserCreateNestedManyWithoutGroupInput = {
|
|
create?: Prisma.XOR<Prisma.GroupUserCreateWithoutGroupInput, Prisma.GroupUserUncheckedCreateWithoutGroupInput> | Prisma.GroupUserCreateWithoutGroupInput[] | Prisma.GroupUserUncheckedCreateWithoutGroupInput[]
|
|
connectOrCreate?: Prisma.GroupUserCreateOrConnectWithoutGroupInput | Prisma.GroupUserCreateOrConnectWithoutGroupInput[]
|
|
createMany?: Prisma.GroupUserCreateManyGroupInputEnvelope
|
|
connect?: Prisma.GroupUserWhereUniqueInput | Prisma.GroupUserWhereUniqueInput[]
|
|
}
|
|
|
|
export type GroupUserUncheckedCreateNestedManyWithoutGroupInput = {
|
|
create?: Prisma.XOR<Prisma.GroupUserCreateWithoutGroupInput, Prisma.GroupUserUncheckedCreateWithoutGroupInput> | Prisma.GroupUserCreateWithoutGroupInput[] | Prisma.GroupUserUncheckedCreateWithoutGroupInput[]
|
|
connectOrCreate?: Prisma.GroupUserCreateOrConnectWithoutGroupInput | Prisma.GroupUserCreateOrConnectWithoutGroupInput[]
|
|
createMany?: Prisma.GroupUserCreateManyGroupInputEnvelope
|
|
connect?: Prisma.GroupUserWhereUniqueInput | Prisma.GroupUserWhereUniqueInput[]
|
|
}
|
|
|
|
export type GroupUserUpdateManyWithoutGroupNestedInput = {
|
|
create?: Prisma.XOR<Prisma.GroupUserCreateWithoutGroupInput, Prisma.GroupUserUncheckedCreateWithoutGroupInput> | Prisma.GroupUserCreateWithoutGroupInput[] | Prisma.GroupUserUncheckedCreateWithoutGroupInput[]
|
|
connectOrCreate?: Prisma.GroupUserCreateOrConnectWithoutGroupInput | Prisma.GroupUserCreateOrConnectWithoutGroupInput[]
|
|
upsert?: Prisma.GroupUserUpsertWithWhereUniqueWithoutGroupInput | Prisma.GroupUserUpsertWithWhereUniqueWithoutGroupInput[]
|
|
createMany?: Prisma.GroupUserCreateManyGroupInputEnvelope
|
|
set?: Prisma.GroupUserWhereUniqueInput | Prisma.GroupUserWhereUniqueInput[]
|
|
disconnect?: Prisma.GroupUserWhereUniqueInput | Prisma.GroupUserWhereUniqueInput[]
|
|
delete?: Prisma.GroupUserWhereUniqueInput | Prisma.GroupUserWhereUniqueInput[]
|
|
connect?: Prisma.GroupUserWhereUniqueInput | Prisma.GroupUserWhereUniqueInput[]
|
|
update?: Prisma.GroupUserUpdateWithWhereUniqueWithoutGroupInput | Prisma.GroupUserUpdateWithWhereUniqueWithoutGroupInput[]
|
|
updateMany?: Prisma.GroupUserUpdateManyWithWhereWithoutGroupInput | Prisma.GroupUserUpdateManyWithWhereWithoutGroupInput[]
|
|
deleteMany?: Prisma.GroupUserScalarWhereInput | Prisma.GroupUserScalarWhereInput[]
|
|
}
|
|
|
|
export type GroupUserUncheckedUpdateManyWithoutGroupNestedInput = {
|
|
create?: Prisma.XOR<Prisma.GroupUserCreateWithoutGroupInput, Prisma.GroupUserUncheckedCreateWithoutGroupInput> | Prisma.GroupUserCreateWithoutGroupInput[] | Prisma.GroupUserUncheckedCreateWithoutGroupInput[]
|
|
connectOrCreate?: Prisma.GroupUserCreateOrConnectWithoutGroupInput | Prisma.GroupUserCreateOrConnectWithoutGroupInput[]
|
|
upsert?: Prisma.GroupUserUpsertWithWhereUniqueWithoutGroupInput | Prisma.GroupUserUpsertWithWhereUniqueWithoutGroupInput[]
|
|
createMany?: Prisma.GroupUserCreateManyGroupInputEnvelope
|
|
set?: Prisma.GroupUserWhereUniqueInput | Prisma.GroupUserWhereUniqueInput[]
|
|
disconnect?: Prisma.GroupUserWhereUniqueInput | Prisma.GroupUserWhereUniqueInput[]
|
|
delete?: Prisma.GroupUserWhereUniqueInput | Prisma.GroupUserWhereUniqueInput[]
|
|
connect?: Prisma.GroupUserWhereUniqueInput | Prisma.GroupUserWhereUniqueInput[]
|
|
update?: Prisma.GroupUserUpdateWithWhereUniqueWithoutGroupInput | Prisma.GroupUserUpdateWithWhereUniqueWithoutGroupInput[]
|
|
updateMany?: Prisma.GroupUserUpdateManyWithWhereWithoutGroupInput | Prisma.GroupUserUpdateManyWithWhereWithoutGroupInput[]
|
|
deleteMany?: Prisma.GroupUserScalarWhereInput | Prisma.GroupUserScalarWhereInput[]
|
|
}
|
|
|
|
export type GroupUserCreateWithoutUserInput = {
|
|
id?: string
|
|
group: Prisma.GroupCreateNestedOneWithoutUsersInput
|
|
}
|
|
|
|
export type GroupUserUncheckedCreateWithoutUserInput = {
|
|
id?: string
|
|
groupId: string
|
|
}
|
|
|
|
export type GroupUserCreateOrConnectWithoutUserInput = {
|
|
where: Prisma.GroupUserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.GroupUserCreateWithoutUserInput, Prisma.GroupUserUncheckedCreateWithoutUserInput>
|
|
}
|
|
|
|
export type GroupUserCreateManyUserInputEnvelope = {
|
|
data: Prisma.GroupUserCreateManyUserInput | Prisma.GroupUserCreateManyUserInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type GroupUserUpsertWithWhereUniqueWithoutUserInput = {
|
|
where: Prisma.GroupUserWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.GroupUserUpdateWithoutUserInput, Prisma.GroupUserUncheckedUpdateWithoutUserInput>
|
|
create: Prisma.XOR<Prisma.GroupUserCreateWithoutUserInput, Prisma.GroupUserUncheckedCreateWithoutUserInput>
|
|
}
|
|
|
|
export type GroupUserUpdateWithWhereUniqueWithoutUserInput = {
|
|
where: Prisma.GroupUserWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.GroupUserUpdateWithoutUserInput, Prisma.GroupUserUncheckedUpdateWithoutUserInput>
|
|
}
|
|
|
|
export type GroupUserUpdateManyWithWhereWithoutUserInput = {
|
|
where: Prisma.GroupUserScalarWhereInput
|
|
data: Prisma.XOR<Prisma.GroupUserUpdateManyMutationInput, Prisma.GroupUserUncheckedUpdateManyWithoutUserInput>
|
|
}
|
|
|
|
export type GroupUserScalarWhereInput = {
|
|
AND?: Prisma.GroupUserScalarWhereInput | Prisma.GroupUserScalarWhereInput[]
|
|
OR?: Prisma.GroupUserScalarWhereInput[]
|
|
NOT?: Prisma.GroupUserScalarWhereInput | Prisma.GroupUserScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"GroupUser"> | string
|
|
groupId?: Prisma.StringFilter<"GroupUser"> | string
|
|
userId?: Prisma.StringFilter<"GroupUser"> | string
|
|
}
|
|
|
|
export type GroupUserCreateWithoutGroupInput = {
|
|
id?: string
|
|
user: Prisma.UserCreateNestedOneWithoutGroupsInput
|
|
}
|
|
|
|
export type GroupUserUncheckedCreateWithoutGroupInput = {
|
|
id?: string
|
|
userId: string
|
|
}
|
|
|
|
export type GroupUserCreateOrConnectWithoutGroupInput = {
|
|
where: Prisma.GroupUserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.GroupUserCreateWithoutGroupInput, Prisma.GroupUserUncheckedCreateWithoutGroupInput>
|
|
}
|
|
|
|
export type GroupUserCreateManyGroupInputEnvelope = {
|
|
data: Prisma.GroupUserCreateManyGroupInput | Prisma.GroupUserCreateManyGroupInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type GroupUserUpsertWithWhereUniqueWithoutGroupInput = {
|
|
where: Prisma.GroupUserWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.GroupUserUpdateWithoutGroupInput, Prisma.GroupUserUncheckedUpdateWithoutGroupInput>
|
|
create: Prisma.XOR<Prisma.GroupUserCreateWithoutGroupInput, Prisma.GroupUserUncheckedCreateWithoutGroupInput>
|
|
}
|
|
|
|
export type GroupUserUpdateWithWhereUniqueWithoutGroupInput = {
|
|
where: Prisma.GroupUserWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.GroupUserUpdateWithoutGroupInput, Prisma.GroupUserUncheckedUpdateWithoutGroupInput>
|
|
}
|
|
|
|
export type GroupUserUpdateManyWithWhereWithoutGroupInput = {
|
|
where: Prisma.GroupUserScalarWhereInput
|
|
data: Prisma.XOR<Prisma.GroupUserUpdateManyMutationInput, Prisma.GroupUserUncheckedUpdateManyWithoutGroupInput>
|
|
}
|
|
|
|
export type GroupUserCreateManyUserInput = {
|
|
id?: string
|
|
groupId: string
|
|
}
|
|
|
|
export type GroupUserUpdateWithoutUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
group?: Prisma.GroupUpdateOneRequiredWithoutUsersNestedInput
|
|
}
|
|
|
|
export type GroupUserUncheckedUpdateWithoutUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
groupId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type GroupUserUncheckedUpdateManyWithoutUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
groupId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type GroupUserCreateManyGroupInput = {
|
|
id?: string
|
|
userId: string
|
|
}
|
|
|
|
export type GroupUserUpdateWithoutGroupInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
user?: Prisma.UserUpdateOneRequiredWithoutGroupsNestedInput
|
|
}
|
|
|
|
export type GroupUserUncheckedUpdateWithoutGroupInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type GroupUserUncheckedUpdateManyWithoutGroupInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
|
|
|
|
export type GroupUserSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
groupId?: boolean
|
|
userId?: boolean
|
|
group?: boolean | Prisma.GroupDefaultArgs<ExtArgs>
|
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["groupUser"]>
|
|
|
|
export type GroupUserSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
groupId?: boolean
|
|
userId?: boolean
|
|
group?: boolean | Prisma.GroupDefaultArgs<ExtArgs>
|
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["groupUser"]>
|
|
|
|
export type GroupUserSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
groupId?: boolean
|
|
userId?: boolean
|
|
group?: boolean | Prisma.GroupDefaultArgs<ExtArgs>
|
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["groupUser"]>
|
|
|
|
export type GroupUserSelectScalar = {
|
|
id?: boolean
|
|
groupId?: boolean
|
|
userId?: boolean
|
|
}
|
|
|
|
export type GroupUserOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "groupId" | "userId", ExtArgs["result"]["groupUser"]>
|
|
export type GroupUserInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
group?: boolean | Prisma.GroupDefaultArgs<ExtArgs>
|
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
}
|
|
export type GroupUserIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
group?: boolean | Prisma.GroupDefaultArgs<ExtArgs>
|
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
}
|
|
export type GroupUserIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
group?: boolean | Prisma.GroupDefaultArgs<ExtArgs>
|
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $GroupUserPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "GroupUser"
|
|
objects: {
|
|
group: Prisma.$GroupPayload<ExtArgs>
|
|
user: Prisma.$UserPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
groupId: string
|
|
userId: string
|
|
}, ExtArgs["result"]["groupUser"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type GroupUserGetPayload<S extends boolean | null | undefined | GroupUserDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$GroupUserPayload, S>
|
|
|
|
export type GroupUserCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<GroupUserFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: GroupUserCountAggregateInputType | true
|
|
}
|
|
|
|
export interface GroupUserDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['GroupUser'], meta: { name: 'GroupUser' } }
|
|
/**
|
|
* Find zero or one GroupUser that matches the filter.
|
|
* @param {GroupUserFindUniqueArgs} args - Arguments to find a GroupUser
|
|
* @example
|
|
* // Get one GroupUser
|
|
* const groupUser = await prisma.groupUser.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends GroupUserFindUniqueArgs>(args: Prisma.SelectSubset<T, GroupUserFindUniqueArgs<ExtArgs>>): Prisma.Prisma__GroupUserClient<runtime.Types.Result.GetResult<Prisma.$GroupUserPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one GroupUser that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {GroupUserFindUniqueOrThrowArgs} args - Arguments to find a GroupUser
|
|
* @example
|
|
* // Get one GroupUser
|
|
* const groupUser = await prisma.groupUser.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends GroupUserFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, GroupUserFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__GroupUserClient<runtime.Types.Result.GetResult<Prisma.$GroupUserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first GroupUser 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 {GroupUserFindFirstArgs} args - Arguments to find a GroupUser
|
|
* @example
|
|
* // Get one GroupUser
|
|
* const groupUser = await prisma.groupUser.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends GroupUserFindFirstArgs>(args?: Prisma.SelectSubset<T, GroupUserFindFirstArgs<ExtArgs>>): Prisma.Prisma__GroupUserClient<runtime.Types.Result.GetResult<Prisma.$GroupUserPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first GroupUser 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 {GroupUserFindFirstOrThrowArgs} args - Arguments to find a GroupUser
|
|
* @example
|
|
* // Get one GroupUser
|
|
* const groupUser = await prisma.groupUser.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends GroupUserFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, GroupUserFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__GroupUserClient<runtime.Types.Result.GetResult<Prisma.$GroupUserPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more GroupUsers 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 {GroupUserFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all GroupUsers
|
|
* const groupUsers = await prisma.groupUser.findMany()
|
|
*
|
|
* // Get first 10 GroupUsers
|
|
* const groupUsers = await prisma.groupUser.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const groupUserWithIdOnly = await prisma.groupUser.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends GroupUserFindManyArgs>(args?: Prisma.SelectSubset<T, GroupUserFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GroupUserPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a GroupUser.
|
|
* @param {GroupUserCreateArgs} args - Arguments to create a GroupUser.
|
|
* @example
|
|
* // Create one GroupUser
|
|
* const GroupUser = await prisma.groupUser.create({
|
|
* data: {
|
|
* // ... data to create a GroupUser
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends GroupUserCreateArgs>(args: Prisma.SelectSubset<T, GroupUserCreateArgs<ExtArgs>>): Prisma.Prisma__GroupUserClient<runtime.Types.Result.GetResult<Prisma.$GroupUserPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many GroupUsers.
|
|
* @param {GroupUserCreateManyArgs} args - Arguments to create many GroupUsers.
|
|
* @example
|
|
* // Create many GroupUsers
|
|
* const groupUser = await prisma.groupUser.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends GroupUserCreateManyArgs>(args?: Prisma.SelectSubset<T, GroupUserCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many GroupUsers and returns the data saved in the database.
|
|
* @param {GroupUserCreateManyAndReturnArgs} args - Arguments to create many GroupUsers.
|
|
* @example
|
|
* // Create many GroupUsers
|
|
* const groupUser = await prisma.groupUser.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many GroupUsers and only return the `id`
|
|
* const groupUserWithIdOnly = await prisma.groupUser.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<T extends GroupUserCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, GroupUserCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GroupUserPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a GroupUser.
|
|
* @param {GroupUserDeleteArgs} args - Arguments to delete one GroupUser.
|
|
* @example
|
|
* // Delete one GroupUser
|
|
* const GroupUser = await prisma.groupUser.delete({
|
|
* where: {
|
|
* // ... filter to delete one GroupUser
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends GroupUserDeleteArgs>(args: Prisma.SelectSubset<T, GroupUserDeleteArgs<ExtArgs>>): Prisma.Prisma__GroupUserClient<runtime.Types.Result.GetResult<Prisma.$GroupUserPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one GroupUser.
|
|
* @param {GroupUserUpdateArgs} args - Arguments to update one GroupUser.
|
|
* @example
|
|
* // Update one GroupUser
|
|
* const groupUser = await prisma.groupUser.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends GroupUserUpdateArgs>(args: Prisma.SelectSubset<T, GroupUserUpdateArgs<ExtArgs>>): Prisma.Prisma__GroupUserClient<runtime.Types.Result.GetResult<Prisma.$GroupUserPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more GroupUsers.
|
|
* @param {GroupUserDeleteManyArgs} args - Arguments to filter GroupUsers to delete.
|
|
* @example
|
|
* // Delete a few GroupUsers
|
|
* const { count } = await prisma.groupUser.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends GroupUserDeleteManyArgs>(args?: Prisma.SelectSubset<T, GroupUserDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more GroupUsers.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {GroupUserUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many GroupUsers
|
|
* const groupUser = await prisma.groupUser.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends GroupUserUpdateManyArgs>(args: Prisma.SelectSubset<T, GroupUserUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more GroupUsers and returns the data updated in the database.
|
|
* @param {GroupUserUpdateManyAndReturnArgs} args - Arguments to update many GroupUsers.
|
|
* @example
|
|
* // Update many GroupUsers
|
|
* const groupUser = await prisma.groupUser.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more GroupUsers and only return the `id`
|
|
* const groupUserWithIdOnly = await prisma.groupUser.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<T extends GroupUserUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, GroupUserUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GroupUserPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one GroupUser.
|
|
* @param {GroupUserUpsertArgs} args - Arguments to update or create a GroupUser.
|
|
* @example
|
|
* // Update or create a GroupUser
|
|
* const groupUser = await prisma.groupUser.upsert({
|
|
* create: {
|
|
* // ... data to create a GroupUser
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the GroupUser we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends GroupUserUpsertArgs>(args: Prisma.SelectSubset<T, GroupUserUpsertArgs<ExtArgs>>): Prisma.Prisma__GroupUserClient<runtime.Types.Result.GetResult<Prisma.$GroupUserPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of GroupUsers.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {GroupUserCountArgs} args - Arguments to filter GroupUsers to count.
|
|
* @example
|
|
* // Count the number of GroupUsers
|
|
* const count = await prisma.groupUser.count({
|
|
* where: {
|
|
* // ... the filter for the GroupUsers we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends GroupUserCountArgs>(
|
|
args?: Prisma.Subset<T, GroupUserCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], GroupUserCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a GroupUser.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {GroupUserAggregateArgs} 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<T extends GroupUserAggregateArgs>(args: Prisma.Subset<T, GroupUserAggregateArgs>): Prisma.PrismaPromise<GetGroupUserAggregateType<T>>
|
|
|
|
/**
|
|
* Group by GroupUser.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {GroupUserGroupByArgs} 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 GroupUserGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: GroupUserGroupByArgs['orderBy'] }
|
|
: { orderBy?: GroupUserGroupByArgs['orderBy'] },
|
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
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<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? 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<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? 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<T, GroupUserGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetGroupUserGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the GroupUser model
|
|
*/
|
|
readonly fields: GroupUserFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for GroupUser.
|
|
* 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__GroupUserClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
group<T extends Prisma.GroupDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.GroupDefaultArgs<ExtArgs>>): Prisma.Prisma__GroupClient<runtime.Types.Result.GetResult<Prisma.$GroupPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* 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<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the GroupUser model
|
|
*/
|
|
export interface GroupUserFieldRefs {
|
|
readonly id: Prisma.FieldRef<"GroupUser", 'String'>
|
|
readonly groupId: Prisma.FieldRef<"GroupUser", 'String'>
|
|
readonly userId: Prisma.FieldRef<"GroupUser", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* GroupUser findUnique
|
|
*/
|
|
export type GroupUserFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the GroupUser
|
|
*/
|
|
select?: Prisma.GroupUserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the GroupUser
|
|
*/
|
|
omit?: Prisma.GroupUserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.GroupUserInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which GroupUser to fetch.
|
|
*/
|
|
where: Prisma.GroupUserWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* GroupUser findUniqueOrThrow
|
|
*/
|
|
export type GroupUserFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the GroupUser
|
|
*/
|
|
select?: Prisma.GroupUserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the GroupUser
|
|
*/
|
|
omit?: Prisma.GroupUserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.GroupUserInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which GroupUser to fetch.
|
|
*/
|
|
where: Prisma.GroupUserWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* GroupUser findFirst
|
|
*/
|
|
export type GroupUserFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the GroupUser
|
|
*/
|
|
select?: Prisma.GroupUserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the GroupUser
|
|
*/
|
|
omit?: Prisma.GroupUserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.GroupUserInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which GroupUser to fetch.
|
|
*/
|
|
where?: Prisma.GroupUserWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of GroupUsers to fetch.
|
|
*/
|
|
orderBy?: Prisma.GroupUserOrderByWithRelationInput | Prisma.GroupUserOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for GroupUsers.
|
|
*/
|
|
cursor?: Prisma.GroupUserWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` GroupUsers 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` GroupUsers.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of GroupUsers.
|
|
*/
|
|
distinct?: Prisma.GroupUserScalarFieldEnum | Prisma.GroupUserScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* GroupUser findFirstOrThrow
|
|
*/
|
|
export type GroupUserFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the GroupUser
|
|
*/
|
|
select?: Prisma.GroupUserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the GroupUser
|
|
*/
|
|
omit?: Prisma.GroupUserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.GroupUserInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which GroupUser to fetch.
|
|
*/
|
|
where?: Prisma.GroupUserWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of GroupUsers to fetch.
|
|
*/
|
|
orderBy?: Prisma.GroupUserOrderByWithRelationInput | Prisma.GroupUserOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for GroupUsers.
|
|
*/
|
|
cursor?: Prisma.GroupUserWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` GroupUsers 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` GroupUsers.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of GroupUsers.
|
|
*/
|
|
distinct?: Prisma.GroupUserScalarFieldEnum | Prisma.GroupUserScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* GroupUser findMany
|
|
*/
|
|
export type GroupUserFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the GroupUser
|
|
*/
|
|
select?: Prisma.GroupUserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the GroupUser
|
|
*/
|
|
omit?: Prisma.GroupUserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.GroupUserInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which GroupUsers to fetch.
|
|
*/
|
|
where?: Prisma.GroupUserWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of GroupUsers to fetch.
|
|
*/
|
|
orderBy?: Prisma.GroupUserOrderByWithRelationInput | Prisma.GroupUserOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing GroupUsers.
|
|
*/
|
|
cursor?: Prisma.GroupUserWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` GroupUsers 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` GroupUsers.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of GroupUsers.
|
|
*/
|
|
distinct?: Prisma.GroupUserScalarFieldEnum | Prisma.GroupUserScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* GroupUser create
|
|
*/
|
|
export type GroupUserCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the GroupUser
|
|
*/
|
|
select?: Prisma.GroupUserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the GroupUser
|
|
*/
|
|
omit?: Prisma.GroupUserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.GroupUserInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a GroupUser.
|
|
*/
|
|
data: Prisma.XOR<Prisma.GroupUserCreateInput, Prisma.GroupUserUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* GroupUser createMany
|
|
*/
|
|
export type GroupUserCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many GroupUsers.
|
|
*/
|
|
data: Prisma.GroupUserCreateManyInput | Prisma.GroupUserCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* GroupUser createManyAndReturn
|
|
*/
|
|
export type GroupUserCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the GroupUser
|
|
*/
|
|
select?: Prisma.GroupUserSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the GroupUser
|
|
*/
|
|
omit?: Prisma.GroupUserOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many GroupUsers.
|
|
*/
|
|
data: Prisma.GroupUserCreateManyInput | Prisma.GroupUserCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.GroupUserIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* GroupUser update
|
|
*/
|
|
export type GroupUserUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the GroupUser
|
|
*/
|
|
select?: Prisma.GroupUserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the GroupUser
|
|
*/
|
|
omit?: Prisma.GroupUserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.GroupUserInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a GroupUser.
|
|
*/
|
|
data: Prisma.XOR<Prisma.GroupUserUpdateInput, Prisma.GroupUserUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which GroupUser to update.
|
|
*/
|
|
where: Prisma.GroupUserWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* GroupUser updateMany
|
|
*/
|
|
export type GroupUserUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update GroupUsers.
|
|
*/
|
|
data: Prisma.XOR<Prisma.GroupUserUpdateManyMutationInput, Prisma.GroupUserUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which GroupUsers to update
|
|
*/
|
|
where?: Prisma.GroupUserWhereInput
|
|
/**
|
|
* Limit how many GroupUsers to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* GroupUser updateManyAndReturn
|
|
*/
|
|
export type GroupUserUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the GroupUser
|
|
*/
|
|
select?: Prisma.GroupUserSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the GroupUser
|
|
*/
|
|
omit?: Prisma.GroupUserOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update GroupUsers.
|
|
*/
|
|
data: Prisma.XOR<Prisma.GroupUserUpdateManyMutationInput, Prisma.GroupUserUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which GroupUsers to update
|
|
*/
|
|
where?: Prisma.GroupUserWhereInput
|
|
/**
|
|
* Limit how many GroupUsers to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.GroupUserIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* GroupUser upsert
|
|
*/
|
|
export type GroupUserUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the GroupUser
|
|
*/
|
|
select?: Prisma.GroupUserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the GroupUser
|
|
*/
|
|
omit?: Prisma.GroupUserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.GroupUserInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the GroupUser to update in case it exists.
|
|
*/
|
|
where: Prisma.GroupUserWhereUniqueInput
|
|
/**
|
|
* In case the GroupUser found by the `where` argument doesn't exist, create a new GroupUser with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.GroupUserCreateInput, Prisma.GroupUserUncheckedCreateInput>
|
|
/**
|
|
* In case the GroupUser was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.GroupUserUpdateInput, Prisma.GroupUserUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* GroupUser delete
|
|
*/
|
|
export type GroupUserDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the GroupUser
|
|
*/
|
|
select?: Prisma.GroupUserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the GroupUser
|
|
*/
|
|
omit?: Prisma.GroupUserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.GroupUserInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which GroupUser to delete.
|
|
*/
|
|
where: Prisma.GroupUserWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* GroupUser deleteMany
|
|
*/
|
|
export type GroupUserDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which GroupUsers to delete
|
|
*/
|
|
where?: Prisma.GroupUserWhereInput
|
|
/**
|
|
* Limit how many GroupUsers to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* GroupUser without action
|
|
*/
|
|
export type GroupUserDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the GroupUser
|
|
*/
|
|
select?: Prisma.GroupUserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the GroupUser
|
|
*/
|
|
omit?: Prisma.GroupUserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.GroupUserInclude<ExtArgs> | null
|
|
}
|