1184 lines
44 KiB
TypeScript
1184 lines
44 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 `DiscordUserProfile` 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 DiscordUserProfile
|
|
*
|
|
*/
|
|
export type DiscordUserProfileModel = runtime.Types.Result.DefaultSelection<Prisma.$DiscordUserProfilePayload>
|
|
|
|
export type AggregateDiscordUserProfile = {
|
|
_count: DiscordUserProfileCountAggregateOutputType | null
|
|
_min: DiscordUserProfileMinAggregateOutputType | null
|
|
_max: DiscordUserProfileMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type DiscordUserProfileMinAggregateOutputType = {
|
|
id: string | null
|
|
userId: string | null
|
|
voice: $Enums.Voice | null
|
|
nya: boolean | null
|
|
canTypecast: boolean | null
|
|
userSupertonicStyle: string | null
|
|
}
|
|
|
|
export type DiscordUserProfileMaxAggregateOutputType = {
|
|
id: string | null
|
|
userId: string | null
|
|
voice: $Enums.Voice | null
|
|
nya: boolean | null
|
|
canTypecast: boolean | null
|
|
userSupertonicStyle: string | null
|
|
}
|
|
|
|
export type DiscordUserProfileCountAggregateOutputType = {
|
|
id: number
|
|
userId: number
|
|
voice: number
|
|
nya: number
|
|
canTypecast: number
|
|
userSupertonicStyle: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type DiscordUserProfileMinAggregateInputType = {
|
|
id?: true
|
|
userId?: true
|
|
voice?: true
|
|
nya?: true
|
|
canTypecast?: true
|
|
userSupertonicStyle?: true
|
|
}
|
|
|
|
export type DiscordUserProfileMaxAggregateInputType = {
|
|
id?: true
|
|
userId?: true
|
|
voice?: true
|
|
nya?: true
|
|
canTypecast?: true
|
|
userSupertonicStyle?: true
|
|
}
|
|
|
|
export type DiscordUserProfileCountAggregateInputType = {
|
|
id?: true
|
|
userId?: true
|
|
voice?: true
|
|
nya?: true
|
|
canTypecast?: true
|
|
userSupertonicStyle?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type DiscordUserProfileAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which DiscordUserProfile to aggregate.
|
|
*/
|
|
where?: Prisma.DiscordUserProfileWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of DiscordUserProfiles to fetch.
|
|
*/
|
|
orderBy?: Prisma.DiscordUserProfileOrderByWithRelationInput | Prisma.DiscordUserProfileOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.DiscordUserProfileWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` DiscordUserProfiles 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` DiscordUserProfiles.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned DiscordUserProfiles
|
|
**/
|
|
_count?: true | DiscordUserProfileCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: DiscordUserProfileMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: DiscordUserProfileMaxAggregateInputType
|
|
}
|
|
|
|
export type GetDiscordUserProfileAggregateType<T extends DiscordUserProfileAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateDiscordUserProfile]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateDiscordUserProfile[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateDiscordUserProfile[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type DiscordUserProfileGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.DiscordUserProfileWhereInput
|
|
orderBy?: Prisma.DiscordUserProfileOrderByWithAggregationInput | Prisma.DiscordUserProfileOrderByWithAggregationInput[]
|
|
by: Prisma.DiscordUserProfileScalarFieldEnum[] | Prisma.DiscordUserProfileScalarFieldEnum
|
|
having?: Prisma.DiscordUserProfileScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: DiscordUserProfileCountAggregateInputType | true
|
|
_min?: DiscordUserProfileMinAggregateInputType
|
|
_max?: DiscordUserProfileMaxAggregateInputType
|
|
}
|
|
|
|
export type DiscordUserProfileGroupByOutputType = {
|
|
id: string
|
|
userId: string
|
|
voice: $Enums.Voice
|
|
nya: boolean
|
|
canTypecast: boolean
|
|
userSupertonicStyle: string
|
|
_count: DiscordUserProfileCountAggregateOutputType | null
|
|
_min: DiscordUserProfileMinAggregateOutputType | null
|
|
_max: DiscordUserProfileMaxAggregateOutputType | null
|
|
}
|
|
|
|
type GetDiscordUserProfileGroupByPayload<T extends DiscordUserProfileGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<DiscordUserProfileGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof DiscordUserProfileGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], DiscordUserProfileGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], DiscordUserProfileGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type DiscordUserProfileWhereInput = {
|
|
AND?: Prisma.DiscordUserProfileWhereInput | Prisma.DiscordUserProfileWhereInput[]
|
|
OR?: Prisma.DiscordUserProfileWhereInput[]
|
|
NOT?: Prisma.DiscordUserProfileWhereInput | Prisma.DiscordUserProfileWhereInput[]
|
|
id?: Prisma.StringFilter<"DiscordUserProfile"> | string
|
|
userId?: Prisma.StringFilter<"DiscordUserProfile"> | string
|
|
voice?: Prisma.EnumVoiceFilter<"DiscordUserProfile"> | $Enums.Voice
|
|
nya?: Prisma.BoolFilter<"DiscordUserProfile"> | boolean
|
|
canTypecast?: Prisma.BoolFilter<"DiscordUserProfile"> | boolean
|
|
userSupertonicStyle?: Prisma.StringFilter<"DiscordUserProfile"> | string
|
|
}
|
|
|
|
export type DiscordUserProfileOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
voice?: Prisma.SortOrder
|
|
nya?: Prisma.SortOrder
|
|
canTypecast?: Prisma.SortOrder
|
|
userSupertonicStyle?: Prisma.SortOrder
|
|
}
|
|
|
|
export type DiscordUserProfileWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
userId?: string
|
|
AND?: Prisma.DiscordUserProfileWhereInput | Prisma.DiscordUserProfileWhereInput[]
|
|
OR?: Prisma.DiscordUserProfileWhereInput[]
|
|
NOT?: Prisma.DiscordUserProfileWhereInput | Prisma.DiscordUserProfileWhereInput[]
|
|
voice?: Prisma.EnumVoiceFilter<"DiscordUserProfile"> | $Enums.Voice
|
|
nya?: Prisma.BoolFilter<"DiscordUserProfile"> | boolean
|
|
canTypecast?: Prisma.BoolFilter<"DiscordUserProfile"> | boolean
|
|
userSupertonicStyle?: Prisma.StringFilter<"DiscordUserProfile"> | string
|
|
}, "id" | "userId">
|
|
|
|
export type DiscordUserProfileOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
voice?: Prisma.SortOrder
|
|
nya?: Prisma.SortOrder
|
|
canTypecast?: Prisma.SortOrder
|
|
userSupertonicStyle?: Prisma.SortOrder
|
|
_count?: Prisma.DiscordUserProfileCountOrderByAggregateInput
|
|
_max?: Prisma.DiscordUserProfileMaxOrderByAggregateInput
|
|
_min?: Prisma.DiscordUserProfileMinOrderByAggregateInput
|
|
}
|
|
|
|
export type DiscordUserProfileScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.DiscordUserProfileScalarWhereWithAggregatesInput | Prisma.DiscordUserProfileScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.DiscordUserProfileScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.DiscordUserProfileScalarWhereWithAggregatesInput | Prisma.DiscordUserProfileScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"DiscordUserProfile"> | string
|
|
userId?: Prisma.StringWithAggregatesFilter<"DiscordUserProfile"> | string
|
|
voice?: Prisma.EnumVoiceWithAggregatesFilter<"DiscordUserProfile"> | $Enums.Voice
|
|
nya?: Prisma.BoolWithAggregatesFilter<"DiscordUserProfile"> | boolean
|
|
canTypecast?: Prisma.BoolWithAggregatesFilter<"DiscordUserProfile"> | boolean
|
|
userSupertonicStyle?: Prisma.StringWithAggregatesFilter<"DiscordUserProfile"> | string
|
|
}
|
|
|
|
export type DiscordUserProfileCreateInput = {
|
|
id?: string
|
|
userId: string
|
|
voice?: $Enums.Voice
|
|
nya?: boolean
|
|
canTypecast?: boolean
|
|
userSupertonicStyle?: string
|
|
}
|
|
|
|
export type DiscordUserProfileUncheckedCreateInput = {
|
|
id?: string
|
|
userId: string
|
|
voice?: $Enums.Voice
|
|
nya?: boolean
|
|
canTypecast?: boolean
|
|
userSupertonicStyle?: string
|
|
}
|
|
|
|
export type DiscordUserProfileUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
voice?: Prisma.EnumVoiceFieldUpdateOperationsInput | $Enums.Voice
|
|
nya?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
canTypecast?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
userSupertonicStyle?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type DiscordUserProfileUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
voice?: Prisma.EnumVoiceFieldUpdateOperationsInput | $Enums.Voice
|
|
nya?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
canTypecast?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
userSupertonicStyle?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type DiscordUserProfileCreateManyInput = {
|
|
id?: string
|
|
userId: string
|
|
voice?: $Enums.Voice
|
|
nya?: boolean
|
|
canTypecast?: boolean
|
|
userSupertonicStyle?: string
|
|
}
|
|
|
|
export type DiscordUserProfileUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
voice?: Prisma.EnumVoiceFieldUpdateOperationsInput | $Enums.Voice
|
|
nya?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
canTypecast?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
userSupertonicStyle?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type DiscordUserProfileUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
voice?: Prisma.EnumVoiceFieldUpdateOperationsInput | $Enums.Voice
|
|
nya?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
canTypecast?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
userSupertonicStyle?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type DiscordUserProfileCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
voice?: Prisma.SortOrder
|
|
nya?: Prisma.SortOrder
|
|
canTypecast?: Prisma.SortOrder
|
|
userSupertonicStyle?: Prisma.SortOrder
|
|
}
|
|
|
|
export type DiscordUserProfileMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
voice?: Prisma.SortOrder
|
|
nya?: Prisma.SortOrder
|
|
canTypecast?: Prisma.SortOrder
|
|
userSupertonicStyle?: Prisma.SortOrder
|
|
}
|
|
|
|
export type DiscordUserProfileMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
voice?: Prisma.SortOrder
|
|
nya?: Prisma.SortOrder
|
|
canTypecast?: Prisma.SortOrder
|
|
userSupertonicStyle?: Prisma.SortOrder
|
|
}
|
|
|
|
export type StringFieldUpdateOperationsInput = {
|
|
set?: string
|
|
}
|
|
|
|
export type EnumVoiceFieldUpdateOperationsInput = {
|
|
set?: $Enums.Voice
|
|
}
|
|
|
|
export type BoolFieldUpdateOperationsInput = {
|
|
set?: boolean
|
|
}
|
|
|
|
|
|
|
|
export type DiscordUserProfileSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
userId?: boolean
|
|
voice?: boolean
|
|
nya?: boolean
|
|
canTypecast?: boolean
|
|
userSupertonicStyle?: boolean
|
|
}, ExtArgs["result"]["discordUserProfile"]>
|
|
|
|
export type DiscordUserProfileSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
userId?: boolean
|
|
voice?: boolean
|
|
nya?: boolean
|
|
canTypecast?: boolean
|
|
userSupertonicStyle?: boolean
|
|
}, ExtArgs["result"]["discordUserProfile"]>
|
|
|
|
export type DiscordUserProfileSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
userId?: boolean
|
|
voice?: boolean
|
|
nya?: boolean
|
|
canTypecast?: boolean
|
|
userSupertonicStyle?: boolean
|
|
}, ExtArgs["result"]["discordUserProfile"]>
|
|
|
|
export type DiscordUserProfileSelectScalar = {
|
|
id?: boolean
|
|
userId?: boolean
|
|
voice?: boolean
|
|
nya?: boolean
|
|
canTypecast?: boolean
|
|
userSupertonicStyle?: boolean
|
|
}
|
|
|
|
export type DiscordUserProfileOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "userId" | "voice" | "nya" | "canTypecast" | "userSupertonicStyle", ExtArgs["result"]["discordUserProfile"]>
|
|
|
|
export type $DiscordUserProfilePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "DiscordUserProfile"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
userId: string
|
|
voice: $Enums.Voice
|
|
nya: boolean
|
|
canTypecast: boolean
|
|
userSupertonicStyle: string
|
|
}, ExtArgs["result"]["discordUserProfile"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type DiscordUserProfileGetPayload<S extends boolean | null | undefined | DiscordUserProfileDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DiscordUserProfilePayload, S>
|
|
|
|
export type DiscordUserProfileCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<DiscordUserProfileFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: DiscordUserProfileCountAggregateInputType | true
|
|
}
|
|
|
|
export interface DiscordUserProfileDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DiscordUserProfile'], meta: { name: 'DiscordUserProfile' } }
|
|
/**
|
|
* Find zero or one DiscordUserProfile that matches the filter.
|
|
* @param {DiscordUserProfileFindUniqueArgs} args - Arguments to find a DiscordUserProfile
|
|
* @example
|
|
* // Get one DiscordUserProfile
|
|
* const discordUserProfile = await prisma.discordUserProfile.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends DiscordUserProfileFindUniqueArgs>(args: Prisma.SelectSubset<T, DiscordUserProfileFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DiscordUserProfileClient<runtime.Types.Result.GetResult<Prisma.$DiscordUserProfilePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one DiscordUserProfile that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {DiscordUserProfileFindUniqueOrThrowArgs} args - Arguments to find a DiscordUserProfile
|
|
* @example
|
|
* // Get one DiscordUserProfile
|
|
* const discordUserProfile = await prisma.discordUserProfile.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends DiscordUserProfileFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DiscordUserProfileFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DiscordUserProfileClient<runtime.Types.Result.GetResult<Prisma.$DiscordUserProfilePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first DiscordUserProfile 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 {DiscordUserProfileFindFirstArgs} args - Arguments to find a DiscordUserProfile
|
|
* @example
|
|
* // Get one DiscordUserProfile
|
|
* const discordUserProfile = await prisma.discordUserProfile.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends DiscordUserProfileFindFirstArgs>(args?: Prisma.SelectSubset<T, DiscordUserProfileFindFirstArgs<ExtArgs>>): Prisma.Prisma__DiscordUserProfileClient<runtime.Types.Result.GetResult<Prisma.$DiscordUserProfilePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first DiscordUserProfile 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 {DiscordUserProfileFindFirstOrThrowArgs} args - Arguments to find a DiscordUserProfile
|
|
* @example
|
|
* // Get one DiscordUserProfile
|
|
* const discordUserProfile = await prisma.discordUserProfile.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends DiscordUserProfileFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DiscordUserProfileFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DiscordUserProfileClient<runtime.Types.Result.GetResult<Prisma.$DiscordUserProfilePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more DiscordUserProfiles 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 {DiscordUserProfileFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all DiscordUserProfiles
|
|
* const discordUserProfiles = await prisma.discordUserProfile.findMany()
|
|
*
|
|
* // Get first 10 DiscordUserProfiles
|
|
* const discordUserProfiles = await prisma.discordUserProfile.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const discordUserProfileWithIdOnly = await prisma.discordUserProfile.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends DiscordUserProfileFindManyArgs>(args?: Prisma.SelectSubset<T, DiscordUserProfileFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DiscordUserProfilePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a DiscordUserProfile.
|
|
* @param {DiscordUserProfileCreateArgs} args - Arguments to create a DiscordUserProfile.
|
|
* @example
|
|
* // Create one DiscordUserProfile
|
|
* const DiscordUserProfile = await prisma.discordUserProfile.create({
|
|
* data: {
|
|
* // ... data to create a DiscordUserProfile
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends DiscordUserProfileCreateArgs>(args: Prisma.SelectSubset<T, DiscordUserProfileCreateArgs<ExtArgs>>): Prisma.Prisma__DiscordUserProfileClient<runtime.Types.Result.GetResult<Prisma.$DiscordUserProfilePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many DiscordUserProfiles.
|
|
* @param {DiscordUserProfileCreateManyArgs} args - Arguments to create many DiscordUserProfiles.
|
|
* @example
|
|
* // Create many DiscordUserProfiles
|
|
* const discordUserProfile = await prisma.discordUserProfile.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends DiscordUserProfileCreateManyArgs>(args?: Prisma.SelectSubset<T, DiscordUserProfileCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many DiscordUserProfiles and returns the data saved in the database.
|
|
* @param {DiscordUserProfileCreateManyAndReturnArgs} args - Arguments to create many DiscordUserProfiles.
|
|
* @example
|
|
* // Create many DiscordUserProfiles
|
|
* const discordUserProfile = await prisma.discordUserProfile.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many DiscordUserProfiles and only return the `id`
|
|
* const discordUserProfileWithIdOnly = await prisma.discordUserProfile.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 DiscordUserProfileCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DiscordUserProfileCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DiscordUserProfilePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a DiscordUserProfile.
|
|
* @param {DiscordUserProfileDeleteArgs} args - Arguments to delete one DiscordUserProfile.
|
|
* @example
|
|
* // Delete one DiscordUserProfile
|
|
* const DiscordUserProfile = await prisma.discordUserProfile.delete({
|
|
* where: {
|
|
* // ... filter to delete one DiscordUserProfile
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends DiscordUserProfileDeleteArgs>(args: Prisma.SelectSubset<T, DiscordUserProfileDeleteArgs<ExtArgs>>): Prisma.Prisma__DiscordUserProfileClient<runtime.Types.Result.GetResult<Prisma.$DiscordUserProfilePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one DiscordUserProfile.
|
|
* @param {DiscordUserProfileUpdateArgs} args - Arguments to update one DiscordUserProfile.
|
|
* @example
|
|
* // Update one DiscordUserProfile
|
|
* const discordUserProfile = await prisma.discordUserProfile.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends DiscordUserProfileUpdateArgs>(args: Prisma.SelectSubset<T, DiscordUserProfileUpdateArgs<ExtArgs>>): Prisma.Prisma__DiscordUserProfileClient<runtime.Types.Result.GetResult<Prisma.$DiscordUserProfilePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more DiscordUserProfiles.
|
|
* @param {DiscordUserProfileDeleteManyArgs} args - Arguments to filter DiscordUserProfiles to delete.
|
|
* @example
|
|
* // Delete a few DiscordUserProfiles
|
|
* const { count } = await prisma.discordUserProfile.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends DiscordUserProfileDeleteManyArgs>(args?: Prisma.SelectSubset<T, DiscordUserProfileDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more DiscordUserProfiles.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {DiscordUserProfileUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many DiscordUserProfiles
|
|
* const discordUserProfile = await prisma.discordUserProfile.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends DiscordUserProfileUpdateManyArgs>(args: Prisma.SelectSubset<T, DiscordUserProfileUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more DiscordUserProfiles and returns the data updated in the database.
|
|
* @param {DiscordUserProfileUpdateManyAndReturnArgs} args - Arguments to update many DiscordUserProfiles.
|
|
* @example
|
|
* // Update many DiscordUserProfiles
|
|
* const discordUserProfile = await prisma.discordUserProfile.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more DiscordUserProfiles and only return the `id`
|
|
* const discordUserProfileWithIdOnly = await prisma.discordUserProfile.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 DiscordUserProfileUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DiscordUserProfileUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DiscordUserProfilePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one DiscordUserProfile.
|
|
* @param {DiscordUserProfileUpsertArgs} args - Arguments to update or create a DiscordUserProfile.
|
|
* @example
|
|
* // Update or create a DiscordUserProfile
|
|
* const discordUserProfile = await prisma.discordUserProfile.upsert({
|
|
* create: {
|
|
* // ... data to create a DiscordUserProfile
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the DiscordUserProfile we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends DiscordUserProfileUpsertArgs>(args: Prisma.SelectSubset<T, DiscordUserProfileUpsertArgs<ExtArgs>>): Prisma.Prisma__DiscordUserProfileClient<runtime.Types.Result.GetResult<Prisma.$DiscordUserProfilePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of DiscordUserProfiles.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {DiscordUserProfileCountArgs} args - Arguments to filter DiscordUserProfiles to count.
|
|
* @example
|
|
* // Count the number of DiscordUserProfiles
|
|
* const count = await prisma.discordUserProfile.count({
|
|
* where: {
|
|
* // ... the filter for the DiscordUserProfiles we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends DiscordUserProfileCountArgs>(
|
|
args?: Prisma.Subset<T, DiscordUserProfileCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], DiscordUserProfileCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a DiscordUserProfile.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {DiscordUserProfileAggregateArgs} 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 DiscordUserProfileAggregateArgs>(args: Prisma.Subset<T, DiscordUserProfileAggregateArgs>): Prisma.PrismaPromise<GetDiscordUserProfileAggregateType<T>>
|
|
|
|
/**
|
|
* Group by DiscordUserProfile.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {DiscordUserProfileGroupByArgs} 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 DiscordUserProfileGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: DiscordUserProfileGroupByArgs['orderBy'] }
|
|
: { orderBy?: DiscordUserProfileGroupByArgs['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, DiscordUserProfileGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDiscordUserProfileGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the DiscordUserProfile model
|
|
*/
|
|
readonly fields: DiscordUserProfileFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for DiscordUserProfile.
|
|
* 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__DiscordUserProfileClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
/**
|
|
* 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 DiscordUserProfile model
|
|
*/
|
|
export interface DiscordUserProfileFieldRefs {
|
|
readonly id: Prisma.FieldRef<"DiscordUserProfile", 'String'>
|
|
readonly userId: Prisma.FieldRef<"DiscordUserProfile", 'String'>
|
|
readonly voice: Prisma.FieldRef<"DiscordUserProfile", 'Voice'>
|
|
readonly nya: Prisma.FieldRef<"DiscordUserProfile", 'Boolean'>
|
|
readonly canTypecast: Prisma.FieldRef<"DiscordUserProfile", 'Boolean'>
|
|
readonly userSupertonicStyle: Prisma.FieldRef<"DiscordUserProfile", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* DiscordUserProfile findUnique
|
|
*/
|
|
export type DiscordUserProfileFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DiscordUserProfile
|
|
*/
|
|
select?: Prisma.DiscordUserProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DiscordUserProfile
|
|
*/
|
|
omit?: Prisma.DiscordUserProfileOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which DiscordUserProfile to fetch.
|
|
*/
|
|
where: Prisma.DiscordUserProfileWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* DiscordUserProfile findUniqueOrThrow
|
|
*/
|
|
export type DiscordUserProfileFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DiscordUserProfile
|
|
*/
|
|
select?: Prisma.DiscordUserProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DiscordUserProfile
|
|
*/
|
|
omit?: Prisma.DiscordUserProfileOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which DiscordUserProfile to fetch.
|
|
*/
|
|
where: Prisma.DiscordUserProfileWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* DiscordUserProfile findFirst
|
|
*/
|
|
export type DiscordUserProfileFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DiscordUserProfile
|
|
*/
|
|
select?: Prisma.DiscordUserProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DiscordUserProfile
|
|
*/
|
|
omit?: Prisma.DiscordUserProfileOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which DiscordUserProfile to fetch.
|
|
*/
|
|
where?: Prisma.DiscordUserProfileWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of DiscordUserProfiles to fetch.
|
|
*/
|
|
orderBy?: Prisma.DiscordUserProfileOrderByWithRelationInput | Prisma.DiscordUserProfileOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for DiscordUserProfiles.
|
|
*/
|
|
cursor?: Prisma.DiscordUserProfileWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` DiscordUserProfiles 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` DiscordUserProfiles.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of DiscordUserProfiles.
|
|
*/
|
|
distinct?: Prisma.DiscordUserProfileScalarFieldEnum | Prisma.DiscordUserProfileScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* DiscordUserProfile findFirstOrThrow
|
|
*/
|
|
export type DiscordUserProfileFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DiscordUserProfile
|
|
*/
|
|
select?: Prisma.DiscordUserProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DiscordUserProfile
|
|
*/
|
|
omit?: Prisma.DiscordUserProfileOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which DiscordUserProfile to fetch.
|
|
*/
|
|
where?: Prisma.DiscordUserProfileWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of DiscordUserProfiles to fetch.
|
|
*/
|
|
orderBy?: Prisma.DiscordUserProfileOrderByWithRelationInput | Prisma.DiscordUserProfileOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for DiscordUserProfiles.
|
|
*/
|
|
cursor?: Prisma.DiscordUserProfileWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` DiscordUserProfiles 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` DiscordUserProfiles.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of DiscordUserProfiles.
|
|
*/
|
|
distinct?: Prisma.DiscordUserProfileScalarFieldEnum | Prisma.DiscordUserProfileScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* DiscordUserProfile findMany
|
|
*/
|
|
export type DiscordUserProfileFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DiscordUserProfile
|
|
*/
|
|
select?: Prisma.DiscordUserProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DiscordUserProfile
|
|
*/
|
|
omit?: Prisma.DiscordUserProfileOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which DiscordUserProfiles to fetch.
|
|
*/
|
|
where?: Prisma.DiscordUserProfileWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of DiscordUserProfiles to fetch.
|
|
*/
|
|
orderBy?: Prisma.DiscordUserProfileOrderByWithRelationInput | Prisma.DiscordUserProfileOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing DiscordUserProfiles.
|
|
*/
|
|
cursor?: Prisma.DiscordUserProfileWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` DiscordUserProfiles 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` DiscordUserProfiles.
|
|
*/
|
|
skip?: number
|
|
distinct?: Prisma.DiscordUserProfileScalarFieldEnum | Prisma.DiscordUserProfileScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* DiscordUserProfile create
|
|
*/
|
|
export type DiscordUserProfileCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DiscordUserProfile
|
|
*/
|
|
select?: Prisma.DiscordUserProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DiscordUserProfile
|
|
*/
|
|
omit?: Prisma.DiscordUserProfileOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a DiscordUserProfile.
|
|
*/
|
|
data: Prisma.XOR<Prisma.DiscordUserProfileCreateInput, Prisma.DiscordUserProfileUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* DiscordUserProfile createMany
|
|
*/
|
|
export type DiscordUserProfileCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many DiscordUserProfiles.
|
|
*/
|
|
data: Prisma.DiscordUserProfileCreateManyInput | Prisma.DiscordUserProfileCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* DiscordUserProfile createManyAndReturn
|
|
*/
|
|
export type DiscordUserProfileCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DiscordUserProfile
|
|
*/
|
|
select?: Prisma.DiscordUserProfileSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DiscordUserProfile
|
|
*/
|
|
omit?: Prisma.DiscordUserProfileOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many DiscordUserProfiles.
|
|
*/
|
|
data: Prisma.DiscordUserProfileCreateManyInput | Prisma.DiscordUserProfileCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* DiscordUserProfile update
|
|
*/
|
|
export type DiscordUserProfileUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DiscordUserProfile
|
|
*/
|
|
select?: Prisma.DiscordUserProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DiscordUserProfile
|
|
*/
|
|
omit?: Prisma.DiscordUserProfileOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a DiscordUserProfile.
|
|
*/
|
|
data: Prisma.XOR<Prisma.DiscordUserProfileUpdateInput, Prisma.DiscordUserProfileUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which DiscordUserProfile to update.
|
|
*/
|
|
where: Prisma.DiscordUserProfileWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* DiscordUserProfile updateMany
|
|
*/
|
|
export type DiscordUserProfileUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update DiscordUserProfiles.
|
|
*/
|
|
data: Prisma.XOR<Prisma.DiscordUserProfileUpdateManyMutationInput, Prisma.DiscordUserProfileUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which DiscordUserProfiles to update
|
|
*/
|
|
where?: Prisma.DiscordUserProfileWhereInput
|
|
/**
|
|
* Limit how many DiscordUserProfiles to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* DiscordUserProfile updateManyAndReturn
|
|
*/
|
|
export type DiscordUserProfileUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DiscordUserProfile
|
|
*/
|
|
select?: Prisma.DiscordUserProfileSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DiscordUserProfile
|
|
*/
|
|
omit?: Prisma.DiscordUserProfileOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update DiscordUserProfiles.
|
|
*/
|
|
data: Prisma.XOR<Prisma.DiscordUserProfileUpdateManyMutationInput, Prisma.DiscordUserProfileUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which DiscordUserProfiles to update
|
|
*/
|
|
where?: Prisma.DiscordUserProfileWhereInput
|
|
/**
|
|
* Limit how many DiscordUserProfiles to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* DiscordUserProfile upsert
|
|
*/
|
|
export type DiscordUserProfileUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DiscordUserProfile
|
|
*/
|
|
select?: Prisma.DiscordUserProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DiscordUserProfile
|
|
*/
|
|
omit?: Prisma.DiscordUserProfileOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the DiscordUserProfile to update in case it exists.
|
|
*/
|
|
where: Prisma.DiscordUserProfileWhereUniqueInput
|
|
/**
|
|
* In case the DiscordUserProfile found by the `where` argument doesn't exist, create a new DiscordUserProfile with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.DiscordUserProfileCreateInput, Prisma.DiscordUserProfileUncheckedCreateInput>
|
|
/**
|
|
* In case the DiscordUserProfile was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.DiscordUserProfileUpdateInput, Prisma.DiscordUserProfileUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* DiscordUserProfile delete
|
|
*/
|
|
export type DiscordUserProfileDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DiscordUserProfile
|
|
*/
|
|
select?: Prisma.DiscordUserProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DiscordUserProfile
|
|
*/
|
|
omit?: Prisma.DiscordUserProfileOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which DiscordUserProfile to delete.
|
|
*/
|
|
where: Prisma.DiscordUserProfileWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* DiscordUserProfile deleteMany
|
|
*/
|
|
export type DiscordUserProfileDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which DiscordUserProfiles to delete
|
|
*/
|
|
where?: Prisma.DiscordUserProfileWhereInput
|
|
/**
|
|
* Limit how many DiscordUserProfiles to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* DiscordUserProfile without action
|
|
*/
|
|
export type DiscordUserProfileDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DiscordUserProfile
|
|
*/
|
|
select?: Prisma.DiscordUserProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DiscordUserProfile
|
|
*/
|
|
omit?: Prisma.DiscordUserProfileOmit<ExtArgs> | null
|
|
}
|