mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-21 06:11:45 +00:00
6831 lines
362 KiB
TypeScript
6831 lines
362 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports the `trips` 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 trips
|
|
*
|
|
*/
|
|
export type tripsModel = runtime.Types.Result.DefaultSelection<Prisma.$tripsPayload>
|
|
|
|
export type AggregateTrips = {
|
|
_count: TripsCountAggregateOutputType | null
|
|
_avg: TripsAvgAggregateOutputType | null
|
|
_sum: TripsSumAggregateOutputType | null
|
|
_min: TripsMinAggregateOutputType | null
|
|
_max: TripsMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type TripsAvgAggregateOutputType = {
|
|
id: number | null
|
|
user_id: number | null
|
|
is_archived: number | null
|
|
reminder_days: number | null
|
|
}
|
|
|
|
export type TripsSumAggregateOutputType = {
|
|
id: number | null
|
|
user_id: number | null
|
|
is_archived: number | null
|
|
reminder_days: number | null
|
|
}
|
|
|
|
export type TripsMinAggregateOutputType = {
|
|
id: number | null
|
|
user_id: number | null
|
|
title: string | null
|
|
description: string | null
|
|
start_date: string | null
|
|
end_date: string | null
|
|
currency: string | null
|
|
cover_image: string | null
|
|
is_archived: number | null
|
|
reminder_days: number | null
|
|
created_at: Date | null
|
|
updated_at: Date | null
|
|
}
|
|
|
|
export type TripsMaxAggregateOutputType = {
|
|
id: number | null
|
|
user_id: number | null
|
|
title: string | null
|
|
description: string | null
|
|
start_date: string | null
|
|
end_date: string | null
|
|
currency: string | null
|
|
cover_image: string | null
|
|
is_archived: number | null
|
|
reminder_days: number | null
|
|
created_at: Date | null
|
|
updated_at: Date | null
|
|
}
|
|
|
|
export type TripsCountAggregateOutputType = {
|
|
id: number
|
|
user_id: number
|
|
title: number
|
|
description: number
|
|
start_date: number
|
|
end_date: number
|
|
currency: number
|
|
cover_image: number
|
|
is_archived: number
|
|
reminder_days: number
|
|
created_at: number
|
|
updated_at: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type TripsAvgAggregateInputType = {
|
|
id?: true
|
|
user_id?: true
|
|
is_archived?: true
|
|
reminder_days?: true
|
|
}
|
|
|
|
export type TripsSumAggregateInputType = {
|
|
id?: true
|
|
user_id?: true
|
|
is_archived?: true
|
|
reminder_days?: true
|
|
}
|
|
|
|
export type TripsMinAggregateInputType = {
|
|
id?: true
|
|
user_id?: true
|
|
title?: true
|
|
description?: true
|
|
start_date?: true
|
|
end_date?: true
|
|
currency?: true
|
|
cover_image?: true
|
|
is_archived?: true
|
|
reminder_days?: true
|
|
created_at?: true
|
|
updated_at?: true
|
|
}
|
|
|
|
export type TripsMaxAggregateInputType = {
|
|
id?: true
|
|
user_id?: true
|
|
title?: true
|
|
description?: true
|
|
start_date?: true
|
|
end_date?: true
|
|
currency?: true
|
|
cover_image?: true
|
|
is_archived?: true
|
|
reminder_days?: true
|
|
created_at?: true
|
|
updated_at?: true
|
|
}
|
|
|
|
export type TripsCountAggregateInputType = {
|
|
id?: true
|
|
user_id?: true
|
|
title?: true
|
|
description?: true
|
|
start_date?: true
|
|
end_date?: true
|
|
currency?: true
|
|
cover_image?: true
|
|
is_archived?: true
|
|
reminder_days?: true
|
|
created_at?: true
|
|
updated_at?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type TripsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which trips to aggregate.
|
|
*/
|
|
where?: Prisma.tripsWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of trips to fetch.
|
|
*/
|
|
orderBy?: Prisma.tripsOrderByWithRelationInput | Prisma.tripsOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.tripsWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` trips 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` trips.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned trips
|
|
**/
|
|
_count?: true | TripsCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: TripsAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: TripsSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: TripsMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: TripsMaxAggregateInputType
|
|
}
|
|
|
|
export type GetTripsAggregateType<T extends TripsAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateTrips]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateTrips[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateTrips[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type tripsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.tripsWhereInput
|
|
orderBy?: Prisma.tripsOrderByWithAggregationInput | Prisma.tripsOrderByWithAggregationInput[]
|
|
by: Prisma.TripsScalarFieldEnum[] | Prisma.TripsScalarFieldEnum
|
|
having?: Prisma.tripsScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: TripsCountAggregateInputType | true
|
|
_avg?: TripsAvgAggregateInputType
|
|
_sum?: TripsSumAggregateInputType
|
|
_min?: TripsMinAggregateInputType
|
|
_max?: TripsMaxAggregateInputType
|
|
}
|
|
|
|
export type TripsGroupByOutputType = {
|
|
id: number
|
|
user_id: number
|
|
title: string
|
|
description: string | null
|
|
start_date: string | null
|
|
end_date: string | null
|
|
currency: string | null
|
|
cover_image: string | null
|
|
is_archived: number | null
|
|
reminder_days: number | null
|
|
created_at: Date | null
|
|
updated_at: Date | null
|
|
_count: TripsCountAggregateOutputType | null
|
|
_avg: TripsAvgAggregateOutputType | null
|
|
_sum: TripsSumAggregateOutputType | null
|
|
_min: TripsMinAggregateOutputType | null
|
|
_max: TripsMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetTripsGroupByPayload<T extends tripsGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<TripsGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof TripsGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], TripsGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], TripsGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type tripsWhereInput = {
|
|
AND?: Prisma.tripsWhereInput | Prisma.tripsWhereInput[]
|
|
OR?: Prisma.tripsWhereInput[]
|
|
NOT?: Prisma.tripsWhereInput | Prisma.tripsWhereInput[]
|
|
id?: Prisma.IntFilter<"trips"> | number
|
|
user_id?: Prisma.IntFilter<"trips"> | number
|
|
title?: Prisma.StringFilter<"trips"> | string
|
|
description?: Prisma.StringNullableFilter<"trips"> | string | null
|
|
start_date?: Prisma.StringNullableFilter<"trips"> | string | null
|
|
end_date?: Prisma.StringNullableFilter<"trips"> | string | null
|
|
currency?: Prisma.StringNullableFilter<"trips"> | string | null
|
|
cover_image?: Prisma.StringNullableFilter<"trips"> | string | null
|
|
is_archived?: Prisma.IntNullableFilter<"trips"> | number | null
|
|
reminder_days?: Prisma.IntNullableFilter<"trips"> | number | null
|
|
created_at?: Prisma.DateTimeNullableFilter<"trips"> | Date | string | null
|
|
updated_at?: Prisma.DateTimeNullableFilter<"trips"> | Date | string | null
|
|
budget_category_order?: Prisma.Budget_category_orderListRelationFilter
|
|
budget_items?: Prisma.Budget_itemsListRelationFilter
|
|
collab_messages?: Prisma.Collab_messagesListRelationFilter
|
|
collab_notes?: Prisma.Collab_notesListRelationFilter
|
|
collab_polls?: Prisma.Collab_pollsListRelationFilter
|
|
day_accommodations?: Prisma.Day_accommodationsListRelationFilter
|
|
day_notes?: Prisma.Day_notesListRelationFilter
|
|
days?: Prisma.DaysListRelationFilter
|
|
journey_entries?: Prisma.Journey_entriesListRelationFilter
|
|
journey_trips?: Prisma.Journey_tripsListRelationFilter
|
|
packing_bags?: Prisma.Packing_bagsListRelationFilter
|
|
packing_category_assignees?: Prisma.Packing_category_assigneesListRelationFilter
|
|
packing_items?: Prisma.Packing_itemsListRelationFilter
|
|
photos?: Prisma.PhotosListRelationFilter
|
|
places?: Prisma.PlacesListRelationFilter
|
|
reservations?: Prisma.ReservationsListRelationFilter
|
|
share_tokens?: Prisma.Share_tokensListRelationFilter
|
|
todo_category_assignees?: Prisma.Todo_category_assigneesListRelationFilter
|
|
todo_items?: Prisma.Todo_itemsListRelationFilter
|
|
trip_album_links?: Prisma.Trip_album_linksListRelationFilter
|
|
trip_files?: Prisma.Trip_filesListRelationFilter
|
|
trip_members?: Prisma.Trip_membersListRelationFilter
|
|
trip_photos?: Prisma.Trip_photosListRelationFilter
|
|
users?: Prisma.XOR<Prisma.UsersScalarRelationFilter, Prisma.usersWhereInput>
|
|
}
|
|
|
|
export type tripsOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
user_id?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
start_date?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
end_date?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
currency?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
cover_image?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
is_archived?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
reminder_days?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
created_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
budget_category_order?: Prisma.budget_category_orderOrderByRelationAggregateInput
|
|
budget_items?: Prisma.budget_itemsOrderByRelationAggregateInput
|
|
collab_messages?: Prisma.collab_messagesOrderByRelationAggregateInput
|
|
collab_notes?: Prisma.collab_notesOrderByRelationAggregateInput
|
|
collab_polls?: Prisma.collab_pollsOrderByRelationAggregateInput
|
|
day_accommodations?: Prisma.day_accommodationsOrderByRelationAggregateInput
|
|
day_notes?: Prisma.day_notesOrderByRelationAggregateInput
|
|
days?: Prisma.daysOrderByRelationAggregateInput
|
|
journey_entries?: Prisma.journey_entriesOrderByRelationAggregateInput
|
|
journey_trips?: Prisma.journey_tripsOrderByRelationAggregateInput
|
|
packing_bags?: Prisma.packing_bagsOrderByRelationAggregateInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesOrderByRelationAggregateInput
|
|
packing_items?: Prisma.packing_itemsOrderByRelationAggregateInput
|
|
photos?: Prisma.photosOrderByRelationAggregateInput
|
|
places?: Prisma.placesOrderByRelationAggregateInput
|
|
reservations?: Prisma.reservationsOrderByRelationAggregateInput
|
|
share_tokens?: Prisma.share_tokensOrderByRelationAggregateInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesOrderByRelationAggregateInput
|
|
todo_items?: Prisma.todo_itemsOrderByRelationAggregateInput
|
|
trip_album_links?: Prisma.trip_album_linksOrderByRelationAggregateInput
|
|
trip_files?: Prisma.trip_filesOrderByRelationAggregateInput
|
|
trip_members?: Prisma.trip_membersOrderByRelationAggregateInput
|
|
trip_photos?: Prisma.trip_photosOrderByRelationAggregateInput
|
|
users?: Prisma.usersOrderByWithRelationInput
|
|
}
|
|
|
|
export type tripsWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: number
|
|
AND?: Prisma.tripsWhereInput | Prisma.tripsWhereInput[]
|
|
OR?: Prisma.tripsWhereInput[]
|
|
NOT?: Prisma.tripsWhereInput | Prisma.tripsWhereInput[]
|
|
user_id?: Prisma.IntFilter<"trips"> | number
|
|
title?: Prisma.StringFilter<"trips"> | string
|
|
description?: Prisma.StringNullableFilter<"trips"> | string | null
|
|
start_date?: Prisma.StringNullableFilter<"trips"> | string | null
|
|
end_date?: Prisma.StringNullableFilter<"trips"> | string | null
|
|
currency?: Prisma.StringNullableFilter<"trips"> | string | null
|
|
cover_image?: Prisma.StringNullableFilter<"trips"> | string | null
|
|
is_archived?: Prisma.IntNullableFilter<"trips"> | number | null
|
|
reminder_days?: Prisma.IntNullableFilter<"trips"> | number | null
|
|
created_at?: Prisma.DateTimeNullableFilter<"trips"> | Date | string | null
|
|
updated_at?: Prisma.DateTimeNullableFilter<"trips"> | Date | string | null
|
|
budget_category_order?: Prisma.Budget_category_orderListRelationFilter
|
|
budget_items?: Prisma.Budget_itemsListRelationFilter
|
|
collab_messages?: Prisma.Collab_messagesListRelationFilter
|
|
collab_notes?: Prisma.Collab_notesListRelationFilter
|
|
collab_polls?: Prisma.Collab_pollsListRelationFilter
|
|
day_accommodations?: Prisma.Day_accommodationsListRelationFilter
|
|
day_notes?: Prisma.Day_notesListRelationFilter
|
|
days?: Prisma.DaysListRelationFilter
|
|
journey_entries?: Prisma.Journey_entriesListRelationFilter
|
|
journey_trips?: Prisma.Journey_tripsListRelationFilter
|
|
packing_bags?: Prisma.Packing_bagsListRelationFilter
|
|
packing_category_assignees?: Prisma.Packing_category_assigneesListRelationFilter
|
|
packing_items?: Prisma.Packing_itemsListRelationFilter
|
|
photos?: Prisma.PhotosListRelationFilter
|
|
places?: Prisma.PlacesListRelationFilter
|
|
reservations?: Prisma.ReservationsListRelationFilter
|
|
share_tokens?: Prisma.Share_tokensListRelationFilter
|
|
todo_category_assignees?: Prisma.Todo_category_assigneesListRelationFilter
|
|
todo_items?: Prisma.Todo_itemsListRelationFilter
|
|
trip_album_links?: Prisma.Trip_album_linksListRelationFilter
|
|
trip_files?: Prisma.Trip_filesListRelationFilter
|
|
trip_members?: Prisma.Trip_membersListRelationFilter
|
|
trip_photos?: Prisma.Trip_photosListRelationFilter
|
|
users?: Prisma.XOR<Prisma.UsersScalarRelationFilter, Prisma.usersWhereInput>
|
|
}, "id">
|
|
|
|
export type tripsOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
user_id?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
start_date?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
end_date?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
currency?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
cover_image?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
is_archived?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
reminder_days?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
created_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.tripsCountOrderByAggregateInput
|
|
_avg?: Prisma.tripsAvgOrderByAggregateInput
|
|
_max?: Prisma.tripsMaxOrderByAggregateInput
|
|
_min?: Prisma.tripsMinOrderByAggregateInput
|
|
_sum?: Prisma.tripsSumOrderByAggregateInput
|
|
}
|
|
|
|
export type tripsScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.tripsScalarWhereWithAggregatesInput | Prisma.tripsScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.tripsScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.tripsScalarWhereWithAggregatesInput | Prisma.tripsScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.IntWithAggregatesFilter<"trips"> | number
|
|
user_id?: Prisma.IntWithAggregatesFilter<"trips"> | number
|
|
title?: Prisma.StringWithAggregatesFilter<"trips"> | string
|
|
description?: Prisma.StringNullableWithAggregatesFilter<"trips"> | string | null
|
|
start_date?: Prisma.StringNullableWithAggregatesFilter<"trips"> | string | null
|
|
end_date?: Prisma.StringNullableWithAggregatesFilter<"trips"> | string | null
|
|
currency?: Prisma.StringNullableWithAggregatesFilter<"trips"> | string | null
|
|
cover_image?: Prisma.StringNullableWithAggregatesFilter<"trips"> | string | null
|
|
is_archived?: Prisma.IntNullableWithAggregatesFilter<"trips"> | number | null
|
|
reminder_days?: Prisma.IntNullableWithAggregatesFilter<"trips"> | number | null
|
|
created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"trips"> | Date | string | null
|
|
updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"trips"> | Date | string | null
|
|
}
|
|
|
|
export type tripsCreateInput = {
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput
|
|
users: Prisma.usersCreateNestedOneWithoutTripsInput
|
|
}
|
|
|
|
export type tripsUncheckedCreateInput = {
|
|
id?: number
|
|
user_id: number
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput
|
|
}
|
|
|
|
export type tripsUpdateInput = {
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput
|
|
users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsUncheckedUpdateInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
user_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsCreateManyInput = {
|
|
id?: number
|
|
user_id: number
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
}
|
|
|
|
export type tripsUpdateManyMutationInput = {
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type tripsUncheckedUpdateManyInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
user_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type TripsScalarRelationFilter = {
|
|
is?: Prisma.tripsWhereInput
|
|
isNot?: Prisma.tripsWhereInput
|
|
}
|
|
|
|
export type TripsNullableScalarRelationFilter = {
|
|
is?: Prisma.tripsWhereInput | null
|
|
isNot?: Prisma.tripsWhereInput | null
|
|
}
|
|
|
|
export type tripsCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
user_id?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
start_date?: Prisma.SortOrder
|
|
end_date?: Prisma.SortOrder
|
|
currency?: Prisma.SortOrder
|
|
cover_image?: Prisma.SortOrder
|
|
is_archived?: Prisma.SortOrder
|
|
reminder_days?: Prisma.SortOrder
|
|
created_at?: Prisma.SortOrder
|
|
updated_at?: Prisma.SortOrder
|
|
}
|
|
|
|
export type tripsAvgOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
user_id?: Prisma.SortOrder
|
|
is_archived?: Prisma.SortOrder
|
|
reminder_days?: Prisma.SortOrder
|
|
}
|
|
|
|
export type tripsMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
user_id?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
start_date?: Prisma.SortOrder
|
|
end_date?: Prisma.SortOrder
|
|
currency?: Prisma.SortOrder
|
|
cover_image?: Prisma.SortOrder
|
|
is_archived?: Prisma.SortOrder
|
|
reminder_days?: Prisma.SortOrder
|
|
created_at?: Prisma.SortOrder
|
|
updated_at?: Prisma.SortOrder
|
|
}
|
|
|
|
export type tripsMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
user_id?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
start_date?: Prisma.SortOrder
|
|
end_date?: Prisma.SortOrder
|
|
currency?: Prisma.SortOrder
|
|
cover_image?: Prisma.SortOrder
|
|
is_archived?: Prisma.SortOrder
|
|
reminder_days?: Prisma.SortOrder
|
|
created_at?: Prisma.SortOrder
|
|
updated_at?: Prisma.SortOrder
|
|
}
|
|
|
|
export type tripsSumOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
user_id?: Prisma.SortOrder
|
|
is_archived?: Prisma.SortOrder
|
|
reminder_days?: Prisma.SortOrder
|
|
}
|
|
|
|
export type TripsListRelationFilter = {
|
|
every?: Prisma.tripsWhereInput
|
|
some?: Prisma.tripsWhereInput
|
|
none?: Prisma.tripsWhereInput
|
|
}
|
|
|
|
export type tripsOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type tripsCreateNestedOneWithoutBudget_category_orderInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutBudget_category_orderInput, Prisma.tripsUncheckedCreateWithoutBudget_category_orderInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutBudget_category_orderInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
}
|
|
|
|
export type tripsUpdateOneRequiredWithoutBudget_category_orderNestedInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutBudget_category_orderInput, Prisma.tripsUncheckedCreateWithoutBudget_category_orderInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutBudget_category_orderInput
|
|
upsert?: Prisma.tripsUpsertWithoutBudget_category_orderInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.tripsUpdateToOneWithWhereWithoutBudget_category_orderInput, Prisma.tripsUpdateWithoutBudget_category_orderInput>, Prisma.tripsUncheckedUpdateWithoutBudget_category_orderInput>
|
|
}
|
|
|
|
export type tripsCreateNestedOneWithoutBudget_itemsInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutBudget_itemsInput, Prisma.tripsUncheckedCreateWithoutBudget_itemsInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutBudget_itemsInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
}
|
|
|
|
export type tripsUpdateOneRequiredWithoutBudget_itemsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutBudget_itemsInput, Prisma.tripsUncheckedCreateWithoutBudget_itemsInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutBudget_itemsInput
|
|
upsert?: Prisma.tripsUpsertWithoutBudget_itemsInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.tripsUpdateToOneWithWhereWithoutBudget_itemsInput, Prisma.tripsUpdateWithoutBudget_itemsInput>, Prisma.tripsUncheckedUpdateWithoutBudget_itemsInput>
|
|
}
|
|
|
|
export type tripsCreateNestedOneWithoutCollab_messagesInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutCollab_messagesInput, Prisma.tripsUncheckedCreateWithoutCollab_messagesInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutCollab_messagesInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
}
|
|
|
|
export type tripsUpdateOneRequiredWithoutCollab_messagesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutCollab_messagesInput, Prisma.tripsUncheckedCreateWithoutCollab_messagesInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutCollab_messagesInput
|
|
upsert?: Prisma.tripsUpsertWithoutCollab_messagesInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.tripsUpdateToOneWithWhereWithoutCollab_messagesInput, Prisma.tripsUpdateWithoutCollab_messagesInput>, Prisma.tripsUncheckedUpdateWithoutCollab_messagesInput>
|
|
}
|
|
|
|
export type tripsCreateNestedOneWithoutCollab_notesInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutCollab_notesInput, Prisma.tripsUncheckedCreateWithoutCollab_notesInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutCollab_notesInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
}
|
|
|
|
export type tripsUpdateOneRequiredWithoutCollab_notesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutCollab_notesInput, Prisma.tripsUncheckedCreateWithoutCollab_notesInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutCollab_notesInput
|
|
upsert?: Prisma.tripsUpsertWithoutCollab_notesInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.tripsUpdateToOneWithWhereWithoutCollab_notesInput, Prisma.tripsUpdateWithoutCollab_notesInput>, Prisma.tripsUncheckedUpdateWithoutCollab_notesInput>
|
|
}
|
|
|
|
export type tripsCreateNestedOneWithoutCollab_pollsInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutCollab_pollsInput, Prisma.tripsUncheckedCreateWithoutCollab_pollsInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutCollab_pollsInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
}
|
|
|
|
export type tripsUpdateOneRequiredWithoutCollab_pollsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutCollab_pollsInput, Prisma.tripsUncheckedCreateWithoutCollab_pollsInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutCollab_pollsInput
|
|
upsert?: Prisma.tripsUpsertWithoutCollab_pollsInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.tripsUpdateToOneWithWhereWithoutCollab_pollsInput, Prisma.tripsUpdateWithoutCollab_pollsInput>, Prisma.tripsUncheckedUpdateWithoutCollab_pollsInput>
|
|
}
|
|
|
|
export type tripsCreateNestedOneWithoutDay_accommodationsInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutDay_accommodationsInput, Prisma.tripsUncheckedCreateWithoutDay_accommodationsInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutDay_accommodationsInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
}
|
|
|
|
export type tripsUpdateOneRequiredWithoutDay_accommodationsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutDay_accommodationsInput, Prisma.tripsUncheckedCreateWithoutDay_accommodationsInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutDay_accommodationsInput
|
|
upsert?: Prisma.tripsUpsertWithoutDay_accommodationsInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.tripsUpdateToOneWithWhereWithoutDay_accommodationsInput, Prisma.tripsUpdateWithoutDay_accommodationsInput>, Prisma.tripsUncheckedUpdateWithoutDay_accommodationsInput>
|
|
}
|
|
|
|
export type tripsCreateNestedOneWithoutDay_notesInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutDay_notesInput, Prisma.tripsUncheckedCreateWithoutDay_notesInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutDay_notesInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
}
|
|
|
|
export type tripsUpdateOneRequiredWithoutDay_notesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutDay_notesInput, Prisma.tripsUncheckedCreateWithoutDay_notesInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutDay_notesInput
|
|
upsert?: Prisma.tripsUpsertWithoutDay_notesInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.tripsUpdateToOneWithWhereWithoutDay_notesInput, Prisma.tripsUpdateWithoutDay_notesInput>, Prisma.tripsUncheckedUpdateWithoutDay_notesInput>
|
|
}
|
|
|
|
export type tripsCreateNestedOneWithoutDaysInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutDaysInput, Prisma.tripsUncheckedCreateWithoutDaysInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutDaysInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
}
|
|
|
|
export type tripsUpdateOneRequiredWithoutDaysNestedInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutDaysInput, Prisma.tripsUncheckedCreateWithoutDaysInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutDaysInput
|
|
upsert?: Prisma.tripsUpsertWithoutDaysInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.tripsUpdateToOneWithWhereWithoutDaysInput, Prisma.tripsUpdateWithoutDaysInput>, Prisma.tripsUncheckedUpdateWithoutDaysInput>
|
|
}
|
|
|
|
export type tripsCreateNestedOneWithoutJourney_entriesInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutJourney_entriesInput, Prisma.tripsUncheckedCreateWithoutJourney_entriesInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutJourney_entriesInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
}
|
|
|
|
export type tripsUpdateOneWithoutJourney_entriesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutJourney_entriesInput, Prisma.tripsUncheckedCreateWithoutJourney_entriesInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutJourney_entriesInput
|
|
upsert?: Prisma.tripsUpsertWithoutJourney_entriesInput
|
|
disconnect?: Prisma.tripsWhereInput | boolean
|
|
delete?: Prisma.tripsWhereInput | boolean
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.tripsUpdateToOneWithWhereWithoutJourney_entriesInput, Prisma.tripsUpdateWithoutJourney_entriesInput>, Prisma.tripsUncheckedUpdateWithoutJourney_entriesInput>
|
|
}
|
|
|
|
export type tripsCreateNestedOneWithoutJourney_tripsInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutJourney_tripsInput, Prisma.tripsUncheckedCreateWithoutJourney_tripsInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutJourney_tripsInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
}
|
|
|
|
export type tripsUpdateOneRequiredWithoutJourney_tripsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutJourney_tripsInput, Prisma.tripsUncheckedCreateWithoutJourney_tripsInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutJourney_tripsInput
|
|
upsert?: Prisma.tripsUpsertWithoutJourney_tripsInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.tripsUpdateToOneWithWhereWithoutJourney_tripsInput, Prisma.tripsUpdateWithoutJourney_tripsInput>, Prisma.tripsUncheckedUpdateWithoutJourney_tripsInput>
|
|
}
|
|
|
|
export type tripsCreateNestedOneWithoutPacking_bagsInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutPacking_bagsInput, Prisma.tripsUncheckedCreateWithoutPacking_bagsInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutPacking_bagsInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
}
|
|
|
|
export type tripsUpdateOneRequiredWithoutPacking_bagsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutPacking_bagsInput, Prisma.tripsUncheckedCreateWithoutPacking_bagsInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutPacking_bagsInput
|
|
upsert?: Prisma.tripsUpsertWithoutPacking_bagsInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.tripsUpdateToOneWithWhereWithoutPacking_bagsInput, Prisma.tripsUpdateWithoutPacking_bagsInput>, Prisma.tripsUncheckedUpdateWithoutPacking_bagsInput>
|
|
}
|
|
|
|
export type tripsCreateNestedOneWithoutPacking_category_assigneesInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutPacking_category_assigneesInput, Prisma.tripsUncheckedCreateWithoutPacking_category_assigneesInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutPacking_category_assigneesInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
}
|
|
|
|
export type tripsUpdateOneRequiredWithoutPacking_category_assigneesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutPacking_category_assigneesInput, Prisma.tripsUncheckedCreateWithoutPacking_category_assigneesInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutPacking_category_assigneesInput
|
|
upsert?: Prisma.tripsUpsertWithoutPacking_category_assigneesInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.tripsUpdateToOneWithWhereWithoutPacking_category_assigneesInput, Prisma.tripsUpdateWithoutPacking_category_assigneesInput>, Prisma.tripsUncheckedUpdateWithoutPacking_category_assigneesInput>
|
|
}
|
|
|
|
export type tripsCreateNestedOneWithoutPacking_itemsInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutPacking_itemsInput, Prisma.tripsUncheckedCreateWithoutPacking_itemsInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutPacking_itemsInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
}
|
|
|
|
export type tripsUpdateOneRequiredWithoutPacking_itemsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutPacking_itemsInput, Prisma.tripsUncheckedCreateWithoutPacking_itemsInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutPacking_itemsInput
|
|
upsert?: Prisma.tripsUpsertWithoutPacking_itemsInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.tripsUpdateToOneWithWhereWithoutPacking_itemsInput, Prisma.tripsUpdateWithoutPacking_itemsInput>, Prisma.tripsUncheckedUpdateWithoutPacking_itemsInput>
|
|
}
|
|
|
|
export type tripsCreateNestedOneWithoutPhotosInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutPhotosInput, Prisma.tripsUncheckedCreateWithoutPhotosInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutPhotosInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
}
|
|
|
|
export type tripsUpdateOneRequiredWithoutPhotosNestedInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutPhotosInput, Prisma.tripsUncheckedCreateWithoutPhotosInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutPhotosInput
|
|
upsert?: Prisma.tripsUpsertWithoutPhotosInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.tripsUpdateToOneWithWhereWithoutPhotosInput, Prisma.tripsUpdateWithoutPhotosInput>, Prisma.tripsUncheckedUpdateWithoutPhotosInput>
|
|
}
|
|
|
|
export type tripsCreateNestedOneWithoutPlacesInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutPlacesInput, Prisma.tripsUncheckedCreateWithoutPlacesInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutPlacesInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
}
|
|
|
|
export type tripsUpdateOneRequiredWithoutPlacesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutPlacesInput, Prisma.tripsUncheckedCreateWithoutPlacesInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutPlacesInput
|
|
upsert?: Prisma.tripsUpsertWithoutPlacesInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.tripsUpdateToOneWithWhereWithoutPlacesInput, Prisma.tripsUpdateWithoutPlacesInput>, Prisma.tripsUncheckedUpdateWithoutPlacesInput>
|
|
}
|
|
|
|
export type tripsCreateNestedOneWithoutReservationsInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutReservationsInput, Prisma.tripsUncheckedCreateWithoutReservationsInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutReservationsInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
}
|
|
|
|
export type tripsUpdateOneRequiredWithoutReservationsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutReservationsInput, Prisma.tripsUncheckedCreateWithoutReservationsInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutReservationsInput
|
|
upsert?: Prisma.tripsUpsertWithoutReservationsInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.tripsUpdateToOneWithWhereWithoutReservationsInput, Prisma.tripsUpdateWithoutReservationsInput>, Prisma.tripsUncheckedUpdateWithoutReservationsInput>
|
|
}
|
|
|
|
export type tripsCreateNestedOneWithoutShare_tokensInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutShare_tokensInput, Prisma.tripsUncheckedCreateWithoutShare_tokensInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutShare_tokensInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
}
|
|
|
|
export type tripsUpdateOneRequiredWithoutShare_tokensNestedInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutShare_tokensInput, Prisma.tripsUncheckedCreateWithoutShare_tokensInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutShare_tokensInput
|
|
upsert?: Prisma.tripsUpsertWithoutShare_tokensInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.tripsUpdateToOneWithWhereWithoutShare_tokensInput, Prisma.tripsUpdateWithoutShare_tokensInput>, Prisma.tripsUncheckedUpdateWithoutShare_tokensInput>
|
|
}
|
|
|
|
export type tripsCreateNestedOneWithoutTodo_category_assigneesInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutTodo_category_assigneesInput, Prisma.tripsUncheckedCreateWithoutTodo_category_assigneesInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutTodo_category_assigneesInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
}
|
|
|
|
export type tripsUpdateOneRequiredWithoutTodo_category_assigneesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutTodo_category_assigneesInput, Prisma.tripsUncheckedCreateWithoutTodo_category_assigneesInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutTodo_category_assigneesInput
|
|
upsert?: Prisma.tripsUpsertWithoutTodo_category_assigneesInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.tripsUpdateToOneWithWhereWithoutTodo_category_assigneesInput, Prisma.tripsUpdateWithoutTodo_category_assigneesInput>, Prisma.tripsUncheckedUpdateWithoutTodo_category_assigneesInput>
|
|
}
|
|
|
|
export type tripsCreateNestedOneWithoutTodo_itemsInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutTodo_itemsInput, Prisma.tripsUncheckedCreateWithoutTodo_itemsInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutTodo_itemsInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
}
|
|
|
|
export type tripsUpdateOneRequiredWithoutTodo_itemsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutTodo_itemsInput, Prisma.tripsUncheckedCreateWithoutTodo_itemsInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutTodo_itemsInput
|
|
upsert?: Prisma.tripsUpsertWithoutTodo_itemsInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.tripsUpdateToOneWithWhereWithoutTodo_itemsInput, Prisma.tripsUpdateWithoutTodo_itemsInput>, Prisma.tripsUncheckedUpdateWithoutTodo_itemsInput>
|
|
}
|
|
|
|
export type tripsCreateNestedOneWithoutTrip_album_linksInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutTrip_album_linksInput, Prisma.tripsUncheckedCreateWithoutTrip_album_linksInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutTrip_album_linksInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
}
|
|
|
|
export type tripsUpdateOneRequiredWithoutTrip_album_linksNestedInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutTrip_album_linksInput, Prisma.tripsUncheckedCreateWithoutTrip_album_linksInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutTrip_album_linksInput
|
|
upsert?: Prisma.tripsUpsertWithoutTrip_album_linksInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.tripsUpdateToOneWithWhereWithoutTrip_album_linksInput, Prisma.tripsUpdateWithoutTrip_album_linksInput>, Prisma.tripsUncheckedUpdateWithoutTrip_album_linksInput>
|
|
}
|
|
|
|
export type tripsCreateNestedOneWithoutTrip_filesInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutTrip_filesInput, Prisma.tripsUncheckedCreateWithoutTrip_filesInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutTrip_filesInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
}
|
|
|
|
export type tripsUpdateOneRequiredWithoutTrip_filesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutTrip_filesInput, Prisma.tripsUncheckedCreateWithoutTrip_filesInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutTrip_filesInput
|
|
upsert?: Prisma.tripsUpsertWithoutTrip_filesInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.tripsUpdateToOneWithWhereWithoutTrip_filesInput, Prisma.tripsUpdateWithoutTrip_filesInput>, Prisma.tripsUncheckedUpdateWithoutTrip_filesInput>
|
|
}
|
|
|
|
export type tripsCreateNestedOneWithoutTrip_membersInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutTrip_membersInput, Prisma.tripsUncheckedCreateWithoutTrip_membersInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutTrip_membersInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
}
|
|
|
|
export type tripsUpdateOneRequiredWithoutTrip_membersNestedInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutTrip_membersInput, Prisma.tripsUncheckedCreateWithoutTrip_membersInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutTrip_membersInput
|
|
upsert?: Prisma.tripsUpsertWithoutTrip_membersInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.tripsUpdateToOneWithWhereWithoutTrip_membersInput, Prisma.tripsUpdateWithoutTrip_membersInput>, Prisma.tripsUncheckedUpdateWithoutTrip_membersInput>
|
|
}
|
|
|
|
export type tripsCreateNestedOneWithoutTrip_photosInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutTrip_photosInput, Prisma.tripsUncheckedCreateWithoutTrip_photosInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutTrip_photosInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
}
|
|
|
|
export type tripsUpdateOneRequiredWithoutTrip_photosNestedInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutTrip_photosInput, Prisma.tripsUncheckedCreateWithoutTrip_photosInput>
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutTrip_photosInput
|
|
upsert?: Prisma.tripsUpsertWithoutTrip_photosInput
|
|
connect?: Prisma.tripsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.tripsUpdateToOneWithWhereWithoutTrip_photosInput, Prisma.tripsUpdateWithoutTrip_photosInput>, Prisma.tripsUncheckedUpdateWithoutTrip_photosInput>
|
|
}
|
|
|
|
export type tripsCreateNestedManyWithoutUsersInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutUsersInput, Prisma.tripsUncheckedCreateWithoutUsersInput> | Prisma.tripsCreateWithoutUsersInput[] | Prisma.tripsUncheckedCreateWithoutUsersInput[]
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutUsersInput | Prisma.tripsCreateOrConnectWithoutUsersInput[]
|
|
createMany?: Prisma.tripsCreateManyUsersInputEnvelope
|
|
connect?: Prisma.tripsWhereUniqueInput | Prisma.tripsWhereUniqueInput[]
|
|
}
|
|
|
|
export type tripsUncheckedCreateNestedManyWithoutUsersInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutUsersInput, Prisma.tripsUncheckedCreateWithoutUsersInput> | Prisma.tripsCreateWithoutUsersInput[] | Prisma.tripsUncheckedCreateWithoutUsersInput[]
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutUsersInput | Prisma.tripsCreateOrConnectWithoutUsersInput[]
|
|
createMany?: Prisma.tripsCreateManyUsersInputEnvelope
|
|
connect?: Prisma.tripsWhereUniqueInput | Prisma.tripsWhereUniqueInput[]
|
|
}
|
|
|
|
export type tripsUpdateManyWithoutUsersNestedInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutUsersInput, Prisma.tripsUncheckedCreateWithoutUsersInput> | Prisma.tripsCreateWithoutUsersInput[] | Prisma.tripsUncheckedCreateWithoutUsersInput[]
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutUsersInput | Prisma.tripsCreateOrConnectWithoutUsersInput[]
|
|
upsert?: Prisma.tripsUpsertWithWhereUniqueWithoutUsersInput | Prisma.tripsUpsertWithWhereUniqueWithoutUsersInput[]
|
|
createMany?: Prisma.tripsCreateManyUsersInputEnvelope
|
|
set?: Prisma.tripsWhereUniqueInput | Prisma.tripsWhereUniqueInput[]
|
|
disconnect?: Prisma.tripsWhereUniqueInput | Prisma.tripsWhereUniqueInput[]
|
|
delete?: Prisma.tripsWhereUniqueInput | Prisma.tripsWhereUniqueInput[]
|
|
connect?: Prisma.tripsWhereUniqueInput | Prisma.tripsWhereUniqueInput[]
|
|
update?: Prisma.tripsUpdateWithWhereUniqueWithoutUsersInput | Prisma.tripsUpdateWithWhereUniqueWithoutUsersInput[]
|
|
updateMany?: Prisma.tripsUpdateManyWithWhereWithoutUsersInput | Prisma.tripsUpdateManyWithWhereWithoutUsersInput[]
|
|
deleteMany?: Prisma.tripsScalarWhereInput | Prisma.tripsScalarWhereInput[]
|
|
}
|
|
|
|
export type tripsUncheckedUpdateManyWithoutUsersNestedInput = {
|
|
create?: Prisma.XOR<Prisma.tripsCreateWithoutUsersInput, Prisma.tripsUncheckedCreateWithoutUsersInput> | Prisma.tripsCreateWithoutUsersInput[] | Prisma.tripsUncheckedCreateWithoutUsersInput[]
|
|
connectOrCreate?: Prisma.tripsCreateOrConnectWithoutUsersInput | Prisma.tripsCreateOrConnectWithoutUsersInput[]
|
|
upsert?: Prisma.tripsUpsertWithWhereUniqueWithoutUsersInput | Prisma.tripsUpsertWithWhereUniqueWithoutUsersInput[]
|
|
createMany?: Prisma.tripsCreateManyUsersInputEnvelope
|
|
set?: Prisma.tripsWhereUniqueInput | Prisma.tripsWhereUniqueInput[]
|
|
disconnect?: Prisma.tripsWhereUniqueInput | Prisma.tripsWhereUniqueInput[]
|
|
delete?: Prisma.tripsWhereUniqueInput | Prisma.tripsWhereUniqueInput[]
|
|
connect?: Prisma.tripsWhereUniqueInput | Prisma.tripsWhereUniqueInput[]
|
|
update?: Prisma.tripsUpdateWithWhereUniqueWithoutUsersInput | Prisma.tripsUpdateWithWhereUniqueWithoutUsersInput[]
|
|
updateMany?: Prisma.tripsUpdateManyWithWhereWithoutUsersInput | Prisma.tripsUpdateManyWithWhereWithoutUsersInput[]
|
|
deleteMany?: Prisma.tripsScalarWhereInput | Prisma.tripsScalarWhereInput[]
|
|
}
|
|
|
|
export type tripsCreateWithoutBudget_category_orderInput = {
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput
|
|
users: Prisma.usersCreateNestedOneWithoutTripsInput
|
|
}
|
|
|
|
export type tripsUncheckedCreateWithoutBudget_category_orderInput = {
|
|
id?: number
|
|
user_id: number
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput
|
|
}
|
|
|
|
export type tripsCreateOrConnectWithoutBudget_category_orderInput = {
|
|
where: Prisma.tripsWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutBudget_category_orderInput, Prisma.tripsUncheckedCreateWithoutBudget_category_orderInput>
|
|
}
|
|
|
|
export type tripsUpsertWithoutBudget_category_orderInput = {
|
|
update: Prisma.XOR<Prisma.tripsUpdateWithoutBudget_category_orderInput, Prisma.tripsUncheckedUpdateWithoutBudget_category_orderInput>
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutBudget_category_orderInput, Prisma.tripsUncheckedCreateWithoutBudget_category_orderInput>
|
|
where?: Prisma.tripsWhereInput
|
|
}
|
|
|
|
export type tripsUpdateToOneWithWhereWithoutBudget_category_orderInput = {
|
|
where?: Prisma.tripsWhereInput
|
|
data: Prisma.XOR<Prisma.tripsUpdateWithoutBudget_category_orderInput, Prisma.tripsUncheckedUpdateWithoutBudget_category_orderInput>
|
|
}
|
|
|
|
export type tripsUpdateWithoutBudget_category_orderInput = {
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput
|
|
users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsUncheckedUpdateWithoutBudget_category_orderInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
user_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsCreateWithoutBudget_itemsInput = {
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput
|
|
users: Prisma.usersCreateNestedOneWithoutTripsInput
|
|
}
|
|
|
|
export type tripsUncheckedCreateWithoutBudget_itemsInput = {
|
|
id?: number
|
|
user_id: number
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput
|
|
}
|
|
|
|
export type tripsCreateOrConnectWithoutBudget_itemsInput = {
|
|
where: Prisma.tripsWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutBudget_itemsInput, Prisma.tripsUncheckedCreateWithoutBudget_itemsInput>
|
|
}
|
|
|
|
export type tripsUpsertWithoutBudget_itemsInput = {
|
|
update: Prisma.XOR<Prisma.tripsUpdateWithoutBudget_itemsInput, Prisma.tripsUncheckedUpdateWithoutBudget_itemsInput>
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutBudget_itemsInput, Prisma.tripsUncheckedCreateWithoutBudget_itemsInput>
|
|
where?: Prisma.tripsWhereInput
|
|
}
|
|
|
|
export type tripsUpdateToOneWithWhereWithoutBudget_itemsInput = {
|
|
where?: Prisma.tripsWhereInput
|
|
data: Prisma.XOR<Prisma.tripsUpdateWithoutBudget_itemsInput, Prisma.tripsUncheckedUpdateWithoutBudget_itemsInput>
|
|
}
|
|
|
|
export type tripsUpdateWithoutBudget_itemsInput = {
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput
|
|
users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsUncheckedUpdateWithoutBudget_itemsInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
user_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsCreateWithoutCollab_messagesInput = {
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput
|
|
users: Prisma.usersCreateNestedOneWithoutTripsInput
|
|
}
|
|
|
|
export type tripsUncheckedCreateWithoutCollab_messagesInput = {
|
|
id?: number
|
|
user_id: number
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput
|
|
}
|
|
|
|
export type tripsCreateOrConnectWithoutCollab_messagesInput = {
|
|
where: Prisma.tripsWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutCollab_messagesInput, Prisma.tripsUncheckedCreateWithoutCollab_messagesInput>
|
|
}
|
|
|
|
export type tripsUpsertWithoutCollab_messagesInput = {
|
|
update: Prisma.XOR<Prisma.tripsUpdateWithoutCollab_messagesInput, Prisma.tripsUncheckedUpdateWithoutCollab_messagesInput>
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutCollab_messagesInput, Prisma.tripsUncheckedCreateWithoutCollab_messagesInput>
|
|
where?: Prisma.tripsWhereInput
|
|
}
|
|
|
|
export type tripsUpdateToOneWithWhereWithoutCollab_messagesInput = {
|
|
where?: Prisma.tripsWhereInput
|
|
data: Prisma.XOR<Prisma.tripsUpdateWithoutCollab_messagesInput, Prisma.tripsUncheckedUpdateWithoutCollab_messagesInput>
|
|
}
|
|
|
|
export type tripsUpdateWithoutCollab_messagesInput = {
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput
|
|
users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsUncheckedUpdateWithoutCollab_messagesInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
user_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsCreateWithoutCollab_notesInput = {
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput
|
|
users: Prisma.usersCreateNestedOneWithoutTripsInput
|
|
}
|
|
|
|
export type tripsUncheckedCreateWithoutCollab_notesInput = {
|
|
id?: number
|
|
user_id: number
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput
|
|
}
|
|
|
|
export type tripsCreateOrConnectWithoutCollab_notesInput = {
|
|
where: Prisma.tripsWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutCollab_notesInput, Prisma.tripsUncheckedCreateWithoutCollab_notesInput>
|
|
}
|
|
|
|
export type tripsUpsertWithoutCollab_notesInput = {
|
|
update: Prisma.XOR<Prisma.tripsUpdateWithoutCollab_notesInput, Prisma.tripsUncheckedUpdateWithoutCollab_notesInput>
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutCollab_notesInput, Prisma.tripsUncheckedCreateWithoutCollab_notesInput>
|
|
where?: Prisma.tripsWhereInput
|
|
}
|
|
|
|
export type tripsUpdateToOneWithWhereWithoutCollab_notesInput = {
|
|
where?: Prisma.tripsWhereInput
|
|
data: Prisma.XOR<Prisma.tripsUpdateWithoutCollab_notesInput, Prisma.tripsUncheckedUpdateWithoutCollab_notesInput>
|
|
}
|
|
|
|
export type tripsUpdateWithoutCollab_notesInput = {
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput
|
|
users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsUncheckedUpdateWithoutCollab_notesInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
user_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsCreateWithoutCollab_pollsInput = {
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput
|
|
users: Prisma.usersCreateNestedOneWithoutTripsInput
|
|
}
|
|
|
|
export type tripsUncheckedCreateWithoutCollab_pollsInput = {
|
|
id?: number
|
|
user_id: number
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput
|
|
}
|
|
|
|
export type tripsCreateOrConnectWithoutCollab_pollsInput = {
|
|
where: Prisma.tripsWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutCollab_pollsInput, Prisma.tripsUncheckedCreateWithoutCollab_pollsInput>
|
|
}
|
|
|
|
export type tripsUpsertWithoutCollab_pollsInput = {
|
|
update: Prisma.XOR<Prisma.tripsUpdateWithoutCollab_pollsInput, Prisma.tripsUncheckedUpdateWithoutCollab_pollsInput>
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutCollab_pollsInput, Prisma.tripsUncheckedCreateWithoutCollab_pollsInput>
|
|
where?: Prisma.tripsWhereInput
|
|
}
|
|
|
|
export type tripsUpdateToOneWithWhereWithoutCollab_pollsInput = {
|
|
where?: Prisma.tripsWhereInput
|
|
data: Prisma.XOR<Prisma.tripsUpdateWithoutCollab_pollsInput, Prisma.tripsUncheckedUpdateWithoutCollab_pollsInput>
|
|
}
|
|
|
|
export type tripsUpdateWithoutCollab_pollsInput = {
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput
|
|
users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsUncheckedUpdateWithoutCollab_pollsInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
user_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsCreateWithoutDay_accommodationsInput = {
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput
|
|
users: Prisma.usersCreateNestedOneWithoutTripsInput
|
|
}
|
|
|
|
export type tripsUncheckedCreateWithoutDay_accommodationsInput = {
|
|
id?: number
|
|
user_id: number
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput
|
|
}
|
|
|
|
export type tripsCreateOrConnectWithoutDay_accommodationsInput = {
|
|
where: Prisma.tripsWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutDay_accommodationsInput, Prisma.tripsUncheckedCreateWithoutDay_accommodationsInput>
|
|
}
|
|
|
|
export type tripsUpsertWithoutDay_accommodationsInput = {
|
|
update: Prisma.XOR<Prisma.tripsUpdateWithoutDay_accommodationsInput, Prisma.tripsUncheckedUpdateWithoutDay_accommodationsInput>
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutDay_accommodationsInput, Prisma.tripsUncheckedCreateWithoutDay_accommodationsInput>
|
|
where?: Prisma.tripsWhereInput
|
|
}
|
|
|
|
export type tripsUpdateToOneWithWhereWithoutDay_accommodationsInput = {
|
|
where?: Prisma.tripsWhereInput
|
|
data: Prisma.XOR<Prisma.tripsUpdateWithoutDay_accommodationsInput, Prisma.tripsUncheckedUpdateWithoutDay_accommodationsInput>
|
|
}
|
|
|
|
export type tripsUpdateWithoutDay_accommodationsInput = {
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput
|
|
users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsUncheckedUpdateWithoutDay_accommodationsInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
user_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsCreateWithoutDay_notesInput = {
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput
|
|
users: Prisma.usersCreateNestedOneWithoutTripsInput
|
|
}
|
|
|
|
export type tripsUncheckedCreateWithoutDay_notesInput = {
|
|
id?: number
|
|
user_id: number
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput
|
|
}
|
|
|
|
export type tripsCreateOrConnectWithoutDay_notesInput = {
|
|
where: Prisma.tripsWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutDay_notesInput, Prisma.tripsUncheckedCreateWithoutDay_notesInput>
|
|
}
|
|
|
|
export type tripsUpsertWithoutDay_notesInput = {
|
|
update: Prisma.XOR<Prisma.tripsUpdateWithoutDay_notesInput, Prisma.tripsUncheckedUpdateWithoutDay_notesInput>
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutDay_notesInput, Prisma.tripsUncheckedCreateWithoutDay_notesInput>
|
|
where?: Prisma.tripsWhereInput
|
|
}
|
|
|
|
export type tripsUpdateToOneWithWhereWithoutDay_notesInput = {
|
|
where?: Prisma.tripsWhereInput
|
|
data: Prisma.XOR<Prisma.tripsUpdateWithoutDay_notesInput, Prisma.tripsUncheckedUpdateWithoutDay_notesInput>
|
|
}
|
|
|
|
export type tripsUpdateWithoutDay_notesInput = {
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput
|
|
users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsUncheckedUpdateWithoutDay_notesInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
user_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsCreateWithoutDaysInput = {
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput
|
|
users: Prisma.usersCreateNestedOneWithoutTripsInput
|
|
}
|
|
|
|
export type tripsUncheckedCreateWithoutDaysInput = {
|
|
id?: number
|
|
user_id: number
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput
|
|
}
|
|
|
|
export type tripsCreateOrConnectWithoutDaysInput = {
|
|
where: Prisma.tripsWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutDaysInput, Prisma.tripsUncheckedCreateWithoutDaysInput>
|
|
}
|
|
|
|
export type tripsUpsertWithoutDaysInput = {
|
|
update: Prisma.XOR<Prisma.tripsUpdateWithoutDaysInput, Prisma.tripsUncheckedUpdateWithoutDaysInput>
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutDaysInput, Prisma.tripsUncheckedCreateWithoutDaysInput>
|
|
where?: Prisma.tripsWhereInput
|
|
}
|
|
|
|
export type tripsUpdateToOneWithWhereWithoutDaysInput = {
|
|
where?: Prisma.tripsWhereInput
|
|
data: Prisma.XOR<Prisma.tripsUpdateWithoutDaysInput, Prisma.tripsUncheckedUpdateWithoutDaysInput>
|
|
}
|
|
|
|
export type tripsUpdateWithoutDaysInput = {
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput
|
|
users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsUncheckedUpdateWithoutDaysInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
user_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsCreateWithoutJourney_entriesInput = {
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput
|
|
users: Prisma.usersCreateNestedOneWithoutTripsInput
|
|
}
|
|
|
|
export type tripsUncheckedCreateWithoutJourney_entriesInput = {
|
|
id?: number
|
|
user_id: number
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput
|
|
}
|
|
|
|
export type tripsCreateOrConnectWithoutJourney_entriesInput = {
|
|
where: Prisma.tripsWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutJourney_entriesInput, Prisma.tripsUncheckedCreateWithoutJourney_entriesInput>
|
|
}
|
|
|
|
export type tripsUpsertWithoutJourney_entriesInput = {
|
|
update: Prisma.XOR<Prisma.tripsUpdateWithoutJourney_entriesInput, Prisma.tripsUncheckedUpdateWithoutJourney_entriesInput>
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutJourney_entriesInput, Prisma.tripsUncheckedCreateWithoutJourney_entriesInput>
|
|
where?: Prisma.tripsWhereInput
|
|
}
|
|
|
|
export type tripsUpdateToOneWithWhereWithoutJourney_entriesInput = {
|
|
where?: Prisma.tripsWhereInput
|
|
data: Prisma.XOR<Prisma.tripsUpdateWithoutJourney_entriesInput, Prisma.tripsUncheckedUpdateWithoutJourney_entriesInput>
|
|
}
|
|
|
|
export type tripsUpdateWithoutJourney_entriesInput = {
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput
|
|
users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsUncheckedUpdateWithoutJourney_entriesInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
user_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsCreateWithoutJourney_tripsInput = {
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput
|
|
users: Prisma.usersCreateNestedOneWithoutTripsInput
|
|
}
|
|
|
|
export type tripsUncheckedCreateWithoutJourney_tripsInput = {
|
|
id?: number
|
|
user_id: number
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput
|
|
}
|
|
|
|
export type tripsCreateOrConnectWithoutJourney_tripsInput = {
|
|
where: Prisma.tripsWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutJourney_tripsInput, Prisma.tripsUncheckedCreateWithoutJourney_tripsInput>
|
|
}
|
|
|
|
export type tripsUpsertWithoutJourney_tripsInput = {
|
|
update: Prisma.XOR<Prisma.tripsUpdateWithoutJourney_tripsInput, Prisma.tripsUncheckedUpdateWithoutJourney_tripsInput>
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutJourney_tripsInput, Prisma.tripsUncheckedCreateWithoutJourney_tripsInput>
|
|
where?: Prisma.tripsWhereInput
|
|
}
|
|
|
|
export type tripsUpdateToOneWithWhereWithoutJourney_tripsInput = {
|
|
where?: Prisma.tripsWhereInput
|
|
data: Prisma.XOR<Prisma.tripsUpdateWithoutJourney_tripsInput, Prisma.tripsUncheckedUpdateWithoutJourney_tripsInput>
|
|
}
|
|
|
|
export type tripsUpdateWithoutJourney_tripsInput = {
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput
|
|
users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsUncheckedUpdateWithoutJourney_tripsInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
user_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsCreateWithoutPacking_bagsInput = {
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput
|
|
users: Prisma.usersCreateNestedOneWithoutTripsInput
|
|
}
|
|
|
|
export type tripsUncheckedCreateWithoutPacking_bagsInput = {
|
|
id?: number
|
|
user_id: number
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput
|
|
}
|
|
|
|
export type tripsCreateOrConnectWithoutPacking_bagsInput = {
|
|
where: Prisma.tripsWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutPacking_bagsInput, Prisma.tripsUncheckedCreateWithoutPacking_bagsInput>
|
|
}
|
|
|
|
export type tripsUpsertWithoutPacking_bagsInput = {
|
|
update: Prisma.XOR<Prisma.tripsUpdateWithoutPacking_bagsInput, Prisma.tripsUncheckedUpdateWithoutPacking_bagsInput>
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutPacking_bagsInput, Prisma.tripsUncheckedCreateWithoutPacking_bagsInput>
|
|
where?: Prisma.tripsWhereInput
|
|
}
|
|
|
|
export type tripsUpdateToOneWithWhereWithoutPacking_bagsInput = {
|
|
where?: Prisma.tripsWhereInput
|
|
data: Prisma.XOR<Prisma.tripsUpdateWithoutPacking_bagsInput, Prisma.tripsUncheckedUpdateWithoutPacking_bagsInput>
|
|
}
|
|
|
|
export type tripsUpdateWithoutPacking_bagsInput = {
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput
|
|
users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsUncheckedUpdateWithoutPacking_bagsInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
user_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsCreateWithoutPacking_category_assigneesInput = {
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput
|
|
users: Prisma.usersCreateNestedOneWithoutTripsInput
|
|
}
|
|
|
|
export type tripsUncheckedCreateWithoutPacking_category_assigneesInput = {
|
|
id?: number
|
|
user_id: number
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput
|
|
}
|
|
|
|
export type tripsCreateOrConnectWithoutPacking_category_assigneesInput = {
|
|
where: Prisma.tripsWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutPacking_category_assigneesInput, Prisma.tripsUncheckedCreateWithoutPacking_category_assigneesInput>
|
|
}
|
|
|
|
export type tripsUpsertWithoutPacking_category_assigneesInput = {
|
|
update: Prisma.XOR<Prisma.tripsUpdateWithoutPacking_category_assigneesInput, Prisma.tripsUncheckedUpdateWithoutPacking_category_assigneesInput>
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutPacking_category_assigneesInput, Prisma.tripsUncheckedCreateWithoutPacking_category_assigneesInput>
|
|
where?: Prisma.tripsWhereInput
|
|
}
|
|
|
|
export type tripsUpdateToOneWithWhereWithoutPacking_category_assigneesInput = {
|
|
where?: Prisma.tripsWhereInput
|
|
data: Prisma.XOR<Prisma.tripsUpdateWithoutPacking_category_assigneesInput, Prisma.tripsUncheckedUpdateWithoutPacking_category_assigneesInput>
|
|
}
|
|
|
|
export type tripsUpdateWithoutPacking_category_assigneesInput = {
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput
|
|
users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsUncheckedUpdateWithoutPacking_category_assigneesInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
user_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsCreateWithoutPacking_itemsInput = {
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput
|
|
users: Prisma.usersCreateNestedOneWithoutTripsInput
|
|
}
|
|
|
|
export type tripsUncheckedCreateWithoutPacking_itemsInput = {
|
|
id?: number
|
|
user_id: number
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput
|
|
}
|
|
|
|
export type tripsCreateOrConnectWithoutPacking_itemsInput = {
|
|
where: Prisma.tripsWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutPacking_itemsInput, Prisma.tripsUncheckedCreateWithoutPacking_itemsInput>
|
|
}
|
|
|
|
export type tripsUpsertWithoutPacking_itemsInput = {
|
|
update: Prisma.XOR<Prisma.tripsUpdateWithoutPacking_itemsInput, Prisma.tripsUncheckedUpdateWithoutPacking_itemsInput>
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutPacking_itemsInput, Prisma.tripsUncheckedCreateWithoutPacking_itemsInput>
|
|
where?: Prisma.tripsWhereInput
|
|
}
|
|
|
|
export type tripsUpdateToOneWithWhereWithoutPacking_itemsInput = {
|
|
where?: Prisma.tripsWhereInput
|
|
data: Prisma.XOR<Prisma.tripsUpdateWithoutPacking_itemsInput, Prisma.tripsUncheckedUpdateWithoutPacking_itemsInput>
|
|
}
|
|
|
|
export type tripsUpdateWithoutPacking_itemsInput = {
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput
|
|
users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsUncheckedUpdateWithoutPacking_itemsInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
user_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsCreateWithoutPhotosInput = {
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput
|
|
users: Prisma.usersCreateNestedOneWithoutTripsInput
|
|
}
|
|
|
|
export type tripsUncheckedCreateWithoutPhotosInput = {
|
|
id?: number
|
|
user_id: number
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput
|
|
}
|
|
|
|
export type tripsCreateOrConnectWithoutPhotosInput = {
|
|
where: Prisma.tripsWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutPhotosInput, Prisma.tripsUncheckedCreateWithoutPhotosInput>
|
|
}
|
|
|
|
export type tripsUpsertWithoutPhotosInput = {
|
|
update: Prisma.XOR<Prisma.tripsUpdateWithoutPhotosInput, Prisma.tripsUncheckedUpdateWithoutPhotosInput>
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutPhotosInput, Prisma.tripsUncheckedCreateWithoutPhotosInput>
|
|
where?: Prisma.tripsWhereInput
|
|
}
|
|
|
|
export type tripsUpdateToOneWithWhereWithoutPhotosInput = {
|
|
where?: Prisma.tripsWhereInput
|
|
data: Prisma.XOR<Prisma.tripsUpdateWithoutPhotosInput, Prisma.tripsUncheckedUpdateWithoutPhotosInput>
|
|
}
|
|
|
|
export type tripsUpdateWithoutPhotosInput = {
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput
|
|
users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsUncheckedUpdateWithoutPhotosInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
user_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsCreateWithoutPlacesInput = {
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput
|
|
users: Prisma.usersCreateNestedOneWithoutTripsInput
|
|
}
|
|
|
|
export type tripsUncheckedCreateWithoutPlacesInput = {
|
|
id?: number
|
|
user_id: number
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput
|
|
}
|
|
|
|
export type tripsCreateOrConnectWithoutPlacesInput = {
|
|
where: Prisma.tripsWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutPlacesInput, Prisma.tripsUncheckedCreateWithoutPlacesInput>
|
|
}
|
|
|
|
export type tripsUpsertWithoutPlacesInput = {
|
|
update: Prisma.XOR<Prisma.tripsUpdateWithoutPlacesInput, Prisma.tripsUncheckedUpdateWithoutPlacesInput>
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutPlacesInput, Prisma.tripsUncheckedCreateWithoutPlacesInput>
|
|
where?: Prisma.tripsWhereInput
|
|
}
|
|
|
|
export type tripsUpdateToOneWithWhereWithoutPlacesInput = {
|
|
where?: Prisma.tripsWhereInput
|
|
data: Prisma.XOR<Prisma.tripsUpdateWithoutPlacesInput, Prisma.tripsUncheckedUpdateWithoutPlacesInput>
|
|
}
|
|
|
|
export type tripsUpdateWithoutPlacesInput = {
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput
|
|
users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsUncheckedUpdateWithoutPlacesInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
user_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsCreateWithoutReservationsInput = {
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput
|
|
users: Prisma.usersCreateNestedOneWithoutTripsInput
|
|
}
|
|
|
|
export type tripsUncheckedCreateWithoutReservationsInput = {
|
|
id?: number
|
|
user_id: number
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput
|
|
}
|
|
|
|
export type tripsCreateOrConnectWithoutReservationsInput = {
|
|
where: Prisma.tripsWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutReservationsInput, Prisma.tripsUncheckedCreateWithoutReservationsInput>
|
|
}
|
|
|
|
export type tripsUpsertWithoutReservationsInput = {
|
|
update: Prisma.XOR<Prisma.tripsUpdateWithoutReservationsInput, Prisma.tripsUncheckedUpdateWithoutReservationsInput>
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutReservationsInput, Prisma.tripsUncheckedCreateWithoutReservationsInput>
|
|
where?: Prisma.tripsWhereInput
|
|
}
|
|
|
|
export type tripsUpdateToOneWithWhereWithoutReservationsInput = {
|
|
where?: Prisma.tripsWhereInput
|
|
data: Prisma.XOR<Prisma.tripsUpdateWithoutReservationsInput, Prisma.tripsUncheckedUpdateWithoutReservationsInput>
|
|
}
|
|
|
|
export type tripsUpdateWithoutReservationsInput = {
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput
|
|
users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsUncheckedUpdateWithoutReservationsInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
user_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsCreateWithoutShare_tokensInput = {
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput
|
|
users: Prisma.usersCreateNestedOneWithoutTripsInput
|
|
}
|
|
|
|
export type tripsUncheckedCreateWithoutShare_tokensInput = {
|
|
id?: number
|
|
user_id: number
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput
|
|
}
|
|
|
|
export type tripsCreateOrConnectWithoutShare_tokensInput = {
|
|
where: Prisma.tripsWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutShare_tokensInput, Prisma.tripsUncheckedCreateWithoutShare_tokensInput>
|
|
}
|
|
|
|
export type tripsUpsertWithoutShare_tokensInput = {
|
|
update: Prisma.XOR<Prisma.tripsUpdateWithoutShare_tokensInput, Prisma.tripsUncheckedUpdateWithoutShare_tokensInput>
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutShare_tokensInput, Prisma.tripsUncheckedCreateWithoutShare_tokensInput>
|
|
where?: Prisma.tripsWhereInput
|
|
}
|
|
|
|
export type tripsUpdateToOneWithWhereWithoutShare_tokensInput = {
|
|
where?: Prisma.tripsWhereInput
|
|
data: Prisma.XOR<Prisma.tripsUpdateWithoutShare_tokensInput, Prisma.tripsUncheckedUpdateWithoutShare_tokensInput>
|
|
}
|
|
|
|
export type tripsUpdateWithoutShare_tokensInput = {
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput
|
|
users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsUncheckedUpdateWithoutShare_tokensInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
user_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsCreateWithoutTodo_category_assigneesInput = {
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput
|
|
users: Prisma.usersCreateNestedOneWithoutTripsInput
|
|
}
|
|
|
|
export type tripsUncheckedCreateWithoutTodo_category_assigneesInput = {
|
|
id?: number
|
|
user_id: number
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput
|
|
}
|
|
|
|
export type tripsCreateOrConnectWithoutTodo_category_assigneesInput = {
|
|
where: Prisma.tripsWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutTodo_category_assigneesInput, Prisma.tripsUncheckedCreateWithoutTodo_category_assigneesInput>
|
|
}
|
|
|
|
export type tripsUpsertWithoutTodo_category_assigneesInput = {
|
|
update: Prisma.XOR<Prisma.tripsUpdateWithoutTodo_category_assigneesInput, Prisma.tripsUncheckedUpdateWithoutTodo_category_assigneesInput>
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutTodo_category_assigneesInput, Prisma.tripsUncheckedCreateWithoutTodo_category_assigneesInput>
|
|
where?: Prisma.tripsWhereInput
|
|
}
|
|
|
|
export type tripsUpdateToOneWithWhereWithoutTodo_category_assigneesInput = {
|
|
where?: Prisma.tripsWhereInput
|
|
data: Prisma.XOR<Prisma.tripsUpdateWithoutTodo_category_assigneesInput, Prisma.tripsUncheckedUpdateWithoutTodo_category_assigneesInput>
|
|
}
|
|
|
|
export type tripsUpdateWithoutTodo_category_assigneesInput = {
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput
|
|
users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsUncheckedUpdateWithoutTodo_category_assigneesInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
user_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsCreateWithoutTodo_itemsInput = {
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput
|
|
users: Prisma.usersCreateNestedOneWithoutTripsInput
|
|
}
|
|
|
|
export type tripsUncheckedCreateWithoutTodo_itemsInput = {
|
|
id?: number
|
|
user_id: number
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput
|
|
}
|
|
|
|
export type tripsCreateOrConnectWithoutTodo_itemsInput = {
|
|
where: Prisma.tripsWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutTodo_itemsInput, Prisma.tripsUncheckedCreateWithoutTodo_itemsInput>
|
|
}
|
|
|
|
export type tripsUpsertWithoutTodo_itemsInput = {
|
|
update: Prisma.XOR<Prisma.tripsUpdateWithoutTodo_itemsInput, Prisma.tripsUncheckedUpdateWithoutTodo_itemsInput>
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutTodo_itemsInput, Prisma.tripsUncheckedCreateWithoutTodo_itemsInput>
|
|
where?: Prisma.tripsWhereInput
|
|
}
|
|
|
|
export type tripsUpdateToOneWithWhereWithoutTodo_itemsInput = {
|
|
where?: Prisma.tripsWhereInput
|
|
data: Prisma.XOR<Prisma.tripsUpdateWithoutTodo_itemsInput, Prisma.tripsUncheckedUpdateWithoutTodo_itemsInput>
|
|
}
|
|
|
|
export type tripsUpdateWithoutTodo_itemsInput = {
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput
|
|
users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsUncheckedUpdateWithoutTodo_itemsInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
user_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsCreateWithoutTrip_album_linksInput = {
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput
|
|
users: Prisma.usersCreateNestedOneWithoutTripsInput
|
|
}
|
|
|
|
export type tripsUncheckedCreateWithoutTrip_album_linksInput = {
|
|
id?: number
|
|
user_id: number
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput
|
|
}
|
|
|
|
export type tripsCreateOrConnectWithoutTrip_album_linksInput = {
|
|
where: Prisma.tripsWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutTrip_album_linksInput, Prisma.tripsUncheckedCreateWithoutTrip_album_linksInput>
|
|
}
|
|
|
|
export type tripsUpsertWithoutTrip_album_linksInput = {
|
|
update: Prisma.XOR<Prisma.tripsUpdateWithoutTrip_album_linksInput, Prisma.tripsUncheckedUpdateWithoutTrip_album_linksInput>
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutTrip_album_linksInput, Prisma.tripsUncheckedCreateWithoutTrip_album_linksInput>
|
|
where?: Prisma.tripsWhereInput
|
|
}
|
|
|
|
export type tripsUpdateToOneWithWhereWithoutTrip_album_linksInput = {
|
|
where?: Prisma.tripsWhereInput
|
|
data: Prisma.XOR<Prisma.tripsUpdateWithoutTrip_album_linksInput, Prisma.tripsUncheckedUpdateWithoutTrip_album_linksInput>
|
|
}
|
|
|
|
export type tripsUpdateWithoutTrip_album_linksInput = {
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput
|
|
users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsUncheckedUpdateWithoutTrip_album_linksInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
user_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsCreateWithoutTrip_filesInput = {
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput
|
|
users: Prisma.usersCreateNestedOneWithoutTripsInput
|
|
}
|
|
|
|
export type tripsUncheckedCreateWithoutTrip_filesInput = {
|
|
id?: number
|
|
user_id: number
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput
|
|
}
|
|
|
|
export type tripsCreateOrConnectWithoutTrip_filesInput = {
|
|
where: Prisma.tripsWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutTrip_filesInput, Prisma.tripsUncheckedCreateWithoutTrip_filesInput>
|
|
}
|
|
|
|
export type tripsUpsertWithoutTrip_filesInput = {
|
|
update: Prisma.XOR<Prisma.tripsUpdateWithoutTrip_filesInput, Prisma.tripsUncheckedUpdateWithoutTrip_filesInput>
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutTrip_filesInput, Prisma.tripsUncheckedCreateWithoutTrip_filesInput>
|
|
where?: Prisma.tripsWhereInput
|
|
}
|
|
|
|
export type tripsUpdateToOneWithWhereWithoutTrip_filesInput = {
|
|
where?: Prisma.tripsWhereInput
|
|
data: Prisma.XOR<Prisma.tripsUpdateWithoutTrip_filesInput, Prisma.tripsUncheckedUpdateWithoutTrip_filesInput>
|
|
}
|
|
|
|
export type tripsUpdateWithoutTrip_filesInput = {
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput
|
|
users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsUncheckedUpdateWithoutTrip_filesInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
user_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsCreateWithoutTrip_membersInput = {
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput
|
|
users: Prisma.usersCreateNestedOneWithoutTripsInput
|
|
}
|
|
|
|
export type tripsUncheckedCreateWithoutTrip_membersInput = {
|
|
id?: number
|
|
user_id: number
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput
|
|
}
|
|
|
|
export type tripsCreateOrConnectWithoutTrip_membersInput = {
|
|
where: Prisma.tripsWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutTrip_membersInput, Prisma.tripsUncheckedCreateWithoutTrip_membersInput>
|
|
}
|
|
|
|
export type tripsUpsertWithoutTrip_membersInput = {
|
|
update: Prisma.XOR<Prisma.tripsUpdateWithoutTrip_membersInput, Prisma.tripsUncheckedUpdateWithoutTrip_membersInput>
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutTrip_membersInput, Prisma.tripsUncheckedCreateWithoutTrip_membersInput>
|
|
where?: Prisma.tripsWhereInput
|
|
}
|
|
|
|
export type tripsUpdateToOneWithWhereWithoutTrip_membersInput = {
|
|
where?: Prisma.tripsWhereInput
|
|
data: Prisma.XOR<Prisma.tripsUpdateWithoutTrip_membersInput, Prisma.tripsUncheckedUpdateWithoutTrip_membersInput>
|
|
}
|
|
|
|
export type tripsUpdateWithoutTrip_membersInput = {
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput
|
|
users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsUncheckedUpdateWithoutTrip_membersInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
user_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsCreateWithoutTrip_photosInput = {
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput
|
|
users: Prisma.usersCreateNestedOneWithoutTripsInput
|
|
}
|
|
|
|
export type tripsUncheckedCreateWithoutTrip_photosInput = {
|
|
id?: number
|
|
user_id: number
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput
|
|
}
|
|
|
|
export type tripsCreateOrConnectWithoutTrip_photosInput = {
|
|
where: Prisma.tripsWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutTrip_photosInput, Prisma.tripsUncheckedCreateWithoutTrip_photosInput>
|
|
}
|
|
|
|
export type tripsUpsertWithoutTrip_photosInput = {
|
|
update: Prisma.XOR<Prisma.tripsUpdateWithoutTrip_photosInput, Prisma.tripsUncheckedUpdateWithoutTrip_photosInput>
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutTrip_photosInput, Prisma.tripsUncheckedCreateWithoutTrip_photosInput>
|
|
where?: Prisma.tripsWhereInput
|
|
}
|
|
|
|
export type tripsUpdateToOneWithWhereWithoutTrip_photosInput = {
|
|
where?: Prisma.tripsWhereInput
|
|
data: Prisma.XOR<Prisma.tripsUpdateWithoutTrip_photosInput, Prisma.tripsUncheckedUpdateWithoutTrip_photosInput>
|
|
}
|
|
|
|
export type tripsUpdateWithoutTrip_photosInput = {
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput
|
|
users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsUncheckedUpdateWithoutTrip_photosInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
user_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsCreateWithoutUsersInput = {
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput
|
|
}
|
|
|
|
export type tripsUncheckedCreateWithoutUsersInput = {
|
|
id?: number
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput
|
|
budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput
|
|
day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput
|
|
days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput
|
|
places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput
|
|
reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput
|
|
share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput
|
|
todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput
|
|
trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput
|
|
}
|
|
|
|
export type tripsCreateOrConnectWithoutUsersInput = {
|
|
where: Prisma.tripsWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutUsersInput, Prisma.tripsUncheckedCreateWithoutUsersInput>
|
|
}
|
|
|
|
export type tripsCreateManyUsersInputEnvelope = {
|
|
data: Prisma.tripsCreateManyUsersInput | Prisma.tripsCreateManyUsersInput[]
|
|
}
|
|
|
|
export type tripsUpsertWithWhereUniqueWithoutUsersInput = {
|
|
where: Prisma.tripsWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.tripsUpdateWithoutUsersInput, Prisma.tripsUncheckedUpdateWithoutUsersInput>
|
|
create: Prisma.XOR<Prisma.tripsCreateWithoutUsersInput, Prisma.tripsUncheckedCreateWithoutUsersInput>
|
|
}
|
|
|
|
export type tripsUpdateWithWhereUniqueWithoutUsersInput = {
|
|
where: Prisma.tripsWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.tripsUpdateWithoutUsersInput, Prisma.tripsUncheckedUpdateWithoutUsersInput>
|
|
}
|
|
|
|
export type tripsUpdateManyWithWhereWithoutUsersInput = {
|
|
where: Prisma.tripsScalarWhereInput
|
|
data: Prisma.XOR<Prisma.tripsUpdateManyMutationInput, Prisma.tripsUncheckedUpdateManyWithoutUsersInput>
|
|
}
|
|
|
|
export type tripsScalarWhereInput = {
|
|
AND?: Prisma.tripsScalarWhereInput | Prisma.tripsScalarWhereInput[]
|
|
OR?: Prisma.tripsScalarWhereInput[]
|
|
NOT?: Prisma.tripsScalarWhereInput | Prisma.tripsScalarWhereInput[]
|
|
id?: Prisma.IntFilter<"trips"> | number
|
|
user_id?: Prisma.IntFilter<"trips"> | number
|
|
title?: Prisma.StringFilter<"trips"> | string
|
|
description?: Prisma.StringNullableFilter<"trips"> | string | null
|
|
start_date?: Prisma.StringNullableFilter<"trips"> | string | null
|
|
end_date?: Prisma.StringNullableFilter<"trips"> | string | null
|
|
currency?: Prisma.StringNullableFilter<"trips"> | string | null
|
|
cover_image?: Prisma.StringNullableFilter<"trips"> | string | null
|
|
is_archived?: Prisma.IntNullableFilter<"trips"> | number | null
|
|
reminder_days?: Prisma.IntNullableFilter<"trips"> | number | null
|
|
created_at?: Prisma.DateTimeNullableFilter<"trips"> | Date | string | null
|
|
updated_at?: Prisma.DateTimeNullableFilter<"trips"> | Date | string | null
|
|
}
|
|
|
|
export type tripsCreateManyUsersInput = {
|
|
id?: number
|
|
title: string
|
|
description?: string | null
|
|
start_date?: string | null
|
|
end_date?: string | null
|
|
currency?: string | null
|
|
cover_image?: string | null
|
|
is_archived?: number | null
|
|
reminder_days?: number | null
|
|
created_at?: Date | string | null
|
|
updated_at?: Date | string | null
|
|
}
|
|
|
|
export type tripsUpdateWithoutUsersInput = {
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsUncheckedUpdateWithoutUsersInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput
|
|
budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput
|
|
days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput
|
|
journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput
|
|
reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput
|
|
share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput
|
|
todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput
|
|
trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput
|
|
}
|
|
|
|
export type tripsUncheckedUpdateManyWithoutUsersInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
|
|
/**
|
|
* Count Type TripsCountOutputType
|
|
*/
|
|
|
|
export type TripsCountOutputType = {
|
|
budget_category_order: number
|
|
budget_items: number
|
|
collab_messages: number
|
|
collab_notes: number
|
|
collab_polls: number
|
|
day_accommodations: number
|
|
day_notes: number
|
|
days: number
|
|
journey_entries: number
|
|
journey_trips: number
|
|
packing_bags: number
|
|
packing_category_assignees: number
|
|
packing_items: number
|
|
photos: number
|
|
places: number
|
|
reservations: number
|
|
share_tokens: number
|
|
todo_category_assignees: number
|
|
todo_items: number
|
|
trip_album_links: number
|
|
trip_files: number
|
|
trip_members: number
|
|
trip_photos: number
|
|
}
|
|
|
|
export type TripsCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
budget_category_order?: boolean | TripsCountOutputTypeCountBudget_category_orderArgs
|
|
budget_items?: boolean | TripsCountOutputTypeCountBudget_itemsArgs
|
|
collab_messages?: boolean | TripsCountOutputTypeCountCollab_messagesArgs
|
|
collab_notes?: boolean | TripsCountOutputTypeCountCollab_notesArgs
|
|
collab_polls?: boolean | TripsCountOutputTypeCountCollab_pollsArgs
|
|
day_accommodations?: boolean | TripsCountOutputTypeCountDay_accommodationsArgs
|
|
day_notes?: boolean | TripsCountOutputTypeCountDay_notesArgs
|
|
days?: boolean | TripsCountOutputTypeCountDaysArgs
|
|
journey_entries?: boolean | TripsCountOutputTypeCountJourney_entriesArgs
|
|
journey_trips?: boolean | TripsCountOutputTypeCountJourney_tripsArgs
|
|
packing_bags?: boolean | TripsCountOutputTypeCountPacking_bagsArgs
|
|
packing_category_assignees?: boolean | TripsCountOutputTypeCountPacking_category_assigneesArgs
|
|
packing_items?: boolean | TripsCountOutputTypeCountPacking_itemsArgs
|
|
photos?: boolean | TripsCountOutputTypeCountPhotosArgs
|
|
places?: boolean | TripsCountOutputTypeCountPlacesArgs
|
|
reservations?: boolean | TripsCountOutputTypeCountReservationsArgs
|
|
share_tokens?: boolean | TripsCountOutputTypeCountShare_tokensArgs
|
|
todo_category_assignees?: boolean | TripsCountOutputTypeCountTodo_category_assigneesArgs
|
|
todo_items?: boolean | TripsCountOutputTypeCountTodo_itemsArgs
|
|
trip_album_links?: boolean | TripsCountOutputTypeCountTrip_album_linksArgs
|
|
trip_files?: boolean | TripsCountOutputTypeCountTrip_filesArgs
|
|
trip_members?: boolean | TripsCountOutputTypeCountTrip_membersArgs
|
|
trip_photos?: boolean | TripsCountOutputTypeCountTrip_photosArgs
|
|
}
|
|
|
|
/**
|
|
* TripsCountOutputType without action
|
|
*/
|
|
export type TripsCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TripsCountOutputType
|
|
*/
|
|
select?: Prisma.TripsCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* TripsCountOutputType without action
|
|
*/
|
|
export type TripsCountOutputTypeCountBudget_category_orderArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.budget_category_orderWhereInput
|
|
}
|
|
|
|
/**
|
|
* TripsCountOutputType without action
|
|
*/
|
|
export type TripsCountOutputTypeCountBudget_itemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.budget_itemsWhereInput
|
|
}
|
|
|
|
/**
|
|
* TripsCountOutputType without action
|
|
*/
|
|
export type TripsCountOutputTypeCountCollab_messagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.collab_messagesWhereInput
|
|
}
|
|
|
|
/**
|
|
* TripsCountOutputType without action
|
|
*/
|
|
export type TripsCountOutputTypeCountCollab_notesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.collab_notesWhereInput
|
|
}
|
|
|
|
/**
|
|
* TripsCountOutputType without action
|
|
*/
|
|
export type TripsCountOutputTypeCountCollab_pollsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.collab_pollsWhereInput
|
|
}
|
|
|
|
/**
|
|
* TripsCountOutputType without action
|
|
*/
|
|
export type TripsCountOutputTypeCountDay_accommodationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.day_accommodationsWhereInput
|
|
}
|
|
|
|
/**
|
|
* TripsCountOutputType without action
|
|
*/
|
|
export type TripsCountOutputTypeCountDay_notesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.day_notesWhereInput
|
|
}
|
|
|
|
/**
|
|
* TripsCountOutputType without action
|
|
*/
|
|
export type TripsCountOutputTypeCountDaysArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.daysWhereInput
|
|
}
|
|
|
|
/**
|
|
* TripsCountOutputType without action
|
|
*/
|
|
export type TripsCountOutputTypeCountJourney_entriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.journey_entriesWhereInput
|
|
}
|
|
|
|
/**
|
|
* TripsCountOutputType without action
|
|
*/
|
|
export type TripsCountOutputTypeCountJourney_tripsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.journey_tripsWhereInput
|
|
}
|
|
|
|
/**
|
|
* TripsCountOutputType without action
|
|
*/
|
|
export type TripsCountOutputTypeCountPacking_bagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.packing_bagsWhereInput
|
|
}
|
|
|
|
/**
|
|
* TripsCountOutputType without action
|
|
*/
|
|
export type TripsCountOutputTypeCountPacking_category_assigneesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.packing_category_assigneesWhereInput
|
|
}
|
|
|
|
/**
|
|
* TripsCountOutputType without action
|
|
*/
|
|
export type TripsCountOutputTypeCountPacking_itemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.packing_itemsWhereInput
|
|
}
|
|
|
|
/**
|
|
* TripsCountOutputType without action
|
|
*/
|
|
export type TripsCountOutputTypeCountPhotosArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.photosWhereInput
|
|
}
|
|
|
|
/**
|
|
* TripsCountOutputType without action
|
|
*/
|
|
export type TripsCountOutputTypeCountPlacesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.placesWhereInput
|
|
}
|
|
|
|
/**
|
|
* TripsCountOutputType without action
|
|
*/
|
|
export type TripsCountOutputTypeCountReservationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.reservationsWhereInput
|
|
}
|
|
|
|
/**
|
|
* TripsCountOutputType without action
|
|
*/
|
|
export type TripsCountOutputTypeCountShare_tokensArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.share_tokensWhereInput
|
|
}
|
|
|
|
/**
|
|
* TripsCountOutputType without action
|
|
*/
|
|
export type TripsCountOutputTypeCountTodo_category_assigneesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.todo_category_assigneesWhereInput
|
|
}
|
|
|
|
/**
|
|
* TripsCountOutputType without action
|
|
*/
|
|
export type TripsCountOutputTypeCountTodo_itemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.todo_itemsWhereInput
|
|
}
|
|
|
|
/**
|
|
* TripsCountOutputType without action
|
|
*/
|
|
export type TripsCountOutputTypeCountTrip_album_linksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.trip_album_linksWhereInput
|
|
}
|
|
|
|
/**
|
|
* TripsCountOutputType without action
|
|
*/
|
|
export type TripsCountOutputTypeCountTrip_filesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.trip_filesWhereInput
|
|
}
|
|
|
|
/**
|
|
* TripsCountOutputType without action
|
|
*/
|
|
export type TripsCountOutputTypeCountTrip_membersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.trip_membersWhereInput
|
|
}
|
|
|
|
/**
|
|
* TripsCountOutputType without action
|
|
*/
|
|
export type TripsCountOutputTypeCountTrip_photosArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.trip_photosWhereInput
|
|
}
|
|
|
|
|
|
export type tripsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
user_id?: boolean
|
|
title?: boolean
|
|
description?: boolean
|
|
start_date?: boolean
|
|
end_date?: boolean
|
|
currency?: boolean
|
|
cover_image?: boolean
|
|
is_archived?: boolean
|
|
reminder_days?: boolean
|
|
created_at?: boolean
|
|
updated_at?: boolean
|
|
budget_category_order?: boolean | Prisma.trips$budget_category_orderArgs<ExtArgs>
|
|
budget_items?: boolean | Prisma.trips$budget_itemsArgs<ExtArgs>
|
|
collab_messages?: boolean | Prisma.trips$collab_messagesArgs<ExtArgs>
|
|
collab_notes?: boolean | Prisma.trips$collab_notesArgs<ExtArgs>
|
|
collab_polls?: boolean | Prisma.trips$collab_pollsArgs<ExtArgs>
|
|
day_accommodations?: boolean | Prisma.trips$day_accommodationsArgs<ExtArgs>
|
|
day_notes?: boolean | Prisma.trips$day_notesArgs<ExtArgs>
|
|
days?: boolean | Prisma.trips$daysArgs<ExtArgs>
|
|
journey_entries?: boolean | Prisma.trips$journey_entriesArgs<ExtArgs>
|
|
journey_trips?: boolean | Prisma.trips$journey_tripsArgs<ExtArgs>
|
|
packing_bags?: boolean | Prisma.trips$packing_bagsArgs<ExtArgs>
|
|
packing_category_assignees?: boolean | Prisma.trips$packing_category_assigneesArgs<ExtArgs>
|
|
packing_items?: boolean | Prisma.trips$packing_itemsArgs<ExtArgs>
|
|
photos?: boolean | Prisma.trips$photosArgs<ExtArgs>
|
|
places?: boolean | Prisma.trips$placesArgs<ExtArgs>
|
|
reservations?: boolean | Prisma.trips$reservationsArgs<ExtArgs>
|
|
share_tokens?: boolean | Prisma.trips$share_tokensArgs<ExtArgs>
|
|
todo_category_assignees?: boolean | Prisma.trips$todo_category_assigneesArgs<ExtArgs>
|
|
todo_items?: boolean | Prisma.trips$todo_itemsArgs<ExtArgs>
|
|
trip_album_links?: boolean | Prisma.trips$trip_album_linksArgs<ExtArgs>
|
|
trip_files?: boolean | Prisma.trips$trip_filesArgs<ExtArgs>
|
|
trip_members?: boolean | Prisma.trips$trip_membersArgs<ExtArgs>
|
|
trip_photos?: boolean | Prisma.trips$trip_photosArgs<ExtArgs>
|
|
users?: boolean | Prisma.usersDefaultArgs<ExtArgs>
|
|
_count?: boolean | Prisma.TripsCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["trips"]>
|
|
|
|
export type tripsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
user_id?: boolean
|
|
title?: boolean
|
|
description?: boolean
|
|
start_date?: boolean
|
|
end_date?: boolean
|
|
currency?: boolean
|
|
cover_image?: boolean
|
|
is_archived?: boolean
|
|
reminder_days?: boolean
|
|
created_at?: boolean
|
|
updated_at?: boolean
|
|
users?: boolean | Prisma.usersDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["trips"]>
|
|
|
|
export type tripsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
user_id?: boolean
|
|
title?: boolean
|
|
description?: boolean
|
|
start_date?: boolean
|
|
end_date?: boolean
|
|
currency?: boolean
|
|
cover_image?: boolean
|
|
is_archived?: boolean
|
|
reminder_days?: boolean
|
|
created_at?: boolean
|
|
updated_at?: boolean
|
|
users?: boolean | Prisma.usersDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["trips"]>
|
|
|
|
export type tripsSelectScalar = {
|
|
id?: boolean
|
|
user_id?: boolean
|
|
title?: boolean
|
|
description?: boolean
|
|
start_date?: boolean
|
|
end_date?: boolean
|
|
currency?: boolean
|
|
cover_image?: boolean
|
|
is_archived?: boolean
|
|
reminder_days?: boolean
|
|
created_at?: boolean
|
|
updated_at?: boolean
|
|
}
|
|
|
|
export type tripsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "user_id" | "title" | "description" | "start_date" | "end_date" | "currency" | "cover_image" | "is_archived" | "reminder_days" | "created_at" | "updated_at", ExtArgs["result"]["trips"]>
|
|
export type tripsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
budget_category_order?: boolean | Prisma.trips$budget_category_orderArgs<ExtArgs>
|
|
budget_items?: boolean | Prisma.trips$budget_itemsArgs<ExtArgs>
|
|
collab_messages?: boolean | Prisma.trips$collab_messagesArgs<ExtArgs>
|
|
collab_notes?: boolean | Prisma.trips$collab_notesArgs<ExtArgs>
|
|
collab_polls?: boolean | Prisma.trips$collab_pollsArgs<ExtArgs>
|
|
day_accommodations?: boolean | Prisma.trips$day_accommodationsArgs<ExtArgs>
|
|
day_notes?: boolean | Prisma.trips$day_notesArgs<ExtArgs>
|
|
days?: boolean | Prisma.trips$daysArgs<ExtArgs>
|
|
journey_entries?: boolean | Prisma.trips$journey_entriesArgs<ExtArgs>
|
|
journey_trips?: boolean | Prisma.trips$journey_tripsArgs<ExtArgs>
|
|
packing_bags?: boolean | Prisma.trips$packing_bagsArgs<ExtArgs>
|
|
packing_category_assignees?: boolean | Prisma.trips$packing_category_assigneesArgs<ExtArgs>
|
|
packing_items?: boolean | Prisma.trips$packing_itemsArgs<ExtArgs>
|
|
photos?: boolean | Prisma.trips$photosArgs<ExtArgs>
|
|
places?: boolean | Prisma.trips$placesArgs<ExtArgs>
|
|
reservations?: boolean | Prisma.trips$reservationsArgs<ExtArgs>
|
|
share_tokens?: boolean | Prisma.trips$share_tokensArgs<ExtArgs>
|
|
todo_category_assignees?: boolean | Prisma.trips$todo_category_assigneesArgs<ExtArgs>
|
|
todo_items?: boolean | Prisma.trips$todo_itemsArgs<ExtArgs>
|
|
trip_album_links?: boolean | Prisma.trips$trip_album_linksArgs<ExtArgs>
|
|
trip_files?: boolean | Prisma.trips$trip_filesArgs<ExtArgs>
|
|
trip_members?: boolean | Prisma.trips$trip_membersArgs<ExtArgs>
|
|
trip_photos?: boolean | Prisma.trips$trip_photosArgs<ExtArgs>
|
|
users?: boolean | Prisma.usersDefaultArgs<ExtArgs>
|
|
_count?: boolean | Prisma.TripsCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type tripsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
users?: boolean | Prisma.usersDefaultArgs<ExtArgs>
|
|
}
|
|
export type tripsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
users?: boolean | Prisma.usersDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $tripsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "trips"
|
|
objects: {
|
|
budget_category_order: Prisma.$budget_category_orderPayload<ExtArgs>[]
|
|
budget_items: Prisma.$budget_itemsPayload<ExtArgs>[]
|
|
collab_messages: Prisma.$collab_messagesPayload<ExtArgs>[]
|
|
collab_notes: Prisma.$collab_notesPayload<ExtArgs>[]
|
|
collab_polls: Prisma.$collab_pollsPayload<ExtArgs>[]
|
|
day_accommodations: Prisma.$day_accommodationsPayload<ExtArgs>[]
|
|
day_notes: Prisma.$day_notesPayload<ExtArgs>[]
|
|
days: Prisma.$daysPayload<ExtArgs>[]
|
|
journey_entries: Prisma.$journey_entriesPayload<ExtArgs>[]
|
|
journey_trips: Prisma.$journey_tripsPayload<ExtArgs>[]
|
|
packing_bags: Prisma.$packing_bagsPayload<ExtArgs>[]
|
|
packing_category_assignees: Prisma.$packing_category_assigneesPayload<ExtArgs>[]
|
|
packing_items: Prisma.$packing_itemsPayload<ExtArgs>[]
|
|
photos: Prisma.$photosPayload<ExtArgs>[]
|
|
places: Prisma.$placesPayload<ExtArgs>[]
|
|
reservations: Prisma.$reservationsPayload<ExtArgs>[]
|
|
share_tokens: Prisma.$share_tokensPayload<ExtArgs>[]
|
|
todo_category_assignees: Prisma.$todo_category_assigneesPayload<ExtArgs>[]
|
|
todo_items: Prisma.$todo_itemsPayload<ExtArgs>[]
|
|
trip_album_links: Prisma.$trip_album_linksPayload<ExtArgs>[]
|
|
trip_files: Prisma.$trip_filesPayload<ExtArgs>[]
|
|
trip_members: Prisma.$trip_membersPayload<ExtArgs>[]
|
|
trip_photos: Prisma.$trip_photosPayload<ExtArgs>[]
|
|
users: Prisma.$usersPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: number
|
|
user_id: number
|
|
title: string
|
|
description: string | null
|
|
start_date: string | null
|
|
end_date: string | null
|
|
currency: string | null
|
|
cover_image: string | null
|
|
is_archived: number | null
|
|
reminder_days: number | null
|
|
created_at: Date | null
|
|
updated_at: Date | null
|
|
}, ExtArgs["result"]["trips"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type tripsGetPayload<S extends boolean | null | undefined | tripsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$tripsPayload, S>
|
|
|
|
export type tripsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<tripsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: TripsCountAggregateInputType | true
|
|
}
|
|
|
|
export interface tripsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['trips'], meta: { name: 'trips' } }
|
|
/**
|
|
* Find zero or one Trips that matches the filter.
|
|
* @param {tripsFindUniqueArgs} args - Arguments to find a Trips
|
|
* @example
|
|
* // Get one Trips
|
|
* const trips = await prisma.trips.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends tripsFindUniqueArgs>(args: Prisma.SelectSubset<T, tripsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__tripsClient<runtime.Types.Result.GetResult<Prisma.$tripsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one Trips that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {tripsFindUniqueOrThrowArgs} args - Arguments to find a Trips
|
|
* @example
|
|
* // Get one Trips
|
|
* const trips = await prisma.trips.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends tripsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, tripsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__tripsClient<runtime.Types.Result.GetResult<Prisma.$tripsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Trips 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 {tripsFindFirstArgs} args - Arguments to find a Trips
|
|
* @example
|
|
* // Get one Trips
|
|
* const trips = await prisma.trips.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends tripsFindFirstArgs>(args?: Prisma.SelectSubset<T, tripsFindFirstArgs<ExtArgs>>): Prisma.Prisma__tripsClient<runtime.Types.Result.GetResult<Prisma.$tripsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Trips 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 {tripsFindFirstOrThrowArgs} args - Arguments to find a Trips
|
|
* @example
|
|
* // Get one Trips
|
|
* const trips = await prisma.trips.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends tripsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, tripsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__tripsClient<runtime.Types.Result.GetResult<Prisma.$tripsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more Trips 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 {tripsFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all Trips
|
|
* const trips = await prisma.trips.findMany()
|
|
*
|
|
* // Get first 10 Trips
|
|
* const trips = await prisma.trips.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const tripsWithIdOnly = await prisma.trips.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends tripsFindManyArgs>(args?: Prisma.SelectSubset<T, tripsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$tripsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a Trips.
|
|
* @param {tripsCreateArgs} args - Arguments to create a Trips.
|
|
* @example
|
|
* // Create one Trips
|
|
* const Trips = await prisma.trips.create({
|
|
* data: {
|
|
* // ... data to create a Trips
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends tripsCreateArgs>(args: Prisma.SelectSubset<T, tripsCreateArgs<ExtArgs>>): Prisma.Prisma__tripsClient<runtime.Types.Result.GetResult<Prisma.$tripsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many Trips.
|
|
* @param {tripsCreateManyArgs} args - Arguments to create many Trips.
|
|
* @example
|
|
* // Create many Trips
|
|
* const trips = await prisma.trips.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends tripsCreateManyArgs>(args?: Prisma.SelectSubset<T, tripsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many Trips and returns the data saved in the database.
|
|
* @param {tripsCreateManyAndReturnArgs} args - Arguments to create many Trips.
|
|
* @example
|
|
* // Create many Trips
|
|
* const trips = await prisma.trips.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many Trips and only return the `id`
|
|
* const tripsWithIdOnly = await prisma.trips.createManyAndReturn({
|
|
* select: { id: true },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
*
|
|
*/
|
|
createManyAndReturn<T extends tripsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, tripsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$tripsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a Trips.
|
|
* @param {tripsDeleteArgs} args - Arguments to delete one Trips.
|
|
* @example
|
|
* // Delete one Trips
|
|
* const Trips = await prisma.trips.delete({
|
|
* where: {
|
|
* // ... filter to delete one Trips
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends tripsDeleteArgs>(args: Prisma.SelectSubset<T, tripsDeleteArgs<ExtArgs>>): Prisma.Prisma__tripsClient<runtime.Types.Result.GetResult<Prisma.$tripsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one Trips.
|
|
* @param {tripsUpdateArgs} args - Arguments to update one Trips.
|
|
* @example
|
|
* // Update one Trips
|
|
* const trips = await prisma.trips.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends tripsUpdateArgs>(args: Prisma.SelectSubset<T, tripsUpdateArgs<ExtArgs>>): Prisma.Prisma__tripsClient<runtime.Types.Result.GetResult<Prisma.$tripsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more Trips.
|
|
* @param {tripsDeleteManyArgs} args - Arguments to filter Trips to delete.
|
|
* @example
|
|
* // Delete a few Trips
|
|
* const { count } = await prisma.trips.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends tripsDeleteManyArgs>(args?: Prisma.SelectSubset<T, tripsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Trips.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {tripsUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many Trips
|
|
* const trips = await prisma.trips.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends tripsUpdateManyArgs>(args: Prisma.SelectSubset<T, tripsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Trips and returns the data updated in the database.
|
|
* @param {tripsUpdateManyAndReturnArgs} args - Arguments to update many Trips.
|
|
* @example
|
|
* // Update many Trips
|
|
* const trips = await prisma.trips.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more Trips and only return the `id`
|
|
* const tripsWithIdOnly = await prisma.trips.updateManyAndReturn({
|
|
* select: { id: true },
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
*
|
|
*/
|
|
updateManyAndReturn<T extends tripsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, tripsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$tripsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one Trips.
|
|
* @param {tripsUpsertArgs} args - Arguments to update or create a Trips.
|
|
* @example
|
|
* // Update or create a Trips
|
|
* const trips = await prisma.trips.upsert({
|
|
* create: {
|
|
* // ... data to create a Trips
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the Trips we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends tripsUpsertArgs>(args: Prisma.SelectSubset<T, tripsUpsertArgs<ExtArgs>>): Prisma.Prisma__tripsClient<runtime.Types.Result.GetResult<Prisma.$tripsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of Trips.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {tripsCountArgs} args - Arguments to filter Trips to count.
|
|
* @example
|
|
* // Count the number of Trips
|
|
* const count = await prisma.trips.count({
|
|
* where: {
|
|
* // ... the filter for the Trips we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends tripsCountArgs>(
|
|
args?: Prisma.Subset<T, tripsCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], TripsCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a Trips.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {TripsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
* @example
|
|
* // Ordered by age ascending
|
|
* // Where email contains prisma.io
|
|
* // Limited to the 10 users
|
|
* const aggregations = await prisma.user.aggregate({
|
|
* _avg: {
|
|
* age: true,
|
|
* },
|
|
* where: {
|
|
* email: {
|
|
* contains: "prisma.io",
|
|
* },
|
|
* },
|
|
* orderBy: {
|
|
* age: "asc",
|
|
* },
|
|
* take: 10,
|
|
* })
|
|
**/
|
|
aggregate<T extends TripsAggregateArgs>(args: Prisma.Subset<T, TripsAggregateArgs>): Prisma.PrismaPromise<GetTripsAggregateType<T>>
|
|
|
|
/**
|
|
* Group by Trips.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {tripsGroupByArgs} 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 tripsGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: tripsGroupByArgs['orderBy'] }
|
|
: { orderBy?: tripsGroupByArgs['orderBy'] },
|
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
InputErrors extends ByEmpty extends Prisma.True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends Prisma.False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: Prisma.SubsetIntersection<T, tripsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTripsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the trips model
|
|
*/
|
|
readonly fields: tripsFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for trips.
|
|
* 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__tripsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
budget_category_order<T extends Prisma.trips$budget_category_orderArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.trips$budget_category_orderArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$budget_category_orderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
budget_items<T extends Prisma.trips$budget_itemsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.trips$budget_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$budget_itemsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
collab_messages<T extends Prisma.trips$collab_messagesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.trips$collab_messagesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$collab_messagesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
collab_notes<T extends Prisma.trips$collab_notesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.trips$collab_notesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$collab_notesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
collab_polls<T extends Prisma.trips$collab_pollsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.trips$collab_pollsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$collab_pollsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
day_accommodations<T extends Prisma.trips$day_accommodationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.trips$day_accommodationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$day_accommodationsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
day_notes<T extends Prisma.trips$day_notesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.trips$day_notesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$day_notesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
days<T extends Prisma.trips$daysArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.trips$daysArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$daysPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
journey_entries<T extends Prisma.trips$journey_entriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.trips$journey_entriesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$journey_entriesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
journey_trips<T extends Prisma.trips$journey_tripsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.trips$journey_tripsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$journey_tripsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
packing_bags<T extends Prisma.trips$packing_bagsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.trips$packing_bagsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$packing_bagsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
packing_category_assignees<T extends Prisma.trips$packing_category_assigneesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.trips$packing_category_assigneesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$packing_category_assigneesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
packing_items<T extends Prisma.trips$packing_itemsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.trips$packing_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$packing_itemsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
photos<T extends Prisma.trips$photosArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.trips$photosArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$photosPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
places<T extends Prisma.trips$placesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.trips$placesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$placesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
reservations<T extends Prisma.trips$reservationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.trips$reservationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$reservationsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
share_tokens<T extends Prisma.trips$share_tokensArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.trips$share_tokensArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$share_tokensPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
todo_category_assignees<T extends Prisma.trips$todo_category_assigneesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.trips$todo_category_assigneesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$todo_category_assigneesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
todo_items<T extends Prisma.trips$todo_itemsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.trips$todo_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$todo_itemsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
trip_album_links<T extends Prisma.trips$trip_album_linksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.trips$trip_album_linksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$trip_album_linksPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
trip_files<T extends Prisma.trips$trip_filesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.trips$trip_filesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$trip_filesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
trip_members<T extends Prisma.trips$trip_membersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.trips$trip_membersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$trip_membersPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
trip_photos<T extends Prisma.trips$trip_photosArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.trips$trip_photosArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$trip_photosPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
users<T extends Prisma.usersDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.usersDefaultArgs<ExtArgs>>): Prisma.Prisma__usersClient<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the trips model
|
|
*/
|
|
export interface tripsFieldRefs {
|
|
readonly id: Prisma.FieldRef<"trips", 'Int'>
|
|
readonly user_id: Prisma.FieldRef<"trips", 'Int'>
|
|
readonly title: Prisma.FieldRef<"trips", 'String'>
|
|
readonly description: Prisma.FieldRef<"trips", 'String'>
|
|
readonly start_date: Prisma.FieldRef<"trips", 'String'>
|
|
readonly end_date: Prisma.FieldRef<"trips", 'String'>
|
|
readonly currency: Prisma.FieldRef<"trips", 'String'>
|
|
readonly cover_image: Prisma.FieldRef<"trips", 'String'>
|
|
readonly is_archived: Prisma.FieldRef<"trips", 'Int'>
|
|
readonly reminder_days: Prisma.FieldRef<"trips", 'Int'>
|
|
readonly created_at: Prisma.FieldRef<"trips", 'DateTime'>
|
|
readonly updated_at: Prisma.FieldRef<"trips", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* trips findUnique
|
|
*/
|
|
export type tripsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trips
|
|
*/
|
|
select?: Prisma.tripsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the trips
|
|
*/
|
|
omit?: Prisma.tripsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.tripsInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which trips to fetch.
|
|
*/
|
|
where: Prisma.tripsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* trips findUniqueOrThrow
|
|
*/
|
|
export type tripsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trips
|
|
*/
|
|
select?: Prisma.tripsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the trips
|
|
*/
|
|
omit?: Prisma.tripsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.tripsInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which trips to fetch.
|
|
*/
|
|
where: Prisma.tripsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* trips findFirst
|
|
*/
|
|
export type tripsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trips
|
|
*/
|
|
select?: Prisma.tripsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the trips
|
|
*/
|
|
omit?: Prisma.tripsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.tripsInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which trips to fetch.
|
|
*/
|
|
where?: Prisma.tripsWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of trips to fetch.
|
|
*/
|
|
orderBy?: Prisma.tripsOrderByWithRelationInput | Prisma.tripsOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for trips.
|
|
*/
|
|
cursor?: Prisma.tripsWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` trips 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` trips.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of trips.
|
|
*/
|
|
distinct?: Prisma.TripsScalarFieldEnum | Prisma.TripsScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* trips findFirstOrThrow
|
|
*/
|
|
export type tripsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trips
|
|
*/
|
|
select?: Prisma.tripsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the trips
|
|
*/
|
|
omit?: Prisma.tripsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.tripsInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which trips to fetch.
|
|
*/
|
|
where?: Prisma.tripsWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of trips to fetch.
|
|
*/
|
|
orderBy?: Prisma.tripsOrderByWithRelationInput | Prisma.tripsOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for trips.
|
|
*/
|
|
cursor?: Prisma.tripsWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` trips 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` trips.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of trips.
|
|
*/
|
|
distinct?: Prisma.TripsScalarFieldEnum | Prisma.TripsScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* trips findMany
|
|
*/
|
|
export type tripsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trips
|
|
*/
|
|
select?: Prisma.tripsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the trips
|
|
*/
|
|
omit?: Prisma.tripsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.tripsInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which trips to fetch.
|
|
*/
|
|
where?: Prisma.tripsWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of trips to fetch.
|
|
*/
|
|
orderBy?: Prisma.tripsOrderByWithRelationInput | Prisma.tripsOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing trips.
|
|
*/
|
|
cursor?: Prisma.tripsWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` trips 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` trips.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of trips.
|
|
*/
|
|
distinct?: Prisma.TripsScalarFieldEnum | Prisma.TripsScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* trips create
|
|
*/
|
|
export type tripsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trips
|
|
*/
|
|
select?: Prisma.tripsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the trips
|
|
*/
|
|
omit?: Prisma.tripsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.tripsInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a trips.
|
|
*/
|
|
data: Prisma.XOR<Prisma.tripsCreateInput, Prisma.tripsUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* trips createMany
|
|
*/
|
|
export type tripsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many trips.
|
|
*/
|
|
data: Prisma.tripsCreateManyInput | Prisma.tripsCreateManyInput[]
|
|
}
|
|
|
|
/**
|
|
* trips createManyAndReturn
|
|
*/
|
|
export type tripsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trips
|
|
*/
|
|
select?: Prisma.tripsSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the trips
|
|
*/
|
|
omit?: Prisma.tripsOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many trips.
|
|
*/
|
|
data: Prisma.tripsCreateManyInput | Prisma.tripsCreateManyInput[]
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.tripsIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* trips update
|
|
*/
|
|
export type tripsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trips
|
|
*/
|
|
select?: Prisma.tripsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the trips
|
|
*/
|
|
omit?: Prisma.tripsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.tripsInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a trips.
|
|
*/
|
|
data: Prisma.XOR<Prisma.tripsUpdateInput, Prisma.tripsUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which trips to update.
|
|
*/
|
|
where: Prisma.tripsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* trips updateMany
|
|
*/
|
|
export type tripsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update trips.
|
|
*/
|
|
data: Prisma.XOR<Prisma.tripsUpdateManyMutationInput, Prisma.tripsUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which trips to update
|
|
*/
|
|
where?: Prisma.tripsWhereInput
|
|
/**
|
|
* Limit how many trips to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* trips updateManyAndReturn
|
|
*/
|
|
export type tripsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trips
|
|
*/
|
|
select?: Prisma.tripsSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the trips
|
|
*/
|
|
omit?: Prisma.tripsOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update trips.
|
|
*/
|
|
data: Prisma.XOR<Prisma.tripsUpdateManyMutationInput, Prisma.tripsUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which trips to update
|
|
*/
|
|
where?: Prisma.tripsWhereInput
|
|
/**
|
|
* Limit how many trips to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.tripsIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* trips upsert
|
|
*/
|
|
export type tripsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trips
|
|
*/
|
|
select?: Prisma.tripsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the trips
|
|
*/
|
|
omit?: Prisma.tripsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.tripsInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the trips to update in case it exists.
|
|
*/
|
|
where: Prisma.tripsWhereUniqueInput
|
|
/**
|
|
* In case the trips found by the `where` argument doesn't exist, create a new trips with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.tripsCreateInput, Prisma.tripsUncheckedCreateInput>
|
|
/**
|
|
* In case the trips was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.tripsUpdateInput, Prisma.tripsUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* trips delete
|
|
*/
|
|
export type tripsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trips
|
|
*/
|
|
select?: Prisma.tripsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the trips
|
|
*/
|
|
omit?: Prisma.tripsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.tripsInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which trips to delete.
|
|
*/
|
|
where: Prisma.tripsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* trips deleteMany
|
|
*/
|
|
export type tripsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which trips to delete
|
|
*/
|
|
where?: Prisma.tripsWhereInput
|
|
/**
|
|
* Limit how many trips to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* trips.budget_category_order
|
|
*/
|
|
export type trips$budget_category_orderArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the budget_category_order
|
|
*/
|
|
select?: Prisma.budget_category_orderSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the budget_category_order
|
|
*/
|
|
omit?: Prisma.budget_category_orderOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.budget_category_orderInclude<ExtArgs> | null
|
|
where?: Prisma.budget_category_orderWhereInput
|
|
orderBy?: Prisma.budget_category_orderOrderByWithRelationInput | Prisma.budget_category_orderOrderByWithRelationInput[]
|
|
cursor?: Prisma.budget_category_orderWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.Budget_category_orderScalarFieldEnum | Prisma.Budget_category_orderScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* trips.budget_items
|
|
*/
|
|
export type trips$budget_itemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the budget_items
|
|
*/
|
|
select?: Prisma.budget_itemsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the budget_items
|
|
*/
|
|
omit?: Prisma.budget_itemsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.budget_itemsInclude<ExtArgs> | null
|
|
where?: Prisma.budget_itemsWhereInput
|
|
orderBy?: Prisma.budget_itemsOrderByWithRelationInput | Prisma.budget_itemsOrderByWithRelationInput[]
|
|
cursor?: Prisma.budget_itemsWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.Budget_itemsScalarFieldEnum | Prisma.Budget_itemsScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* trips.collab_messages
|
|
*/
|
|
export type trips$collab_messagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the collab_messages
|
|
*/
|
|
select?: Prisma.collab_messagesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the collab_messages
|
|
*/
|
|
omit?: Prisma.collab_messagesOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.collab_messagesInclude<ExtArgs> | null
|
|
where?: Prisma.collab_messagesWhereInput
|
|
orderBy?: Prisma.collab_messagesOrderByWithRelationInput | Prisma.collab_messagesOrderByWithRelationInput[]
|
|
cursor?: Prisma.collab_messagesWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.Collab_messagesScalarFieldEnum | Prisma.Collab_messagesScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* trips.collab_notes
|
|
*/
|
|
export type trips$collab_notesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the collab_notes
|
|
*/
|
|
select?: Prisma.collab_notesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the collab_notes
|
|
*/
|
|
omit?: Prisma.collab_notesOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.collab_notesInclude<ExtArgs> | null
|
|
where?: Prisma.collab_notesWhereInput
|
|
orderBy?: Prisma.collab_notesOrderByWithRelationInput | Prisma.collab_notesOrderByWithRelationInput[]
|
|
cursor?: Prisma.collab_notesWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.Collab_notesScalarFieldEnum | Prisma.Collab_notesScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* trips.collab_polls
|
|
*/
|
|
export type trips$collab_pollsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the collab_polls
|
|
*/
|
|
select?: Prisma.collab_pollsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the collab_polls
|
|
*/
|
|
omit?: Prisma.collab_pollsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.collab_pollsInclude<ExtArgs> | null
|
|
where?: Prisma.collab_pollsWhereInput
|
|
orderBy?: Prisma.collab_pollsOrderByWithRelationInput | Prisma.collab_pollsOrderByWithRelationInput[]
|
|
cursor?: Prisma.collab_pollsWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.Collab_pollsScalarFieldEnum | Prisma.Collab_pollsScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* trips.day_accommodations
|
|
*/
|
|
export type trips$day_accommodationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the day_accommodations
|
|
*/
|
|
select?: Prisma.day_accommodationsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the day_accommodations
|
|
*/
|
|
omit?: Prisma.day_accommodationsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.day_accommodationsInclude<ExtArgs> | null
|
|
where?: Prisma.day_accommodationsWhereInput
|
|
orderBy?: Prisma.day_accommodationsOrderByWithRelationInput | Prisma.day_accommodationsOrderByWithRelationInput[]
|
|
cursor?: Prisma.day_accommodationsWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.Day_accommodationsScalarFieldEnum | Prisma.Day_accommodationsScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* trips.day_notes
|
|
*/
|
|
export type trips$day_notesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the day_notes
|
|
*/
|
|
select?: Prisma.day_notesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the day_notes
|
|
*/
|
|
omit?: Prisma.day_notesOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.day_notesInclude<ExtArgs> | null
|
|
where?: Prisma.day_notesWhereInput
|
|
orderBy?: Prisma.day_notesOrderByWithRelationInput | Prisma.day_notesOrderByWithRelationInput[]
|
|
cursor?: Prisma.day_notesWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.Day_notesScalarFieldEnum | Prisma.Day_notesScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* trips.days
|
|
*/
|
|
export type trips$daysArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the days
|
|
*/
|
|
select?: Prisma.daysSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the days
|
|
*/
|
|
omit?: Prisma.daysOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.daysInclude<ExtArgs> | null
|
|
where?: Prisma.daysWhereInput
|
|
orderBy?: Prisma.daysOrderByWithRelationInput | Prisma.daysOrderByWithRelationInput[]
|
|
cursor?: Prisma.daysWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.DaysScalarFieldEnum | Prisma.DaysScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* trips.journey_entries
|
|
*/
|
|
export type trips$journey_entriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the journey_entries
|
|
*/
|
|
select?: Prisma.journey_entriesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the journey_entries
|
|
*/
|
|
omit?: Prisma.journey_entriesOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.journey_entriesInclude<ExtArgs> | 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[]
|
|
}
|
|
|
|
/**
|
|
* trips.journey_trips
|
|
*/
|
|
export type trips$journey_tripsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the journey_trips
|
|
*/
|
|
select?: Prisma.journey_tripsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the journey_trips
|
|
*/
|
|
omit?: Prisma.journey_tripsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.journey_tripsInclude<ExtArgs> | 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[]
|
|
}
|
|
|
|
/**
|
|
* trips.packing_bags
|
|
*/
|
|
export type trips$packing_bagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the packing_bags
|
|
*/
|
|
select?: Prisma.packing_bagsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the packing_bags
|
|
*/
|
|
omit?: Prisma.packing_bagsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.packing_bagsInclude<ExtArgs> | null
|
|
where?: Prisma.packing_bagsWhereInput
|
|
orderBy?: Prisma.packing_bagsOrderByWithRelationInput | Prisma.packing_bagsOrderByWithRelationInput[]
|
|
cursor?: Prisma.packing_bagsWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.Packing_bagsScalarFieldEnum | Prisma.Packing_bagsScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* trips.packing_category_assignees
|
|
*/
|
|
export type trips$packing_category_assigneesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the packing_category_assignees
|
|
*/
|
|
select?: Prisma.packing_category_assigneesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the packing_category_assignees
|
|
*/
|
|
omit?: Prisma.packing_category_assigneesOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.packing_category_assigneesInclude<ExtArgs> | null
|
|
where?: Prisma.packing_category_assigneesWhereInput
|
|
orderBy?: Prisma.packing_category_assigneesOrderByWithRelationInput | Prisma.packing_category_assigneesOrderByWithRelationInput[]
|
|
cursor?: Prisma.packing_category_assigneesWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.Packing_category_assigneesScalarFieldEnum | Prisma.Packing_category_assigneesScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* trips.packing_items
|
|
*/
|
|
export type trips$packing_itemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the packing_items
|
|
*/
|
|
select?: Prisma.packing_itemsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the packing_items
|
|
*/
|
|
omit?: Prisma.packing_itemsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.packing_itemsInclude<ExtArgs> | null
|
|
where?: Prisma.packing_itemsWhereInput
|
|
orderBy?: Prisma.packing_itemsOrderByWithRelationInput | Prisma.packing_itemsOrderByWithRelationInput[]
|
|
cursor?: Prisma.packing_itemsWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.Packing_itemsScalarFieldEnum | Prisma.Packing_itemsScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* trips.photos
|
|
*/
|
|
export type trips$photosArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the photos
|
|
*/
|
|
select?: Prisma.photosSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the photos
|
|
*/
|
|
omit?: Prisma.photosOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.photosInclude<ExtArgs> | null
|
|
where?: Prisma.photosWhereInput
|
|
orderBy?: Prisma.photosOrderByWithRelationInput | Prisma.photosOrderByWithRelationInput[]
|
|
cursor?: Prisma.photosWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.PhotosScalarFieldEnum | Prisma.PhotosScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* trips.places
|
|
*/
|
|
export type trips$placesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the places
|
|
*/
|
|
select?: Prisma.placesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the places
|
|
*/
|
|
omit?: Prisma.placesOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.placesInclude<ExtArgs> | null
|
|
where?: Prisma.placesWhereInput
|
|
orderBy?: Prisma.placesOrderByWithRelationInput | Prisma.placesOrderByWithRelationInput[]
|
|
cursor?: Prisma.placesWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.PlacesScalarFieldEnum | Prisma.PlacesScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* trips.reservations
|
|
*/
|
|
export type trips$reservationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the reservations
|
|
*/
|
|
select?: Prisma.reservationsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the reservations
|
|
*/
|
|
omit?: Prisma.reservationsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.reservationsInclude<ExtArgs> | null
|
|
where?: Prisma.reservationsWhereInput
|
|
orderBy?: Prisma.reservationsOrderByWithRelationInput | Prisma.reservationsOrderByWithRelationInput[]
|
|
cursor?: Prisma.reservationsWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.ReservationsScalarFieldEnum | Prisma.ReservationsScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* trips.share_tokens
|
|
*/
|
|
export type trips$share_tokensArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the share_tokens
|
|
*/
|
|
select?: Prisma.share_tokensSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the share_tokens
|
|
*/
|
|
omit?: Prisma.share_tokensOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.share_tokensInclude<ExtArgs> | null
|
|
where?: Prisma.share_tokensWhereInput
|
|
orderBy?: Prisma.share_tokensOrderByWithRelationInput | Prisma.share_tokensOrderByWithRelationInput[]
|
|
cursor?: Prisma.share_tokensWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.Share_tokensScalarFieldEnum | Prisma.Share_tokensScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* trips.todo_category_assignees
|
|
*/
|
|
export type trips$todo_category_assigneesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the todo_category_assignees
|
|
*/
|
|
select?: Prisma.todo_category_assigneesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the todo_category_assignees
|
|
*/
|
|
omit?: Prisma.todo_category_assigneesOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.todo_category_assigneesInclude<ExtArgs> | null
|
|
where?: Prisma.todo_category_assigneesWhereInput
|
|
orderBy?: Prisma.todo_category_assigneesOrderByWithRelationInput | Prisma.todo_category_assigneesOrderByWithRelationInput[]
|
|
cursor?: Prisma.todo_category_assigneesWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.Todo_category_assigneesScalarFieldEnum | Prisma.Todo_category_assigneesScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* trips.todo_items
|
|
*/
|
|
export type trips$todo_itemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the todo_items
|
|
*/
|
|
select?: Prisma.todo_itemsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the todo_items
|
|
*/
|
|
omit?: Prisma.todo_itemsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.todo_itemsInclude<ExtArgs> | null
|
|
where?: Prisma.todo_itemsWhereInput
|
|
orderBy?: Prisma.todo_itemsOrderByWithRelationInput | Prisma.todo_itemsOrderByWithRelationInput[]
|
|
cursor?: Prisma.todo_itemsWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.Todo_itemsScalarFieldEnum | Prisma.Todo_itemsScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* trips.trip_album_links
|
|
*/
|
|
export type trips$trip_album_linksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trip_album_links
|
|
*/
|
|
select?: Prisma.trip_album_linksSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the trip_album_links
|
|
*/
|
|
omit?: Prisma.trip_album_linksOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.trip_album_linksInclude<ExtArgs> | null
|
|
where?: Prisma.trip_album_linksWhereInput
|
|
orderBy?: Prisma.trip_album_linksOrderByWithRelationInput | Prisma.trip_album_linksOrderByWithRelationInput[]
|
|
cursor?: Prisma.trip_album_linksWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.Trip_album_linksScalarFieldEnum | Prisma.Trip_album_linksScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* trips.trip_files
|
|
*/
|
|
export type trips$trip_filesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trip_files
|
|
*/
|
|
select?: Prisma.trip_filesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the trip_files
|
|
*/
|
|
omit?: Prisma.trip_filesOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.trip_filesInclude<ExtArgs> | null
|
|
where?: Prisma.trip_filesWhereInput
|
|
orderBy?: Prisma.trip_filesOrderByWithRelationInput | Prisma.trip_filesOrderByWithRelationInput[]
|
|
cursor?: Prisma.trip_filesWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.Trip_filesScalarFieldEnum | Prisma.Trip_filesScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* trips.trip_members
|
|
*/
|
|
export type trips$trip_membersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trip_members
|
|
*/
|
|
select?: Prisma.trip_membersSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the trip_members
|
|
*/
|
|
omit?: Prisma.trip_membersOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.trip_membersInclude<ExtArgs> | null
|
|
where?: Prisma.trip_membersWhereInput
|
|
orderBy?: Prisma.trip_membersOrderByWithRelationInput | Prisma.trip_membersOrderByWithRelationInput[]
|
|
cursor?: Prisma.trip_membersWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.Trip_membersScalarFieldEnum | Prisma.Trip_membersScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* trips.trip_photos
|
|
*/
|
|
export type trips$trip_photosArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trip_photos
|
|
*/
|
|
select?: Prisma.trip_photosSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the trip_photos
|
|
*/
|
|
omit?: Prisma.trip_photosOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.trip_photosInclude<ExtArgs> | null
|
|
where?: Prisma.trip_photosWhereInput
|
|
orderBy?: Prisma.trip_photosOrderByWithRelationInput | Prisma.trip_photosOrderByWithRelationInput[]
|
|
cursor?: Prisma.trip_photosWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.Trip_photosScalarFieldEnum | Prisma.Trip_photosScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* trips without action
|
|
*/
|
|
export type tripsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trips
|
|
*/
|
|
select?: Prisma.tripsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the trips
|
|
*/
|
|
omit?: Prisma.tripsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.tripsInclude<ExtArgs> | null
|
|
}
|