Files
HiveGrid-Wireframes/03 Quellen und Referenzen/hivegrid-cloud/packages/db/generated/prisma/client/models/ProjektTermin.ts
T
2026-07-08 16:15:37 +02:00

1434 lines
53 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 `ProjektTermin` 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 ProjektTermin
*
*/
export type ProjektTerminModel = runtime.Types.Result.DefaultSelection<Prisma.$ProjektTerminPayload>
export type AggregateProjektTermin = {
_count: ProjektTerminCountAggregateOutputType | null
_min: ProjektTerminMinAggregateOutputType | null
_max: ProjektTerminMaxAggregateOutputType | null
}
export type ProjektTerminMinAggregateOutputType = {
id: string | null
tenantId: string | null
projektId: string | null
createdByUserId: string | null
assignedToUserId: string | null
assignedToGroupId: string | null
titel: string | null
beschreibung: string | null
startAt: Date | null
endAt: Date | null
status: $Enums.ProjektTerminStatus | null
isDemoData: boolean | null
createdAt: Date | null
updatedAt: Date | null
archivedAt: Date | null
}
export type ProjektTerminMaxAggregateOutputType = {
id: string | null
tenantId: string | null
projektId: string | null
createdByUserId: string | null
assignedToUserId: string | null
assignedToGroupId: string | null
titel: string | null
beschreibung: string | null
startAt: Date | null
endAt: Date | null
status: $Enums.ProjektTerminStatus | null
isDemoData: boolean | null
createdAt: Date | null
updatedAt: Date | null
archivedAt: Date | null
}
export type ProjektTerminCountAggregateOutputType = {
id: number
tenantId: number
projektId: number
createdByUserId: number
assignedToUserId: number
assignedToGroupId: number
titel: number
beschreibung: number
startAt: number
endAt: number
status: number
isDemoData: number
createdAt: number
updatedAt: number
archivedAt: number
_all: number
}
export type ProjektTerminMinAggregateInputType = {
id?: true
tenantId?: true
projektId?: true
createdByUserId?: true
assignedToUserId?: true
assignedToGroupId?: true
titel?: true
beschreibung?: true
startAt?: true
endAt?: true
status?: true
isDemoData?: true
createdAt?: true
updatedAt?: true
archivedAt?: true
}
export type ProjektTerminMaxAggregateInputType = {
id?: true
tenantId?: true
projektId?: true
createdByUserId?: true
assignedToUserId?: true
assignedToGroupId?: true
titel?: true
beschreibung?: true
startAt?: true
endAt?: true
status?: true
isDemoData?: true
createdAt?: true
updatedAt?: true
archivedAt?: true
}
export type ProjektTerminCountAggregateInputType = {
id?: true
tenantId?: true
projektId?: true
createdByUserId?: true
assignedToUserId?: true
assignedToGroupId?: true
titel?: true
beschreibung?: true
startAt?: true
endAt?: true
status?: true
isDemoData?: true
createdAt?: true
updatedAt?: true
archivedAt?: true
_all?: true
}
export type ProjektTerminAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which ProjektTermin to aggregate.
*/
where?: Prisma.ProjektTerminWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of ProjektTermins to fetch.
*/
orderBy?: Prisma.ProjektTerminOrderByWithRelationInput | Prisma.ProjektTerminOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.ProjektTerminWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` ProjektTermins 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` ProjektTermins.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned ProjektTermins
**/
_count?: true | ProjektTerminCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: ProjektTerminMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: ProjektTerminMaxAggregateInputType
}
export type GetProjektTerminAggregateType<T extends ProjektTerminAggregateArgs> = {
[P in keyof T & keyof AggregateProjektTermin]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateProjektTermin[P]>
: Prisma.GetScalarType<T[P], AggregateProjektTermin[P]>
}
export type ProjektTerminGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.ProjektTerminWhereInput
orderBy?: Prisma.ProjektTerminOrderByWithAggregationInput | Prisma.ProjektTerminOrderByWithAggregationInput[]
by: Prisma.ProjektTerminScalarFieldEnum[] | Prisma.ProjektTerminScalarFieldEnum
having?: Prisma.ProjektTerminScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: ProjektTerminCountAggregateInputType | true
_min?: ProjektTerminMinAggregateInputType
_max?: ProjektTerminMaxAggregateInputType
}
export type ProjektTerminGroupByOutputType = {
id: string
tenantId: string
projektId: string
createdByUserId: string | null
assignedToUserId: string | null
assignedToGroupId: string | null
titel: string
beschreibung: string | null
startAt: Date
endAt: Date | null
status: $Enums.ProjektTerminStatus
isDemoData: boolean
createdAt: Date
updatedAt: Date
archivedAt: Date | null
_count: ProjektTerminCountAggregateOutputType | null
_min: ProjektTerminMinAggregateOutputType | null
_max: ProjektTerminMaxAggregateOutputType | null
}
export type GetProjektTerminGroupByPayload<T extends ProjektTerminGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<ProjektTerminGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof ProjektTerminGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], ProjektTerminGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], ProjektTerminGroupByOutputType[P]>
}
>
>
export type ProjektTerminWhereInput = {
AND?: Prisma.ProjektTerminWhereInput | Prisma.ProjektTerminWhereInput[]
OR?: Prisma.ProjektTerminWhereInput[]
NOT?: Prisma.ProjektTerminWhereInput | Prisma.ProjektTerminWhereInput[]
id?: Prisma.StringFilter<"ProjektTermin"> | string
tenantId?: Prisma.StringFilter<"ProjektTermin"> | string
projektId?: Prisma.StringFilter<"ProjektTermin"> | string
createdByUserId?: Prisma.StringNullableFilter<"ProjektTermin"> | string | null
assignedToUserId?: Prisma.StringNullableFilter<"ProjektTermin"> | string | null
assignedToGroupId?: Prisma.StringNullableFilter<"ProjektTermin"> | string | null
titel?: Prisma.StringFilter<"ProjektTermin"> | string
beschreibung?: Prisma.StringNullableFilter<"ProjektTermin"> | string | null
startAt?: Prisma.DateTimeFilter<"ProjektTermin"> | Date | string
endAt?: Prisma.DateTimeNullableFilter<"ProjektTermin"> | Date | string | null
status?: Prisma.EnumProjektTerminStatusFilter<"ProjektTermin"> | $Enums.ProjektTerminStatus
isDemoData?: Prisma.BoolFilter<"ProjektTermin"> | boolean
createdAt?: Prisma.DateTimeFilter<"ProjektTermin"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"ProjektTermin"> | Date | string
archivedAt?: Prisma.DateTimeNullableFilter<"ProjektTermin"> | Date | string | null
}
export type ProjektTerminOrderByWithRelationInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
projektId?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
assignedToUserId?: Prisma.SortOrderInput | Prisma.SortOrder
assignedToGroupId?: Prisma.SortOrderInput | Prisma.SortOrder
titel?: Prisma.SortOrder
beschreibung?: Prisma.SortOrderInput | Prisma.SortOrder
startAt?: Prisma.SortOrder
endAt?: Prisma.SortOrderInput | Prisma.SortOrder
status?: Prisma.SortOrder
isDemoData?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
}
export type ProjektTerminWhereUniqueInput = Prisma.AtLeast<{
id?: string
AND?: Prisma.ProjektTerminWhereInput | Prisma.ProjektTerminWhereInput[]
OR?: Prisma.ProjektTerminWhereInput[]
NOT?: Prisma.ProjektTerminWhereInput | Prisma.ProjektTerminWhereInput[]
tenantId?: Prisma.StringFilter<"ProjektTermin"> | string
projektId?: Prisma.StringFilter<"ProjektTermin"> | string
createdByUserId?: Prisma.StringNullableFilter<"ProjektTermin"> | string | null
assignedToUserId?: Prisma.StringNullableFilter<"ProjektTermin"> | string | null
assignedToGroupId?: Prisma.StringNullableFilter<"ProjektTermin"> | string | null
titel?: Prisma.StringFilter<"ProjektTermin"> | string
beschreibung?: Prisma.StringNullableFilter<"ProjektTermin"> | string | null
startAt?: Prisma.DateTimeFilter<"ProjektTermin"> | Date | string
endAt?: Prisma.DateTimeNullableFilter<"ProjektTermin"> | Date | string | null
status?: Prisma.EnumProjektTerminStatusFilter<"ProjektTermin"> | $Enums.ProjektTerminStatus
isDemoData?: Prisma.BoolFilter<"ProjektTermin"> | boolean
createdAt?: Prisma.DateTimeFilter<"ProjektTermin"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"ProjektTermin"> | Date | string
archivedAt?: Prisma.DateTimeNullableFilter<"ProjektTermin"> | Date | string | null
}, "id">
export type ProjektTerminOrderByWithAggregationInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
projektId?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
assignedToUserId?: Prisma.SortOrderInput | Prisma.SortOrder
assignedToGroupId?: Prisma.SortOrderInput | Prisma.SortOrder
titel?: Prisma.SortOrder
beschreibung?: Prisma.SortOrderInput | Prisma.SortOrder
startAt?: Prisma.SortOrder
endAt?: Prisma.SortOrderInput | Prisma.SortOrder
status?: Prisma.SortOrder
isDemoData?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.ProjektTerminCountOrderByAggregateInput
_max?: Prisma.ProjektTerminMaxOrderByAggregateInput
_min?: Prisma.ProjektTerminMinOrderByAggregateInput
}
export type ProjektTerminScalarWhereWithAggregatesInput = {
AND?: Prisma.ProjektTerminScalarWhereWithAggregatesInput | Prisma.ProjektTerminScalarWhereWithAggregatesInput[]
OR?: Prisma.ProjektTerminScalarWhereWithAggregatesInput[]
NOT?: Prisma.ProjektTerminScalarWhereWithAggregatesInput | Prisma.ProjektTerminScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"ProjektTermin"> | string
tenantId?: Prisma.StringWithAggregatesFilter<"ProjektTermin"> | string
projektId?: Prisma.StringWithAggregatesFilter<"ProjektTermin"> | string
createdByUserId?: Prisma.StringNullableWithAggregatesFilter<"ProjektTermin"> | string | null
assignedToUserId?: Prisma.StringNullableWithAggregatesFilter<"ProjektTermin"> | string | null
assignedToGroupId?: Prisma.StringNullableWithAggregatesFilter<"ProjektTermin"> | string | null
titel?: Prisma.StringWithAggregatesFilter<"ProjektTermin"> | string
beschreibung?: Prisma.StringNullableWithAggregatesFilter<"ProjektTermin"> | string | null
startAt?: Prisma.DateTimeWithAggregatesFilter<"ProjektTermin"> | Date | string
endAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ProjektTermin"> | Date | string | null
status?: Prisma.EnumProjektTerminStatusWithAggregatesFilter<"ProjektTermin"> | $Enums.ProjektTerminStatus
isDemoData?: Prisma.BoolWithAggregatesFilter<"ProjektTermin"> | boolean
createdAt?: Prisma.DateTimeWithAggregatesFilter<"ProjektTermin"> | Date | string
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ProjektTermin"> | Date | string
archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ProjektTermin"> | Date | string | null
}
export type ProjektTerminCreateInput = {
id?: string
tenantId: string
projektId: string
createdByUserId?: string | null
assignedToUserId?: string | null
assignedToGroupId?: string | null
titel: string
beschreibung?: string | null
startAt: Date | string
endAt?: Date | string | null
status?: $Enums.ProjektTerminStatus
isDemoData?: boolean
createdAt?: Date | string
updatedAt?: Date | string
archivedAt?: Date | string | null
}
export type ProjektTerminUncheckedCreateInput = {
id?: string
tenantId: string
projektId: string
createdByUserId?: string | null
assignedToUserId?: string | null
assignedToGroupId?: string | null
titel: string
beschreibung?: string | null
startAt: Date | string
endAt?: Date | string | null
status?: $Enums.ProjektTerminStatus
isDemoData?: boolean
createdAt?: Date | string
updatedAt?: Date | string
archivedAt?: Date | string | null
}
export type ProjektTerminUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
projektId?: Prisma.StringFieldUpdateOperationsInput | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
assignedToUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
assignedToGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
titel?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
startAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
endAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
status?: Prisma.EnumProjektTerminStatusFieldUpdateOperationsInput | $Enums.ProjektTerminStatus
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type ProjektTerminUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
projektId?: Prisma.StringFieldUpdateOperationsInput | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
assignedToUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
assignedToGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
titel?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
startAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
endAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
status?: Prisma.EnumProjektTerminStatusFieldUpdateOperationsInput | $Enums.ProjektTerminStatus
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type ProjektTerminCreateManyInput = {
id?: string
tenantId: string
projektId: string
createdByUserId?: string | null
assignedToUserId?: string | null
assignedToGroupId?: string | null
titel: string
beschreibung?: string | null
startAt: Date | string
endAt?: Date | string | null
status?: $Enums.ProjektTerminStatus
isDemoData?: boolean
createdAt?: Date | string
updatedAt?: Date | string
archivedAt?: Date | string | null
}
export type ProjektTerminUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
projektId?: Prisma.StringFieldUpdateOperationsInput | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
assignedToUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
assignedToGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
titel?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
startAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
endAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
status?: Prisma.EnumProjektTerminStatusFieldUpdateOperationsInput | $Enums.ProjektTerminStatus
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type ProjektTerminUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
projektId?: Prisma.StringFieldUpdateOperationsInput | string
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
assignedToUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
assignedToGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
titel?: Prisma.StringFieldUpdateOperationsInput | string
beschreibung?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
startAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
endAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
status?: Prisma.EnumProjektTerminStatusFieldUpdateOperationsInput | $Enums.ProjektTerminStatus
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type ProjektTerminCountOrderByAggregateInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
projektId?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrder
assignedToUserId?: Prisma.SortOrder
assignedToGroupId?: Prisma.SortOrder
titel?: Prisma.SortOrder
beschreibung?: Prisma.SortOrder
startAt?: Prisma.SortOrder
endAt?: Prisma.SortOrder
status?: Prisma.SortOrder
isDemoData?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
archivedAt?: Prisma.SortOrder
}
export type ProjektTerminMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
projektId?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrder
assignedToUserId?: Prisma.SortOrder
assignedToGroupId?: Prisma.SortOrder
titel?: Prisma.SortOrder
beschreibung?: Prisma.SortOrder
startAt?: Prisma.SortOrder
endAt?: Prisma.SortOrder
status?: Prisma.SortOrder
isDemoData?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
archivedAt?: Prisma.SortOrder
}
export type ProjektTerminMinOrderByAggregateInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
projektId?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrder
assignedToUserId?: Prisma.SortOrder
assignedToGroupId?: Prisma.SortOrder
titel?: Prisma.SortOrder
beschreibung?: Prisma.SortOrder
startAt?: Prisma.SortOrder
endAt?: Prisma.SortOrder
status?: Prisma.SortOrder
isDemoData?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
archivedAt?: Prisma.SortOrder
}
export type EnumProjektTerminStatusFieldUpdateOperationsInput = {
set?: $Enums.ProjektTerminStatus
}
export type ProjektTerminSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
tenantId?: boolean
projektId?: boolean
createdByUserId?: boolean
assignedToUserId?: boolean
assignedToGroupId?: boolean
titel?: boolean
beschreibung?: boolean
startAt?: boolean
endAt?: boolean
status?: boolean
isDemoData?: boolean
createdAt?: boolean
updatedAt?: boolean
archivedAt?: boolean
}, ExtArgs["result"]["projektTermin"]>
export type ProjektTerminSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
tenantId?: boolean
projektId?: boolean
createdByUserId?: boolean
assignedToUserId?: boolean
assignedToGroupId?: boolean
titel?: boolean
beschreibung?: boolean
startAt?: boolean
endAt?: boolean
status?: boolean
isDemoData?: boolean
createdAt?: boolean
updatedAt?: boolean
archivedAt?: boolean
}, ExtArgs["result"]["projektTermin"]>
export type ProjektTerminSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
tenantId?: boolean
projektId?: boolean
createdByUserId?: boolean
assignedToUserId?: boolean
assignedToGroupId?: boolean
titel?: boolean
beschreibung?: boolean
startAt?: boolean
endAt?: boolean
status?: boolean
isDemoData?: boolean
createdAt?: boolean
updatedAt?: boolean
archivedAt?: boolean
}, ExtArgs["result"]["projektTermin"]>
export type ProjektTerminSelectScalar = {
id?: boolean
tenantId?: boolean
projektId?: boolean
createdByUserId?: boolean
assignedToUserId?: boolean
assignedToGroupId?: boolean
titel?: boolean
beschreibung?: boolean
startAt?: boolean
endAt?: boolean
status?: boolean
isDemoData?: boolean
createdAt?: boolean
updatedAt?: boolean
archivedAt?: boolean
}
export type ProjektTerminOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "projektId" | "createdByUserId" | "assignedToUserId" | "assignedToGroupId" | "titel" | "beschreibung" | "startAt" | "endAt" | "status" | "isDemoData" | "createdAt" | "updatedAt" | "archivedAt", ExtArgs["result"]["projektTermin"]>
export type $ProjektTerminPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "ProjektTermin"
objects: {}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
tenantId: string
projektId: string
createdByUserId: string | null
assignedToUserId: string | null
assignedToGroupId: string | null
titel: string
beschreibung: string | null
startAt: Date
endAt: Date | null
status: $Enums.ProjektTerminStatus
isDemoData: boolean
createdAt: Date
updatedAt: Date
archivedAt: Date | null
}, ExtArgs["result"]["projektTermin"]>
composites: {}
}
export type ProjektTerminGetPayload<S extends boolean | null | undefined | ProjektTerminDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProjektTerminPayload, S>
export type ProjektTerminCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<ProjektTerminFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: ProjektTerminCountAggregateInputType | true
}
export interface ProjektTerminDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ProjektTermin'], meta: { name: 'ProjektTermin' } }
/**
* Find zero or one ProjektTermin that matches the filter.
* @param {ProjektTerminFindUniqueArgs} args - Arguments to find a ProjektTermin
* @example
* // Get one ProjektTermin
* const projektTermin = await prisma.projektTermin.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends ProjektTerminFindUniqueArgs>(args: Prisma.SelectSubset<T, ProjektTerminFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProjektTerminClient<runtime.Types.Result.GetResult<Prisma.$ProjektTerminPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one ProjektTermin that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {ProjektTerminFindUniqueOrThrowArgs} args - Arguments to find a ProjektTermin
* @example
* // Get one ProjektTermin
* const projektTermin = await prisma.projektTermin.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends ProjektTerminFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProjektTerminFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProjektTerminClient<runtime.Types.Result.GetResult<Prisma.$ProjektTerminPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first ProjektTermin 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 {ProjektTerminFindFirstArgs} args - Arguments to find a ProjektTermin
* @example
* // Get one ProjektTermin
* const projektTermin = await prisma.projektTermin.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends ProjektTerminFindFirstArgs>(args?: Prisma.SelectSubset<T, ProjektTerminFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProjektTerminClient<runtime.Types.Result.GetResult<Prisma.$ProjektTerminPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first ProjektTermin 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 {ProjektTerminFindFirstOrThrowArgs} args - Arguments to find a ProjektTermin
* @example
* // Get one ProjektTermin
* const projektTermin = await prisma.projektTermin.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends ProjektTerminFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProjektTerminFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProjektTerminClient<runtime.Types.Result.GetResult<Prisma.$ProjektTerminPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more ProjektTermins 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 {ProjektTerminFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all ProjektTermins
* const projektTermins = await prisma.projektTermin.findMany()
*
* // Get first 10 ProjektTermins
* const projektTermins = await prisma.projektTermin.findMany({ take: 10 })
*
* // Only select the `id`
* const projektTerminWithIdOnly = await prisma.projektTermin.findMany({ select: { id: true } })
*
*/
findMany<T extends ProjektTerminFindManyArgs>(args?: Prisma.SelectSubset<T, ProjektTerminFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjektTerminPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a ProjektTermin.
* @param {ProjektTerminCreateArgs} args - Arguments to create a ProjektTermin.
* @example
* // Create one ProjektTermin
* const ProjektTermin = await prisma.projektTermin.create({
* data: {
* // ... data to create a ProjektTermin
* }
* })
*
*/
create<T extends ProjektTerminCreateArgs>(args: Prisma.SelectSubset<T, ProjektTerminCreateArgs<ExtArgs>>): Prisma.Prisma__ProjektTerminClient<runtime.Types.Result.GetResult<Prisma.$ProjektTerminPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many ProjektTermins.
* @param {ProjektTerminCreateManyArgs} args - Arguments to create many ProjektTermins.
* @example
* // Create many ProjektTermins
* const projektTermin = await prisma.projektTermin.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends ProjektTerminCreateManyArgs>(args?: Prisma.SelectSubset<T, ProjektTerminCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many ProjektTermins and returns the data saved in the database.
* @param {ProjektTerminCreateManyAndReturnArgs} args - Arguments to create many ProjektTermins.
* @example
* // Create many ProjektTermins
* const projektTermin = await prisma.projektTermin.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many ProjektTermins and only return the `id`
* const projektTerminWithIdOnly = await prisma.projektTermin.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 ProjektTerminCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProjektTerminCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjektTerminPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a ProjektTermin.
* @param {ProjektTerminDeleteArgs} args - Arguments to delete one ProjektTermin.
* @example
* // Delete one ProjektTermin
* const ProjektTermin = await prisma.projektTermin.delete({
* where: {
* // ... filter to delete one ProjektTermin
* }
* })
*
*/
delete<T extends ProjektTerminDeleteArgs>(args: Prisma.SelectSubset<T, ProjektTerminDeleteArgs<ExtArgs>>): Prisma.Prisma__ProjektTerminClient<runtime.Types.Result.GetResult<Prisma.$ProjektTerminPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one ProjektTermin.
* @param {ProjektTerminUpdateArgs} args - Arguments to update one ProjektTermin.
* @example
* // Update one ProjektTermin
* const projektTermin = await prisma.projektTermin.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends ProjektTerminUpdateArgs>(args: Prisma.SelectSubset<T, ProjektTerminUpdateArgs<ExtArgs>>): Prisma.Prisma__ProjektTerminClient<runtime.Types.Result.GetResult<Prisma.$ProjektTerminPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more ProjektTermins.
* @param {ProjektTerminDeleteManyArgs} args - Arguments to filter ProjektTermins to delete.
* @example
* // Delete a few ProjektTermins
* const { count } = await prisma.projektTermin.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends ProjektTerminDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProjektTerminDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more ProjektTermins.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {ProjektTerminUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many ProjektTermins
* const projektTermin = await prisma.projektTermin.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends ProjektTerminUpdateManyArgs>(args: Prisma.SelectSubset<T, ProjektTerminUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more ProjektTermins and returns the data updated in the database.
* @param {ProjektTerminUpdateManyAndReturnArgs} args - Arguments to update many ProjektTermins.
* @example
* // Update many ProjektTermins
* const projektTermin = await prisma.projektTermin.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more ProjektTermins and only return the `id`
* const projektTerminWithIdOnly = await prisma.projektTermin.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 ProjektTerminUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProjektTerminUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjektTerminPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one ProjektTermin.
* @param {ProjektTerminUpsertArgs} args - Arguments to update or create a ProjektTermin.
* @example
* // Update or create a ProjektTermin
* const projektTermin = await prisma.projektTermin.upsert({
* create: {
* // ... data to create a ProjektTermin
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the ProjektTermin we want to update
* }
* })
*/
upsert<T extends ProjektTerminUpsertArgs>(args: Prisma.SelectSubset<T, ProjektTerminUpsertArgs<ExtArgs>>): Prisma.Prisma__ProjektTerminClient<runtime.Types.Result.GetResult<Prisma.$ProjektTerminPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of ProjektTermins.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {ProjektTerminCountArgs} args - Arguments to filter ProjektTermins to count.
* @example
* // Count the number of ProjektTermins
* const count = await prisma.projektTermin.count({
* where: {
* // ... the filter for the ProjektTermins we want to count
* }
* })
**/
count<T extends ProjektTerminCountArgs>(
args?: Prisma.Subset<T, ProjektTerminCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], ProjektTerminCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a ProjektTermin.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {ProjektTerminAggregateArgs} 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 ProjektTerminAggregateArgs>(args: Prisma.Subset<T, ProjektTerminAggregateArgs>): Prisma.PrismaPromise<GetProjektTerminAggregateType<T>>
/**
* Group by ProjektTermin.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {ProjektTerminGroupByArgs} 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 ProjektTerminGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: ProjektTerminGroupByArgs['orderBy'] }
: { orderBy?: ProjektTerminGroupByArgs['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, ProjektTerminGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProjektTerminGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the ProjektTermin model
*/
readonly fields: ProjektTerminFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for ProjektTermin.
* 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__ProjektTerminClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
/**
* 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 ProjektTermin model
*/
export interface ProjektTerminFieldRefs {
readonly id: Prisma.FieldRef<"ProjektTermin", 'String'>
readonly tenantId: Prisma.FieldRef<"ProjektTermin", 'String'>
readonly projektId: Prisma.FieldRef<"ProjektTermin", 'String'>
readonly createdByUserId: Prisma.FieldRef<"ProjektTermin", 'String'>
readonly assignedToUserId: Prisma.FieldRef<"ProjektTermin", 'String'>
readonly assignedToGroupId: Prisma.FieldRef<"ProjektTermin", 'String'>
readonly titel: Prisma.FieldRef<"ProjektTermin", 'String'>
readonly beschreibung: Prisma.FieldRef<"ProjektTermin", 'String'>
readonly startAt: Prisma.FieldRef<"ProjektTermin", 'DateTime'>
readonly endAt: Prisma.FieldRef<"ProjektTermin", 'DateTime'>
readonly status: Prisma.FieldRef<"ProjektTermin", 'ProjektTerminStatus'>
readonly isDemoData: Prisma.FieldRef<"ProjektTermin", 'Boolean'>
readonly createdAt: Prisma.FieldRef<"ProjektTermin", 'DateTime'>
readonly updatedAt: Prisma.FieldRef<"ProjektTermin", 'DateTime'>
readonly archivedAt: Prisma.FieldRef<"ProjektTermin", 'DateTime'>
}
// Custom InputTypes
/**
* ProjektTermin findUnique
*/
export type ProjektTerminFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ProjektTermin
*/
select?: Prisma.ProjektTerminSelect<ExtArgs> | null
/**
* Omit specific fields from the ProjektTermin
*/
omit?: Prisma.ProjektTerminOmit<ExtArgs> | null
/**
* Filter, which ProjektTermin to fetch.
*/
where: Prisma.ProjektTerminWhereUniqueInput
}
/**
* ProjektTermin findUniqueOrThrow
*/
export type ProjektTerminFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ProjektTermin
*/
select?: Prisma.ProjektTerminSelect<ExtArgs> | null
/**
* Omit specific fields from the ProjektTermin
*/
omit?: Prisma.ProjektTerminOmit<ExtArgs> | null
/**
* Filter, which ProjektTermin to fetch.
*/
where: Prisma.ProjektTerminWhereUniqueInput
}
/**
* ProjektTermin findFirst
*/
export type ProjektTerminFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ProjektTermin
*/
select?: Prisma.ProjektTerminSelect<ExtArgs> | null
/**
* Omit specific fields from the ProjektTermin
*/
omit?: Prisma.ProjektTerminOmit<ExtArgs> | null
/**
* Filter, which ProjektTermin to fetch.
*/
where?: Prisma.ProjektTerminWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of ProjektTermins to fetch.
*/
orderBy?: Prisma.ProjektTerminOrderByWithRelationInput | Prisma.ProjektTerminOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for ProjektTermins.
*/
cursor?: Prisma.ProjektTerminWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` ProjektTermins 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` ProjektTermins.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of ProjektTermins.
*/
distinct?: Prisma.ProjektTerminScalarFieldEnum | Prisma.ProjektTerminScalarFieldEnum[]
}
/**
* ProjektTermin findFirstOrThrow
*/
export type ProjektTerminFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ProjektTermin
*/
select?: Prisma.ProjektTerminSelect<ExtArgs> | null
/**
* Omit specific fields from the ProjektTermin
*/
omit?: Prisma.ProjektTerminOmit<ExtArgs> | null
/**
* Filter, which ProjektTermin to fetch.
*/
where?: Prisma.ProjektTerminWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of ProjektTermins to fetch.
*/
orderBy?: Prisma.ProjektTerminOrderByWithRelationInput | Prisma.ProjektTerminOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for ProjektTermins.
*/
cursor?: Prisma.ProjektTerminWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` ProjektTermins 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` ProjektTermins.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of ProjektTermins.
*/
distinct?: Prisma.ProjektTerminScalarFieldEnum | Prisma.ProjektTerminScalarFieldEnum[]
}
/**
* ProjektTermin findMany
*/
export type ProjektTerminFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ProjektTermin
*/
select?: Prisma.ProjektTerminSelect<ExtArgs> | null
/**
* Omit specific fields from the ProjektTermin
*/
omit?: Prisma.ProjektTerminOmit<ExtArgs> | null
/**
* Filter, which ProjektTermins to fetch.
*/
where?: Prisma.ProjektTerminWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of ProjektTermins to fetch.
*/
orderBy?: Prisma.ProjektTerminOrderByWithRelationInput | Prisma.ProjektTerminOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing ProjektTermins.
*/
cursor?: Prisma.ProjektTerminWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` ProjektTermins 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` ProjektTermins.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of ProjektTermins.
*/
distinct?: Prisma.ProjektTerminScalarFieldEnum | Prisma.ProjektTerminScalarFieldEnum[]
}
/**
* ProjektTermin create
*/
export type ProjektTerminCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ProjektTermin
*/
select?: Prisma.ProjektTerminSelect<ExtArgs> | null
/**
* Omit specific fields from the ProjektTermin
*/
omit?: Prisma.ProjektTerminOmit<ExtArgs> | null
/**
* The data needed to create a ProjektTermin.
*/
data: Prisma.XOR<Prisma.ProjektTerminCreateInput, Prisma.ProjektTerminUncheckedCreateInput>
}
/**
* ProjektTermin createMany
*/
export type ProjektTerminCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many ProjektTermins.
*/
data: Prisma.ProjektTerminCreateManyInput | Prisma.ProjektTerminCreateManyInput[]
skipDuplicates?: boolean
}
/**
* ProjektTermin createManyAndReturn
*/
export type ProjektTerminCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ProjektTermin
*/
select?: Prisma.ProjektTerminSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the ProjektTermin
*/
omit?: Prisma.ProjektTerminOmit<ExtArgs> | null
/**
* The data used to create many ProjektTermins.
*/
data: Prisma.ProjektTerminCreateManyInput | Prisma.ProjektTerminCreateManyInput[]
skipDuplicates?: boolean
}
/**
* ProjektTermin update
*/
export type ProjektTerminUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ProjektTermin
*/
select?: Prisma.ProjektTerminSelect<ExtArgs> | null
/**
* Omit specific fields from the ProjektTermin
*/
omit?: Prisma.ProjektTerminOmit<ExtArgs> | null
/**
* The data needed to update a ProjektTermin.
*/
data: Prisma.XOR<Prisma.ProjektTerminUpdateInput, Prisma.ProjektTerminUncheckedUpdateInput>
/**
* Choose, which ProjektTermin to update.
*/
where: Prisma.ProjektTerminWhereUniqueInput
}
/**
* ProjektTermin updateMany
*/
export type ProjektTerminUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update ProjektTermins.
*/
data: Prisma.XOR<Prisma.ProjektTerminUpdateManyMutationInput, Prisma.ProjektTerminUncheckedUpdateManyInput>
/**
* Filter which ProjektTermins to update
*/
where?: Prisma.ProjektTerminWhereInput
/**
* Limit how many ProjektTermins to update.
*/
limit?: number
}
/**
* ProjektTermin updateManyAndReturn
*/
export type ProjektTerminUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ProjektTermin
*/
select?: Prisma.ProjektTerminSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the ProjektTermin
*/
omit?: Prisma.ProjektTerminOmit<ExtArgs> | null
/**
* The data used to update ProjektTermins.
*/
data: Prisma.XOR<Prisma.ProjektTerminUpdateManyMutationInput, Prisma.ProjektTerminUncheckedUpdateManyInput>
/**
* Filter which ProjektTermins to update
*/
where?: Prisma.ProjektTerminWhereInput
/**
* Limit how many ProjektTermins to update.
*/
limit?: number
}
/**
* ProjektTermin upsert
*/
export type ProjektTerminUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ProjektTermin
*/
select?: Prisma.ProjektTerminSelect<ExtArgs> | null
/**
* Omit specific fields from the ProjektTermin
*/
omit?: Prisma.ProjektTerminOmit<ExtArgs> | null
/**
* The filter to search for the ProjektTermin to update in case it exists.
*/
where: Prisma.ProjektTerminWhereUniqueInput
/**
* In case the ProjektTermin found by the `where` argument doesn't exist, create a new ProjektTermin with this data.
*/
create: Prisma.XOR<Prisma.ProjektTerminCreateInput, Prisma.ProjektTerminUncheckedCreateInput>
/**
* In case the ProjektTermin was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.ProjektTerminUpdateInput, Prisma.ProjektTerminUncheckedUpdateInput>
}
/**
* ProjektTermin delete
*/
export type ProjektTerminDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ProjektTermin
*/
select?: Prisma.ProjektTerminSelect<ExtArgs> | null
/**
* Omit specific fields from the ProjektTermin
*/
omit?: Prisma.ProjektTerminOmit<ExtArgs> | null
/**
* Filter which ProjektTermin to delete.
*/
where: Prisma.ProjektTerminWhereUniqueInput
}
/**
* ProjektTermin deleteMany
*/
export type ProjektTerminDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which ProjektTermins to delete
*/
where?: Prisma.ProjektTerminWhereInput
/**
* Limit how many ProjektTermins to delete.
*/
limit?: number
}
/**
* ProjektTermin without action
*/
export type ProjektTerminDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ProjektTermin
*/
select?: Prisma.ProjektTerminSelect<ExtArgs> | null
/**
* Omit specific fields from the ProjektTermin
*/
omit?: Prisma.ProjektTerminOmit<ExtArgs> | null
}