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

1167 lines
39 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 `debug` 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 debug
* ************** DEPRECATED ********************************************
*/
export type debugModel = runtime.Types.Result.DefaultSelection<Prisma.$debugPayload>
export type AggregateDebug = {
_count: DebugCountAggregateOutputType | null
_avg: DebugAvgAggregateOutputType | null
_sum: DebugSumAggregateOutputType | null
_min: DebugMinAggregateOutputType | null
_max: DebugMaxAggregateOutputType | null
}
export type DebugAvgAggregateOutputType = {
id: number | null
date_last: number | null
}
export type DebugSumAggregateOutputType = {
id: bigint | null
date_last: bigint | null
}
export type DebugMinAggregateOutputType = {
id: bigint | null
autor: string | null
url: string | null
date_last: bigint | null
desc: string | null
note4autor: string | null
note4dev: string | null
status: string | null
}
export type DebugMaxAggregateOutputType = {
id: bigint | null
autor: string | null
url: string | null
date_last: bigint | null
desc: string | null
note4autor: string | null
note4dev: string | null
status: string | null
}
export type DebugCountAggregateOutputType = {
id: number
autor: number
url: number
date_last: number
desc: number
note4autor: number
note4dev: number
status: number
_all: number
}
export type DebugAvgAggregateInputType = {
id?: true
date_last?: true
}
export type DebugSumAggregateInputType = {
id?: true
date_last?: true
}
export type DebugMinAggregateInputType = {
id?: true
autor?: true
url?: true
date_last?: true
desc?: true
note4autor?: true
note4dev?: true
status?: true
}
export type DebugMaxAggregateInputType = {
id?: true
autor?: true
url?: true
date_last?: true
desc?: true
note4autor?: true
note4dev?: true
status?: true
}
export type DebugCountAggregateInputType = {
id?: true
autor?: true
url?: true
date_last?: true
desc?: true
note4autor?: true
note4dev?: true
status?: true
_all?: true
}
export type DebugAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which debug to aggregate.
*/
where?: Prisma.debugWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of debugs to fetch.
*/
orderBy?: Prisma.debugOrderByWithRelationInput | Prisma.debugOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.debugWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` debugs 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` debugs.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned debugs
**/
_count?: true | DebugCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: DebugAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: DebugSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: DebugMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: DebugMaxAggregateInputType
}
export type GetDebugAggregateType<T extends DebugAggregateArgs> = {
[P in keyof T & keyof AggregateDebug]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateDebug[P]>
: Prisma.GetScalarType<T[P], AggregateDebug[P]>
}
export type debugGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.debugWhereInput
orderBy?: Prisma.debugOrderByWithAggregationInput | Prisma.debugOrderByWithAggregationInput[]
by: Prisma.DebugScalarFieldEnum[] | Prisma.DebugScalarFieldEnum
having?: Prisma.debugScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: DebugCountAggregateInputType | true
_avg?: DebugAvgAggregateInputType
_sum?: DebugSumAggregateInputType
_min?: DebugMinAggregateInputType
_max?: DebugMaxAggregateInputType
}
export type DebugGroupByOutputType = {
id: bigint
autor: string | null
url: string | null
date_last: bigint | null
desc: string | null
note4autor: string | null
note4dev: string | null
status: string | null
_count: DebugCountAggregateOutputType | null
_avg: DebugAvgAggregateOutputType | null
_sum: DebugSumAggregateOutputType | null
_min: DebugMinAggregateOutputType | null
_max: DebugMaxAggregateOutputType | null
}
type GetDebugGroupByPayload<T extends debugGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<DebugGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof DebugGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], DebugGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], DebugGroupByOutputType[P]>
}
>
>
export type debugWhereInput = {
AND?: Prisma.debugWhereInput | Prisma.debugWhereInput[]
OR?: Prisma.debugWhereInput[]
NOT?: Prisma.debugWhereInput | Prisma.debugWhereInput[]
id?: Prisma.BigIntFilter<"debug"> | bigint | number
autor?: Prisma.StringNullableFilter<"debug"> | string | null
url?: Prisma.StringNullableFilter<"debug"> | string | null
date_last?: Prisma.BigIntNullableFilter<"debug"> | bigint | number | null
desc?: Prisma.StringNullableFilter<"debug"> | string | null
note4autor?: Prisma.StringNullableFilter<"debug"> | string | null
note4dev?: Prisma.StringNullableFilter<"debug"> | string | null
status?: Prisma.StringNullableFilter<"debug"> | string | null
}
export type debugOrderByWithRelationInput = {
id?: Prisma.SortOrder
autor?: Prisma.SortOrderInput | Prisma.SortOrder
url?: Prisma.SortOrderInput | Prisma.SortOrder
date_last?: Prisma.SortOrderInput | Prisma.SortOrder
desc?: Prisma.SortOrderInput | Prisma.SortOrder
note4autor?: Prisma.SortOrderInput | Prisma.SortOrder
note4dev?: Prisma.SortOrderInput | Prisma.SortOrder
status?: Prisma.SortOrderInput | Prisma.SortOrder
_relevance?: Prisma.debugOrderByRelevanceInput
}
export type debugWhereUniqueInput = Prisma.AtLeast<{
id?: bigint | number
AND?: Prisma.debugWhereInput | Prisma.debugWhereInput[]
OR?: Prisma.debugWhereInput[]
NOT?: Prisma.debugWhereInput | Prisma.debugWhereInput[]
autor?: Prisma.StringNullableFilter<"debug"> | string | null
url?: Prisma.StringNullableFilter<"debug"> | string | null
date_last?: Prisma.BigIntNullableFilter<"debug"> | bigint | number | null
desc?: Prisma.StringNullableFilter<"debug"> | string | null
note4autor?: Prisma.StringNullableFilter<"debug"> | string | null
note4dev?: Prisma.StringNullableFilter<"debug"> | string | null
status?: Prisma.StringNullableFilter<"debug"> | string | null
}, "id">
export type debugOrderByWithAggregationInput = {
id?: Prisma.SortOrder
autor?: Prisma.SortOrderInput | Prisma.SortOrder
url?: Prisma.SortOrderInput | Prisma.SortOrder
date_last?: Prisma.SortOrderInput | Prisma.SortOrder
desc?: Prisma.SortOrderInput | Prisma.SortOrder
note4autor?: Prisma.SortOrderInput | Prisma.SortOrder
note4dev?: Prisma.SortOrderInput | Prisma.SortOrder
status?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.debugCountOrderByAggregateInput
_avg?: Prisma.debugAvgOrderByAggregateInput
_max?: Prisma.debugMaxOrderByAggregateInput
_min?: Prisma.debugMinOrderByAggregateInput
_sum?: Prisma.debugSumOrderByAggregateInput
}
export type debugScalarWhereWithAggregatesInput = {
AND?: Prisma.debugScalarWhereWithAggregatesInput | Prisma.debugScalarWhereWithAggregatesInput[]
OR?: Prisma.debugScalarWhereWithAggregatesInput[]
NOT?: Prisma.debugScalarWhereWithAggregatesInput | Prisma.debugScalarWhereWithAggregatesInput[]
id?: Prisma.BigIntWithAggregatesFilter<"debug"> | bigint | number
autor?: Prisma.StringNullableWithAggregatesFilter<"debug"> | string | null
url?: Prisma.StringNullableWithAggregatesFilter<"debug"> | string | null
date_last?: Prisma.BigIntNullableWithAggregatesFilter<"debug"> | bigint | number | null
desc?: Prisma.StringNullableWithAggregatesFilter<"debug"> | string | null
note4autor?: Prisma.StringNullableWithAggregatesFilter<"debug"> | string | null
note4dev?: Prisma.StringNullableWithAggregatesFilter<"debug"> | string | null
status?: Prisma.StringNullableWithAggregatesFilter<"debug"> | string | null
}
export type debugCreateInput = {
id?: bigint | number
autor?: string | null
url?: string | null
date_last?: bigint | number | null
desc?: string | null
note4autor?: string | null
note4dev?: string | null
status?: string | null
}
export type debugUncheckedCreateInput = {
id?: bigint | number
autor?: string | null
url?: string | null
date_last?: bigint | number | null
desc?: string | null
note4autor?: string | null
note4dev?: string | null
status?: string | null
}
export type debugUpdateInput = {
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
autor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
date_last?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
note4autor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
note4dev?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type debugUncheckedUpdateInput = {
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
autor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
date_last?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
note4autor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
note4dev?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type debugCreateManyInput = {
id?: bigint | number
autor?: string | null
url?: string | null
date_last?: bigint | number | null
desc?: string | null
note4autor?: string | null
note4dev?: string | null
status?: string | null
}
export type debugUpdateManyMutationInput = {
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
autor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
date_last?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
note4autor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
note4dev?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type debugUncheckedUpdateManyInput = {
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
autor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
date_last?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
note4autor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
note4dev?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type debugOrderByRelevanceInput = {
fields: Prisma.debugOrderByRelevanceFieldEnum | Prisma.debugOrderByRelevanceFieldEnum[]
sort: Prisma.SortOrder
search: string
}
export type debugCountOrderByAggregateInput = {
id?: Prisma.SortOrder
autor?: Prisma.SortOrder
url?: Prisma.SortOrder
date_last?: Prisma.SortOrder
desc?: Prisma.SortOrder
note4autor?: Prisma.SortOrder
note4dev?: Prisma.SortOrder
status?: Prisma.SortOrder
}
export type debugAvgOrderByAggregateInput = {
id?: Prisma.SortOrder
date_last?: Prisma.SortOrder
}
export type debugMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
autor?: Prisma.SortOrder
url?: Prisma.SortOrder
date_last?: Prisma.SortOrder
desc?: Prisma.SortOrder
note4autor?: Prisma.SortOrder
note4dev?: Prisma.SortOrder
status?: Prisma.SortOrder
}
export type debugMinOrderByAggregateInput = {
id?: Prisma.SortOrder
autor?: Prisma.SortOrder
url?: Prisma.SortOrder
date_last?: Prisma.SortOrder
desc?: Prisma.SortOrder
note4autor?: Prisma.SortOrder
note4dev?: Prisma.SortOrder
status?: Prisma.SortOrder
}
export type debugSumOrderByAggregateInput = {
id?: Prisma.SortOrder
date_last?: Prisma.SortOrder
}
export type debugSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
autor?: boolean
url?: boolean
date_last?: boolean
desc?: boolean
note4autor?: boolean
note4dev?: boolean
status?: boolean
}, ExtArgs["result"]["debug"]>
export type debugSelectScalar = {
id?: boolean
autor?: boolean
url?: boolean
date_last?: boolean
desc?: boolean
note4autor?: boolean
note4dev?: boolean
status?: boolean
}
export type debugOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "autor" | "url" | "date_last" | "desc" | "note4autor" | "note4dev" | "status", ExtArgs["result"]["debug"]>
export type $debugPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "debug"
objects: {}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: bigint
autor: string | null
url: string | null
date_last: bigint | null
desc: string | null
note4autor: string | null
note4dev: string | null
status: string | null
}, ExtArgs["result"]["debug"]>
composites: {}
}
export type debugGetPayload<S extends boolean | null | undefined | debugDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$debugPayload, S>
export type debugCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<debugFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: DebugCountAggregateInputType | true
}
export interface debugDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['debug'], meta: { name: 'debug' } }
/**
* Find zero or one Debug that matches the filter.
* @param {debugFindUniqueArgs} args - Arguments to find a Debug
* @example
* // Get one Debug
* const debug = await prisma.debug.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends debugFindUniqueArgs>(args: Prisma.SelectSubset<T, debugFindUniqueArgs<ExtArgs>>): Prisma.Prisma__debugClient<runtime.Types.Result.GetResult<Prisma.$debugPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one Debug that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {debugFindUniqueOrThrowArgs} args - Arguments to find a Debug
* @example
* // Get one Debug
* const debug = await prisma.debug.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends debugFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, debugFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__debugClient<runtime.Types.Result.GetResult<Prisma.$debugPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first Debug 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 {debugFindFirstArgs} args - Arguments to find a Debug
* @example
* // Get one Debug
* const debug = await prisma.debug.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends debugFindFirstArgs>(args?: Prisma.SelectSubset<T, debugFindFirstArgs<ExtArgs>>): Prisma.Prisma__debugClient<runtime.Types.Result.GetResult<Prisma.$debugPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first Debug 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 {debugFindFirstOrThrowArgs} args - Arguments to find a Debug
* @example
* // Get one Debug
* const debug = await prisma.debug.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends debugFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, debugFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__debugClient<runtime.Types.Result.GetResult<Prisma.$debugPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more Debugs 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 {debugFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all Debugs
* const debugs = await prisma.debug.findMany()
*
* // Get first 10 Debugs
* const debugs = await prisma.debug.findMany({ take: 10 })
*
* // Only select the `id`
* const debugWithIdOnly = await prisma.debug.findMany({ select: { id: true } })
*
*/
findMany<T extends debugFindManyArgs>(args?: Prisma.SelectSubset<T, debugFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$debugPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a Debug.
* @param {debugCreateArgs} args - Arguments to create a Debug.
* @example
* // Create one Debug
* const Debug = await prisma.debug.create({
* data: {
* // ... data to create a Debug
* }
* })
*
*/
create<T extends debugCreateArgs>(args: Prisma.SelectSubset<T, debugCreateArgs<ExtArgs>>): Prisma.Prisma__debugClient<runtime.Types.Result.GetResult<Prisma.$debugPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many Debugs.
* @param {debugCreateManyArgs} args - Arguments to create many Debugs.
* @example
* // Create many Debugs
* const debug = await prisma.debug.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends debugCreateManyArgs>(args?: Prisma.SelectSubset<T, debugCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Delete a Debug.
* @param {debugDeleteArgs} args - Arguments to delete one Debug.
* @example
* // Delete one Debug
* const Debug = await prisma.debug.delete({
* where: {
* // ... filter to delete one Debug
* }
* })
*
*/
delete<T extends debugDeleteArgs>(args: Prisma.SelectSubset<T, debugDeleteArgs<ExtArgs>>): Prisma.Prisma__debugClient<runtime.Types.Result.GetResult<Prisma.$debugPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one Debug.
* @param {debugUpdateArgs} args - Arguments to update one Debug.
* @example
* // Update one Debug
* const debug = await prisma.debug.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends debugUpdateArgs>(args: Prisma.SelectSubset<T, debugUpdateArgs<ExtArgs>>): Prisma.Prisma__debugClient<runtime.Types.Result.GetResult<Prisma.$debugPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more Debugs.
* @param {debugDeleteManyArgs} args - Arguments to filter Debugs to delete.
* @example
* // Delete a few Debugs
* const { count } = await prisma.debug.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends debugDeleteManyArgs>(args?: Prisma.SelectSubset<T, debugDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Debugs.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {debugUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many Debugs
* const debug = await prisma.debug.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends debugUpdateManyArgs>(args: Prisma.SelectSubset<T, debugUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create or update one Debug.
* @param {debugUpsertArgs} args - Arguments to update or create a Debug.
* @example
* // Update or create a Debug
* const debug = await prisma.debug.upsert({
* create: {
* // ... data to create a Debug
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the Debug we want to update
* }
* })
*/
upsert<T extends debugUpsertArgs>(args: Prisma.SelectSubset<T, debugUpsertArgs<ExtArgs>>): Prisma.Prisma__debugClient<runtime.Types.Result.GetResult<Prisma.$debugPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of Debugs.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {debugCountArgs} args - Arguments to filter Debugs to count.
* @example
* // Count the number of Debugs
* const count = await prisma.debug.count({
* where: {
* // ... the filter for the Debugs we want to count
* }
* })
**/
count<T extends debugCountArgs>(
args?: Prisma.Subset<T, debugCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], DebugCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a Debug.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {DebugAggregateArgs} 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 DebugAggregateArgs>(args: Prisma.Subset<T, DebugAggregateArgs>): Prisma.PrismaPromise<GetDebugAggregateType<T>>
/**
* Group by Debug.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {debugGroupByArgs} 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 debugGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: debugGroupByArgs['orderBy'] }
: { orderBy?: debugGroupByArgs['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, debugGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDebugGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the debug model
*/
readonly fields: debugFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for debug.
* 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__debugClient<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 debug model
*/
export interface debugFieldRefs {
readonly id: Prisma.FieldRef<"debug", 'BigInt'>
readonly autor: Prisma.FieldRef<"debug", 'String'>
readonly url: Prisma.FieldRef<"debug", 'String'>
readonly date_last: Prisma.FieldRef<"debug", 'BigInt'>
readonly desc: Prisma.FieldRef<"debug", 'String'>
readonly note4autor: Prisma.FieldRef<"debug", 'String'>
readonly note4dev: Prisma.FieldRef<"debug", 'String'>
readonly status: Prisma.FieldRef<"debug", 'String'>
}
// Custom InputTypes
/**
* debug findUnique
*/
export type debugFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the debug
*/
select?: Prisma.debugSelect<ExtArgs> | null
/**
* Omit specific fields from the debug
*/
omit?: Prisma.debugOmit<ExtArgs> | null
/**
* Filter, which debug to fetch.
*/
where: Prisma.debugWhereUniqueInput
}
/**
* debug findUniqueOrThrow
*/
export type debugFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the debug
*/
select?: Prisma.debugSelect<ExtArgs> | null
/**
* Omit specific fields from the debug
*/
omit?: Prisma.debugOmit<ExtArgs> | null
/**
* Filter, which debug to fetch.
*/
where: Prisma.debugWhereUniqueInput
}
/**
* debug findFirst
*/
export type debugFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the debug
*/
select?: Prisma.debugSelect<ExtArgs> | null
/**
* Omit specific fields from the debug
*/
omit?: Prisma.debugOmit<ExtArgs> | null
/**
* Filter, which debug to fetch.
*/
where?: Prisma.debugWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of debugs to fetch.
*/
orderBy?: Prisma.debugOrderByWithRelationInput | Prisma.debugOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for debugs.
*/
cursor?: Prisma.debugWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` debugs 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` debugs.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of debugs.
*/
distinct?: Prisma.DebugScalarFieldEnum | Prisma.DebugScalarFieldEnum[]
}
/**
* debug findFirstOrThrow
*/
export type debugFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the debug
*/
select?: Prisma.debugSelect<ExtArgs> | null
/**
* Omit specific fields from the debug
*/
omit?: Prisma.debugOmit<ExtArgs> | null
/**
* Filter, which debug to fetch.
*/
where?: Prisma.debugWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of debugs to fetch.
*/
orderBy?: Prisma.debugOrderByWithRelationInput | Prisma.debugOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for debugs.
*/
cursor?: Prisma.debugWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` debugs 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` debugs.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of debugs.
*/
distinct?: Prisma.DebugScalarFieldEnum | Prisma.DebugScalarFieldEnum[]
}
/**
* debug findMany
*/
export type debugFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the debug
*/
select?: Prisma.debugSelect<ExtArgs> | null
/**
* Omit specific fields from the debug
*/
omit?: Prisma.debugOmit<ExtArgs> | null
/**
* Filter, which debugs to fetch.
*/
where?: Prisma.debugWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of debugs to fetch.
*/
orderBy?: Prisma.debugOrderByWithRelationInput | Prisma.debugOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing debugs.
*/
cursor?: Prisma.debugWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` debugs 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` debugs.
*/
skip?: number
distinct?: Prisma.DebugScalarFieldEnum | Prisma.DebugScalarFieldEnum[]
}
/**
* debug create
*/
export type debugCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the debug
*/
select?: Prisma.debugSelect<ExtArgs> | null
/**
* Omit specific fields from the debug
*/
omit?: Prisma.debugOmit<ExtArgs> | null
/**
* The data needed to create a debug.
*/
data?: Prisma.XOR<Prisma.debugCreateInput, Prisma.debugUncheckedCreateInput>
}
/**
* debug createMany
*/
export type debugCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many debugs.
*/
data: Prisma.debugCreateManyInput | Prisma.debugCreateManyInput[]
skipDuplicates?: boolean
}
/**
* debug update
*/
export type debugUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the debug
*/
select?: Prisma.debugSelect<ExtArgs> | null
/**
* Omit specific fields from the debug
*/
omit?: Prisma.debugOmit<ExtArgs> | null
/**
* The data needed to update a debug.
*/
data: Prisma.XOR<Prisma.debugUpdateInput, Prisma.debugUncheckedUpdateInput>
/**
* Choose, which debug to update.
*/
where: Prisma.debugWhereUniqueInput
}
/**
* debug updateMany
*/
export type debugUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update debugs.
*/
data: Prisma.XOR<Prisma.debugUpdateManyMutationInput, Prisma.debugUncheckedUpdateManyInput>
/**
* Filter which debugs to update
*/
where?: Prisma.debugWhereInput
/**
* Limit how many debugs to update.
*/
limit?: number
}
/**
* debug upsert
*/
export type debugUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the debug
*/
select?: Prisma.debugSelect<ExtArgs> | null
/**
* Omit specific fields from the debug
*/
omit?: Prisma.debugOmit<ExtArgs> | null
/**
* The filter to search for the debug to update in case it exists.
*/
where: Prisma.debugWhereUniqueInput
/**
* In case the debug found by the `where` argument doesn't exist, create a new debug with this data.
*/
create: Prisma.XOR<Prisma.debugCreateInput, Prisma.debugUncheckedCreateInput>
/**
* In case the debug was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.debugUpdateInput, Prisma.debugUncheckedUpdateInput>
}
/**
* debug delete
*/
export type debugDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the debug
*/
select?: Prisma.debugSelect<ExtArgs> | null
/**
* Omit specific fields from the debug
*/
omit?: Prisma.debugOmit<ExtArgs> | null
/**
* Filter which debug to delete.
*/
where: Prisma.debugWhereUniqueInput
}
/**
* debug deleteMany
*/
export type debugDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which debugs to delete
*/
where?: Prisma.debugWhereInput
/**
* Limit how many debugs to delete.
*/
limit?: number
}
/**
* debug without action
*/
export type debugDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the debug
*/
select?: Prisma.debugSelect<ExtArgs> | null
/**
* Omit specific fields from the debug
*/
omit?: Prisma.debugOmit<ExtArgs> | null
}