/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `DailyResult` 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 DailyResult * */ export type DailyResultModel = runtime.Types.Result.DefaultSelection export type AggregateDailyResult = { _count: DailyResultCountAggregateOutputType | null _avg: DailyResultAvgAggregateOutputType | null _sum: DailyResultSumAggregateOutputType | null _min: DailyResultMinAggregateOutputType | null _max: DailyResultMaxAggregateOutputType | null } export type DailyResultAvgAggregateOutputType = { clicks: number | null timeSeconds: number | null } export type DailyResultSumAggregateOutputType = { clicks: number | null timeSeconds: number | null } export type DailyResultMinAggregateOutputType = { id: string | null puzzleId: string | null userId: string | null path: string | null clicks: number | null timeSeconds: number | null won: boolean | null playedAt: Date | null } export type DailyResultMaxAggregateOutputType = { id: string | null puzzleId: string | null userId: string | null path: string | null clicks: number | null timeSeconds: number | null won: boolean | null playedAt: Date | null } export type DailyResultCountAggregateOutputType = { id: number puzzleId: number userId: number path: number clicks: number timeSeconds: number won: number playedAt: number _all: number } export type DailyResultAvgAggregateInputType = { clicks?: true timeSeconds?: true } export type DailyResultSumAggregateInputType = { clicks?: true timeSeconds?: true } export type DailyResultMinAggregateInputType = { id?: true puzzleId?: true userId?: true path?: true clicks?: true timeSeconds?: true won?: true playedAt?: true } export type DailyResultMaxAggregateInputType = { id?: true puzzleId?: true userId?: true path?: true clicks?: true timeSeconds?: true won?: true playedAt?: true } export type DailyResultCountAggregateInputType = { id?: true puzzleId?: true userId?: true path?: true clicks?: true timeSeconds?: true won?: true playedAt?: true _all?: true } export type DailyResultAggregateArgs = { /** * Filter which DailyResult to aggregate. */ where?: Prisma.DailyResultWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DailyResults to fetch. */ orderBy?: Prisma.DailyResultOrderByWithRelationInput | Prisma.DailyResultOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.DailyResultWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DailyResults 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` DailyResults. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned DailyResults **/ _count?: true | DailyResultCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: DailyResultAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: DailyResultSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: DailyResultMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: DailyResultMaxAggregateInputType } export type GetDailyResultAggregateType = { [P in keyof T & keyof AggregateDailyResult]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type DailyResultGroupByArgs = { where?: Prisma.DailyResultWhereInput orderBy?: Prisma.DailyResultOrderByWithAggregationInput | Prisma.DailyResultOrderByWithAggregationInput[] by: Prisma.DailyResultScalarFieldEnum[] | Prisma.DailyResultScalarFieldEnum having?: Prisma.DailyResultScalarWhereWithAggregatesInput take?: number skip?: number _count?: DailyResultCountAggregateInputType | true _avg?: DailyResultAvgAggregateInputType _sum?: DailyResultSumAggregateInputType _min?: DailyResultMinAggregateInputType _max?: DailyResultMaxAggregateInputType } export type DailyResultGroupByOutputType = { id: string puzzleId: string userId: string path: string clicks: number timeSeconds: number won: boolean playedAt: Date _count: DailyResultCountAggregateOutputType | null _avg: DailyResultAvgAggregateOutputType | null _sum: DailyResultSumAggregateOutputType | null _min: DailyResultMinAggregateOutputType | null _max: DailyResultMaxAggregateOutputType | null } export type GetDailyResultGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof DailyResultGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type DailyResultWhereInput = { AND?: Prisma.DailyResultWhereInput | Prisma.DailyResultWhereInput[] OR?: Prisma.DailyResultWhereInput[] NOT?: Prisma.DailyResultWhereInput | Prisma.DailyResultWhereInput[] id?: Prisma.StringFilter<"DailyResult"> | string puzzleId?: Prisma.StringFilter<"DailyResult"> | string userId?: Prisma.StringFilter<"DailyResult"> | string path?: Prisma.StringFilter<"DailyResult"> | string clicks?: Prisma.IntFilter<"DailyResult"> | number timeSeconds?: Prisma.FloatFilter<"DailyResult"> | number won?: Prisma.BoolFilter<"DailyResult"> | boolean playedAt?: Prisma.DateTimeFilter<"DailyResult"> | Date | string puzzle?: Prisma.XOR user?: Prisma.XOR } export type DailyResultOrderByWithRelationInput = { id?: Prisma.SortOrder puzzleId?: Prisma.SortOrder userId?: Prisma.SortOrder path?: Prisma.SortOrder clicks?: Prisma.SortOrder timeSeconds?: Prisma.SortOrder won?: Prisma.SortOrder playedAt?: Prisma.SortOrder puzzle?: Prisma.DailyPuzzleOrderByWithRelationInput user?: Prisma.UserOrderByWithRelationInput } export type DailyResultWhereUniqueInput = Prisma.AtLeast<{ id?: string puzzleId_userId?: Prisma.DailyResultPuzzleIdUserIdCompoundUniqueInput AND?: Prisma.DailyResultWhereInput | Prisma.DailyResultWhereInput[] OR?: Prisma.DailyResultWhereInput[] NOT?: Prisma.DailyResultWhereInput | Prisma.DailyResultWhereInput[] puzzleId?: Prisma.StringFilter<"DailyResult"> | string userId?: Prisma.StringFilter<"DailyResult"> | string path?: Prisma.StringFilter<"DailyResult"> | string clicks?: Prisma.IntFilter<"DailyResult"> | number timeSeconds?: Prisma.FloatFilter<"DailyResult"> | number won?: Prisma.BoolFilter<"DailyResult"> | boolean playedAt?: Prisma.DateTimeFilter<"DailyResult"> | Date | string puzzle?: Prisma.XOR user?: Prisma.XOR }, "id" | "puzzleId_userId"> export type DailyResultOrderByWithAggregationInput = { id?: Prisma.SortOrder puzzleId?: Prisma.SortOrder userId?: Prisma.SortOrder path?: Prisma.SortOrder clicks?: Prisma.SortOrder timeSeconds?: Prisma.SortOrder won?: Prisma.SortOrder playedAt?: Prisma.SortOrder _count?: Prisma.DailyResultCountOrderByAggregateInput _avg?: Prisma.DailyResultAvgOrderByAggregateInput _max?: Prisma.DailyResultMaxOrderByAggregateInput _min?: Prisma.DailyResultMinOrderByAggregateInput _sum?: Prisma.DailyResultSumOrderByAggregateInput } export type DailyResultScalarWhereWithAggregatesInput = { AND?: Prisma.DailyResultScalarWhereWithAggregatesInput | Prisma.DailyResultScalarWhereWithAggregatesInput[] OR?: Prisma.DailyResultScalarWhereWithAggregatesInput[] NOT?: Prisma.DailyResultScalarWhereWithAggregatesInput | Prisma.DailyResultScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"DailyResult"> | string puzzleId?: Prisma.StringWithAggregatesFilter<"DailyResult"> | string userId?: Prisma.StringWithAggregatesFilter<"DailyResult"> | string path?: Prisma.StringWithAggregatesFilter<"DailyResult"> | string clicks?: Prisma.IntWithAggregatesFilter<"DailyResult"> | number timeSeconds?: Prisma.FloatWithAggregatesFilter<"DailyResult"> | number won?: Prisma.BoolWithAggregatesFilter<"DailyResult"> | boolean playedAt?: Prisma.DateTimeWithAggregatesFilter<"DailyResult"> | Date | string } export type DailyResultCreateInput = { id?: string path: string clicks: number timeSeconds: number won: boolean playedAt?: Date | string puzzle: Prisma.DailyPuzzleCreateNestedOneWithoutResultsInput user: Prisma.UserCreateNestedOneWithoutDailyResultsInput } export type DailyResultUncheckedCreateInput = { id?: string puzzleId: string userId: string path: string clicks: number timeSeconds: number won: boolean playedAt?: Date | string } export type DailyResultUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string path?: Prisma.StringFieldUpdateOperationsInput | string clicks?: Prisma.IntFieldUpdateOperationsInput | number timeSeconds?: Prisma.FloatFieldUpdateOperationsInput | number won?: Prisma.BoolFieldUpdateOperationsInput | boolean playedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string puzzle?: Prisma.DailyPuzzleUpdateOneRequiredWithoutResultsNestedInput user?: Prisma.UserUpdateOneRequiredWithoutDailyResultsNestedInput } export type DailyResultUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string puzzleId?: Prisma.StringFieldUpdateOperationsInput | string userId?: Prisma.StringFieldUpdateOperationsInput | string path?: Prisma.StringFieldUpdateOperationsInput | string clicks?: Prisma.IntFieldUpdateOperationsInput | number timeSeconds?: Prisma.FloatFieldUpdateOperationsInput | number won?: Prisma.BoolFieldUpdateOperationsInput | boolean playedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type DailyResultCreateManyInput = { id?: string puzzleId: string userId: string path: string clicks: number timeSeconds: number won: boolean playedAt?: Date | string } export type DailyResultUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string path?: Prisma.StringFieldUpdateOperationsInput | string clicks?: Prisma.IntFieldUpdateOperationsInput | number timeSeconds?: Prisma.FloatFieldUpdateOperationsInput | number won?: Prisma.BoolFieldUpdateOperationsInput | boolean playedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type DailyResultUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string puzzleId?: Prisma.StringFieldUpdateOperationsInput | string userId?: Prisma.StringFieldUpdateOperationsInput | string path?: Prisma.StringFieldUpdateOperationsInput | string clicks?: Prisma.IntFieldUpdateOperationsInput | number timeSeconds?: Prisma.FloatFieldUpdateOperationsInput | number won?: Prisma.BoolFieldUpdateOperationsInput | boolean playedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type DailyResultListRelationFilter = { every?: Prisma.DailyResultWhereInput some?: Prisma.DailyResultWhereInput none?: Prisma.DailyResultWhereInput } export type DailyResultOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type DailyResultPuzzleIdUserIdCompoundUniqueInput = { puzzleId: string userId: string } export type DailyResultCountOrderByAggregateInput = { id?: Prisma.SortOrder puzzleId?: Prisma.SortOrder userId?: Prisma.SortOrder path?: Prisma.SortOrder clicks?: Prisma.SortOrder timeSeconds?: Prisma.SortOrder won?: Prisma.SortOrder playedAt?: Prisma.SortOrder } export type DailyResultAvgOrderByAggregateInput = { clicks?: Prisma.SortOrder timeSeconds?: Prisma.SortOrder } export type DailyResultMaxOrderByAggregateInput = { id?: Prisma.SortOrder puzzleId?: Prisma.SortOrder userId?: Prisma.SortOrder path?: Prisma.SortOrder clicks?: Prisma.SortOrder timeSeconds?: Prisma.SortOrder won?: Prisma.SortOrder playedAt?: Prisma.SortOrder } export type DailyResultMinOrderByAggregateInput = { id?: Prisma.SortOrder puzzleId?: Prisma.SortOrder userId?: Prisma.SortOrder path?: Prisma.SortOrder clicks?: Prisma.SortOrder timeSeconds?: Prisma.SortOrder won?: Prisma.SortOrder playedAt?: Prisma.SortOrder } export type DailyResultSumOrderByAggregateInput = { clicks?: Prisma.SortOrder timeSeconds?: Prisma.SortOrder } export type DailyResultCreateNestedManyWithoutUserInput = { create?: Prisma.XOR | Prisma.DailyResultCreateWithoutUserInput[] | Prisma.DailyResultUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.DailyResultCreateOrConnectWithoutUserInput | Prisma.DailyResultCreateOrConnectWithoutUserInput[] createMany?: Prisma.DailyResultCreateManyUserInputEnvelope connect?: Prisma.DailyResultWhereUniqueInput | Prisma.DailyResultWhereUniqueInput[] } export type DailyResultUncheckedCreateNestedManyWithoutUserInput = { create?: Prisma.XOR | Prisma.DailyResultCreateWithoutUserInput[] | Prisma.DailyResultUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.DailyResultCreateOrConnectWithoutUserInput | Prisma.DailyResultCreateOrConnectWithoutUserInput[] createMany?: Prisma.DailyResultCreateManyUserInputEnvelope connect?: Prisma.DailyResultWhereUniqueInput | Prisma.DailyResultWhereUniqueInput[] } export type DailyResultUpdateManyWithoutUserNestedInput = { create?: Prisma.XOR | Prisma.DailyResultCreateWithoutUserInput[] | Prisma.DailyResultUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.DailyResultCreateOrConnectWithoutUserInput | Prisma.DailyResultCreateOrConnectWithoutUserInput[] upsert?: Prisma.DailyResultUpsertWithWhereUniqueWithoutUserInput | Prisma.DailyResultUpsertWithWhereUniqueWithoutUserInput[] createMany?: Prisma.DailyResultCreateManyUserInputEnvelope set?: Prisma.DailyResultWhereUniqueInput | Prisma.DailyResultWhereUniqueInput[] disconnect?: Prisma.DailyResultWhereUniqueInput | Prisma.DailyResultWhereUniqueInput[] delete?: Prisma.DailyResultWhereUniqueInput | Prisma.DailyResultWhereUniqueInput[] connect?: Prisma.DailyResultWhereUniqueInput | Prisma.DailyResultWhereUniqueInput[] update?: Prisma.DailyResultUpdateWithWhereUniqueWithoutUserInput | Prisma.DailyResultUpdateWithWhereUniqueWithoutUserInput[] updateMany?: Prisma.DailyResultUpdateManyWithWhereWithoutUserInput | Prisma.DailyResultUpdateManyWithWhereWithoutUserInput[] deleteMany?: Prisma.DailyResultScalarWhereInput | Prisma.DailyResultScalarWhereInput[] } export type DailyResultUncheckedUpdateManyWithoutUserNestedInput = { create?: Prisma.XOR | Prisma.DailyResultCreateWithoutUserInput[] | Prisma.DailyResultUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.DailyResultCreateOrConnectWithoutUserInput | Prisma.DailyResultCreateOrConnectWithoutUserInput[] upsert?: Prisma.DailyResultUpsertWithWhereUniqueWithoutUserInput | Prisma.DailyResultUpsertWithWhereUniqueWithoutUserInput[] createMany?: Prisma.DailyResultCreateManyUserInputEnvelope set?: Prisma.DailyResultWhereUniqueInput | Prisma.DailyResultWhereUniqueInput[] disconnect?: Prisma.DailyResultWhereUniqueInput | Prisma.DailyResultWhereUniqueInput[] delete?: Prisma.DailyResultWhereUniqueInput | Prisma.DailyResultWhereUniqueInput[] connect?: Prisma.DailyResultWhereUniqueInput | Prisma.DailyResultWhereUniqueInput[] update?: Prisma.DailyResultUpdateWithWhereUniqueWithoutUserInput | Prisma.DailyResultUpdateWithWhereUniqueWithoutUserInput[] updateMany?: Prisma.DailyResultUpdateManyWithWhereWithoutUserInput | Prisma.DailyResultUpdateManyWithWhereWithoutUserInput[] deleteMany?: Prisma.DailyResultScalarWhereInput | Prisma.DailyResultScalarWhereInput[] } export type DailyResultCreateNestedManyWithoutPuzzleInput = { create?: Prisma.XOR | Prisma.DailyResultCreateWithoutPuzzleInput[] | Prisma.DailyResultUncheckedCreateWithoutPuzzleInput[] connectOrCreate?: Prisma.DailyResultCreateOrConnectWithoutPuzzleInput | Prisma.DailyResultCreateOrConnectWithoutPuzzleInput[] createMany?: Prisma.DailyResultCreateManyPuzzleInputEnvelope connect?: Prisma.DailyResultWhereUniqueInput | Prisma.DailyResultWhereUniqueInput[] } export type DailyResultUncheckedCreateNestedManyWithoutPuzzleInput = { create?: Prisma.XOR | Prisma.DailyResultCreateWithoutPuzzleInput[] | Prisma.DailyResultUncheckedCreateWithoutPuzzleInput[] connectOrCreate?: Prisma.DailyResultCreateOrConnectWithoutPuzzleInput | Prisma.DailyResultCreateOrConnectWithoutPuzzleInput[] createMany?: Prisma.DailyResultCreateManyPuzzleInputEnvelope connect?: Prisma.DailyResultWhereUniqueInput | Prisma.DailyResultWhereUniqueInput[] } export type DailyResultUpdateManyWithoutPuzzleNestedInput = { create?: Prisma.XOR | Prisma.DailyResultCreateWithoutPuzzleInput[] | Prisma.DailyResultUncheckedCreateWithoutPuzzleInput[] connectOrCreate?: Prisma.DailyResultCreateOrConnectWithoutPuzzleInput | Prisma.DailyResultCreateOrConnectWithoutPuzzleInput[] upsert?: Prisma.DailyResultUpsertWithWhereUniqueWithoutPuzzleInput | Prisma.DailyResultUpsertWithWhereUniqueWithoutPuzzleInput[] createMany?: Prisma.DailyResultCreateManyPuzzleInputEnvelope set?: Prisma.DailyResultWhereUniqueInput | Prisma.DailyResultWhereUniqueInput[] disconnect?: Prisma.DailyResultWhereUniqueInput | Prisma.DailyResultWhereUniqueInput[] delete?: Prisma.DailyResultWhereUniqueInput | Prisma.DailyResultWhereUniqueInput[] connect?: Prisma.DailyResultWhereUniqueInput | Prisma.DailyResultWhereUniqueInput[] update?: Prisma.DailyResultUpdateWithWhereUniqueWithoutPuzzleInput | Prisma.DailyResultUpdateWithWhereUniqueWithoutPuzzleInput[] updateMany?: Prisma.DailyResultUpdateManyWithWhereWithoutPuzzleInput | Prisma.DailyResultUpdateManyWithWhereWithoutPuzzleInput[] deleteMany?: Prisma.DailyResultScalarWhereInput | Prisma.DailyResultScalarWhereInput[] } export type DailyResultUncheckedUpdateManyWithoutPuzzleNestedInput = { create?: Prisma.XOR | Prisma.DailyResultCreateWithoutPuzzleInput[] | Prisma.DailyResultUncheckedCreateWithoutPuzzleInput[] connectOrCreate?: Prisma.DailyResultCreateOrConnectWithoutPuzzleInput | Prisma.DailyResultCreateOrConnectWithoutPuzzleInput[] upsert?: Prisma.DailyResultUpsertWithWhereUniqueWithoutPuzzleInput | Prisma.DailyResultUpsertWithWhereUniqueWithoutPuzzleInput[] createMany?: Prisma.DailyResultCreateManyPuzzleInputEnvelope set?: Prisma.DailyResultWhereUniqueInput | Prisma.DailyResultWhereUniqueInput[] disconnect?: Prisma.DailyResultWhereUniqueInput | Prisma.DailyResultWhereUniqueInput[] delete?: Prisma.DailyResultWhereUniqueInput | Prisma.DailyResultWhereUniqueInput[] connect?: Prisma.DailyResultWhereUniqueInput | Prisma.DailyResultWhereUniqueInput[] update?: Prisma.DailyResultUpdateWithWhereUniqueWithoutPuzzleInput | Prisma.DailyResultUpdateWithWhereUniqueWithoutPuzzleInput[] updateMany?: Prisma.DailyResultUpdateManyWithWhereWithoutPuzzleInput | Prisma.DailyResultUpdateManyWithWhereWithoutPuzzleInput[] deleteMany?: Prisma.DailyResultScalarWhereInput | Prisma.DailyResultScalarWhereInput[] } export type DailyResultCreateWithoutUserInput = { id?: string path: string clicks: number timeSeconds: number won: boolean playedAt?: Date | string puzzle: Prisma.DailyPuzzleCreateNestedOneWithoutResultsInput } export type DailyResultUncheckedCreateWithoutUserInput = { id?: string puzzleId: string path: string clicks: number timeSeconds: number won: boolean playedAt?: Date | string } export type DailyResultCreateOrConnectWithoutUserInput = { where: Prisma.DailyResultWhereUniqueInput create: Prisma.XOR } export type DailyResultCreateManyUserInputEnvelope = { data: Prisma.DailyResultCreateManyUserInput | Prisma.DailyResultCreateManyUserInput[] } export type DailyResultUpsertWithWhereUniqueWithoutUserInput = { where: Prisma.DailyResultWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type DailyResultUpdateWithWhereUniqueWithoutUserInput = { where: Prisma.DailyResultWhereUniqueInput data: Prisma.XOR } export type DailyResultUpdateManyWithWhereWithoutUserInput = { where: Prisma.DailyResultScalarWhereInput data: Prisma.XOR } export type DailyResultScalarWhereInput = { AND?: Prisma.DailyResultScalarWhereInput | Prisma.DailyResultScalarWhereInput[] OR?: Prisma.DailyResultScalarWhereInput[] NOT?: Prisma.DailyResultScalarWhereInput | Prisma.DailyResultScalarWhereInput[] id?: Prisma.StringFilter<"DailyResult"> | string puzzleId?: Prisma.StringFilter<"DailyResult"> | string userId?: Prisma.StringFilter<"DailyResult"> | string path?: Prisma.StringFilter<"DailyResult"> | string clicks?: Prisma.IntFilter<"DailyResult"> | number timeSeconds?: Prisma.FloatFilter<"DailyResult"> | number won?: Prisma.BoolFilter<"DailyResult"> | boolean playedAt?: Prisma.DateTimeFilter<"DailyResult"> | Date | string } export type DailyResultCreateWithoutPuzzleInput = { id?: string path: string clicks: number timeSeconds: number won: boolean playedAt?: Date | string user: Prisma.UserCreateNestedOneWithoutDailyResultsInput } export type DailyResultUncheckedCreateWithoutPuzzleInput = { id?: string userId: string path: string clicks: number timeSeconds: number won: boolean playedAt?: Date | string } export type DailyResultCreateOrConnectWithoutPuzzleInput = { where: Prisma.DailyResultWhereUniqueInput create: Prisma.XOR } export type DailyResultCreateManyPuzzleInputEnvelope = { data: Prisma.DailyResultCreateManyPuzzleInput | Prisma.DailyResultCreateManyPuzzleInput[] } export type DailyResultUpsertWithWhereUniqueWithoutPuzzleInput = { where: Prisma.DailyResultWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type DailyResultUpdateWithWhereUniqueWithoutPuzzleInput = { where: Prisma.DailyResultWhereUniqueInput data: Prisma.XOR } export type DailyResultUpdateManyWithWhereWithoutPuzzleInput = { where: Prisma.DailyResultScalarWhereInput data: Prisma.XOR } export type DailyResultCreateManyUserInput = { id?: string puzzleId: string path: string clicks: number timeSeconds: number won: boolean playedAt?: Date | string } export type DailyResultUpdateWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string path?: Prisma.StringFieldUpdateOperationsInput | string clicks?: Prisma.IntFieldUpdateOperationsInput | number timeSeconds?: Prisma.FloatFieldUpdateOperationsInput | number won?: Prisma.BoolFieldUpdateOperationsInput | boolean playedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string puzzle?: Prisma.DailyPuzzleUpdateOneRequiredWithoutResultsNestedInput } export type DailyResultUncheckedUpdateWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string puzzleId?: Prisma.StringFieldUpdateOperationsInput | string path?: Prisma.StringFieldUpdateOperationsInput | string clicks?: Prisma.IntFieldUpdateOperationsInput | number timeSeconds?: Prisma.FloatFieldUpdateOperationsInput | number won?: Prisma.BoolFieldUpdateOperationsInput | boolean playedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type DailyResultUncheckedUpdateManyWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string puzzleId?: Prisma.StringFieldUpdateOperationsInput | string path?: Prisma.StringFieldUpdateOperationsInput | string clicks?: Prisma.IntFieldUpdateOperationsInput | number timeSeconds?: Prisma.FloatFieldUpdateOperationsInput | number won?: Prisma.BoolFieldUpdateOperationsInput | boolean playedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type DailyResultCreateManyPuzzleInput = { id?: string userId: string path: string clicks: number timeSeconds: number won: boolean playedAt?: Date | string } export type DailyResultUpdateWithoutPuzzleInput = { id?: Prisma.StringFieldUpdateOperationsInput | string path?: Prisma.StringFieldUpdateOperationsInput | string clicks?: Prisma.IntFieldUpdateOperationsInput | number timeSeconds?: Prisma.FloatFieldUpdateOperationsInput | number won?: Prisma.BoolFieldUpdateOperationsInput | boolean playedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string user?: Prisma.UserUpdateOneRequiredWithoutDailyResultsNestedInput } export type DailyResultUncheckedUpdateWithoutPuzzleInput = { id?: Prisma.StringFieldUpdateOperationsInput | string userId?: Prisma.StringFieldUpdateOperationsInput | string path?: Prisma.StringFieldUpdateOperationsInput | string clicks?: Prisma.IntFieldUpdateOperationsInput | number timeSeconds?: Prisma.FloatFieldUpdateOperationsInput | number won?: Prisma.BoolFieldUpdateOperationsInput | boolean playedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type DailyResultUncheckedUpdateManyWithoutPuzzleInput = { id?: Prisma.StringFieldUpdateOperationsInput | string userId?: Prisma.StringFieldUpdateOperationsInput | string path?: Prisma.StringFieldUpdateOperationsInput | string clicks?: Prisma.IntFieldUpdateOperationsInput | number timeSeconds?: Prisma.FloatFieldUpdateOperationsInput | number won?: Prisma.BoolFieldUpdateOperationsInput | boolean playedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type DailyResultSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean puzzleId?: boolean userId?: boolean path?: boolean clicks?: boolean timeSeconds?: boolean won?: boolean playedAt?: boolean puzzle?: boolean | Prisma.DailyPuzzleDefaultArgs user?: boolean | Prisma.UserDefaultArgs }, ExtArgs["result"]["dailyResult"]> export type DailyResultSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean puzzleId?: boolean userId?: boolean path?: boolean clicks?: boolean timeSeconds?: boolean won?: boolean playedAt?: boolean puzzle?: boolean | Prisma.DailyPuzzleDefaultArgs user?: boolean | Prisma.UserDefaultArgs }, ExtArgs["result"]["dailyResult"]> export type DailyResultSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean puzzleId?: boolean userId?: boolean path?: boolean clicks?: boolean timeSeconds?: boolean won?: boolean playedAt?: boolean puzzle?: boolean | Prisma.DailyPuzzleDefaultArgs user?: boolean | Prisma.UserDefaultArgs }, ExtArgs["result"]["dailyResult"]> export type DailyResultSelectScalar = { id?: boolean puzzleId?: boolean userId?: boolean path?: boolean clicks?: boolean timeSeconds?: boolean won?: boolean playedAt?: boolean } export type DailyResultOmit = runtime.Types.Extensions.GetOmit<"id" | "puzzleId" | "userId" | "path" | "clicks" | "timeSeconds" | "won" | "playedAt", ExtArgs["result"]["dailyResult"]> export type DailyResultInclude = { puzzle?: boolean | Prisma.DailyPuzzleDefaultArgs user?: boolean | Prisma.UserDefaultArgs } export type DailyResultIncludeCreateManyAndReturn = { puzzle?: boolean | Prisma.DailyPuzzleDefaultArgs user?: boolean | Prisma.UserDefaultArgs } export type DailyResultIncludeUpdateManyAndReturn = { puzzle?: boolean | Prisma.DailyPuzzleDefaultArgs user?: boolean | Prisma.UserDefaultArgs } export type $DailyResultPayload = { name: "DailyResult" objects: { puzzle: Prisma.$DailyPuzzlePayload user: Prisma.$UserPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string puzzleId: string userId: string path: string clicks: number timeSeconds: number won: boolean playedAt: Date }, ExtArgs["result"]["dailyResult"]> composites: {} } export type DailyResultGetPayload = runtime.Types.Result.GetResult export type DailyResultCountArgs = Omit & { select?: DailyResultCountAggregateInputType | true } export interface DailyResultDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['DailyResult'], meta: { name: 'DailyResult' } } /** * Find zero or one DailyResult that matches the filter. * @param {DailyResultFindUniqueArgs} args - Arguments to find a DailyResult * @example * // Get one DailyResult * const dailyResult = await prisma.dailyResult.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__DailyResultClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one DailyResult that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {DailyResultFindUniqueOrThrowArgs} args - Arguments to find a DailyResult * @example * // Get one DailyResult * const dailyResult = await prisma.dailyResult.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__DailyResultClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first DailyResult 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 {DailyResultFindFirstArgs} args - Arguments to find a DailyResult * @example * // Get one DailyResult * const dailyResult = await prisma.dailyResult.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__DailyResultClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first DailyResult 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 {DailyResultFindFirstOrThrowArgs} args - Arguments to find a DailyResult * @example * // Get one DailyResult * const dailyResult = await prisma.dailyResult.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__DailyResultClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more DailyResults 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 {DailyResultFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all DailyResults * const dailyResults = await prisma.dailyResult.findMany() * * // Get first 10 DailyResults * const dailyResults = await prisma.dailyResult.findMany({ take: 10 }) * * // Only select the `id` * const dailyResultWithIdOnly = await prisma.dailyResult.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a DailyResult. * @param {DailyResultCreateArgs} args - Arguments to create a DailyResult. * @example * // Create one DailyResult * const DailyResult = await prisma.dailyResult.create({ * data: { * // ... data to create a DailyResult * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__DailyResultClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many DailyResults. * @param {DailyResultCreateManyArgs} args - Arguments to create many DailyResults. * @example * // Create many DailyResults * const dailyResult = await prisma.dailyResult.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many DailyResults and returns the data saved in the database. * @param {DailyResultCreateManyAndReturnArgs} args - Arguments to create many DailyResults. * @example * // Create many DailyResults * const dailyResult = await prisma.dailyResult.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many DailyResults and only return the `id` * const dailyResultWithIdOnly = await prisma.dailyResult.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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a DailyResult. * @param {DailyResultDeleteArgs} args - Arguments to delete one DailyResult. * @example * // Delete one DailyResult * const DailyResult = await prisma.dailyResult.delete({ * where: { * // ... filter to delete one DailyResult * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__DailyResultClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one DailyResult. * @param {DailyResultUpdateArgs} args - Arguments to update one DailyResult. * @example * // Update one DailyResult * const dailyResult = await prisma.dailyResult.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__DailyResultClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more DailyResults. * @param {DailyResultDeleteManyArgs} args - Arguments to filter DailyResults to delete. * @example * // Delete a few DailyResults * const { count } = await prisma.dailyResult.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more DailyResults. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DailyResultUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many DailyResults * const dailyResult = await prisma.dailyResult.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more DailyResults and returns the data updated in the database. * @param {DailyResultUpdateManyAndReturnArgs} args - Arguments to update many DailyResults. * @example * // Update many DailyResults * const dailyResult = await prisma.dailyResult.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more DailyResults and only return the `id` * const dailyResultWithIdOnly = await prisma.dailyResult.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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one DailyResult. * @param {DailyResultUpsertArgs} args - Arguments to update or create a DailyResult. * @example * // Update or create a DailyResult * const dailyResult = await prisma.dailyResult.upsert({ * create: { * // ... data to create a DailyResult * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the DailyResult we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__DailyResultClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of DailyResults. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DailyResultCountArgs} args - Arguments to filter DailyResults to count. * @example * // Count the number of DailyResults * const count = await prisma.dailyResult.count({ * where: { * // ... the filter for the DailyResults we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a DailyResult. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DailyResultAggregateArgs} 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * Group by DailyResult. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DailyResultGroupByArgs} 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 DailyResultGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: DailyResultGroupByArgs['orderBy'] } : { orderBy?: DailyResultGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? 'orderBy' extends Prisma.Keys ? 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 ? 'orderBy' extends Prisma.Keys ? 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 & InputErrors): {} extends InputErrors ? GetDailyResultGroupByPayload : Prisma.PrismaPromise /** * Fields of the DailyResult model */ readonly fields: DailyResultFieldRefs; } /** * The delegate class that acts as a "Promise-like" for DailyResult. * 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__DailyResultClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" puzzle = {}>(args?: Prisma.Subset>): Prisma.Prisma__DailyPuzzleClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * 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(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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 } /** * Fields of the DailyResult model */ export interface DailyResultFieldRefs { readonly id: Prisma.FieldRef<"DailyResult", 'String'> readonly puzzleId: Prisma.FieldRef<"DailyResult", 'String'> readonly userId: Prisma.FieldRef<"DailyResult", 'String'> readonly path: Prisma.FieldRef<"DailyResult", 'String'> readonly clicks: Prisma.FieldRef<"DailyResult", 'Int'> readonly timeSeconds: Prisma.FieldRef<"DailyResult", 'Float'> readonly won: Prisma.FieldRef<"DailyResult", 'Boolean'> readonly playedAt: Prisma.FieldRef<"DailyResult", 'DateTime'> } // Custom InputTypes /** * DailyResult findUnique */ export type DailyResultFindUniqueArgs = { /** * Select specific fields to fetch from the DailyResult */ select?: Prisma.DailyResultSelect | null /** * Omit specific fields from the DailyResult */ omit?: Prisma.DailyResultOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DailyResultInclude | null /** * Filter, which DailyResult to fetch. */ where: Prisma.DailyResultWhereUniqueInput } /** * DailyResult findUniqueOrThrow */ export type DailyResultFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the DailyResult */ select?: Prisma.DailyResultSelect | null /** * Omit specific fields from the DailyResult */ omit?: Prisma.DailyResultOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DailyResultInclude | null /** * Filter, which DailyResult to fetch. */ where: Prisma.DailyResultWhereUniqueInput } /** * DailyResult findFirst */ export type DailyResultFindFirstArgs = { /** * Select specific fields to fetch from the DailyResult */ select?: Prisma.DailyResultSelect | null /** * Omit specific fields from the DailyResult */ omit?: Prisma.DailyResultOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DailyResultInclude | null /** * Filter, which DailyResult to fetch. */ where?: Prisma.DailyResultWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DailyResults to fetch. */ orderBy?: Prisma.DailyResultOrderByWithRelationInput | Prisma.DailyResultOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for DailyResults. */ cursor?: Prisma.DailyResultWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DailyResults 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` DailyResults. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of DailyResults. */ distinct?: Prisma.DailyResultScalarFieldEnum | Prisma.DailyResultScalarFieldEnum[] } /** * DailyResult findFirstOrThrow */ export type DailyResultFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the DailyResult */ select?: Prisma.DailyResultSelect | null /** * Omit specific fields from the DailyResult */ omit?: Prisma.DailyResultOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DailyResultInclude | null /** * Filter, which DailyResult to fetch. */ where?: Prisma.DailyResultWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DailyResults to fetch. */ orderBy?: Prisma.DailyResultOrderByWithRelationInput | Prisma.DailyResultOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for DailyResults. */ cursor?: Prisma.DailyResultWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DailyResults 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` DailyResults. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of DailyResults. */ distinct?: Prisma.DailyResultScalarFieldEnum | Prisma.DailyResultScalarFieldEnum[] } /** * DailyResult findMany */ export type DailyResultFindManyArgs = { /** * Select specific fields to fetch from the DailyResult */ select?: Prisma.DailyResultSelect | null /** * Omit specific fields from the DailyResult */ omit?: Prisma.DailyResultOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DailyResultInclude | null /** * Filter, which DailyResults to fetch. */ where?: Prisma.DailyResultWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DailyResults to fetch. */ orderBy?: Prisma.DailyResultOrderByWithRelationInput | Prisma.DailyResultOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing DailyResults. */ cursor?: Prisma.DailyResultWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DailyResults 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` DailyResults. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of DailyResults. */ distinct?: Prisma.DailyResultScalarFieldEnum | Prisma.DailyResultScalarFieldEnum[] } /** * DailyResult create */ export type DailyResultCreateArgs = { /** * Select specific fields to fetch from the DailyResult */ select?: Prisma.DailyResultSelect | null /** * Omit specific fields from the DailyResult */ omit?: Prisma.DailyResultOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DailyResultInclude | null /** * The data needed to create a DailyResult. */ data: Prisma.XOR } /** * DailyResult createMany */ export type DailyResultCreateManyArgs = { /** * The data used to create many DailyResults. */ data: Prisma.DailyResultCreateManyInput | Prisma.DailyResultCreateManyInput[] } /** * DailyResult createManyAndReturn */ export type DailyResultCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the DailyResult */ select?: Prisma.DailyResultSelectCreateManyAndReturn | null /** * Omit specific fields from the DailyResult */ omit?: Prisma.DailyResultOmit | null /** * The data used to create many DailyResults. */ data: Prisma.DailyResultCreateManyInput | Prisma.DailyResultCreateManyInput[] /** * Choose, which related nodes to fetch as well */ include?: Prisma.DailyResultIncludeCreateManyAndReturn | null } /** * DailyResult update */ export type DailyResultUpdateArgs = { /** * Select specific fields to fetch from the DailyResult */ select?: Prisma.DailyResultSelect | null /** * Omit specific fields from the DailyResult */ omit?: Prisma.DailyResultOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DailyResultInclude | null /** * The data needed to update a DailyResult. */ data: Prisma.XOR /** * Choose, which DailyResult to update. */ where: Prisma.DailyResultWhereUniqueInput } /** * DailyResult updateMany */ export type DailyResultUpdateManyArgs = { /** * The data used to update DailyResults. */ data: Prisma.XOR /** * Filter which DailyResults to update */ where?: Prisma.DailyResultWhereInput /** * Limit how many DailyResults to update. */ limit?: number } /** * DailyResult updateManyAndReturn */ export type DailyResultUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the DailyResult */ select?: Prisma.DailyResultSelectUpdateManyAndReturn | null /** * Omit specific fields from the DailyResult */ omit?: Prisma.DailyResultOmit | null /** * The data used to update DailyResults. */ data: Prisma.XOR /** * Filter which DailyResults to update */ where?: Prisma.DailyResultWhereInput /** * Limit how many DailyResults to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.DailyResultIncludeUpdateManyAndReturn | null } /** * DailyResult upsert */ export type DailyResultUpsertArgs = { /** * Select specific fields to fetch from the DailyResult */ select?: Prisma.DailyResultSelect | null /** * Omit specific fields from the DailyResult */ omit?: Prisma.DailyResultOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DailyResultInclude | null /** * The filter to search for the DailyResult to update in case it exists. */ where: Prisma.DailyResultWhereUniqueInput /** * In case the DailyResult found by the `where` argument doesn't exist, create a new DailyResult with this data. */ create: Prisma.XOR /** * In case the DailyResult was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * DailyResult delete */ export type DailyResultDeleteArgs = { /** * Select specific fields to fetch from the DailyResult */ select?: Prisma.DailyResultSelect | null /** * Omit specific fields from the DailyResult */ omit?: Prisma.DailyResultOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DailyResultInclude | null /** * Filter which DailyResult to delete. */ where: Prisma.DailyResultWhereUniqueInput } /** * DailyResult deleteMany */ export type DailyResultDeleteManyArgs = { /** * Filter which DailyResults to delete */ where?: Prisma.DailyResultWhereInput /** * Limit how many DailyResults to delete. */ limit?: number } /** * DailyResult without action */ export type DailyResultDefaultArgs = { /** * Select specific fields to fetch from the DailyResult */ select?: Prisma.DailyResultSelect | null /** * Omit specific fields from the DailyResult */ omit?: Prisma.DailyResultOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DailyResultInclude | null }