/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `MesoCycleDay` 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 MesoCycleDay * */ export type MesoCycleDayModel = runtime.Types.Result.DefaultSelection export type AggregateMesoCycleDay = { _count: MesoCycleDayCountAggregateOutputType | null _avg: MesoCycleDayAvgAggregateOutputType | null _sum: MesoCycleDaySumAggregateOutputType | null _min: MesoCycleDayMinAggregateOutputType | null _max: MesoCycleDayMaxAggregateOutputType | null } export type MesoCycleDayAvgAggregateOutputType = { id: number | null orderIndex: number | null mesoCycleId: number | null } export type MesoCycleDaySumAggregateOutputType = { id: number | null orderIndex: number | null mesoCycleId: number | null } export type MesoCycleDayMinAggregateOutputType = { id: number | null weekday: string | null orderIndex: number | null mesoCycleId: number | null } export type MesoCycleDayMaxAggregateOutputType = { id: number | null weekday: string | null orderIndex: number | null mesoCycleId: number | null } export type MesoCycleDayCountAggregateOutputType = { id: number weekday: number orderIndex: number mesoCycleId: number _all: number } export type MesoCycleDayAvgAggregateInputType = { id?: true orderIndex?: true mesoCycleId?: true } export type MesoCycleDaySumAggregateInputType = { id?: true orderIndex?: true mesoCycleId?: true } export type MesoCycleDayMinAggregateInputType = { id?: true weekday?: true orderIndex?: true mesoCycleId?: true } export type MesoCycleDayMaxAggregateInputType = { id?: true weekday?: true orderIndex?: true mesoCycleId?: true } export type MesoCycleDayCountAggregateInputType = { id?: true weekday?: true orderIndex?: true mesoCycleId?: true _all?: true } export type MesoCycleDayAggregateArgs = { /** * Filter which MesoCycleDay to aggregate. */ where?: Prisma.MesoCycleDayWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of MesoCycleDays to fetch. */ orderBy?: Prisma.MesoCycleDayOrderByWithRelationInput | Prisma.MesoCycleDayOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.MesoCycleDayWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` MesoCycleDays 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` MesoCycleDays. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned MesoCycleDays **/ _count?: true | MesoCycleDayCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: MesoCycleDayAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: MesoCycleDaySumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: MesoCycleDayMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: MesoCycleDayMaxAggregateInputType } export type GetMesoCycleDayAggregateType = { [P in keyof T & keyof AggregateMesoCycleDay]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type MesoCycleDayGroupByArgs = { where?: Prisma.MesoCycleDayWhereInput orderBy?: Prisma.MesoCycleDayOrderByWithAggregationInput | Prisma.MesoCycleDayOrderByWithAggregationInput[] by: Prisma.MesoCycleDayScalarFieldEnum[] | Prisma.MesoCycleDayScalarFieldEnum having?: Prisma.MesoCycleDayScalarWhereWithAggregatesInput take?: number skip?: number _count?: MesoCycleDayCountAggregateInputType | true _avg?: MesoCycleDayAvgAggregateInputType _sum?: MesoCycleDaySumAggregateInputType _min?: MesoCycleDayMinAggregateInputType _max?: MesoCycleDayMaxAggregateInputType } export type MesoCycleDayGroupByOutputType = { id: number weekday: string | null orderIndex: number mesoCycleId: number _count: MesoCycleDayCountAggregateOutputType | null _avg: MesoCycleDayAvgAggregateOutputType | null _sum: MesoCycleDaySumAggregateOutputType | null _min: MesoCycleDayMinAggregateOutputType | null _max: MesoCycleDayMaxAggregateOutputType | null } type GetMesoCycleDayGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof MesoCycleDayGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type MesoCycleDayWhereInput = { AND?: Prisma.MesoCycleDayWhereInput | Prisma.MesoCycleDayWhereInput[] OR?: Prisma.MesoCycleDayWhereInput[] NOT?: Prisma.MesoCycleDayWhereInput | Prisma.MesoCycleDayWhereInput[] id?: Prisma.IntFilter<"MesoCycleDay"> | number weekday?: Prisma.StringNullableFilter<"MesoCycleDay"> | string | null orderIndex?: Prisma.IntFilter<"MesoCycleDay"> | number mesoCycleId?: Prisma.IntFilter<"MesoCycleDay"> | number mesoCycle?: Prisma.XOR mesoCycleExercises?: Prisma.MesoCycleExerciseListRelationFilter workOutSessions?: Prisma.WorkoutSessionListRelationFilter } export type MesoCycleDayOrderByWithRelationInput = { id?: Prisma.SortOrder weekday?: Prisma.SortOrderInput | Prisma.SortOrder orderIndex?: Prisma.SortOrder mesoCycleId?: Prisma.SortOrder mesoCycle?: Prisma.MesoCycleOrderByWithRelationInput mesoCycleExercises?: Prisma.MesoCycleExerciseOrderByRelationAggregateInput workOutSessions?: Prisma.WorkoutSessionOrderByRelationAggregateInput _relevance?: Prisma.MesoCycleDayOrderByRelevanceInput } export type MesoCycleDayWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.MesoCycleDayWhereInput | Prisma.MesoCycleDayWhereInput[] OR?: Prisma.MesoCycleDayWhereInput[] NOT?: Prisma.MesoCycleDayWhereInput | Prisma.MesoCycleDayWhereInput[] weekday?: Prisma.StringNullableFilter<"MesoCycleDay"> | string | null orderIndex?: Prisma.IntFilter<"MesoCycleDay"> | number mesoCycleId?: Prisma.IntFilter<"MesoCycleDay"> | number mesoCycle?: Prisma.XOR mesoCycleExercises?: Prisma.MesoCycleExerciseListRelationFilter workOutSessions?: Prisma.WorkoutSessionListRelationFilter }, "id"> export type MesoCycleDayOrderByWithAggregationInput = { id?: Prisma.SortOrder weekday?: Prisma.SortOrderInput | Prisma.SortOrder orderIndex?: Prisma.SortOrder mesoCycleId?: Prisma.SortOrder _count?: Prisma.MesoCycleDayCountOrderByAggregateInput _avg?: Prisma.MesoCycleDayAvgOrderByAggregateInput _max?: Prisma.MesoCycleDayMaxOrderByAggregateInput _min?: Prisma.MesoCycleDayMinOrderByAggregateInput _sum?: Prisma.MesoCycleDaySumOrderByAggregateInput } export type MesoCycleDayScalarWhereWithAggregatesInput = { AND?: Prisma.MesoCycleDayScalarWhereWithAggregatesInput | Prisma.MesoCycleDayScalarWhereWithAggregatesInput[] OR?: Prisma.MesoCycleDayScalarWhereWithAggregatesInput[] NOT?: Prisma.MesoCycleDayScalarWhereWithAggregatesInput | Prisma.MesoCycleDayScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"MesoCycleDay"> | number weekday?: Prisma.StringNullableWithAggregatesFilter<"MesoCycleDay"> | string | null orderIndex?: Prisma.IntWithAggregatesFilter<"MesoCycleDay"> | number mesoCycleId?: Prisma.IntWithAggregatesFilter<"MesoCycleDay"> | number } export type MesoCycleDayCreateInput = { weekday?: string | null orderIndex: number mesoCycle: Prisma.MesoCycleCreateNestedOneWithoutMesoCycleDaysInput mesoCycleExercises?: Prisma.MesoCycleExerciseCreateNestedManyWithoutMesoCycleDayInput workOutSessions?: Prisma.WorkoutSessionCreateNestedManyWithoutMesoCycleDayInput } export type MesoCycleDayUncheckedCreateInput = { id?: number weekday?: string | null orderIndex: number mesoCycleId: number mesoCycleExercises?: Prisma.MesoCycleExerciseUncheckedCreateNestedManyWithoutMesoCycleDayInput workOutSessions?: Prisma.WorkoutSessionUncheckedCreateNestedManyWithoutMesoCycleDayInput } export type MesoCycleDayUpdateInput = { weekday?: Prisma.NullableStringFieldUpdateOperationsInput | string | null orderIndex?: Prisma.IntFieldUpdateOperationsInput | number mesoCycle?: Prisma.MesoCycleUpdateOneRequiredWithoutMesoCycleDaysNestedInput mesoCycleExercises?: Prisma.MesoCycleExerciseUpdateManyWithoutMesoCycleDayNestedInput workOutSessions?: Prisma.WorkoutSessionUpdateManyWithoutMesoCycleDayNestedInput } export type MesoCycleDayUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number weekday?: Prisma.NullableStringFieldUpdateOperationsInput | string | null orderIndex?: Prisma.IntFieldUpdateOperationsInput | number mesoCycleId?: Prisma.IntFieldUpdateOperationsInput | number mesoCycleExercises?: Prisma.MesoCycleExerciseUncheckedUpdateManyWithoutMesoCycleDayNestedInput workOutSessions?: Prisma.WorkoutSessionUncheckedUpdateManyWithoutMesoCycleDayNestedInput } export type MesoCycleDayCreateManyInput = { id?: number weekday?: string | null orderIndex: number mesoCycleId: number } export type MesoCycleDayUpdateManyMutationInput = { weekday?: Prisma.NullableStringFieldUpdateOperationsInput | string | null orderIndex?: Prisma.IntFieldUpdateOperationsInput | number } export type MesoCycleDayUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number weekday?: Prisma.NullableStringFieldUpdateOperationsInput | string | null orderIndex?: Prisma.IntFieldUpdateOperationsInput | number mesoCycleId?: Prisma.IntFieldUpdateOperationsInput | number } export type MesoCycleDayListRelationFilter = { every?: Prisma.MesoCycleDayWhereInput some?: Prisma.MesoCycleDayWhereInput none?: Prisma.MesoCycleDayWhereInput } export type MesoCycleDayOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type MesoCycleDayOrderByRelevanceInput = { fields: Prisma.MesoCycleDayOrderByRelevanceFieldEnum | Prisma.MesoCycleDayOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type MesoCycleDayCountOrderByAggregateInput = { id?: Prisma.SortOrder weekday?: Prisma.SortOrder orderIndex?: Prisma.SortOrder mesoCycleId?: Prisma.SortOrder } export type MesoCycleDayAvgOrderByAggregateInput = { id?: Prisma.SortOrder orderIndex?: Prisma.SortOrder mesoCycleId?: Prisma.SortOrder } export type MesoCycleDayMaxOrderByAggregateInput = { id?: Prisma.SortOrder weekday?: Prisma.SortOrder orderIndex?: Prisma.SortOrder mesoCycleId?: Prisma.SortOrder } export type MesoCycleDayMinOrderByAggregateInput = { id?: Prisma.SortOrder weekday?: Prisma.SortOrder orderIndex?: Prisma.SortOrder mesoCycleId?: Prisma.SortOrder } export type MesoCycleDaySumOrderByAggregateInput = { id?: Prisma.SortOrder orderIndex?: Prisma.SortOrder mesoCycleId?: Prisma.SortOrder } export type MesoCycleDayScalarRelationFilter = { is?: Prisma.MesoCycleDayWhereInput isNot?: Prisma.MesoCycleDayWhereInput } export type MesoCycleDayCreateNestedManyWithoutMesoCycleInput = { create?: Prisma.XOR | Prisma.MesoCycleDayCreateWithoutMesoCycleInput[] | Prisma.MesoCycleDayUncheckedCreateWithoutMesoCycleInput[] connectOrCreate?: Prisma.MesoCycleDayCreateOrConnectWithoutMesoCycleInput | Prisma.MesoCycleDayCreateOrConnectWithoutMesoCycleInput[] createMany?: Prisma.MesoCycleDayCreateManyMesoCycleInputEnvelope connect?: Prisma.MesoCycleDayWhereUniqueInput | Prisma.MesoCycleDayWhereUniqueInput[] } export type MesoCycleDayUncheckedCreateNestedManyWithoutMesoCycleInput = { create?: Prisma.XOR | Prisma.MesoCycleDayCreateWithoutMesoCycleInput[] | Prisma.MesoCycleDayUncheckedCreateWithoutMesoCycleInput[] connectOrCreate?: Prisma.MesoCycleDayCreateOrConnectWithoutMesoCycleInput | Prisma.MesoCycleDayCreateOrConnectWithoutMesoCycleInput[] createMany?: Prisma.MesoCycleDayCreateManyMesoCycleInputEnvelope connect?: Prisma.MesoCycleDayWhereUniqueInput | Prisma.MesoCycleDayWhereUniqueInput[] } export type MesoCycleDayUpdateManyWithoutMesoCycleNestedInput = { create?: Prisma.XOR | Prisma.MesoCycleDayCreateWithoutMesoCycleInput[] | Prisma.MesoCycleDayUncheckedCreateWithoutMesoCycleInput[] connectOrCreate?: Prisma.MesoCycleDayCreateOrConnectWithoutMesoCycleInput | Prisma.MesoCycleDayCreateOrConnectWithoutMesoCycleInput[] upsert?: Prisma.MesoCycleDayUpsertWithWhereUniqueWithoutMesoCycleInput | Prisma.MesoCycleDayUpsertWithWhereUniqueWithoutMesoCycleInput[] createMany?: Prisma.MesoCycleDayCreateManyMesoCycleInputEnvelope set?: Prisma.MesoCycleDayWhereUniqueInput | Prisma.MesoCycleDayWhereUniqueInput[] disconnect?: Prisma.MesoCycleDayWhereUniqueInput | Prisma.MesoCycleDayWhereUniqueInput[] delete?: Prisma.MesoCycleDayWhereUniqueInput | Prisma.MesoCycleDayWhereUniqueInput[] connect?: Prisma.MesoCycleDayWhereUniqueInput | Prisma.MesoCycleDayWhereUniqueInput[] update?: Prisma.MesoCycleDayUpdateWithWhereUniqueWithoutMesoCycleInput | Prisma.MesoCycleDayUpdateWithWhereUniqueWithoutMesoCycleInput[] updateMany?: Prisma.MesoCycleDayUpdateManyWithWhereWithoutMesoCycleInput | Prisma.MesoCycleDayUpdateManyWithWhereWithoutMesoCycleInput[] deleteMany?: Prisma.MesoCycleDayScalarWhereInput | Prisma.MesoCycleDayScalarWhereInput[] } export type MesoCycleDayUncheckedUpdateManyWithoutMesoCycleNestedInput = { create?: Prisma.XOR | Prisma.MesoCycleDayCreateWithoutMesoCycleInput[] | Prisma.MesoCycleDayUncheckedCreateWithoutMesoCycleInput[] connectOrCreate?: Prisma.MesoCycleDayCreateOrConnectWithoutMesoCycleInput | Prisma.MesoCycleDayCreateOrConnectWithoutMesoCycleInput[] upsert?: Prisma.MesoCycleDayUpsertWithWhereUniqueWithoutMesoCycleInput | Prisma.MesoCycleDayUpsertWithWhereUniqueWithoutMesoCycleInput[] createMany?: Prisma.MesoCycleDayCreateManyMesoCycleInputEnvelope set?: Prisma.MesoCycleDayWhereUniqueInput | Prisma.MesoCycleDayWhereUniqueInput[] disconnect?: Prisma.MesoCycleDayWhereUniqueInput | Prisma.MesoCycleDayWhereUniqueInput[] delete?: Prisma.MesoCycleDayWhereUniqueInput | Prisma.MesoCycleDayWhereUniqueInput[] connect?: Prisma.MesoCycleDayWhereUniqueInput | Prisma.MesoCycleDayWhereUniqueInput[] update?: Prisma.MesoCycleDayUpdateWithWhereUniqueWithoutMesoCycleInput | Prisma.MesoCycleDayUpdateWithWhereUniqueWithoutMesoCycleInput[] updateMany?: Prisma.MesoCycleDayUpdateManyWithWhereWithoutMesoCycleInput | Prisma.MesoCycleDayUpdateManyWithWhereWithoutMesoCycleInput[] deleteMany?: Prisma.MesoCycleDayScalarWhereInput | Prisma.MesoCycleDayScalarWhereInput[] } export type MesoCycleDayCreateNestedOneWithoutMesoCycleExercisesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.MesoCycleDayCreateOrConnectWithoutMesoCycleExercisesInput connect?: Prisma.MesoCycleDayWhereUniqueInput } export type MesoCycleDayUpdateOneRequiredWithoutMesoCycleExercisesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.MesoCycleDayCreateOrConnectWithoutMesoCycleExercisesInput upsert?: Prisma.MesoCycleDayUpsertWithoutMesoCycleExercisesInput connect?: Prisma.MesoCycleDayWhereUniqueInput update?: Prisma.XOR, Prisma.MesoCycleDayUncheckedUpdateWithoutMesoCycleExercisesInput> } export type MesoCycleDayCreateNestedOneWithoutWorkOutSessionsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.MesoCycleDayCreateOrConnectWithoutWorkOutSessionsInput connect?: Prisma.MesoCycleDayWhereUniqueInput } export type MesoCycleDayUpdateOneRequiredWithoutWorkOutSessionsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.MesoCycleDayCreateOrConnectWithoutWorkOutSessionsInput upsert?: Prisma.MesoCycleDayUpsertWithoutWorkOutSessionsInput connect?: Prisma.MesoCycleDayWhereUniqueInput update?: Prisma.XOR, Prisma.MesoCycleDayUncheckedUpdateWithoutWorkOutSessionsInput> } export type MesoCycleDayCreateWithoutMesoCycleInput = { weekday?: string | null orderIndex: number mesoCycleExercises?: Prisma.MesoCycleExerciseCreateNestedManyWithoutMesoCycleDayInput workOutSessions?: Prisma.WorkoutSessionCreateNestedManyWithoutMesoCycleDayInput } export type MesoCycleDayUncheckedCreateWithoutMesoCycleInput = { id?: number weekday?: string | null orderIndex: number mesoCycleExercises?: Prisma.MesoCycleExerciseUncheckedCreateNestedManyWithoutMesoCycleDayInput workOutSessions?: Prisma.WorkoutSessionUncheckedCreateNestedManyWithoutMesoCycleDayInput } export type MesoCycleDayCreateOrConnectWithoutMesoCycleInput = { where: Prisma.MesoCycleDayWhereUniqueInput create: Prisma.XOR } export type MesoCycleDayCreateManyMesoCycleInputEnvelope = { data: Prisma.MesoCycleDayCreateManyMesoCycleInput | Prisma.MesoCycleDayCreateManyMesoCycleInput[] skipDuplicates?: boolean } export type MesoCycleDayUpsertWithWhereUniqueWithoutMesoCycleInput = { where: Prisma.MesoCycleDayWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type MesoCycleDayUpdateWithWhereUniqueWithoutMesoCycleInput = { where: Prisma.MesoCycleDayWhereUniqueInput data: Prisma.XOR } export type MesoCycleDayUpdateManyWithWhereWithoutMesoCycleInput = { where: Prisma.MesoCycleDayScalarWhereInput data: Prisma.XOR } export type MesoCycleDayScalarWhereInput = { AND?: Prisma.MesoCycleDayScalarWhereInput | Prisma.MesoCycleDayScalarWhereInput[] OR?: Prisma.MesoCycleDayScalarWhereInput[] NOT?: Prisma.MesoCycleDayScalarWhereInput | Prisma.MesoCycleDayScalarWhereInput[] id?: Prisma.IntFilter<"MesoCycleDay"> | number weekday?: Prisma.StringNullableFilter<"MesoCycleDay"> | string | null orderIndex?: Prisma.IntFilter<"MesoCycleDay"> | number mesoCycleId?: Prisma.IntFilter<"MesoCycleDay"> | number } export type MesoCycleDayCreateWithoutMesoCycleExercisesInput = { weekday?: string | null orderIndex: number mesoCycle: Prisma.MesoCycleCreateNestedOneWithoutMesoCycleDaysInput workOutSessions?: Prisma.WorkoutSessionCreateNestedManyWithoutMesoCycleDayInput } export type MesoCycleDayUncheckedCreateWithoutMesoCycleExercisesInput = { id?: number weekday?: string | null orderIndex: number mesoCycleId: number workOutSessions?: Prisma.WorkoutSessionUncheckedCreateNestedManyWithoutMesoCycleDayInput } export type MesoCycleDayCreateOrConnectWithoutMesoCycleExercisesInput = { where: Prisma.MesoCycleDayWhereUniqueInput create: Prisma.XOR } export type MesoCycleDayUpsertWithoutMesoCycleExercisesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.MesoCycleDayWhereInput } export type MesoCycleDayUpdateToOneWithWhereWithoutMesoCycleExercisesInput = { where?: Prisma.MesoCycleDayWhereInput data: Prisma.XOR } export type MesoCycleDayUpdateWithoutMesoCycleExercisesInput = { weekday?: Prisma.NullableStringFieldUpdateOperationsInput | string | null orderIndex?: Prisma.IntFieldUpdateOperationsInput | number mesoCycle?: Prisma.MesoCycleUpdateOneRequiredWithoutMesoCycleDaysNestedInput workOutSessions?: Prisma.WorkoutSessionUpdateManyWithoutMesoCycleDayNestedInput } export type MesoCycleDayUncheckedUpdateWithoutMesoCycleExercisesInput = { id?: Prisma.IntFieldUpdateOperationsInput | number weekday?: Prisma.NullableStringFieldUpdateOperationsInput | string | null orderIndex?: Prisma.IntFieldUpdateOperationsInput | number mesoCycleId?: Prisma.IntFieldUpdateOperationsInput | number workOutSessions?: Prisma.WorkoutSessionUncheckedUpdateManyWithoutMesoCycleDayNestedInput } export type MesoCycleDayCreateWithoutWorkOutSessionsInput = { weekday?: string | null orderIndex: number mesoCycle: Prisma.MesoCycleCreateNestedOneWithoutMesoCycleDaysInput mesoCycleExercises?: Prisma.MesoCycleExerciseCreateNestedManyWithoutMesoCycleDayInput } export type MesoCycleDayUncheckedCreateWithoutWorkOutSessionsInput = { id?: number weekday?: string | null orderIndex: number mesoCycleId: number mesoCycleExercises?: Prisma.MesoCycleExerciseUncheckedCreateNestedManyWithoutMesoCycleDayInput } export type MesoCycleDayCreateOrConnectWithoutWorkOutSessionsInput = { where: Prisma.MesoCycleDayWhereUniqueInput create: Prisma.XOR } export type MesoCycleDayUpsertWithoutWorkOutSessionsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.MesoCycleDayWhereInput } export type MesoCycleDayUpdateToOneWithWhereWithoutWorkOutSessionsInput = { where?: Prisma.MesoCycleDayWhereInput data: Prisma.XOR } export type MesoCycleDayUpdateWithoutWorkOutSessionsInput = { weekday?: Prisma.NullableStringFieldUpdateOperationsInput | string | null orderIndex?: Prisma.IntFieldUpdateOperationsInput | number mesoCycle?: Prisma.MesoCycleUpdateOneRequiredWithoutMesoCycleDaysNestedInput mesoCycleExercises?: Prisma.MesoCycleExerciseUpdateManyWithoutMesoCycleDayNestedInput } export type MesoCycleDayUncheckedUpdateWithoutWorkOutSessionsInput = { id?: Prisma.IntFieldUpdateOperationsInput | number weekday?: Prisma.NullableStringFieldUpdateOperationsInput | string | null orderIndex?: Prisma.IntFieldUpdateOperationsInput | number mesoCycleId?: Prisma.IntFieldUpdateOperationsInput | number mesoCycleExercises?: Prisma.MesoCycleExerciseUncheckedUpdateManyWithoutMesoCycleDayNestedInput } export type MesoCycleDayCreateManyMesoCycleInput = { id?: number weekday?: string | null orderIndex: number } export type MesoCycleDayUpdateWithoutMesoCycleInput = { weekday?: Prisma.NullableStringFieldUpdateOperationsInput | string | null orderIndex?: Prisma.IntFieldUpdateOperationsInput | number mesoCycleExercises?: Prisma.MesoCycleExerciseUpdateManyWithoutMesoCycleDayNestedInput workOutSessions?: Prisma.WorkoutSessionUpdateManyWithoutMesoCycleDayNestedInput } export type MesoCycleDayUncheckedUpdateWithoutMesoCycleInput = { id?: Prisma.IntFieldUpdateOperationsInput | number weekday?: Prisma.NullableStringFieldUpdateOperationsInput | string | null orderIndex?: Prisma.IntFieldUpdateOperationsInput | number mesoCycleExercises?: Prisma.MesoCycleExerciseUncheckedUpdateManyWithoutMesoCycleDayNestedInput workOutSessions?: Prisma.WorkoutSessionUncheckedUpdateManyWithoutMesoCycleDayNestedInput } export type MesoCycleDayUncheckedUpdateManyWithoutMesoCycleInput = { id?: Prisma.IntFieldUpdateOperationsInput | number weekday?: Prisma.NullableStringFieldUpdateOperationsInput | string | null orderIndex?: Prisma.IntFieldUpdateOperationsInput | number } /** * Count Type MesoCycleDayCountOutputType */ export type MesoCycleDayCountOutputType = { mesoCycleExercises: number workOutSessions: number } export type MesoCycleDayCountOutputTypeSelect = { mesoCycleExercises?: boolean | MesoCycleDayCountOutputTypeCountMesoCycleExercisesArgs workOutSessions?: boolean | MesoCycleDayCountOutputTypeCountWorkOutSessionsArgs } /** * MesoCycleDayCountOutputType without action */ export type MesoCycleDayCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the MesoCycleDayCountOutputType */ select?: Prisma.MesoCycleDayCountOutputTypeSelect | null } /** * MesoCycleDayCountOutputType without action */ export type MesoCycleDayCountOutputTypeCountMesoCycleExercisesArgs = { where?: Prisma.MesoCycleExerciseWhereInput } /** * MesoCycleDayCountOutputType without action */ export type MesoCycleDayCountOutputTypeCountWorkOutSessionsArgs = { where?: Prisma.WorkoutSessionWhereInput } export type MesoCycleDaySelect = runtime.Types.Extensions.GetSelect<{ id?: boolean weekday?: boolean orderIndex?: boolean mesoCycleId?: boolean mesoCycle?: boolean | Prisma.MesoCycleDefaultArgs mesoCycleExercises?: boolean | Prisma.MesoCycleDay$mesoCycleExercisesArgs workOutSessions?: boolean | Prisma.MesoCycleDay$workOutSessionsArgs _count?: boolean | Prisma.MesoCycleDayCountOutputTypeDefaultArgs }, ExtArgs["result"]["mesoCycleDay"]> export type MesoCycleDaySelectScalar = { id?: boolean weekday?: boolean orderIndex?: boolean mesoCycleId?: boolean } export type MesoCycleDayOmit = runtime.Types.Extensions.GetOmit<"id" | "weekday" | "orderIndex" | "mesoCycleId", ExtArgs["result"]["mesoCycleDay"]> export type MesoCycleDayInclude = { mesoCycle?: boolean | Prisma.MesoCycleDefaultArgs mesoCycleExercises?: boolean | Prisma.MesoCycleDay$mesoCycleExercisesArgs workOutSessions?: boolean | Prisma.MesoCycleDay$workOutSessionsArgs _count?: boolean | Prisma.MesoCycleDayCountOutputTypeDefaultArgs } export type $MesoCycleDayPayload = { name: "MesoCycleDay" objects: { mesoCycle: Prisma.$MesoCyclePayload mesoCycleExercises: Prisma.$MesoCycleExercisePayload[] workOutSessions: Prisma.$WorkoutSessionPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number weekday: string | null orderIndex: number mesoCycleId: number }, ExtArgs["result"]["mesoCycleDay"]> composites: {} } export type MesoCycleDayGetPayload = runtime.Types.Result.GetResult export type MesoCycleDayCountArgs = Omit & { select?: MesoCycleDayCountAggregateInputType | true } export interface MesoCycleDayDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['MesoCycleDay'], meta: { name: 'MesoCycleDay' } } /** * Find zero or one MesoCycleDay that matches the filter. * @param {MesoCycleDayFindUniqueArgs} args - Arguments to find a MesoCycleDay * @example * // Get one MesoCycleDay * const mesoCycleDay = await prisma.mesoCycleDay.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__MesoCycleDayClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one MesoCycleDay that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {MesoCycleDayFindUniqueOrThrowArgs} args - Arguments to find a MesoCycleDay * @example * // Get one MesoCycleDay * const mesoCycleDay = await prisma.mesoCycleDay.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__MesoCycleDayClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first MesoCycleDay 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 {MesoCycleDayFindFirstArgs} args - Arguments to find a MesoCycleDay * @example * // Get one MesoCycleDay * const mesoCycleDay = await prisma.mesoCycleDay.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__MesoCycleDayClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first MesoCycleDay 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 {MesoCycleDayFindFirstOrThrowArgs} args - Arguments to find a MesoCycleDay * @example * // Get one MesoCycleDay * const mesoCycleDay = await prisma.mesoCycleDay.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__MesoCycleDayClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more MesoCycleDays 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 {MesoCycleDayFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all MesoCycleDays * const mesoCycleDays = await prisma.mesoCycleDay.findMany() * * // Get first 10 MesoCycleDays * const mesoCycleDays = await prisma.mesoCycleDay.findMany({ take: 10 }) * * // Only select the `id` * const mesoCycleDayWithIdOnly = await prisma.mesoCycleDay.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a MesoCycleDay. * @param {MesoCycleDayCreateArgs} args - Arguments to create a MesoCycleDay. * @example * // Create one MesoCycleDay * const MesoCycleDay = await prisma.mesoCycleDay.create({ * data: { * // ... data to create a MesoCycleDay * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__MesoCycleDayClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many MesoCycleDays. * @param {MesoCycleDayCreateManyArgs} args - Arguments to create many MesoCycleDays. * @example * // Create many MesoCycleDays * const mesoCycleDay = await prisma.mesoCycleDay.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a MesoCycleDay. * @param {MesoCycleDayDeleteArgs} args - Arguments to delete one MesoCycleDay. * @example * // Delete one MesoCycleDay * const MesoCycleDay = await prisma.mesoCycleDay.delete({ * where: { * // ... filter to delete one MesoCycleDay * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__MesoCycleDayClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one MesoCycleDay. * @param {MesoCycleDayUpdateArgs} args - Arguments to update one MesoCycleDay. * @example * // Update one MesoCycleDay * const mesoCycleDay = await prisma.mesoCycleDay.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__MesoCycleDayClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more MesoCycleDays. * @param {MesoCycleDayDeleteManyArgs} args - Arguments to filter MesoCycleDays to delete. * @example * // Delete a few MesoCycleDays * const { count } = await prisma.mesoCycleDay.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more MesoCycleDays. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MesoCycleDayUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many MesoCycleDays * const mesoCycleDay = await prisma.mesoCycleDay.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one MesoCycleDay. * @param {MesoCycleDayUpsertArgs} args - Arguments to update or create a MesoCycleDay. * @example * // Update or create a MesoCycleDay * const mesoCycleDay = await prisma.mesoCycleDay.upsert({ * create: { * // ... data to create a MesoCycleDay * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the MesoCycleDay we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__MesoCycleDayClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of MesoCycleDays. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MesoCycleDayCountArgs} args - Arguments to filter MesoCycleDays to count. * @example * // Count the number of MesoCycleDays * const count = await prisma.mesoCycleDay.count({ * where: { * // ... the filter for the MesoCycleDays 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 MesoCycleDay. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MesoCycleDayAggregateArgs} 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 MesoCycleDay. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MesoCycleDayGroupByArgs} 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 MesoCycleDayGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: MesoCycleDayGroupByArgs['orderBy'] } : { orderBy?: MesoCycleDayGroupByArgs['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 ? GetMesoCycleDayGroupByPayload : Prisma.PrismaPromise /** * Fields of the MesoCycleDay model */ readonly fields: MesoCycleDayFieldRefs; } /** * The delegate class that acts as a "Promise-like" for MesoCycleDay. * 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__MesoCycleDayClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" mesoCycle = {}>(args?: Prisma.Subset>): Prisma.Prisma__MesoCycleClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> mesoCycleExercises = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> workOutSessions = {}>(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 MesoCycleDay model */ export interface MesoCycleDayFieldRefs { readonly id: Prisma.FieldRef<"MesoCycleDay", 'Int'> readonly weekday: Prisma.FieldRef<"MesoCycleDay", 'String'> readonly orderIndex: Prisma.FieldRef<"MesoCycleDay", 'Int'> readonly mesoCycleId: Prisma.FieldRef<"MesoCycleDay", 'Int'> } // Custom InputTypes /** * MesoCycleDay findUnique */ export type MesoCycleDayFindUniqueArgs = { /** * Select specific fields to fetch from the MesoCycleDay */ select?: Prisma.MesoCycleDaySelect | null /** * Omit specific fields from the MesoCycleDay */ omit?: Prisma.MesoCycleDayOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.MesoCycleDayInclude | null /** * Filter, which MesoCycleDay to fetch. */ where: Prisma.MesoCycleDayWhereUniqueInput } /** * MesoCycleDay findUniqueOrThrow */ export type MesoCycleDayFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the MesoCycleDay */ select?: Prisma.MesoCycleDaySelect | null /** * Omit specific fields from the MesoCycleDay */ omit?: Prisma.MesoCycleDayOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.MesoCycleDayInclude | null /** * Filter, which MesoCycleDay to fetch. */ where: Prisma.MesoCycleDayWhereUniqueInput } /** * MesoCycleDay findFirst */ export type MesoCycleDayFindFirstArgs = { /** * Select specific fields to fetch from the MesoCycleDay */ select?: Prisma.MesoCycleDaySelect | null /** * Omit specific fields from the MesoCycleDay */ omit?: Prisma.MesoCycleDayOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.MesoCycleDayInclude | null /** * Filter, which MesoCycleDay to fetch. */ where?: Prisma.MesoCycleDayWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of MesoCycleDays to fetch. */ orderBy?: Prisma.MesoCycleDayOrderByWithRelationInput | Prisma.MesoCycleDayOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for MesoCycleDays. */ cursor?: Prisma.MesoCycleDayWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` MesoCycleDays 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` MesoCycleDays. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of MesoCycleDays. */ distinct?: Prisma.MesoCycleDayScalarFieldEnum | Prisma.MesoCycleDayScalarFieldEnum[] } /** * MesoCycleDay findFirstOrThrow */ export type MesoCycleDayFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the MesoCycleDay */ select?: Prisma.MesoCycleDaySelect | null /** * Omit specific fields from the MesoCycleDay */ omit?: Prisma.MesoCycleDayOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.MesoCycleDayInclude | null /** * Filter, which MesoCycleDay to fetch. */ where?: Prisma.MesoCycleDayWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of MesoCycleDays to fetch. */ orderBy?: Prisma.MesoCycleDayOrderByWithRelationInput | Prisma.MesoCycleDayOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for MesoCycleDays. */ cursor?: Prisma.MesoCycleDayWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` MesoCycleDays 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` MesoCycleDays. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of MesoCycleDays. */ distinct?: Prisma.MesoCycleDayScalarFieldEnum | Prisma.MesoCycleDayScalarFieldEnum[] } /** * MesoCycleDay findMany */ export type MesoCycleDayFindManyArgs = { /** * Select specific fields to fetch from the MesoCycleDay */ select?: Prisma.MesoCycleDaySelect | null /** * Omit specific fields from the MesoCycleDay */ omit?: Prisma.MesoCycleDayOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.MesoCycleDayInclude | null /** * Filter, which MesoCycleDays to fetch. */ where?: Prisma.MesoCycleDayWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of MesoCycleDays to fetch. */ orderBy?: Prisma.MesoCycleDayOrderByWithRelationInput | Prisma.MesoCycleDayOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing MesoCycleDays. */ cursor?: Prisma.MesoCycleDayWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` MesoCycleDays 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` MesoCycleDays. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of MesoCycleDays. */ distinct?: Prisma.MesoCycleDayScalarFieldEnum | Prisma.MesoCycleDayScalarFieldEnum[] } /** * MesoCycleDay create */ export type MesoCycleDayCreateArgs = { /** * Select specific fields to fetch from the MesoCycleDay */ select?: Prisma.MesoCycleDaySelect | null /** * Omit specific fields from the MesoCycleDay */ omit?: Prisma.MesoCycleDayOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.MesoCycleDayInclude | null /** * The data needed to create a MesoCycleDay. */ data: Prisma.XOR } /** * MesoCycleDay createMany */ export type MesoCycleDayCreateManyArgs = { /** * The data used to create many MesoCycleDays. */ data: Prisma.MesoCycleDayCreateManyInput | Prisma.MesoCycleDayCreateManyInput[] skipDuplicates?: boolean } /** * MesoCycleDay update */ export type MesoCycleDayUpdateArgs = { /** * Select specific fields to fetch from the MesoCycleDay */ select?: Prisma.MesoCycleDaySelect | null /** * Omit specific fields from the MesoCycleDay */ omit?: Prisma.MesoCycleDayOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.MesoCycleDayInclude | null /** * The data needed to update a MesoCycleDay. */ data: Prisma.XOR /** * Choose, which MesoCycleDay to update. */ where: Prisma.MesoCycleDayWhereUniqueInput } /** * MesoCycleDay updateMany */ export type MesoCycleDayUpdateManyArgs = { /** * The data used to update MesoCycleDays. */ data: Prisma.XOR /** * Filter which MesoCycleDays to update */ where?: Prisma.MesoCycleDayWhereInput /** * Limit how many MesoCycleDays to update. */ limit?: number } /** * MesoCycleDay upsert */ export type MesoCycleDayUpsertArgs = { /** * Select specific fields to fetch from the MesoCycleDay */ select?: Prisma.MesoCycleDaySelect | null /** * Omit specific fields from the MesoCycleDay */ omit?: Prisma.MesoCycleDayOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.MesoCycleDayInclude | null /** * The filter to search for the MesoCycleDay to update in case it exists. */ where: Prisma.MesoCycleDayWhereUniqueInput /** * In case the MesoCycleDay found by the `where` argument doesn't exist, create a new MesoCycleDay with this data. */ create: Prisma.XOR /** * In case the MesoCycleDay was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * MesoCycleDay delete */ export type MesoCycleDayDeleteArgs = { /** * Select specific fields to fetch from the MesoCycleDay */ select?: Prisma.MesoCycleDaySelect | null /** * Omit specific fields from the MesoCycleDay */ omit?: Prisma.MesoCycleDayOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.MesoCycleDayInclude | null /** * Filter which MesoCycleDay to delete. */ where: Prisma.MesoCycleDayWhereUniqueInput } /** * MesoCycleDay deleteMany */ export type MesoCycleDayDeleteManyArgs = { /** * Filter which MesoCycleDays to delete */ where?: Prisma.MesoCycleDayWhereInput /** * Limit how many MesoCycleDays to delete. */ limit?: number } /** * MesoCycleDay.mesoCycleExercises */ export type MesoCycleDay$mesoCycleExercisesArgs = { /** * Select specific fields to fetch from the MesoCycleExercise */ select?: Prisma.MesoCycleExerciseSelect | null /** * Omit specific fields from the MesoCycleExercise */ omit?: Prisma.MesoCycleExerciseOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.MesoCycleExerciseInclude | null where?: Prisma.MesoCycleExerciseWhereInput orderBy?: Prisma.MesoCycleExerciseOrderByWithRelationInput | Prisma.MesoCycleExerciseOrderByWithRelationInput[] cursor?: Prisma.MesoCycleExerciseWhereUniqueInput take?: number skip?: number distinct?: Prisma.MesoCycleExerciseScalarFieldEnum | Prisma.MesoCycleExerciseScalarFieldEnum[] } /** * MesoCycleDay.workOutSessions */ export type MesoCycleDay$workOutSessionsArgs = { /** * Select specific fields to fetch from the WorkoutSession */ select?: Prisma.WorkoutSessionSelect | null /** * Omit specific fields from the WorkoutSession */ omit?: Prisma.WorkoutSessionOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkoutSessionInclude | null where?: Prisma.WorkoutSessionWhereInput orderBy?: Prisma.WorkoutSessionOrderByWithRelationInput | Prisma.WorkoutSessionOrderByWithRelationInput[] cursor?: Prisma.WorkoutSessionWhereUniqueInput take?: number skip?: number distinct?: Prisma.WorkoutSessionScalarFieldEnum | Prisma.WorkoutSessionScalarFieldEnum[] } /** * MesoCycleDay without action */ export type MesoCycleDayDefaultArgs = { /** * Select specific fields to fetch from the MesoCycleDay */ select?: Prisma.MesoCycleDaySelect | null /** * Omit specific fields from the MesoCycleDay */ omit?: Prisma.MesoCycleDayOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.MesoCycleDayInclude | null }