Files
WikiRush/lib/generated/prisma/models/DailyPuzzle.ts
T

1294 lines
46 KiB
TypeScript
Raw Normal View History

/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck
/*
* This file exports the `DailyPuzzle` 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 DailyPuzzle
*
*/
export type DailyPuzzleModel = runtime.Types.Result.DefaultSelection<Prisma.$DailyPuzzlePayload>
export type AggregateDailyPuzzle = {
_count: DailyPuzzleCountAggregateOutputType | null
_min: DailyPuzzleMinAggregateOutputType | null
_max: DailyPuzzleMaxAggregateOutputType | null
}
export type DailyPuzzleMinAggregateOutputType = {
id: string | null
date: string | null
startArticle: string | null
targetArticle: string | null
}
export type DailyPuzzleMaxAggregateOutputType = {
id: string | null
date: string | null
startArticle: string | null
targetArticle: string | null
}
export type DailyPuzzleCountAggregateOutputType = {
id: number
date: number
startArticle: number
targetArticle: number
_all: number
}
export type DailyPuzzleMinAggregateInputType = {
id?: true
date?: true
startArticle?: true
targetArticle?: true
}
export type DailyPuzzleMaxAggregateInputType = {
id?: true
date?: true
startArticle?: true
targetArticle?: true
}
export type DailyPuzzleCountAggregateInputType = {
id?: true
date?: true
startArticle?: true
targetArticle?: true
_all?: true
}
export type DailyPuzzleAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which DailyPuzzle to aggregate.
*/
where?: Prisma.DailyPuzzleWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of DailyPuzzles to fetch.
*/
orderBy?: Prisma.DailyPuzzleOrderByWithRelationInput | Prisma.DailyPuzzleOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.DailyPuzzleWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` DailyPuzzles 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` DailyPuzzles.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned DailyPuzzles
**/
_count?: true | DailyPuzzleCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: DailyPuzzleMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: DailyPuzzleMaxAggregateInputType
}
export type GetDailyPuzzleAggregateType<T extends DailyPuzzleAggregateArgs> = {
[P in keyof T & keyof AggregateDailyPuzzle]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateDailyPuzzle[P]>
: Prisma.GetScalarType<T[P], AggregateDailyPuzzle[P]>
}
export type DailyPuzzleGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.DailyPuzzleWhereInput
orderBy?: Prisma.DailyPuzzleOrderByWithAggregationInput | Prisma.DailyPuzzleOrderByWithAggregationInput[]
by: Prisma.DailyPuzzleScalarFieldEnum[] | Prisma.DailyPuzzleScalarFieldEnum
having?: Prisma.DailyPuzzleScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: DailyPuzzleCountAggregateInputType | true
_min?: DailyPuzzleMinAggregateInputType
_max?: DailyPuzzleMaxAggregateInputType
}
export type DailyPuzzleGroupByOutputType = {
id: string
date: string
startArticle: string
targetArticle: string
_count: DailyPuzzleCountAggregateOutputType | null
_min: DailyPuzzleMinAggregateOutputType | null
_max: DailyPuzzleMaxAggregateOutputType | null
}
export type GetDailyPuzzleGroupByPayload<T extends DailyPuzzleGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<DailyPuzzleGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof DailyPuzzleGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], DailyPuzzleGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], DailyPuzzleGroupByOutputType[P]>
}
>
>
export type DailyPuzzleWhereInput = {
AND?: Prisma.DailyPuzzleWhereInput | Prisma.DailyPuzzleWhereInput[]
OR?: Prisma.DailyPuzzleWhereInput[]
NOT?: Prisma.DailyPuzzleWhereInput | Prisma.DailyPuzzleWhereInput[]
id?: Prisma.StringFilter<"DailyPuzzle"> | string
date?: Prisma.StringFilter<"DailyPuzzle"> | string
startArticle?: Prisma.StringFilter<"DailyPuzzle"> | string
targetArticle?: Prisma.StringFilter<"DailyPuzzle"> | string
results?: Prisma.DailyResultListRelationFilter
}
export type DailyPuzzleOrderByWithRelationInput = {
id?: Prisma.SortOrder
date?: Prisma.SortOrder
startArticle?: Prisma.SortOrder
targetArticle?: Prisma.SortOrder
results?: Prisma.DailyResultOrderByRelationAggregateInput
}
export type DailyPuzzleWhereUniqueInput = Prisma.AtLeast<{
id?: string
date?: string
AND?: Prisma.DailyPuzzleWhereInput | Prisma.DailyPuzzleWhereInput[]
OR?: Prisma.DailyPuzzleWhereInput[]
NOT?: Prisma.DailyPuzzleWhereInput | Prisma.DailyPuzzleWhereInput[]
startArticle?: Prisma.StringFilter<"DailyPuzzle"> | string
targetArticle?: Prisma.StringFilter<"DailyPuzzle"> | string
results?: Prisma.DailyResultListRelationFilter
}, "id" | "date">
export type DailyPuzzleOrderByWithAggregationInput = {
id?: Prisma.SortOrder
date?: Prisma.SortOrder
startArticle?: Prisma.SortOrder
targetArticle?: Prisma.SortOrder
_count?: Prisma.DailyPuzzleCountOrderByAggregateInput
_max?: Prisma.DailyPuzzleMaxOrderByAggregateInput
_min?: Prisma.DailyPuzzleMinOrderByAggregateInput
}
export type DailyPuzzleScalarWhereWithAggregatesInput = {
AND?: Prisma.DailyPuzzleScalarWhereWithAggregatesInput | Prisma.DailyPuzzleScalarWhereWithAggregatesInput[]
OR?: Prisma.DailyPuzzleScalarWhereWithAggregatesInput[]
NOT?: Prisma.DailyPuzzleScalarWhereWithAggregatesInput | Prisma.DailyPuzzleScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"DailyPuzzle"> | string
date?: Prisma.StringWithAggregatesFilter<"DailyPuzzle"> | string
startArticle?: Prisma.StringWithAggregatesFilter<"DailyPuzzle"> | string
targetArticle?: Prisma.StringWithAggregatesFilter<"DailyPuzzle"> | string
}
export type DailyPuzzleCreateInput = {
id?: string
date: string
startArticle: string
targetArticle: string
results?: Prisma.DailyResultCreateNestedManyWithoutPuzzleInput
}
export type DailyPuzzleUncheckedCreateInput = {
id?: string
date: string
startArticle: string
targetArticle: string
results?: Prisma.DailyResultUncheckedCreateNestedManyWithoutPuzzleInput
}
export type DailyPuzzleUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
date?: Prisma.StringFieldUpdateOperationsInput | string
startArticle?: Prisma.StringFieldUpdateOperationsInput | string
targetArticle?: Prisma.StringFieldUpdateOperationsInput | string
results?: Prisma.DailyResultUpdateManyWithoutPuzzleNestedInput
}
export type DailyPuzzleUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
date?: Prisma.StringFieldUpdateOperationsInput | string
startArticle?: Prisma.StringFieldUpdateOperationsInput | string
targetArticle?: Prisma.StringFieldUpdateOperationsInput | string
results?: Prisma.DailyResultUncheckedUpdateManyWithoutPuzzleNestedInput
}
export type DailyPuzzleCreateManyInput = {
id?: string
date: string
startArticle: string
targetArticle: string
}
export type DailyPuzzleUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
date?: Prisma.StringFieldUpdateOperationsInput | string
startArticle?: Prisma.StringFieldUpdateOperationsInput | string
targetArticle?: Prisma.StringFieldUpdateOperationsInput | string
}
export type DailyPuzzleUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
date?: Prisma.StringFieldUpdateOperationsInput | string
startArticle?: Prisma.StringFieldUpdateOperationsInput | string
targetArticle?: Prisma.StringFieldUpdateOperationsInput | string
}
export type DailyPuzzleCountOrderByAggregateInput = {
id?: Prisma.SortOrder
date?: Prisma.SortOrder
startArticle?: Prisma.SortOrder
targetArticle?: Prisma.SortOrder
}
export type DailyPuzzleMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
date?: Prisma.SortOrder
startArticle?: Prisma.SortOrder
targetArticle?: Prisma.SortOrder
}
export type DailyPuzzleMinOrderByAggregateInput = {
id?: Prisma.SortOrder
date?: Prisma.SortOrder
startArticle?: Prisma.SortOrder
targetArticle?: Prisma.SortOrder
}
export type DailyPuzzleScalarRelationFilter = {
is?: Prisma.DailyPuzzleWhereInput
isNot?: Prisma.DailyPuzzleWhereInput
}
export type DailyPuzzleCreateNestedOneWithoutResultsInput = {
create?: Prisma.XOR<Prisma.DailyPuzzleCreateWithoutResultsInput, Prisma.DailyPuzzleUncheckedCreateWithoutResultsInput>
connectOrCreate?: Prisma.DailyPuzzleCreateOrConnectWithoutResultsInput
connect?: Prisma.DailyPuzzleWhereUniqueInput
}
export type DailyPuzzleUpdateOneRequiredWithoutResultsNestedInput = {
create?: Prisma.XOR<Prisma.DailyPuzzleCreateWithoutResultsInput, Prisma.DailyPuzzleUncheckedCreateWithoutResultsInput>
connectOrCreate?: Prisma.DailyPuzzleCreateOrConnectWithoutResultsInput
upsert?: Prisma.DailyPuzzleUpsertWithoutResultsInput
connect?: Prisma.DailyPuzzleWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.DailyPuzzleUpdateToOneWithWhereWithoutResultsInput, Prisma.DailyPuzzleUpdateWithoutResultsInput>, Prisma.DailyPuzzleUncheckedUpdateWithoutResultsInput>
}
export type DailyPuzzleCreateWithoutResultsInput = {
id?: string
date: string
startArticle: string
targetArticle: string
}
export type DailyPuzzleUncheckedCreateWithoutResultsInput = {
id?: string
date: string
startArticle: string
targetArticle: string
}
export type DailyPuzzleCreateOrConnectWithoutResultsInput = {
where: Prisma.DailyPuzzleWhereUniqueInput
create: Prisma.XOR<Prisma.DailyPuzzleCreateWithoutResultsInput, Prisma.DailyPuzzleUncheckedCreateWithoutResultsInput>
}
export type DailyPuzzleUpsertWithoutResultsInput = {
update: Prisma.XOR<Prisma.DailyPuzzleUpdateWithoutResultsInput, Prisma.DailyPuzzleUncheckedUpdateWithoutResultsInput>
create: Prisma.XOR<Prisma.DailyPuzzleCreateWithoutResultsInput, Prisma.DailyPuzzleUncheckedCreateWithoutResultsInput>
where?: Prisma.DailyPuzzleWhereInput
}
export type DailyPuzzleUpdateToOneWithWhereWithoutResultsInput = {
where?: Prisma.DailyPuzzleWhereInput
data: Prisma.XOR<Prisma.DailyPuzzleUpdateWithoutResultsInput, Prisma.DailyPuzzleUncheckedUpdateWithoutResultsInput>
}
export type DailyPuzzleUpdateWithoutResultsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
date?: Prisma.StringFieldUpdateOperationsInput | string
startArticle?: Prisma.StringFieldUpdateOperationsInput | string
targetArticle?: Prisma.StringFieldUpdateOperationsInput | string
}
export type DailyPuzzleUncheckedUpdateWithoutResultsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
date?: Prisma.StringFieldUpdateOperationsInput | string
startArticle?: Prisma.StringFieldUpdateOperationsInput | string
targetArticle?: Prisma.StringFieldUpdateOperationsInput | string
}
/**
* Count Type DailyPuzzleCountOutputType
*/
export type DailyPuzzleCountOutputType = {
results: number
}
export type DailyPuzzleCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
results?: boolean | DailyPuzzleCountOutputTypeCountResultsArgs
}
/**
* DailyPuzzleCountOutputType without action
*/
export type DailyPuzzleCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DailyPuzzleCountOutputType
*/
select?: Prisma.DailyPuzzleCountOutputTypeSelect<ExtArgs> | null
}
/**
* DailyPuzzleCountOutputType without action
*/
export type DailyPuzzleCountOutputTypeCountResultsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.DailyResultWhereInput
}
export type DailyPuzzleSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
date?: boolean
startArticle?: boolean
targetArticle?: boolean
results?: boolean | Prisma.DailyPuzzle$resultsArgs<ExtArgs>
_count?: boolean | Prisma.DailyPuzzleCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["dailyPuzzle"]>
export type DailyPuzzleSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
date?: boolean
startArticle?: boolean
targetArticle?: boolean
}, ExtArgs["result"]["dailyPuzzle"]>
export type DailyPuzzleSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
date?: boolean
startArticle?: boolean
targetArticle?: boolean
}, ExtArgs["result"]["dailyPuzzle"]>
export type DailyPuzzleSelectScalar = {
id?: boolean
date?: boolean
startArticle?: boolean
targetArticle?: boolean
}
export type DailyPuzzleOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "date" | "startArticle" | "targetArticle", ExtArgs["result"]["dailyPuzzle"]>
export type DailyPuzzleInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
results?: boolean | Prisma.DailyPuzzle$resultsArgs<ExtArgs>
_count?: boolean | Prisma.DailyPuzzleCountOutputTypeDefaultArgs<ExtArgs>
}
export type DailyPuzzleIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
export type DailyPuzzleIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
export type $DailyPuzzlePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "DailyPuzzle"
objects: {
results: Prisma.$DailyResultPayload<ExtArgs>[]
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
date: string
startArticle: string
targetArticle: string
}, ExtArgs["result"]["dailyPuzzle"]>
composites: {}
}
export type DailyPuzzleGetPayload<S extends boolean | null | undefined | DailyPuzzleDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DailyPuzzlePayload, S>
export type DailyPuzzleCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<DailyPuzzleFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: DailyPuzzleCountAggregateInputType | true
}
export interface DailyPuzzleDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DailyPuzzle'], meta: { name: 'DailyPuzzle' } }
/**
* Find zero or one DailyPuzzle that matches the filter.
* @param {DailyPuzzleFindUniqueArgs} args - Arguments to find a DailyPuzzle
* @example
* // Get one DailyPuzzle
* const dailyPuzzle = await prisma.dailyPuzzle.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends DailyPuzzleFindUniqueArgs>(args: Prisma.SelectSubset<T, DailyPuzzleFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DailyPuzzleClient<runtime.Types.Result.GetResult<Prisma.$DailyPuzzlePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one DailyPuzzle that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {DailyPuzzleFindUniqueOrThrowArgs} args - Arguments to find a DailyPuzzle
* @example
* // Get one DailyPuzzle
* const dailyPuzzle = await prisma.dailyPuzzle.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends DailyPuzzleFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DailyPuzzleFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DailyPuzzleClient<runtime.Types.Result.GetResult<Prisma.$DailyPuzzlePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first DailyPuzzle 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 {DailyPuzzleFindFirstArgs} args - Arguments to find a DailyPuzzle
* @example
* // Get one DailyPuzzle
* const dailyPuzzle = await prisma.dailyPuzzle.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends DailyPuzzleFindFirstArgs>(args?: Prisma.SelectSubset<T, DailyPuzzleFindFirstArgs<ExtArgs>>): Prisma.Prisma__DailyPuzzleClient<runtime.Types.Result.GetResult<Prisma.$DailyPuzzlePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first DailyPuzzle 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 {DailyPuzzleFindFirstOrThrowArgs} args - Arguments to find a DailyPuzzle
* @example
* // Get one DailyPuzzle
* const dailyPuzzle = await prisma.dailyPuzzle.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends DailyPuzzleFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DailyPuzzleFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DailyPuzzleClient<runtime.Types.Result.GetResult<Prisma.$DailyPuzzlePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more DailyPuzzles 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 {DailyPuzzleFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all DailyPuzzles
* const dailyPuzzles = await prisma.dailyPuzzle.findMany()
*
* // Get first 10 DailyPuzzles
* const dailyPuzzles = await prisma.dailyPuzzle.findMany({ take: 10 })
*
* // Only select the `id`
* const dailyPuzzleWithIdOnly = await prisma.dailyPuzzle.findMany({ select: { id: true } })
*
*/
findMany<T extends DailyPuzzleFindManyArgs>(args?: Prisma.SelectSubset<T, DailyPuzzleFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DailyPuzzlePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a DailyPuzzle.
* @param {DailyPuzzleCreateArgs} args - Arguments to create a DailyPuzzle.
* @example
* // Create one DailyPuzzle
* const DailyPuzzle = await prisma.dailyPuzzle.create({
* data: {
* // ... data to create a DailyPuzzle
* }
* })
*
*/
create<T extends DailyPuzzleCreateArgs>(args: Prisma.SelectSubset<T, DailyPuzzleCreateArgs<ExtArgs>>): Prisma.Prisma__DailyPuzzleClient<runtime.Types.Result.GetResult<Prisma.$DailyPuzzlePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many DailyPuzzles.
* @param {DailyPuzzleCreateManyArgs} args - Arguments to create many DailyPuzzles.
* @example
* // Create many DailyPuzzles
* const dailyPuzzle = await prisma.dailyPuzzle.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends DailyPuzzleCreateManyArgs>(args?: Prisma.SelectSubset<T, DailyPuzzleCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many DailyPuzzles and returns the data saved in the database.
* @param {DailyPuzzleCreateManyAndReturnArgs} args - Arguments to create many DailyPuzzles.
* @example
* // Create many DailyPuzzles
* const dailyPuzzle = await prisma.dailyPuzzle.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many DailyPuzzles and only return the `id`
* const dailyPuzzleWithIdOnly = await prisma.dailyPuzzle.createManyAndReturn({
* select: { id: true },
* data: [
* // ... provide data here
* ]
* })
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
*
*/
createManyAndReturn<T extends DailyPuzzleCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DailyPuzzleCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DailyPuzzlePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a DailyPuzzle.
* @param {DailyPuzzleDeleteArgs} args - Arguments to delete one DailyPuzzle.
* @example
* // Delete one DailyPuzzle
* const DailyPuzzle = await prisma.dailyPuzzle.delete({
* where: {
* // ... filter to delete one DailyPuzzle
* }
* })
*
*/
delete<T extends DailyPuzzleDeleteArgs>(args: Prisma.SelectSubset<T, DailyPuzzleDeleteArgs<ExtArgs>>): Prisma.Prisma__DailyPuzzleClient<runtime.Types.Result.GetResult<Prisma.$DailyPuzzlePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one DailyPuzzle.
* @param {DailyPuzzleUpdateArgs} args - Arguments to update one DailyPuzzle.
* @example
* // Update one DailyPuzzle
* const dailyPuzzle = await prisma.dailyPuzzle.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends DailyPuzzleUpdateArgs>(args: Prisma.SelectSubset<T, DailyPuzzleUpdateArgs<ExtArgs>>): Prisma.Prisma__DailyPuzzleClient<runtime.Types.Result.GetResult<Prisma.$DailyPuzzlePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more DailyPuzzles.
* @param {DailyPuzzleDeleteManyArgs} args - Arguments to filter DailyPuzzles to delete.
* @example
* // Delete a few DailyPuzzles
* const { count } = await prisma.dailyPuzzle.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends DailyPuzzleDeleteManyArgs>(args?: Prisma.SelectSubset<T, DailyPuzzleDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more DailyPuzzles.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {DailyPuzzleUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many DailyPuzzles
* const dailyPuzzle = await prisma.dailyPuzzle.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends DailyPuzzleUpdateManyArgs>(args: Prisma.SelectSubset<T, DailyPuzzleUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more DailyPuzzles and returns the data updated in the database.
* @param {DailyPuzzleUpdateManyAndReturnArgs} args - Arguments to update many DailyPuzzles.
* @example
* // Update many DailyPuzzles
* const dailyPuzzle = await prisma.dailyPuzzle.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more DailyPuzzles and only return the `id`
* const dailyPuzzleWithIdOnly = await prisma.dailyPuzzle.updateManyAndReturn({
* select: { id: true },
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
*
*/
updateManyAndReturn<T extends DailyPuzzleUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DailyPuzzleUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DailyPuzzlePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one DailyPuzzle.
* @param {DailyPuzzleUpsertArgs} args - Arguments to update or create a DailyPuzzle.
* @example
* // Update or create a DailyPuzzle
* const dailyPuzzle = await prisma.dailyPuzzle.upsert({
* create: {
* // ... data to create a DailyPuzzle
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the DailyPuzzle we want to update
* }
* })
*/
upsert<T extends DailyPuzzleUpsertArgs>(args: Prisma.SelectSubset<T, DailyPuzzleUpsertArgs<ExtArgs>>): Prisma.Prisma__DailyPuzzleClient<runtime.Types.Result.GetResult<Prisma.$DailyPuzzlePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of DailyPuzzles.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {DailyPuzzleCountArgs} args - Arguments to filter DailyPuzzles to count.
* @example
* // Count the number of DailyPuzzles
* const count = await prisma.dailyPuzzle.count({
* where: {
* // ... the filter for the DailyPuzzles we want to count
* }
* })
**/
count<T extends DailyPuzzleCountArgs>(
args?: Prisma.Subset<T, DailyPuzzleCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], DailyPuzzleCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a DailyPuzzle.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {DailyPuzzleAggregateArgs} 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 DailyPuzzleAggregateArgs>(args: Prisma.Subset<T, DailyPuzzleAggregateArgs>): Prisma.PrismaPromise<GetDailyPuzzleAggregateType<T>>
/**
* Group by DailyPuzzle.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {DailyPuzzleGroupByArgs} 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 DailyPuzzleGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: DailyPuzzleGroupByArgs['orderBy'] }
: { orderBy?: DailyPuzzleGroupByArgs['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, DailyPuzzleGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDailyPuzzleGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the DailyPuzzle model
*/
readonly fields: DailyPuzzleFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for DailyPuzzle.
* 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__DailyPuzzleClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
results<T extends Prisma.DailyPuzzle$resultsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DailyPuzzle$resultsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DailyResultPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
/**
* 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 DailyPuzzle model
*/
export interface DailyPuzzleFieldRefs {
readonly id: Prisma.FieldRef<"DailyPuzzle", 'String'>
readonly date: Prisma.FieldRef<"DailyPuzzle", 'String'>
readonly startArticle: Prisma.FieldRef<"DailyPuzzle", 'String'>
readonly targetArticle: Prisma.FieldRef<"DailyPuzzle", 'String'>
}
// Custom InputTypes
/**
* DailyPuzzle findUnique
*/
export type DailyPuzzleFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DailyPuzzle
*/
select?: Prisma.DailyPuzzleSelect<ExtArgs> | null
/**
* Omit specific fields from the DailyPuzzle
*/
omit?: Prisma.DailyPuzzleOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DailyPuzzleInclude<ExtArgs> | null
/**
* Filter, which DailyPuzzle to fetch.
*/
where: Prisma.DailyPuzzleWhereUniqueInput
}
/**
* DailyPuzzle findUniqueOrThrow
*/
export type DailyPuzzleFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DailyPuzzle
*/
select?: Prisma.DailyPuzzleSelect<ExtArgs> | null
/**
* Omit specific fields from the DailyPuzzle
*/
omit?: Prisma.DailyPuzzleOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DailyPuzzleInclude<ExtArgs> | null
/**
* Filter, which DailyPuzzle to fetch.
*/
where: Prisma.DailyPuzzleWhereUniqueInput
}
/**
* DailyPuzzle findFirst
*/
export type DailyPuzzleFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DailyPuzzle
*/
select?: Prisma.DailyPuzzleSelect<ExtArgs> | null
/**
* Omit specific fields from the DailyPuzzle
*/
omit?: Prisma.DailyPuzzleOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DailyPuzzleInclude<ExtArgs> | null
/**
* Filter, which DailyPuzzle to fetch.
*/
where?: Prisma.DailyPuzzleWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of DailyPuzzles to fetch.
*/
orderBy?: Prisma.DailyPuzzleOrderByWithRelationInput | Prisma.DailyPuzzleOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for DailyPuzzles.
*/
cursor?: Prisma.DailyPuzzleWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` DailyPuzzles 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` DailyPuzzles.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of DailyPuzzles.
*/
distinct?: Prisma.DailyPuzzleScalarFieldEnum | Prisma.DailyPuzzleScalarFieldEnum[]
}
/**
* DailyPuzzle findFirstOrThrow
*/
export type DailyPuzzleFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DailyPuzzle
*/
select?: Prisma.DailyPuzzleSelect<ExtArgs> | null
/**
* Omit specific fields from the DailyPuzzle
*/
omit?: Prisma.DailyPuzzleOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DailyPuzzleInclude<ExtArgs> | null
/**
* Filter, which DailyPuzzle to fetch.
*/
where?: Prisma.DailyPuzzleWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of DailyPuzzles to fetch.
*/
orderBy?: Prisma.DailyPuzzleOrderByWithRelationInput | Prisma.DailyPuzzleOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for DailyPuzzles.
*/
cursor?: Prisma.DailyPuzzleWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` DailyPuzzles 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` DailyPuzzles.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of DailyPuzzles.
*/
distinct?: Prisma.DailyPuzzleScalarFieldEnum | Prisma.DailyPuzzleScalarFieldEnum[]
}
/**
* DailyPuzzle findMany
*/
export type DailyPuzzleFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DailyPuzzle
*/
select?: Prisma.DailyPuzzleSelect<ExtArgs> | null
/**
* Omit specific fields from the DailyPuzzle
*/
omit?: Prisma.DailyPuzzleOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DailyPuzzleInclude<ExtArgs> | null
/**
* Filter, which DailyPuzzles to fetch.
*/
where?: Prisma.DailyPuzzleWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of DailyPuzzles to fetch.
*/
orderBy?: Prisma.DailyPuzzleOrderByWithRelationInput | Prisma.DailyPuzzleOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing DailyPuzzles.
*/
cursor?: Prisma.DailyPuzzleWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` DailyPuzzles 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` DailyPuzzles.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of DailyPuzzles.
*/
distinct?: Prisma.DailyPuzzleScalarFieldEnum | Prisma.DailyPuzzleScalarFieldEnum[]
}
/**
* DailyPuzzle create
*/
export type DailyPuzzleCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DailyPuzzle
*/
select?: Prisma.DailyPuzzleSelect<ExtArgs> | null
/**
* Omit specific fields from the DailyPuzzle
*/
omit?: Prisma.DailyPuzzleOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DailyPuzzleInclude<ExtArgs> | null
/**
* The data needed to create a DailyPuzzle.
*/
data: Prisma.XOR<Prisma.DailyPuzzleCreateInput, Prisma.DailyPuzzleUncheckedCreateInput>
}
/**
* DailyPuzzle createMany
*/
export type DailyPuzzleCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many DailyPuzzles.
*/
data: Prisma.DailyPuzzleCreateManyInput | Prisma.DailyPuzzleCreateManyInput[]
}
/**
* DailyPuzzle createManyAndReturn
*/
export type DailyPuzzleCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DailyPuzzle
*/
select?: Prisma.DailyPuzzleSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the DailyPuzzle
*/
omit?: Prisma.DailyPuzzleOmit<ExtArgs> | null
/**
* The data used to create many DailyPuzzles.
*/
data: Prisma.DailyPuzzleCreateManyInput | Prisma.DailyPuzzleCreateManyInput[]
}
/**
* DailyPuzzle update
*/
export type DailyPuzzleUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DailyPuzzle
*/
select?: Prisma.DailyPuzzleSelect<ExtArgs> | null
/**
* Omit specific fields from the DailyPuzzle
*/
omit?: Prisma.DailyPuzzleOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DailyPuzzleInclude<ExtArgs> | null
/**
* The data needed to update a DailyPuzzle.
*/
data: Prisma.XOR<Prisma.DailyPuzzleUpdateInput, Prisma.DailyPuzzleUncheckedUpdateInput>
/**
* Choose, which DailyPuzzle to update.
*/
where: Prisma.DailyPuzzleWhereUniqueInput
}
/**
* DailyPuzzle updateMany
*/
export type DailyPuzzleUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update DailyPuzzles.
*/
data: Prisma.XOR<Prisma.DailyPuzzleUpdateManyMutationInput, Prisma.DailyPuzzleUncheckedUpdateManyInput>
/**
* Filter which DailyPuzzles to update
*/
where?: Prisma.DailyPuzzleWhereInput
/**
* Limit how many DailyPuzzles to update.
*/
limit?: number
}
/**
* DailyPuzzle updateManyAndReturn
*/
export type DailyPuzzleUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DailyPuzzle
*/
select?: Prisma.DailyPuzzleSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the DailyPuzzle
*/
omit?: Prisma.DailyPuzzleOmit<ExtArgs> | null
/**
* The data used to update DailyPuzzles.
*/
data: Prisma.XOR<Prisma.DailyPuzzleUpdateManyMutationInput, Prisma.DailyPuzzleUncheckedUpdateManyInput>
/**
* Filter which DailyPuzzles to update
*/
where?: Prisma.DailyPuzzleWhereInput
/**
* Limit how many DailyPuzzles to update.
*/
limit?: number
}
/**
* DailyPuzzle upsert
*/
export type DailyPuzzleUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DailyPuzzle
*/
select?: Prisma.DailyPuzzleSelect<ExtArgs> | null
/**
* Omit specific fields from the DailyPuzzle
*/
omit?: Prisma.DailyPuzzleOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DailyPuzzleInclude<ExtArgs> | null
/**
* The filter to search for the DailyPuzzle to update in case it exists.
*/
where: Prisma.DailyPuzzleWhereUniqueInput
/**
* In case the DailyPuzzle found by the `where` argument doesn't exist, create a new DailyPuzzle with this data.
*/
create: Prisma.XOR<Prisma.DailyPuzzleCreateInput, Prisma.DailyPuzzleUncheckedCreateInput>
/**
* In case the DailyPuzzle was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.DailyPuzzleUpdateInput, Prisma.DailyPuzzleUncheckedUpdateInput>
}
/**
* DailyPuzzle delete
*/
export type DailyPuzzleDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DailyPuzzle
*/
select?: Prisma.DailyPuzzleSelect<ExtArgs> | null
/**
* Omit specific fields from the DailyPuzzle
*/
omit?: Prisma.DailyPuzzleOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DailyPuzzleInclude<ExtArgs> | null
/**
* Filter which DailyPuzzle to delete.
*/
where: Prisma.DailyPuzzleWhereUniqueInput
}
/**
* DailyPuzzle deleteMany
*/
export type DailyPuzzleDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which DailyPuzzles to delete
*/
where?: Prisma.DailyPuzzleWhereInput
/**
* Limit how many DailyPuzzles to delete.
*/
limit?: number
}
/**
* DailyPuzzle.results
*/
export type DailyPuzzle$resultsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DailyResult
*/
select?: Prisma.DailyResultSelect<ExtArgs> | null
/**
* Omit specific fields from the DailyResult
*/
omit?: Prisma.DailyResultOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DailyResultInclude<ExtArgs> | null
where?: Prisma.DailyResultWhereInput
orderBy?: Prisma.DailyResultOrderByWithRelationInput | Prisma.DailyResultOrderByWithRelationInput[]
cursor?: Prisma.DailyResultWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.DailyResultScalarFieldEnum | Prisma.DailyResultScalarFieldEnum[]
}
/**
* DailyPuzzle without action
*/
export type DailyPuzzleDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DailyPuzzle
*/
select?: Prisma.DailyPuzzleSelect<ExtArgs> | null
/**
* Omit specific fields from the DailyPuzzle
*/
omit?: Prisma.DailyPuzzleOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DailyPuzzleInclude<ExtArgs> | null
}