Files
2026-07-08 16:15:37 +02:00

1726 lines
66 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 `ScheduleEntry` model and its related types.
*
* 🟢 You can import this file directly.
*/
import type * as runtime from "@prisma/client/runtime/client"
import type * as $Enums from "../enums.ts"
import type * as Prisma from "../internal/prismaNamespace.ts"
/**
* Model ScheduleEntry
*
*/
export type ScheduleEntryModel = runtime.Types.Result.DefaultSelection<Prisma.$ScheduleEntryPayload>
export type AggregateScheduleEntry = {
_count: ScheduleEntryCountAggregateOutputType | null
_min: ScheduleEntryMinAggregateOutputType | null
_max: ScheduleEntryMaxAggregateOutputType | null
}
export type ScheduleEntryMinAggregateOutputType = {
id: string | null
tenantId: string | null
projektId: string | null
assignedUserId: string | null
createdByUserId: string | null
title: string | null
startAt: Date | null
endAt: Date | null
status: $Enums.ScheduleEntryStatus | null
calendarEventId: string | null
syncStatus: $Enums.ScheduleSyncStatus | null
conflictOverrideReason: string | null
clientMutationId: string | null
isDemoData: boolean | null
createdAt: Date | null
updatedAt: Date | null
archivedAt: Date | null
}
export type ScheduleEntryMaxAggregateOutputType = {
id: string | null
tenantId: string | null
projektId: string | null
assignedUserId: string | null
createdByUserId: string | null
title: string | null
startAt: Date | null
endAt: Date | null
status: $Enums.ScheduleEntryStatus | null
calendarEventId: string | null
syncStatus: $Enums.ScheduleSyncStatus | null
conflictOverrideReason: string | null
clientMutationId: string | null
isDemoData: boolean | null
createdAt: Date | null
updatedAt: Date | null
archivedAt: Date | null
}
export type ScheduleEntryCountAggregateOutputType = {
id: number
tenantId: number
projektId: number
assignedUserId: number
createdByUserId: number
title: number
startAt: number
endAt: number
status: number
calendarEventId: number
syncStatus: number
conflictOverrideReason: number
clientMutationId: number
isDemoData: number
createdAt: number
updatedAt: number
archivedAt: number
_all: number
}
export type ScheduleEntryMinAggregateInputType = {
id?: true
tenantId?: true
projektId?: true
assignedUserId?: true
createdByUserId?: true
title?: true
startAt?: true
endAt?: true
status?: true
calendarEventId?: true
syncStatus?: true
conflictOverrideReason?: true
clientMutationId?: true
isDemoData?: true
createdAt?: true
updatedAt?: true
archivedAt?: true
}
export type ScheduleEntryMaxAggregateInputType = {
id?: true
tenantId?: true
projektId?: true
assignedUserId?: true
createdByUserId?: true
title?: true
startAt?: true
endAt?: true
status?: true
calendarEventId?: true
syncStatus?: true
conflictOverrideReason?: true
clientMutationId?: true
isDemoData?: true
createdAt?: true
updatedAt?: true
archivedAt?: true
}
export type ScheduleEntryCountAggregateInputType = {
id?: true
tenantId?: true
projektId?: true
assignedUserId?: true
createdByUserId?: true
title?: true
startAt?: true
endAt?: true
status?: true
calendarEventId?: true
syncStatus?: true
conflictOverrideReason?: true
clientMutationId?: true
isDemoData?: true
createdAt?: true
updatedAt?: true
archivedAt?: true
_all?: true
}
export type ScheduleEntryAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which ScheduleEntry to aggregate.
*/
where?: Prisma.ScheduleEntryWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of ScheduleEntries to fetch.
*/
orderBy?: Prisma.ScheduleEntryOrderByWithRelationInput | Prisma.ScheduleEntryOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.ScheduleEntryWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` ScheduleEntries 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` ScheduleEntries.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned ScheduleEntries
**/
_count?: true | ScheduleEntryCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: ScheduleEntryMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: ScheduleEntryMaxAggregateInputType
}
export type GetScheduleEntryAggregateType<T extends ScheduleEntryAggregateArgs> = {
[P in keyof T & keyof AggregateScheduleEntry]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateScheduleEntry[P]>
: Prisma.GetScalarType<T[P], AggregateScheduleEntry[P]>
}
export type ScheduleEntryGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.ScheduleEntryWhereInput
orderBy?: Prisma.ScheduleEntryOrderByWithAggregationInput | Prisma.ScheduleEntryOrderByWithAggregationInput[]
by: Prisma.ScheduleEntryScalarFieldEnum[] | Prisma.ScheduleEntryScalarFieldEnum
having?: Prisma.ScheduleEntryScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: ScheduleEntryCountAggregateInputType | true
_min?: ScheduleEntryMinAggregateInputType
_max?: ScheduleEntryMaxAggregateInputType
}
export type ScheduleEntryGroupByOutputType = {
id: string
tenantId: string
projektId: string
assignedUserId: string
createdByUserId: string | null
title: string
startAt: Date
endAt: Date
status: $Enums.ScheduleEntryStatus
calendarEventId: string | null
syncStatus: $Enums.ScheduleSyncStatus
conflictOverrideReason: string | null
clientMutationId: string | null
isDemoData: boolean
createdAt: Date
updatedAt: Date
archivedAt: Date | null
_count: ScheduleEntryCountAggregateOutputType | null
_min: ScheduleEntryMinAggregateOutputType | null
_max: ScheduleEntryMaxAggregateOutputType | null
}
export type GetScheduleEntryGroupByPayload<T extends ScheduleEntryGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<ScheduleEntryGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof ScheduleEntryGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], ScheduleEntryGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], ScheduleEntryGroupByOutputType[P]>
}
>
>
export type ScheduleEntryWhereInput = {
AND?: Prisma.ScheduleEntryWhereInput | Prisma.ScheduleEntryWhereInput[]
OR?: Prisma.ScheduleEntryWhereInput[]
NOT?: Prisma.ScheduleEntryWhereInput | Prisma.ScheduleEntryWhereInput[]
id?: Prisma.StringFilter<"ScheduleEntry"> | string
tenantId?: Prisma.StringFilter<"ScheduleEntry"> | string
projektId?: Prisma.StringFilter<"ScheduleEntry"> | string
assignedUserId?: Prisma.StringFilter<"ScheduleEntry"> | string
createdByUserId?: Prisma.StringNullableFilter<"ScheduleEntry"> | string | null
title?: Prisma.StringFilter<"ScheduleEntry"> | string
startAt?: Prisma.DateTimeFilter<"ScheduleEntry"> | Date | string
endAt?: Prisma.DateTimeFilter<"ScheduleEntry"> | Date | string
status?: Prisma.EnumScheduleEntryStatusFilter<"ScheduleEntry"> | $Enums.ScheduleEntryStatus
calendarEventId?: Prisma.StringNullableFilter<"ScheduleEntry"> | string | null
syncStatus?: Prisma.EnumScheduleSyncStatusFilter<"ScheduleEntry"> | $Enums.ScheduleSyncStatus
conflictOverrideReason?: Prisma.StringNullableFilter<"ScheduleEntry"> | string | null
clientMutationId?: Prisma.StringNullableFilter<"ScheduleEntry"> | string | null
isDemoData?: Prisma.BoolFilter<"ScheduleEntry"> | boolean
createdAt?: Prisma.DateTimeFilter<"ScheduleEntry"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"ScheduleEntry"> | Date | string
archivedAt?: Prisma.DateTimeNullableFilter<"ScheduleEntry"> | Date | string | null
conflicts?: Prisma.ScheduleConflictListRelationFilter
}
export type ScheduleEntryOrderByWithRelationInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
projektId?: Prisma.SortOrder
assignedUserId?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
title?: Prisma.SortOrder
startAt?: Prisma.SortOrder
endAt?: Prisma.SortOrder
status?: Prisma.SortOrder
calendarEventId?: Prisma.SortOrderInput | Prisma.SortOrder
syncStatus?: Prisma.SortOrder
conflictOverrideReason?: Prisma.SortOrderInput | Prisma.SortOrder
clientMutationId?: Prisma.SortOrderInput | Prisma.SortOrder
isDemoData?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
conflicts?: Prisma.ScheduleConflictOrderByRelationAggregateInput
}
export type ScheduleEntryWhereUniqueInput = Prisma.AtLeast<{
id?: string
tenantId_clientMutationId?: Prisma.ScheduleEntryTenantIdClientMutationIdCompoundUniqueInput
AND?: Prisma.ScheduleEntryWhereInput | Prisma.ScheduleEntryWhereInput[]
OR?: Prisma.ScheduleEntryWhereInput[]
NOT?: Prisma.ScheduleEntryWhereInput | Prisma.ScheduleEntryWhereInput[]
tenantId?: Prisma.StringFilter<"ScheduleEntry"> | string
projektId?: Prisma.StringFilter<"ScheduleEntry"> | string
assignedUserId?: Prisma.StringFilter<"ScheduleEntry"> | string
createdByUserId?: Prisma.StringNullableFilter<"ScheduleEntry"> | string | null
title?: Prisma.StringFilter<"ScheduleEntry"> | string
startAt?: Prisma.DateTimeFilter<"ScheduleEntry"> | Date | string
endAt?: Prisma.DateTimeFilter<"ScheduleEntry"> | Date | string
status?: Prisma.EnumScheduleEntryStatusFilter<"ScheduleEntry"> | $Enums.ScheduleEntryStatus
calendarEventId?: Prisma.StringNullableFilter<"ScheduleEntry"> | string | null
syncStatus?: Prisma.EnumScheduleSyncStatusFilter<"ScheduleEntry"> | $Enums.ScheduleSyncStatus
conflictOverrideReason?: Prisma.StringNullableFilter<"ScheduleEntry"> | string | null
clientMutationId?: Prisma.StringNullableFilter<"ScheduleEntry"> | string | null
isDemoData?: Prisma.BoolFilter<"ScheduleEntry"> | boolean
createdAt?: Prisma.DateTimeFilter<"ScheduleEntry"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"ScheduleEntry"> | Date | string
archivedAt?: Prisma.DateTimeNullableFilter<"ScheduleEntry"> | Date | string | null
conflicts?: Prisma.ScheduleConflictListRelationFilter
}, "id" | "tenantId_clientMutationId">
export type ScheduleEntryOrderByWithAggregationInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
projektId?: Prisma.SortOrder
assignedUserId?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
title?: Prisma.SortOrder
startAt?: Prisma.SortOrder
endAt?: Prisma.SortOrder
status?: Prisma.SortOrder
calendarEventId?: Prisma.SortOrderInput | Prisma.SortOrder
syncStatus?: Prisma.SortOrder
conflictOverrideReason?: Prisma.SortOrderInput | Prisma.SortOrder
clientMutationId?: Prisma.SortOrderInput | Prisma.SortOrder
isDemoData?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.ScheduleEntryCountOrderByAggregateInput
_max?: Prisma.ScheduleEntryMaxOrderByAggregateInput
_min?: Prisma.ScheduleEntryMinOrderByAggregateInput
}
export type ScheduleEntryScalarWhereWithAggregatesInput = {
AND?: Prisma.ScheduleEntryScalarWhereWithAggregatesInput | Prisma.ScheduleEntryScalarWhereWithAggregatesInput[]
OR?: Prisma.ScheduleEntryScalarWhereWithAggregatesInput[]
NOT?: Prisma.ScheduleEntryScalarWhereWithAggregatesInput | Prisma.ScheduleEntryScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"ScheduleEntry"> | string
tenantId?: Prisma.StringWithAggregatesFilter<"ScheduleEntry"> | string
projektId?: Prisma.StringWithAggregatesFilter<"ScheduleEntry"> | string
assignedUserId?: Prisma.StringWithAggregatesFilter<"ScheduleEntry"> | string
createdByUserId?: Prisma.StringNullableWithAggregatesFilter<"ScheduleEntry"> | string | null
title?: Prisma.StringWithAggregatesFilter<"ScheduleEntry"> | string
startAt?: Prisma.DateTimeWithAggregatesFilter<"ScheduleEntry"> | Date | string
endAt?: Prisma.DateTimeWithAggregatesFilter<"ScheduleEntry"> | Date | string
status?: Prisma.EnumScheduleEntryStatusWithAggregatesFilter<"ScheduleEntry"> | $Enums.ScheduleEntryStatus
calendarEventId?: Prisma.StringNullableWithAggregatesFilter<"ScheduleEntry"> | string | null
syncStatus?: Prisma.EnumScheduleSyncStatusWithAggregatesFilter<"ScheduleEntry"> | $Enums.ScheduleSyncStatus
conflictOverrideReason?: Prisma.StringNullableWithAggregatesFilter<"ScheduleEntry"> | string | null
clientMutationId?: Prisma.StringNullableWithAggregatesFilter<"ScheduleEntry"> | string | null
isDemoData?: Prisma.BoolWithAggregatesFilter<"ScheduleEntry"> | boolean
createdAt?: Prisma.DateTimeWithAggregatesFilter<"ScheduleEntry"> | Date | string
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ScheduleEntry"> | Date | string
archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ScheduleEntry"> | Date | string | null
}
export type ScheduleEntryCreateInput = {
id?: string
tenantId: string
projektId: string
assignedUserId: string
createdByUserId?: string | null
title: string
startAt: Date | string
endAt: Date | string
status?: $Enums.ScheduleEntryStatus
calendarEventId?: string | null
syncStatus?: $Enums.ScheduleSyncStatus
conflictOverrideReason?: string | null
clientMutationId?: string | null
isDemoData?: boolean
createdAt?: Date | string
updatedAt?: Date | string
archivedAt?: Date | string | null
conflicts?: Prisma.ScheduleConflictCreateNestedManyWithoutEntryInput
}
export type ScheduleEntryUncheckedCreateInput = {
id?: string
tenantId: string
projektId: string
assignedUserId: string
createdByUserId?: string | null
title: string
startAt: Date | string
endAt: Date | string
status?: $Enums.ScheduleEntryStatus
calendarEventId?: string | null
syncStatus?: $Enums.ScheduleSyncStatus
conflictOverrideReason?: string | null
clientMutationId?: string | null
isDemoData?: boolean
createdAt?: Date | string
updatedAt?: Date | string
archivedAt?: Date | string | null
conflicts?: Prisma.ScheduleConflictUncheckedCreateNestedManyWithoutEntryInput
}
export type ScheduleEntryUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
projektId?: Prisma.StringFieldUpdateOperationsInput | string
assignedUserId?: Prisma.StringFieldUpdateOperationsInput | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
title?: Prisma.StringFieldUpdateOperationsInput | string
startAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
endAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
status?: Prisma.EnumScheduleEntryStatusFieldUpdateOperationsInput | $Enums.ScheduleEntryStatus
calendarEventId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
syncStatus?: Prisma.EnumScheduleSyncStatusFieldUpdateOperationsInput | $Enums.ScheduleSyncStatus
conflictOverrideReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
clientMutationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
conflicts?: Prisma.ScheduleConflictUpdateManyWithoutEntryNestedInput
}
export type ScheduleEntryUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
projektId?: Prisma.StringFieldUpdateOperationsInput | string
assignedUserId?: Prisma.StringFieldUpdateOperationsInput | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
title?: Prisma.StringFieldUpdateOperationsInput | string
startAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
endAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
status?: Prisma.EnumScheduleEntryStatusFieldUpdateOperationsInput | $Enums.ScheduleEntryStatus
calendarEventId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
syncStatus?: Prisma.EnumScheduleSyncStatusFieldUpdateOperationsInput | $Enums.ScheduleSyncStatus
conflictOverrideReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
clientMutationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
conflicts?: Prisma.ScheduleConflictUncheckedUpdateManyWithoutEntryNestedInput
}
export type ScheduleEntryCreateManyInput = {
id?: string
tenantId: string
projektId: string
assignedUserId: string
createdByUserId?: string | null
title: string
startAt: Date | string
endAt: Date | string
status?: $Enums.ScheduleEntryStatus
calendarEventId?: string | null
syncStatus?: $Enums.ScheduleSyncStatus
conflictOverrideReason?: string | null
clientMutationId?: string | null
isDemoData?: boolean
createdAt?: Date | string
updatedAt?: Date | string
archivedAt?: Date | string | null
}
export type ScheduleEntryUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
projektId?: Prisma.StringFieldUpdateOperationsInput | string
assignedUserId?: Prisma.StringFieldUpdateOperationsInput | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
title?: Prisma.StringFieldUpdateOperationsInput | string
startAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
endAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
status?: Prisma.EnumScheduleEntryStatusFieldUpdateOperationsInput | $Enums.ScheduleEntryStatus
calendarEventId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
syncStatus?: Prisma.EnumScheduleSyncStatusFieldUpdateOperationsInput | $Enums.ScheduleSyncStatus
conflictOverrideReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
clientMutationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type ScheduleEntryUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
projektId?: Prisma.StringFieldUpdateOperationsInput | string
assignedUserId?: Prisma.StringFieldUpdateOperationsInput | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
title?: Prisma.StringFieldUpdateOperationsInput | string
startAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
endAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
status?: Prisma.EnumScheduleEntryStatusFieldUpdateOperationsInput | $Enums.ScheduleEntryStatus
calendarEventId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
syncStatus?: Prisma.EnumScheduleSyncStatusFieldUpdateOperationsInput | $Enums.ScheduleSyncStatus
conflictOverrideReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
clientMutationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type ScheduleEntryTenantIdClientMutationIdCompoundUniqueInput = {
tenantId: string
clientMutationId: string
}
export type ScheduleEntryCountOrderByAggregateInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
projektId?: Prisma.SortOrder
assignedUserId?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrder
title?: Prisma.SortOrder
startAt?: Prisma.SortOrder
endAt?: Prisma.SortOrder
status?: Prisma.SortOrder
calendarEventId?: Prisma.SortOrder
syncStatus?: Prisma.SortOrder
conflictOverrideReason?: Prisma.SortOrder
clientMutationId?: Prisma.SortOrder
isDemoData?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
archivedAt?: Prisma.SortOrder
}
export type ScheduleEntryMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
projektId?: Prisma.SortOrder
assignedUserId?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrder
title?: Prisma.SortOrder
startAt?: Prisma.SortOrder
endAt?: Prisma.SortOrder
status?: Prisma.SortOrder
calendarEventId?: Prisma.SortOrder
syncStatus?: Prisma.SortOrder
conflictOverrideReason?: Prisma.SortOrder
clientMutationId?: Prisma.SortOrder
isDemoData?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
archivedAt?: Prisma.SortOrder
}
export type ScheduleEntryMinOrderByAggregateInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
projektId?: Prisma.SortOrder
assignedUserId?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrder
title?: Prisma.SortOrder
startAt?: Prisma.SortOrder
endAt?: Prisma.SortOrder
status?: Prisma.SortOrder
calendarEventId?: Prisma.SortOrder
syncStatus?: Prisma.SortOrder
conflictOverrideReason?: Prisma.SortOrder
clientMutationId?: Prisma.SortOrder
isDemoData?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
archivedAt?: Prisma.SortOrder
}
export type ScheduleEntryScalarRelationFilter = {
is?: Prisma.ScheduleEntryWhereInput
isNot?: Prisma.ScheduleEntryWhereInput
}
export type EnumScheduleEntryStatusFieldUpdateOperationsInput = {
set?: $Enums.ScheduleEntryStatus
}
export type EnumScheduleSyncStatusFieldUpdateOperationsInput = {
set?: $Enums.ScheduleSyncStatus
}
export type ScheduleEntryCreateNestedOneWithoutConflictsInput = {
create?: Prisma.XOR<Prisma.ScheduleEntryCreateWithoutConflictsInput, Prisma.ScheduleEntryUncheckedCreateWithoutConflictsInput>
connectOrCreate?: Prisma.ScheduleEntryCreateOrConnectWithoutConflictsInput
connect?: Prisma.ScheduleEntryWhereUniqueInput
}
export type ScheduleEntryUpdateOneRequiredWithoutConflictsNestedInput = {
create?: Prisma.XOR<Prisma.ScheduleEntryCreateWithoutConflictsInput, Prisma.ScheduleEntryUncheckedCreateWithoutConflictsInput>
connectOrCreate?: Prisma.ScheduleEntryCreateOrConnectWithoutConflictsInput
upsert?: Prisma.ScheduleEntryUpsertWithoutConflictsInput
connect?: Prisma.ScheduleEntryWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.ScheduleEntryUpdateToOneWithWhereWithoutConflictsInput, Prisma.ScheduleEntryUpdateWithoutConflictsInput>, Prisma.ScheduleEntryUncheckedUpdateWithoutConflictsInput>
}
export type ScheduleEntryCreateWithoutConflictsInput = {
id?: string
tenantId: string
projektId: string
assignedUserId: string
createdByUserId?: string | null
title: string
startAt: Date | string
endAt: Date | string
status?: $Enums.ScheduleEntryStatus
calendarEventId?: string | null
syncStatus?: $Enums.ScheduleSyncStatus
conflictOverrideReason?: string | null
clientMutationId?: string | null
isDemoData?: boolean
createdAt?: Date | string
updatedAt?: Date | string
archivedAt?: Date | string | null
}
export type ScheduleEntryUncheckedCreateWithoutConflictsInput = {
id?: string
tenantId: string
projektId: string
assignedUserId: string
createdByUserId?: string | null
title: string
startAt: Date | string
endAt: Date | string
status?: $Enums.ScheduleEntryStatus
calendarEventId?: string | null
syncStatus?: $Enums.ScheduleSyncStatus
conflictOverrideReason?: string | null
clientMutationId?: string | null
isDemoData?: boolean
createdAt?: Date | string
updatedAt?: Date | string
archivedAt?: Date | string | null
}
export type ScheduleEntryCreateOrConnectWithoutConflictsInput = {
where: Prisma.ScheduleEntryWhereUniqueInput
create: Prisma.XOR<Prisma.ScheduleEntryCreateWithoutConflictsInput, Prisma.ScheduleEntryUncheckedCreateWithoutConflictsInput>
}
export type ScheduleEntryUpsertWithoutConflictsInput = {
update: Prisma.XOR<Prisma.ScheduleEntryUpdateWithoutConflictsInput, Prisma.ScheduleEntryUncheckedUpdateWithoutConflictsInput>
create: Prisma.XOR<Prisma.ScheduleEntryCreateWithoutConflictsInput, Prisma.ScheduleEntryUncheckedCreateWithoutConflictsInput>
where?: Prisma.ScheduleEntryWhereInput
}
export type ScheduleEntryUpdateToOneWithWhereWithoutConflictsInput = {
where?: Prisma.ScheduleEntryWhereInput
data: Prisma.XOR<Prisma.ScheduleEntryUpdateWithoutConflictsInput, Prisma.ScheduleEntryUncheckedUpdateWithoutConflictsInput>
}
export type ScheduleEntryUpdateWithoutConflictsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
projektId?: Prisma.StringFieldUpdateOperationsInput | string
assignedUserId?: Prisma.StringFieldUpdateOperationsInput | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
title?: Prisma.StringFieldUpdateOperationsInput | string
startAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
endAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
status?: Prisma.EnumScheduleEntryStatusFieldUpdateOperationsInput | $Enums.ScheduleEntryStatus
calendarEventId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
syncStatus?: Prisma.EnumScheduleSyncStatusFieldUpdateOperationsInput | $Enums.ScheduleSyncStatus
conflictOverrideReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
clientMutationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type ScheduleEntryUncheckedUpdateWithoutConflictsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
projektId?: Prisma.StringFieldUpdateOperationsInput | string
assignedUserId?: Prisma.StringFieldUpdateOperationsInput | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
title?: Prisma.StringFieldUpdateOperationsInput | string
startAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
endAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
status?: Prisma.EnumScheduleEntryStatusFieldUpdateOperationsInput | $Enums.ScheduleEntryStatus
calendarEventId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
syncStatus?: Prisma.EnumScheduleSyncStatusFieldUpdateOperationsInput | $Enums.ScheduleSyncStatus
conflictOverrideReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
clientMutationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
/**
* Count Type ScheduleEntryCountOutputType
*/
export type ScheduleEntryCountOutputType = {
conflicts: number
}
export type ScheduleEntryCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
conflicts?: boolean | ScheduleEntryCountOutputTypeCountConflictsArgs
}
/**
* ScheduleEntryCountOutputType without action
*/
export type ScheduleEntryCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ScheduleEntryCountOutputType
*/
select?: Prisma.ScheduleEntryCountOutputTypeSelect<ExtArgs> | null
}
/**
* ScheduleEntryCountOutputType without action
*/
export type ScheduleEntryCountOutputTypeCountConflictsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.ScheduleConflictWhereInput
}
export type ScheduleEntrySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
tenantId?: boolean
projektId?: boolean
assignedUserId?: boolean
createdByUserId?: boolean
title?: boolean
startAt?: boolean
endAt?: boolean
status?: boolean
calendarEventId?: boolean
syncStatus?: boolean
conflictOverrideReason?: boolean
clientMutationId?: boolean
isDemoData?: boolean
createdAt?: boolean
updatedAt?: boolean
archivedAt?: boolean
conflicts?: boolean | Prisma.ScheduleEntry$conflictsArgs<ExtArgs>
_count?: boolean | Prisma.ScheduleEntryCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["scheduleEntry"]>
export type ScheduleEntrySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
tenantId?: boolean
projektId?: boolean
assignedUserId?: boolean
createdByUserId?: boolean
title?: boolean
startAt?: boolean
endAt?: boolean
status?: boolean
calendarEventId?: boolean
syncStatus?: boolean
conflictOverrideReason?: boolean
clientMutationId?: boolean
isDemoData?: boolean
createdAt?: boolean
updatedAt?: boolean
archivedAt?: boolean
}, ExtArgs["result"]["scheduleEntry"]>
export type ScheduleEntrySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
tenantId?: boolean
projektId?: boolean
assignedUserId?: boolean
createdByUserId?: boolean
title?: boolean
startAt?: boolean
endAt?: boolean
status?: boolean
calendarEventId?: boolean
syncStatus?: boolean
conflictOverrideReason?: boolean
clientMutationId?: boolean
isDemoData?: boolean
createdAt?: boolean
updatedAt?: boolean
archivedAt?: boolean
}, ExtArgs["result"]["scheduleEntry"]>
export type ScheduleEntrySelectScalar = {
id?: boolean
tenantId?: boolean
projektId?: boolean
assignedUserId?: boolean
createdByUserId?: boolean
title?: boolean
startAt?: boolean
endAt?: boolean
status?: boolean
calendarEventId?: boolean
syncStatus?: boolean
conflictOverrideReason?: boolean
clientMutationId?: boolean
isDemoData?: boolean
createdAt?: boolean
updatedAt?: boolean
archivedAt?: boolean
}
export type ScheduleEntryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "projektId" | "assignedUserId" | "createdByUserId" | "title" | "startAt" | "endAt" | "status" | "calendarEventId" | "syncStatus" | "conflictOverrideReason" | "clientMutationId" | "isDemoData" | "createdAt" | "updatedAt" | "archivedAt", ExtArgs["result"]["scheduleEntry"]>
export type ScheduleEntryInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
conflicts?: boolean | Prisma.ScheduleEntry$conflictsArgs<ExtArgs>
_count?: boolean | Prisma.ScheduleEntryCountOutputTypeDefaultArgs<ExtArgs>
}
export type ScheduleEntryIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
export type ScheduleEntryIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
export type $ScheduleEntryPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "ScheduleEntry"
objects: {
conflicts: Prisma.$ScheduleConflictPayload<ExtArgs>[]
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
tenantId: string
projektId: string
assignedUserId: string
createdByUserId: string | null
title: string
startAt: Date
endAt: Date
status: $Enums.ScheduleEntryStatus
calendarEventId: string | null
syncStatus: $Enums.ScheduleSyncStatus
conflictOverrideReason: string | null
clientMutationId: string | null
isDemoData: boolean
createdAt: Date
updatedAt: Date
archivedAt: Date | null
}, ExtArgs["result"]["scheduleEntry"]>
composites: {}
}
export type ScheduleEntryGetPayload<S extends boolean | null | undefined | ScheduleEntryDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ScheduleEntryPayload, S>
export type ScheduleEntryCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<ScheduleEntryFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: ScheduleEntryCountAggregateInputType | true
}
export interface ScheduleEntryDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ScheduleEntry'], meta: { name: 'ScheduleEntry' } }
/**
* Find zero or one ScheduleEntry that matches the filter.
* @param {ScheduleEntryFindUniqueArgs} args - Arguments to find a ScheduleEntry
* @example
* // Get one ScheduleEntry
* const scheduleEntry = await prisma.scheduleEntry.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends ScheduleEntryFindUniqueArgs>(args: Prisma.SelectSubset<T, ScheduleEntryFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ScheduleEntryClient<runtime.Types.Result.GetResult<Prisma.$ScheduleEntryPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one ScheduleEntry that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {ScheduleEntryFindUniqueOrThrowArgs} args - Arguments to find a ScheduleEntry
* @example
* // Get one ScheduleEntry
* const scheduleEntry = await prisma.scheduleEntry.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends ScheduleEntryFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ScheduleEntryFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ScheduleEntryClient<runtime.Types.Result.GetResult<Prisma.$ScheduleEntryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first ScheduleEntry 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 {ScheduleEntryFindFirstArgs} args - Arguments to find a ScheduleEntry
* @example
* // Get one ScheduleEntry
* const scheduleEntry = await prisma.scheduleEntry.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends ScheduleEntryFindFirstArgs>(args?: Prisma.SelectSubset<T, ScheduleEntryFindFirstArgs<ExtArgs>>): Prisma.Prisma__ScheduleEntryClient<runtime.Types.Result.GetResult<Prisma.$ScheduleEntryPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first ScheduleEntry 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 {ScheduleEntryFindFirstOrThrowArgs} args - Arguments to find a ScheduleEntry
* @example
* // Get one ScheduleEntry
* const scheduleEntry = await prisma.scheduleEntry.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends ScheduleEntryFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ScheduleEntryFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ScheduleEntryClient<runtime.Types.Result.GetResult<Prisma.$ScheduleEntryPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more ScheduleEntries 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 {ScheduleEntryFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all ScheduleEntries
* const scheduleEntries = await prisma.scheduleEntry.findMany()
*
* // Get first 10 ScheduleEntries
* const scheduleEntries = await prisma.scheduleEntry.findMany({ take: 10 })
*
* // Only select the `id`
* const scheduleEntryWithIdOnly = await prisma.scheduleEntry.findMany({ select: { id: true } })
*
*/
findMany<T extends ScheduleEntryFindManyArgs>(args?: Prisma.SelectSubset<T, ScheduleEntryFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ScheduleEntryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a ScheduleEntry.
* @param {ScheduleEntryCreateArgs} args - Arguments to create a ScheduleEntry.
* @example
* // Create one ScheduleEntry
* const ScheduleEntry = await prisma.scheduleEntry.create({
* data: {
* // ... data to create a ScheduleEntry
* }
* })
*
*/
create<T extends ScheduleEntryCreateArgs>(args: Prisma.SelectSubset<T, ScheduleEntryCreateArgs<ExtArgs>>): Prisma.Prisma__ScheduleEntryClient<runtime.Types.Result.GetResult<Prisma.$ScheduleEntryPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many ScheduleEntries.
* @param {ScheduleEntryCreateManyArgs} args - Arguments to create many ScheduleEntries.
* @example
* // Create many ScheduleEntries
* const scheduleEntry = await prisma.scheduleEntry.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends ScheduleEntryCreateManyArgs>(args?: Prisma.SelectSubset<T, ScheduleEntryCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many ScheduleEntries and returns the data saved in the database.
* @param {ScheduleEntryCreateManyAndReturnArgs} args - Arguments to create many ScheduleEntries.
* @example
* // Create many ScheduleEntries
* const scheduleEntry = await prisma.scheduleEntry.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many ScheduleEntries and only return the `id`
* const scheduleEntryWithIdOnly = await prisma.scheduleEntry.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 ScheduleEntryCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ScheduleEntryCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ScheduleEntryPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a ScheduleEntry.
* @param {ScheduleEntryDeleteArgs} args - Arguments to delete one ScheduleEntry.
* @example
* // Delete one ScheduleEntry
* const ScheduleEntry = await prisma.scheduleEntry.delete({
* where: {
* // ... filter to delete one ScheduleEntry
* }
* })
*
*/
delete<T extends ScheduleEntryDeleteArgs>(args: Prisma.SelectSubset<T, ScheduleEntryDeleteArgs<ExtArgs>>): Prisma.Prisma__ScheduleEntryClient<runtime.Types.Result.GetResult<Prisma.$ScheduleEntryPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one ScheduleEntry.
* @param {ScheduleEntryUpdateArgs} args - Arguments to update one ScheduleEntry.
* @example
* // Update one ScheduleEntry
* const scheduleEntry = await prisma.scheduleEntry.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends ScheduleEntryUpdateArgs>(args: Prisma.SelectSubset<T, ScheduleEntryUpdateArgs<ExtArgs>>): Prisma.Prisma__ScheduleEntryClient<runtime.Types.Result.GetResult<Prisma.$ScheduleEntryPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more ScheduleEntries.
* @param {ScheduleEntryDeleteManyArgs} args - Arguments to filter ScheduleEntries to delete.
* @example
* // Delete a few ScheduleEntries
* const { count } = await prisma.scheduleEntry.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends ScheduleEntryDeleteManyArgs>(args?: Prisma.SelectSubset<T, ScheduleEntryDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more ScheduleEntries.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {ScheduleEntryUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many ScheduleEntries
* const scheduleEntry = await prisma.scheduleEntry.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends ScheduleEntryUpdateManyArgs>(args: Prisma.SelectSubset<T, ScheduleEntryUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more ScheduleEntries and returns the data updated in the database.
* @param {ScheduleEntryUpdateManyAndReturnArgs} args - Arguments to update many ScheduleEntries.
* @example
* // Update many ScheduleEntries
* const scheduleEntry = await prisma.scheduleEntry.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more ScheduleEntries and only return the `id`
* const scheduleEntryWithIdOnly = await prisma.scheduleEntry.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 ScheduleEntryUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ScheduleEntryUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ScheduleEntryPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one ScheduleEntry.
* @param {ScheduleEntryUpsertArgs} args - Arguments to update or create a ScheduleEntry.
* @example
* // Update or create a ScheduleEntry
* const scheduleEntry = await prisma.scheduleEntry.upsert({
* create: {
* // ... data to create a ScheduleEntry
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the ScheduleEntry we want to update
* }
* })
*/
upsert<T extends ScheduleEntryUpsertArgs>(args: Prisma.SelectSubset<T, ScheduleEntryUpsertArgs<ExtArgs>>): Prisma.Prisma__ScheduleEntryClient<runtime.Types.Result.GetResult<Prisma.$ScheduleEntryPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of ScheduleEntries.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {ScheduleEntryCountArgs} args - Arguments to filter ScheduleEntries to count.
* @example
* // Count the number of ScheduleEntries
* const count = await prisma.scheduleEntry.count({
* where: {
* // ... the filter for the ScheduleEntries we want to count
* }
* })
**/
count<T extends ScheduleEntryCountArgs>(
args?: Prisma.Subset<T, ScheduleEntryCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], ScheduleEntryCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a ScheduleEntry.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {ScheduleEntryAggregateArgs} 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 ScheduleEntryAggregateArgs>(args: Prisma.Subset<T, ScheduleEntryAggregateArgs>): Prisma.PrismaPromise<GetScheduleEntryAggregateType<T>>
/**
* Group by ScheduleEntry.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {ScheduleEntryGroupByArgs} 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 ScheduleEntryGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: ScheduleEntryGroupByArgs['orderBy'] }
: { orderBy?: ScheduleEntryGroupByArgs['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, ScheduleEntryGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetScheduleEntryGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the ScheduleEntry model
*/
readonly fields: ScheduleEntryFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for ScheduleEntry.
* 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__ScheduleEntryClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
conflicts<T extends Prisma.ScheduleEntry$conflictsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ScheduleEntry$conflictsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ScheduleConflictPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
/**
* Attaches callbacks for the resolution and/or rejection of the Promise.
* @param onfulfilled The callback to execute when the Promise is resolved.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of which ever callback is executed.
*/
then<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 ScheduleEntry model
*/
export interface ScheduleEntryFieldRefs {
readonly id: Prisma.FieldRef<"ScheduleEntry", 'String'>
readonly tenantId: Prisma.FieldRef<"ScheduleEntry", 'String'>
readonly projektId: Prisma.FieldRef<"ScheduleEntry", 'String'>
readonly assignedUserId: Prisma.FieldRef<"ScheduleEntry", 'String'>
readonly createdByUserId: Prisma.FieldRef<"ScheduleEntry", 'String'>
readonly title: Prisma.FieldRef<"ScheduleEntry", 'String'>
readonly startAt: Prisma.FieldRef<"ScheduleEntry", 'DateTime'>
readonly endAt: Prisma.FieldRef<"ScheduleEntry", 'DateTime'>
readonly status: Prisma.FieldRef<"ScheduleEntry", 'ScheduleEntryStatus'>
readonly calendarEventId: Prisma.FieldRef<"ScheduleEntry", 'String'>
readonly syncStatus: Prisma.FieldRef<"ScheduleEntry", 'ScheduleSyncStatus'>
readonly conflictOverrideReason: Prisma.FieldRef<"ScheduleEntry", 'String'>
readonly clientMutationId: Prisma.FieldRef<"ScheduleEntry", 'String'>
readonly isDemoData: Prisma.FieldRef<"ScheduleEntry", 'Boolean'>
readonly createdAt: Prisma.FieldRef<"ScheduleEntry", 'DateTime'>
readonly updatedAt: Prisma.FieldRef<"ScheduleEntry", 'DateTime'>
readonly archivedAt: Prisma.FieldRef<"ScheduleEntry", 'DateTime'>
}
// Custom InputTypes
/**
* ScheduleEntry findUnique
*/
export type ScheduleEntryFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ScheduleEntry
*/
select?: Prisma.ScheduleEntrySelect<ExtArgs> | null
/**
* Omit specific fields from the ScheduleEntry
*/
omit?: Prisma.ScheduleEntryOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ScheduleEntryInclude<ExtArgs> | null
/**
* Filter, which ScheduleEntry to fetch.
*/
where: Prisma.ScheduleEntryWhereUniqueInput
}
/**
* ScheduleEntry findUniqueOrThrow
*/
export type ScheduleEntryFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ScheduleEntry
*/
select?: Prisma.ScheduleEntrySelect<ExtArgs> | null
/**
* Omit specific fields from the ScheduleEntry
*/
omit?: Prisma.ScheduleEntryOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ScheduleEntryInclude<ExtArgs> | null
/**
* Filter, which ScheduleEntry to fetch.
*/
where: Prisma.ScheduleEntryWhereUniqueInput
}
/**
* ScheduleEntry findFirst
*/
export type ScheduleEntryFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ScheduleEntry
*/
select?: Prisma.ScheduleEntrySelect<ExtArgs> | null
/**
* Omit specific fields from the ScheduleEntry
*/
omit?: Prisma.ScheduleEntryOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ScheduleEntryInclude<ExtArgs> | null
/**
* Filter, which ScheduleEntry to fetch.
*/
where?: Prisma.ScheduleEntryWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of ScheduleEntries to fetch.
*/
orderBy?: Prisma.ScheduleEntryOrderByWithRelationInput | Prisma.ScheduleEntryOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for ScheduleEntries.
*/
cursor?: Prisma.ScheduleEntryWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` ScheduleEntries 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` ScheduleEntries.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of ScheduleEntries.
*/
distinct?: Prisma.ScheduleEntryScalarFieldEnum | Prisma.ScheduleEntryScalarFieldEnum[]
}
/**
* ScheduleEntry findFirstOrThrow
*/
export type ScheduleEntryFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ScheduleEntry
*/
select?: Prisma.ScheduleEntrySelect<ExtArgs> | null
/**
* Omit specific fields from the ScheduleEntry
*/
omit?: Prisma.ScheduleEntryOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ScheduleEntryInclude<ExtArgs> | null
/**
* Filter, which ScheduleEntry to fetch.
*/
where?: Prisma.ScheduleEntryWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of ScheduleEntries to fetch.
*/
orderBy?: Prisma.ScheduleEntryOrderByWithRelationInput | Prisma.ScheduleEntryOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for ScheduleEntries.
*/
cursor?: Prisma.ScheduleEntryWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` ScheduleEntries 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` ScheduleEntries.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of ScheduleEntries.
*/
distinct?: Prisma.ScheduleEntryScalarFieldEnum | Prisma.ScheduleEntryScalarFieldEnum[]
}
/**
* ScheduleEntry findMany
*/
export type ScheduleEntryFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ScheduleEntry
*/
select?: Prisma.ScheduleEntrySelect<ExtArgs> | null
/**
* Omit specific fields from the ScheduleEntry
*/
omit?: Prisma.ScheduleEntryOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ScheduleEntryInclude<ExtArgs> | null
/**
* Filter, which ScheduleEntries to fetch.
*/
where?: Prisma.ScheduleEntryWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of ScheduleEntries to fetch.
*/
orderBy?: Prisma.ScheduleEntryOrderByWithRelationInput | Prisma.ScheduleEntryOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing ScheduleEntries.
*/
cursor?: Prisma.ScheduleEntryWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` ScheduleEntries 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` ScheduleEntries.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of ScheduleEntries.
*/
distinct?: Prisma.ScheduleEntryScalarFieldEnum | Prisma.ScheduleEntryScalarFieldEnum[]
}
/**
* ScheduleEntry create
*/
export type ScheduleEntryCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ScheduleEntry
*/
select?: Prisma.ScheduleEntrySelect<ExtArgs> | null
/**
* Omit specific fields from the ScheduleEntry
*/
omit?: Prisma.ScheduleEntryOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ScheduleEntryInclude<ExtArgs> | null
/**
* The data needed to create a ScheduleEntry.
*/
data: Prisma.XOR<Prisma.ScheduleEntryCreateInput, Prisma.ScheduleEntryUncheckedCreateInput>
}
/**
* ScheduleEntry createMany
*/
export type ScheduleEntryCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many ScheduleEntries.
*/
data: Prisma.ScheduleEntryCreateManyInput | Prisma.ScheduleEntryCreateManyInput[]
skipDuplicates?: boolean
}
/**
* ScheduleEntry createManyAndReturn
*/
export type ScheduleEntryCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ScheduleEntry
*/
select?: Prisma.ScheduleEntrySelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the ScheduleEntry
*/
omit?: Prisma.ScheduleEntryOmit<ExtArgs> | null
/**
* The data used to create many ScheduleEntries.
*/
data: Prisma.ScheduleEntryCreateManyInput | Prisma.ScheduleEntryCreateManyInput[]
skipDuplicates?: boolean
}
/**
* ScheduleEntry update
*/
export type ScheduleEntryUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ScheduleEntry
*/
select?: Prisma.ScheduleEntrySelect<ExtArgs> | null
/**
* Omit specific fields from the ScheduleEntry
*/
omit?: Prisma.ScheduleEntryOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ScheduleEntryInclude<ExtArgs> | null
/**
* The data needed to update a ScheduleEntry.
*/
data: Prisma.XOR<Prisma.ScheduleEntryUpdateInput, Prisma.ScheduleEntryUncheckedUpdateInput>
/**
* Choose, which ScheduleEntry to update.
*/
where: Prisma.ScheduleEntryWhereUniqueInput
}
/**
* ScheduleEntry updateMany
*/
export type ScheduleEntryUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update ScheduleEntries.
*/
data: Prisma.XOR<Prisma.ScheduleEntryUpdateManyMutationInput, Prisma.ScheduleEntryUncheckedUpdateManyInput>
/**
* Filter which ScheduleEntries to update
*/
where?: Prisma.ScheduleEntryWhereInput
/**
* Limit how many ScheduleEntries to update.
*/
limit?: number
}
/**
* ScheduleEntry updateManyAndReturn
*/
export type ScheduleEntryUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ScheduleEntry
*/
select?: Prisma.ScheduleEntrySelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the ScheduleEntry
*/
omit?: Prisma.ScheduleEntryOmit<ExtArgs> | null
/**
* The data used to update ScheduleEntries.
*/
data: Prisma.XOR<Prisma.ScheduleEntryUpdateManyMutationInput, Prisma.ScheduleEntryUncheckedUpdateManyInput>
/**
* Filter which ScheduleEntries to update
*/
where?: Prisma.ScheduleEntryWhereInput
/**
* Limit how many ScheduleEntries to update.
*/
limit?: number
}
/**
* ScheduleEntry upsert
*/
export type ScheduleEntryUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ScheduleEntry
*/
select?: Prisma.ScheduleEntrySelect<ExtArgs> | null
/**
* Omit specific fields from the ScheduleEntry
*/
omit?: Prisma.ScheduleEntryOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ScheduleEntryInclude<ExtArgs> | null
/**
* The filter to search for the ScheduleEntry to update in case it exists.
*/
where: Prisma.ScheduleEntryWhereUniqueInput
/**
* In case the ScheduleEntry found by the `where` argument doesn't exist, create a new ScheduleEntry with this data.
*/
create: Prisma.XOR<Prisma.ScheduleEntryCreateInput, Prisma.ScheduleEntryUncheckedCreateInput>
/**
* In case the ScheduleEntry was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.ScheduleEntryUpdateInput, Prisma.ScheduleEntryUncheckedUpdateInput>
}
/**
* ScheduleEntry delete
*/
export type ScheduleEntryDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ScheduleEntry
*/
select?: Prisma.ScheduleEntrySelect<ExtArgs> | null
/**
* Omit specific fields from the ScheduleEntry
*/
omit?: Prisma.ScheduleEntryOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ScheduleEntryInclude<ExtArgs> | null
/**
* Filter which ScheduleEntry to delete.
*/
where: Prisma.ScheduleEntryWhereUniqueInput
}
/**
* ScheduleEntry deleteMany
*/
export type ScheduleEntryDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which ScheduleEntries to delete
*/
where?: Prisma.ScheduleEntryWhereInput
/**
* Limit how many ScheduleEntries to delete.
*/
limit?: number
}
/**
* ScheduleEntry.conflicts
*/
export type ScheduleEntry$conflictsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ScheduleConflict
*/
select?: Prisma.ScheduleConflictSelect<ExtArgs> | null
/**
* Omit specific fields from the ScheduleConflict
*/
omit?: Prisma.ScheduleConflictOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ScheduleConflictInclude<ExtArgs> | null
where?: Prisma.ScheduleConflictWhereInput
orderBy?: Prisma.ScheduleConflictOrderByWithRelationInput | Prisma.ScheduleConflictOrderByWithRelationInput[]
cursor?: Prisma.ScheduleConflictWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.ScheduleConflictScalarFieldEnum | Prisma.ScheduleConflictScalarFieldEnum[]
}
/**
* ScheduleEntry without action
*/
export type ScheduleEntryDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ScheduleEntry
*/
select?: Prisma.ScheduleEntrySelect<ExtArgs> | null
/**
* Omit specific fields from the ScheduleEntry
*/
omit?: Prisma.ScheduleEntryOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ScheduleEntryInclude<ExtArgs> | null
}