1105 lines
37 KiB
TypeScript
1105 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 `Strategy` 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.ts"
|
|
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
|
|
/**
|
|
* Model Strategy
|
|
*
|
|
*/
|
|
export type StrategyModel = runtime.Types.Result.DefaultSelection<Prisma.$StrategyPayload>
|
|
|
|
export type AggregateStrategy = {
|
|
_count: StrategyCountAggregateOutputType | null
|
|
_avg: StrategyAvgAggregateOutputType | null
|
|
_sum: StrategySumAggregateOutputType | null
|
|
_min: StrategyMinAggregateOutputType | null
|
|
_max: StrategyMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type StrategyAvgAggregateOutputType = {
|
|
id: number | null
|
|
}
|
|
|
|
export type StrategySumAggregateOutputType = {
|
|
id: number | null
|
|
}
|
|
|
|
export type StrategyMinAggregateOutputType = {
|
|
id: number | null
|
|
name: string | null
|
|
description: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
}
|
|
|
|
export type StrategyMaxAggregateOutputType = {
|
|
id: number | null
|
|
name: string | null
|
|
description: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
}
|
|
|
|
export type StrategyCountAggregateOutputType = {
|
|
id: number
|
|
name: number
|
|
description: number
|
|
data: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type StrategyAvgAggregateInputType = {
|
|
id?: true
|
|
}
|
|
|
|
export type StrategySumAggregateInputType = {
|
|
id?: true
|
|
}
|
|
|
|
export type StrategyMinAggregateInputType = {
|
|
id?: true
|
|
name?: true
|
|
description?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
}
|
|
|
|
export type StrategyMaxAggregateInputType = {
|
|
id?: true
|
|
name?: true
|
|
description?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
}
|
|
|
|
export type StrategyCountAggregateInputType = {
|
|
id?: true
|
|
name?: true
|
|
description?: true
|
|
data?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type StrategyAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which Strategy to aggregate.
|
|
*/
|
|
where?: Prisma.StrategyWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Strategies to fetch.
|
|
*/
|
|
orderBy?: Prisma.StrategyOrderByWithRelationInput | Prisma.StrategyOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.StrategyWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` Strategies 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` Strategies.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned Strategies
|
|
**/
|
|
_count?: true | StrategyCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: StrategyAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: StrategySumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: StrategyMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: StrategyMaxAggregateInputType
|
|
}
|
|
|
|
export type GetStrategyAggregateType<T extends StrategyAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateStrategy]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateStrategy[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateStrategy[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type StrategyGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.StrategyWhereInput
|
|
orderBy?: Prisma.StrategyOrderByWithAggregationInput | Prisma.StrategyOrderByWithAggregationInput[]
|
|
by: Prisma.StrategyScalarFieldEnum[] | Prisma.StrategyScalarFieldEnum
|
|
having?: Prisma.StrategyScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: StrategyCountAggregateInputType | true
|
|
_avg?: StrategyAvgAggregateInputType
|
|
_sum?: StrategySumAggregateInputType
|
|
_min?: StrategyMinAggregateInputType
|
|
_max?: StrategyMaxAggregateInputType
|
|
}
|
|
|
|
export type StrategyGroupByOutputType = {
|
|
id: number
|
|
name: string
|
|
description: string
|
|
data: runtime.JsonValue
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
_count: StrategyCountAggregateOutputType | null
|
|
_avg: StrategyAvgAggregateOutputType | null
|
|
_sum: StrategySumAggregateOutputType | null
|
|
_min: StrategyMinAggregateOutputType | null
|
|
_max: StrategyMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetStrategyGroupByPayload<T extends StrategyGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<StrategyGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof StrategyGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], StrategyGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], StrategyGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type StrategyWhereInput = {
|
|
AND?: Prisma.StrategyWhereInput | Prisma.StrategyWhereInput[]
|
|
OR?: Prisma.StrategyWhereInput[]
|
|
NOT?: Prisma.StrategyWhereInput | Prisma.StrategyWhereInput[]
|
|
id?: Prisma.IntFilter<"Strategy"> | number
|
|
name?: Prisma.StringFilter<"Strategy"> | string
|
|
description?: Prisma.StringFilter<"Strategy"> | string
|
|
data?: Prisma.JsonFilter<"Strategy">
|
|
createdAt?: Prisma.DateTimeFilter<"Strategy"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"Strategy"> | Date | string
|
|
}
|
|
|
|
export type StrategyOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
data?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
_relevance?: Prisma.StrategyOrderByRelevanceInput
|
|
}
|
|
|
|
export type StrategyWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: number
|
|
AND?: Prisma.StrategyWhereInput | Prisma.StrategyWhereInput[]
|
|
OR?: Prisma.StrategyWhereInput[]
|
|
NOT?: Prisma.StrategyWhereInput | Prisma.StrategyWhereInput[]
|
|
name?: Prisma.StringFilter<"Strategy"> | string
|
|
description?: Prisma.StringFilter<"Strategy"> | string
|
|
data?: Prisma.JsonFilter<"Strategy">
|
|
createdAt?: Prisma.DateTimeFilter<"Strategy"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"Strategy"> | Date | string
|
|
}, "id">
|
|
|
|
export type StrategyOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
data?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
_count?: Prisma.StrategyCountOrderByAggregateInput
|
|
_avg?: Prisma.StrategyAvgOrderByAggregateInput
|
|
_max?: Prisma.StrategyMaxOrderByAggregateInput
|
|
_min?: Prisma.StrategyMinOrderByAggregateInput
|
|
_sum?: Prisma.StrategySumOrderByAggregateInput
|
|
}
|
|
|
|
export type StrategyScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.StrategyScalarWhereWithAggregatesInput | Prisma.StrategyScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.StrategyScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.StrategyScalarWhereWithAggregatesInput | Prisma.StrategyScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.IntWithAggregatesFilter<"Strategy"> | number
|
|
name?: Prisma.StringWithAggregatesFilter<"Strategy"> | string
|
|
description?: Prisma.StringWithAggregatesFilter<"Strategy"> | string
|
|
data?: Prisma.JsonWithAggregatesFilter<"Strategy">
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Strategy"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Strategy"> | Date | string
|
|
}
|
|
|
|
export type StrategyCreateInput = {
|
|
name: string
|
|
description: string
|
|
data: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type StrategyUncheckedCreateInput = {
|
|
id?: number
|
|
name: string
|
|
description: string
|
|
data: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type StrategyUpdateInput = {
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type StrategyUncheckedUpdateInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type StrategyCreateManyInput = {
|
|
id?: number
|
|
name: string
|
|
description: string
|
|
data: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type StrategyUpdateManyMutationInput = {
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type StrategyUncheckedUpdateManyInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type StrategyOrderByRelevanceInput = {
|
|
fields: Prisma.StrategyOrderByRelevanceFieldEnum | Prisma.StrategyOrderByRelevanceFieldEnum[]
|
|
sort: Prisma.SortOrder
|
|
search: string
|
|
}
|
|
|
|
export type StrategyCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
data?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type StrategyAvgOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
}
|
|
|
|
export type StrategyMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type StrategyMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type StrategySumOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
}
|
|
|
|
|
|
|
|
export type StrategySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
name?: boolean
|
|
description?: boolean
|
|
data?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
}, ExtArgs["result"]["strategy"]>
|
|
|
|
|
|
|
|
export type StrategySelectScalar = {
|
|
id?: boolean
|
|
name?: boolean
|
|
description?: boolean
|
|
data?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
}
|
|
|
|
export type StrategyOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "data" | "createdAt" | "updatedAt", ExtArgs["result"]["strategy"]>
|
|
|
|
export type $StrategyPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "Strategy"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: number
|
|
name: string
|
|
description: string
|
|
data: runtime.JsonValue
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
}, ExtArgs["result"]["strategy"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type StrategyGetPayload<S extends boolean | null | undefined | StrategyDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$StrategyPayload, S>
|
|
|
|
export type StrategyCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<StrategyFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: StrategyCountAggregateInputType | true
|
|
}
|
|
|
|
export interface StrategyDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Strategy'], meta: { name: 'Strategy' } }
|
|
/**
|
|
* Find zero or one Strategy that matches the filter.
|
|
* @param {StrategyFindUniqueArgs} args - Arguments to find a Strategy
|
|
* @example
|
|
* // Get one Strategy
|
|
* const strategy = await prisma.strategy.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends StrategyFindUniqueArgs>(args: Prisma.SelectSubset<T, StrategyFindUniqueArgs<ExtArgs>>): Prisma.Prisma__StrategyClient<runtime.Types.Result.GetResult<Prisma.$StrategyPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one Strategy that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {StrategyFindUniqueOrThrowArgs} args - Arguments to find a Strategy
|
|
* @example
|
|
* // Get one Strategy
|
|
* const strategy = await prisma.strategy.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends StrategyFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, StrategyFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__StrategyClient<runtime.Types.Result.GetResult<Prisma.$StrategyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Strategy 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 {StrategyFindFirstArgs} args - Arguments to find a Strategy
|
|
* @example
|
|
* // Get one Strategy
|
|
* const strategy = await prisma.strategy.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends StrategyFindFirstArgs>(args?: Prisma.SelectSubset<T, StrategyFindFirstArgs<ExtArgs>>): Prisma.Prisma__StrategyClient<runtime.Types.Result.GetResult<Prisma.$StrategyPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Strategy 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 {StrategyFindFirstOrThrowArgs} args - Arguments to find a Strategy
|
|
* @example
|
|
* // Get one Strategy
|
|
* const strategy = await prisma.strategy.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends StrategyFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, StrategyFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__StrategyClient<runtime.Types.Result.GetResult<Prisma.$StrategyPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more Strategies 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 {StrategyFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all Strategies
|
|
* const strategies = await prisma.strategy.findMany()
|
|
*
|
|
* // Get first 10 Strategies
|
|
* const strategies = await prisma.strategy.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const strategyWithIdOnly = await prisma.strategy.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends StrategyFindManyArgs>(args?: Prisma.SelectSubset<T, StrategyFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StrategyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a Strategy.
|
|
* @param {StrategyCreateArgs} args - Arguments to create a Strategy.
|
|
* @example
|
|
* // Create one Strategy
|
|
* const Strategy = await prisma.strategy.create({
|
|
* data: {
|
|
* // ... data to create a Strategy
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends StrategyCreateArgs>(args: Prisma.SelectSubset<T, StrategyCreateArgs<ExtArgs>>): Prisma.Prisma__StrategyClient<runtime.Types.Result.GetResult<Prisma.$StrategyPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many Strategies.
|
|
* @param {StrategyCreateManyArgs} args - Arguments to create many Strategies.
|
|
* @example
|
|
* // Create many Strategies
|
|
* const strategy = await prisma.strategy.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends StrategyCreateManyArgs>(args?: Prisma.SelectSubset<T, StrategyCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Delete a Strategy.
|
|
* @param {StrategyDeleteArgs} args - Arguments to delete one Strategy.
|
|
* @example
|
|
* // Delete one Strategy
|
|
* const Strategy = await prisma.strategy.delete({
|
|
* where: {
|
|
* // ... filter to delete one Strategy
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends StrategyDeleteArgs>(args: Prisma.SelectSubset<T, StrategyDeleteArgs<ExtArgs>>): Prisma.Prisma__StrategyClient<runtime.Types.Result.GetResult<Prisma.$StrategyPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one Strategy.
|
|
* @param {StrategyUpdateArgs} args - Arguments to update one Strategy.
|
|
* @example
|
|
* // Update one Strategy
|
|
* const strategy = await prisma.strategy.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends StrategyUpdateArgs>(args: Prisma.SelectSubset<T, StrategyUpdateArgs<ExtArgs>>): Prisma.Prisma__StrategyClient<runtime.Types.Result.GetResult<Prisma.$StrategyPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more Strategies.
|
|
* @param {StrategyDeleteManyArgs} args - Arguments to filter Strategies to delete.
|
|
* @example
|
|
* // Delete a few Strategies
|
|
* const { count } = await prisma.strategy.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends StrategyDeleteManyArgs>(args?: Prisma.SelectSubset<T, StrategyDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Strategies.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {StrategyUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many Strategies
|
|
* const strategy = await prisma.strategy.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends StrategyUpdateManyArgs>(args: Prisma.SelectSubset<T, StrategyUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create or update one Strategy.
|
|
* @param {StrategyUpsertArgs} args - Arguments to update or create a Strategy.
|
|
* @example
|
|
* // Update or create a Strategy
|
|
* const strategy = await prisma.strategy.upsert({
|
|
* create: {
|
|
* // ... data to create a Strategy
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the Strategy we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends StrategyUpsertArgs>(args: Prisma.SelectSubset<T, StrategyUpsertArgs<ExtArgs>>): Prisma.Prisma__StrategyClient<runtime.Types.Result.GetResult<Prisma.$StrategyPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of Strategies.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {StrategyCountArgs} args - Arguments to filter Strategies to count.
|
|
* @example
|
|
* // Count the number of Strategies
|
|
* const count = await prisma.strategy.count({
|
|
* where: {
|
|
* // ... the filter for the Strategies we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends StrategyCountArgs>(
|
|
args?: Prisma.Subset<T, StrategyCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], StrategyCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a Strategy.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {StrategyAggregateArgs} 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 StrategyAggregateArgs>(args: Prisma.Subset<T, StrategyAggregateArgs>): Prisma.PrismaPromise<GetStrategyAggregateType<T>>
|
|
|
|
/**
|
|
* Group by Strategy.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {StrategyGroupByArgs} 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 StrategyGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: StrategyGroupByArgs['orderBy'] }
|
|
: { orderBy?: StrategyGroupByArgs['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, StrategyGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetStrategyGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the Strategy model
|
|
*/
|
|
readonly fields: StrategyFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for Strategy.
|
|
* 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__StrategyClient<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 Strategy model
|
|
*/
|
|
export interface StrategyFieldRefs {
|
|
readonly id: Prisma.FieldRef<"Strategy", 'Int'>
|
|
readonly name: Prisma.FieldRef<"Strategy", 'String'>
|
|
readonly description: Prisma.FieldRef<"Strategy", 'String'>
|
|
readonly data: Prisma.FieldRef<"Strategy", 'Json'>
|
|
readonly createdAt: Prisma.FieldRef<"Strategy", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"Strategy", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* Strategy findUnique
|
|
*/
|
|
export type StrategyFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Strategy
|
|
*/
|
|
select?: Prisma.StrategySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Strategy
|
|
*/
|
|
omit?: Prisma.StrategyOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which Strategy to fetch.
|
|
*/
|
|
where: Prisma.StrategyWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Strategy findUniqueOrThrow
|
|
*/
|
|
export type StrategyFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Strategy
|
|
*/
|
|
select?: Prisma.StrategySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Strategy
|
|
*/
|
|
omit?: Prisma.StrategyOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which Strategy to fetch.
|
|
*/
|
|
where: Prisma.StrategyWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Strategy findFirst
|
|
*/
|
|
export type StrategyFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Strategy
|
|
*/
|
|
select?: Prisma.StrategySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Strategy
|
|
*/
|
|
omit?: Prisma.StrategyOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which Strategy to fetch.
|
|
*/
|
|
where?: Prisma.StrategyWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Strategies to fetch.
|
|
*/
|
|
orderBy?: Prisma.StrategyOrderByWithRelationInput | Prisma.StrategyOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for Strategies.
|
|
*/
|
|
cursor?: Prisma.StrategyWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` Strategies 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` Strategies.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of Strategies.
|
|
*/
|
|
distinct?: Prisma.StrategyScalarFieldEnum | Prisma.StrategyScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Strategy findFirstOrThrow
|
|
*/
|
|
export type StrategyFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Strategy
|
|
*/
|
|
select?: Prisma.StrategySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Strategy
|
|
*/
|
|
omit?: Prisma.StrategyOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which Strategy to fetch.
|
|
*/
|
|
where?: Prisma.StrategyWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Strategies to fetch.
|
|
*/
|
|
orderBy?: Prisma.StrategyOrderByWithRelationInput | Prisma.StrategyOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for Strategies.
|
|
*/
|
|
cursor?: Prisma.StrategyWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` Strategies 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` Strategies.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of Strategies.
|
|
*/
|
|
distinct?: Prisma.StrategyScalarFieldEnum | Prisma.StrategyScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Strategy findMany
|
|
*/
|
|
export type StrategyFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Strategy
|
|
*/
|
|
select?: Prisma.StrategySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Strategy
|
|
*/
|
|
omit?: Prisma.StrategyOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which Strategies to fetch.
|
|
*/
|
|
where?: Prisma.StrategyWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Strategies to fetch.
|
|
*/
|
|
orderBy?: Prisma.StrategyOrderByWithRelationInput | Prisma.StrategyOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing Strategies.
|
|
*/
|
|
cursor?: Prisma.StrategyWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` Strategies 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` Strategies.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of Strategies.
|
|
*/
|
|
distinct?: Prisma.StrategyScalarFieldEnum | Prisma.StrategyScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Strategy create
|
|
*/
|
|
export type StrategyCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Strategy
|
|
*/
|
|
select?: Prisma.StrategySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Strategy
|
|
*/
|
|
omit?: Prisma.StrategyOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a Strategy.
|
|
*/
|
|
data: Prisma.XOR<Prisma.StrategyCreateInput, Prisma.StrategyUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* Strategy createMany
|
|
*/
|
|
export type StrategyCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many Strategies.
|
|
*/
|
|
data: Prisma.StrategyCreateManyInput | Prisma.StrategyCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* Strategy update
|
|
*/
|
|
export type StrategyUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Strategy
|
|
*/
|
|
select?: Prisma.StrategySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Strategy
|
|
*/
|
|
omit?: Prisma.StrategyOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a Strategy.
|
|
*/
|
|
data: Prisma.XOR<Prisma.StrategyUpdateInput, Prisma.StrategyUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which Strategy to update.
|
|
*/
|
|
where: Prisma.StrategyWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Strategy updateMany
|
|
*/
|
|
export type StrategyUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update Strategies.
|
|
*/
|
|
data: Prisma.XOR<Prisma.StrategyUpdateManyMutationInput, Prisma.StrategyUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which Strategies to update
|
|
*/
|
|
where?: Prisma.StrategyWhereInput
|
|
/**
|
|
* Limit how many Strategies to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* Strategy upsert
|
|
*/
|
|
export type StrategyUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Strategy
|
|
*/
|
|
select?: Prisma.StrategySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Strategy
|
|
*/
|
|
omit?: Prisma.StrategyOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the Strategy to update in case it exists.
|
|
*/
|
|
where: Prisma.StrategyWhereUniqueInput
|
|
/**
|
|
* In case the Strategy found by the `where` argument doesn't exist, create a new Strategy with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.StrategyCreateInput, Prisma.StrategyUncheckedCreateInput>
|
|
/**
|
|
* In case the Strategy was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.StrategyUpdateInput, Prisma.StrategyUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* Strategy delete
|
|
*/
|
|
export type StrategyDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Strategy
|
|
*/
|
|
select?: Prisma.StrategySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Strategy
|
|
*/
|
|
omit?: Prisma.StrategyOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which Strategy to delete.
|
|
*/
|
|
where: Prisma.StrategyWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Strategy deleteMany
|
|
*/
|
|
export type StrategyDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which Strategies to delete
|
|
*/
|
|
where?: Prisma.StrategyWhereInput
|
|
/**
|
|
* Limit how many Strategies to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* Strategy without action
|
|
*/
|
|
export type StrategyDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Strategy
|
|
*/
|
|
select?: Prisma.StrategySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Strategy
|
|
*/
|
|
omit?: Prisma.StrategyOmit<ExtArgs> | null
|
|
}
|