/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `ExerciseLog` model and its related types. * * 🟢 You can import this file directly. */ import type * as runtime from "@prisma/client/runtime/client" import type * as $Enums from "../enums.ts" import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model ExerciseLog * */ export type ExerciseLogModel = runtime.Types.Result.DefaultSelection export type AggregateExerciseLog = { _count: ExerciseLogCountAggregateOutputType | null _avg: ExerciseLogAvgAggregateOutputType | null _sum: ExerciseLogSumAggregateOutputType | null _min: ExerciseLogMinAggregateOutputType | null _max: ExerciseLogMaxAggregateOutputType | null } export type ExerciseLogAvgAggregateOutputType = { id: number | null sets: number | null reps: number | null weight: runtime.Decimal | null workoutSessionId: number | null mesoCycleExerciseId: number | null } export type ExerciseLogSumAggregateOutputType = { id: number | null sets: number | null reps: number | null weight: runtime.Decimal | null workoutSessionId: number | null mesoCycleExerciseId: number | null } export type ExerciseLogMinAggregateOutputType = { id: number | null sets: number | null reps: number | null weight: runtime.Decimal | null workoutSessionId: number | null mesoCycleExerciseId: number | null } export type ExerciseLogMaxAggregateOutputType = { id: number | null sets: number | null reps: number | null weight: runtime.Decimal | null workoutSessionId: number | null mesoCycleExerciseId: number | null } export type ExerciseLogCountAggregateOutputType = { id: number sets: number reps: number weight: number workoutSessionId: number mesoCycleExerciseId: number _all: number } export type ExerciseLogAvgAggregateInputType = { id?: true sets?: true reps?: true weight?: true workoutSessionId?: true mesoCycleExerciseId?: true } export type ExerciseLogSumAggregateInputType = { id?: true sets?: true reps?: true weight?: true workoutSessionId?: true mesoCycleExerciseId?: true } export type ExerciseLogMinAggregateInputType = { id?: true sets?: true reps?: true weight?: true workoutSessionId?: true mesoCycleExerciseId?: true } export type ExerciseLogMaxAggregateInputType = { id?: true sets?: true reps?: true weight?: true workoutSessionId?: true mesoCycleExerciseId?: true } export type ExerciseLogCountAggregateInputType = { id?: true sets?: true reps?: true weight?: true workoutSessionId?: true mesoCycleExerciseId?: true _all?: true } export type ExerciseLogAggregateArgs = { /** * Filter which ExerciseLog to aggregate. */ where?: Prisma.ExerciseLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ExerciseLogs to fetch. */ orderBy?: Prisma.ExerciseLogOrderByWithRelationInput | Prisma.ExerciseLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.ExerciseLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ExerciseLogs 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` ExerciseLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned ExerciseLogs **/ _count?: true | ExerciseLogCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: ExerciseLogAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: ExerciseLogSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ExerciseLogMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ExerciseLogMaxAggregateInputType } export type GetExerciseLogAggregateType = { [P in keyof T & keyof AggregateExerciseLog]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type ExerciseLogGroupByArgs = { where?: Prisma.ExerciseLogWhereInput orderBy?: Prisma.ExerciseLogOrderByWithAggregationInput | Prisma.ExerciseLogOrderByWithAggregationInput[] by: Prisma.ExerciseLogScalarFieldEnum[] | Prisma.ExerciseLogScalarFieldEnum having?: Prisma.ExerciseLogScalarWhereWithAggregatesInput take?: number skip?: number _count?: ExerciseLogCountAggregateInputType | true _avg?: ExerciseLogAvgAggregateInputType _sum?: ExerciseLogSumAggregateInputType _min?: ExerciseLogMinAggregateInputType _max?: ExerciseLogMaxAggregateInputType } export type ExerciseLogGroupByOutputType = { id: number sets: number reps: number weight: runtime.Decimal workoutSessionId: number mesoCycleExerciseId: number _count: ExerciseLogCountAggregateOutputType | null _avg: ExerciseLogAvgAggregateOutputType | null _sum: ExerciseLogSumAggregateOutputType | null _min: ExerciseLogMinAggregateOutputType | null _max: ExerciseLogMaxAggregateOutputType | null } type GetExerciseLogGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof ExerciseLogGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type ExerciseLogWhereInput = { AND?: Prisma.ExerciseLogWhereInput | Prisma.ExerciseLogWhereInput[] OR?: Prisma.ExerciseLogWhereInput[] NOT?: Prisma.ExerciseLogWhereInput | Prisma.ExerciseLogWhereInput[] id?: Prisma.IntFilter<"ExerciseLog"> | number sets?: Prisma.IntFilter<"ExerciseLog"> | number reps?: Prisma.IntFilter<"ExerciseLog"> | number weight?: Prisma.DecimalFilter<"ExerciseLog"> | runtime.Decimal | runtime.DecimalJsLike | number | string workoutSessionId?: Prisma.IntFilter<"ExerciseLog"> | number mesoCycleExerciseId?: Prisma.IntFilter<"ExerciseLog"> | number workoutSession?: Prisma.XOR mesoCycleExercise?: Prisma.XOR sessionFeedbacks?: Prisma.SessionFeedbackListRelationFilter } export type ExerciseLogOrderByWithRelationInput = { id?: Prisma.SortOrder sets?: Prisma.SortOrder reps?: Prisma.SortOrder weight?: Prisma.SortOrder workoutSessionId?: Prisma.SortOrder mesoCycleExerciseId?: Prisma.SortOrder workoutSession?: Prisma.WorkoutSessionOrderByWithRelationInput mesoCycleExercise?: Prisma.MesoCycleExerciseOrderByWithRelationInput sessionFeedbacks?: Prisma.SessionFeedbackOrderByRelationAggregateInput } export type ExerciseLogWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.ExerciseLogWhereInput | Prisma.ExerciseLogWhereInput[] OR?: Prisma.ExerciseLogWhereInput[] NOT?: Prisma.ExerciseLogWhereInput | Prisma.ExerciseLogWhereInput[] sets?: Prisma.IntFilter<"ExerciseLog"> | number reps?: Prisma.IntFilter<"ExerciseLog"> | number weight?: Prisma.DecimalFilter<"ExerciseLog"> | runtime.Decimal | runtime.DecimalJsLike | number | string workoutSessionId?: Prisma.IntFilter<"ExerciseLog"> | number mesoCycleExerciseId?: Prisma.IntFilter<"ExerciseLog"> | number workoutSession?: Prisma.XOR mesoCycleExercise?: Prisma.XOR sessionFeedbacks?: Prisma.SessionFeedbackListRelationFilter }, "id"> export type ExerciseLogOrderByWithAggregationInput = { id?: Prisma.SortOrder sets?: Prisma.SortOrder reps?: Prisma.SortOrder weight?: Prisma.SortOrder workoutSessionId?: Prisma.SortOrder mesoCycleExerciseId?: Prisma.SortOrder _count?: Prisma.ExerciseLogCountOrderByAggregateInput _avg?: Prisma.ExerciseLogAvgOrderByAggregateInput _max?: Prisma.ExerciseLogMaxOrderByAggregateInput _min?: Prisma.ExerciseLogMinOrderByAggregateInput _sum?: Prisma.ExerciseLogSumOrderByAggregateInput } export type ExerciseLogScalarWhereWithAggregatesInput = { AND?: Prisma.ExerciseLogScalarWhereWithAggregatesInput | Prisma.ExerciseLogScalarWhereWithAggregatesInput[] OR?: Prisma.ExerciseLogScalarWhereWithAggregatesInput[] NOT?: Prisma.ExerciseLogScalarWhereWithAggregatesInput | Prisma.ExerciseLogScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"ExerciseLog"> | number sets?: Prisma.IntWithAggregatesFilter<"ExerciseLog"> | number reps?: Prisma.IntWithAggregatesFilter<"ExerciseLog"> | number weight?: Prisma.DecimalWithAggregatesFilter<"ExerciseLog"> | runtime.Decimal | runtime.DecimalJsLike | number | string workoutSessionId?: Prisma.IntWithAggregatesFilter<"ExerciseLog"> | number mesoCycleExerciseId?: Prisma.IntWithAggregatesFilter<"ExerciseLog"> | number } export type ExerciseLogCreateInput = { sets: number reps: number weight: runtime.Decimal | runtime.DecimalJsLike | number | string workoutSession: Prisma.WorkoutSessionCreateNestedOneWithoutExerciseLogsInput mesoCycleExercise: Prisma.MesoCycleExerciseCreateNestedOneWithoutExerciseLogsInput sessionFeedbacks?: Prisma.SessionFeedbackCreateNestedManyWithoutExerciseLogInput } export type ExerciseLogUncheckedCreateInput = { id?: number sets: number reps: number weight: runtime.Decimal | runtime.DecimalJsLike | number | string workoutSessionId: number mesoCycleExerciseId: number sessionFeedbacks?: Prisma.SessionFeedbackUncheckedCreateNestedManyWithoutExerciseLogInput } export type ExerciseLogUpdateInput = { sets?: Prisma.IntFieldUpdateOperationsInput | number reps?: Prisma.IntFieldUpdateOperationsInput | number weight?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string workoutSession?: Prisma.WorkoutSessionUpdateOneRequiredWithoutExerciseLogsNestedInput mesoCycleExercise?: Prisma.MesoCycleExerciseUpdateOneRequiredWithoutExerciseLogsNestedInput sessionFeedbacks?: Prisma.SessionFeedbackUpdateManyWithoutExerciseLogNestedInput } export type ExerciseLogUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number sets?: Prisma.IntFieldUpdateOperationsInput | number reps?: Prisma.IntFieldUpdateOperationsInput | number weight?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string workoutSessionId?: Prisma.IntFieldUpdateOperationsInput | number mesoCycleExerciseId?: Prisma.IntFieldUpdateOperationsInput | number sessionFeedbacks?: Prisma.SessionFeedbackUncheckedUpdateManyWithoutExerciseLogNestedInput } export type ExerciseLogCreateManyInput = { id?: number sets: number reps: number weight: runtime.Decimal | runtime.DecimalJsLike | number | string workoutSessionId: number mesoCycleExerciseId: number } export type ExerciseLogUpdateManyMutationInput = { sets?: Prisma.IntFieldUpdateOperationsInput | number reps?: Prisma.IntFieldUpdateOperationsInput | number weight?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string } export type ExerciseLogUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number sets?: Prisma.IntFieldUpdateOperationsInput | number reps?: Prisma.IntFieldUpdateOperationsInput | number weight?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string workoutSessionId?: Prisma.IntFieldUpdateOperationsInput | number mesoCycleExerciseId?: Prisma.IntFieldUpdateOperationsInput | number } export type ExerciseLogListRelationFilter = { every?: Prisma.ExerciseLogWhereInput some?: Prisma.ExerciseLogWhereInput none?: Prisma.ExerciseLogWhereInput } export type ExerciseLogOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type ExerciseLogCountOrderByAggregateInput = { id?: Prisma.SortOrder sets?: Prisma.SortOrder reps?: Prisma.SortOrder weight?: Prisma.SortOrder workoutSessionId?: Prisma.SortOrder mesoCycleExerciseId?: Prisma.SortOrder } export type ExerciseLogAvgOrderByAggregateInput = { id?: Prisma.SortOrder sets?: Prisma.SortOrder reps?: Prisma.SortOrder weight?: Prisma.SortOrder workoutSessionId?: Prisma.SortOrder mesoCycleExerciseId?: Prisma.SortOrder } export type ExerciseLogMaxOrderByAggregateInput = { id?: Prisma.SortOrder sets?: Prisma.SortOrder reps?: Prisma.SortOrder weight?: Prisma.SortOrder workoutSessionId?: Prisma.SortOrder mesoCycleExerciseId?: Prisma.SortOrder } export type ExerciseLogMinOrderByAggregateInput = { id?: Prisma.SortOrder sets?: Prisma.SortOrder reps?: Prisma.SortOrder weight?: Prisma.SortOrder workoutSessionId?: Prisma.SortOrder mesoCycleExerciseId?: Prisma.SortOrder } export type ExerciseLogSumOrderByAggregateInput = { id?: Prisma.SortOrder sets?: Prisma.SortOrder reps?: Prisma.SortOrder weight?: Prisma.SortOrder workoutSessionId?: Prisma.SortOrder mesoCycleExerciseId?: Prisma.SortOrder } export type ExerciseLogScalarRelationFilter = { is?: Prisma.ExerciseLogWhereInput isNot?: Prisma.ExerciseLogWhereInput } export type ExerciseLogCreateNestedManyWithoutMesoCycleExerciseInput = { create?: Prisma.XOR | Prisma.ExerciseLogCreateWithoutMesoCycleExerciseInput[] | Prisma.ExerciseLogUncheckedCreateWithoutMesoCycleExerciseInput[] connectOrCreate?: Prisma.ExerciseLogCreateOrConnectWithoutMesoCycleExerciseInput | Prisma.ExerciseLogCreateOrConnectWithoutMesoCycleExerciseInput[] createMany?: Prisma.ExerciseLogCreateManyMesoCycleExerciseInputEnvelope connect?: Prisma.ExerciseLogWhereUniqueInput | Prisma.ExerciseLogWhereUniqueInput[] } export type ExerciseLogUncheckedCreateNestedManyWithoutMesoCycleExerciseInput = { create?: Prisma.XOR | Prisma.ExerciseLogCreateWithoutMesoCycleExerciseInput[] | Prisma.ExerciseLogUncheckedCreateWithoutMesoCycleExerciseInput[] connectOrCreate?: Prisma.ExerciseLogCreateOrConnectWithoutMesoCycleExerciseInput | Prisma.ExerciseLogCreateOrConnectWithoutMesoCycleExerciseInput[] createMany?: Prisma.ExerciseLogCreateManyMesoCycleExerciseInputEnvelope connect?: Prisma.ExerciseLogWhereUniqueInput | Prisma.ExerciseLogWhereUniqueInput[] } export type ExerciseLogUpdateManyWithoutMesoCycleExerciseNestedInput = { create?: Prisma.XOR | Prisma.ExerciseLogCreateWithoutMesoCycleExerciseInput[] | Prisma.ExerciseLogUncheckedCreateWithoutMesoCycleExerciseInput[] connectOrCreate?: Prisma.ExerciseLogCreateOrConnectWithoutMesoCycleExerciseInput | Prisma.ExerciseLogCreateOrConnectWithoutMesoCycleExerciseInput[] upsert?: Prisma.ExerciseLogUpsertWithWhereUniqueWithoutMesoCycleExerciseInput | Prisma.ExerciseLogUpsertWithWhereUniqueWithoutMesoCycleExerciseInput[] createMany?: Prisma.ExerciseLogCreateManyMesoCycleExerciseInputEnvelope set?: Prisma.ExerciseLogWhereUniqueInput | Prisma.ExerciseLogWhereUniqueInput[] disconnect?: Prisma.ExerciseLogWhereUniqueInput | Prisma.ExerciseLogWhereUniqueInput[] delete?: Prisma.ExerciseLogWhereUniqueInput | Prisma.ExerciseLogWhereUniqueInput[] connect?: Prisma.ExerciseLogWhereUniqueInput | Prisma.ExerciseLogWhereUniqueInput[] update?: Prisma.ExerciseLogUpdateWithWhereUniqueWithoutMesoCycleExerciseInput | Prisma.ExerciseLogUpdateWithWhereUniqueWithoutMesoCycleExerciseInput[] updateMany?: Prisma.ExerciseLogUpdateManyWithWhereWithoutMesoCycleExerciseInput | Prisma.ExerciseLogUpdateManyWithWhereWithoutMesoCycleExerciseInput[] deleteMany?: Prisma.ExerciseLogScalarWhereInput | Prisma.ExerciseLogScalarWhereInput[] } export type ExerciseLogUncheckedUpdateManyWithoutMesoCycleExerciseNestedInput = { create?: Prisma.XOR | Prisma.ExerciseLogCreateWithoutMesoCycleExerciseInput[] | Prisma.ExerciseLogUncheckedCreateWithoutMesoCycleExerciseInput[] connectOrCreate?: Prisma.ExerciseLogCreateOrConnectWithoutMesoCycleExerciseInput | Prisma.ExerciseLogCreateOrConnectWithoutMesoCycleExerciseInput[] upsert?: Prisma.ExerciseLogUpsertWithWhereUniqueWithoutMesoCycleExerciseInput | Prisma.ExerciseLogUpsertWithWhereUniqueWithoutMesoCycleExerciseInput[] createMany?: Prisma.ExerciseLogCreateManyMesoCycleExerciseInputEnvelope set?: Prisma.ExerciseLogWhereUniqueInput | Prisma.ExerciseLogWhereUniqueInput[] disconnect?: Prisma.ExerciseLogWhereUniqueInput | Prisma.ExerciseLogWhereUniqueInput[] delete?: Prisma.ExerciseLogWhereUniqueInput | Prisma.ExerciseLogWhereUniqueInput[] connect?: Prisma.ExerciseLogWhereUniqueInput | Prisma.ExerciseLogWhereUniqueInput[] update?: Prisma.ExerciseLogUpdateWithWhereUniqueWithoutMesoCycleExerciseInput | Prisma.ExerciseLogUpdateWithWhereUniqueWithoutMesoCycleExerciseInput[] updateMany?: Prisma.ExerciseLogUpdateManyWithWhereWithoutMesoCycleExerciseInput | Prisma.ExerciseLogUpdateManyWithWhereWithoutMesoCycleExerciseInput[] deleteMany?: Prisma.ExerciseLogScalarWhereInput | Prisma.ExerciseLogScalarWhereInput[] } export type ExerciseLogCreateNestedManyWithoutWorkoutSessionInput = { create?: Prisma.XOR | Prisma.ExerciseLogCreateWithoutWorkoutSessionInput[] | Prisma.ExerciseLogUncheckedCreateWithoutWorkoutSessionInput[] connectOrCreate?: Prisma.ExerciseLogCreateOrConnectWithoutWorkoutSessionInput | Prisma.ExerciseLogCreateOrConnectWithoutWorkoutSessionInput[] createMany?: Prisma.ExerciseLogCreateManyWorkoutSessionInputEnvelope connect?: Prisma.ExerciseLogWhereUniqueInput | Prisma.ExerciseLogWhereUniqueInput[] } export type ExerciseLogUncheckedCreateNestedManyWithoutWorkoutSessionInput = { create?: Prisma.XOR | Prisma.ExerciseLogCreateWithoutWorkoutSessionInput[] | Prisma.ExerciseLogUncheckedCreateWithoutWorkoutSessionInput[] connectOrCreate?: Prisma.ExerciseLogCreateOrConnectWithoutWorkoutSessionInput | Prisma.ExerciseLogCreateOrConnectWithoutWorkoutSessionInput[] createMany?: Prisma.ExerciseLogCreateManyWorkoutSessionInputEnvelope connect?: Prisma.ExerciseLogWhereUniqueInput | Prisma.ExerciseLogWhereUniqueInput[] } export type ExerciseLogUpdateManyWithoutWorkoutSessionNestedInput = { create?: Prisma.XOR | Prisma.ExerciseLogCreateWithoutWorkoutSessionInput[] | Prisma.ExerciseLogUncheckedCreateWithoutWorkoutSessionInput[] connectOrCreate?: Prisma.ExerciseLogCreateOrConnectWithoutWorkoutSessionInput | Prisma.ExerciseLogCreateOrConnectWithoutWorkoutSessionInput[] upsert?: Prisma.ExerciseLogUpsertWithWhereUniqueWithoutWorkoutSessionInput | Prisma.ExerciseLogUpsertWithWhereUniqueWithoutWorkoutSessionInput[] createMany?: Prisma.ExerciseLogCreateManyWorkoutSessionInputEnvelope set?: Prisma.ExerciseLogWhereUniqueInput | Prisma.ExerciseLogWhereUniqueInput[] disconnect?: Prisma.ExerciseLogWhereUniqueInput | Prisma.ExerciseLogWhereUniqueInput[] delete?: Prisma.ExerciseLogWhereUniqueInput | Prisma.ExerciseLogWhereUniqueInput[] connect?: Prisma.ExerciseLogWhereUniqueInput | Prisma.ExerciseLogWhereUniqueInput[] update?: Prisma.ExerciseLogUpdateWithWhereUniqueWithoutWorkoutSessionInput | Prisma.ExerciseLogUpdateWithWhereUniqueWithoutWorkoutSessionInput[] updateMany?: Prisma.ExerciseLogUpdateManyWithWhereWithoutWorkoutSessionInput | Prisma.ExerciseLogUpdateManyWithWhereWithoutWorkoutSessionInput[] deleteMany?: Prisma.ExerciseLogScalarWhereInput | Prisma.ExerciseLogScalarWhereInput[] } export type ExerciseLogUncheckedUpdateManyWithoutWorkoutSessionNestedInput = { create?: Prisma.XOR | Prisma.ExerciseLogCreateWithoutWorkoutSessionInput[] | Prisma.ExerciseLogUncheckedCreateWithoutWorkoutSessionInput[] connectOrCreate?: Prisma.ExerciseLogCreateOrConnectWithoutWorkoutSessionInput | Prisma.ExerciseLogCreateOrConnectWithoutWorkoutSessionInput[] upsert?: Prisma.ExerciseLogUpsertWithWhereUniqueWithoutWorkoutSessionInput | Prisma.ExerciseLogUpsertWithWhereUniqueWithoutWorkoutSessionInput[] createMany?: Prisma.ExerciseLogCreateManyWorkoutSessionInputEnvelope set?: Prisma.ExerciseLogWhereUniqueInput | Prisma.ExerciseLogWhereUniqueInput[] disconnect?: Prisma.ExerciseLogWhereUniqueInput | Prisma.ExerciseLogWhereUniqueInput[] delete?: Prisma.ExerciseLogWhereUniqueInput | Prisma.ExerciseLogWhereUniqueInput[] connect?: Prisma.ExerciseLogWhereUniqueInput | Prisma.ExerciseLogWhereUniqueInput[] update?: Prisma.ExerciseLogUpdateWithWhereUniqueWithoutWorkoutSessionInput | Prisma.ExerciseLogUpdateWithWhereUniqueWithoutWorkoutSessionInput[] updateMany?: Prisma.ExerciseLogUpdateManyWithWhereWithoutWorkoutSessionInput | Prisma.ExerciseLogUpdateManyWithWhereWithoutWorkoutSessionInput[] deleteMany?: Prisma.ExerciseLogScalarWhereInput | Prisma.ExerciseLogScalarWhereInput[] } export type ExerciseLogCreateNestedOneWithoutSessionFeedbacksInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ExerciseLogCreateOrConnectWithoutSessionFeedbacksInput connect?: Prisma.ExerciseLogWhereUniqueInput } export type ExerciseLogUpdateOneRequiredWithoutSessionFeedbacksNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ExerciseLogCreateOrConnectWithoutSessionFeedbacksInput upsert?: Prisma.ExerciseLogUpsertWithoutSessionFeedbacksInput connect?: Prisma.ExerciseLogWhereUniqueInput update?: Prisma.XOR, Prisma.ExerciseLogUncheckedUpdateWithoutSessionFeedbacksInput> } export type ExerciseLogCreateWithoutMesoCycleExerciseInput = { sets: number reps: number weight: runtime.Decimal | runtime.DecimalJsLike | number | string workoutSession: Prisma.WorkoutSessionCreateNestedOneWithoutExerciseLogsInput sessionFeedbacks?: Prisma.SessionFeedbackCreateNestedManyWithoutExerciseLogInput } export type ExerciseLogUncheckedCreateWithoutMesoCycleExerciseInput = { id?: number sets: number reps: number weight: runtime.Decimal | runtime.DecimalJsLike | number | string workoutSessionId: number sessionFeedbacks?: Prisma.SessionFeedbackUncheckedCreateNestedManyWithoutExerciseLogInput } export type ExerciseLogCreateOrConnectWithoutMesoCycleExerciseInput = { where: Prisma.ExerciseLogWhereUniqueInput create: Prisma.XOR } export type ExerciseLogCreateManyMesoCycleExerciseInputEnvelope = { data: Prisma.ExerciseLogCreateManyMesoCycleExerciseInput | Prisma.ExerciseLogCreateManyMesoCycleExerciseInput[] skipDuplicates?: boolean } export type ExerciseLogUpsertWithWhereUniqueWithoutMesoCycleExerciseInput = { where: Prisma.ExerciseLogWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type ExerciseLogUpdateWithWhereUniqueWithoutMesoCycleExerciseInput = { where: Prisma.ExerciseLogWhereUniqueInput data: Prisma.XOR } export type ExerciseLogUpdateManyWithWhereWithoutMesoCycleExerciseInput = { where: Prisma.ExerciseLogScalarWhereInput data: Prisma.XOR } export type ExerciseLogScalarWhereInput = { AND?: Prisma.ExerciseLogScalarWhereInput | Prisma.ExerciseLogScalarWhereInput[] OR?: Prisma.ExerciseLogScalarWhereInput[] NOT?: Prisma.ExerciseLogScalarWhereInput | Prisma.ExerciseLogScalarWhereInput[] id?: Prisma.IntFilter<"ExerciseLog"> | number sets?: Prisma.IntFilter<"ExerciseLog"> | number reps?: Prisma.IntFilter<"ExerciseLog"> | number weight?: Prisma.DecimalFilter<"ExerciseLog"> | runtime.Decimal | runtime.DecimalJsLike | number | string workoutSessionId?: Prisma.IntFilter<"ExerciseLog"> | number mesoCycleExerciseId?: Prisma.IntFilter<"ExerciseLog"> | number } export type ExerciseLogCreateWithoutWorkoutSessionInput = { sets: number reps: number weight: runtime.Decimal | runtime.DecimalJsLike | number | string mesoCycleExercise: Prisma.MesoCycleExerciseCreateNestedOneWithoutExerciseLogsInput sessionFeedbacks?: Prisma.SessionFeedbackCreateNestedManyWithoutExerciseLogInput } export type ExerciseLogUncheckedCreateWithoutWorkoutSessionInput = { id?: number sets: number reps: number weight: runtime.Decimal | runtime.DecimalJsLike | number | string mesoCycleExerciseId: number sessionFeedbacks?: Prisma.SessionFeedbackUncheckedCreateNestedManyWithoutExerciseLogInput } export type ExerciseLogCreateOrConnectWithoutWorkoutSessionInput = { where: Prisma.ExerciseLogWhereUniqueInput create: Prisma.XOR } export type ExerciseLogCreateManyWorkoutSessionInputEnvelope = { data: Prisma.ExerciseLogCreateManyWorkoutSessionInput | Prisma.ExerciseLogCreateManyWorkoutSessionInput[] skipDuplicates?: boolean } export type ExerciseLogUpsertWithWhereUniqueWithoutWorkoutSessionInput = { where: Prisma.ExerciseLogWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type ExerciseLogUpdateWithWhereUniqueWithoutWorkoutSessionInput = { where: Prisma.ExerciseLogWhereUniqueInput data: Prisma.XOR } export type ExerciseLogUpdateManyWithWhereWithoutWorkoutSessionInput = { where: Prisma.ExerciseLogScalarWhereInput data: Prisma.XOR } export type ExerciseLogCreateWithoutSessionFeedbacksInput = { sets: number reps: number weight: runtime.Decimal | runtime.DecimalJsLike | number | string workoutSession: Prisma.WorkoutSessionCreateNestedOneWithoutExerciseLogsInput mesoCycleExercise: Prisma.MesoCycleExerciseCreateNestedOneWithoutExerciseLogsInput } export type ExerciseLogUncheckedCreateWithoutSessionFeedbacksInput = { id?: number sets: number reps: number weight: runtime.Decimal | runtime.DecimalJsLike | number | string workoutSessionId: number mesoCycleExerciseId: number } export type ExerciseLogCreateOrConnectWithoutSessionFeedbacksInput = { where: Prisma.ExerciseLogWhereUniqueInput create: Prisma.XOR } export type ExerciseLogUpsertWithoutSessionFeedbacksInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.ExerciseLogWhereInput } export type ExerciseLogUpdateToOneWithWhereWithoutSessionFeedbacksInput = { where?: Prisma.ExerciseLogWhereInput data: Prisma.XOR } export type ExerciseLogUpdateWithoutSessionFeedbacksInput = { sets?: Prisma.IntFieldUpdateOperationsInput | number reps?: Prisma.IntFieldUpdateOperationsInput | number weight?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string workoutSession?: Prisma.WorkoutSessionUpdateOneRequiredWithoutExerciseLogsNestedInput mesoCycleExercise?: Prisma.MesoCycleExerciseUpdateOneRequiredWithoutExerciseLogsNestedInput } export type ExerciseLogUncheckedUpdateWithoutSessionFeedbacksInput = { id?: Prisma.IntFieldUpdateOperationsInput | number sets?: Prisma.IntFieldUpdateOperationsInput | number reps?: Prisma.IntFieldUpdateOperationsInput | number weight?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string workoutSessionId?: Prisma.IntFieldUpdateOperationsInput | number mesoCycleExerciseId?: Prisma.IntFieldUpdateOperationsInput | number } export type ExerciseLogCreateManyMesoCycleExerciseInput = { id?: number sets: number reps: number weight: runtime.Decimal | runtime.DecimalJsLike | number | string workoutSessionId: number } export type ExerciseLogUpdateWithoutMesoCycleExerciseInput = { sets?: Prisma.IntFieldUpdateOperationsInput | number reps?: Prisma.IntFieldUpdateOperationsInput | number weight?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string workoutSession?: Prisma.WorkoutSessionUpdateOneRequiredWithoutExerciseLogsNestedInput sessionFeedbacks?: Prisma.SessionFeedbackUpdateManyWithoutExerciseLogNestedInput } export type ExerciseLogUncheckedUpdateWithoutMesoCycleExerciseInput = { id?: Prisma.IntFieldUpdateOperationsInput | number sets?: Prisma.IntFieldUpdateOperationsInput | number reps?: Prisma.IntFieldUpdateOperationsInput | number weight?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string workoutSessionId?: Prisma.IntFieldUpdateOperationsInput | number sessionFeedbacks?: Prisma.SessionFeedbackUncheckedUpdateManyWithoutExerciseLogNestedInput } export type ExerciseLogUncheckedUpdateManyWithoutMesoCycleExerciseInput = { id?: Prisma.IntFieldUpdateOperationsInput | number sets?: Prisma.IntFieldUpdateOperationsInput | number reps?: Prisma.IntFieldUpdateOperationsInput | number weight?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string workoutSessionId?: Prisma.IntFieldUpdateOperationsInput | number } export type ExerciseLogCreateManyWorkoutSessionInput = { id?: number sets: number reps: number weight: runtime.Decimal | runtime.DecimalJsLike | number | string mesoCycleExerciseId: number } export type ExerciseLogUpdateWithoutWorkoutSessionInput = { sets?: Prisma.IntFieldUpdateOperationsInput | number reps?: Prisma.IntFieldUpdateOperationsInput | number weight?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string mesoCycleExercise?: Prisma.MesoCycleExerciseUpdateOneRequiredWithoutExerciseLogsNestedInput sessionFeedbacks?: Prisma.SessionFeedbackUpdateManyWithoutExerciseLogNestedInput } export type ExerciseLogUncheckedUpdateWithoutWorkoutSessionInput = { id?: Prisma.IntFieldUpdateOperationsInput | number sets?: Prisma.IntFieldUpdateOperationsInput | number reps?: Prisma.IntFieldUpdateOperationsInput | number weight?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string mesoCycleExerciseId?: Prisma.IntFieldUpdateOperationsInput | number sessionFeedbacks?: Prisma.SessionFeedbackUncheckedUpdateManyWithoutExerciseLogNestedInput } export type ExerciseLogUncheckedUpdateManyWithoutWorkoutSessionInput = { id?: Prisma.IntFieldUpdateOperationsInput | number sets?: Prisma.IntFieldUpdateOperationsInput | number reps?: Prisma.IntFieldUpdateOperationsInput | number weight?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string mesoCycleExerciseId?: Prisma.IntFieldUpdateOperationsInput | number } /** * Count Type ExerciseLogCountOutputType */ export type ExerciseLogCountOutputType = { sessionFeedbacks: number } export type ExerciseLogCountOutputTypeSelect = { sessionFeedbacks?: boolean | ExerciseLogCountOutputTypeCountSessionFeedbacksArgs } /** * ExerciseLogCountOutputType without action */ export type ExerciseLogCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the ExerciseLogCountOutputType */ select?: Prisma.ExerciseLogCountOutputTypeSelect | null } /** * ExerciseLogCountOutputType without action */ export type ExerciseLogCountOutputTypeCountSessionFeedbacksArgs = { where?: Prisma.SessionFeedbackWhereInput } export type ExerciseLogSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean sets?: boolean reps?: boolean weight?: boolean workoutSessionId?: boolean mesoCycleExerciseId?: boolean workoutSession?: boolean | Prisma.WorkoutSessionDefaultArgs mesoCycleExercise?: boolean | Prisma.MesoCycleExerciseDefaultArgs sessionFeedbacks?: boolean | Prisma.ExerciseLog$sessionFeedbacksArgs _count?: boolean | Prisma.ExerciseLogCountOutputTypeDefaultArgs }, ExtArgs["result"]["exerciseLog"]> export type ExerciseLogSelectScalar = { id?: boolean sets?: boolean reps?: boolean weight?: boolean workoutSessionId?: boolean mesoCycleExerciseId?: boolean } export type ExerciseLogOmit = runtime.Types.Extensions.GetOmit<"id" | "sets" | "reps" | "weight" | "workoutSessionId" | "mesoCycleExerciseId", ExtArgs["result"]["exerciseLog"]> export type ExerciseLogInclude = { workoutSession?: boolean | Prisma.WorkoutSessionDefaultArgs mesoCycleExercise?: boolean | Prisma.MesoCycleExerciseDefaultArgs sessionFeedbacks?: boolean | Prisma.ExerciseLog$sessionFeedbacksArgs _count?: boolean | Prisma.ExerciseLogCountOutputTypeDefaultArgs } export type $ExerciseLogPayload = { name: "ExerciseLog" objects: { workoutSession: Prisma.$WorkoutSessionPayload mesoCycleExercise: Prisma.$MesoCycleExercisePayload sessionFeedbacks: Prisma.$SessionFeedbackPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number sets: number reps: number weight: runtime.Decimal workoutSessionId: number mesoCycleExerciseId: number }, ExtArgs["result"]["exerciseLog"]> composites: {} } export type ExerciseLogGetPayload = runtime.Types.Result.GetResult export type ExerciseLogCountArgs = Omit & { select?: ExerciseLogCountAggregateInputType | true } export interface ExerciseLogDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['ExerciseLog'], meta: { name: 'ExerciseLog' } } /** * Find zero or one ExerciseLog that matches the filter. * @param {ExerciseLogFindUniqueArgs} args - Arguments to find a ExerciseLog * @example * // Get one ExerciseLog * const exerciseLog = await prisma.exerciseLog.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ExerciseLogClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one ExerciseLog that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ExerciseLogFindUniqueOrThrowArgs} args - Arguments to find a ExerciseLog * @example * // Get one ExerciseLog * const exerciseLog = await prisma.exerciseLog.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ExerciseLogClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first ExerciseLog 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 {ExerciseLogFindFirstArgs} args - Arguments to find a ExerciseLog * @example * // Get one ExerciseLog * const exerciseLog = await prisma.exerciseLog.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ExerciseLogClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first ExerciseLog 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 {ExerciseLogFindFirstOrThrowArgs} args - Arguments to find a ExerciseLog * @example * // Get one ExerciseLog * const exerciseLog = await prisma.exerciseLog.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ExerciseLogClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more ExerciseLogs 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 {ExerciseLogFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all ExerciseLogs * const exerciseLogs = await prisma.exerciseLog.findMany() * * // Get first 10 ExerciseLogs * const exerciseLogs = await prisma.exerciseLog.findMany({ take: 10 }) * * // Only select the `id` * const exerciseLogWithIdOnly = await prisma.exerciseLog.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a ExerciseLog. * @param {ExerciseLogCreateArgs} args - Arguments to create a ExerciseLog. * @example * // Create one ExerciseLog * const ExerciseLog = await prisma.exerciseLog.create({ * data: { * // ... data to create a ExerciseLog * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__ExerciseLogClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many ExerciseLogs. * @param {ExerciseLogCreateManyArgs} args - Arguments to create many ExerciseLogs. * @example * // Create many ExerciseLogs * const exerciseLog = await prisma.exerciseLog.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a ExerciseLog. * @param {ExerciseLogDeleteArgs} args - Arguments to delete one ExerciseLog. * @example * // Delete one ExerciseLog * const ExerciseLog = await prisma.exerciseLog.delete({ * where: { * // ... filter to delete one ExerciseLog * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__ExerciseLogClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one ExerciseLog. * @param {ExerciseLogUpdateArgs} args - Arguments to update one ExerciseLog. * @example * // Update one ExerciseLog * const exerciseLog = await prisma.exerciseLog.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__ExerciseLogClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more ExerciseLogs. * @param {ExerciseLogDeleteManyArgs} args - Arguments to filter ExerciseLogs to delete. * @example * // Delete a few ExerciseLogs * const { count } = await prisma.exerciseLog.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ExerciseLogs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ExerciseLogUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many ExerciseLogs * const exerciseLog = await prisma.exerciseLog.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one ExerciseLog. * @param {ExerciseLogUpsertArgs} args - Arguments to update or create a ExerciseLog. * @example * // Update or create a ExerciseLog * const exerciseLog = await prisma.exerciseLog.upsert({ * create: { * // ... data to create a ExerciseLog * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the ExerciseLog we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ExerciseLogClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of ExerciseLogs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ExerciseLogCountArgs} args - Arguments to filter ExerciseLogs to count. * @example * // Count the number of ExerciseLogs * const count = await prisma.exerciseLog.count({ * where: { * // ... the filter for the ExerciseLogs 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 ExerciseLog. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ExerciseLogAggregateArgs} 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 ExerciseLog. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ExerciseLogGroupByArgs} 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 ExerciseLogGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: ExerciseLogGroupByArgs['orderBy'] } : { orderBy?: ExerciseLogGroupByArgs['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 ? GetExerciseLogGroupByPayload : Prisma.PrismaPromise /** * Fields of the ExerciseLog model */ readonly fields: ExerciseLogFieldRefs; } /** * The delegate class that acts as a "Promise-like" for ExerciseLog. * 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__ExerciseLogClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" workoutSession = {}>(args?: Prisma.Subset>): Prisma.Prisma__WorkoutSessionClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> mesoCycleExercise = {}>(args?: Prisma.Subset>): Prisma.Prisma__MesoCycleExerciseClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> sessionFeedbacks = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, 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(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 ExerciseLog model */ export interface ExerciseLogFieldRefs { readonly id: Prisma.FieldRef<"ExerciseLog", 'Int'> readonly sets: Prisma.FieldRef<"ExerciseLog", 'Int'> readonly reps: Prisma.FieldRef<"ExerciseLog", 'Int'> readonly weight: Prisma.FieldRef<"ExerciseLog", 'Decimal'> readonly workoutSessionId: Prisma.FieldRef<"ExerciseLog", 'Int'> readonly mesoCycleExerciseId: Prisma.FieldRef<"ExerciseLog", 'Int'> } // Custom InputTypes /** * ExerciseLog findUnique */ export type ExerciseLogFindUniqueArgs = { /** * Select specific fields to fetch from the ExerciseLog */ select?: Prisma.ExerciseLogSelect | null /** * Omit specific fields from the ExerciseLog */ omit?: Prisma.ExerciseLogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ExerciseLogInclude | null /** * Filter, which ExerciseLog to fetch. */ where: Prisma.ExerciseLogWhereUniqueInput } /** * ExerciseLog findUniqueOrThrow */ export type ExerciseLogFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the ExerciseLog */ select?: Prisma.ExerciseLogSelect | null /** * Omit specific fields from the ExerciseLog */ omit?: Prisma.ExerciseLogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ExerciseLogInclude | null /** * Filter, which ExerciseLog to fetch. */ where: Prisma.ExerciseLogWhereUniqueInput } /** * ExerciseLog findFirst */ export type ExerciseLogFindFirstArgs = { /** * Select specific fields to fetch from the ExerciseLog */ select?: Prisma.ExerciseLogSelect | null /** * Omit specific fields from the ExerciseLog */ omit?: Prisma.ExerciseLogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ExerciseLogInclude | null /** * Filter, which ExerciseLog to fetch. */ where?: Prisma.ExerciseLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ExerciseLogs to fetch. */ orderBy?: Prisma.ExerciseLogOrderByWithRelationInput | Prisma.ExerciseLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ExerciseLogs. */ cursor?: Prisma.ExerciseLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ExerciseLogs 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` ExerciseLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ExerciseLogs. */ distinct?: Prisma.ExerciseLogScalarFieldEnum | Prisma.ExerciseLogScalarFieldEnum[] } /** * ExerciseLog findFirstOrThrow */ export type ExerciseLogFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the ExerciseLog */ select?: Prisma.ExerciseLogSelect | null /** * Omit specific fields from the ExerciseLog */ omit?: Prisma.ExerciseLogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ExerciseLogInclude | null /** * Filter, which ExerciseLog to fetch. */ where?: Prisma.ExerciseLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ExerciseLogs to fetch. */ orderBy?: Prisma.ExerciseLogOrderByWithRelationInput | Prisma.ExerciseLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ExerciseLogs. */ cursor?: Prisma.ExerciseLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ExerciseLogs 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` ExerciseLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ExerciseLogs. */ distinct?: Prisma.ExerciseLogScalarFieldEnum | Prisma.ExerciseLogScalarFieldEnum[] } /** * ExerciseLog findMany */ export type ExerciseLogFindManyArgs = { /** * Select specific fields to fetch from the ExerciseLog */ select?: Prisma.ExerciseLogSelect | null /** * Omit specific fields from the ExerciseLog */ omit?: Prisma.ExerciseLogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ExerciseLogInclude | null /** * Filter, which ExerciseLogs to fetch. */ where?: Prisma.ExerciseLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ExerciseLogs to fetch. */ orderBy?: Prisma.ExerciseLogOrderByWithRelationInput | Prisma.ExerciseLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing ExerciseLogs. */ cursor?: Prisma.ExerciseLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ExerciseLogs 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` ExerciseLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ExerciseLogs. */ distinct?: Prisma.ExerciseLogScalarFieldEnum | Prisma.ExerciseLogScalarFieldEnum[] } /** * ExerciseLog create */ export type ExerciseLogCreateArgs = { /** * Select specific fields to fetch from the ExerciseLog */ select?: Prisma.ExerciseLogSelect | null /** * Omit specific fields from the ExerciseLog */ omit?: Prisma.ExerciseLogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ExerciseLogInclude | null /** * The data needed to create a ExerciseLog. */ data: Prisma.XOR } /** * ExerciseLog createMany */ export type ExerciseLogCreateManyArgs = { /** * The data used to create many ExerciseLogs. */ data: Prisma.ExerciseLogCreateManyInput | Prisma.ExerciseLogCreateManyInput[] skipDuplicates?: boolean } /** * ExerciseLog update */ export type ExerciseLogUpdateArgs = { /** * Select specific fields to fetch from the ExerciseLog */ select?: Prisma.ExerciseLogSelect | null /** * Omit specific fields from the ExerciseLog */ omit?: Prisma.ExerciseLogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ExerciseLogInclude | null /** * The data needed to update a ExerciseLog. */ data: Prisma.XOR /** * Choose, which ExerciseLog to update. */ where: Prisma.ExerciseLogWhereUniqueInput } /** * ExerciseLog updateMany */ export type ExerciseLogUpdateManyArgs = { /** * The data used to update ExerciseLogs. */ data: Prisma.XOR /** * Filter which ExerciseLogs to update */ where?: Prisma.ExerciseLogWhereInput /** * Limit how many ExerciseLogs to update. */ limit?: number } /** * ExerciseLog upsert */ export type ExerciseLogUpsertArgs = { /** * Select specific fields to fetch from the ExerciseLog */ select?: Prisma.ExerciseLogSelect | null /** * Omit specific fields from the ExerciseLog */ omit?: Prisma.ExerciseLogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ExerciseLogInclude | null /** * The filter to search for the ExerciseLog to update in case it exists. */ where: Prisma.ExerciseLogWhereUniqueInput /** * In case the ExerciseLog found by the `where` argument doesn't exist, create a new ExerciseLog with this data. */ create: Prisma.XOR /** * In case the ExerciseLog was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * ExerciseLog delete */ export type ExerciseLogDeleteArgs = { /** * Select specific fields to fetch from the ExerciseLog */ select?: Prisma.ExerciseLogSelect | null /** * Omit specific fields from the ExerciseLog */ omit?: Prisma.ExerciseLogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ExerciseLogInclude | null /** * Filter which ExerciseLog to delete. */ where: Prisma.ExerciseLogWhereUniqueInput } /** * ExerciseLog deleteMany */ export type ExerciseLogDeleteManyArgs = { /** * Filter which ExerciseLogs to delete */ where?: Prisma.ExerciseLogWhereInput /** * Limit how many ExerciseLogs to delete. */ limit?: number } /** * ExerciseLog.sessionFeedbacks */ export type ExerciseLog$sessionFeedbacksArgs = { /** * Select specific fields to fetch from the SessionFeedback */ select?: Prisma.SessionFeedbackSelect | null /** * Omit specific fields from the SessionFeedback */ omit?: Prisma.SessionFeedbackOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SessionFeedbackInclude | null where?: Prisma.SessionFeedbackWhereInput orderBy?: Prisma.SessionFeedbackOrderByWithRelationInput | Prisma.SessionFeedbackOrderByWithRelationInput[] cursor?: Prisma.SessionFeedbackWhereUniqueInput take?: number skip?: number distinct?: Prisma.SessionFeedbackScalarFieldEnum | Prisma.SessionFeedbackScalarFieldEnum[] } /** * ExerciseLog without action */ export type ExerciseLogDefaultArgs = { /** * Select specific fields to fetch from the ExerciseLog */ select?: Prisma.ExerciseLogSelect | null /** * Omit specific fields from the ExerciseLog */ omit?: Prisma.ExerciseLogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ExerciseLogInclude | null }