targo-backend/prisma/generated/mariadb/models/ip_static.ts

1054 lines
35 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 `ip_static` 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 ip_static
*
*/
export type ip_staticModel = runtime.Types.Result.DefaultSelection<Prisma.$ip_staticPayload>
export type AggregateIp_static = {
_count: Ip_staticCountAggregateOutputType | null
_avg: Ip_staticAvgAggregateOutputType | null
_sum: Ip_staticSumAggregateOutputType | null
_min: Ip_staticMinAggregateOutputType | null
_max: Ip_staticMaxAggregateOutputType | null
}
export type Ip_staticAvgAggregateOutputType = {
id: number | null
}
export type Ip_staticSumAggregateOutputType = {
id: number | null
}
export type Ip_staticMinAggregateOutputType = {
id: number | null
ip: string | null
static: boolean | null
reverse: string | null
}
export type Ip_staticMaxAggregateOutputType = {
id: number | null
ip: string | null
static: boolean | null
reverse: string | null
}
export type Ip_staticCountAggregateOutputType = {
id: number
ip: number
static: number
reverse: number
_all: number
}
export type Ip_staticAvgAggregateInputType = {
id?: true
}
export type Ip_staticSumAggregateInputType = {
id?: true
}
export type Ip_staticMinAggregateInputType = {
id?: true
ip?: true
static?: true
reverse?: true
}
export type Ip_staticMaxAggregateInputType = {
id?: true
ip?: true
static?: true
reverse?: true
}
export type Ip_staticCountAggregateInputType = {
id?: true
ip?: true
static?: true
reverse?: true
_all?: true
}
export type Ip_staticAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which ip_static to aggregate.
*/
where?: Prisma.ip_staticWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of ip_statics to fetch.
*/
orderBy?: Prisma.ip_staticOrderByWithRelationInput | Prisma.ip_staticOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.ip_staticWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` ip_statics 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` ip_statics.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned ip_statics
**/
_count?: true | Ip_staticCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: Ip_staticAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: Ip_staticSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: Ip_staticMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: Ip_staticMaxAggregateInputType
}
export type GetIp_staticAggregateType<T extends Ip_staticAggregateArgs> = {
[P in keyof T & keyof AggregateIp_static]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateIp_static[P]>
: Prisma.GetScalarType<T[P], AggregateIp_static[P]>
}
export type ip_staticGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.ip_staticWhereInput
orderBy?: Prisma.ip_staticOrderByWithAggregationInput | Prisma.ip_staticOrderByWithAggregationInput[]
by: Prisma.Ip_staticScalarFieldEnum[] | Prisma.Ip_staticScalarFieldEnum
having?: Prisma.ip_staticScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: Ip_staticCountAggregateInputType | true
_avg?: Ip_staticAvgAggregateInputType
_sum?: Ip_staticSumAggregateInputType
_min?: Ip_staticMinAggregateInputType
_max?: Ip_staticMaxAggregateInputType
}
export type Ip_staticGroupByOutputType = {
id: number
ip: string
static: boolean
reverse: string | null
_count: Ip_staticCountAggregateOutputType | null
_avg: Ip_staticAvgAggregateOutputType | null
_sum: Ip_staticSumAggregateOutputType | null
_min: Ip_staticMinAggregateOutputType | null
_max: Ip_staticMaxAggregateOutputType | null
}
type GetIp_staticGroupByPayload<T extends ip_staticGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<Ip_staticGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof Ip_staticGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], Ip_staticGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], Ip_staticGroupByOutputType[P]>
}
>
>
export type ip_staticWhereInput = {
AND?: Prisma.ip_staticWhereInput | Prisma.ip_staticWhereInput[]
OR?: Prisma.ip_staticWhereInput[]
NOT?: Prisma.ip_staticWhereInput | Prisma.ip_staticWhereInput[]
id?: Prisma.IntFilter<"ip_static"> | number
ip?: Prisma.StringFilter<"ip_static"> | string
static?: Prisma.BoolFilter<"ip_static"> | boolean
reverse?: Prisma.StringNullableFilter<"ip_static"> | string | null
}
export type ip_staticOrderByWithRelationInput = {
id?: Prisma.SortOrder
ip?: Prisma.SortOrder
static?: Prisma.SortOrder
reverse?: Prisma.SortOrderInput | Prisma.SortOrder
_relevance?: Prisma.ip_staticOrderByRelevanceInput
}
export type ip_staticWhereUniqueInput = Prisma.AtLeast<{
id?: number
ip?: string
AND?: Prisma.ip_staticWhereInput | Prisma.ip_staticWhereInput[]
OR?: Prisma.ip_staticWhereInput[]
NOT?: Prisma.ip_staticWhereInput | Prisma.ip_staticWhereInput[]
static?: Prisma.BoolFilter<"ip_static"> | boolean
reverse?: Prisma.StringNullableFilter<"ip_static"> | string | null
}, "id" | "ip">
export type ip_staticOrderByWithAggregationInput = {
id?: Prisma.SortOrder
ip?: Prisma.SortOrder
static?: Prisma.SortOrder
reverse?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.ip_staticCountOrderByAggregateInput
_avg?: Prisma.ip_staticAvgOrderByAggregateInput
_max?: Prisma.ip_staticMaxOrderByAggregateInput
_min?: Prisma.ip_staticMinOrderByAggregateInput
_sum?: Prisma.ip_staticSumOrderByAggregateInput
}
export type ip_staticScalarWhereWithAggregatesInput = {
AND?: Prisma.ip_staticScalarWhereWithAggregatesInput | Prisma.ip_staticScalarWhereWithAggregatesInput[]
OR?: Prisma.ip_staticScalarWhereWithAggregatesInput[]
NOT?: Prisma.ip_staticScalarWhereWithAggregatesInput | Prisma.ip_staticScalarWhereWithAggregatesInput[]
id?: Prisma.IntWithAggregatesFilter<"ip_static"> | number
ip?: Prisma.StringWithAggregatesFilter<"ip_static"> | string
static?: Prisma.BoolWithAggregatesFilter<"ip_static"> | boolean
reverse?: Prisma.StringNullableWithAggregatesFilter<"ip_static"> | string | null
}
export type ip_staticCreateInput = {
ip: string
static?: boolean
reverse?: string | null
}
export type ip_staticUncheckedCreateInput = {
id?: number
ip: string
static?: boolean
reverse?: string | null
}
export type ip_staticUpdateInput = {
ip?: Prisma.StringFieldUpdateOperationsInput | string
static?: Prisma.BoolFieldUpdateOperationsInput | boolean
reverse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type ip_staticUncheckedUpdateInput = {
id?: Prisma.IntFieldUpdateOperationsInput | number
ip?: Prisma.StringFieldUpdateOperationsInput | string
static?: Prisma.BoolFieldUpdateOperationsInput | boolean
reverse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type ip_staticCreateManyInput = {
id?: number
ip: string
static?: boolean
reverse?: string | null
}
export type ip_staticUpdateManyMutationInput = {
ip?: Prisma.StringFieldUpdateOperationsInput | string
static?: Prisma.BoolFieldUpdateOperationsInput | boolean
reverse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type ip_staticUncheckedUpdateManyInput = {
id?: Prisma.IntFieldUpdateOperationsInput | number
ip?: Prisma.StringFieldUpdateOperationsInput | string
static?: Prisma.BoolFieldUpdateOperationsInput | boolean
reverse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type ip_staticOrderByRelevanceInput = {
fields: Prisma.ip_staticOrderByRelevanceFieldEnum | Prisma.ip_staticOrderByRelevanceFieldEnum[]
sort: Prisma.SortOrder
search: string
}
export type ip_staticCountOrderByAggregateInput = {
id?: Prisma.SortOrder
ip?: Prisma.SortOrder
static?: Prisma.SortOrder
reverse?: Prisma.SortOrder
}
export type ip_staticAvgOrderByAggregateInput = {
id?: Prisma.SortOrder
}
export type ip_staticMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
ip?: Prisma.SortOrder
static?: Prisma.SortOrder
reverse?: Prisma.SortOrder
}
export type ip_staticMinOrderByAggregateInput = {
id?: Prisma.SortOrder
ip?: Prisma.SortOrder
static?: Prisma.SortOrder
reverse?: Prisma.SortOrder
}
export type ip_staticSumOrderByAggregateInput = {
id?: Prisma.SortOrder
}
export type ip_staticSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
ip?: boolean
static?: boolean
reverse?: boolean
}, ExtArgs["result"]["ip_static"]>
export type ip_staticSelectScalar = {
id?: boolean
ip?: boolean
static?: boolean
reverse?: boolean
}
export type ip_staticOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "ip" | "static" | "reverse", ExtArgs["result"]["ip_static"]>
export type $ip_staticPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "ip_static"
objects: {}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: number
ip: string
static: boolean
reverse: string | null
}, ExtArgs["result"]["ip_static"]>
composites: {}
}
export type ip_staticGetPayload<S extends boolean | null | undefined | ip_staticDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ip_staticPayload, S>
export type ip_staticCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<ip_staticFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: Ip_staticCountAggregateInputType | true
}
export interface ip_staticDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ip_static'], meta: { name: 'ip_static' } }
/**
* Find zero or one Ip_static that matches the filter.
* @param {ip_staticFindUniqueArgs} args - Arguments to find a Ip_static
* @example
* // Get one Ip_static
* const ip_static = await prisma.ip_static.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends ip_staticFindUniqueArgs>(args: Prisma.SelectSubset<T, ip_staticFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ip_staticClient<runtime.Types.Result.GetResult<Prisma.$ip_staticPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one Ip_static that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {ip_staticFindUniqueOrThrowArgs} args - Arguments to find a Ip_static
* @example
* // Get one Ip_static
* const ip_static = await prisma.ip_static.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends ip_staticFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ip_staticFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ip_staticClient<runtime.Types.Result.GetResult<Prisma.$ip_staticPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first Ip_static 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 {ip_staticFindFirstArgs} args - Arguments to find a Ip_static
* @example
* // Get one Ip_static
* const ip_static = await prisma.ip_static.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends ip_staticFindFirstArgs>(args?: Prisma.SelectSubset<T, ip_staticFindFirstArgs<ExtArgs>>): Prisma.Prisma__ip_staticClient<runtime.Types.Result.GetResult<Prisma.$ip_staticPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first Ip_static 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 {ip_staticFindFirstOrThrowArgs} args - Arguments to find a Ip_static
* @example
* // Get one Ip_static
* const ip_static = await prisma.ip_static.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends ip_staticFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ip_staticFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ip_staticClient<runtime.Types.Result.GetResult<Prisma.$ip_staticPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more Ip_statics 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 {ip_staticFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all Ip_statics
* const ip_statics = await prisma.ip_static.findMany()
*
* // Get first 10 Ip_statics
* const ip_statics = await prisma.ip_static.findMany({ take: 10 })
*
* // Only select the `id`
* const ip_staticWithIdOnly = await prisma.ip_static.findMany({ select: { id: true } })
*
*/
findMany<T extends ip_staticFindManyArgs>(args?: Prisma.SelectSubset<T, ip_staticFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ip_staticPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a Ip_static.
* @param {ip_staticCreateArgs} args - Arguments to create a Ip_static.
* @example
* // Create one Ip_static
* const Ip_static = await prisma.ip_static.create({
* data: {
* // ... data to create a Ip_static
* }
* })
*
*/
create<T extends ip_staticCreateArgs>(args: Prisma.SelectSubset<T, ip_staticCreateArgs<ExtArgs>>): Prisma.Prisma__ip_staticClient<runtime.Types.Result.GetResult<Prisma.$ip_staticPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many Ip_statics.
* @param {ip_staticCreateManyArgs} args - Arguments to create many Ip_statics.
* @example
* // Create many Ip_statics
* const ip_static = await prisma.ip_static.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends ip_staticCreateManyArgs>(args?: Prisma.SelectSubset<T, ip_staticCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Delete a Ip_static.
* @param {ip_staticDeleteArgs} args - Arguments to delete one Ip_static.
* @example
* // Delete one Ip_static
* const Ip_static = await prisma.ip_static.delete({
* where: {
* // ... filter to delete one Ip_static
* }
* })
*
*/
delete<T extends ip_staticDeleteArgs>(args: Prisma.SelectSubset<T, ip_staticDeleteArgs<ExtArgs>>): Prisma.Prisma__ip_staticClient<runtime.Types.Result.GetResult<Prisma.$ip_staticPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one Ip_static.
* @param {ip_staticUpdateArgs} args - Arguments to update one Ip_static.
* @example
* // Update one Ip_static
* const ip_static = await prisma.ip_static.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends ip_staticUpdateArgs>(args: Prisma.SelectSubset<T, ip_staticUpdateArgs<ExtArgs>>): Prisma.Prisma__ip_staticClient<runtime.Types.Result.GetResult<Prisma.$ip_staticPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more Ip_statics.
* @param {ip_staticDeleteManyArgs} args - Arguments to filter Ip_statics to delete.
* @example
* // Delete a few Ip_statics
* const { count } = await prisma.ip_static.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends ip_staticDeleteManyArgs>(args?: Prisma.SelectSubset<T, ip_staticDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Ip_statics.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {ip_staticUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many Ip_statics
* const ip_static = await prisma.ip_static.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends ip_staticUpdateManyArgs>(args: Prisma.SelectSubset<T, ip_staticUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create or update one Ip_static.
* @param {ip_staticUpsertArgs} args - Arguments to update or create a Ip_static.
* @example
* // Update or create a Ip_static
* const ip_static = await prisma.ip_static.upsert({
* create: {
* // ... data to create a Ip_static
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the Ip_static we want to update
* }
* })
*/
upsert<T extends ip_staticUpsertArgs>(args: Prisma.SelectSubset<T, ip_staticUpsertArgs<ExtArgs>>): Prisma.Prisma__ip_staticClient<runtime.Types.Result.GetResult<Prisma.$ip_staticPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of Ip_statics.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {ip_staticCountArgs} args - Arguments to filter Ip_statics to count.
* @example
* // Count the number of Ip_statics
* const count = await prisma.ip_static.count({
* where: {
* // ... the filter for the Ip_statics we want to count
* }
* })
**/
count<T extends ip_staticCountArgs>(
args?: Prisma.Subset<T, ip_staticCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], Ip_staticCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a Ip_static.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {Ip_staticAggregateArgs} 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 Ip_staticAggregateArgs>(args: Prisma.Subset<T, Ip_staticAggregateArgs>): Prisma.PrismaPromise<GetIp_staticAggregateType<T>>
/**
* Group by Ip_static.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {ip_staticGroupByArgs} 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 ip_staticGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: ip_staticGroupByArgs['orderBy'] }
: { orderBy?: ip_staticGroupByArgs['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, ip_staticGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetIp_staticGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the ip_static model
*/
readonly fields: ip_staticFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for ip_static.
* 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__ip_staticClient<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 ip_static model
*/
export interface ip_staticFieldRefs {
readonly id: Prisma.FieldRef<"ip_static", 'Int'>
readonly ip: Prisma.FieldRef<"ip_static", 'String'>
readonly static: Prisma.FieldRef<"ip_static", 'Boolean'>
readonly reverse: Prisma.FieldRef<"ip_static", 'String'>
}
// Custom InputTypes
/**
* ip_static findUnique
*/
export type ip_staticFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ip_static
*/
select?: Prisma.ip_staticSelect<ExtArgs> | null
/**
* Omit specific fields from the ip_static
*/
omit?: Prisma.ip_staticOmit<ExtArgs> | null
/**
* Filter, which ip_static to fetch.
*/
where: Prisma.ip_staticWhereUniqueInput
}
/**
* ip_static findUniqueOrThrow
*/
export type ip_staticFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ip_static
*/
select?: Prisma.ip_staticSelect<ExtArgs> | null
/**
* Omit specific fields from the ip_static
*/
omit?: Prisma.ip_staticOmit<ExtArgs> | null
/**
* Filter, which ip_static to fetch.
*/
where: Prisma.ip_staticWhereUniqueInput
}
/**
* ip_static findFirst
*/
export type ip_staticFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ip_static
*/
select?: Prisma.ip_staticSelect<ExtArgs> | null
/**
* Omit specific fields from the ip_static
*/
omit?: Prisma.ip_staticOmit<ExtArgs> | null
/**
* Filter, which ip_static to fetch.
*/
where?: Prisma.ip_staticWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of ip_statics to fetch.
*/
orderBy?: Prisma.ip_staticOrderByWithRelationInput | Prisma.ip_staticOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for ip_statics.
*/
cursor?: Prisma.ip_staticWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` ip_statics 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` ip_statics.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of ip_statics.
*/
distinct?: Prisma.Ip_staticScalarFieldEnum | Prisma.Ip_staticScalarFieldEnum[]
}
/**
* ip_static findFirstOrThrow
*/
export type ip_staticFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ip_static
*/
select?: Prisma.ip_staticSelect<ExtArgs> | null
/**
* Omit specific fields from the ip_static
*/
omit?: Prisma.ip_staticOmit<ExtArgs> | null
/**
* Filter, which ip_static to fetch.
*/
where?: Prisma.ip_staticWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of ip_statics to fetch.
*/
orderBy?: Prisma.ip_staticOrderByWithRelationInput | Prisma.ip_staticOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for ip_statics.
*/
cursor?: Prisma.ip_staticWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` ip_statics 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` ip_statics.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of ip_statics.
*/
distinct?: Prisma.Ip_staticScalarFieldEnum | Prisma.Ip_staticScalarFieldEnum[]
}
/**
* ip_static findMany
*/
export type ip_staticFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ip_static
*/
select?: Prisma.ip_staticSelect<ExtArgs> | null
/**
* Omit specific fields from the ip_static
*/
omit?: Prisma.ip_staticOmit<ExtArgs> | null
/**
* Filter, which ip_statics to fetch.
*/
where?: Prisma.ip_staticWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of ip_statics to fetch.
*/
orderBy?: Prisma.ip_staticOrderByWithRelationInput | Prisma.ip_staticOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing ip_statics.
*/
cursor?: Prisma.ip_staticWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` ip_statics 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` ip_statics.
*/
skip?: number
distinct?: Prisma.Ip_staticScalarFieldEnum | Prisma.Ip_staticScalarFieldEnum[]
}
/**
* ip_static create
*/
export type ip_staticCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ip_static
*/
select?: Prisma.ip_staticSelect<ExtArgs> | null
/**
* Omit specific fields from the ip_static
*/
omit?: Prisma.ip_staticOmit<ExtArgs> | null
/**
* The data needed to create a ip_static.
*/
data: Prisma.XOR<Prisma.ip_staticCreateInput, Prisma.ip_staticUncheckedCreateInput>
}
/**
* ip_static createMany
*/
export type ip_staticCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many ip_statics.
*/
data: Prisma.ip_staticCreateManyInput | Prisma.ip_staticCreateManyInput[]
skipDuplicates?: boolean
}
/**
* ip_static update
*/
export type ip_staticUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ip_static
*/
select?: Prisma.ip_staticSelect<ExtArgs> | null
/**
* Omit specific fields from the ip_static
*/
omit?: Prisma.ip_staticOmit<ExtArgs> | null
/**
* The data needed to update a ip_static.
*/
data: Prisma.XOR<Prisma.ip_staticUpdateInput, Prisma.ip_staticUncheckedUpdateInput>
/**
* Choose, which ip_static to update.
*/
where: Prisma.ip_staticWhereUniqueInput
}
/**
* ip_static updateMany
*/
export type ip_staticUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update ip_statics.
*/
data: Prisma.XOR<Prisma.ip_staticUpdateManyMutationInput, Prisma.ip_staticUncheckedUpdateManyInput>
/**
* Filter which ip_statics to update
*/
where?: Prisma.ip_staticWhereInput
/**
* Limit how many ip_statics to update.
*/
limit?: number
}
/**
* ip_static upsert
*/
export type ip_staticUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ip_static
*/
select?: Prisma.ip_staticSelect<ExtArgs> | null
/**
* Omit specific fields from the ip_static
*/
omit?: Prisma.ip_staticOmit<ExtArgs> | null
/**
* The filter to search for the ip_static to update in case it exists.
*/
where: Prisma.ip_staticWhereUniqueInput
/**
* In case the ip_static found by the `where` argument doesn't exist, create a new ip_static with this data.
*/
create: Prisma.XOR<Prisma.ip_staticCreateInput, Prisma.ip_staticUncheckedCreateInput>
/**
* In case the ip_static was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.ip_staticUpdateInput, Prisma.ip_staticUncheckedUpdateInput>
}
/**
* ip_static delete
*/
export type ip_staticDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ip_static
*/
select?: Prisma.ip_staticSelect<ExtArgs> | null
/**
* Omit specific fields from the ip_static
*/
omit?: Prisma.ip_staticOmit<ExtArgs> | null
/**
* Filter which ip_static to delete.
*/
where: Prisma.ip_staticWhereUniqueInput
}
/**
* ip_static deleteMany
*/
export type ip_staticDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which ip_statics to delete
*/
where?: Prisma.ip_staticWhereInput
/**
* Limit how many ip_statics to delete.
*/
limit?: number
}
/**
* ip_static without action
*/
export type ip_staticDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ip_static
*/
select?: Prisma.ip_staticSelect<ExtArgs> | null
/**
* Omit specific fields from the ip_static
*/
omit?: Prisma.ip_staticOmit<ExtArgs> | null
}