2025-12-14 10:15:57 +03:30
|
|
|
|
|
|
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
|
|
|
/* eslint-disable */
|
|
|
|
|
// biome-ignore-all lint: generated file
|
|
|
|
|
// @ts-nocheck
|
|
|
|
|
/*
|
|
|
|
|
* This file exports the `TriggerLog` 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.js"
|
|
|
|
|
import type * as Prisma from "../internal/prismaNamespace.js"
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Model TriggerLog
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type TriggerLogModel = runtime.Types.Result.DefaultSelection<Prisma.$TriggerLogPayload>
|
|
|
|
|
|
|
|
|
|
export type AggregateTriggerLog = {
|
|
|
|
|
_count: TriggerLogCountAggregateOutputType | null
|
|
|
|
|
_avg: TriggerLogAvgAggregateOutputType | null
|
|
|
|
|
_sum: TriggerLogSumAggregateOutputType | null
|
|
|
|
|
_min: TriggerLogMinAggregateOutputType | null
|
|
|
|
|
_max: TriggerLogMaxAggregateOutputType | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogAvgAggregateOutputType = {
|
|
|
|
|
id: number | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogSumAggregateOutputType = {
|
|
|
|
|
id: number | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogMinAggregateOutputType = {
|
|
|
|
|
id: number | null
|
|
|
|
|
message: string | null
|
|
|
|
|
createdAt: Date | null
|
2025-12-24 21:24:59 +03:30
|
|
|
name: string | null
|
2025-12-14 10:15:57 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogMaxAggregateOutputType = {
|
|
|
|
|
id: number | null
|
|
|
|
|
message: string | null
|
|
|
|
|
createdAt: Date | null
|
2025-12-24 21:24:59 +03:30
|
|
|
name: string | null
|
2025-12-14 10:15:57 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogCountAggregateOutputType = {
|
|
|
|
|
id: number
|
|
|
|
|
message: number
|
|
|
|
|
createdAt: number
|
2025-12-24 21:24:59 +03:30
|
|
|
name: number
|
2025-12-14 10:15:57 +03:30
|
|
|
_all: number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type TriggerLogAvgAggregateInputType = {
|
|
|
|
|
id?: true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogSumAggregateInputType = {
|
|
|
|
|
id?: true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogMinAggregateInputType = {
|
|
|
|
|
id?: true
|
|
|
|
|
message?: true
|
|
|
|
|
createdAt?: true
|
2025-12-24 21:24:59 +03:30
|
|
|
name?: true
|
2025-12-14 10:15:57 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogMaxAggregateInputType = {
|
|
|
|
|
id?: true
|
|
|
|
|
message?: true
|
|
|
|
|
createdAt?: true
|
2025-12-24 21:24:59 +03:30
|
|
|
name?: true
|
2025-12-14 10:15:57 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogCountAggregateInputType = {
|
|
|
|
|
id?: true
|
|
|
|
|
message?: true
|
|
|
|
|
createdAt?: true
|
2025-12-24 21:24:59 +03:30
|
|
|
name?: true
|
2025-12-14 10:15:57 +03:30
|
|
|
_all?: true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Filter which TriggerLog to aggregate.
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.TriggerLogWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
|
|
|
*
|
|
|
|
|
* Determine the order of TriggerLogs to fetch.
|
|
|
|
|
*/
|
|
|
|
|
orderBy?: Prisma.TriggerLogOrderByWithRelationInput | Prisma.TriggerLogOrderByWithRelationInput[]
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
|
|
|
*
|
|
|
|
|
* Sets the start position
|
|
|
|
|
*/
|
|
|
|
|
cursor?: Prisma.TriggerLogWhereUniqueInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
|
|
|
*
|
|
|
|
|
* Take `±n` TriggerLogs 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` TriggerLogs.
|
|
|
|
|
*/
|
|
|
|
|
skip?: number
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
|
|
|
*
|
|
|
|
|
* Count returned TriggerLogs
|
|
|
|
|
**/
|
|
|
|
|
_count?: true | TriggerLogCountAggregateInputType
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
|
|
|
*
|
|
|
|
|
* Select which fields to average
|
|
|
|
|
**/
|
|
|
|
|
_avg?: TriggerLogAvgAggregateInputType
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
|
|
|
*
|
|
|
|
|
* Select which fields to sum
|
|
|
|
|
**/
|
|
|
|
|
_sum?: TriggerLogSumAggregateInputType
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
|
|
|
*
|
|
|
|
|
* Select which fields to find the minimum value
|
|
|
|
|
**/
|
|
|
|
|
_min?: TriggerLogMinAggregateInputType
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
|
|
|
*
|
|
|
|
|
* Select which fields to find the maximum value
|
|
|
|
|
**/
|
|
|
|
|
_max?: TriggerLogMaxAggregateInputType
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type GetTriggerLogAggregateType<T extends TriggerLogAggregateArgs> = {
|
|
|
|
|
[P in keyof T & keyof AggregateTriggerLog]: P extends '_count' | 'count'
|
|
|
|
|
? T[P] extends true
|
|
|
|
|
? number
|
|
|
|
|
: Prisma.GetScalarType<T[P], AggregateTriggerLog[P]>
|
|
|
|
|
: Prisma.GetScalarType<T[P], AggregateTriggerLog[P]>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type TriggerLogGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
where?: Prisma.TriggerLogWhereInput
|
|
|
|
|
orderBy?: Prisma.TriggerLogOrderByWithAggregationInput | Prisma.TriggerLogOrderByWithAggregationInput[]
|
|
|
|
|
by: Prisma.TriggerLogScalarFieldEnum[] | Prisma.TriggerLogScalarFieldEnum
|
|
|
|
|
having?: Prisma.TriggerLogScalarWhereWithAggregatesInput
|
|
|
|
|
take?: number
|
|
|
|
|
skip?: number
|
|
|
|
|
_count?: TriggerLogCountAggregateInputType | true
|
|
|
|
|
_avg?: TriggerLogAvgAggregateInputType
|
|
|
|
|
_sum?: TriggerLogSumAggregateInputType
|
|
|
|
|
_min?: TriggerLogMinAggregateInputType
|
|
|
|
|
_max?: TriggerLogMaxAggregateInputType
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogGroupByOutputType = {
|
|
|
|
|
id: number
|
|
|
|
|
message: string
|
|
|
|
|
createdAt: Date
|
2025-12-24 21:24:59 +03:30
|
|
|
name: string
|
2025-12-14 10:15:57 +03:30
|
|
|
_count: TriggerLogCountAggregateOutputType | null
|
|
|
|
|
_avg: TriggerLogAvgAggregateOutputType | null
|
|
|
|
|
_sum: TriggerLogSumAggregateOutputType | null
|
|
|
|
|
_min: TriggerLogMinAggregateOutputType | null
|
|
|
|
|
_max: TriggerLogMaxAggregateOutputType | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type GetTriggerLogGroupByPayload<T extends TriggerLogGroupByArgs> = Prisma.PrismaPromise<
|
|
|
|
|
Array<
|
|
|
|
|
Prisma.PickEnumerable<TriggerLogGroupByOutputType, T['by']> &
|
|
|
|
|
{
|
|
|
|
|
[P in ((keyof T) & (keyof TriggerLogGroupByOutputType))]: P extends '_count'
|
|
|
|
|
? T[P] extends boolean
|
|
|
|
|
? number
|
|
|
|
|
: Prisma.GetScalarType<T[P], TriggerLogGroupByOutputType[P]>
|
|
|
|
|
: Prisma.GetScalarType<T[P], TriggerLogGroupByOutputType[P]>
|
|
|
|
|
}
|
|
|
|
|
>
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type TriggerLogWhereInput = {
|
|
|
|
|
AND?: Prisma.TriggerLogWhereInput | Prisma.TriggerLogWhereInput[]
|
|
|
|
|
OR?: Prisma.TriggerLogWhereInput[]
|
|
|
|
|
NOT?: Prisma.TriggerLogWhereInput | Prisma.TriggerLogWhereInput[]
|
|
|
|
|
id?: Prisma.IntFilter<"TriggerLog"> | number
|
|
|
|
|
message?: Prisma.StringFilter<"TriggerLog"> | string
|
|
|
|
|
createdAt?: Prisma.DateTimeFilter<"TriggerLog"> | Date | string
|
2025-12-24 21:24:59 +03:30
|
|
|
name?: Prisma.StringFilter<"TriggerLog"> | string
|
2025-12-14 10:15:57 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogOrderByWithRelationInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
message?: Prisma.SortOrder
|
|
|
|
|
createdAt?: Prisma.SortOrder
|
2025-12-24 21:24:59 +03:30
|
|
|
name?: Prisma.SortOrder
|
2025-12-14 10:15:57 +03:30
|
|
|
_relevance?: Prisma.TriggerLogOrderByRelevanceInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogWhereUniqueInput = Prisma.AtLeast<{
|
|
|
|
|
id?: number
|
|
|
|
|
AND?: Prisma.TriggerLogWhereInput | Prisma.TriggerLogWhereInput[]
|
|
|
|
|
OR?: Prisma.TriggerLogWhereInput[]
|
|
|
|
|
NOT?: Prisma.TriggerLogWhereInput | Prisma.TriggerLogWhereInput[]
|
|
|
|
|
message?: Prisma.StringFilter<"TriggerLog"> | string
|
|
|
|
|
createdAt?: Prisma.DateTimeFilter<"TriggerLog"> | Date | string
|
2025-12-24 21:24:59 +03:30
|
|
|
name?: Prisma.StringFilter<"TriggerLog"> | string
|
2025-12-14 10:15:57 +03:30
|
|
|
}, "id">
|
|
|
|
|
|
|
|
|
|
export type TriggerLogOrderByWithAggregationInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
message?: Prisma.SortOrder
|
|
|
|
|
createdAt?: Prisma.SortOrder
|
2025-12-24 21:24:59 +03:30
|
|
|
name?: Prisma.SortOrder
|
2025-12-14 10:15:57 +03:30
|
|
|
_count?: Prisma.TriggerLogCountOrderByAggregateInput
|
|
|
|
|
_avg?: Prisma.TriggerLogAvgOrderByAggregateInput
|
|
|
|
|
_max?: Prisma.TriggerLogMaxOrderByAggregateInput
|
|
|
|
|
_min?: Prisma.TriggerLogMinOrderByAggregateInput
|
|
|
|
|
_sum?: Prisma.TriggerLogSumOrderByAggregateInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogScalarWhereWithAggregatesInput = {
|
|
|
|
|
AND?: Prisma.TriggerLogScalarWhereWithAggregatesInput | Prisma.TriggerLogScalarWhereWithAggregatesInput[]
|
|
|
|
|
OR?: Prisma.TriggerLogScalarWhereWithAggregatesInput[]
|
|
|
|
|
NOT?: Prisma.TriggerLogScalarWhereWithAggregatesInput | Prisma.TriggerLogScalarWhereWithAggregatesInput[]
|
|
|
|
|
id?: Prisma.IntWithAggregatesFilter<"TriggerLog"> | number
|
|
|
|
|
message?: Prisma.StringWithAggregatesFilter<"TriggerLog"> | string
|
|
|
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"TriggerLog"> | Date | string
|
2025-12-24 21:24:59 +03:30
|
|
|
name?: Prisma.StringWithAggregatesFilter<"TriggerLog"> | string
|
2025-12-14 10:15:57 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogCreateInput = {
|
|
|
|
|
message: string
|
|
|
|
|
createdAt?: Date | string
|
2025-12-24 21:24:59 +03:30
|
|
|
name: string
|
2025-12-14 10:15:57 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogUncheckedCreateInput = {
|
|
|
|
|
id?: number
|
|
|
|
|
message: string
|
|
|
|
|
createdAt?: Date | string
|
2025-12-24 21:24:59 +03:30
|
|
|
name: string
|
2025-12-14 10:15:57 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogUpdateInput = {
|
|
|
|
|
message?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
2025-12-24 21:24:59 +03:30
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
2025-12-14 10:15:57 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogUncheckedUpdateInput = {
|
|
|
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
message?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
2025-12-24 21:24:59 +03:30
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
2025-12-14 10:15:57 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogCreateManyInput = {
|
|
|
|
|
id?: number
|
|
|
|
|
message: string
|
|
|
|
|
createdAt?: Date | string
|
2025-12-24 21:24:59 +03:30
|
|
|
name: string
|
2025-12-14 10:15:57 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogUpdateManyMutationInput = {
|
|
|
|
|
message?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
2025-12-24 21:24:59 +03:30
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
2025-12-14 10:15:57 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogUncheckedUpdateManyInput = {
|
|
|
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
message?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
2025-12-24 21:24:59 +03:30
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
2025-12-14 10:15:57 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogOrderByRelevanceInput = {
|
|
|
|
|
fields: Prisma.TriggerLogOrderByRelevanceFieldEnum | Prisma.TriggerLogOrderByRelevanceFieldEnum[]
|
|
|
|
|
sort: Prisma.SortOrder
|
|
|
|
|
search: string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogCountOrderByAggregateInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
message?: Prisma.SortOrder
|
|
|
|
|
createdAt?: Prisma.SortOrder
|
2025-12-24 21:24:59 +03:30
|
|
|
name?: Prisma.SortOrder
|
2025-12-14 10:15:57 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogAvgOrderByAggregateInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogMaxOrderByAggregateInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
message?: Prisma.SortOrder
|
|
|
|
|
createdAt?: Prisma.SortOrder
|
2025-12-24 21:24:59 +03:30
|
|
|
name?: Prisma.SortOrder
|
2025-12-14 10:15:57 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogMinOrderByAggregateInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
message?: Prisma.SortOrder
|
|
|
|
|
createdAt?: Prisma.SortOrder
|
2025-12-24 21:24:59 +03:30
|
|
|
name?: Prisma.SortOrder
|
2025-12-14 10:15:57 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogSumOrderByAggregateInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-12 20:31:04 +03:30
|
|
|
export type IntFieldUpdateOperationsInput = {
|
|
|
|
|
set?: number
|
|
|
|
|
increment?: number
|
|
|
|
|
decrement?: number
|
|
|
|
|
multiply?: number
|
|
|
|
|
divide?: number
|
|
|
|
|
}
|
|
|
|
|
|
2025-12-14 10:15:57 +03:30
|
|
|
|
|
|
|
|
|
|
|
|
|
export type TriggerLogSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
|
|
|
id?: boolean
|
|
|
|
|
message?: boolean
|
|
|
|
|
createdAt?: boolean
|
2025-12-24 21:24:59 +03:30
|
|
|
name?: boolean
|
2025-12-14 10:15:57 +03:30
|
|
|
}, ExtArgs["result"]["triggerLog"]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type TriggerLogSelectScalar = {
|
|
|
|
|
id?: boolean
|
|
|
|
|
message?: boolean
|
|
|
|
|
createdAt?: boolean
|
2025-12-24 21:24:59 +03:30
|
|
|
name?: boolean
|
2025-12-14 10:15:57 +03:30
|
|
|
}
|
|
|
|
|
|
2025-12-24 21:24:59 +03:30
|
|
|
export type TriggerLogOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "message" | "createdAt" | "name", ExtArgs["result"]["triggerLog"]>
|
2025-12-14 10:15:57 +03:30
|
|
|
|
|
|
|
|
export type $TriggerLogPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
name: "TriggerLog"
|
|
|
|
|
objects: {}
|
|
|
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
|
|
|
id: number
|
|
|
|
|
message: string
|
|
|
|
|
createdAt: Date
|
2025-12-24 21:24:59 +03:30
|
|
|
name: string
|
2025-12-14 10:15:57 +03:30
|
|
|
}, ExtArgs["result"]["triggerLog"]>
|
|
|
|
|
composites: {}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TriggerLogGetPayload<S extends boolean | null | undefined | TriggerLogDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$TriggerLogPayload, S>
|
|
|
|
|
|
|
|
|
|
export type TriggerLogCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
|
|
|
Omit<TriggerLogFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
|
|
|
select?: TriggerLogCountAggregateInputType | true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface TriggerLogDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
|
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TriggerLog'], meta: { name: 'TriggerLog' } }
|
|
|
|
|
/**
|
|
|
|
|
* Find zero or one TriggerLog that matches the filter.
|
|
|
|
|
* @param {TriggerLogFindUniqueArgs} args - Arguments to find a TriggerLog
|
|
|
|
|
* @example
|
|
|
|
|
* // Get one TriggerLog
|
|
|
|
|
* const triggerLog = await prisma.triggerLog.findUnique({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*/
|
|
|
|
|
findUnique<T extends TriggerLogFindUniqueArgs>(args: Prisma.SelectSubset<T, TriggerLogFindUniqueArgs<ExtArgs>>): Prisma.Prisma__TriggerLogClient<runtime.Types.Result.GetResult<Prisma.$TriggerLogPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Find one TriggerLog that matches the filter or throw an error with `error.code='P2025'`
|
|
|
|
|
* if no matches were found.
|
|
|
|
|
* @param {TriggerLogFindUniqueOrThrowArgs} args - Arguments to find a TriggerLog
|
|
|
|
|
* @example
|
|
|
|
|
* // Get one TriggerLog
|
|
|
|
|
* const triggerLog = await prisma.triggerLog.findUniqueOrThrow({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*/
|
|
|
|
|
findUniqueOrThrow<T extends TriggerLogFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, TriggerLogFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__TriggerLogClient<runtime.Types.Result.GetResult<Prisma.$TriggerLogPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Find the first TriggerLog 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 {TriggerLogFindFirstArgs} args - Arguments to find a TriggerLog
|
|
|
|
|
* @example
|
|
|
|
|
* // Get one TriggerLog
|
|
|
|
|
* const triggerLog = await prisma.triggerLog.findFirst({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*/
|
|
|
|
|
findFirst<T extends TriggerLogFindFirstArgs>(args?: Prisma.SelectSubset<T, TriggerLogFindFirstArgs<ExtArgs>>): Prisma.Prisma__TriggerLogClient<runtime.Types.Result.GetResult<Prisma.$TriggerLogPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Find the first TriggerLog 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 {TriggerLogFindFirstOrThrowArgs} args - Arguments to find a TriggerLog
|
|
|
|
|
* @example
|
|
|
|
|
* // Get one TriggerLog
|
|
|
|
|
* const triggerLog = await prisma.triggerLog.findFirstOrThrow({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*/
|
|
|
|
|
findFirstOrThrow<T extends TriggerLogFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, TriggerLogFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__TriggerLogClient<runtime.Types.Result.GetResult<Prisma.$TriggerLogPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Find zero or more TriggerLogs 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 {TriggerLogFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
|
|
|
* @example
|
|
|
|
|
* // Get all TriggerLogs
|
|
|
|
|
* const triggerLogs = await prisma.triggerLog.findMany()
|
|
|
|
|
*
|
|
|
|
|
* // Get first 10 TriggerLogs
|
|
|
|
|
* const triggerLogs = await prisma.triggerLog.findMany({ take: 10 })
|
|
|
|
|
*
|
|
|
|
|
* // Only select the `id`
|
|
|
|
|
* const triggerLogWithIdOnly = await prisma.triggerLog.findMany({ select: { id: true } })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
findMany<T extends TriggerLogFindManyArgs>(args?: Prisma.SelectSubset<T, TriggerLogFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TriggerLogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Create a TriggerLog.
|
|
|
|
|
* @param {TriggerLogCreateArgs} args - Arguments to create a TriggerLog.
|
|
|
|
|
* @example
|
|
|
|
|
* // Create one TriggerLog
|
|
|
|
|
* const TriggerLog = await prisma.triggerLog.create({
|
|
|
|
|
* data: {
|
|
|
|
|
* // ... data to create a TriggerLog
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
create<T extends TriggerLogCreateArgs>(args: Prisma.SelectSubset<T, TriggerLogCreateArgs<ExtArgs>>): Prisma.Prisma__TriggerLogClient<runtime.Types.Result.GetResult<Prisma.$TriggerLogPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Create many TriggerLogs.
|
|
|
|
|
* @param {TriggerLogCreateManyArgs} args - Arguments to create many TriggerLogs.
|
|
|
|
|
* @example
|
|
|
|
|
* // Create many TriggerLogs
|
|
|
|
|
* const triggerLog = await prisma.triggerLog.createMany({
|
|
|
|
|
* data: [
|
|
|
|
|
* // ... provide data here
|
|
|
|
|
* ]
|
|
|
|
|
* })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
createMany<T extends TriggerLogCreateManyArgs>(args?: Prisma.SelectSubset<T, TriggerLogCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Delete a TriggerLog.
|
|
|
|
|
* @param {TriggerLogDeleteArgs} args - Arguments to delete one TriggerLog.
|
|
|
|
|
* @example
|
|
|
|
|
* // Delete one TriggerLog
|
|
|
|
|
* const TriggerLog = await prisma.triggerLog.delete({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... filter to delete one TriggerLog
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
delete<T extends TriggerLogDeleteArgs>(args: Prisma.SelectSubset<T, TriggerLogDeleteArgs<ExtArgs>>): Prisma.Prisma__TriggerLogClient<runtime.Types.Result.GetResult<Prisma.$TriggerLogPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Update one TriggerLog.
|
|
|
|
|
* @param {TriggerLogUpdateArgs} args - Arguments to update one TriggerLog.
|
|
|
|
|
* @example
|
|
|
|
|
* // Update one TriggerLog
|
|
|
|
|
* const triggerLog = await prisma.triggerLog.update({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* },
|
|
|
|
|
* data: {
|
|
|
|
|
* // ... provide data here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
update<T extends TriggerLogUpdateArgs>(args: Prisma.SelectSubset<T, TriggerLogUpdateArgs<ExtArgs>>): Prisma.Prisma__TriggerLogClient<runtime.Types.Result.GetResult<Prisma.$TriggerLogPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Delete zero or more TriggerLogs.
|
|
|
|
|
* @param {TriggerLogDeleteManyArgs} args - Arguments to filter TriggerLogs to delete.
|
|
|
|
|
* @example
|
|
|
|
|
* // Delete a few TriggerLogs
|
|
|
|
|
* const { count } = await prisma.triggerLog.deleteMany({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
deleteMany<T extends TriggerLogDeleteManyArgs>(args?: Prisma.SelectSubset<T, TriggerLogDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Update zero or more TriggerLogs.
|
|
|
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
|
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
|
|
|
* @param {TriggerLogUpdateManyArgs} args - Arguments to update one or more rows.
|
|
|
|
|
* @example
|
|
|
|
|
* // Update many TriggerLogs
|
|
|
|
|
* const triggerLog = await prisma.triggerLog.updateMany({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* },
|
|
|
|
|
* data: {
|
|
|
|
|
* // ... provide data here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
updateMany<T extends TriggerLogUpdateManyArgs>(args: Prisma.SelectSubset<T, TriggerLogUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Create or update one TriggerLog.
|
|
|
|
|
* @param {TriggerLogUpsertArgs} args - Arguments to update or create a TriggerLog.
|
|
|
|
|
* @example
|
|
|
|
|
* // Update or create a TriggerLog
|
|
|
|
|
* const triggerLog = await prisma.triggerLog.upsert({
|
|
|
|
|
* create: {
|
|
|
|
|
* // ... data to create a TriggerLog
|
|
|
|
|
* },
|
|
|
|
|
* update: {
|
|
|
|
|
* // ... in case it already exists, update
|
|
|
|
|
* },
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... the filter for the TriggerLog we want to update
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*/
|
|
|
|
|
upsert<T extends TriggerLogUpsertArgs>(args: Prisma.SelectSubset<T, TriggerLogUpsertArgs<ExtArgs>>): Prisma.Prisma__TriggerLogClient<runtime.Types.Result.GetResult<Prisma.$TriggerLogPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Count the number of TriggerLogs.
|
|
|
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
|
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
|
|
|
* @param {TriggerLogCountArgs} args - Arguments to filter TriggerLogs to count.
|
|
|
|
|
* @example
|
|
|
|
|
* // Count the number of TriggerLogs
|
|
|
|
|
* const count = await prisma.triggerLog.count({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... the filter for the TriggerLogs we want to count
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
**/
|
|
|
|
|
count<T extends TriggerLogCountArgs>(
|
|
|
|
|
args?: Prisma.Subset<T, TriggerLogCountArgs>,
|
|
|
|
|
): Prisma.PrismaPromise<
|
|
|
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
|
|
|
? T['select'] extends true
|
|
|
|
|
? number
|
|
|
|
|
: Prisma.GetScalarType<T['select'], TriggerLogCountAggregateOutputType>
|
|
|
|
|
: number
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Allows you to perform aggregations operations on a TriggerLog.
|
|
|
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
|
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
|
|
|
* @param {TriggerLogAggregateArgs} 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 TriggerLogAggregateArgs>(args: Prisma.Subset<T, TriggerLogAggregateArgs>): Prisma.PrismaPromise<GetTriggerLogAggregateType<T>>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Group by TriggerLog.
|
|
|
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
|
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
|
|
|
* @param {TriggerLogGroupByArgs} 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 TriggerLogGroupByArgs,
|
|
|
|
|
HasSelectOrTake extends Prisma.Or<
|
|
|
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
|
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
|
|
|
>,
|
|
|
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
|
|
|
? { orderBy: TriggerLogGroupByArgs['orderBy'] }
|
|
|
|
|
: { orderBy?: TriggerLogGroupByArgs['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, TriggerLogGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTriggerLogGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
|
|
|
/**
|
|
|
|
|
* Fields of the TriggerLog model
|
|
|
|
|
*/
|
|
|
|
|
readonly fields: TriggerLogFieldRefs;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The delegate class that acts as a "Promise-like" for TriggerLog.
|
|
|
|
|
* 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__TriggerLogClient<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 TriggerLog model
|
|
|
|
|
*/
|
|
|
|
|
export interface TriggerLogFieldRefs {
|
|
|
|
|
readonly id: Prisma.FieldRef<"TriggerLog", 'Int'>
|
|
|
|
|
readonly message: Prisma.FieldRef<"TriggerLog", 'String'>
|
|
|
|
|
readonly createdAt: Prisma.FieldRef<"TriggerLog", 'DateTime'>
|
2025-12-24 21:24:59 +03:30
|
|
|
readonly name: Prisma.FieldRef<"TriggerLog", 'String'>
|
2025-12-14 10:15:57 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Custom InputTypes
|
|
|
|
|
/**
|
|
|
|
|
* TriggerLog findUnique
|
|
|
|
|
*/
|
|
|
|
|
export type TriggerLogFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the TriggerLog
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.TriggerLogSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the TriggerLog
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.TriggerLogOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter, which TriggerLog to fetch.
|
|
|
|
|
*/
|
|
|
|
|
where: Prisma.TriggerLogWhereUniqueInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* TriggerLog findUniqueOrThrow
|
|
|
|
|
*/
|
|
|
|
|
export type TriggerLogFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the TriggerLog
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.TriggerLogSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the TriggerLog
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.TriggerLogOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter, which TriggerLog to fetch.
|
|
|
|
|
*/
|
|
|
|
|
where: Prisma.TriggerLogWhereUniqueInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* TriggerLog findFirst
|
|
|
|
|
*/
|
|
|
|
|
export type TriggerLogFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the TriggerLog
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.TriggerLogSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the TriggerLog
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.TriggerLogOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter, which TriggerLog to fetch.
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.TriggerLogWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
|
|
|
*
|
|
|
|
|
* Determine the order of TriggerLogs to fetch.
|
|
|
|
|
*/
|
|
|
|
|
orderBy?: Prisma.TriggerLogOrderByWithRelationInput | Prisma.TriggerLogOrderByWithRelationInput[]
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
|
|
|
*
|
|
|
|
|
* Sets the position for searching for TriggerLogs.
|
|
|
|
|
*/
|
|
|
|
|
cursor?: Prisma.TriggerLogWhereUniqueInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
|
|
|
*
|
|
|
|
|
* Take `±n` TriggerLogs 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` TriggerLogs.
|
|
|
|
|
*/
|
|
|
|
|
skip?: number
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
|
|
|
*
|
|
|
|
|
* Filter by unique combinations of TriggerLogs.
|
|
|
|
|
*/
|
|
|
|
|
distinct?: Prisma.TriggerLogScalarFieldEnum | Prisma.TriggerLogScalarFieldEnum[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* TriggerLog findFirstOrThrow
|
|
|
|
|
*/
|
|
|
|
|
export type TriggerLogFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the TriggerLog
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.TriggerLogSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the TriggerLog
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.TriggerLogOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter, which TriggerLog to fetch.
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.TriggerLogWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
|
|
|
*
|
|
|
|
|
* Determine the order of TriggerLogs to fetch.
|
|
|
|
|
*/
|
|
|
|
|
orderBy?: Prisma.TriggerLogOrderByWithRelationInput | Prisma.TriggerLogOrderByWithRelationInput[]
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
|
|
|
*
|
|
|
|
|
* Sets the position for searching for TriggerLogs.
|
|
|
|
|
*/
|
|
|
|
|
cursor?: Prisma.TriggerLogWhereUniqueInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
|
|
|
*
|
|
|
|
|
* Take `±n` TriggerLogs 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` TriggerLogs.
|
|
|
|
|
*/
|
|
|
|
|
skip?: number
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
|
|
|
*
|
|
|
|
|
* Filter by unique combinations of TriggerLogs.
|
|
|
|
|
*/
|
|
|
|
|
distinct?: Prisma.TriggerLogScalarFieldEnum | Prisma.TriggerLogScalarFieldEnum[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* TriggerLog findMany
|
|
|
|
|
*/
|
|
|
|
|
export type TriggerLogFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the TriggerLog
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.TriggerLogSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the TriggerLog
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.TriggerLogOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter, which TriggerLogs to fetch.
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.TriggerLogWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
|
|
|
*
|
|
|
|
|
* Determine the order of TriggerLogs to fetch.
|
|
|
|
|
*/
|
|
|
|
|
orderBy?: Prisma.TriggerLogOrderByWithRelationInput | Prisma.TriggerLogOrderByWithRelationInput[]
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
|
|
|
*
|
|
|
|
|
* Sets the position for listing TriggerLogs.
|
|
|
|
|
*/
|
|
|
|
|
cursor?: Prisma.TriggerLogWhereUniqueInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
|
|
|
*
|
|
|
|
|
* Take `±n` TriggerLogs 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` TriggerLogs.
|
|
|
|
|
*/
|
|
|
|
|
skip?: number
|
|
|
|
|
distinct?: Prisma.TriggerLogScalarFieldEnum | Prisma.TriggerLogScalarFieldEnum[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* TriggerLog create
|
|
|
|
|
*/
|
|
|
|
|
export type TriggerLogCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the TriggerLog
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.TriggerLogSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the TriggerLog
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.TriggerLogOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* The data needed to create a TriggerLog.
|
|
|
|
|
*/
|
|
|
|
|
data: Prisma.XOR<Prisma.TriggerLogCreateInput, Prisma.TriggerLogUncheckedCreateInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* TriggerLog createMany
|
|
|
|
|
*/
|
|
|
|
|
export type TriggerLogCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* The data used to create many TriggerLogs.
|
|
|
|
|
*/
|
|
|
|
|
data: Prisma.TriggerLogCreateManyInput | Prisma.TriggerLogCreateManyInput[]
|
|
|
|
|
skipDuplicates?: boolean
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* TriggerLog update
|
|
|
|
|
*/
|
|
|
|
|
export type TriggerLogUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the TriggerLog
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.TriggerLogSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the TriggerLog
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.TriggerLogOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* The data needed to update a TriggerLog.
|
|
|
|
|
*/
|
|
|
|
|
data: Prisma.XOR<Prisma.TriggerLogUpdateInput, Prisma.TriggerLogUncheckedUpdateInput>
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which TriggerLog to update.
|
|
|
|
|
*/
|
|
|
|
|
where: Prisma.TriggerLogWhereUniqueInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* TriggerLog updateMany
|
|
|
|
|
*/
|
|
|
|
|
export type TriggerLogUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* The data used to update TriggerLogs.
|
|
|
|
|
*/
|
|
|
|
|
data: Prisma.XOR<Prisma.TriggerLogUpdateManyMutationInput, Prisma.TriggerLogUncheckedUpdateManyInput>
|
|
|
|
|
/**
|
|
|
|
|
* Filter which TriggerLogs to update
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.TriggerLogWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* Limit how many TriggerLogs to update.
|
|
|
|
|
*/
|
|
|
|
|
limit?: number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* TriggerLog upsert
|
|
|
|
|
*/
|
|
|
|
|
export type TriggerLogUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the TriggerLog
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.TriggerLogSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the TriggerLog
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.TriggerLogOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* The filter to search for the TriggerLog to update in case it exists.
|
|
|
|
|
*/
|
|
|
|
|
where: Prisma.TriggerLogWhereUniqueInput
|
|
|
|
|
/**
|
|
|
|
|
* In case the TriggerLog found by the `where` argument doesn't exist, create a new TriggerLog with this data.
|
|
|
|
|
*/
|
|
|
|
|
create: Prisma.XOR<Prisma.TriggerLogCreateInput, Prisma.TriggerLogUncheckedCreateInput>
|
|
|
|
|
/**
|
|
|
|
|
* In case the TriggerLog was found with the provided `where` argument, update it with this data.
|
|
|
|
|
*/
|
|
|
|
|
update: Prisma.XOR<Prisma.TriggerLogUpdateInput, Prisma.TriggerLogUncheckedUpdateInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* TriggerLog delete
|
|
|
|
|
*/
|
|
|
|
|
export type TriggerLogDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the TriggerLog
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.TriggerLogSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the TriggerLog
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.TriggerLogOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter which TriggerLog to delete.
|
|
|
|
|
*/
|
|
|
|
|
where: Prisma.TriggerLogWhereUniqueInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* TriggerLog deleteMany
|
|
|
|
|
*/
|
|
|
|
|
export type TriggerLogDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Filter which TriggerLogs to delete
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.TriggerLogWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* Limit how many TriggerLogs to delete.
|
|
|
|
|
*/
|
|
|
|
|
limit?: number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* TriggerLog without action
|
|
|
|
|
*/
|
|
|
|
|
export type TriggerLogDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the TriggerLog
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.TriggerLogSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the TriggerLog
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.TriggerLogOmit<ExtArgs> | null
|
|
|
|
|
}
|