/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `journeys` model and its related types. * * 🟢 You can import this file directly. */ import type * as runtime from "@prisma/client/runtime/client" import type * as $Enums from "../enums" import type * as Prisma from "../internal/prismaNamespace" /** * Model journeys * */ export type journeysModel = runtime.Types.Result.DefaultSelection export type AggregateJourneys = { _count: JourneysCountAggregateOutputType | null _avg: JourneysAvgAggregateOutputType | null _sum: JourneysSumAggregateOutputType | null _min: JourneysMinAggregateOutputType | null _max: JourneysMaxAggregateOutputType | null } export type JourneysAvgAggregateOutputType = { id: number | null user_id: number | null created_at: number | null updated_at: number | null } export type JourneysSumAggregateOutputType = { id: number | null user_id: number | null created_at: number | null updated_at: number | null } export type JourneysMinAggregateOutputType = { id: number | null user_id: number | null title: string | null subtitle: string | null cover_gradient: string | null status: string | null created_at: number | null updated_at: number | null cover_image: string | null } export type JourneysMaxAggregateOutputType = { id: number | null user_id: number | null title: string | null subtitle: string | null cover_gradient: string | null status: string | null created_at: number | null updated_at: number | null cover_image: string | null } export type JourneysCountAggregateOutputType = { id: number user_id: number title: number subtitle: number cover_gradient: number status: number created_at: number updated_at: number cover_image: number _all: number } export type JourneysAvgAggregateInputType = { id?: true user_id?: true created_at?: true updated_at?: true } export type JourneysSumAggregateInputType = { id?: true user_id?: true created_at?: true updated_at?: true } export type JourneysMinAggregateInputType = { id?: true user_id?: true title?: true subtitle?: true cover_gradient?: true status?: true created_at?: true updated_at?: true cover_image?: true } export type JourneysMaxAggregateInputType = { id?: true user_id?: true title?: true subtitle?: true cover_gradient?: true status?: true created_at?: true updated_at?: true cover_image?: true } export type JourneysCountAggregateInputType = { id?: true user_id?: true title?: true subtitle?: true cover_gradient?: true status?: true created_at?: true updated_at?: true cover_image?: true _all?: true } export type JourneysAggregateArgs = { /** * Filter which journeys to aggregate. */ where?: Prisma.journeysWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of journeys to fetch. */ orderBy?: Prisma.journeysOrderByWithRelationInput | Prisma.journeysOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.journeysWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` journeys 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` journeys. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned journeys **/ _count?: true | JourneysCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: JourneysAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: JourneysSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: JourneysMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: JourneysMaxAggregateInputType } export type GetJourneysAggregateType = { [P in keyof T & keyof AggregateJourneys]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type journeysGroupByArgs = { where?: Prisma.journeysWhereInput orderBy?: Prisma.journeysOrderByWithAggregationInput | Prisma.journeysOrderByWithAggregationInput[] by: Prisma.JourneysScalarFieldEnum[] | Prisma.JourneysScalarFieldEnum having?: Prisma.journeysScalarWhereWithAggregatesInput take?: number skip?: number _count?: JourneysCountAggregateInputType | true _avg?: JourneysAvgAggregateInputType _sum?: JourneysSumAggregateInputType _min?: JourneysMinAggregateInputType _max?: JourneysMaxAggregateInputType } export type JourneysGroupByOutputType = { id: number user_id: number title: string subtitle: string | null cover_gradient: string | null status: string | null created_at: number updated_at: number cover_image: string | null _count: JourneysCountAggregateOutputType | null _avg: JourneysAvgAggregateOutputType | null _sum: JourneysSumAggregateOutputType | null _min: JourneysMinAggregateOutputType | null _max: JourneysMaxAggregateOutputType | null } export type GetJourneysGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof JourneysGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type journeysWhereInput = { AND?: Prisma.journeysWhereInput | Prisma.journeysWhereInput[] OR?: Prisma.journeysWhereInput[] NOT?: Prisma.journeysWhereInput | Prisma.journeysWhereInput[] id?: Prisma.IntFilter<"journeys"> | number user_id?: Prisma.IntFilter<"journeys"> | number title?: Prisma.StringFilter<"journeys"> | string subtitle?: Prisma.StringNullableFilter<"journeys"> | string | null cover_gradient?: Prisma.StringNullableFilter<"journeys"> | string | null status?: Prisma.StringNullableFilter<"journeys"> | string | null created_at?: Prisma.IntFilter<"journeys"> | number updated_at?: Prisma.IntFilter<"journeys"> | number cover_image?: Prisma.StringNullableFilter<"journeys"> | string | null journey_contributors?: Prisma.Journey_contributorsListRelationFilter journey_entries?: Prisma.Journey_entriesListRelationFilter journey_photos?: Prisma.Journey_photosListRelationFilter journey_share_tokens?: Prisma.XOR | null journey_trips?: Prisma.Journey_tripsListRelationFilter users?: Prisma.XOR } export type journeysOrderByWithRelationInput = { id?: Prisma.SortOrder user_id?: Prisma.SortOrder title?: Prisma.SortOrder subtitle?: Prisma.SortOrderInput | Prisma.SortOrder cover_gradient?: Prisma.SortOrderInput | Prisma.SortOrder status?: Prisma.SortOrderInput | Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder cover_image?: Prisma.SortOrderInput | Prisma.SortOrder journey_contributors?: Prisma.journey_contributorsOrderByRelationAggregateInput journey_entries?: Prisma.journey_entriesOrderByRelationAggregateInput journey_photos?: Prisma.journey_photosOrderByRelationAggregateInput journey_share_tokens?: Prisma.journey_share_tokensOrderByWithRelationInput journey_trips?: Prisma.journey_tripsOrderByRelationAggregateInput users?: Prisma.usersOrderByWithRelationInput } export type journeysWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.journeysWhereInput | Prisma.journeysWhereInput[] OR?: Prisma.journeysWhereInput[] NOT?: Prisma.journeysWhereInput | Prisma.journeysWhereInput[] user_id?: Prisma.IntFilter<"journeys"> | number title?: Prisma.StringFilter<"journeys"> | string subtitle?: Prisma.StringNullableFilter<"journeys"> | string | null cover_gradient?: Prisma.StringNullableFilter<"journeys"> | string | null status?: Prisma.StringNullableFilter<"journeys"> | string | null created_at?: Prisma.IntFilter<"journeys"> | number updated_at?: Prisma.IntFilter<"journeys"> | number cover_image?: Prisma.StringNullableFilter<"journeys"> | string | null journey_contributors?: Prisma.Journey_contributorsListRelationFilter journey_entries?: Prisma.Journey_entriesListRelationFilter journey_photos?: Prisma.Journey_photosListRelationFilter journey_share_tokens?: Prisma.XOR | null journey_trips?: Prisma.Journey_tripsListRelationFilter users?: Prisma.XOR }, "id"> export type journeysOrderByWithAggregationInput = { id?: Prisma.SortOrder user_id?: Prisma.SortOrder title?: Prisma.SortOrder subtitle?: Prisma.SortOrderInput | Prisma.SortOrder cover_gradient?: Prisma.SortOrderInput | Prisma.SortOrder status?: Prisma.SortOrderInput | Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder cover_image?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.journeysCountOrderByAggregateInput _avg?: Prisma.journeysAvgOrderByAggregateInput _max?: Prisma.journeysMaxOrderByAggregateInput _min?: Prisma.journeysMinOrderByAggregateInput _sum?: Prisma.journeysSumOrderByAggregateInput } export type journeysScalarWhereWithAggregatesInput = { AND?: Prisma.journeysScalarWhereWithAggregatesInput | Prisma.journeysScalarWhereWithAggregatesInput[] OR?: Prisma.journeysScalarWhereWithAggregatesInput[] NOT?: Prisma.journeysScalarWhereWithAggregatesInput | Prisma.journeysScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"journeys"> | number user_id?: Prisma.IntWithAggregatesFilter<"journeys"> | number title?: Prisma.StringWithAggregatesFilter<"journeys"> | string subtitle?: Prisma.StringNullableWithAggregatesFilter<"journeys"> | string | null cover_gradient?: Prisma.StringNullableWithAggregatesFilter<"journeys"> | string | null status?: Prisma.StringNullableWithAggregatesFilter<"journeys"> | string | null created_at?: Prisma.IntWithAggregatesFilter<"journeys"> | number updated_at?: Prisma.IntWithAggregatesFilter<"journeys"> | number cover_image?: Prisma.StringNullableWithAggregatesFilter<"journeys"> | string | null } export type journeysCreateInput = { title: string subtitle?: string | null cover_gradient?: string | null status?: string | null created_at: number updated_at: number cover_image?: string | null journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutJourneysInput journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutJourneysInput journey_photos?: Prisma.journey_photosCreateNestedManyWithoutJourneysInput journey_share_tokens?: Prisma.journey_share_tokensCreateNestedOneWithoutJourneysInput journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutJourneysInput users: Prisma.usersCreateNestedOneWithoutJourneysInput } export type journeysUncheckedCreateInput = { id?: number user_id: number title: string subtitle?: string | null cover_gradient?: string | null status?: string | null created_at: number updated_at: number cover_image?: string | null journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutJourneysInput journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutJourneysInput journey_photos?: Prisma.journey_photosUncheckedCreateNestedManyWithoutJourneysInput journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedOneWithoutJourneysInput journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutJourneysInput } export type journeysUpdateInput = { title?: Prisma.StringFieldUpdateOperationsInput | string subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null created_at?: Prisma.IntFieldUpdateOperationsInput | number updated_at?: Prisma.IntFieldUpdateOperationsInput | number cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutJourneysNestedInput journey_entries?: Prisma.journey_entriesUpdateManyWithoutJourneysNestedInput journey_photos?: Prisma.journey_photosUpdateManyWithoutJourneysNestedInput journey_share_tokens?: Prisma.journey_share_tokensUpdateOneWithoutJourneysNestedInput journey_trips?: Prisma.journey_tripsUpdateManyWithoutJourneysNestedInput users?: Prisma.usersUpdateOneRequiredWithoutJourneysNestedInput } export type journeysUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number user_id?: Prisma.IntFieldUpdateOperationsInput | number title?: Prisma.StringFieldUpdateOperationsInput | string subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null created_at?: Prisma.IntFieldUpdateOperationsInput | number updated_at?: Prisma.IntFieldUpdateOperationsInput | number cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutJourneysNestedInput journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutJourneysNestedInput journey_photos?: Prisma.journey_photosUncheckedUpdateManyWithoutJourneysNestedInput journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateOneWithoutJourneysNestedInput journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutJourneysNestedInput } export type journeysCreateManyInput = { id?: number user_id: number title: string subtitle?: string | null cover_gradient?: string | null status?: string | null created_at: number updated_at: number cover_image?: string | null } export type journeysUpdateManyMutationInput = { title?: Prisma.StringFieldUpdateOperationsInput | string subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null created_at?: Prisma.IntFieldUpdateOperationsInput | number updated_at?: Prisma.IntFieldUpdateOperationsInput | number cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type journeysUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number user_id?: Prisma.IntFieldUpdateOperationsInput | number title?: Prisma.StringFieldUpdateOperationsInput | string subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null created_at?: Prisma.IntFieldUpdateOperationsInput | number updated_at?: Prisma.IntFieldUpdateOperationsInput | number cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type JourneysScalarRelationFilter = { is?: Prisma.journeysWhereInput isNot?: Prisma.journeysWhereInput } export type journeysCountOrderByAggregateInput = { id?: Prisma.SortOrder user_id?: Prisma.SortOrder title?: Prisma.SortOrder subtitle?: Prisma.SortOrder cover_gradient?: Prisma.SortOrder status?: Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder cover_image?: Prisma.SortOrder } export type journeysAvgOrderByAggregateInput = { id?: Prisma.SortOrder user_id?: Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder } export type journeysMaxOrderByAggregateInput = { id?: Prisma.SortOrder user_id?: Prisma.SortOrder title?: Prisma.SortOrder subtitle?: Prisma.SortOrder cover_gradient?: Prisma.SortOrder status?: Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder cover_image?: Prisma.SortOrder } export type journeysMinOrderByAggregateInput = { id?: Prisma.SortOrder user_id?: Prisma.SortOrder title?: Prisma.SortOrder subtitle?: Prisma.SortOrder cover_gradient?: Prisma.SortOrder status?: Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder cover_image?: Prisma.SortOrder } export type journeysSumOrderByAggregateInput = { id?: Prisma.SortOrder user_id?: Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder } export type JourneysListRelationFilter = { every?: Prisma.journeysWhereInput some?: Prisma.journeysWhereInput none?: Prisma.journeysWhereInput } export type journeysOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type journeysCreateNestedOneWithoutJourney_contributorsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.journeysCreateOrConnectWithoutJourney_contributorsInput connect?: Prisma.journeysWhereUniqueInput } export type journeysUpdateOneRequiredWithoutJourney_contributorsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.journeysCreateOrConnectWithoutJourney_contributorsInput upsert?: Prisma.journeysUpsertWithoutJourney_contributorsInput connect?: Prisma.journeysWhereUniqueInput update?: Prisma.XOR, Prisma.journeysUncheckedUpdateWithoutJourney_contributorsInput> } export type journeysCreateNestedOneWithoutJourney_entriesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.journeysCreateOrConnectWithoutJourney_entriesInput connect?: Prisma.journeysWhereUniqueInput } export type journeysUpdateOneRequiredWithoutJourney_entriesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.journeysCreateOrConnectWithoutJourney_entriesInput upsert?: Prisma.journeysUpsertWithoutJourney_entriesInput connect?: Prisma.journeysWhereUniqueInput update?: Prisma.XOR, Prisma.journeysUncheckedUpdateWithoutJourney_entriesInput> } export type journeysCreateNestedOneWithoutJourney_photosInput = { create?: Prisma.XOR connectOrCreate?: Prisma.journeysCreateOrConnectWithoutJourney_photosInput connect?: Prisma.journeysWhereUniqueInput } export type journeysUpdateOneRequiredWithoutJourney_photosNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.journeysCreateOrConnectWithoutJourney_photosInput upsert?: Prisma.journeysUpsertWithoutJourney_photosInput connect?: Prisma.journeysWhereUniqueInput update?: Prisma.XOR, Prisma.journeysUncheckedUpdateWithoutJourney_photosInput> } export type journeysCreateNestedOneWithoutJourney_share_tokensInput = { create?: Prisma.XOR connectOrCreate?: Prisma.journeysCreateOrConnectWithoutJourney_share_tokensInput connect?: Prisma.journeysWhereUniqueInput } export type journeysUpdateOneRequiredWithoutJourney_share_tokensNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.journeysCreateOrConnectWithoutJourney_share_tokensInput upsert?: Prisma.journeysUpsertWithoutJourney_share_tokensInput connect?: Prisma.journeysWhereUniqueInput update?: Prisma.XOR, Prisma.journeysUncheckedUpdateWithoutJourney_share_tokensInput> } export type journeysCreateNestedOneWithoutJourney_tripsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.journeysCreateOrConnectWithoutJourney_tripsInput connect?: Prisma.journeysWhereUniqueInput } export type journeysUpdateOneRequiredWithoutJourney_tripsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.journeysCreateOrConnectWithoutJourney_tripsInput upsert?: Prisma.journeysUpsertWithoutJourney_tripsInput connect?: Prisma.journeysWhereUniqueInput update?: Prisma.XOR, Prisma.journeysUncheckedUpdateWithoutJourney_tripsInput> } export type journeysCreateNestedManyWithoutUsersInput = { create?: Prisma.XOR | Prisma.journeysCreateWithoutUsersInput[] | Prisma.journeysUncheckedCreateWithoutUsersInput[] connectOrCreate?: Prisma.journeysCreateOrConnectWithoutUsersInput | Prisma.journeysCreateOrConnectWithoutUsersInput[] createMany?: Prisma.journeysCreateManyUsersInputEnvelope connect?: Prisma.journeysWhereUniqueInput | Prisma.journeysWhereUniqueInput[] } export type journeysUncheckedCreateNestedManyWithoutUsersInput = { create?: Prisma.XOR | Prisma.journeysCreateWithoutUsersInput[] | Prisma.journeysUncheckedCreateWithoutUsersInput[] connectOrCreate?: Prisma.journeysCreateOrConnectWithoutUsersInput | Prisma.journeysCreateOrConnectWithoutUsersInput[] createMany?: Prisma.journeysCreateManyUsersInputEnvelope connect?: Prisma.journeysWhereUniqueInput | Prisma.journeysWhereUniqueInput[] } export type journeysUpdateManyWithoutUsersNestedInput = { create?: Prisma.XOR | Prisma.journeysCreateWithoutUsersInput[] | Prisma.journeysUncheckedCreateWithoutUsersInput[] connectOrCreate?: Prisma.journeysCreateOrConnectWithoutUsersInput | Prisma.journeysCreateOrConnectWithoutUsersInput[] upsert?: Prisma.journeysUpsertWithWhereUniqueWithoutUsersInput | Prisma.journeysUpsertWithWhereUniqueWithoutUsersInput[] createMany?: Prisma.journeysCreateManyUsersInputEnvelope set?: Prisma.journeysWhereUniqueInput | Prisma.journeysWhereUniqueInput[] disconnect?: Prisma.journeysWhereUniqueInput | Prisma.journeysWhereUniqueInput[] delete?: Prisma.journeysWhereUniqueInput | Prisma.journeysWhereUniqueInput[] connect?: Prisma.journeysWhereUniqueInput | Prisma.journeysWhereUniqueInput[] update?: Prisma.journeysUpdateWithWhereUniqueWithoutUsersInput | Prisma.journeysUpdateWithWhereUniqueWithoutUsersInput[] updateMany?: Prisma.journeysUpdateManyWithWhereWithoutUsersInput | Prisma.journeysUpdateManyWithWhereWithoutUsersInput[] deleteMany?: Prisma.journeysScalarWhereInput | Prisma.journeysScalarWhereInput[] } export type journeysUncheckedUpdateManyWithoutUsersNestedInput = { create?: Prisma.XOR | Prisma.journeysCreateWithoutUsersInput[] | Prisma.journeysUncheckedCreateWithoutUsersInput[] connectOrCreate?: Prisma.journeysCreateOrConnectWithoutUsersInput | Prisma.journeysCreateOrConnectWithoutUsersInput[] upsert?: Prisma.journeysUpsertWithWhereUniqueWithoutUsersInput | Prisma.journeysUpsertWithWhereUniqueWithoutUsersInput[] createMany?: Prisma.journeysCreateManyUsersInputEnvelope set?: Prisma.journeysWhereUniqueInput | Prisma.journeysWhereUniqueInput[] disconnect?: Prisma.journeysWhereUniqueInput | Prisma.journeysWhereUniqueInput[] delete?: Prisma.journeysWhereUniqueInput | Prisma.journeysWhereUniqueInput[] connect?: Prisma.journeysWhereUniqueInput | Prisma.journeysWhereUniqueInput[] update?: Prisma.journeysUpdateWithWhereUniqueWithoutUsersInput | Prisma.journeysUpdateWithWhereUniqueWithoutUsersInput[] updateMany?: Prisma.journeysUpdateManyWithWhereWithoutUsersInput | Prisma.journeysUpdateManyWithWhereWithoutUsersInput[] deleteMany?: Prisma.journeysScalarWhereInput | Prisma.journeysScalarWhereInput[] } export type journeysCreateWithoutJourney_contributorsInput = { title: string subtitle?: string | null cover_gradient?: string | null status?: string | null created_at: number updated_at: number cover_image?: string | null journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutJourneysInput journey_photos?: Prisma.journey_photosCreateNestedManyWithoutJourneysInput journey_share_tokens?: Prisma.journey_share_tokensCreateNestedOneWithoutJourneysInput journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutJourneysInput users: Prisma.usersCreateNestedOneWithoutJourneysInput } export type journeysUncheckedCreateWithoutJourney_contributorsInput = { id?: number user_id: number title: string subtitle?: string | null cover_gradient?: string | null status?: string | null created_at: number updated_at: number cover_image?: string | null journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutJourneysInput journey_photos?: Prisma.journey_photosUncheckedCreateNestedManyWithoutJourneysInput journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedOneWithoutJourneysInput journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutJourneysInput } export type journeysCreateOrConnectWithoutJourney_contributorsInput = { where: Prisma.journeysWhereUniqueInput create: Prisma.XOR } export type journeysUpsertWithoutJourney_contributorsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.journeysWhereInput } export type journeysUpdateToOneWithWhereWithoutJourney_contributorsInput = { where?: Prisma.journeysWhereInput data: Prisma.XOR } export type journeysUpdateWithoutJourney_contributorsInput = { title?: Prisma.StringFieldUpdateOperationsInput | string subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null created_at?: Prisma.IntFieldUpdateOperationsInput | number updated_at?: Prisma.IntFieldUpdateOperationsInput | number cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null journey_entries?: Prisma.journey_entriesUpdateManyWithoutJourneysNestedInput journey_photos?: Prisma.journey_photosUpdateManyWithoutJourneysNestedInput journey_share_tokens?: Prisma.journey_share_tokensUpdateOneWithoutJourneysNestedInput journey_trips?: Prisma.journey_tripsUpdateManyWithoutJourneysNestedInput users?: Prisma.usersUpdateOneRequiredWithoutJourneysNestedInput } export type journeysUncheckedUpdateWithoutJourney_contributorsInput = { id?: Prisma.IntFieldUpdateOperationsInput | number user_id?: Prisma.IntFieldUpdateOperationsInput | number title?: Prisma.StringFieldUpdateOperationsInput | string subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null created_at?: Prisma.IntFieldUpdateOperationsInput | number updated_at?: Prisma.IntFieldUpdateOperationsInput | number cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutJourneysNestedInput journey_photos?: Prisma.journey_photosUncheckedUpdateManyWithoutJourneysNestedInput journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateOneWithoutJourneysNestedInput journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutJourneysNestedInput } export type journeysCreateWithoutJourney_entriesInput = { title: string subtitle?: string | null cover_gradient?: string | null status?: string | null created_at: number updated_at: number cover_image?: string | null journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutJourneysInput journey_photos?: Prisma.journey_photosCreateNestedManyWithoutJourneysInput journey_share_tokens?: Prisma.journey_share_tokensCreateNestedOneWithoutJourneysInput journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutJourneysInput users: Prisma.usersCreateNestedOneWithoutJourneysInput } export type journeysUncheckedCreateWithoutJourney_entriesInput = { id?: number user_id: number title: string subtitle?: string | null cover_gradient?: string | null status?: string | null created_at: number updated_at: number cover_image?: string | null journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutJourneysInput journey_photos?: Prisma.journey_photosUncheckedCreateNestedManyWithoutJourneysInput journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedOneWithoutJourneysInput journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutJourneysInput } export type journeysCreateOrConnectWithoutJourney_entriesInput = { where: Prisma.journeysWhereUniqueInput create: Prisma.XOR } export type journeysUpsertWithoutJourney_entriesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.journeysWhereInput } export type journeysUpdateToOneWithWhereWithoutJourney_entriesInput = { where?: Prisma.journeysWhereInput data: Prisma.XOR } export type journeysUpdateWithoutJourney_entriesInput = { title?: Prisma.StringFieldUpdateOperationsInput | string subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null created_at?: Prisma.IntFieldUpdateOperationsInput | number updated_at?: Prisma.IntFieldUpdateOperationsInput | number cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutJourneysNestedInput journey_photos?: Prisma.journey_photosUpdateManyWithoutJourneysNestedInput journey_share_tokens?: Prisma.journey_share_tokensUpdateOneWithoutJourneysNestedInput journey_trips?: Prisma.journey_tripsUpdateManyWithoutJourneysNestedInput users?: Prisma.usersUpdateOneRequiredWithoutJourneysNestedInput } export type journeysUncheckedUpdateWithoutJourney_entriesInput = { id?: Prisma.IntFieldUpdateOperationsInput | number user_id?: Prisma.IntFieldUpdateOperationsInput | number title?: Prisma.StringFieldUpdateOperationsInput | string subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null created_at?: Prisma.IntFieldUpdateOperationsInput | number updated_at?: Prisma.IntFieldUpdateOperationsInput | number cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutJourneysNestedInput journey_photos?: Prisma.journey_photosUncheckedUpdateManyWithoutJourneysNestedInput journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateOneWithoutJourneysNestedInput journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutJourneysNestedInput } export type journeysCreateWithoutJourney_photosInput = { title: string subtitle?: string | null cover_gradient?: string | null status?: string | null created_at: number updated_at: number cover_image?: string | null journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutJourneysInput journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutJourneysInput journey_share_tokens?: Prisma.journey_share_tokensCreateNestedOneWithoutJourneysInput journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutJourneysInput users: Prisma.usersCreateNestedOneWithoutJourneysInput } export type journeysUncheckedCreateWithoutJourney_photosInput = { id?: number user_id: number title: string subtitle?: string | null cover_gradient?: string | null status?: string | null created_at: number updated_at: number cover_image?: string | null journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutJourneysInput journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutJourneysInput journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedOneWithoutJourneysInput journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutJourneysInput } export type journeysCreateOrConnectWithoutJourney_photosInput = { where: Prisma.journeysWhereUniqueInput create: Prisma.XOR } export type journeysUpsertWithoutJourney_photosInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.journeysWhereInput } export type journeysUpdateToOneWithWhereWithoutJourney_photosInput = { where?: Prisma.journeysWhereInput data: Prisma.XOR } export type journeysUpdateWithoutJourney_photosInput = { title?: Prisma.StringFieldUpdateOperationsInput | string subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null created_at?: Prisma.IntFieldUpdateOperationsInput | number updated_at?: Prisma.IntFieldUpdateOperationsInput | number cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutJourneysNestedInput journey_entries?: Prisma.journey_entriesUpdateManyWithoutJourneysNestedInput journey_share_tokens?: Prisma.journey_share_tokensUpdateOneWithoutJourneysNestedInput journey_trips?: Prisma.journey_tripsUpdateManyWithoutJourneysNestedInput users?: Prisma.usersUpdateOneRequiredWithoutJourneysNestedInput } export type journeysUncheckedUpdateWithoutJourney_photosInput = { id?: Prisma.IntFieldUpdateOperationsInput | number user_id?: Prisma.IntFieldUpdateOperationsInput | number title?: Prisma.StringFieldUpdateOperationsInput | string subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null created_at?: Prisma.IntFieldUpdateOperationsInput | number updated_at?: Prisma.IntFieldUpdateOperationsInput | number cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutJourneysNestedInput journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutJourneysNestedInput journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateOneWithoutJourneysNestedInput journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutJourneysNestedInput } export type journeysCreateWithoutJourney_share_tokensInput = { title: string subtitle?: string | null cover_gradient?: string | null status?: string | null created_at: number updated_at: number cover_image?: string | null journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutJourneysInput journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutJourneysInput journey_photos?: Prisma.journey_photosCreateNestedManyWithoutJourneysInput journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutJourneysInput users: Prisma.usersCreateNestedOneWithoutJourneysInput } export type journeysUncheckedCreateWithoutJourney_share_tokensInput = { id?: number user_id: number title: string subtitle?: string | null cover_gradient?: string | null status?: string | null created_at: number updated_at: number cover_image?: string | null journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutJourneysInput journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutJourneysInput journey_photos?: Prisma.journey_photosUncheckedCreateNestedManyWithoutJourneysInput journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutJourneysInput } export type journeysCreateOrConnectWithoutJourney_share_tokensInput = { where: Prisma.journeysWhereUniqueInput create: Prisma.XOR } export type journeysUpsertWithoutJourney_share_tokensInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.journeysWhereInput } export type journeysUpdateToOneWithWhereWithoutJourney_share_tokensInput = { where?: Prisma.journeysWhereInput data: Prisma.XOR } export type journeysUpdateWithoutJourney_share_tokensInput = { title?: Prisma.StringFieldUpdateOperationsInput | string subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null created_at?: Prisma.IntFieldUpdateOperationsInput | number updated_at?: Prisma.IntFieldUpdateOperationsInput | number cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutJourneysNestedInput journey_entries?: Prisma.journey_entriesUpdateManyWithoutJourneysNestedInput journey_photos?: Prisma.journey_photosUpdateManyWithoutJourneysNestedInput journey_trips?: Prisma.journey_tripsUpdateManyWithoutJourneysNestedInput users?: Prisma.usersUpdateOneRequiredWithoutJourneysNestedInput } export type journeysUncheckedUpdateWithoutJourney_share_tokensInput = { id?: Prisma.IntFieldUpdateOperationsInput | number user_id?: Prisma.IntFieldUpdateOperationsInput | number title?: Prisma.StringFieldUpdateOperationsInput | string subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null created_at?: Prisma.IntFieldUpdateOperationsInput | number updated_at?: Prisma.IntFieldUpdateOperationsInput | number cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutJourneysNestedInput journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutJourneysNestedInput journey_photos?: Prisma.journey_photosUncheckedUpdateManyWithoutJourneysNestedInput journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutJourneysNestedInput } export type journeysCreateWithoutJourney_tripsInput = { title: string subtitle?: string | null cover_gradient?: string | null status?: string | null created_at: number updated_at: number cover_image?: string | null journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutJourneysInput journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutJourneysInput journey_photos?: Prisma.journey_photosCreateNestedManyWithoutJourneysInput journey_share_tokens?: Prisma.journey_share_tokensCreateNestedOneWithoutJourneysInput users: Prisma.usersCreateNestedOneWithoutJourneysInput } export type journeysUncheckedCreateWithoutJourney_tripsInput = { id?: number user_id: number title: string subtitle?: string | null cover_gradient?: string | null status?: string | null created_at: number updated_at: number cover_image?: string | null journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutJourneysInput journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutJourneysInput journey_photos?: Prisma.journey_photosUncheckedCreateNestedManyWithoutJourneysInput journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedOneWithoutJourneysInput } export type journeysCreateOrConnectWithoutJourney_tripsInput = { where: Prisma.journeysWhereUniqueInput create: Prisma.XOR } export type journeysUpsertWithoutJourney_tripsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.journeysWhereInput } export type journeysUpdateToOneWithWhereWithoutJourney_tripsInput = { where?: Prisma.journeysWhereInput data: Prisma.XOR } export type journeysUpdateWithoutJourney_tripsInput = { title?: Prisma.StringFieldUpdateOperationsInput | string subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null created_at?: Prisma.IntFieldUpdateOperationsInput | number updated_at?: Prisma.IntFieldUpdateOperationsInput | number cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutJourneysNestedInput journey_entries?: Prisma.journey_entriesUpdateManyWithoutJourneysNestedInput journey_photos?: Prisma.journey_photosUpdateManyWithoutJourneysNestedInput journey_share_tokens?: Prisma.journey_share_tokensUpdateOneWithoutJourneysNestedInput users?: Prisma.usersUpdateOneRequiredWithoutJourneysNestedInput } export type journeysUncheckedUpdateWithoutJourney_tripsInput = { id?: Prisma.IntFieldUpdateOperationsInput | number user_id?: Prisma.IntFieldUpdateOperationsInput | number title?: Prisma.StringFieldUpdateOperationsInput | string subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null created_at?: Prisma.IntFieldUpdateOperationsInput | number updated_at?: Prisma.IntFieldUpdateOperationsInput | number cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutJourneysNestedInput journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutJourneysNestedInput journey_photos?: Prisma.journey_photosUncheckedUpdateManyWithoutJourneysNestedInput journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateOneWithoutJourneysNestedInput } export type journeysCreateWithoutUsersInput = { title: string subtitle?: string | null cover_gradient?: string | null status?: string | null created_at: number updated_at: number cover_image?: string | null journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutJourneysInput journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutJourneysInput journey_photos?: Prisma.journey_photosCreateNestedManyWithoutJourneysInput journey_share_tokens?: Prisma.journey_share_tokensCreateNestedOneWithoutJourneysInput journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutJourneysInput } export type journeysUncheckedCreateWithoutUsersInput = { id?: number title: string subtitle?: string | null cover_gradient?: string | null status?: string | null created_at: number updated_at: number cover_image?: string | null journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutJourneysInput journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutJourneysInput journey_photos?: Prisma.journey_photosUncheckedCreateNestedManyWithoutJourneysInput journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedOneWithoutJourneysInput journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutJourneysInput } export type journeysCreateOrConnectWithoutUsersInput = { where: Prisma.journeysWhereUniqueInput create: Prisma.XOR } export type journeysCreateManyUsersInputEnvelope = { data: Prisma.journeysCreateManyUsersInput | Prisma.journeysCreateManyUsersInput[] } export type journeysUpsertWithWhereUniqueWithoutUsersInput = { where: Prisma.journeysWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type journeysUpdateWithWhereUniqueWithoutUsersInput = { where: Prisma.journeysWhereUniqueInput data: Prisma.XOR } export type journeysUpdateManyWithWhereWithoutUsersInput = { where: Prisma.journeysScalarWhereInput data: Prisma.XOR } export type journeysScalarWhereInput = { AND?: Prisma.journeysScalarWhereInput | Prisma.journeysScalarWhereInput[] OR?: Prisma.journeysScalarWhereInput[] NOT?: Prisma.journeysScalarWhereInput | Prisma.journeysScalarWhereInput[] id?: Prisma.IntFilter<"journeys"> | number user_id?: Prisma.IntFilter<"journeys"> | number title?: Prisma.StringFilter<"journeys"> | string subtitle?: Prisma.StringNullableFilter<"journeys"> | string | null cover_gradient?: Prisma.StringNullableFilter<"journeys"> | string | null status?: Prisma.StringNullableFilter<"journeys"> | string | null created_at?: Prisma.IntFilter<"journeys"> | number updated_at?: Prisma.IntFilter<"journeys"> | number cover_image?: Prisma.StringNullableFilter<"journeys"> | string | null } export type journeysCreateManyUsersInput = { id?: number title: string subtitle?: string | null cover_gradient?: string | null status?: string | null created_at: number updated_at: number cover_image?: string | null } export type journeysUpdateWithoutUsersInput = { title?: Prisma.StringFieldUpdateOperationsInput | string subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null created_at?: Prisma.IntFieldUpdateOperationsInput | number updated_at?: Prisma.IntFieldUpdateOperationsInput | number cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutJourneysNestedInput journey_entries?: Prisma.journey_entriesUpdateManyWithoutJourneysNestedInput journey_photos?: Prisma.journey_photosUpdateManyWithoutJourneysNestedInput journey_share_tokens?: Prisma.journey_share_tokensUpdateOneWithoutJourneysNestedInput journey_trips?: Prisma.journey_tripsUpdateManyWithoutJourneysNestedInput } export type journeysUncheckedUpdateWithoutUsersInput = { id?: Prisma.IntFieldUpdateOperationsInput | number title?: Prisma.StringFieldUpdateOperationsInput | string subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null created_at?: Prisma.IntFieldUpdateOperationsInput | number updated_at?: Prisma.IntFieldUpdateOperationsInput | number cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutJourneysNestedInput journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutJourneysNestedInput journey_photos?: Prisma.journey_photosUncheckedUpdateManyWithoutJourneysNestedInput journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateOneWithoutJourneysNestedInput journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutJourneysNestedInput } export type journeysUncheckedUpdateManyWithoutUsersInput = { id?: Prisma.IntFieldUpdateOperationsInput | number title?: Prisma.StringFieldUpdateOperationsInput | string subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null created_at?: Prisma.IntFieldUpdateOperationsInput | number updated_at?: Prisma.IntFieldUpdateOperationsInput | number cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } /** * Count Type JourneysCountOutputType */ export type JourneysCountOutputType = { journey_contributors: number journey_entries: number journey_photos: number journey_trips: number } export type JourneysCountOutputTypeSelect = { journey_contributors?: boolean | JourneysCountOutputTypeCountJourney_contributorsArgs journey_entries?: boolean | JourneysCountOutputTypeCountJourney_entriesArgs journey_photos?: boolean | JourneysCountOutputTypeCountJourney_photosArgs journey_trips?: boolean | JourneysCountOutputTypeCountJourney_tripsArgs } /** * JourneysCountOutputType without action */ export type JourneysCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the JourneysCountOutputType */ select?: Prisma.JourneysCountOutputTypeSelect | null } /** * JourneysCountOutputType without action */ export type JourneysCountOutputTypeCountJourney_contributorsArgs = { where?: Prisma.journey_contributorsWhereInput } /** * JourneysCountOutputType without action */ export type JourneysCountOutputTypeCountJourney_entriesArgs = { where?: Prisma.journey_entriesWhereInput } /** * JourneysCountOutputType without action */ export type JourneysCountOutputTypeCountJourney_photosArgs = { where?: Prisma.journey_photosWhereInput } /** * JourneysCountOutputType without action */ export type JourneysCountOutputTypeCountJourney_tripsArgs = { where?: Prisma.journey_tripsWhereInput } export type journeysSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean user_id?: boolean title?: boolean subtitle?: boolean cover_gradient?: boolean status?: boolean created_at?: boolean updated_at?: boolean cover_image?: boolean journey_contributors?: boolean | Prisma.journeys$journey_contributorsArgs journey_entries?: boolean | Prisma.journeys$journey_entriesArgs journey_photos?: boolean | Prisma.journeys$journey_photosArgs journey_share_tokens?: boolean | Prisma.journeys$journey_share_tokensArgs journey_trips?: boolean | Prisma.journeys$journey_tripsArgs users?: boolean | Prisma.usersDefaultArgs _count?: boolean | Prisma.JourneysCountOutputTypeDefaultArgs }, ExtArgs["result"]["journeys"]> export type journeysSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean user_id?: boolean title?: boolean subtitle?: boolean cover_gradient?: boolean status?: boolean created_at?: boolean updated_at?: boolean cover_image?: boolean users?: boolean | Prisma.usersDefaultArgs }, ExtArgs["result"]["journeys"]> export type journeysSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean user_id?: boolean title?: boolean subtitle?: boolean cover_gradient?: boolean status?: boolean created_at?: boolean updated_at?: boolean cover_image?: boolean users?: boolean | Prisma.usersDefaultArgs }, ExtArgs["result"]["journeys"]> export type journeysSelectScalar = { id?: boolean user_id?: boolean title?: boolean subtitle?: boolean cover_gradient?: boolean status?: boolean created_at?: boolean updated_at?: boolean cover_image?: boolean } export type journeysOmit = runtime.Types.Extensions.GetOmit<"id" | "user_id" | "title" | "subtitle" | "cover_gradient" | "status" | "created_at" | "updated_at" | "cover_image", ExtArgs["result"]["journeys"]> export type journeysInclude = { journey_contributors?: boolean | Prisma.journeys$journey_contributorsArgs journey_entries?: boolean | Prisma.journeys$journey_entriesArgs journey_photos?: boolean | Prisma.journeys$journey_photosArgs journey_share_tokens?: boolean | Prisma.journeys$journey_share_tokensArgs journey_trips?: boolean | Prisma.journeys$journey_tripsArgs users?: boolean | Prisma.usersDefaultArgs _count?: boolean | Prisma.JourneysCountOutputTypeDefaultArgs } export type journeysIncludeCreateManyAndReturn = { users?: boolean | Prisma.usersDefaultArgs } export type journeysIncludeUpdateManyAndReturn = { users?: boolean | Prisma.usersDefaultArgs } export type $journeysPayload = { name: "journeys" objects: { journey_contributors: Prisma.$journey_contributorsPayload[] journey_entries: Prisma.$journey_entriesPayload[] journey_photos: Prisma.$journey_photosPayload[] journey_share_tokens: Prisma.$journey_share_tokensPayload | null journey_trips: Prisma.$journey_tripsPayload[] users: Prisma.$usersPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number user_id: number title: string subtitle: string | null cover_gradient: string | null status: string | null created_at: number updated_at: number cover_image: string | null }, ExtArgs["result"]["journeys"]> composites: {} } export type journeysGetPayload = runtime.Types.Result.GetResult export type journeysCountArgs = Omit & { select?: JourneysCountAggregateInputType | true } export interface journeysDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['journeys'], meta: { name: 'journeys' } } /** * Find zero or one Journeys that matches the filter. * @param {journeysFindUniqueArgs} args - Arguments to find a Journeys * @example * // Get one Journeys * const journeys = await prisma.journeys.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__journeysClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Journeys that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {journeysFindUniqueOrThrowArgs} args - Arguments to find a Journeys * @example * // Get one Journeys * const journeys = await prisma.journeys.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__journeysClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Journeys 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 {journeysFindFirstArgs} args - Arguments to find a Journeys * @example * // Get one Journeys * const journeys = await prisma.journeys.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__journeysClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Journeys 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 {journeysFindFirstOrThrowArgs} args - Arguments to find a Journeys * @example * // Get one Journeys * const journeys = await prisma.journeys.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__journeysClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Journeys 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 {journeysFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Journeys * const journeys = await prisma.journeys.findMany() * * // Get first 10 Journeys * const journeys = await prisma.journeys.findMany({ take: 10 }) * * // Only select the `id` * const journeysWithIdOnly = await prisma.journeys.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Journeys. * @param {journeysCreateArgs} args - Arguments to create a Journeys. * @example * // Create one Journeys * const Journeys = await prisma.journeys.create({ * data: { * // ... data to create a Journeys * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__journeysClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Journeys. * @param {journeysCreateManyArgs} args - Arguments to create many Journeys. * @example * // Create many Journeys * const journeys = await prisma.journeys.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many Journeys and returns the data saved in the database. * @param {journeysCreateManyAndReturnArgs} args - Arguments to create many Journeys. * @example * // Create many Journeys * const journeys = await prisma.journeys.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Journeys and only return the `id` * const journeysWithIdOnly = await prisma.journeys.createManyAndReturn({ * select: { id: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a Journeys. * @param {journeysDeleteArgs} args - Arguments to delete one Journeys. * @example * // Delete one Journeys * const Journeys = await prisma.journeys.delete({ * where: { * // ... filter to delete one Journeys * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__journeysClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Journeys. * @param {journeysUpdateArgs} args - Arguments to update one Journeys. * @example * // Update one Journeys * const journeys = await prisma.journeys.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__journeysClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Journeys. * @param {journeysDeleteManyArgs} args - Arguments to filter Journeys to delete. * @example * // Delete a few Journeys * const { count } = await prisma.journeys.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Journeys. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {journeysUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Journeys * const journeys = await prisma.journeys.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Journeys and returns the data updated in the database. * @param {journeysUpdateManyAndReturnArgs} args - Arguments to update many Journeys. * @example * // Update many Journeys * const journeys = await prisma.journeys.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Journeys and only return the `id` * const journeysWithIdOnly = await prisma.journeys.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one Journeys. * @param {journeysUpsertArgs} args - Arguments to update or create a Journeys. * @example * // Update or create a Journeys * const journeys = await prisma.journeys.upsert({ * create: { * // ... data to create a Journeys * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Journeys we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__journeysClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Journeys. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {journeysCountArgs} args - Arguments to filter Journeys to count. * @example * // Count the number of Journeys * const count = await prisma.journeys.count({ * where: { * // ... the filter for the Journeys 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 Journeys. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {JourneysAggregateArgs} 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 Journeys. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {journeysGroupByArgs} 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 journeysGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: journeysGroupByArgs['orderBy'] } : { orderBy?: journeysGroupByArgs['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 ? GetJourneysGroupByPayload : Prisma.PrismaPromise /** * Fields of the journeys model */ readonly fields: journeysFieldRefs; } /** * The delegate class that acts as a "Promise-like" for journeys. * 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__journeysClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" journey_contributors = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> journey_entries = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> journey_photos = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> journey_share_tokens = {}>(args?: Prisma.Subset>): Prisma.Prisma__journey_share_tokensClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> journey_trips = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } /** * Fields of the journeys model */ export interface journeysFieldRefs { readonly id: Prisma.FieldRef<"journeys", 'Int'> readonly user_id: Prisma.FieldRef<"journeys", 'Int'> readonly title: Prisma.FieldRef<"journeys", 'String'> readonly subtitle: Prisma.FieldRef<"journeys", 'String'> readonly cover_gradient: Prisma.FieldRef<"journeys", 'String'> readonly status: Prisma.FieldRef<"journeys", 'String'> readonly created_at: Prisma.FieldRef<"journeys", 'Int'> readonly updated_at: Prisma.FieldRef<"journeys", 'Int'> readonly cover_image: Prisma.FieldRef<"journeys", 'String'> } // Custom InputTypes /** * journeys findUnique */ export type journeysFindUniqueArgs = { /** * Select specific fields to fetch from the journeys */ select?: Prisma.journeysSelect | null /** * Omit specific fields from the journeys */ omit?: Prisma.journeysOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.journeysInclude | null /** * Filter, which journeys to fetch. */ where: Prisma.journeysWhereUniqueInput } /** * journeys findUniqueOrThrow */ export type journeysFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the journeys */ select?: Prisma.journeysSelect | null /** * Omit specific fields from the journeys */ omit?: Prisma.journeysOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.journeysInclude | null /** * Filter, which journeys to fetch. */ where: Prisma.journeysWhereUniqueInput } /** * journeys findFirst */ export type journeysFindFirstArgs = { /** * Select specific fields to fetch from the journeys */ select?: Prisma.journeysSelect | null /** * Omit specific fields from the journeys */ omit?: Prisma.journeysOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.journeysInclude | null /** * Filter, which journeys to fetch. */ where?: Prisma.journeysWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of journeys to fetch. */ orderBy?: Prisma.journeysOrderByWithRelationInput | Prisma.journeysOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for journeys. */ cursor?: Prisma.journeysWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` journeys 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` journeys. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of journeys. */ distinct?: Prisma.JourneysScalarFieldEnum | Prisma.JourneysScalarFieldEnum[] } /** * journeys findFirstOrThrow */ export type journeysFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the journeys */ select?: Prisma.journeysSelect | null /** * Omit specific fields from the journeys */ omit?: Prisma.journeysOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.journeysInclude | null /** * Filter, which journeys to fetch. */ where?: Prisma.journeysWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of journeys to fetch. */ orderBy?: Prisma.journeysOrderByWithRelationInput | Prisma.journeysOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for journeys. */ cursor?: Prisma.journeysWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` journeys 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` journeys. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of journeys. */ distinct?: Prisma.JourneysScalarFieldEnum | Prisma.JourneysScalarFieldEnum[] } /** * journeys findMany */ export type journeysFindManyArgs = { /** * Select specific fields to fetch from the journeys */ select?: Prisma.journeysSelect | null /** * Omit specific fields from the journeys */ omit?: Prisma.journeysOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.journeysInclude | null /** * Filter, which journeys to fetch. */ where?: Prisma.journeysWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of journeys to fetch. */ orderBy?: Prisma.journeysOrderByWithRelationInput | Prisma.journeysOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing journeys. */ cursor?: Prisma.journeysWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` journeys 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` journeys. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of journeys. */ distinct?: Prisma.JourneysScalarFieldEnum | Prisma.JourneysScalarFieldEnum[] } /** * journeys create */ export type journeysCreateArgs = { /** * Select specific fields to fetch from the journeys */ select?: Prisma.journeysSelect | null /** * Omit specific fields from the journeys */ omit?: Prisma.journeysOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.journeysInclude | null /** * The data needed to create a journeys. */ data: Prisma.XOR } /** * journeys createMany */ export type journeysCreateManyArgs = { /** * The data used to create many journeys. */ data: Prisma.journeysCreateManyInput | Prisma.journeysCreateManyInput[] } /** * journeys createManyAndReturn */ export type journeysCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the journeys */ select?: Prisma.journeysSelectCreateManyAndReturn | null /** * Omit specific fields from the journeys */ omit?: Prisma.journeysOmit | null /** * The data used to create many journeys. */ data: Prisma.journeysCreateManyInput | Prisma.journeysCreateManyInput[] /** * Choose, which related nodes to fetch as well */ include?: Prisma.journeysIncludeCreateManyAndReturn | null } /** * journeys update */ export type journeysUpdateArgs = { /** * Select specific fields to fetch from the journeys */ select?: Prisma.journeysSelect | null /** * Omit specific fields from the journeys */ omit?: Prisma.journeysOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.journeysInclude | null /** * The data needed to update a journeys. */ data: Prisma.XOR /** * Choose, which journeys to update. */ where: Prisma.journeysWhereUniqueInput } /** * journeys updateMany */ export type journeysUpdateManyArgs = { /** * The data used to update journeys. */ data: Prisma.XOR /** * Filter which journeys to update */ where?: Prisma.journeysWhereInput /** * Limit how many journeys to update. */ limit?: number } /** * journeys updateManyAndReturn */ export type journeysUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the journeys */ select?: Prisma.journeysSelectUpdateManyAndReturn | null /** * Omit specific fields from the journeys */ omit?: Prisma.journeysOmit | null /** * The data used to update journeys. */ data: Prisma.XOR /** * Filter which journeys to update */ where?: Prisma.journeysWhereInput /** * Limit how many journeys to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.journeysIncludeUpdateManyAndReturn | null } /** * journeys upsert */ export type journeysUpsertArgs = { /** * Select specific fields to fetch from the journeys */ select?: Prisma.journeysSelect | null /** * Omit specific fields from the journeys */ omit?: Prisma.journeysOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.journeysInclude | null /** * The filter to search for the journeys to update in case it exists. */ where: Prisma.journeysWhereUniqueInput /** * In case the journeys found by the `where` argument doesn't exist, create a new journeys with this data. */ create: Prisma.XOR /** * In case the journeys was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * journeys delete */ export type journeysDeleteArgs = { /** * Select specific fields to fetch from the journeys */ select?: Prisma.journeysSelect | null /** * Omit specific fields from the journeys */ omit?: Prisma.journeysOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.journeysInclude | null /** * Filter which journeys to delete. */ where: Prisma.journeysWhereUniqueInput } /** * journeys deleteMany */ export type journeysDeleteManyArgs = { /** * Filter which journeys to delete */ where?: Prisma.journeysWhereInput /** * Limit how many journeys to delete. */ limit?: number } /** * journeys.journey_contributors */ export type journeys$journey_contributorsArgs = { /** * Select specific fields to fetch from the journey_contributors */ select?: Prisma.journey_contributorsSelect | null /** * Omit specific fields from the journey_contributors */ omit?: Prisma.journey_contributorsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.journey_contributorsInclude | null where?: Prisma.journey_contributorsWhereInput orderBy?: Prisma.journey_contributorsOrderByWithRelationInput | Prisma.journey_contributorsOrderByWithRelationInput[] cursor?: Prisma.journey_contributorsWhereUniqueInput take?: number skip?: number distinct?: Prisma.Journey_contributorsScalarFieldEnum | Prisma.Journey_contributorsScalarFieldEnum[] } /** * journeys.journey_entries */ export type journeys$journey_entriesArgs = { /** * Select specific fields to fetch from the journey_entries */ select?: Prisma.journey_entriesSelect | null /** * Omit specific fields from the journey_entries */ omit?: Prisma.journey_entriesOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.journey_entriesInclude | null where?: Prisma.journey_entriesWhereInput orderBy?: Prisma.journey_entriesOrderByWithRelationInput | Prisma.journey_entriesOrderByWithRelationInput[] cursor?: Prisma.journey_entriesWhereUniqueInput take?: number skip?: number distinct?: Prisma.Journey_entriesScalarFieldEnum | Prisma.Journey_entriesScalarFieldEnum[] } /** * journeys.journey_photos */ export type journeys$journey_photosArgs = { /** * Select specific fields to fetch from the journey_photos */ select?: Prisma.journey_photosSelect | null /** * Omit specific fields from the journey_photos */ omit?: Prisma.journey_photosOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.journey_photosInclude | null where?: Prisma.journey_photosWhereInput orderBy?: Prisma.journey_photosOrderByWithRelationInput | Prisma.journey_photosOrderByWithRelationInput[] cursor?: Prisma.journey_photosWhereUniqueInput take?: number skip?: number distinct?: Prisma.Journey_photosScalarFieldEnum | Prisma.Journey_photosScalarFieldEnum[] } /** * journeys.journey_share_tokens */ export type journeys$journey_share_tokensArgs = { /** * Select specific fields to fetch from the journey_share_tokens */ select?: Prisma.journey_share_tokensSelect | null /** * Omit specific fields from the journey_share_tokens */ omit?: Prisma.journey_share_tokensOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.journey_share_tokensInclude | null where?: Prisma.journey_share_tokensWhereInput } /** * journeys.journey_trips */ export type journeys$journey_tripsArgs = { /** * Select specific fields to fetch from the journey_trips */ select?: Prisma.journey_tripsSelect | null /** * Omit specific fields from the journey_trips */ omit?: Prisma.journey_tripsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.journey_tripsInclude | null where?: Prisma.journey_tripsWhereInput orderBy?: Prisma.journey_tripsOrderByWithRelationInput | Prisma.journey_tripsOrderByWithRelationInput[] cursor?: Prisma.journey_tripsWhereUniqueInput take?: number skip?: number distinct?: Prisma.Journey_tripsScalarFieldEnum | Prisma.Journey_tripsScalarFieldEnum[] } /** * journeys without action */ export type journeysDefaultArgs = { /** * Select specific fields to fetch from the journeys */ select?: Prisma.journeysSelect | null /** * Omit specific fields from the journeys */ omit?: Prisma.journeysOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.journeysInclude | null }