1525 lines
60 KiB
TypeScript
1525 lines
60 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 `ProjektMitglied` 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 ProjektMitglied
|
|
*
|
|
*/
|
|
export type ProjektMitgliedModel = runtime.Types.Result.DefaultSelection<Prisma.$ProjektMitgliedPayload>
|
|
|
|
export type AggregateProjektMitglied = {
|
|
_count: ProjektMitgliedCountAggregateOutputType | null
|
|
_min: ProjektMitgliedMinAggregateOutputType | null
|
|
_max: ProjektMitgliedMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type ProjektMitgliedMinAggregateOutputType = {
|
|
id: string | null
|
|
tenantId: string | null
|
|
projektId: string | null
|
|
userId: string | null
|
|
groupId: string | null
|
|
rolle: $Enums.ProjektMitgliedRolle | null
|
|
createdByUserId: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
archivedAt: Date | null
|
|
}
|
|
|
|
export type ProjektMitgliedMaxAggregateOutputType = {
|
|
id: string | null
|
|
tenantId: string | null
|
|
projektId: string | null
|
|
userId: string | null
|
|
groupId: string | null
|
|
rolle: $Enums.ProjektMitgliedRolle | null
|
|
createdByUserId: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
archivedAt: Date | null
|
|
}
|
|
|
|
export type ProjektMitgliedCountAggregateOutputType = {
|
|
id: number
|
|
tenantId: number
|
|
projektId: number
|
|
userId: number
|
|
groupId: number
|
|
rolle: number
|
|
createdByUserId: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
archivedAt: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type ProjektMitgliedMinAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
projektId?: true
|
|
userId?: true
|
|
groupId?: true
|
|
rolle?: true
|
|
createdByUserId?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
archivedAt?: true
|
|
}
|
|
|
|
export type ProjektMitgliedMaxAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
projektId?: true
|
|
userId?: true
|
|
groupId?: true
|
|
rolle?: true
|
|
createdByUserId?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
archivedAt?: true
|
|
}
|
|
|
|
export type ProjektMitgliedCountAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
projektId?: true
|
|
userId?: true
|
|
groupId?: true
|
|
rolle?: true
|
|
createdByUserId?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
archivedAt?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type ProjektMitgliedAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which ProjektMitglied to aggregate.
|
|
*/
|
|
where?: Prisma.ProjektMitgliedWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ProjektMitglieds to fetch.
|
|
*/
|
|
orderBy?: Prisma.ProjektMitgliedOrderByWithRelationInput | Prisma.ProjektMitgliedOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.ProjektMitgliedWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ProjektMitglieds 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` ProjektMitglieds.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned ProjektMitglieds
|
|
**/
|
|
_count?: true | ProjektMitgliedCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: ProjektMitgliedMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: ProjektMitgliedMaxAggregateInputType
|
|
}
|
|
|
|
export type GetProjektMitgliedAggregateType<T extends ProjektMitgliedAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateProjektMitglied]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateProjektMitglied[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateProjektMitglied[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProjektMitgliedGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.ProjektMitgliedWhereInput
|
|
orderBy?: Prisma.ProjektMitgliedOrderByWithAggregationInput | Prisma.ProjektMitgliedOrderByWithAggregationInput[]
|
|
by: Prisma.ProjektMitgliedScalarFieldEnum[] | Prisma.ProjektMitgliedScalarFieldEnum
|
|
having?: Prisma.ProjektMitgliedScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: ProjektMitgliedCountAggregateInputType | true
|
|
_min?: ProjektMitgliedMinAggregateInputType
|
|
_max?: ProjektMitgliedMaxAggregateInputType
|
|
}
|
|
|
|
export type ProjektMitgliedGroupByOutputType = {
|
|
id: string
|
|
tenantId: string
|
|
projektId: string
|
|
userId: string | null
|
|
groupId: string | null
|
|
rolle: $Enums.ProjektMitgliedRolle
|
|
createdByUserId: string | null
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
archivedAt: Date | null
|
|
_count: ProjektMitgliedCountAggregateOutputType | null
|
|
_min: ProjektMitgliedMinAggregateOutputType | null
|
|
_max: ProjektMitgliedMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetProjektMitgliedGroupByPayload<T extends ProjektMitgliedGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<ProjektMitgliedGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof ProjektMitgliedGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], ProjektMitgliedGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], ProjektMitgliedGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type ProjektMitgliedWhereInput = {
|
|
AND?: Prisma.ProjektMitgliedWhereInput | Prisma.ProjektMitgliedWhereInput[]
|
|
OR?: Prisma.ProjektMitgliedWhereInput[]
|
|
NOT?: Prisma.ProjektMitgliedWhereInput | Prisma.ProjektMitgliedWhereInput[]
|
|
id?: Prisma.StringFilter<"ProjektMitglied"> | string
|
|
tenantId?: Prisma.StringFilter<"ProjektMitglied"> | string
|
|
projektId?: Prisma.StringFilter<"ProjektMitglied"> | string
|
|
userId?: Prisma.StringNullableFilter<"ProjektMitglied"> | string | null
|
|
groupId?: Prisma.StringNullableFilter<"ProjektMitglied"> | string | null
|
|
rolle?: Prisma.EnumProjektMitgliedRolleFilter<"ProjektMitglied"> | $Enums.ProjektMitgliedRolle
|
|
createdByUserId?: Prisma.StringNullableFilter<"ProjektMitglied"> | string | null
|
|
createdAt?: Prisma.DateTimeFilter<"ProjektMitglied"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"ProjektMitglied"> | Date | string
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"ProjektMitglied"> | Date | string | null
|
|
projekt?: Prisma.XOR<Prisma.ProjektScalarRelationFilter, Prisma.ProjektWhereInput>
|
|
}
|
|
|
|
export type ProjektMitgliedOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
projektId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
groupId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
rolle?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
projekt?: Prisma.ProjektOrderByWithRelationInput
|
|
}
|
|
|
|
export type ProjektMitgliedWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.ProjektMitgliedWhereInput | Prisma.ProjektMitgliedWhereInput[]
|
|
OR?: Prisma.ProjektMitgliedWhereInput[]
|
|
NOT?: Prisma.ProjektMitgliedWhereInput | Prisma.ProjektMitgliedWhereInput[]
|
|
tenantId?: Prisma.StringFilter<"ProjektMitglied"> | string
|
|
projektId?: Prisma.StringFilter<"ProjektMitglied"> | string
|
|
userId?: Prisma.StringNullableFilter<"ProjektMitglied"> | string | null
|
|
groupId?: Prisma.StringNullableFilter<"ProjektMitglied"> | string | null
|
|
rolle?: Prisma.EnumProjektMitgliedRolleFilter<"ProjektMitglied"> | $Enums.ProjektMitgliedRolle
|
|
createdByUserId?: Prisma.StringNullableFilter<"ProjektMitglied"> | string | null
|
|
createdAt?: Prisma.DateTimeFilter<"ProjektMitglied"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"ProjektMitglied"> | Date | string
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"ProjektMitglied"> | Date | string | null
|
|
projekt?: Prisma.XOR<Prisma.ProjektScalarRelationFilter, Prisma.ProjektWhereInput>
|
|
}, "id">
|
|
|
|
export type ProjektMitgliedOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
projektId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
groupId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
rolle?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.ProjektMitgliedCountOrderByAggregateInput
|
|
_max?: Prisma.ProjektMitgliedMaxOrderByAggregateInput
|
|
_min?: Prisma.ProjektMitgliedMinOrderByAggregateInput
|
|
}
|
|
|
|
export type ProjektMitgliedScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.ProjektMitgliedScalarWhereWithAggregatesInput | Prisma.ProjektMitgliedScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.ProjektMitgliedScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.ProjektMitgliedScalarWhereWithAggregatesInput | Prisma.ProjektMitgliedScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"ProjektMitglied"> | string
|
|
tenantId?: Prisma.StringWithAggregatesFilter<"ProjektMitglied"> | string
|
|
projektId?: Prisma.StringWithAggregatesFilter<"ProjektMitglied"> | string
|
|
userId?: Prisma.StringNullableWithAggregatesFilter<"ProjektMitglied"> | string | null
|
|
groupId?: Prisma.StringNullableWithAggregatesFilter<"ProjektMitglied"> | string | null
|
|
rolle?: Prisma.EnumProjektMitgliedRolleWithAggregatesFilter<"ProjektMitglied"> | $Enums.ProjektMitgliedRolle
|
|
createdByUserId?: Prisma.StringNullableWithAggregatesFilter<"ProjektMitglied"> | string | null
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"ProjektMitglied"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ProjektMitglied"> | Date | string
|
|
archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ProjektMitglied"> | Date | string | null
|
|
}
|
|
|
|
export type ProjektMitgliedCreateInput = {
|
|
id?: string
|
|
tenantId: string
|
|
userId?: string | null
|
|
groupId?: string | null
|
|
rolle: $Enums.ProjektMitgliedRolle
|
|
createdByUserId?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
projekt: Prisma.ProjektCreateNestedOneWithoutMitgliederInput
|
|
}
|
|
|
|
export type ProjektMitgliedUncheckedCreateInput = {
|
|
id?: string
|
|
tenantId: string
|
|
projektId: string
|
|
userId?: string | null
|
|
groupId?: string | null
|
|
rolle: $Enums.ProjektMitgliedRolle
|
|
createdByUserId?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
}
|
|
|
|
export type ProjektMitgliedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
groupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
rolle?: Prisma.EnumProjektMitgliedRolleFieldUpdateOperationsInput | $Enums.ProjektMitgliedRolle
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
projekt?: Prisma.ProjektUpdateOneRequiredWithoutMitgliederNestedInput
|
|
}
|
|
|
|
export type ProjektMitgliedUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
projektId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
groupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
rolle?: Prisma.EnumProjektMitgliedRolleFieldUpdateOperationsInput | $Enums.ProjektMitgliedRolle
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type ProjektMitgliedCreateManyInput = {
|
|
id?: string
|
|
tenantId: string
|
|
projektId: string
|
|
userId?: string | null
|
|
groupId?: string | null
|
|
rolle: $Enums.ProjektMitgliedRolle
|
|
createdByUserId?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
}
|
|
|
|
export type ProjektMitgliedUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
groupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
rolle?: Prisma.EnumProjektMitgliedRolleFieldUpdateOperationsInput | $Enums.ProjektMitgliedRolle
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type ProjektMitgliedUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
projektId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
groupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
rolle?: Prisma.EnumProjektMitgliedRolleFieldUpdateOperationsInput | $Enums.ProjektMitgliedRolle
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type ProjektMitgliedCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
projektId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
groupId?: Prisma.SortOrder
|
|
rolle?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ProjektMitgliedMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
projektId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
groupId?: Prisma.SortOrder
|
|
rolle?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ProjektMitgliedMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
projektId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
groupId?: Prisma.SortOrder
|
|
rolle?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ProjektMitgliedListRelationFilter = {
|
|
every?: Prisma.ProjektMitgliedWhereInput
|
|
some?: Prisma.ProjektMitgliedWhereInput
|
|
none?: Prisma.ProjektMitgliedWhereInput
|
|
}
|
|
|
|
export type ProjektMitgliedOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type EnumProjektMitgliedRolleFieldUpdateOperationsInput = {
|
|
set?: $Enums.ProjektMitgliedRolle
|
|
}
|
|
|
|
export type ProjektMitgliedCreateNestedManyWithoutProjektInput = {
|
|
create?: Prisma.XOR<Prisma.ProjektMitgliedCreateWithoutProjektInput, Prisma.ProjektMitgliedUncheckedCreateWithoutProjektInput> | Prisma.ProjektMitgliedCreateWithoutProjektInput[] | Prisma.ProjektMitgliedUncheckedCreateWithoutProjektInput[]
|
|
connectOrCreate?: Prisma.ProjektMitgliedCreateOrConnectWithoutProjektInput | Prisma.ProjektMitgliedCreateOrConnectWithoutProjektInput[]
|
|
createMany?: Prisma.ProjektMitgliedCreateManyProjektInputEnvelope
|
|
connect?: Prisma.ProjektMitgliedWhereUniqueInput | Prisma.ProjektMitgliedWhereUniqueInput[]
|
|
}
|
|
|
|
export type ProjektMitgliedUncheckedCreateNestedManyWithoutProjektInput = {
|
|
create?: Prisma.XOR<Prisma.ProjektMitgliedCreateWithoutProjektInput, Prisma.ProjektMitgliedUncheckedCreateWithoutProjektInput> | Prisma.ProjektMitgliedCreateWithoutProjektInput[] | Prisma.ProjektMitgliedUncheckedCreateWithoutProjektInput[]
|
|
connectOrCreate?: Prisma.ProjektMitgliedCreateOrConnectWithoutProjektInput | Prisma.ProjektMitgliedCreateOrConnectWithoutProjektInput[]
|
|
createMany?: Prisma.ProjektMitgliedCreateManyProjektInputEnvelope
|
|
connect?: Prisma.ProjektMitgliedWhereUniqueInput | Prisma.ProjektMitgliedWhereUniqueInput[]
|
|
}
|
|
|
|
export type ProjektMitgliedUpdateManyWithoutProjektNestedInput = {
|
|
create?: Prisma.XOR<Prisma.ProjektMitgliedCreateWithoutProjektInput, Prisma.ProjektMitgliedUncheckedCreateWithoutProjektInput> | Prisma.ProjektMitgliedCreateWithoutProjektInput[] | Prisma.ProjektMitgliedUncheckedCreateWithoutProjektInput[]
|
|
connectOrCreate?: Prisma.ProjektMitgliedCreateOrConnectWithoutProjektInput | Prisma.ProjektMitgliedCreateOrConnectWithoutProjektInput[]
|
|
upsert?: Prisma.ProjektMitgliedUpsertWithWhereUniqueWithoutProjektInput | Prisma.ProjektMitgliedUpsertWithWhereUniqueWithoutProjektInput[]
|
|
createMany?: Prisma.ProjektMitgliedCreateManyProjektInputEnvelope
|
|
set?: Prisma.ProjektMitgliedWhereUniqueInput | Prisma.ProjektMitgliedWhereUniqueInput[]
|
|
disconnect?: Prisma.ProjektMitgliedWhereUniqueInput | Prisma.ProjektMitgliedWhereUniqueInput[]
|
|
delete?: Prisma.ProjektMitgliedWhereUniqueInput | Prisma.ProjektMitgliedWhereUniqueInput[]
|
|
connect?: Prisma.ProjektMitgliedWhereUniqueInput | Prisma.ProjektMitgliedWhereUniqueInput[]
|
|
update?: Prisma.ProjektMitgliedUpdateWithWhereUniqueWithoutProjektInput | Prisma.ProjektMitgliedUpdateWithWhereUniqueWithoutProjektInput[]
|
|
updateMany?: Prisma.ProjektMitgliedUpdateManyWithWhereWithoutProjektInput | Prisma.ProjektMitgliedUpdateManyWithWhereWithoutProjektInput[]
|
|
deleteMany?: Prisma.ProjektMitgliedScalarWhereInput | Prisma.ProjektMitgliedScalarWhereInput[]
|
|
}
|
|
|
|
export type ProjektMitgliedUncheckedUpdateManyWithoutProjektNestedInput = {
|
|
create?: Prisma.XOR<Prisma.ProjektMitgliedCreateWithoutProjektInput, Prisma.ProjektMitgliedUncheckedCreateWithoutProjektInput> | Prisma.ProjektMitgliedCreateWithoutProjektInput[] | Prisma.ProjektMitgliedUncheckedCreateWithoutProjektInput[]
|
|
connectOrCreate?: Prisma.ProjektMitgliedCreateOrConnectWithoutProjektInput | Prisma.ProjektMitgliedCreateOrConnectWithoutProjektInput[]
|
|
upsert?: Prisma.ProjektMitgliedUpsertWithWhereUniqueWithoutProjektInput | Prisma.ProjektMitgliedUpsertWithWhereUniqueWithoutProjektInput[]
|
|
createMany?: Prisma.ProjektMitgliedCreateManyProjektInputEnvelope
|
|
set?: Prisma.ProjektMitgliedWhereUniqueInput | Prisma.ProjektMitgliedWhereUniqueInput[]
|
|
disconnect?: Prisma.ProjektMitgliedWhereUniqueInput | Prisma.ProjektMitgliedWhereUniqueInput[]
|
|
delete?: Prisma.ProjektMitgliedWhereUniqueInput | Prisma.ProjektMitgliedWhereUniqueInput[]
|
|
connect?: Prisma.ProjektMitgliedWhereUniqueInput | Prisma.ProjektMitgliedWhereUniqueInput[]
|
|
update?: Prisma.ProjektMitgliedUpdateWithWhereUniqueWithoutProjektInput | Prisma.ProjektMitgliedUpdateWithWhereUniqueWithoutProjektInput[]
|
|
updateMany?: Prisma.ProjektMitgliedUpdateManyWithWhereWithoutProjektInput | Prisma.ProjektMitgliedUpdateManyWithWhereWithoutProjektInput[]
|
|
deleteMany?: Prisma.ProjektMitgliedScalarWhereInput | Prisma.ProjektMitgliedScalarWhereInput[]
|
|
}
|
|
|
|
export type ProjektMitgliedCreateWithoutProjektInput = {
|
|
id?: string
|
|
tenantId: string
|
|
userId?: string | null
|
|
groupId?: string | null
|
|
rolle: $Enums.ProjektMitgliedRolle
|
|
createdByUserId?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
}
|
|
|
|
export type ProjektMitgliedUncheckedCreateWithoutProjektInput = {
|
|
id?: string
|
|
tenantId: string
|
|
userId?: string | null
|
|
groupId?: string | null
|
|
rolle: $Enums.ProjektMitgliedRolle
|
|
createdByUserId?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
}
|
|
|
|
export type ProjektMitgliedCreateOrConnectWithoutProjektInput = {
|
|
where: Prisma.ProjektMitgliedWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.ProjektMitgliedCreateWithoutProjektInput, Prisma.ProjektMitgliedUncheckedCreateWithoutProjektInput>
|
|
}
|
|
|
|
export type ProjektMitgliedCreateManyProjektInputEnvelope = {
|
|
data: Prisma.ProjektMitgliedCreateManyProjektInput | Prisma.ProjektMitgliedCreateManyProjektInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type ProjektMitgliedUpsertWithWhereUniqueWithoutProjektInput = {
|
|
where: Prisma.ProjektMitgliedWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.ProjektMitgliedUpdateWithoutProjektInput, Prisma.ProjektMitgliedUncheckedUpdateWithoutProjektInput>
|
|
create: Prisma.XOR<Prisma.ProjektMitgliedCreateWithoutProjektInput, Prisma.ProjektMitgliedUncheckedCreateWithoutProjektInput>
|
|
}
|
|
|
|
export type ProjektMitgliedUpdateWithWhereUniqueWithoutProjektInput = {
|
|
where: Prisma.ProjektMitgliedWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.ProjektMitgliedUpdateWithoutProjektInput, Prisma.ProjektMitgliedUncheckedUpdateWithoutProjektInput>
|
|
}
|
|
|
|
export type ProjektMitgliedUpdateManyWithWhereWithoutProjektInput = {
|
|
where: Prisma.ProjektMitgliedScalarWhereInput
|
|
data: Prisma.XOR<Prisma.ProjektMitgliedUpdateManyMutationInput, Prisma.ProjektMitgliedUncheckedUpdateManyWithoutProjektInput>
|
|
}
|
|
|
|
export type ProjektMitgliedScalarWhereInput = {
|
|
AND?: Prisma.ProjektMitgliedScalarWhereInput | Prisma.ProjektMitgliedScalarWhereInput[]
|
|
OR?: Prisma.ProjektMitgliedScalarWhereInput[]
|
|
NOT?: Prisma.ProjektMitgliedScalarWhereInput | Prisma.ProjektMitgliedScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"ProjektMitglied"> | string
|
|
tenantId?: Prisma.StringFilter<"ProjektMitglied"> | string
|
|
projektId?: Prisma.StringFilter<"ProjektMitglied"> | string
|
|
userId?: Prisma.StringNullableFilter<"ProjektMitglied"> | string | null
|
|
groupId?: Prisma.StringNullableFilter<"ProjektMitglied"> | string | null
|
|
rolle?: Prisma.EnumProjektMitgliedRolleFilter<"ProjektMitglied"> | $Enums.ProjektMitgliedRolle
|
|
createdByUserId?: Prisma.StringNullableFilter<"ProjektMitglied"> | string | null
|
|
createdAt?: Prisma.DateTimeFilter<"ProjektMitglied"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"ProjektMitglied"> | Date | string
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"ProjektMitglied"> | Date | string | null
|
|
}
|
|
|
|
export type ProjektMitgliedCreateManyProjektInput = {
|
|
id?: string
|
|
tenantId: string
|
|
userId?: string | null
|
|
groupId?: string | null
|
|
rolle: $Enums.ProjektMitgliedRolle
|
|
createdByUserId?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
}
|
|
|
|
export type ProjektMitgliedUpdateWithoutProjektInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
groupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
rolle?: Prisma.EnumProjektMitgliedRolleFieldUpdateOperationsInput | $Enums.ProjektMitgliedRolle
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type ProjektMitgliedUncheckedUpdateWithoutProjektInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
groupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
rolle?: Prisma.EnumProjektMitgliedRolleFieldUpdateOperationsInput | $Enums.ProjektMitgliedRolle
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type ProjektMitgliedUncheckedUpdateManyWithoutProjektInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
groupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
rolle?: Prisma.EnumProjektMitgliedRolleFieldUpdateOperationsInput | $Enums.ProjektMitgliedRolle
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
|
|
|
|
export type ProjektMitgliedSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
projektId?: boolean
|
|
userId?: boolean
|
|
groupId?: boolean
|
|
rolle?: boolean
|
|
createdByUserId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
archivedAt?: boolean
|
|
projekt?: boolean | Prisma.ProjektDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["projektMitglied"]>
|
|
|
|
export type ProjektMitgliedSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
projektId?: boolean
|
|
userId?: boolean
|
|
groupId?: boolean
|
|
rolle?: boolean
|
|
createdByUserId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
archivedAt?: boolean
|
|
projekt?: boolean | Prisma.ProjektDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["projektMitglied"]>
|
|
|
|
export type ProjektMitgliedSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
projektId?: boolean
|
|
userId?: boolean
|
|
groupId?: boolean
|
|
rolle?: boolean
|
|
createdByUserId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
archivedAt?: boolean
|
|
projekt?: boolean | Prisma.ProjektDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["projektMitglied"]>
|
|
|
|
export type ProjektMitgliedSelectScalar = {
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
projektId?: boolean
|
|
userId?: boolean
|
|
groupId?: boolean
|
|
rolle?: boolean
|
|
createdByUserId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
archivedAt?: boolean
|
|
}
|
|
|
|
export type ProjektMitgliedOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "projektId" | "userId" | "groupId" | "rolle" | "createdByUserId" | "createdAt" | "updatedAt" | "archivedAt", ExtArgs["result"]["projektMitglied"]>
|
|
export type ProjektMitgliedInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
projekt?: boolean | Prisma.ProjektDefaultArgs<ExtArgs>
|
|
}
|
|
export type ProjektMitgliedIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
projekt?: boolean | Prisma.ProjektDefaultArgs<ExtArgs>
|
|
}
|
|
export type ProjektMitgliedIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
projekt?: boolean | Prisma.ProjektDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $ProjektMitgliedPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "ProjektMitglied"
|
|
objects: {
|
|
projekt: Prisma.$ProjektPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
tenantId: string
|
|
projektId: string
|
|
userId: string | null
|
|
groupId: string | null
|
|
rolle: $Enums.ProjektMitgliedRolle
|
|
createdByUserId: string | null
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
archivedAt: Date | null
|
|
}, ExtArgs["result"]["projektMitglied"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type ProjektMitgliedGetPayload<S extends boolean | null | undefined | ProjektMitgliedDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProjektMitgliedPayload, S>
|
|
|
|
export type ProjektMitgliedCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<ProjektMitgliedFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: ProjektMitgliedCountAggregateInputType | true
|
|
}
|
|
|
|
export interface ProjektMitgliedDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ProjektMitglied'], meta: { name: 'ProjektMitglied' } }
|
|
/**
|
|
* Find zero or one ProjektMitglied that matches the filter.
|
|
* @param {ProjektMitgliedFindUniqueArgs} args - Arguments to find a ProjektMitglied
|
|
* @example
|
|
* // Get one ProjektMitglied
|
|
* const projektMitglied = await prisma.projektMitglied.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends ProjektMitgliedFindUniqueArgs>(args: Prisma.SelectSubset<T, ProjektMitgliedFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProjektMitgliedClient<runtime.Types.Result.GetResult<Prisma.$ProjektMitgliedPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one ProjektMitglied that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {ProjektMitgliedFindUniqueOrThrowArgs} args - Arguments to find a ProjektMitglied
|
|
* @example
|
|
* // Get one ProjektMitglied
|
|
* const projektMitglied = await prisma.projektMitglied.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends ProjektMitgliedFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProjektMitgliedFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProjektMitgliedClient<runtime.Types.Result.GetResult<Prisma.$ProjektMitgliedPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first ProjektMitglied 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 {ProjektMitgliedFindFirstArgs} args - Arguments to find a ProjektMitglied
|
|
* @example
|
|
* // Get one ProjektMitglied
|
|
* const projektMitglied = await prisma.projektMitglied.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends ProjektMitgliedFindFirstArgs>(args?: Prisma.SelectSubset<T, ProjektMitgliedFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProjektMitgliedClient<runtime.Types.Result.GetResult<Prisma.$ProjektMitgliedPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first ProjektMitglied 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 {ProjektMitgliedFindFirstOrThrowArgs} args - Arguments to find a ProjektMitglied
|
|
* @example
|
|
* // Get one ProjektMitglied
|
|
* const projektMitglied = await prisma.projektMitglied.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends ProjektMitgliedFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProjektMitgliedFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProjektMitgliedClient<runtime.Types.Result.GetResult<Prisma.$ProjektMitgliedPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more ProjektMitglieds 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 {ProjektMitgliedFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all ProjektMitglieds
|
|
* const projektMitglieds = await prisma.projektMitglied.findMany()
|
|
*
|
|
* // Get first 10 ProjektMitglieds
|
|
* const projektMitglieds = await prisma.projektMitglied.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const projektMitgliedWithIdOnly = await prisma.projektMitglied.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends ProjektMitgliedFindManyArgs>(args?: Prisma.SelectSubset<T, ProjektMitgliedFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjektMitgliedPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a ProjektMitglied.
|
|
* @param {ProjektMitgliedCreateArgs} args - Arguments to create a ProjektMitglied.
|
|
* @example
|
|
* // Create one ProjektMitglied
|
|
* const ProjektMitglied = await prisma.projektMitglied.create({
|
|
* data: {
|
|
* // ... data to create a ProjektMitglied
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends ProjektMitgliedCreateArgs>(args: Prisma.SelectSubset<T, ProjektMitgliedCreateArgs<ExtArgs>>): Prisma.Prisma__ProjektMitgliedClient<runtime.Types.Result.GetResult<Prisma.$ProjektMitgliedPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many ProjektMitglieds.
|
|
* @param {ProjektMitgliedCreateManyArgs} args - Arguments to create many ProjektMitglieds.
|
|
* @example
|
|
* // Create many ProjektMitglieds
|
|
* const projektMitglied = await prisma.projektMitglied.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends ProjektMitgliedCreateManyArgs>(args?: Prisma.SelectSubset<T, ProjektMitgliedCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many ProjektMitglieds and returns the data saved in the database.
|
|
* @param {ProjektMitgliedCreateManyAndReturnArgs} args - Arguments to create many ProjektMitglieds.
|
|
* @example
|
|
* // Create many ProjektMitglieds
|
|
* const projektMitglied = await prisma.projektMitglied.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many ProjektMitglieds and only return the `id`
|
|
* const projektMitgliedWithIdOnly = await prisma.projektMitglied.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 ProjektMitgliedCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProjektMitgliedCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjektMitgliedPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a ProjektMitglied.
|
|
* @param {ProjektMitgliedDeleteArgs} args - Arguments to delete one ProjektMitglied.
|
|
* @example
|
|
* // Delete one ProjektMitglied
|
|
* const ProjektMitglied = await prisma.projektMitglied.delete({
|
|
* where: {
|
|
* // ... filter to delete one ProjektMitglied
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends ProjektMitgliedDeleteArgs>(args: Prisma.SelectSubset<T, ProjektMitgliedDeleteArgs<ExtArgs>>): Prisma.Prisma__ProjektMitgliedClient<runtime.Types.Result.GetResult<Prisma.$ProjektMitgliedPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one ProjektMitglied.
|
|
* @param {ProjektMitgliedUpdateArgs} args - Arguments to update one ProjektMitglied.
|
|
* @example
|
|
* // Update one ProjektMitglied
|
|
* const projektMitglied = await prisma.projektMitglied.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends ProjektMitgliedUpdateArgs>(args: Prisma.SelectSubset<T, ProjektMitgliedUpdateArgs<ExtArgs>>): Prisma.Prisma__ProjektMitgliedClient<runtime.Types.Result.GetResult<Prisma.$ProjektMitgliedPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more ProjektMitglieds.
|
|
* @param {ProjektMitgliedDeleteManyArgs} args - Arguments to filter ProjektMitglieds to delete.
|
|
* @example
|
|
* // Delete a few ProjektMitglieds
|
|
* const { count } = await prisma.projektMitglied.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends ProjektMitgliedDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProjektMitgliedDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more ProjektMitglieds.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ProjektMitgliedUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many ProjektMitglieds
|
|
* const projektMitglied = await prisma.projektMitglied.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends ProjektMitgliedUpdateManyArgs>(args: Prisma.SelectSubset<T, ProjektMitgliedUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more ProjektMitglieds and returns the data updated in the database.
|
|
* @param {ProjektMitgliedUpdateManyAndReturnArgs} args - Arguments to update many ProjektMitglieds.
|
|
* @example
|
|
* // Update many ProjektMitglieds
|
|
* const projektMitglied = await prisma.projektMitglied.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more ProjektMitglieds and only return the `id`
|
|
* const projektMitgliedWithIdOnly = await prisma.projektMitglied.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 ProjektMitgliedUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProjektMitgliedUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjektMitgliedPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one ProjektMitglied.
|
|
* @param {ProjektMitgliedUpsertArgs} args - Arguments to update or create a ProjektMitglied.
|
|
* @example
|
|
* // Update or create a ProjektMitglied
|
|
* const projektMitglied = await prisma.projektMitglied.upsert({
|
|
* create: {
|
|
* // ... data to create a ProjektMitglied
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the ProjektMitglied we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends ProjektMitgliedUpsertArgs>(args: Prisma.SelectSubset<T, ProjektMitgliedUpsertArgs<ExtArgs>>): Prisma.Prisma__ProjektMitgliedClient<runtime.Types.Result.GetResult<Prisma.$ProjektMitgliedPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of ProjektMitglieds.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ProjektMitgliedCountArgs} args - Arguments to filter ProjektMitglieds to count.
|
|
* @example
|
|
* // Count the number of ProjektMitglieds
|
|
* const count = await prisma.projektMitglied.count({
|
|
* where: {
|
|
* // ... the filter for the ProjektMitglieds we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends ProjektMitgliedCountArgs>(
|
|
args?: Prisma.Subset<T, ProjektMitgliedCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], ProjektMitgliedCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a ProjektMitglied.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ProjektMitgliedAggregateArgs} 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 ProjektMitgliedAggregateArgs>(args: Prisma.Subset<T, ProjektMitgliedAggregateArgs>): Prisma.PrismaPromise<GetProjektMitgliedAggregateType<T>>
|
|
|
|
/**
|
|
* Group by ProjektMitglied.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ProjektMitgliedGroupByArgs} 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 ProjektMitgliedGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: ProjektMitgliedGroupByArgs['orderBy'] }
|
|
: { orderBy?: ProjektMitgliedGroupByArgs['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, ProjektMitgliedGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProjektMitgliedGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the ProjektMitglied model
|
|
*/
|
|
readonly fields: ProjektMitgliedFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for ProjektMitglied.
|
|
* 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__ProjektMitgliedClient<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 ProjektMitglied model
|
|
*/
|
|
export interface ProjektMitgliedFieldRefs {
|
|
readonly id: Prisma.FieldRef<"ProjektMitglied", 'String'>
|
|
readonly tenantId: Prisma.FieldRef<"ProjektMitglied", 'String'>
|
|
readonly projektId: Prisma.FieldRef<"ProjektMitglied", 'String'>
|
|
readonly userId: Prisma.FieldRef<"ProjektMitglied", 'String'>
|
|
readonly groupId: Prisma.FieldRef<"ProjektMitglied", 'String'>
|
|
readonly rolle: Prisma.FieldRef<"ProjektMitglied", 'ProjektMitgliedRolle'>
|
|
readonly createdByUserId: Prisma.FieldRef<"ProjektMitglied", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"ProjektMitglied", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"ProjektMitglied", 'DateTime'>
|
|
readonly archivedAt: Prisma.FieldRef<"ProjektMitglied", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* ProjektMitglied findUnique
|
|
*/
|
|
export type ProjektMitgliedFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektMitglied
|
|
*/
|
|
select?: Prisma.ProjektMitgliedSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektMitglied
|
|
*/
|
|
omit?: Prisma.ProjektMitgliedOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProjektMitgliedInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which ProjektMitglied to fetch.
|
|
*/
|
|
where: Prisma.ProjektMitgliedWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ProjektMitglied findUniqueOrThrow
|
|
*/
|
|
export type ProjektMitgliedFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektMitglied
|
|
*/
|
|
select?: Prisma.ProjektMitgliedSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektMitglied
|
|
*/
|
|
omit?: Prisma.ProjektMitgliedOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProjektMitgliedInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which ProjektMitglied to fetch.
|
|
*/
|
|
where: Prisma.ProjektMitgliedWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ProjektMitglied findFirst
|
|
*/
|
|
export type ProjektMitgliedFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektMitglied
|
|
*/
|
|
select?: Prisma.ProjektMitgliedSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektMitglied
|
|
*/
|
|
omit?: Prisma.ProjektMitgliedOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProjektMitgliedInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which ProjektMitglied to fetch.
|
|
*/
|
|
where?: Prisma.ProjektMitgliedWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ProjektMitglieds to fetch.
|
|
*/
|
|
orderBy?: Prisma.ProjektMitgliedOrderByWithRelationInput | Prisma.ProjektMitgliedOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for ProjektMitglieds.
|
|
*/
|
|
cursor?: Prisma.ProjektMitgliedWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ProjektMitglieds 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` ProjektMitglieds.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of ProjektMitglieds.
|
|
*/
|
|
distinct?: Prisma.ProjektMitgliedScalarFieldEnum | Prisma.ProjektMitgliedScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* ProjektMitglied findFirstOrThrow
|
|
*/
|
|
export type ProjektMitgliedFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektMitglied
|
|
*/
|
|
select?: Prisma.ProjektMitgliedSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektMitglied
|
|
*/
|
|
omit?: Prisma.ProjektMitgliedOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProjektMitgliedInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which ProjektMitglied to fetch.
|
|
*/
|
|
where?: Prisma.ProjektMitgliedWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ProjektMitglieds to fetch.
|
|
*/
|
|
orderBy?: Prisma.ProjektMitgliedOrderByWithRelationInput | Prisma.ProjektMitgliedOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for ProjektMitglieds.
|
|
*/
|
|
cursor?: Prisma.ProjektMitgliedWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ProjektMitglieds 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` ProjektMitglieds.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of ProjektMitglieds.
|
|
*/
|
|
distinct?: Prisma.ProjektMitgliedScalarFieldEnum | Prisma.ProjektMitgliedScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* ProjektMitglied findMany
|
|
*/
|
|
export type ProjektMitgliedFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektMitglied
|
|
*/
|
|
select?: Prisma.ProjektMitgliedSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektMitglied
|
|
*/
|
|
omit?: Prisma.ProjektMitgliedOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProjektMitgliedInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which ProjektMitglieds to fetch.
|
|
*/
|
|
where?: Prisma.ProjektMitgliedWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ProjektMitglieds to fetch.
|
|
*/
|
|
orderBy?: Prisma.ProjektMitgliedOrderByWithRelationInput | Prisma.ProjektMitgliedOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing ProjektMitglieds.
|
|
*/
|
|
cursor?: Prisma.ProjektMitgliedWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ProjektMitglieds 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` ProjektMitglieds.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of ProjektMitglieds.
|
|
*/
|
|
distinct?: Prisma.ProjektMitgliedScalarFieldEnum | Prisma.ProjektMitgliedScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* ProjektMitglied create
|
|
*/
|
|
export type ProjektMitgliedCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektMitglied
|
|
*/
|
|
select?: Prisma.ProjektMitgliedSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektMitglied
|
|
*/
|
|
omit?: Prisma.ProjektMitgliedOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProjektMitgliedInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a ProjektMitglied.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ProjektMitgliedCreateInput, Prisma.ProjektMitgliedUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* ProjektMitglied createMany
|
|
*/
|
|
export type ProjektMitgliedCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many ProjektMitglieds.
|
|
*/
|
|
data: Prisma.ProjektMitgliedCreateManyInput | Prisma.ProjektMitgliedCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* ProjektMitglied createManyAndReturn
|
|
*/
|
|
export type ProjektMitgliedCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektMitglied
|
|
*/
|
|
select?: Prisma.ProjektMitgliedSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektMitglied
|
|
*/
|
|
omit?: Prisma.ProjektMitgliedOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many ProjektMitglieds.
|
|
*/
|
|
data: Prisma.ProjektMitgliedCreateManyInput | Prisma.ProjektMitgliedCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProjektMitgliedIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* ProjektMitglied update
|
|
*/
|
|
export type ProjektMitgliedUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektMitglied
|
|
*/
|
|
select?: Prisma.ProjektMitgliedSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektMitglied
|
|
*/
|
|
omit?: Prisma.ProjektMitgliedOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProjektMitgliedInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a ProjektMitglied.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ProjektMitgliedUpdateInput, Prisma.ProjektMitgliedUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which ProjektMitglied to update.
|
|
*/
|
|
where: Prisma.ProjektMitgliedWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ProjektMitglied updateMany
|
|
*/
|
|
export type ProjektMitgliedUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update ProjektMitglieds.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ProjektMitgliedUpdateManyMutationInput, Prisma.ProjektMitgliedUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which ProjektMitglieds to update
|
|
*/
|
|
where?: Prisma.ProjektMitgliedWhereInput
|
|
/**
|
|
* Limit how many ProjektMitglieds to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* ProjektMitglied updateManyAndReturn
|
|
*/
|
|
export type ProjektMitgliedUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektMitglied
|
|
*/
|
|
select?: Prisma.ProjektMitgliedSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektMitglied
|
|
*/
|
|
omit?: Prisma.ProjektMitgliedOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update ProjektMitglieds.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ProjektMitgliedUpdateManyMutationInput, Prisma.ProjektMitgliedUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which ProjektMitglieds to update
|
|
*/
|
|
where?: Prisma.ProjektMitgliedWhereInput
|
|
/**
|
|
* Limit how many ProjektMitglieds to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProjektMitgliedIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* ProjektMitglied upsert
|
|
*/
|
|
export type ProjektMitgliedUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektMitglied
|
|
*/
|
|
select?: Prisma.ProjektMitgliedSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektMitglied
|
|
*/
|
|
omit?: Prisma.ProjektMitgliedOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProjektMitgliedInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the ProjektMitglied to update in case it exists.
|
|
*/
|
|
where: Prisma.ProjektMitgliedWhereUniqueInput
|
|
/**
|
|
* In case the ProjektMitglied found by the `where` argument doesn't exist, create a new ProjektMitglied with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.ProjektMitgliedCreateInput, Prisma.ProjektMitgliedUncheckedCreateInput>
|
|
/**
|
|
* In case the ProjektMitglied was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.ProjektMitgliedUpdateInput, Prisma.ProjektMitgliedUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* ProjektMitglied delete
|
|
*/
|
|
export type ProjektMitgliedDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektMitglied
|
|
*/
|
|
select?: Prisma.ProjektMitgliedSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektMitglied
|
|
*/
|
|
omit?: Prisma.ProjektMitgliedOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProjektMitgliedInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which ProjektMitglied to delete.
|
|
*/
|
|
where: Prisma.ProjektMitgliedWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ProjektMitglied deleteMany
|
|
*/
|
|
export type ProjektMitgliedDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which ProjektMitglieds to delete
|
|
*/
|
|
where?: Prisma.ProjektMitgliedWhereInput
|
|
/**
|
|
* Limit how many ProjektMitglieds to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* ProjektMitglied without action
|
|
*/
|
|
export type ProjektMitgliedDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektMitglied
|
|
*/
|
|
select?: Prisma.ProjektMitgliedSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektMitglied
|
|
*/
|
|
omit?: Prisma.ProjektMitgliedOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProjektMitgliedInclude<ExtArgs> | null
|
|
}
|