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

1033 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 `tech_dispo` 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 tech_dispo
*
*/
export type tech_dispoModel = runtime.Types.Result.DefaultSelection<Prisma.$tech_dispoPayload>
export type AggregateTech_dispo = {
_count: Tech_dispoCountAggregateOutputType | null
_avg: Tech_dispoAvgAggregateOutputType | null
_sum: Tech_dispoSumAggregateOutputType | null
_min: Tech_dispoMinAggregateOutputType | null
_max: Tech_dispoMaxAggregateOutputType | null
}
export type Tech_dispoAvgAggregateOutputType = {
id: number | null
date: number | null
tech: number | null
}
export type Tech_dispoSumAggregateOutputType = {
id: number | null
date: bigint | null
tech: number | null
}
export type Tech_dispoMinAggregateOutputType = {
id: number | null
date: bigint | null
tech: number | null
}
export type Tech_dispoMaxAggregateOutputType = {
id: number | null
date: bigint | null
tech: number | null
}
export type Tech_dispoCountAggregateOutputType = {
id: number
date: number
tech: number
_all: number
}
export type Tech_dispoAvgAggregateInputType = {
id?: true
date?: true
tech?: true
}
export type Tech_dispoSumAggregateInputType = {
id?: true
date?: true
tech?: true
}
export type Tech_dispoMinAggregateInputType = {
id?: true
date?: true
tech?: true
}
export type Tech_dispoMaxAggregateInputType = {
id?: true
date?: true
tech?: true
}
export type Tech_dispoCountAggregateInputType = {
id?: true
date?: true
tech?: true
_all?: true
}
export type Tech_dispoAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which tech_dispo to aggregate.
*/
where?: Prisma.tech_dispoWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of tech_dispos to fetch.
*/
orderBy?: Prisma.tech_dispoOrderByWithRelationInput | Prisma.tech_dispoOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.tech_dispoWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` tech_dispos 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` tech_dispos.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned tech_dispos
**/
_count?: true | Tech_dispoCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: Tech_dispoAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: Tech_dispoSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: Tech_dispoMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: Tech_dispoMaxAggregateInputType
}
export type GetTech_dispoAggregateType<T extends Tech_dispoAggregateArgs> = {
[P in keyof T & keyof AggregateTech_dispo]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateTech_dispo[P]>
: Prisma.GetScalarType<T[P], AggregateTech_dispo[P]>
}
export type tech_dispoGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.tech_dispoWhereInput
orderBy?: Prisma.tech_dispoOrderByWithAggregationInput | Prisma.tech_dispoOrderByWithAggregationInput[]
by: Prisma.Tech_dispoScalarFieldEnum[] | Prisma.Tech_dispoScalarFieldEnum
having?: Prisma.tech_dispoScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: Tech_dispoCountAggregateInputType | true
_avg?: Tech_dispoAvgAggregateInputType
_sum?: Tech_dispoSumAggregateInputType
_min?: Tech_dispoMinAggregateInputType
_max?: Tech_dispoMaxAggregateInputType
}
export type Tech_dispoGroupByOutputType = {
id: number
date: bigint
tech: number | null
_count: Tech_dispoCountAggregateOutputType | null
_avg: Tech_dispoAvgAggregateOutputType | null
_sum: Tech_dispoSumAggregateOutputType | null
_min: Tech_dispoMinAggregateOutputType | null
_max: Tech_dispoMaxAggregateOutputType | null
}
type GetTech_dispoGroupByPayload<T extends tech_dispoGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<Tech_dispoGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof Tech_dispoGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], Tech_dispoGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], Tech_dispoGroupByOutputType[P]>
}
>
>
export type tech_dispoWhereInput = {
AND?: Prisma.tech_dispoWhereInput | Prisma.tech_dispoWhereInput[]
OR?: Prisma.tech_dispoWhereInput[]
NOT?: Prisma.tech_dispoWhereInput | Prisma.tech_dispoWhereInput[]
id?: Prisma.IntFilter<"tech_dispo"> | number
date?: Prisma.BigIntFilter<"tech_dispo"> | bigint | number
tech?: Prisma.IntNullableFilter<"tech_dispo"> | number | null
}
export type tech_dispoOrderByWithRelationInput = {
id?: Prisma.SortOrder
date?: Prisma.SortOrder
tech?: Prisma.SortOrderInput | Prisma.SortOrder
}
export type tech_dispoWhereUniqueInput = Prisma.AtLeast<{
id?: number
date?: bigint | number
AND?: Prisma.tech_dispoWhereInput | Prisma.tech_dispoWhereInput[]
OR?: Prisma.tech_dispoWhereInput[]
NOT?: Prisma.tech_dispoWhereInput | Prisma.tech_dispoWhereInput[]
tech?: Prisma.IntNullableFilter<"tech_dispo"> | number | null
}, "id" | "date">
export type tech_dispoOrderByWithAggregationInput = {
id?: Prisma.SortOrder
date?: Prisma.SortOrder
tech?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.tech_dispoCountOrderByAggregateInput
_avg?: Prisma.tech_dispoAvgOrderByAggregateInput
_max?: Prisma.tech_dispoMaxOrderByAggregateInput
_min?: Prisma.tech_dispoMinOrderByAggregateInput
_sum?: Prisma.tech_dispoSumOrderByAggregateInput
}
export type tech_dispoScalarWhereWithAggregatesInput = {
AND?: Prisma.tech_dispoScalarWhereWithAggregatesInput | Prisma.tech_dispoScalarWhereWithAggregatesInput[]
OR?: Prisma.tech_dispoScalarWhereWithAggregatesInput[]
NOT?: Prisma.tech_dispoScalarWhereWithAggregatesInput | Prisma.tech_dispoScalarWhereWithAggregatesInput[]
id?: Prisma.IntWithAggregatesFilter<"tech_dispo"> | number
date?: Prisma.BigIntWithAggregatesFilter<"tech_dispo"> | bigint | number
tech?: Prisma.IntNullableWithAggregatesFilter<"tech_dispo"> | number | null
}
export type tech_dispoCreateInput = {
date: bigint | number
tech?: number | null
}
export type tech_dispoUncheckedCreateInput = {
id?: number
date: bigint | number
tech?: number | null
}
export type tech_dispoUpdateInput = {
date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
tech?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
}
export type tech_dispoUncheckedUpdateInput = {
id?: Prisma.IntFieldUpdateOperationsInput | number
date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
tech?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
}
export type tech_dispoCreateManyInput = {
id?: number
date: bigint | number
tech?: number | null
}
export type tech_dispoUpdateManyMutationInput = {
date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
tech?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
}
export type tech_dispoUncheckedUpdateManyInput = {
id?: Prisma.IntFieldUpdateOperationsInput | number
date?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
tech?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
}
export type tech_dispoCountOrderByAggregateInput = {
id?: Prisma.SortOrder
date?: Prisma.SortOrder
tech?: Prisma.SortOrder
}
export type tech_dispoAvgOrderByAggregateInput = {
id?: Prisma.SortOrder
date?: Prisma.SortOrder
tech?: Prisma.SortOrder
}
export type tech_dispoMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
date?: Prisma.SortOrder
tech?: Prisma.SortOrder
}
export type tech_dispoMinOrderByAggregateInput = {
id?: Prisma.SortOrder
date?: Prisma.SortOrder
tech?: Prisma.SortOrder
}
export type tech_dispoSumOrderByAggregateInput = {
id?: Prisma.SortOrder
date?: Prisma.SortOrder
tech?: Prisma.SortOrder
}
export type tech_dispoSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
date?: boolean
tech?: boolean
}, ExtArgs["result"]["tech_dispo"]>
export type tech_dispoSelectScalar = {
id?: boolean
date?: boolean
tech?: boolean
}
export type tech_dispoOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "date" | "tech", ExtArgs["result"]["tech_dispo"]>
export type $tech_dispoPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "tech_dispo"
objects: {}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: number
date: bigint
tech: number | null
}, ExtArgs["result"]["tech_dispo"]>
composites: {}
}
export type tech_dispoGetPayload<S extends boolean | null | undefined | tech_dispoDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$tech_dispoPayload, S>
export type tech_dispoCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<tech_dispoFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: Tech_dispoCountAggregateInputType | true
}
export interface tech_dispoDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['tech_dispo'], meta: { name: 'tech_dispo' } }
/**
* Find zero or one Tech_dispo that matches the filter.
* @param {tech_dispoFindUniqueArgs} args - Arguments to find a Tech_dispo
* @example
* // Get one Tech_dispo
* const tech_dispo = await prisma.tech_dispo.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends tech_dispoFindUniqueArgs>(args: Prisma.SelectSubset<T, tech_dispoFindUniqueArgs<ExtArgs>>): Prisma.Prisma__tech_dispoClient<runtime.Types.Result.GetResult<Prisma.$tech_dispoPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one Tech_dispo that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {tech_dispoFindUniqueOrThrowArgs} args - Arguments to find a Tech_dispo
* @example
* // Get one Tech_dispo
* const tech_dispo = await prisma.tech_dispo.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends tech_dispoFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, tech_dispoFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__tech_dispoClient<runtime.Types.Result.GetResult<Prisma.$tech_dispoPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first Tech_dispo 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 {tech_dispoFindFirstArgs} args - Arguments to find a Tech_dispo
* @example
* // Get one Tech_dispo
* const tech_dispo = await prisma.tech_dispo.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends tech_dispoFindFirstArgs>(args?: Prisma.SelectSubset<T, tech_dispoFindFirstArgs<ExtArgs>>): Prisma.Prisma__tech_dispoClient<runtime.Types.Result.GetResult<Prisma.$tech_dispoPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first Tech_dispo 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 {tech_dispoFindFirstOrThrowArgs} args - Arguments to find a Tech_dispo
* @example
* // Get one Tech_dispo
* const tech_dispo = await prisma.tech_dispo.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends tech_dispoFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, tech_dispoFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__tech_dispoClient<runtime.Types.Result.GetResult<Prisma.$tech_dispoPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more Tech_dispos 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 {tech_dispoFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all Tech_dispos
* const tech_dispos = await prisma.tech_dispo.findMany()
*
* // Get first 10 Tech_dispos
* const tech_dispos = await prisma.tech_dispo.findMany({ take: 10 })
*
* // Only select the `id`
* const tech_dispoWithIdOnly = await prisma.tech_dispo.findMany({ select: { id: true } })
*
*/
findMany<T extends tech_dispoFindManyArgs>(args?: Prisma.SelectSubset<T, tech_dispoFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$tech_dispoPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a Tech_dispo.
* @param {tech_dispoCreateArgs} args - Arguments to create a Tech_dispo.
* @example
* // Create one Tech_dispo
* const Tech_dispo = await prisma.tech_dispo.create({
* data: {
* // ... data to create a Tech_dispo
* }
* })
*
*/
create<T extends tech_dispoCreateArgs>(args: Prisma.SelectSubset<T, tech_dispoCreateArgs<ExtArgs>>): Prisma.Prisma__tech_dispoClient<runtime.Types.Result.GetResult<Prisma.$tech_dispoPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many Tech_dispos.
* @param {tech_dispoCreateManyArgs} args - Arguments to create many Tech_dispos.
* @example
* // Create many Tech_dispos
* const tech_dispo = await prisma.tech_dispo.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends tech_dispoCreateManyArgs>(args?: Prisma.SelectSubset<T, tech_dispoCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Delete a Tech_dispo.
* @param {tech_dispoDeleteArgs} args - Arguments to delete one Tech_dispo.
* @example
* // Delete one Tech_dispo
* const Tech_dispo = await prisma.tech_dispo.delete({
* where: {
* // ... filter to delete one Tech_dispo
* }
* })
*
*/
delete<T extends tech_dispoDeleteArgs>(args: Prisma.SelectSubset<T, tech_dispoDeleteArgs<ExtArgs>>): Prisma.Prisma__tech_dispoClient<runtime.Types.Result.GetResult<Prisma.$tech_dispoPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one Tech_dispo.
* @param {tech_dispoUpdateArgs} args - Arguments to update one Tech_dispo.
* @example
* // Update one Tech_dispo
* const tech_dispo = await prisma.tech_dispo.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends tech_dispoUpdateArgs>(args: Prisma.SelectSubset<T, tech_dispoUpdateArgs<ExtArgs>>): Prisma.Prisma__tech_dispoClient<runtime.Types.Result.GetResult<Prisma.$tech_dispoPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more Tech_dispos.
* @param {tech_dispoDeleteManyArgs} args - Arguments to filter Tech_dispos to delete.
* @example
* // Delete a few Tech_dispos
* const { count } = await prisma.tech_dispo.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends tech_dispoDeleteManyArgs>(args?: Prisma.SelectSubset<T, tech_dispoDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Tech_dispos.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {tech_dispoUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many Tech_dispos
* const tech_dispo = await prisma.tech_dispo.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends tech_dispoUpdateManyArgs>(args: Prisma.SelectSubset<T, tech_dispoUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create or update one Tech_dispo.
* @param {tech_dispoUpsertArgs} args - Arguments to update or create a Tech_dispo.
* @example
* // Update or create a Tech_dispo
* const tech_dispo = await prisma.tech_dispo.upsert({
* create: {
* // ... data to create a Tech_dispo
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the Tech_dispo we want to update
* }
* })
*/
upsert<T extends tech_dispoUpsertArgs>(args: Prisma.SelectSubset<T, tech_dispoUpsertArgs<ExtArgs>>): Prisma.Prisma__tech_dispoClient<runtime.Types.Result.GetResult<Prisma.$tech_dispoPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of Tech_dispos.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {tech_dispoCountArgs} args - Arguments to filter Tech_dispos to count.
* @example
* // Count the number of Tech_dispos
* const count = await prisma.tech_dispo.count({
* where: {
* // ... the filter for the Tech_dispos we want to count
* }
* })
**/
count<T extends tech_dispoCountArgs>(
args?: Prisma.Subset<T, tech_dispoCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], Tech_dispoCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a Tech_dispo.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {Tech_dispoAggregateArgs} 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 Tech_dispoAggregateArgs>(args: Prisma.Subset<T, Tech_dispoAggregateArgs>): Prisma.PrismaPromise<GetTech_dispoAggregateType<T>>
/**
* Group by Tech_dispo.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {tech_dispoGroupByArgs} 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 tech_dispoGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: tech_dispoGroupByArgs['orderBy'] }
: { orderBy?: tech_dispoGroupByArgs['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, tech_dispoGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTech_dispoGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the tech_dispo model
*/
readonly fields: tech_dispoFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for tech_dispo.
* 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__tech_dispoClient<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 tech_dispo model
*/
export interface tech_dispoFieldRefs {
readonly id: Prisma.FieldRef<"tech_dispo", 'Int'>
readonly date: Prisma.FieldRef<"tech_dispo", 'BigInt'>
readonly tech: Prisma.FieldRef<"tech_dispo", 'Int'>
}
// Custom InputTypes
/**
* tech_dispo findUnique
*/
export type tech_dispoFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tech_dispo
*/
select?: Prisma.tech_dispoSelect<ExtArgs> | null
/**
* Omit specific fields from the tech_dispo
*/
omit?: Prisma.tech_dispoOmit<ExtArgs> | null
/**
* Filter, which tech_dispo to fetch.
*/
where: Prisma.tech_dispoWhereUniqueInput
}
/**
* tech_dispo findUniqueOrThrow
*/
export type tech_dispoFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tech_dispo
*/
select?: Prisma.tech_dispoSelect<ExtArgs> | null
/**
* Omit specific fields from the tech_dispo
*/
omit?: Prisma.tech_dispoOmit<ExtArgs> | null
/**
* Filter, which tech_dispo to fetch.
*/
where: Prisma.tech_dispoWhereUniqueInput
}
/**
* tech_dispo findFirst
*/
export type tech_dispoFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tech_dispo
*/
select?: Prisma.tech_dispoSelect<ExtArgs> | null
/**
* Omit specific fields from the tech_dispo
*/
omit?: Prisma.tech_dispoOmit<ExtArgs> | null
/**
* Filter, which tech_dispo to fetch.
*/
where?: Prisma.tech_dispoWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of tech_dispos to fetch.
*/
orderBy?: Prisma.tech_dispoOrderByWithRelationInput | Prisma.tech_dispoOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for tech_dispos.
*/
cursor?: Prisma.tech_dispoWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` tech_dispos 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` tech_dispos.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of tech_dispos.
*/
distinct?: Prisma.Tech_dispoScalarFieldEnum | Prisma.Tech_dispoScalarFieldEnum[]
}
/**
* tech_dispo findFirstOrThrow
*/
export type tech_dispoFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tech_dispo
*/
select?: Prisma.tech_dispoSelect<ExtArgs> | null
/**
* Omit specific fields from the tech_dispo
*/
omit?: Prisma.tech_dispoOmit<ExtArgs> | null
/**
* Filter, which tech_dispo to fetch.
*/
where?: Prisma.tech_dispoWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of tech_dispos to fetch.
*/
orderBy?: Prisma.tech_dispoOrderByWithRelationInput | Prisma.tech_dispoOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for tech_dispos.
*/
cursor?: Prisma.tech_dispoWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` tech_dispos 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` tech_dispos.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of tech_dispos.
*/
distinct?: Prisma.Tech_dispoScalarFieldEnum | Prisma.Tech_dispoScalarFieldEnum[]
}
/**
* tech_dispo findMany
*/
export type tech_dispoFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tech_dispo
*/
select?: Prisma.tech_dispoSelect<ExtArgs> | null
/**
* Omit specific fields from the tech_dispo
*/
omit?: Prisma.tech_dispoOmit<ExtArgs> | null
/**
* Filter, which tech_dispos to fetch.
*/
where?: Prisma.tech_dispoWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of tech_dispos to fetch.
*/
orderBy?: Prisma.tech_dispoOrderByWithRelationInput | Prisma.tech_dispoOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing tech_dispos.
*/
cursor?: Prisma.tech_dispoWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` tech_dispos 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` tech_dispos.
*/
skip?: number
distinct?: Prisma.Tech_dispoScalarFieldEnum | Prisma.Tech_dispoScalarFieldEnum[]
}
/**
* tech_dispo create
*/
export type tech_dispoCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tech_dispo
*/
select?: Prisma.tech_dispoSelect<ExtArgs> | null
/**
* Omit specific fields from the tech_dispo
*/
omit?: Prisma.tech_dispoOmit<ExtArgs> | null
/**
* The data needed to create a tech_dispo.
*/
data: Prisma.XOR<Prisma.tech_dispoCreateInput, Prisma.tech_dispoUncheckedCreateInput>
}
/**
* tech_dispo createMany
*/
export type tech_dispoCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many tech_dispos.
*/
data: Prisma.tech_dispoCreateManyInput | Prisma.tech_dispoCreateManyInput[]
skipDuplicates?: boolean
}
/**
* tech_dispo update
*/
export type tech_dispoUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tech_dispo
*/
select?: Prisma.tech_dispoSelect<ExtArgs> | null
/**
* Omit specific fields from the tech_dispo
*/
omit?: Prisma.tech_dispoOmit<ExtArgs> | null
/**
* The data needed to update a tech_dispo.
*/
data: Prisma.XOR<Prisma.tech_dispoUpdateInput, Prisma.tech_dispoUncheckedUpdateInput>
/**
* Choose, which tech_dispo to update.
*/
where: Prisma.tech_dispoWhereUniqueInput
}
/**
* tech_dispo updateMany
*/
export type tech_dispoUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update tech_dispos.
*/
data: Prisma.XOR<Prisma.tech_dispoUpdateManyMutationInput, Prisma.tech_dispoUncheckedUpdateManyInput>
/**
* Filter which tech_dispos to update
*/
where?: Prisma.tech_dispoWhereInput
/**
* Limit how many tech_dispos to update.
*/
limit?: number
}
/**
* tech_dispo upsert
*/
export type tech_dispoUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tech_dispo
*/
select?: Prisma.tech_dispoSelect<ExtArgs> | null
/**
* Omit specific fields from the tech_dispo
*/
omit?: Prisma.tech_dispoOmit<ExtArgs> | null
/**
* The filter to search for the tech_dispo to update in case it exists.
*/
where: Prisma.tech_dispoWhereUniqueInput
/**
* In case the tech_dispo found by the `where` argument doesn't exist, create a new tech_dispo with this data.
*/
create: Prisma.XOR<Prisma.tech_dispoCreateInput, Prisma.tech_dispoUncheckedCreateInput>
/**
* In case the tech_dispo was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.tech_dispoUpdateInput, Prisma.tech_dispoUncheckedUpdateInput>
}
/**
* tech_dispo delete
*/
export type tech_dispoDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tech_dispo
*/
select?: Prisma.tech_dispoSelect<ExtArgs> | null
/**
* Omit specific fields from the tech_dispo
*/
omit?: Prisma.tech_dispoOmit<ExtArgs> | null
/**
* Filter which tech_dispo to delete.
*/
where: Prisma.tech_dispoWhereUniqueInput
}
/**
* tech_dispo deleteMany
*/
export type tech_dispoDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which tech_dispos to delete
*/
where?: Prisma.tech_dispoWhereInput
/**
* Limit how many tech_dispos to delete.
*/
limit?: number
}
/**
* tech_dispo without action
*/
export type tech_dispoDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tech_dispo
*/
select?: Prisma.tech_dispoSelect<ExtArgs> | null
/**
* Omit specific fields from the tech_dispo
*/
omit?: Prisma.tech_dispoOmit<ExtArgs> | null
}