1104 lines
42 KiB
TypeScript
1104 lines
42 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 `DiscordGuildProfile` 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 DiscordGuildProfile
|
|
*
|
|
*/
|
|
export type DiscordGuildProfileModel = runtime.Types.Result.DefaultSelection<Prisma.$DiscordGuildProfilePayload>
|
|
|
|
export type AggregateDiscordGuildProfile = {
|
|
_count: DiscordGuildProfileCountAggregateOutputType | null
|
|
_min: DiscordGuildProfileMinAggregateOutputType | null
|
|
_max: DiscordGuildProfileMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type DiscordGuildProfileMinAggregateOutputType = {
|
|
id: string | null
|
|
guildId: string | null
|
|
}
|
|
|
|
export type DiscordGuildProfileMaxAggregateOutputType = {
|
|
id: string | null
|
|
guildId: string | null
|
|
}
|
|
|
|
export type DiscordGuildProfileCountAggregateOutputType = {
|
|
id: number
|
|
guildId: number
|
|
readChannel: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type DiscordGuildProfileMinAggregateInputType = {
|
|
id?: true
|
|
guildId?: true
|
|
}
|
|
|
|
export type DiscordGuildProfileMaxAggregateInputType = {
|
|
id?: true
|
|
guildId?: true
|
|
}
|
|
|
|
export type DiscordGuildProfileCountAggregateInputType = {
|
|
id?: true
|
|
guildId?: true
|
|
readChannel?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type DiscordGuildProfileAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which DiscordGuildProfile to aggregate.
|
|
*/
|
|
where?: Prisma.DiscordGuildProfileWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of DiscordGuildProfiles to fetch.
|
|
*/
|
|
orderBy?: Prisma.DiscordGuildProfileOrderByWithRelationInput | Prisma.DiscordGuildProfileOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.DiscordGuildProfileWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` DiscordGuildProfiles 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` DiscordGuildProfiles.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned DiscordGuildProfiles
|
|
**/
|
|
_count?: true | DiscordGuildProfileCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: DiscordGuildProfileMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: DiscordGuildProfileMaxAggregateInputType
|
|
}
|
|
|
|
export type GetDiscordGuildProfileAggregateType<T extends DiscordGuildProfileAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateDiscordGuildProfile]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateDiscordGuildProfile[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateDiscordGuildProfile[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type DiscordGuildProfileGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.DiscordGuildProfileWhereInput
|
|
orderBy?: Prisma.DiscordGuildProfileOrderByWithAggregationInput | Prisma.DiscordGuildProfileOrderByWithAggregationInput[]
|
|
by: Prisma.DiscordGuildProfileScalarFieldEnum[] | Prisma.DiscordGuildProfileScalarFieldEnum
|
|
having?: Prisma.DiscordGuildProfileScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: DiscordGuildProfileCountAggregateInputType | true
|
|
_min?: DiscordGuildProfileMinAggregateInputType
|
|
_max?: DiscordGuildProfileMaxAggregateInputType
|
|
}
|
|
|
|
export type DiscordGuildProfileGroupByOutputType = {
|
|
id: string
|
|
guildId: string
|
|
readChannel: string[]
|
|
_count: DiscordGuildProfileCountAggregateOutputType | null
|
|
_min: DiscordGuildProfileMinAggregateOutputType | null
|
|
_max: DiscordGuildProfileMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetDiscordGuildProfileGroupByPayload<T extends DiscordGuildProfileGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<DiscordGuildProfileGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof DiscordGuildProfileGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], DiscordGuildProfileGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], DiscordGuildProfileGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type DiscordGuildProfileWhereInput = {
|
|
AND?: Prisma.DiscordGuildProfileWhereInput | Prisma.DiscordGuildProfileWhereInput[]
|
|
OR?: Prisma.DiscordGuildProfileWhereInput[]
|
|
NOT?: Prisma.DiscordGuildProfileWhereInput | Prisma.DiscordGuildProfileWhereInput[]
|
|
id?: Prisma.StringFilter<"DiscordGuildProfile"> | string
|
|
guildId?: Prisma.StringFilter<"DiscordGuildProfile"> | string
|
|
readChannel?: Prisma.StringNullableListFilter<"DiscordGuildProfile">
|
|
}
|
|
|
|
export type DiscordGuildProfileOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
guildId?: Prisma.SortOrder
|
|
readChannel?: Prisma.SortOrder
|
|
}
|
|
|
|
export type DiscordGuildProfileWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
guildId?: string
|
|
AND?: Prisma.DiscordGuildProfileWhereInput | Prisma.DiscordGuildProfileWhereInput[]
|
|
OR?: Prisma.DiscordGuildProfileWhereInput[]
|
|
NOT?: Prisma.DiscordGuildProfileWhereInput | Prisma.DiscordGuildProfileWhereInput[]
|
|
readChannel?: Prisma.StringNullableListFilter<"DiscordGuildProfile">
|
|
}, "id" | "guildId">
|
|
|
|
export type DiscordGuildProfileOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
guildId?: Prisma.SortOrder
|
|
readChannel?: Prisma.SortOrder
|
|
_count?: Prisma.DiscordGuildProfileCountOrderByAggregateInput
|
|
_max?: Prisma.DiscordGuildProfileMaxOrderByAggregateInput
|
|
_min?: Prisma.DiscordGuildProfileMinOrderByAggregateInput
|
|
}
|
|
|
|
export type DiscordGuildProfileScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.DiscordGuildProfileScalarWhereWithAggregatesInput | Prisma.DiscordGuildProfileScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.DiscordGuildProfileScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.DiscordGuildProfileScalarWhereWithAggregatesInput | Prisma.DiscordGuildProfileScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"DiscordGuildProfile"> | string
|
|
guildId?: Prisma.StringWithAggregatesFilter<"DiscordGuildProfile"> | string
|
|
readChannel?: Prisma.StringNullableListFilter<"DiscordGuildProfile">
|
|
}
|
|
|
|
export type DiscordGuildProfileCreateInput = {
|
|
id?: string
|
|
guildId: string
|
|
readChannel?: Prisma.DiscordGuildProfileCreatereadChannelInput | string[]
|
|
}
|
|
|
|
export type DiscordGuildProfileUncheckedCreateInput = {
|
|
id?: string
|
|
guildId: string
|
|
readChannel?: Prisma.DiscordGuildProfileCreatereadChannelInput | string[]
|
|
}
|
|
|
|
export type DiscordGuildProfileUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
guildId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
readChannel?: Prisma.DiscordGuildProfileUpdatereadChannelInput | string[]
|
|
}
|
|
|
|
export type DiscordGuildProfileUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
guildId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
readChannel?: Prisma.DiscordGuildProfileUpdatereadChannelInput | string[]
|
|
}
|
|
|
|
export type DiscordGuildProfileCreateManyInput = {
|
|
id?: string
|
|
guildId: string
|
|
readChannel?: Prisma.DiscordGuildProfileCreatereadChannelInput | string[]
|
|
}
|
|
|
|
export type DiscordGuildProfileUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
guildId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
readChannel?: Prisma.DiscordGuildProfileUpdatereadChannelInput | string[]
|
|
}
|
|
|
|
export type DiscordGuildProfileUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
guildId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
readChannel?: Prisma.DiscordGuildProfileUpdatereadChannelInput | string[]
|
|
}
|
|
|
|
export type StringNullableListFilter<$PrismaModel = never> = {
|
|
equals?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
has?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
|
hasEvery?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
hasSome?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
isEmpty?: boolean
|
|
}
|
|
|
|
export type DiscordGuildProfileCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
guildId?: Prisma.SortOrder
|
|
readChannel?: Prisma.SortOrder
|
|
}
|
|
|
|
export type DiscordGuildProfileMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
guildId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type DiscordGuildProfileMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
guildId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type DiscordGuildProfileCreatereadChannelInput = {
|
|
set: string[]
|
|
}
|
|
|
|
export type DiscordGuildProfileUpdatereadChannelInput = {
|
|
set?: string[]
|
|
push?: string | string[]
|
|
}
|
|
|
|
|
|
|
|
export type DiscordGuildProfileSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
guildId?: boolean
|
|
readChannel?: boolean
|
|
}, ExtArgs["result"]["discordGuildProfile"]>
|
|
|
|
export type DiscordGuildProfileSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
guildId?: boolean
|
|
readChannel?: boolean
|
|
}, ExtArgs["result"]["discordGuildProfile"]>
|
|
|
|
export type DiscordGuildProfileSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
guildId?: boolean
|
|
readChannel?: boolean
|
|
}, ExtArgs["result"]["discordGuildProfile"]>
|
|
|
|
export type DiscordGuildProfileSelectScalar = {
|
|
id?: boolean
|
|
guildId?: boolean
|
|
readChannel?: boolean
|
|
}
|
|
|
|
export type DiscordGuildProfileOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "guildId" | "readChannel", ExtArgs["result"]["discordGuildProfile"]>
|
|
|
|
export type $DiscordGuildProfilePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "DiscordGuildProfile"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
guildId: string
|
|
readChannel: string[]
|
|
}, ExtArgs["result"]["discordGuildProfile"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type DiscordGuildProfileGetPayload<S extends boolean | null | undefined | DiscordGuildProfileDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DiscordGuildProfilePayload, S>
|
|
|
|
export type DiscordGuildProfileCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<DiscordGuildProfileFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: DiscordGuildProfileCountAggregateInputType | true
|
|
}
|
|
|
|
export interface DiscordGuildProfileDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DiscordGuildProfile'], meta: { name: 'DiscordGuildProfile' } }
|
|
/**
|
|
* Find zero or one DiscordGuildProfile that matches the filter.
|
|
* @param {DiscordGuildProfileFindUniqueArgs} args - Arguments to find a DiscordGuildProfile
|
|
* @example
|
|
* // Get one DiscordGuildProfile
|
|
* const discordGuildProfile = await prisma.discordGuildProfile.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends DiscordGuildProfileFindUniqueArgs>(args: Prisma.SelectSubset<T, DiscordGuildProfileFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DiscordGuildProfileClient<runtime.Types.Result.GetResult<Prisma.$DiscordGuildProfilePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one DiscordGuildProfile that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {DiscordGuildProfileFindUniqueOrThrowArgs} args - Arguments to find a DiscordGuildProfile
|
|
* @example
|
|
* // Get one DiscordGuildProfile
|
|
* const discordGuildProfile = await prisma.discordGuildProfile.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends DiscordGuildProfileFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DiscordGuildProfileFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DiscordGuildProfileClient<runtime.Types.Result.GetResult<Prisma.$DiscordGuildProfilePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first DiscordGuildProfile 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 {DiscordGuildProfileFindFirstArgs} args - Arguments to find a DiscordGuildProfile
|
|
* @example
|
|
* // Get one DiscordGuildProfile
|
|
* const discordGuildProfile = await prisma.discordGuildProfile.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends DiscordGuildProfileFindFirstArgs>(args?: Prisma.SelectSubset<T, DiscordGuildProfileFindFirstArgs<ExtArgs>>): Prisma.Prisma__DiscordGuildProfileClient<runtime.Types.Result.GetResult<Prisma.$DiscordGuildProfilePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first DiscordGuildProfile 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 {DiscordGuildProfileFindFirstOrThrowArgs} args - Arguments to find a DiscordGuildProfile
|
|
* @example
|
|
* // Get one DiscordGuildProfile
|
|
* const discordGuildProfile = await prisma.discordGuildProfile.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends DiscordGuildProfileFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DiscordGuildProfileFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DiscordGuildProfileClient<runtime.Types.Result.GetResult<Prisma.$DiscordGuildProfilePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more DiscordGuildProfiles 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 {DiscordGuildProfileFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all DiscordGuildProfiles
|
|
* const discordGuildProfiles = await prisma.discordGuildProfile.findMany()
|
|
*
|
|
* // Get first 10 DiscordGuildProfiles
|
|
* const discordGuildProfiles = await prisma.discordGuildProfile.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const discordGuildProfileWithIdOnly = await prisma.discordGuildProfile.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends DiscordGuildProfileFindManyArgs>(args?: Prisma.SelectSubset<T, DiscordGuildProfileFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DiscordGuildProfilePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a DiscordGuildProfile.
|
|
* @param {DiscordGuildProfileCreateArgs} args - Arguments to create a DiscordGuildProfile.
|
|
* @example
|
|
* // Create one DiscordGuildProfile
|
|
* const DiscordGuildProfile = await prisma.discordGuildProfile.create({
|
|
* data: {
|
|
* // ... data to create a DiscordGuildProfile
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends DiscordGuildProfileCreateArgs>(args: Prisma.SelectSubset<T, DiscordGuildProfileCreateArgs<ExtArgs>>): Prisma.Prisma__DiscordGuildProfileClient<runtime.Types.Result.GetResult<Prisma.$DiscordGuildProfilePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many DiscordGuildProfiles.
|
|
* @param {DiscordGuildProfileCreateManyArgs} args - Arguments to create many DiscordGuildProfiles.
|
|
* @example
|
|
* // Create many DiscordGuildProfiles
|
|
* const discordGuildProfile = await prisma.discordGuildProfile.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends DiscordGuildProfileCreateManyArgs>(args?: Prisma.SelectSubset<T, DiscordGuildProfileCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many DiscordGuildProfiles and returns the data saved in the database.
|
|
* @param {DiscordGuildProfileCreateManyAndReturnArgs} args - Arguments to create many DiscordGuildProfiles.
|
|
* @example
|
|
* // Create many DiscordGuildProfiles
|
|
* const discordGuildProfile = await prisma.discordGuildProfile.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many DiscordGuildProfiles and only return the `id`
|
|
* const discordGuildProfileWithIdOnly = await prisma.discordGuildProfile.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 DiscordGuildProfileCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DiscordGuildProfileCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DiscordGuildProfilePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a DiscordGuildProfile.
|
|
* @param {DiscordGuildProfileDeleteArgs} args - Arguments to delete one DiscordGuildProfile.
|
|
* @example
|
|
* // Delete one DiscordGuildProfile
|
|
* const DiscordGuildProfile = await prisma.discordGuildProfile.delete({
|
|
* where: {
|
|
* // ... filter to delete one DiscordGuildProfile
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends DiscordGuildProfileDeleteArgs>(args: Prisma.SelectSubset<T, DiscordGuildProfileDeleteArgs<ExtArgs>>): Prisma.Prisma__DiscordGuildProfileClient<runtime.Types.Result.GetResult<Prisma.$DiscordGuildProfilePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one DiscordGuildProfile.
|
|
* @param {DiscordGuildProfileUpdateArgs} args - Arguments to update one DiscordGuildProfile.
|
|
* @example
|
|
* // Update one DiscordGuildProfile
|
|
* const discordGuildProfile = await prisma.discordGuildProfile.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends DiscordGuildProfileUpdateArgs>(args: Prisma.SelectSubset<T, DiscordGuildProfileUpdateArgs<ExtArgs>>): Prisma.Prisma__DiscordGuildProfileClient<runtime.Types.Result.GetResult<Prisma.$DiscordGuildProfilePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more DiscordGuildProfiles.
|
|
* @param {DiscordGuildProfileDeleteManyArgs} args - Arguments to filter DiscordGuildProfiles to delete.
|
|
* @example
|
|
* // Delete a few DiscordGuildProfiles
|
|
* const { count } = await prisma.discordGuildProfile.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends DiscordGuildProfileDeleteManyArgs>(args?: Prisma.SelectSubset<T, DiscordGuildProfileDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more DiscordGuildProfiles.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {DiscordGuildProfileUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many DiscordGuildProfiles
|
|
* const discordGuildProfile = await prisma.discordGuildProfile.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends DiscordGuildProfileUpdateManyArgs>(args: Prisma.SelectSubset<T, DiscordGuildProfileUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more DiscordGuildProfiles and returns the data updated in the database.
|
|
* @param {DiscordGuildProfileUpdateManyAndReturnArgs} args - Arguments to update many DiscordGuildProfiles.
|
|
* @example
|
|
* // Update many DiscordGuildProfiles
|
|
* const discordGuildProfile = await prisma.discordGuildProfile.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more DiscordGuildProfiles and only return the `id`
|
|
* const discordGuildProfileWithIdOnly = await prisma.discordGuildProfile.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 DiscordGuildProfileUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DiscordGuildProfileUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DiscordGuildProfilePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one DiscordGuildProfile.
|
|
* @param {DiscordGuildProfileUpsertArgs} args - Arguments to update or create a DiscordGuildProfile.
|
|
* @example
|
|
* // Update or create a DiscordGuildProfile
|
|
* const discordGuildProfile = await prisma.discordGuildProfile.upsert({
|
|
* create: {
|
|
* // ... data to create a DiscordGuildProfile
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the DiscordGuildProfile we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends DiscordGuildProfileUpsertArgs>(args: Prisma.SelectSubset<T, DiscordGuildProfileUpsertArgs<ExtArgs>>): Prisma.Prisma__DiscordGuildProfileClient<runtime.Types.Result.GetResult<Prisma.$DiscordGuildProfilePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of DiscordGuildProfiles.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {DiscordGuildProfileCountArgs} args - Arguments to filter DiscordGuildProfiles to count.
|
|
* @example
|
|
* // Count the number of DiscordGuildProfiles
|
|
* const count = await prisma.discordGuildProfile.count({
|
|
* where: {
|
|
* // ... the filter for the DiscordGuildProfiles we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends DiscordGuildProfileCountArgs>(
|
|
args?: Prisma.Subset<T, DiscordGuildProfileCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], DiscordGuildProfileCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a DiscordGuildProfile.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {DiscordGuildProfileAggregateArgs} 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 DiscordGuildProfileAggregateArgs>(args: Prisma.Subset<T, DiscordGuildProfileAggregateArgs>): Prisma.PrismaPromise<GetDiscordGuildProfileAggregateType<T>>
|
|
|
|
/**
|
|
* Group by DiscordGuildProfile.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {DiscordGuildProfileGroupByArgs} 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 DiscordGuildProfileGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: DiscordGuildProfileGroupByArgs['orderBy'] }
|
|
: { orderBy?: DiscordGuildProfileGroupByArgs['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, DiscordGuildProfileGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDiscordGuildProfileGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the DiscordGuildProfile model
|
|
*/
|
|
readonly fields: DiscordGuildProfileFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for DiscordGuildProfile.
|
|
* 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__DiscordGuildProfileClient<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 DiscordGuildProfile model
|
|
*/
|
|
export interface DiscordGuildProfileFieldRefs {
|
|
readonly id: Prisma.FieldRef<"DiscordGuildProfile", 'String'>
|
|
readonly guildId: Prisma.FieldRef<"DiscordGuildProfile", 'String'>
|
|
readonly readChannel: Prisma.FieldRef<"DiscordGuildProfile", 'String[]'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* DiscordGuildProfile findUnique
|
|
*/
|
|
export type DiscordGuildProfileFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DiscordGuildProfile
|
|
*/
|
|
select?: Prisma.DiscordGuildProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DiscordGuildProfile
|
|
*/
|
|
omit?: Prisma.DiscordGuildProfileOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which DiscordGuildProfile to fetch.
|
|
*/
|
|
where: Prisma.DiscordGuildProfileWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* DiscordGuildProfile findUniqueOrThrow
|
|
*/
|
|
export type DiscordGuildProfileFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DiscordGuildProfile
|
|
*/
|
|
select?: Prisma.DiscordGuildProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DiscordGuildProfile
|
|
*/
|
|
omit?: Prisma.DiscordGuildProfileOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which DiscordGuildProfile to fetch.
|
|
*/
|
|
where: Prisma.DiscordGuildProfileWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* DiscordGuildProfile findFirst
|
|
*/
|
|
export type DiscordGuildProfileFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DiscordGuildProfile
|
|
*/
|
|
select?: Prisma.DiscordGuildProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DiscordGuildProfile
|
|
*/
|
|
omit?: Prisma.DiscordGuildProfileOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which DiscordGuildProfile to fetch.
|
|
*/
|
|
where?: Prisma.DiscordGuildProfileWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of DiscordGuildProfiles to fetch.
|
|
*/
|
|
orderBy?: Prisma.DiscordGuildProfileOrderByWithRelationInput | Prisma.DiscordGuildProfileOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for DiscordGuildProfiles.
|
|
*/
|
|
cursor?: Prisma.DiscordGuildProfileWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` DiscordGuildProfiles 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` DiscordGuildProfiles.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of DiscordGuildProfiles.
|
|
*/
|
|
distinct?: Prisma.DiscordGuildProfileScalarFieldEnum | Prisma.DiscordGuildProfileScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* DiscordGuildProfile findFirstOrThrow
|
|
*/
|
|
export type DiscordGuildProfileFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DiscordGuildProfile
|
|
*/
|
|
select?: Prisma.DiscordGuildProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DiscordGuildProfile
|
|
*/
|
|
omit?: Prisma.DiscordGuildProfileOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which DiscordGuildProfile to fetch.
|
|
*/
|
|
where?: Prisma.DiscordGuildProfileWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of DiscordGuildProfiles to fetch.
|
|
*/
|
|
orderBy?: Prisma.DiscordGuildProfileOrderByWithRelationInput | Prisma.DiscordGuildProfileOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for DiscordGuildProfiles.
|
|
*/
|
|
cursor?: Prisma.DiscordGuildProfileWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` DiscordGuildProfiles 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` DiscordGuildProfiles.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of DiscordGuildProfiles.
|
|
*/
|
|
distinct?: Prisma.DiscordGuildProfileScalarFieldEnum | Prisma.DiscordGuildProfileScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* DiscordGuildProfile findMany
|
|
*/
|
|
export type DiscordGuildProfileFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DiscordGuildProfile
|
|
*/
|
|
select?: Prisma.DiscordGuildProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DiscordGuildProfile
|
|
*/
|
|
omit?: Prisma.DiscordGuildProfileOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which DiscordGuildProfiles to fetch.
|
|
*/
|
|
where?: Prisma.DiscordGuildProfileWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of DiscordGuildProfiles to fetch.
|
|
*/
|
|
orderBy?: Prisma.DiscordGuildProfileOrderByWithRelationInput | Prisma.DiscordGuildProfileOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing DiscordGuildProfiles.
|
|
*/
|
|
cursor?: Prisma.DiscordGuildProfileWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` DiscordGuildProfiles 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` DiscordGuildProfiles.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of DiscordGuildProfiles.
|
|
*/
|
|
distinct?: Prisma.DiscordGuildProfileScalarFieldEnum | Prisma.DiscordGuildProfileScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* DiscordGuildProfile create
|
|
*/
|
|
export type DiscordGuildProfileCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DiscordGuildProfile
|
|
*/
|
|
select?: Prisma.DiscordGuildProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DiscordGuildProfile
|
|
*/
|
|
omit?: Prisma.DiscordGuildProfileOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a DiscordGuildProfile.
|
|
*/
|
|
data: Prisma.XOR<Prisma.DiscordGuildProfileCreateInput, Prisma.DiscordGuildProfileUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* DiscordGuildProfile createMany
|
|
*/
|
|
export type DiscordGuildProfileCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many DiscordGuildProfiles.
|
|
*/
|
|
data: Prisma.DiscordGuildProfileCreateManyInput | Prisma.DiscordGuildProfileCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* DiscordGuildProfile createManyAndReturn
|
|
*/
|
|
export type DiscordGuildProfileCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DiscordGuildProfile
|
|
*/
|
|
select?: Prisma.DiscordGuildProfileSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DiscordGuildProfile
|
|
*/
|
|
omit?: Prisma.DiscordGuildProfileOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many DiscordGuildProfiles.
|
|
*/
|
|
data: Prisma.DiscordGuildProfileCreateManyInput | Prisma.DiscordGuildProfileCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* DiscordGuildProfile update
|
|
*/
|
|
export type DiscordGuildProfileUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DiscordGuildProfile
|
|
*/
|
|
select?: Prisma.DiscordGuildProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DiscordGuildProfile
|
|
*/
|
|
omit?: Prisma.DiscordGuildProfileOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a DiscordGuildProfile.
|
|
*/
|
|
data: Prisma.XOR<Prisma.DiscordGuildProfileUpdateInput, Prisma.DiscordGuildProfileUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which DiscordGuildProfile to update.
|
|
*/
|
|
where: Prisma.DiscordGuildProfileWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* DiscordGuildProfile updateMany
|
|
*/
|
|
export type DiscordGuildProfileUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update DiscordGuildProfiles.
|
|
*/
|
|
data: Prisma.XOR<Prisma.DiscordGuildProfileUpdateManyMutationInput, Prisma.DiscordGuildProfileUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which DiscordGuildProfiles to update
|
|
*/
|
|
where?: Prisma.DiscordGuildProfileWhereInput
|
|
/**
|
|
* Limit how many DiscordGuildProfiles to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* DiscordGuildProfile updateManyAndReturn
|
|
*/
|
|
export type DiscordGuildProfileUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DiscordGuildProfile
|
|
*/
|
|
select?: Prisma.DiscordGuildProfileSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DiscordGuildProfile
|
|
*/
|
|
omit?: Prisma.DiscordGuildProfileOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update DiscordGuildProfiles.
|
|
*/
|
|
data: Prisma.XOR<Prisma.DiscordGuildProfileUpdateManyMutationInput, Prisma.DiscordGuildProfileUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which DiscordGuildProfiles to update
|
|
*/
|
|
where?: Prisma.DiscordGuildProfileWhereInput
|
|
/**
|
|
* Limit how many DiscordGuildProfiles to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* DiscordGuildProfile upsert
|
|
*/
|
|
export type DiscordGuildProfileUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DiscordGuildProfile
|
|
*/
|
|
select?: Prisma.DiscordGuildProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DiscordGuildProfile
|
|
*/
|
|
omit?: Prisma.DiscordGuildProfileOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the DiscordGuildProfile to update in case it exists.
|
|
*/
|
|
where: Prisma.DiscordGuildProfileWhereUniqueInput
|
|
/**
|
|
* In case the DiscordGuildProfile found by the `where` argument doesn't exist, create a new DiscordGuildProfile with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.DiscordGuildProfileCreateInput, Prisma.DiscordGuildProfileUncheckedCreateInput>
|
|
/**
|
|
* In case the DiscordGuildProfile was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.DiscordGuildProfileUpdateInput, Prisma.DiscordGuildProfileUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* DiscordGuildProfile delete
|
|
*/
|
|
export type DiscordGuildProfileDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DiscordGuildProfile
|
|
*/
|
|
select?: Prisma.DiscordGuildProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DiscordGuildProfile
|
|
*/
|
|
omit?: Prisma.DiscordGuildProfileOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which DiscordGuildProfile to delete.
|
|
*/
|
|
where: Prisma.DiscordGuildProfileWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* DiscordGuildProfile deleteMany
|
|
*/
|
|
export type DiscordGuildProfileDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which DiscordGuildProfiles to delete
|
|
*/
|
|
where?: Prisma.DiscordGuildProfileWhereInput
|
|
/**
|
|
* Limit how many DiscordGuildProfiles to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* DiscordGuildProfile without action
|
|
*/
|
|
export type DiscordGuildProfileDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DiscordGuildProfile
|
|
*/
|
|
select?: Prisma.DiscordGuildProfileSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DiscordGuildProfile
|
|
*/
|
|
omit?: Prisma.DiscordGuildProfileOmit<ExtArgs> | null
|
|
}
|