1133 lines
37 KiB
TypeScript
1133 lines
37 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 `conso` 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 conso
|
|
*
|
|
*/
|
|
export type consoModel = runtime.Types.Result.DefaultSelection<Prisma.$consoPayload>
|
|
|
|
export type AggregateConso = {
|
|
_count: ConsoCountAggregateOutputType | null
|
|
_avg: ConsoAvgAggregateOutputType | null
|
|
_sum: ConsoSumAggregateOutputType | null
|
|
_min: ConsoMinAggregateOutputType | null
|
|
_max: ConsoMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type ConsoAvgAggregateOutputType = {
|
|
id: number | null
|
|
date: number | null
|
|
total: number | null
|
|
total_day: number | null
|
|
total_night: number | null
|
|
}
|
|
|
|
export type ConsoSumAggregateOutputType = {
|
|
id: bigint | null
|
|
date: bigint | null
|
|
total: bigint | null
|
|
total_day: bigint | null
|
|
total_night: bigint | null
|
|
}
|
|
|
|
export type ConsoMinAggregateOutputType = {
|
|
id: bigint | null
|
|
ip_id: string | null
|
|
date: bigint | null
|
|
total: bigint | null
|
|
total_day: bigint | null
|
|
total_night: bigint | null
|
|
}
|
|
|
|
export type ConsoMaxAggregateOutputType = {
|
|
id: bigint | null
|
|
ip_id: string | null
|
|
date: bigint | null
|
|
total: bigint | null
|
|
total_day: bigint | null
|
|
total_night: bigint | null
|
|
}
|
|
|
|
export type ConsoCountAggregateOutputType = {
|
|
id: number
|
|
ip_id: number
|
|
date: number
|
|
total: number
|
|
total_day: number
|
|
total_night: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type ConsoAvgAggregateInputType = {
|
|
id?: true
|
|
date?: true
|
|
total?: true
|
|
total_day?: true
|
|
total_night?: true
|
|
}
|
|
|
|
export type ConsoSumAggregateInputType = {
|
|
id?: true
|
|
date?: true
|
|
total?: true
|
|
total_day?: true
|
|
total_night?: true
|
|
}
|
|
|
|
export type ConsoMinAggregateInputType = {
|
|
id?: true
|
|
ip_id?: true
|
|
date?: true
|
|
total?: true
|
|
total_day?: true
|
|
total_night?: true
|
|
}
|
|
|
|
export type ConsoMaxAggregateInputType = {
|
|
id?: true
|
|
ip_id?: true
|
|
date?: true
|
|
total?: true
|
|
total_day?: true
|
|
total_night?: true
|
|
}
|
|
|
|
export type ConsoCountAggregateInputType = {
|
|
id?: true
|
|
ip_id?: true
|
|
date?: true
|
|
total?: true
|
|
total_day?: true
|
|
total_night?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type ConsoAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which conso to aggregate.
|
|
*/
|
|
where?: Prisma.consoWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of consos to fetch.
|
|
*/
|
|
orderBy?: Prisma.consoOrderByWithRelationInput | Prisma.consoOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.consoWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` consos 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` consos.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned consos
|
|
**/
|
|
_count?: true | ConsoCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: ConsoAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: ConsoSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: ConsoMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: ConsoMaxAggregateInputType
|
|
}
|
|
|
|
export type GetConsoAggregateType<T extends ConsoAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateConso]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateConso[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateConso[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type consoGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.consoWhereInput
|
|
orderBy?: Prisma.consoOrderByWithAggregationInput | Prisma.consoOrderByWithAggregationInput[]
|
|
by: Prisma.ConsoScalarFieldEnum[] | Prisma.ConsoScalarFieldEnum
|
|
having?: Prisma.consoScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: ConsoCountAggregateInputType | true
|
|
_avg?: ConsoAvgAggregateInputType
|
|
_sum?: ConsoSumAggregateInputType
|
|
_min?: ConsoMinAggregateInputType
|
|
_max?: ConsoMaxAggregateInputType
|
|
}
|
|
|
|
export type ConsoGroupByOutputType = {
|
|
id: bigint
|
|
ip_id: string | null
|
|
date: bigint | null
|
|
total: bigint | null
|
|
total_day: bigint | null
|
|
total_night: bigint | null
|
|
_count: ConsoCountAggregateOutputType | null
|
|
_avg: ConsoAvgAggregateOutputType | null
|
|
_sum: ConsoSumAggregateOutputType | null
|
|
_min: ConsoMinAggregateOutputType | null
|
|
_max: ConsoMaxAggregateOutputType | null
|
|
}
|
|
|
|
type GetConsoGroupByPayload<T extends consoGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<ConsoGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof ConsoGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], ConsoGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], ConsoGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type consoWhereInput = {
|
|
AND?: Prisma.consoWhereInput | Prisma.consoWhereInput[]
|
|
OR?: Prisma.consoWhereInput[]
|
|
NOT?: Prisma.consoWhereInput | Prisma.consoWhereInput[]
|
|
id?: Prisma.BigIntFilter<"conso"> | bigint | number
|
|
ip_id?: Prisma.StringNullableFilter<"conso"> | string | null
|
|
date?: Prisma.BigIntNullableFilter<"conso"> | bigint | number | null
|
|
total?: Prisma.BigIntNullableFilter<"conso"> | bigint | number | null
|
|
total_day?: Prisma.BigIntNullableFilter<"conso"> | bigint | number | null
|
|
total_night?: Prisma.BigIntNullableFilter<"conso"> | bigint | number | null
|
|
}
|
|
|
|
export type consoOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
ip_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
date?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
total?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
total_day?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
total_night?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_relevance?: Prisma.consoOrderByRelevanceInput
|
|
}
|
|
|
|
export type consoWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: bigint | number
|
|
AND?: Prisma.consoWhereInput | Prisma.consoWhereInput[]
|
|
OR?: Prisma.consoWhereInput[]
|
|
NOT?: Prisma.consoWhereInput | Prisma.consoWhereInput[]
|
|
ip_id?: Prisma.StringNullableFilter<"conso"> | string | null
|
|
date?: Prisma.BigIntNullableFilter<"conso"> | bigint | number | null
|
|
total?: Prisma.BigIntNullableFilter<"conso"> | bigint | number | null
|
|
total_day?: Prisma.BigIntNullableFilter<"conso"> | bigint | number | null
|
|
total_night?: Prisma.BigIntNullableFilter<"conso"> | bigint | number | null
|
|
}, "id">
|
|
|
|
export type consoOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
ip_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
date?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
total?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
total_day?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
total_night?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.consoCountOrderByAggregateInput
|
|
_avg?: Prisma.consoAvgOrderByAggregateInput
|
|
_max?: Prisma.consoMaxOrderByAggregateInput
|
|
_min?: Prisma.consoMinOrderByAggregateInput
|
|
_sum?: Prisma.consoSumOrderByAggregateInput
|
|
}
|
|
|
|
export type consoScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.consoScalarWhereWithAggregatesInput | Prisma.consoScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.consoScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.consoScalarWhereWithAggregatesInput | Prisma.consoScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.BigIntWithAggregatesFilter<"conso"> | bigint | number
|
|
ip_id?: Prisma.StringNullableWithAggregatesFilter<"conso"> | string | null
|
|
date?: Prisma.BigIntNullableWithAggregatesFilter<"conso"> | bigint | number | null
|
|
total?: Prisma.BigIntNullableWithAggregatesFilter<"conso"> | bigint | number | null
|
|
total_day?: Prisma.BigIntNullableWithAggregatesFilter<"conso"> | bigint | number | null
|
|
total_night?: Prisma.BigIntNullableWithAggregatesFilter<"conso"> | bigint | number | null
|
|
}
|
|
|
|
export type consoCreateInput = {
|
|
id?: bigint | number
|
|
ip_id?: string | null
|
|
date?: bigint | number | null
|
|
total?: bigint | number | null
|
|
total_day?: bigint | number | null
|
|
total_night?: bigint | number | null
|
|
}
|
|
|
|
export type consoUncheckedCreateInput = {
|
|
id?: bigint | number
|
|
ip_id?: string | null
|
|
date?: bigint | number | null
|
|
total?: bigint | number | null
|
|
total_day?: bigint | number | null
|
|
total_night?: bigint | number | null
|
|
}
|
|
|
|
export type consoUpdateInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
ip_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
date?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
total?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
total_day?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
total_night?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
}
|
|
|
|
export type consoUncheckedUpdateInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
ip_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
date?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
total?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
total_day?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
total_night?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
}
|
|
|
|
export type consoCreateManyInput = {
|
|
id?: bigint | number
|
|
ip_id?: string | null
|
|
date?: bigint | number | null
|
|
total?: bigint | number | null
|
|
total_day?: bigint | number | null
|
|
total_night?: bigint | number | null
|
|
}
|
|
|
|
export type consoUpdateManyMutationInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
ip_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
date?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
total?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
total_day?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
total_night?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
}
|
|
|
|
export type consoUncheckedUpdateManyInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
ip_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
date?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
total?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
total_day?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
total_night?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
}
|
|
|
|
export type consoOrderByRelevanceInput = {
|
|
fields: Prisma.consoOrderByRelevanceFieldEnum | Prisma.consoOrderByRelevanceFieldEnum[]
|
|
sort: Prisma.SortOrder
|
|
search: string
|
|
}
|
|
|
|
export type consoCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
ip_id?: Prisma.SortOrder
|
|
date?: Prisma.SortOrder
|
|
total?: Prisma.SortOrder
|
|
total_day?: Prisma.SortOrder
|
|
total_night?: Prisma.SortOrder
|
|
}
|
|
|
|
export type consoAvgOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
date?: Prisma.SortOrder
|
|
total?: Prisma.SortOrder
|
|
total_day?: Prisma.SortOrder
|
|
total_night?: Prisma.SortOrder
|
|
}
|
|
|
|
export type consoMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
ip_id?: Prisma.SortOrder
|
|
date?: Prisma.SortOrder
|
|
total?: Prisma.SortOrder
|
|
total_day?: Prisma.SortOrder
|
|
total_night?: Prisma.SortOrder
|
|
}
|
|
|
|
export type consoMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
ip_id?: Prisma.SortOrder
|
|
date?: Prisma.SortOrder
|
|
total?: Prisma.SortOrder
|
|
total_day?: Prisma.SortOrder
|
|
total_night?: Prisma.SortOrder
|
|
}
|
|
|
|
export type consoSumOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
date?: Prisma.SortOrder
|
|
total?: Prisma.SortOrder
|
|
total_day?: Prisma.SortOrder
|
|
total_night?: Prisma.SortOrder
|
|
}
|
|
|
|
|
|
|
|
export type consoSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
ip_id?: boolean
|
|
date?: boolean
|
|
total?: boolean
|
|
total_day?: boolean
|
|
total_night?: boolean
|
|
}, ExtArgs["result"]["conso"]>
|
|
|
|
|
|
|
|
export type consoSelectScalar = {
|
|
id?: boolean
|
|
ip_id?: boolean
|
|
date?: boolean
|
|
total?: boolean
|
|
total_day?: boolean
|
|
total_night?: boolean
|
|
}
|
|
|
|
export type consoOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "ip_id" | "date" | "total" | "total_day" | "total_night", ExtArgs["result"]["conso"]>
|
|
|
|
export type $consoPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "conso"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: bigint
|
|
ip_id: string | null
|
|
date: bigint | null
|
|
total: bigint | null
|
|
total_day: bigint | null
|
|
total_night: bigint | null
|
|
}, ExtArgs["result"]["conso"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type consoGetPayload<S extends boolean | null | undefined | consoDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$consoPayload, S>
|
|
|
|
export type consoCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<consoFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: ConsoCountAggregateInputType | true
|
|
}
|
|
|
|
export interface consoDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['conso'], meta: { name: 'conso' } }
|
|
/**
|
|
* Find zero or one Conso that matches the filter.
|
|
* @param {consoFindUniqueArgs} args - Arguments to find a Conso
|
|
* @example
|
|
* // Get one Conso
|
|
* const conso = await prisma.conso.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends consoFindUniqueArgs>(args: Prisma.SelectSubset<T, consoFindUniqueArgs<ExtArgs>>): Prisma.Prisma__consoClient<runtime.Types.Result.GetResult<Prisma.$consoPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one Conso that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {consoFindUniqueOrThrowArgs} args - Arguments to find a Conso
|
|
* @example
|
|
* // Get one Conso
|
|
* const conso = await prisma.conso.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends consoFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, consoFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__consoClient<runtime.Types.Result.GetResult<Prisma.$consoPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Conso 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 {consoFindFirstArgs} args - Arguments to find a Conso
|
|
* @example
|
|
* // Get one Conso
|
|
* const conso = await prisma.conso.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends consoFindFirstArgs>(args?: Prisma.SelectSubset<T, consoFindFirstArgs<ExtArgs>>): Prisma.Prisma__consoClient<runtime.Types.Result.GetResult<Prisma.$consoPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Conso 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 {consoFindFirstOrThrowArgs} args - Arguments to find a Conso
|
|
* @example
|
|
* // Get one Conso
|
|
* const conso = await prisma.conso.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends consoFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, consoFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__consoClient<runtime.Types.Result.GetResult<Prisma.$consoPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more Consos 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 {consoFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all Consos
|
|
* const consos = await prisma.conso.findMany()
|
|
*
|
|
* // Get first 10 Consos
|
|
* const consos = await prisma.conso.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const consoWithIdOnly = await prisma.conso.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends consoFindManyArgs>(args?: Prisma.SelectSubset<T, consoFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$consoPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a Conso.
|
|
* @param {consoCreateArgs} args - Arguments to create a Conso.
|
|
* @example
|
|
* // Create one Conso
|
|
* const Conso = await prisma.conso.create({
|
|
* data: {
|
|
* // ... data to create a Conso
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends consoCreateArgs>(args: Prisma.SelectSubset<T, consoCreateArgs<ExtArgs>>): Prisma.Prisma__consoClient<runtime.Types.Result.GetResult<Prisma.$consoPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many Consos.
|
|
* @param {consoCreateManyArgs} args - Arguments to create many Consos.
|
|
* @example
|
|
* // Create many Consos
|
|
* const conso = await prisma.conso.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends consoCreateManyArgs>(args?: Prisma.SelectSubset<T, consoCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Delete a Conso.
|
|
* @param {consoDeleteArgs} args - Arguments to delete one Conso.
|
|
* @example
|
|
* // Delete one Conso
|
|
* const Conso = await prisma.conso.delete({
|
|
* where: {
|
|
* // ... filter to delete one Conso
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends consoDeleteArgs>(args: Prisma.SelectSubset<T, consoDeleteArgs<ExtArgs>>): Prisma.Prisma__consoClient<runtime.Types.Result.GetResult<Prisma.$consoPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one Conso.
|
|
* @param {consoUpdateArgs} args - Arguments to update one Conso.
|
|
* @example
|
|
* // Update one Conso
|
|
* const conso = await prisma.conso.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends consoUpdateArgs>(args: Prisma.SelectSubset<T, consoUpdateArgs<ExtArgs>>): Prisma.Prisma__consoClient<runtime.Types.Result.GetResult<Prisma.$consoPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more Consos.
|
|
* @param {consoDeleteManyArgs} args - Arguments to filter Consos to delete.
|
|
* @example
|
|
* // Delete a few Consos
|
|
* const { count } = await prisma.conso.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends consoDeleteManyArgs>(args?: Prisma.SelectSubset<T, consoDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Consos.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {consoUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many Consos
|
|
* const conso = await prisma.conso.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends consoUpdateManyArgs>(args: Prisma.SelectSubset<T, consoUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create or update one Conso.
|
|
* @param {consoUpsertArgs} args - Arguments to update or create a Conso.
|
|
* @example
|
|
* // Update or create a Conso
|
|
* const conso = await prisma.conso.upsert({
|
|
* create: {
|
|
* // ... data to create a Conso
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the Conso we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends consoUpsertArgs>(args: Prisma.SelectSubset<T, consoUpsertArgs<ExtArgs>>): Prisma.Prisma__consoClient<runtime.Types.Result.GetResult<Prisma.$consoPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of Consos.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {consoCountArgs} args - Arguments to filter Consos to count.
|
|
* @example
|
|
* // Count the number of Consos
|
|
* const count = await prisma.conso.count({
|
|
* where: {
|
|
* // ... the filter for the Consos we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends consoCountArgs>(
|
|
args?: Prisma.Subset<T, consoCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], ConsoCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a Conso.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ConsoAggregateArgs} 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 ConsoAggregateArgs>(args: Prisma.Subset<T, ConsoAggregateArgs>): Prisma.PrismaPromise<GetConsoAggregateType<T>>
|
|
|
|
/**
|
|
* Group by Conso.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {consoGroupByArgs} 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 consoGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: consoGroupByArgs['orderBy'] }
|
|
: { orderBy?: consoGroupByArgs['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, consoGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetConsoGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the conso model
|
|
*/
|
|
readonly fields: consoFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for conso.
|
|
* 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__consoClient<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 conso model
|
|
*/
|
|
export interface consoFieldRefs {
|
|
readonly id: Prisma.FieldRef<"conso", 'BigInt'>
|
|
readonly ip_id: Prisma.FieldRef<"conso", 'String'>
|
|
readonly date: Prisma.FieldRef<"conso", 'BigInt'>
|
|
readonly total: Prisma.FieldRef<"conso", 'BigInt'>
|
|
readonly total_day: Prisma.FieldRef<"conso", 'BigInt'>
|
|
readonly total_night: Prisma.FieldRef<"conso", 'BigInt'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* conso findUnique
|
|
*/
|
|
export type consoFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the conso
|
|
*/
|
|
select?: Prisma.consoSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the conso
|
|
*/
|
|
omit?: Prisma.consoOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which conso to fetch.
|
|
*/
|
|
where: Prisma.consoWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* conso findUniqueOrThrow
|
|
*/
|
|
export type consoFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the conso
|
|
*/
|
|
select?: Prisma.consoSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the conso
|
|
*/
|
|
omit?: Prisma.consoOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which conso to fetch.
|
|
*/
|
|
where: Prisma.consoWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* conso findFirst
|
|
*/
|
|
export type consoFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the conso
|
|
*/
|
|
select?: Prisma.consoSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the conso
|
|
*/
|
|
omit?: Prisma.consoOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which conso to fetch.
|
|
*/
|
|
where?: Prisma.consoWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of consos to fetch.
|
|
*/
|
|
orderBy?: Prisma.consoOrderByWithRelationInput | Prisma.consoOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for consos.
|
|
*/
|
|
cursor?: Prisma.consoWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` consos 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` consos.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of consos.
|
|
*/
|
|
distinct?: Prisma.ConsoScalarFieldEnum | Prisma.ConsoScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* conso findFirstOrThrow
|
|
*/
|
|
export type consoFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the conso
|
|
*/
|
|
select?: Prisma.consoSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the conso
|
|
*/
|
|
omit?: Prisma.consoOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which conso to fetch.
|
|
*/
|
|
where?: Prisma.consoWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of consos to fetch.
|
|
*/
|
|
orderBy?: Prisma.consoOrderByWithRelationInput | Prisma.consoOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for consos.
|
|
*/
|
|
cursor?: Prisma.consoWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` consos 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` consos.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of consos.
|
|
*/
|
|
distinct?: Prisma.ConsoScalarFieldEnum | Prisma.ConsoScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* conso findMany
|
|
*/
|
|
export type consoFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the conso
|
|
*/
|
|
select?: Prisma.consoSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the conso
|
|
*/
|
|
omit?: Prisma.consoOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which consos to fetch.
|
|
*/
|
|
where?: Prisma.consoWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of consos to fetch.
|
|
*/
|
|
orderBy?: Prisma.consoOrderByWithRelationInput | Prisma.consoOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing consos.
|
|
*/
|
|
cursor?: Prisma.consoWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` consos 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` consos.
|
|
*/
|
|
skip?: number
|
|
distinct?: Prisma.ConsoScalarFieldEnum | Prisma.ConsoScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* conso create
|
|
*/
|
|
export type consoCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the conso
|
|
*/
|
|
select?: Prisma.consoSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the conso
|
|
*/
|
|
omit?: Prisma.consoOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a conso.
|
|
*/
|
|
data?: Prisma.XOR<Prisma.consoCreateInput, Prisma.consoUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* conso createMany
|
|
*/
|
|
export type consoCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many consos.
|
|
*/
|
|
data: Prisma.consoCreateManyInput | Prisma.consoCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* conso update
|
|
*/
|
|
export type consoUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the conso
|
|
*/
|
|
select?: Prisma.consoSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the conso
|
|
*/
|
|
omit?: Prisma.consoOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a conso.
|
|
*/
|
|
data: Prisma.XOR<Prisma.consoUpdateInput, Prisma.consoUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which conso to update.
|
|
*/
|
|
where: Prisma.consoWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* conso updateMany
|
|
*/
|
|
export type consoUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update consos.
|
|
*/
|
|
data: Prisma.XOR<Prisma.consoUpdateManyMutationInput, Prisma.consoUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which consos to update
|
|
*/
|
|
where?: Prisma.consoWhereInput
|
|
/**
|
|
* Limit how many consos to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* conso upsert
|
|
*/
|
|
export type consoUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the conso
|
|
*/
|
|
select?: Prisma.consoSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the conso
|
|
*/
|
|
omit?: Prisma.consoOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the conso to update in case it exists.
|
|
*/
|
|
where: Prisma.consoWhereUniqueInput
|
|
/**
|
|
* In case the conso found by the `where` argument doesn't exist, create a new conso with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.consoCreateInput, Prisma.consoUncheckedCreateInput>
|
|
/**
|
|
* In case the conso was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.consoUpdateInput, Prisma.consoUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* conso delete
|
|
*/
|
|
export type consoDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the conso
|
|
*/
|
|
select?: Prisma.consoSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the conso
|
|
*/
|
|
omit?: Prisma.consoOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which conso to delete.
|
|
*/
|
|
where: Prisma.consoWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* conso deleteMany
|
|
*/
|
|
export type consoDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which consos to delete
|
|
*/
|
|
where?: Prisma.consoWhereInput
|
|
/**
|
|
* Limit how many consos to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* conso without action
|
|
*/
|
|
export type consoDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the conso
|
|
*/
|
|
select?: Prisma.consoSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the conso
|
|
*/
|
|
omit?: Prisma.consoOmit<ExtArgs> | null
|
|
}
|