1427 lines
55 KiB
TypeScript
1427 lines
55 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 `ProjektKontakt` 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 ProjektKontakt
|
|
*
|
|
*/
|
|
export type ProjektKontaktModel = runtime.Types.Result.DefaultSelection<Prisma.$ProjektKontaktPayload>
|
|
|
|
export type AggregateProjektKontakt = {
|
|
_count: ProjektKontaktCountAggregateOutputType | null
|
|
_min: ProjektKontaktMinAggregateOutputType | null
|
|
_max: ProjektKontaktMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type ProjektKontaktMinAggregateOutputType = {
|
|
id: string | null
|
|
tenantId: string | null
|
|
createdAt: Date | null
|
|
projektId: string | null
|
|
kontaktId: string | null
|
|
rolle: $Enums.ProjektKontaktRolle | null
|
|
primaer: boolean | null
|
|
}
|
|
|
|
export type ProjektKontaktMaxAggregateOutputType = {
|
|
id: string | null
|
|
tenantId: string | null
|
|
createdAt: Date | null
|
|
projektId: string | null
|
|
kontaktId: string | null
|
|
rolle: $Enums.ProjektKontaktRolle | null
|
|
primaer: boolean | null
|
|
}
|
|
|
|
export type ProjektKontaktCountAggregateOutputType = {
|
|
id: number
|
|
tenantId: number
|
|
createdAt: number
|
|
projektId: number
|
|
kontaktId: number
|
|
rolle: number
|
|
primaer: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type ProjektKontaktMinAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
createdAt?: true
|
|
projektId?: true
|
|
kontaktId?: true
|
|
rolle?: true
|
|
primaer?: true
|
|
}
|
|
|
|
export type ProjektKontaktMaxAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
createdAt?: true
|
|
projektId?: true
|
|
kontaktId?: true
|
|
rolle?: true
|
|
primaer?: true
|
|
}
|
|
|
|
export type ProjektKontaktCountAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
createdAt?: true
|
|
projektId?: true
|
|
kontaktId?: true
|
|
rolle?: true
|
|
primaer?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type ProjektKontaktAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which ProjektKontakt to aggregate.
|
|
*/
|
|
where?: Prisma.ProjektKontaktWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ProjektKontakts to fetch.
|
|
*/
|
|
orderBy?: Prisma.ProjektKontaktOrderByWithRelationInput | Prisma.ProjektKontaktOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.ProjektKontaktWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ProjektKontakts 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` ProjektKontakts.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned ProjektKontakts
|
|
**/
|
|
_count?: true | ProjektKontaktCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: ProjektKontaktMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: ProjektKontaktMaxAggregateInputType
|
|
}
|
|
|
|
export type GetProjektKontaktAggregateType<T extends ProjektKontaktAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateProjektKontakt]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateProjektKontakt[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateProjektKontakt[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProjektKontaktGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.ProjektKontaktWhereInput
|
|
orderBy?: Prisma.ProjektKontaktOrderByWithAggregationInput | Prisma.ProjektKontaktOrderByWithAggregationInput[]
|
|
by: Prisma.ProjektKontaktScalarFieldEnum[] | Prisma.ProjektKontaktScalarFieldEnum
|
|
having?: Prisma.ProjektKontaktScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: ProjektKontaktCountAggregateInputType | true
|
|
_min?: ProjektKontaktMinAggregateInputType
|
|
_max?: ProjektKontaktMaxAggregateInputType
|
|
}
|
|
|
|
export type ProjektKontaktGroupByOutputType = {
|
|
id: string
|
|
tenantId: string
|
|
createdAt: Date
|
|
projektId: string
|
|
kontaktId: string
|
|
rolle: $Enums.ProjektKontaktRolle
|
|
primaer: boolean
|
|
_count: ProjektKontaktCountAggregateOutputType | null
|
|
_min: ProjektKontaktMinAggregateOutputType | null
|
|
_max: ProjektKontaktMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetProjektKontaktGroupByPayload<T extends ProjektKontaktGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<ProjektKontaktGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof ProjektKontaktGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], ProjektKontaktGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], ProjektKontaktGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type ProjektKontaktWhereInput = {
|
|
AND?: Prisma.ProjektKontaktWhereInput | Prisma.ProjektKontaktWhereInput[]
|
|
OR?: Prisma.ProjektKontaktWhereInput[]
|
|
NOT?: Prisma.ProjektKontaktWhereInput | Prisma.ProjektKontaktWhereInput[]
|
|
id?: Prisma.StringFilter<"ProjektKontakt"> | string
|
|
tenantId?: Prisma.StringFilter<"ProjektKontakt"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"ProjektKontakt"> | Date | string
|
|
projektId?: Prisma.StringFilter<"ProjektKontakt"> | string
|
|
kontaktId?: Prisma.StringFilter<"ProjektKontakt"> | string
|
|
rolle?: Prisma.EnumProjektKontaktRolleFilter<"ProjektKontakt"> | $Enums.ProjektKontaktRolle
|
|
primaer?: Prisma.BoolFilter<"ProjektKontakt"> | boolean
|
|
projekt?: Prisma.XOR<Prisma.ProjektScalarRelationFilter, Prisma.ProjektWhereInput>
|
|
}
|
|
|
|
export type ProjektKontaktOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
projektId?: Prisma.SortOrder
|
|
kontaktId?: Prisma.SortOrder
|
|
rolle?: Prisma.SortOrder
|
|
primaer?: Prisma.SortOrder
|
|
projekt?: Prisma.ProjektOrderByWithRelationInput
|
|
}
|
|
|
|
export type ProjektKontaktWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
projektId_kontaktId_rolle?: Prisma.ProjektKontaktProjektIdKontaktIdRolleCompoundUniqueInput
|
|
AND?: Prisma.ProjektKontaktWhereInput | Prisma.ProjektKontaktWhereInput[]
|
|
OR?: Prisma.ProjektKontaktWhereInput[]
|
|
NOT?: Prisma.ProjektKontaktWhereInput | Prisma.ProjektKontaktWhereInput[]
|
|
tenantId?: Prisma.StringFilter<"ProjektKontakt"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"ProjektKontakt"> | Date | string
|
|
projektId?: Prisma.StringFilter<"ProjektKontakt"> | string
|
|
kontaktId?: Prisma.StringFilter<"ProjektKontakt"> | string
|
|
rolle?: Prisma.EnumProjektKontaktRolleFilter<"ProjektKontakt"> | $Enums.ProjektKontaktRolle
|
|
primaer?: Prisma.BoolFilter<"ProjektKontakt"> | boolean
|
|
projekt?: Prisma.XOR<Prisma.ProjektScalarRelationFilter, Prisma.ProjektWhereInput>
|
|
}, "id" | "projektId_kontaktId_rolle">
|
|
|
|
export type ProjektKontaktOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
projektId?: Prisma.SortOrder
|
|
kontaktId?: Prisma.SortOrder
|
|
rolle?: Prisma.SortOrder
|
|
primaer?: Prisma.SortOrder
|
|
_count?: Prisma.ProjektKontaktCountOrderByAggregateInput
|
|
_max?: Prisma.ProjektKontaktMaxOrderByAggregateInput
|
|
_min?: Prisma.ProjektKontaktMinOrderByAggregateInput
|
|
}
|
|
|
|
export type ProjektKontaktScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.ProjektKontaktScalarWhereWithAggregatesInput | Prisma.ProjektKontaktScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.ProjektKontaktScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.ProjektKontaktScalarWhereWithAggregatesInput | Prisma.ProjektKontaktScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"ProjektKontakt"> | string
|
|
tenantId?: Prisma.StringWithAggregatesFilter<"ProjektKontakt"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"ProjektKontakt"> | Date | string
|
|
projektId?: Prisma.StringWithAggregatesFilter<"ProjektKontakt"> | string
|
|
kontaktId?: Prisma.StringWithAggregatesFilter<"ProjektKontakt"> | string
|
|
rolle?: Prisma.EnumProjektKontaktRolleWithAggregatesFilter<"ProjektKontakt"> | $Enums.ProjektKontaktRolle
|
|
primaer?: Prisma.BoolWithAggregatesFilter<"ProjektKontakt"> | boolean
|
|
}
|
|
|
|
export type ProjektKontaktCreateInput = {
|
|
id?: string
|
|
tenantId: string
|
|
createdAt?: Date | string
|
|
kontaktId: string
|
|
rolle: $Enums.ProjektKontaktRolle
|
|
primaer?: boolean
|
|
projekt: Prisma.ProjektCreateNestedOneWithoutKontakteInput
|
|
}
|
|
|
|
export type ProjektKontaktUncheckedCreateInput = {
|
|
id?: string
|
|
tenantId: string
|
|
createdAt?: Date | string
|
|
projektId: string
|
|
kontaktId: string
|
|
rolle: $Enums.ProjektKontaktRolle
|
|
primaer?: boolean
|
|
}
|
|
|
|
export type ProjektKontaktUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
kontaktId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rolle?: Prisma.EnumProjektKontaktRolleFieldUpdateOperationsInput | $Enums.ProjektKontaktRolle
|
|
primaer?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
projekt?: Prisma.ProjektUpdateOneRequiredWithoutKontakteNestedInput
|
|
}
|
|
|
|
export type ProjektKontaktUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
projektId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
kontaktId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rolle?: Prisma.EnumProjektKontaktRolleFieldUpdateOperationsInput | $Enums.ProjektKontaktRolle
|
|
primaer?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type ProjektKontaktCreateManyInput = {
|
|
id?: string
|
|
tenantId: string
|
|
createdAt?: Date | string
|
|
projektId: string
|
|
kontaktId: string
|
|
rolle: $Enums.ProjektKontaktRolle
|
|
primaer?: boolean
|
|
}
|
|
|
|
export type ProjektKontaktUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
kontaktId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rolle?: Prisma.EnumProjektKontaktRolleFieldUpdateOperationsInput | $Enums.ProjektKontaktRolle
|
|
primaer?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type ProjektKontaktUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
projektId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
kontaktId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rolle?: Prisma.EnumProjektKontaktRolleFieldUpdateOperationsInput | $Enums.ProjektKontaktRolle
|
|
primaer?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type ProjektKontaktListRelationFilter = {
|
|
every?: Prisma.ProjektKontaktWhereInput
|
|
some?: Prisma.ProjektKontaktWhereInput
|
|
none?: Prisma.ProjektKontaktWhereInput
|
|
}
|
|
|
|
export type ProjektKontaktOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ProjektKontaktProjektIdKontaktIdRolleCompoundUniqueInput = {
|
|
projektId: string
|
|
kontaktId: string
|
|
rolle: $Enums.ProjektKontaktRolle
|
|
}
|
|
|
|
export type ProjektKontaktCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
projektId?: Prisma.SortOrder
|
|
kontaktId?: Prisma.SortOrder
|
|
rolle?: Prisma.SortOrder
|
|
primaer?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ProjektKontaktMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
projektId?: Prisma.SortOrder
|
|
kontaktId?: Prisma.SortOrder
|
|
rolle?: Prisma.SortOrder
|
|
primaer?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ProjektKontaktMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
projektId?: Prisma.SortOrder
|
|
kontaktId?: Prisma.SortOrder
|
|
rolle?: Prisma.SortOrder
|
|
primaer?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ProjektKontaktCreateNestedManyWithoutProjektInput = {
|
|
create?: Prisma.XOR<Prisma.ProjektKontaktCreateWithoutProjektInput, Prisma.ProjektKontaktUncheckedCreateWithoutProjektInput> | Prisma.ProjektKontaktCreateWithoutProjektInput[] | Prisma.ProjektKontaktUncheckedCreateWithoutProjektInput[]
|
|
connectOrCreate?: Prisma.ProjektKontaktCreateOrConnectWithoutProjektInput | Prisma.ProjektKontaktCreateOrConnectWithoutProjektInput[]
|
|
createMany?: Prisma.ProjektKontaktCreateManyProjektInputEnvelope
|
|
connect?: Prisma.ProjektKontaktWhereUniqueInput | Prisma.ProjektKontaktWhereUniqueInput[]
|
|
}
|
|
|
|
export type ProjektKontaktUncheckedCreateNestedManyWithoutProjektInput = {
|
|
create?: Prisma.XOR<Prisma.ProjektKontaktCreateWithoutProjektInput, Prisma.ProjektKontaktUncheckedCreateWithoutProjektInput> | Prisma.ProjektKontaktCreateWithoutProjektInput[] | Prisma.ProjektKontaktUncheckedCreateWithoutProjektInput[]
|
|
connectOrCreate?: Prisma.ProjektKontaktCreateOrConnectWithoutProjektInput | Prisma.ProjektKontaktCreateOrConnectWithoutProjektInput[]
|
|
createMany?: Prisma.ProjektKontaktCreateManyProjektInputEnvelope
|
|
connect?: Prisma.ProjektKontaktWhereUniqueInput | Prisma.ProjektKontaktWhereUniqueInput[]
|
|
}
|
|
|
|
export type ProjektKontaktUpdateManyWithoutProjektNestedInput = {
|
|
create?: Prisma.XOR<Prisma.ProjektKontaktCreateWithoutProjektInput, Prisma.ProjektKontaktUncheckedCreateWithoutProjektInput> | Prisma.ProjektKontaktCreateWithoutProjektInput[] | Prisma.ProjektKontaktUncheckedCreateWithoutProjektInput[]
|
|
connectOrCreate?: Prisma.ProjektKontaktCreateOrConnectWithoutProjektInput | Prisma.ProjektKontaktCreateOrConnectWithoutProjektInput[]
|
|
upsert?: Prisma.ProjektKontaktUpsertWithWhereUniqueWithoutProjektInput | Prisma.ProjektKontaktUpsertWithWhereUniqueWithoutProjektInput[]
|
|
createMany?: Prisma.ProjektKontaktCreateManyProjektInputEnvelope
|
|
set?: Prisma.ProjektKontaktWhereUniqueInput | Prisma.ProjektKontaktWhereUniqueInput[]
|
|
disconnect?: Prisma.ProjektKontaktWhereUniqueInput | Prisma.ProjektKontaktWhereUniqueInput[]
|
|
delete?: Prisma.ProjektKontaktWhereUniqueInput | Prisma.ProjektKontaktWhereUniqueInput[]
|
|
connect?: Prisma.ProjektKontaktWhereUniqueInput | Prisma.ProjektKontaktWhereUniqueInput[]
|
|
update?: Prisma.ProjektKontaktUpdateWithWhereUniqueWithoutProjektInput | Prisma.ProjektKontaktUpdateWithWhereUniqueWithoutProjektInput[]
|
|
updateMany?: Prisma.ProjektKontaktUpdateManyWithWhereWithoutProjektInput | Prisma.ProjektKontaktUpdateManyWithWhereWithoutProjektInput[]
|
|
deleteMany?: Prisma.ProjektKontaktScalarWhereInput | Prisma.ProjektKontaktScalarWhereInput[]
|
|
}
|
|
|
|
export type ProjektKontaktUncheckedUpdateManyWithoutProjektNestedInput = {
|
|
create?: Prisma.XOR<Prisma.ProjektKontaktCreateWithoutProjektInput, Prisma.ProjektKontaktUncheckedCreateWithoutProjektInput> | Prisma.ProjektKontaktCreateWithoutProjektInput[] | Prisma.ProjektKontaktUncheckedCreateWithoutProjektInput[]
|
|
connectOrCreate?: Prisma.ProjektKontaktCreateOrConnectWithoutProjektInput | Prisma.ProjektKontaktCreateOrConnectWithoutProjektInput[]
|
|
upsert?: Prisma.ProjektKontaktUpsertWithWhereUniqueWithoutProjektInput | Prisma.ProjektKontaktUpsertWithWhereUniqueWithoutProjektInput[]
|
|
createMany?: Prisma.ProjektKontaktCreateManyProjektInputEnvelope
|
|
set?: Prisma.ProjektKontaktWhereUniqueInput | Prisma.ProjektKontaktWhereUniqueInput[]
|
|
disconnect?: Prisma.ProjektKontaktWhereUniqueInput | Prisma.ProjektKontaktWhereUniqueInput[]
|
|
delete?: Prisma.ProjektKontaktWhereUniqueInput | Prisma.ProjektKontaktWhereUniqueInput[]
|
|
connect?: Prisma.ProjektKontaktWhereUniqueInput | Prisma.ProjektKontaktWhereUniqueInput[]
|
|
update?: Prisma.ProjektKontaktUpdateWithWhereUniqueWithoutProjektInput | Prisma.ProjektKontaktUpdateWithWhereUniqueWithoutProjektInput[]
|
|
updateMany?: Prisma.ProjektKontaktUpdateManyWithWhereWithoutProjektInput | Prisma.ProjektKontaktUpdateManyWithWhereWithoutProjektInput[]
|
|
deleteMany?: Prisma.ProjektKontaktScalarWhereInput | Prisma.ProjektKontaktScalarWhereInput[]
|
|
}
|
|
|
|
export type EnumProjektKontaktRolleFieldUpdateOperationsInput = {
|
|
set?: $Enums.ProjektKontaktRolle
|
|
}
|
|
|
|
export type ProjektKontaktCreateWithoutProjektInput = {
|
|
id?: string
|
|
tenantId: string
|
|
createdAt?: Date | string
|
|
kontaktId: string
|
|
rolle: $Enums.ProjektKontaktRolle
|
|
primaer?: boolean
|
|
}
|
|
|
|
export type ProjektKontaktUncheckedCreateWithoutProjektInput = {
|
|
id?: string
|
|
tenantId: string
|
|
createdAt?: Date | string
|
|
kontaktId: string
|
|
rolle: $Enums.ProjektKontaktRolle
|
|
primaer?: boolean
|
|
}
|
|
|
|
export type ProjektKontaktCreateOrConnectWithoutProjektInput = {
|
|
where: Prisma.ProjektKontaktWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.ProjektKontaktCreateWithoutProjektInput, Prisma.ProjektKontaktUncheckedCreateWithoutProjektInput>
|
|
}
|
|
|
|
export type ProjektKontaktCreateManyProjektInputEnvelope = {
|
|
data: Prisma.ProjektKontaktCreateManyProjektInput | Prisma.ProjektKontaktCreateManyProjektInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type ProjektKontaktUpsertWithWhereUniqueWithoutProjektInput = {
|
|
where: Prisma.ProjektKontaktWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.ProjektKontaktUpdateWithoutProjektInput, Prisma.ProjektKontaktUncheckedUpdateWithoutProjektInput>
|
|
create: Prisma.XOR<Prisma.ProjektKontaktCreateWithoutProjektInput, Prisma.ProjektKontaktUncheckedCreateWithoutProjektInput>
|
|
}
|
|
|
|
export type ProjektKontaktUpdateWithWhereUniqueWithoutProjektInput = {
|
|
where: Prisma.ProjektKontaktWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.ProjektKontaktUpdateWithoutProjektInput, Prisma.ProjektKontaktUncheckedUpdateWithoutProjektInput>
|
|
}
|
|
|
|
export type ProjektKontaktUpdateManyWithWhereWithoutProjektInput = {
|
|
where: Prisma.ProjektKontaktScalarWhereInput
|
|
data: Prisma.XOR<Prisma.ProjektKontaktUpdateManyMutationInput, Prisma.ProjektKontaktUncheckedUpdateManyWithoutProjektInput>
|
|
}
|
|
|
|
export type ProjektKontaktScalarWhereInput = {
|
|
AND?: Prisma.ProjektKontaktScalarWhereInput | Prisma.ProjektKontaktScalarWhereInput[]
|
|
OR?: Prisma.ProjektKontaktScalarWhereInput[]
|
|
NOT?: Prisma.ProjektKontaktScalarWhereInput | Prisma.ProjektKontaktScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"ProjektKontakt"> | string
|
|
tenantId?: Prisma.StringFilter<"ProjektKontakt"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"ProjektKontakt"> | Date | string
|
|
projektId?: Prisma.StringFilter<"ProjektKontakt"> | string
|
|
kontaktId?: Prisma.StringFilter<"ProjektKontakt"> | string
|
|
rolle?: Prisma.EnumProjektKontaktRolleFilter<"ProjektKontakt"> | $Enums.ProjektKontaktRolle
|
|
primaer?: Prisma.BoolFilter<"ProjektKontakt"> | boolean
|
|
}
|
|
|
|
export type ProjektKontaktCreateManyProjektInput = {
|
|
id?: string
|
|
tenantId: string
|
|
createdAt?: Date | string
|
|
kontaktId: string
|
|
rolle: $Enums.ProjektKontaktRolle
|
|
primaer?: boolean
|
|
}
|
|
|
|
export type ProjektKontaktUpdateWithoutProjektInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
kontaktId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rolle?: Prisma.EnumProjektKontaktRolleFieldUpdateOperationsInput | $Enums.ProjektKontaktRolle
|
|
primaer?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type ProjektKontaktUncheckedUpdateWithoutProjektInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
kontaktId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rolle?: Prisma.EnumProjektKontaktRolleFieldUpdateOperationsInput | $Enums.ProjektKontaktRolle
|
|
primaer?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type ProjektKontaktUncheckedUpdateManyWithoutProjektInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
kontaktId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rolle?: Prisma.EnumProjektKontaktRolleFieldUpdateOperationsInput | $Enums.ProjektKontaktRolle
|
|
primaer?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
|
|
|
|
export type ProjektKontaktSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
createdAt?: boolean
|
|
projektId?: boolean
|
|
kontaktId?: boolean
|
|
rolle?: boolean
|
|
primaer?: boolean
|
|
projekt?: boolean | Prisma.ProjektDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["projektKontakt"]>
|
|
|
|
export type ProjektKontaktSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
createdAt?: boolean
|
|
projektId?: boolean
|
|
kontaktId?: boolean
|
|
rolle?: boolean
|
|
primaer?: boolean
|
|
projekt?: boolean | Prisma.ProjektDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["projektKontakt"]>
|
|
|
|
export type ProjektKontaktSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
createdAt?: boolean
|
|
projektId?: boolean
|
|
kontaktId?: boolean
|
|
rolle?: boolean
|
|
primaer?: boolean
|
|
projekt?: boolean | Prisma.ProjektDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["projektKontakt"]>
|
|
|
|
export type ProjektKontaktSelectScalar = {
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
createdAt?: boolean
|
|
projektId?: boolean
|
|
kontaktId?: boolean
|
|
rolle?: boolean
|
|
primaer?: boolean
|
|
}
|
|
|
|
export type ProjektKontaktOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "createdAt" | "projektId" | "kontaktId" | "rolle" | "primaer", ExtArgs["result"]["projektKontakt"]>
|
|
export type ProjektKontaktInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
projekt?: boolean | Prisma.ProjektDefaultArgs<ExtArgs>
|
|
}
|
|
export type ProjektKontaktIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
projekt?: boolean | Prisma.ProjektDefaultArgs<ExtArgs>
|
|
}
|
|
export type ProjektKontaktIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
projekt?: boolean | Prisma.ProjektDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $ProjektKontaktPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "ProjektKontakt"
|
|
objects: {
|
|
projekt: Prisma.$ProjektPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
tenantId: string
|
|
createdAt: Date
|
|
projektId: string
|
|
kontaktId: string
|
|
rolle: $Enums.ProjektKontaktRolle
|
|
primaer: boolean
|
|
}, ExtArgs["result"]["projektKontakt"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type ProjektKontaktGetPayload<S extends boolean | null | undefined | ProjektKontaktDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProjektKontaktPayload, S>
|
|
|
|
export type ProjektKontaktCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<ProjektKontaktFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: ProjektKontaktCountAggregateInputType | true
|
|
}
|
|
|
|
export interface ProjektKontaktDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ProjektKontakt'], meta: { name: 'ProjektKontakt' } }
|
|
/**
|
|
* Find zero or one ProjektKontakt that matches the filter.
|
|
* @param {ProjektKontaktFindUniqueArgs} args - Arguments to find a ProjektKontakt
|
|
* @example
|
|
* // Get one ProjektKontakt
|
|
* const projektKontakt = await prisma.projektKontakt.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends ProjektKontaktFindUniqueArgs>(args: Prisma.SelectSubset<T, ProjektKontaktFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProjektKontaktClient<runtime.Types.Result.GetResult<Prisma.$ProjektKontaktPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one ProjektKontakt that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {ProjektKontaktFindUniqueOrThrowArgs} args - Arguments to find a ProjektKontakt
|
|
* @example
|
|
* // Get one ProjektKontakt
|
|
* const projektKontakt = await prisma.projektKontakt.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends ProjektKontaktFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProjektKontaktFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProjektKontaktClient<runtime.Types.Result.GetResult<Prisma.$ProjektKontaktPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first ProjektKontakt 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 {ProjektKontaktFindFirstArgs} args - Arguments to find a ProjektKontakt
|
|
* @example
|
|
* // Get one ProjektKontakt
|
|
* const projektKontakt = await prisma.projektKontakt.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends ProjektKontaktFindFirstArgs>(args?: Prisma.SelectSubset<T, ProjektKontaktFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProjektKontaktClient<runtime.Types.Result.GetResult<Prisma.$ProjektKontaktPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first ProjektKontakt 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 {ProjektKontaktFindFirstOrThrowArgs} args - Arguments to find a ProjektKontakt
|
|
* @example
|
|
* // Get one ProjektKontakt
|
|
* const projektKontakt = await prisma.projektKontakt.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends ProjektKontaktFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProjektKontaktFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProjektKontaktClient<runtime.Types.Result.GetResult<Prisma.$ProjektKontaktPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more ProjektKontakts 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 {ProjektKontaktFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all ProjektKontakts
|
|
* const projektKontakts = await prisma.projektKontakt.findMany()
|
|
*
|
|
* // Get first 10 ProjektKontakts
|
|
* const projektKontakts = await prisma.projektKontakt.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const projektKontaktWithIdOnly = await prisma.projektKontakt.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends ProjektKontaktFindManyArgs>(args?: Prisma.SelectSubset<T, ProjektKontaktFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjektKontaktPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a ProjektKontakt.
|
|
* @param {ProjektKontaktCreateArgs} args - Arguments to create a ProjektKontakt.
|
|
* @example
|
|
* // Create one ProjektKontakt
|
|
* const ProjektKontakt = await prisma.projektKontakt.create({
|
|
* data: {
|
|
* // ... data to create a ProjektKontakt
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends ProjektKontaktCreateArgs>(args: Prisma.SelectSubset<T, ProjektKontaktCreateArgs<ExtArgs>>): Prisma.Prisma__ProjektKontaktClient<runtime.Types.Result.GetResult<Prisma.$ProjektKontaktPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many ProjektKontakts.
|
|
* @param {ProjektKontaktCreateManyArgs} args - Arguments to create many ProjektKontakts.
|
|
* @example
|
|
* // Create many ProjektKontakts
|
|
* const projektKontakt = await prisma.projektKontakt.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends ProjektKontaktCreateManyArgs>(args?: Prisma.SelectSubset<T, ProjektKontaktCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many ProjektKontakts and returns the data saved in the database.
|
|
* @param {ProjektKontaktCreateManyAndReturnArgs} args - Arguments to create many ProjektKontakts.
|
|
* @example
|
|
* // Create many ProjektKontakts
|
|
* const projektKontakt = await prisma.projektKontakt.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many ProjektKontakts and only return the `id`
|
|
* const projektKontaktWithIdOnly = await prisma.projektKontakt.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 ProjektKontaktCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProjektKontaktCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjektKontaktPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a ProjektKontakt.
|
|
* @param {ProjektKontaktDeleteArgs} args - Arguments to delete one ProjektKontakt.
|
|
* @example
|
|
* // Delete one ProjektKontakt
|
|
* const ProjektKontakt = await prisma.projektKontakt.delete({
|
|
* where: {
|
|
* // ... filter to delete one ProjektKontakt
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends ProjektKontaktDeleteArgs>(args: Prisma.SelectSubset<T, ProjektKontaktDeleteArgs<ExtArgs>>): Prisma.Prisma__ProjektKontaktClient<runtime.Types.Result.GetResult<Prisma.$ProjektKontaktPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one ProjektKontakt.
|
|
* @param {ProjektKontaktUpdateArgs} args - Arguments to update one ProjektKontakt.
|
|
* @example
|
|
* // Update one ProjektKontakt
|
|
* const projektKontakt = await prisma.projektKontakt.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends ProjektKontaktUpdateArgs>(args: Prisma.SelectSubset<T, ProjektKontaktUpdateArgs<ExtArgs>>): Prisma.Prisma__ProjektKontaktClient<runtime.Types.Result.GetResult<Prisma.$ProjektKontaktPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more ProjektKontakts.
|
|
* @param {ProjektKontaktDeleteManyArgs} args - Arguments to filter ProjektKontakts to delete.
|
|
* @example
|
|
* // Delete a few ProjektKontakts
|
|
* const { count } = await prisma.projektKontakt.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends ProjektKontaktDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProjektKontaktDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more ProjektKontakts.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ProjektKontaktUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many ProjektKontakts
|
|
* const projektKontakt = await prisma.projektKontakt.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends ProjektKontaktUpdateManyArgs>(args: Prisma.SelectSubset<T, ProjektKontaktUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more ProjektKontakts and returns the data updated in the database.
|
|
* @param {ProjektKontaktUpdateManyAndReturnArgs} args - Arguments to update many ProjektKontakts.
|
|
* @example
|
|
* // Update many ProjektKontakts
|
|
* const projektKontakt = await prisma.projektKontakt.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more ProjektKontakts and only return the `id`
|
|
* const projektKontaktWithIdOnly = await prisma.projektKontakt.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 ProjektKontaktUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProjektKontaktUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjektKontaktPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one ProjektKontakt.
|
|
* @param {ProjektKontaktUpsertArgs} args - Arguments to update or create a ProjektKontakt.
|
|
* @example
|
|
* // Update or create a ProjektKontakt
|
|
* const projektKontakt = await prisma.projektKontakt.upsert({
|
|
* create: {
|
|
* // ... data to create a ProjektKontakt
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the ProjektKontakt we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends ProjektKontaktUpsertArgs>(args: Prisma.SelectSubset<T, ProjektKontaktUpsertArgs<ExtArgs>>): Prisma.Prisma__ProjektKontaktClient<runtime.Types.Result.GetResult<Prisma.$ProjektKontaktPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of ProjektKontakts.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ProjektKontaktCountArgs} args - Arguments to filter ProjektKontakts to count.
|
|
* @example
|
|
* // Count the number of ProjektKontakts
|
|
* const count = await prisma.projektKontakt.count({
|
|
* where: {
|
|
* // ... the filter for the ProjektKontakts we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends ProjektKontaktCountArgs>(
|
|
args?: Prisma.Subset<T, ProjektKontaktCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], ProjektKontaktCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a ProjektKontakt.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ProjektKontaktAggregateArgs} 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 ProjektKontaktAggregateArgs>(args: Prisma.Subset<T, ProjektKontaktAggregateArgs>): Prisma.PrismaPromise<GetProjektKontaktAggregateType<T>>
|
|
|
|
/**
|
|
* Group by ProjektKontakt.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ProjektKontaktGroupByArgs} 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 ProjektKontaktGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: ProjektKontaktGroupByArgs['orderBy'] }
|
|
: { orderBy?: ProjektKontaktGroupByArgs['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, ProjektKontaktGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProjektKontaktGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the ProjektKontakt model
|
|
*/
|
|
readonly fields: ProjektKontaktFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for ProjektKontakt.
|
|
* 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__ProjektKontaktClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
projekt<T extends Prisma.ProjektDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProjektDefaultArgs<ExtArgs>>): Prisma.Prisma__ProjektClient<runtime.Types.Result.GetResult<Prisma.$ProjektPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the ProjektKontakt model
|
|
*/
|
|
export interface ProjektKontaktFieldRefs {
|
|
readonly id: Prisma.FieldRef<"ProjektKontakt", 'String'>
|
|
readonly tenantId: Prisma.FieldRef<"ProjektKontakt", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"ProjektKontakt", 'DateTime'>
|
|
readonly projektId: Prisma.FieldRef<"ProjektKontakt", 'String'>
|
|
readonly kontaktId: Prisma.FieldRef<"ProjektKontakt", 'String'>
|
|
readonly rolle: Prisma.FieldRef<"ProjektKontakt", 'ProjektKontaktRolle'>
|
|
readonly primaer: Prisma.FieldRef<"ProjektKontakt", 'Boolean'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* ProjektKontakt findUnique
|
|
*/
|
|
export type ProjektKontaktFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektKontakt
|
|
*/
|
|
select?: Prisma.ProjektKontaktSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektKontakt
|
|
*/
|
|
omit?: Prisma.ProjektKontaktOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProjektKontaktInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which ProjektKontakt to fetch.
|
|
*/
|
|
where: Prisma.ProjektKontaktWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ProjektKontakt findUniqueOrThrow
|
|
*/
|
|
export type ProjektKontaktFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektKontakt
|
|
*/
|
|
select?: Prisma.ProjektKontaktSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektKontakt
|
|
*/
|
|
omit?: Prisma.ProjektKontaktOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProjektKontaktInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which ProjektKontakt to fetch.
|
|
*/
|
|
where: Prisma.ProjektKontaktWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ProjektKontakt findFirst
|
|
*/
|
|
export type ProjektKontaktFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektKontakt
|
|
*/
|
|
select?: Prisma.ProjektKontaktSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektKontakt
|
|
*/
|
|
omit?: Prisma.ProjektKontaktOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProjektKontaktInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which ProjektKontakt to fetch.
|
|
*/
|
|
where?: Prisma.ProjektKontaktWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ProjektKontakts to fetch.
|
|
*/
|
|
orderBy?: Prisma.ProjektKontaktOrderByWithRelationInput | Prisma.ProjektKontaktOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for ProjektKontakts.
|
|
*/
|
|
cursor?: Prisma.ProjektKontaktWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ProjektKontakts 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` ProjektKontakts.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of ProjektKontakts.
|
|
*/
|
|
distinct?: Prisma.ProjektKontaktScalarFieldEnum | Prisma.ProjektKontaktScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* ProjektKontakt findFirstOrThrow
|
|
*/
|
|
export type ProjektKontaktFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektKontakt
|
|
*/
|
|
select?: Prisma.ProjektKontaktSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektKontakt
|
|
*/
|
|
omit?: Prisma.ProjektKontaktOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProjektKontaktInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which ProjektKontakt to fetch.
|
|
*/
|
|
where?: Prisma.ProjektKontaktWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ProjektKontakts to fetch.
|
|
*/
|
|
orderBy?: Prisma.ProjektKontaktOrderByWithRelationInput | Prisma.ProjektKontaktOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for ProjektKontakts.
|
|
*/
|
|
cursor?: Prisma.ProjektKontaktWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ProjektKontakts 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` ProjektKontakts.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of ProjektKontakts.
|
|
*/
|
|
distinct?: Prisma.ProjektKontaktScalarFieldEnum | Prisma.ProjektKontaktScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* ProjektKontakt findMany
|
|
*/
|
|
export type ProjektKontaktFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektKontakt
|
|
*/
|
|
select?: Prisma.ProjektKontaktSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektKontakt
|
|
*/
|
|
omit?: Prisma.ProjektKontaktOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProjektKontaktInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which ProjektKontakts to fetch.
|
|
*/
|
|
where?: Prisma.ProjektKontaktWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ProjektKontakts to fetch.
|
|
*/
|
|
orderBy?: Prisma.ProjektKontaktOrderByWithRelationInput | Prisma.ProjektKontaktOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing ProjektKontakts.
|
|
*/
|
|
cursor?: Prisma.ProjektKontaktWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ProjektKontakts 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` ProjektKontakts.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of ProjektKontakts.
|
|
*/
|
|
distinct?: Prisma.ProjektKontaktScalarFieldEnum | Prisma.ProjektKontaktScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* ProjektKontakt create
|
|
*/
|
|
export type ProjektKontaktCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektKontakt
|
|
*/
|
|
select?: Prisma.ProjektKontaktSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektKontakt
|
|
*/
|
|
omit?: Prisma.ProjektKontaktOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProjektKontaktInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a ProjektKontakt.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ProjektKontaktCreateInput, Prisma.ProjektKontaktUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* ProjektKontakt createMany
|
|
*/
|
|
export type ProjektKontaktCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many ProjektKontakts.
|
|
*/
|
|
data: Prisma.ProjektKontaktCreateManyInput | Prisma.ProjektKontaktCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* ProjektKontakt createManyAndReturn
|
|
*/
|
|
export type ProjektKontaktCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektKontakt
|
|
*/
|
|
select?: Prisma.ProjektKontaktSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektKontakt
|
|
*/
|
|
omit?: Prisma.ProjektKontaktOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many ProjektKontakts.
|
|
*/
|
|
data: Prisma.ProjektKontaktCreateManyInput | Prisma.ProjektKontaktCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProjektKontaktIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* ProjektKontakt update
|
|
*/
|
|
export type ProjektKontaktUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektKontakt
|
|
*/
|
|
select?: Prisma.ProjektKontaktSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektKontakt
|
|
*/
|
|
omit?: Prisma.ProjektKontaktOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProjektKontaktInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a ProjektKontakt.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ProjektKontaktUpdateInput, Prisma.ProjektKontaktUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which ProjektKontakt to update.
|
|
*/
|
|
where: Prisma.ProjektKontaktWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ProjektKontakt updateMany
|
|
*/
|
|
export type ProjektKontaktUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update ProjektKontakts.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ProjektKontaktUpdateManyMutationInput, Prisma.ProjektKontaktUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which ProjektKontakts to update
|
|
*/
|
|
where?: Prisma.ProjektKontaktWhereInput
|
|
/**
|
|
* Limit how many ProjektKontakts to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* ProjektKontakt updateManyAndReturn
|
|
*/
|
|
export type ProjektKontaktUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektKontakt
|
|
*/
|
|
select?: Prisma.ProjektKontaktSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektKontakt
|
|
*/
|
|
omit?: Prisma.ProjektKontaktOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update ProjektKontakts.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ProjektKontaktUpdateManyMutationInput, Prisma.ProjektKontaktUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which ProjektKontakts to update
|
|
*/
|
|
where?: Prisma.ProjektKontaktWhereInput
|
|
/**
|
|
* Limit how many ProjektKontakts to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProjektKontaktIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* ProjektKontakt upsert
|
|
*/
|
|
export type ProjektKontaktUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektKontakt
|
|
*/
|
|
select?: Prisma.ProjektKontaktSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektKontakt
|
|
*/
|
|
omit?: Prisma.ProjektKontaktOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProjektKontaktInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the ProjektKontakt to update in case it exists.
|
|
*/
|
|
where: Prisma.ProjektKontaktWhereUniqueInput
|
|
/**
|
|
* In case the ProjektKontakt found by the `where` argument doesn't exist, create a new ProjektKontakt with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.ProjektKontaktCreateInput, Prisma.ProjektKontaktUncheckedCreateInput>
|
|
/**
|
|
* In case the ProjektKontakt was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.ProjektKontaktUpdateInput, Prisma.ProjektKontaktUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* ProjektKontakt delete
|
|
*/
|
|
export type ProjektKontaktDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektKontakt
|
|
*/
|
|
select?: Prisma.ProjektKontaktSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektKontakt
|
|
*/
|
|
omit?: Prisma.ProjektKontaktOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProjektKontaktInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which ProjektKontakt to delete.
|
|
*/
|
|
where: Prisma.ProjektKontaktWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ProjektKontakt deleteMany
|
|
*/
|
|
export type ProjektKontaktDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which ProjektKontakts to delete
|
|
*/
|
|
where?: Prisma.ProjektKontaktWhereInput
|
|
/**
|
|
* Limit how many ProjektKontakts to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* ProjektKontakt without action
|
|
*/
|
|
export type ProjektKontaktDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektKontakt
|
|
*/
|
|
select?: Prisma.ProjektKontaktSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektKontakt
|
|
*/
|
|
omit?: Prisma.ProjektKontaktOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProjektKontaktInclude<ExtArgs> | null
|
|
}
|