Files

1457 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 `PipelineHandover` 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 PipelineHandover
* One completed pipeline handover of a single project. Append-only: an undo
* writes a new `ProjektStageChange`, it does not delete the handover trail.
*/
export type PipelineHandoverModel = runtime.Types.Result.DefaultSelection<Prisma.$PipelineHandoverPayload>
export type AggregatePipelineHandover = {
_count: PipelineHandoverCountAggregateOutputType | null
_min: PipelineHandoverMinAggregateOutputType | null
_max: PipelineHandoverMaxAggregateOutputType | null
}
export type PipelineHandoverMinAggregateOutputType = {
id: string | null
tenantId: string | null
createdAt: Date | null
projektId: string | null
fromPipelineId: string | null
toPipelineId: string | null
fromStageId: string | null
toStageId: string | null
performedByUserId: string | null
}
export type PipelineHandoverMaxAggregateOutputType = {
id: string | null
tenantId: string | null
createdAt: Date | null
projektId: string | null
fromPipelineId: string | null
toPipelineId: string | null
fromStageId: string | null
toStageId: string | null
performedByUserId: string | null
}
export type PipelineHandoverCountAggregateOutputType = {
id: number
tenantId: number
createdAt: number
projektId: number
fromPipelineId: number
toPipelineId: number
fromStageId: number
toStageId: number
performedByUserId: number
_all: number
}
export type PipelineHandoverMinAggregateInputType = {
id?: true
tenantId?: true
createdAt?: true
projektId?: true
fromPipelineId?: true
toPipelineId?: true
fromStageId?: true
toStageId?: true
performedByUserId?: true
}
export type PipelineHandoverMaxAggregateInputType = {
id?: true
tenantId?: true
createdAt?: true
projektId?: true
fromPipelineId?: true
toPipelineId?: true
fromStageId?: true
toStageId?: true
performedByUserId?: true
}
export type PipelineHandoverCountAggregateInputType = {
id?: true
tenantId?: true
createdAt?: true
projektId?: true
fromPipelineId?: true
toPipelineId?: true
fromStageId?: true
toStageId?: true
performedByUserId?: true
_all?: true
}
export type PipelineHandoverAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which PipelineHandover to aggregate.
*/
where?: Prisma.PipelineHandoverWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of PipelineHandovers to fetch.
*/
orderBy?: Prisma.PipelineHandoverOrderByWithRelationInput | Prisma.PipelineHandoverOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.PipelineHandoverWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` PipelineHandovers 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` PipelineHandovers.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned PipelineHandovers
**/
_count?: true | PipelineHandoverCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: PipelineHandoverMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: PipelineHandoverMaxAggregateInputType
}
export type GetPipelineHandoverAggregateType<T extends PipelineHandoverAggregateArgs> = {
[P in keyof T & keyof AggregatePipelineHandover]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregatePipelineHandover[P]>
: Prisma.GetScalarType<T[P], AggregatePipelineHandover[P]>
}
export type PipelineHandoverGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.PipelineHandoverWhereInput
orderBy?: Prisma.PipelineHandoverOrderByWithAggregationInput | Prisma.PipelineHandoverOrderByWithAggregationInput[]
by: Prisma.PipelineHandoverScalarFieldEnum[] | Prisma.PipelineHandoverScalarFieldEnum
having?: Prisma.PipelineHandoverScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: PipelineHandoverCountAggregateInputType | true
_min?: PipelineHandoverMinAggregateInputType
_max?: PipelineHandoverMaxAggregateInputType
}
export type PipelineHandoverGroupByOutputType = {
id: string
tenantId: string
createdAt: Date
projektId: string
fromPipelineId: string
toPipelineId: string
fromStageId: string
toStageId: string
performedByUserId: string | null
_count: PipelineHandoverCountAggregateOutputType | null
_min: PipelineHandoverMinAggregateOutputType | null
_max: PipelineHandoverMaxAggregateOutputType | null
}
export type GetPipelineHandoverGroupByPayload<T extends PipelineHandoverGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<PipelineHandoverGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof PipelineHandoverGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], PipelineHandoverGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], PipelineHandoverGroupByOutputType[P]>
}
>
>
export type PipelineHandoverWhereInput = {
AND?: Prisma.PipelineHandoverWhereInput | Prisma.PipelineHandoverWhereInput[]
OR?: Prisma.PipelineHandoverWhereInput[]
NOT?: Prisma.PipelineHandoverWhereInput | Prisma.PipelineHandoverWhereInput[]
id?: Prisma.StringFilter<"PipelineHandover"> | string
tenantId?: Prisma.StringFilter<"PipelineHandover"> | string
createdAt?: Prisma.DateTimeFilter<"PipelineHandover"> | Date | string
projektId?: Prisma.StringFilter<"PipelineHandover"> | string
fromPipelineId?: Prisma.StringFilter<"PipelineHandover"> | string
toPipelineId?: Prisma.StringFilter<"PipelineHandover"> | string
fromStageId?: Prisma.StringFilter<"PipelineHandover"> | string
toStageId?: Prisma.StringFilter<"PipelineHandover"> | string
performedByUserId?: Prisma.StringNullableFilter<"PipelineHandover"> | string | null
items?: Prisma.PipelineHandoverItemListRelationFilter
}
export type PipelineHandoverOrderByWithRelationInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
projektId?: Prisma.SortOrder
fromPipelineId?: Prisma.SortOrder
toPipelineId?: Prisma.SortOrder
fromStageId?: Prisma.SortOrder
toStageId?: Prisma.SortOrder
performedByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
items?: Prisma.PipelineHandoverItemOrderByRelationAggregateInput
}
export type PipelineHandoverWhereUniqueInput = Prisma.AtLeast<{
id?: string
AND?: Prisma.PipelineHandoverWhereInput | Prisma.PipelineHandoverWhereInput[]
OR?: Prisma.PipelineHandoverWhereInput[]
NOT?: Prisma.PipelineHandoverWhereInput | Prisma.PipelineHandoverWhereInput[]
tenantId?: Prisma.StringFilter<"PipelineHandover"> | string
createdAt?: Prisma.DateTimeFilter<"PipelineHandover"> | Date | string
projektId?: Prisma.StringFilter<"PipelineHandover"> | string
fromPipelineId?: Prisma.StringFilter<"PipelineHandover"> | string
toPipelineId?: Prisma.StringFilter<"PipelineHandover"> | string
fromStageId?: Prisma.StringFilter<"PipelineHandover"> | string
toStageId?: Prisma.StringFilter<"PipelineHandover"> | string
performedByUserId?: Prisma.StringNullableFilter<"PipelineHandover"> | string | null
items?: Prisma.PipelineHandoverItemListRelationFilter
}, "id">
export type PipelineHandoverOrderByWithAggregationInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
projektId?: Prisma.SortOrder
fromPipelineId?: Prisma.SortOrder
toPipelineId?: Prisma.SortOrder
fromStageId?: Prisma.SortOrder
toStageId?: Prisma.SortOrder
performedByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.PipelineHandoverCountOrderByAggregateInput
_max?: Prisma.PipelineHandoverMaxOrderByAggregateInput
_min?: Prisma.PipelineHandoverMinOrderByAggregateInput
}
export type PipelineHandoverScalarWhereWithAggregatesInput = {
AND?: Prisma.PipelineHandoverScalarWhereWithAggregatesInput | Prisma.PipelineHandoverScalarWhereWithAggregatesInput[]
OR?: Prisma.PipelineHandoverScalarWhereWithAggregatesInput[]
NOT?: Prisma.PipelineHandoverScalarWhereWithAggregatesInput | Prisma.PipelineHandoverScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"PipelineHandover"> | string
tenantId?: Prisma.StringWithAggregatesFilter<"PipelineHandover"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"PipelineHandover"> | Date | string
projektId?: Prisma.StringWithAggregatesFilter<"PipelineHandover"> | string
fromPipelineId?: Prisma.StringWithAggregatesFilter<"PipelineHandover"> | string
toPipelineId?: Prisma.StringWithAggregatesFilter<"PipelineHandover"> | string
fromStageId?: Prisma.StringWithAggregatesFilter<"PipelineHandover"> | string
toStageId?: Prisma.StringWithAggregatesFilter<"PipelineHandover"> | string
performedByUserId?: Prisma.StringNullableWithAggregatesFilter<"PipelineHandover"> | string | null
}
export type PipelineHandoverCreateInput = {
id?: string
tenantId: string
createdAt?: Date | string
projektId: string
fromPipelineId: string
toPipelineId: string
fromStageId: string
toStageId: string
performedByUserId?: string | null
items?: Prisma.PipelineHandoverItemCreateNestedManyWithoutHandoverInput
}
export type PipelineHandoverUncheckedCreateInput = {
id?: string
tenantId: string
createdAt?: Date | string
projektId: string
fromPipelineId: string
toPipelineId: string
fromStageId: string
toStageId: string
performedByUserId?: string | null
items?: Prisma.PipelineHandoverItemUncheckedCreateNestedManyWithoutHandoverInput
}
export type PipelineHandoverUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
projektId?: Prisma.StringFieldUpdateOperationsInput | string
fromPipelineId?: Prisma.StringFieldUpdateOperationsInput | string
toPipelineId?: Prisma.StringFieldUpdateOperationsInput | string
fromStageId?: Prisma.StringFieldUpdateOperationsInput | string
toStageId?: Prisma.StringFieldUpdateOperationsInput | string
performedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
items?: Prisma.PipelineHandoverItemUpdateManyWithoutHandoverNestedInput
}
export type PipelineHandoverUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
projektId?: Prisma.StringFieldUpdateOperationsInput | string
fromPipelineId?: Prisma.StringFieldUpdateOperationsInput | string
toPipelineId?: Prisma.StringFieldUpdateOperationsInput | string
fromStageId?: Prisma.StringFieldUpdateOperationsInput | string
toStageId?: Prisma.StringFieldUpdateOperationsInput | string
performedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
items?: Prisma.PipelineHandoverItemUncheckedUpdateManyWithoutHandoverNestedInput
}
export type PipelineHandoverCreateManyInput = {
id?: string
tenantId: string
createdAt?: Date | string
projektId: string
fromPipelineId: string
toPipelineId: string
fromStageId: string
toStageId: string
performedByUserId?: string | null
}
export type PipelineHandoverUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
projektId?: Prisma.StringFieldUpdateOperationsInput | string
fromPipelineId?: Prisma.StringFieldUpdateOperationsInput | string
toPipelineId?: Prisma.StringFieldUpdateOperationsInput | string
fromStageId?: Prisma.StringFieldUpdateOperationsInput | string
toStageId?: Prisma.StringFieldUpdateOperationsInput | string
performedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type PipelineHandoverUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
projektId?: Prisma.StringFieldUpdateOperationsInput | string
fromPipelineId?: Prisma.StringFieldUpdateOperationsInput | string
toPipelineId?: Prisma.StringFieldUpdateOperationsInput | string
fromStageId?: Prisma.StringFieldUpdateOperationsInput | string
toStageId?: Prisma.StringFieldUpdateOperationsInput | string
performedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type PipelineHandoverCountOrderByAggregateInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
projektId?: Prisma.SortOrder
fromPipelineId?: Prisma.SortOrder
toPipelineId?: Prisma.SortOrder
fromStageId?: Prisma.SortOrder
toStageId?: Prisma.SortOrder
performedByUserId?: Prisma.SortOrder
}
export type PipelineHandoverMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
projektId?: Prisma.SortOrder
fromPipelineId?: Prisma.SortOrder
toPipelineId?: Prisma.SortOrder
fromStageId?: Prisma.SortOrder
toStageId?: Prisma.SortOrder
performedByUserId?: Prisma.SortOrder
}
export type PipelineHandoverMinOrderByAggregateInput = {
id?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
projektId?: Prisma.SortOrder
fromPipelineId?: Prisma.SortOrder
toPipelineId?: Prisma.SortOrder
fromStageId?: Prisma.SortOrder
toStageId?: Prisma.SortOrder
performedByUserId?: Prisma.SortOrder
}
export type PipelineHandoverScalarRelationFilter = {
is?: Prisma.PipelineHandoverWhereInput
isNot?: Prisma.PipelineHandoverWhereInput
}
export type PipelineHandoverCreateNestedOneWithoutItemsInput = {
create?: Prisma.XOR<Prisma.PipelineHandoverCreateWithoutItemsInput, Prisma.PipelineHandoverUncheckedCreateWithoutItemsInput>
connectOrCreate?: Prisma.PipelineHandoverCreateOrConnectWithoutItemsInput
connect?: Prisma.PipelineHandoverWhereUniqueInput
}
export type PipelineHandoverUpdateOneRequiredWithoutItemsNestedInput = {
create?: Prisma.XOR<Prisma.PipelineHandoverCreateWithoutItemsInput, Prisma.PipelineHandoverUncheckedCreateWithoutItemsInput>
connectOrCreate?: Prisma.PipelineHandoverCreateOrConnectWithoutItemsInput
upsert?: Prisma.PipelineHandoverUpsertWithoutItemsInput
connect?: Prisma.PipelineHandoverWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.PipelineHandoverUpdateToOneWithWhereWithoutItemsInput, Prisma.PipelineHandoverUpdateWithoutItemsInput>, Prisma.PipelineHandoverUncheckedUpdateWithoutItemsInput>
}
export type PipelineHandoverCreateWithoutItemsInput = {
id?: string
tenantId: string
createdAt?: Date | string
projektId: string
fromPipelineId: string
toPipelineId: string
fromStageId: string
toStageId: string
performedByUserId?: string | null
}
export type PipelineHandoverUncheckedCreateWithoutItemsInput = {
id?: string
tenantId: string
createdAt?: Date | string
projektId: string
fromPipelineId: string
toPipelineId: string
fromStageId: string
toStageId: string
performedByUserId?: string | null
}
export type PipelineHandoverCreateOrConnectWithoutItemsInput = {
where: Prisma.PipelineHandoverWhereUniqueInput
create: Prisma.XOR<Prisma.PipelineHandoverCreateWithoutItemsInput, Prisma.PipelineHandoverUncheckedCreateWithoutItemsInput>
}
export type PipelineHandoverUpsertWithoutItemsInput = {
update: Prisma.XOR<Prisma.PipelineHandoverUpdateWithoutItemsInput, Prisma.PipelineHandoverUncheckedUpdateWithoutItemsInput>
create: Prisma.XOR<Prisma.PipelineHandoverCreateWithoutItemsInput, Prisma.PipelineHandoverUncheckedCreateWithoutItemsInput>
where?: Prisma.PipelineHandoverWhereInput
}
export type PipelineHandoverUpdateToOneWithWhereWithoutItemsInput = {
where?: Prisma.PipelineHandoverWhereInput
data: Prisma.XOR<Prisma.PipelineHandoverUpdateWithoutItemsInput, Prisma.PipelineHandoverUncheckedUpdateWithoutItemsInput>
}
export type PipelineHandoverUpdateWithoutItemsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
projektId?: Prisma.StringFieldUpdateOperationsInput | string
fromPipelineId?: Prisma.StringFieldUpdateOperationsInput | string
toPipelineId?: Prisma.StringFieldUpdateOperationsInput | string
fromStageId?: Prisma.StringFieldUpdateOperationsInput | string
toStageId?: Prisma.StringFieldUpdateOperationsInput | string
performedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type PipelineHandoverUncheckedUpdateWithoutItemsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
projektId?: Prisma.StringFieldUpdateOperationsInput | string
fromPipelineId?: Prisma.StringFieldUpdateOperationsInput | string
toPipelineId?: Prisma.StringFieldUpdateOperationsInput | string
fromStageId?: Prisma.StringFieldUpdateOperationsInput | string
toStageId?: Prisma.StringFieldUpdateOperationsInput | string
performedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
/**
* Count Type PipelineHandoverCountOutputType
*/
export type PipelineHandoverCountOutputType = {
items: number
}
export type PipelineHandoverCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
items?: boolean | PipelineHandoverCountOutputTypeCountItemsArgs
}
/**
* PipelineHandoverCountOutputType without action
*/
export type PipelineHandoverCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PipelineHandoverCountOutputType
*/
select?: Prisma.PipelineHandoverCountOutputTypeSelect<ExtArgs> | null
}
/**
* PipelineHandoverCountOutputType without action
*/
export type PipelineHandoverCountOutputTypeCountItemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.PipelineHandoverItemWhereInput
}
export type PipelineHandoverSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
tenantId?: boolean
createdAt?: boolean
projektId?: boolean
fromPipelineId?: boolean
toPipelineId?: boolean
fromStageId?: boolean
toStageId?: boolean
performedByUserId?: boolean
items?: boolean | Prisma.PipelineHandover$itemsArgs<ExtArgs>
_count?: boolean | Prisma.PipelineHandoverCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["pipelineHandover"]>
export type PipelineHandoverSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
tenantId?: boolean
createdAt?: boolean
projektId?: boolean
fromPipelineId?: boolean
toPipelineId?: boolean
fromStageId?: boolean
toStageId?: boolean
performedByUserId?: boolean
}, ExtArgs["result"]["pipelineHandover"]>
export type PipelineHandoverSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
tenantId?: boolean
createdAt?: boolean
projektId?: boolean
fromPipelineId?: boolean
toPipelineId?: boolean
fromStageId?: boolean
toStageId?: boolean
performedByUserId?: boolean
}, ExtArgs["result"]["pipelineHandover"]>
export type PipelineHandoverSelectScalar = {
id?: boolean
tenantId?: boolean
createdAt?: boolean
projektId?: boolean
fromPipelineId?: boolean
toPipelineId?: boolean
fromStageId?: boolean
toStageId?: boolean
performedByUserId?: boolean
}
export type PipelineHandoverOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "createdAt" | "projektId" | "fromPipelineId" | "toPipelineId" | "fromStageId" | "toStageId" | "performedByUserId", ExtArgs["result"]["pipelineHandover"]>
export type PipelineHandoverInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
items?: boolean | Prisma.PipelineHandover$itemsArgs<ExtArgs>
_count?: boolean | Prisma.PipelineHandoverCountOutputTypeDefaultArgs<ExtArgs>
}
export type PipelineHandoverIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
export type PipelineHandoverIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
export type $PipelineHandoverPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "PipelineHandover"
objects: {
items: Prisma.$PipelineHandoverItemPayload<ExtArgs>[]
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
tenantId: string
createdAt: Date
projektId: string
fromPipelineId: string
toPipelineId: string
fromStageId: string
toStageId: string
performedByUserId: string | null
}, ExtArgs["result"]["pipelineHandover"]>
composites: {}
}
export type PipelineHandoverGetPayload<S extends boolean | null | undefined | PipelineHandoverDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PipelineHandoverPayload, S>
export type PipelineHandoverCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<PipelineHandoverFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: PipelineHandoverCountAggregateInputType | true
}
export interface PipelineHandoverDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PipelineHandover'], meta: { name: 'PipelineHandover' } }
/**
* Find zero or one PipelineHandover that matches the filter.
* @param {PipelineHandoverFindUniqueArgs} args - Arguments to find a PipelineHandover
* @example
* // Get one PipelineHandover
* const pipelineHandover = await prisma.pipelineHandover.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends PipelineHandoverFindUniqueArgs>(args: Prisma.SelectSubset<T, PipelineHandoverFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PipelineHandoverClient<runtime.Types.Result.GetResult<Prisma.$PipelineHandoverPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one PipelineHandover that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {PipelineHandoverFindUniqueOrThrowArgs} args - Arguments to find a PipelineHandover
* @example
* // Get one PipelineHandover
* const pipelineHandover = await prisma.pipelineHandover.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends PipelineHandoverFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PipelineHandoverFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PipelineHandoverClient<runtime.Types.Result.GetResult<Prisma.$PipelineHandoverPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first PipelineHandover 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 {PipelineHandoverFindFirstArgs} args - Arguments to find a PipelineHandover
* @example
* // Get one PipelineHandover
* const pipelineHandover = await prisma.pipelineHandover.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends PipelineHandoverFindFirstArgs>(args?: Prisma.SelectSubset<T, PipelineHandoverFindFirstArgs<ExtArgs>>): Prisma.Prisma__PipelineHandoverClient<runtime.Types.Result.GetResult<Prisma.$PipelineHandoverPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first PipelineHandover 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 {PipelineHandoverFindFirstOrThrowArgs} args - Arguments to find a PipelineHandover
* @example
* // Get one PipelineHandover
* const pipelineHandover = await prisma.pipelineHandover.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends PipelineHandoverFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PipelineHandoverFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PipelineHandoverClient<runtime.Types.Result.GetResult<Prisma.$PipelineHandoverPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more PipelineHandovers 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 {PipelineHandoverFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all PipelineHandovers
* const pipelineHandovers = await prisma.pipelineHandover.findMany()
*
* // Get first 10 PipelineHandovers
* const pipelineHandovers = await prisma.pipelineHandover.findMany({ take: 10 })
*
* // Only select the `id`
* const pipelineHandoverWithIdOnly = await prisma.pipelineHandover.findMany({ select: { id: true } })
*
*/
findMany<T extends PipelineHandoverFindManyArgs>(args?: Prisma.SelectSubset<T, PipelineHandoverFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PipelineHandoverPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a PipelineHandover.
* @param {PipelineHandoverCreateArgs} args - Arguments to create a PipelineHandover.
* @example
* // Create one PipelineHandover
* const PipelineHandover = await prisma.pipelineHandover.create({
* data: {
* // ... data to create a PipelineHandover
* }
* })
*
*/
create<T extends PipelineHandoverCreateArgs>(args: Prisma.SelectSubset<T, PipelineHandoverCreateArgs<ExtArgs>>): Prisma.Prisma__PipelineHandoverClient<runtime.Types.Result.GetResult<Prisma.$PipelineHandoverPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many PipelineHandovers.
* @param {PipelineHandoverCreateManyArgs} args - Arguments to create many PipelineHandovers.
* @example
* // Create many PipelineHandovers
* const pipelineHandover = await prisma.pipelineHandover.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends PipelineHandoverCreateManyArgs>(args?: Prisma.SelectSubset<T, PipelineHandoverCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many PipelineHandovers and returns the data saved in the database.
* @param {PipelineHandoverCreateManyAndReturnArgs} args - Arguments to create many PipelineHandovers.
* @example
* // Create many PipelineHandovers
* const pipelineHandover = await prisma.pipelineHandover.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many PipelineHandovers and only return the `id`
* const pipelineHandoverWithIdOnly = await prisma.pipelineHandover.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 PipelineHandoverCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PipelineHandoverCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PipelineHandoverPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a PipelineHandover.
* @param {PipelineHandoverDeleteArgs} args - Arguments to delete one PipelineHandover.
* @example
* // Delete one PipelineHandover
* const PipelineHandover = await prisma.pipelineHandover.delete({
* where: {
* // ... filter to delete one PipelineHandover
* }
* })
*
*/
delete<T extends PipelineHandoverDeleteArgs>(args: Prisma.SelectSubset<T, PipelineHandoverDeleteArgs<ExtArgs>>): Prisma.Prisma__PipelineHandoverClient<runtime.Types.Result.GetResult<Prisma.$PipelineHandoverPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one PipelineHandover.
* @param {PipelineHandoverUpdateArgs} args - Arguments to update one PipelineHandover.
* @example
* // Update one PipelineHandover
* const pipelineHandover = await prisma.pipelineHandover.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends PipelineHandoverUpdateArgs>(args: Prisma.SelectSubset<T, PipelineHandoverUpdateArgs<ExtArgs>>): Prisma.Prisma__PipelineHandoverClient<runtime.Types.Result.GetResult<Prisma.$PipelineHandoverPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more PipelineHandovers.
* @param {PipelineHandoverDeleteManyArgs} args - Arguments to filter PipelineHandovers to delete.
* @example
* // Delete a few PipelineHandovers
* const { count } = await prisma.pipelineHandover.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends PipelineHandoverDeleteManyArgs>(args?: Prisma.SelectSubset<T, PipelineHandoverDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more PipelineHandovers.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {PipelineHandoverUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many PipelineHandovers
* const pipelineHandover = await prisma.pipelineHandover.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends PipelineHandoverUpdateManyArgs>(args: Prisma.SelectSubset<T, PipelineHandoverUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more PipelineHandovers and returns the data updated in the database.
* @param {PipelineHandoverUpdateManyAndReturnArgs} args - Arguments to update many PipelineHandovers.
* @example
* // Update many PipelineHandovers
* const pipelineHandover = await prisma.pipelineHandover.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more PipelineHandovers and only return the `id`
* const pipelineHandoverWithIdOnly = await prisma.pipelineHandover.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 PipelineHandoverUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PipelineHandoverUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PipelineHandoverPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one PipelineHandover.
* @param {PipelineHandoverUpsertArgs} args - Arguments to update or create a PipelineHandover.
* @example
* // Update or create a PipelineHandover
* const pipelineHandover = await prisma.pipelineHandover.upsert({
* create: {
* // ... data to create a PipelineHandover
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the PipelineHandover we want to update
* }
* })
*/
upsert<T extends PipelineHandoverUpsertArgs>(args: Prisma.SelectSubset<T, PipelineHandoverUpsertArgs<ExtArgs>>): Prisma.Prisma__PipelineHandoverClient<runtime.Types.Result.GetResult<Prisma.$PipelineHandoverPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of PipelineHandovers.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {PipelineHandoverCountArgs} args - Arguments to filter PipelineHandovers to count.
* @example
* // Count the number of PipelineHandovers
* const count = await prisma.pipelineHandover.count({
* where: {
* // ... the filter for the PipelineHandovers we want to count
* }
* })
**/
count<T extends PipelineHandoverCountArgs>(
args?: Prisma.Subset<T, PipelineHandoverCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], PipelineHandoverCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a PipelineHandover.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {PipelineHandoverAggregateArgs} 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 PipelineHandoverAggregateArgs>(args: Prisma.Subset<T, PipelineHandoverAggregateArgs>): Prisma.PrismaPromise<GetPipelineHandoverAggregateType<T>>
/**
* Group by PipelineHandover.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {PipelineHandoverGroupByArgs} 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 PipelineHandoverGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: PipelineHandoverGroupByArgs['orderBy'] }
: { orderBy?: PipelineHandoverGroupByArgs['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, PipelineHandoverGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPipelineHandoverGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the PipelineHandover model
*/
readonly fields: PipelineHandoverFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for PipelineHandover.
* 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__PipelineHandoverClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
items<T extends Prisma.PipelineHandover$itemsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PipelineHandover$itemsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PipelineHandoverItemPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
/**
* Attaches callbacks for the resolution and/or rejection of the Promise.
* @param onfulfilled The callback to execute when the Promise is resolved.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of which ever callback is executed.
*/
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
/**
* Attaches a callback for only the rejection of the Promise.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of the callback.
*/
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
/**
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
* resolved value cannot be modified from the callback.
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
* @returns A Promise for the completion of the callback.
*/
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
}
/**
* Fields of the PipelineHandover model
*/
export interface PipelineHandoverFieldRefs {
readonly id: Prisma.FieldRef<"PipelineHandover", 'String'>
readonly tenantId: Prisma.FieldRef<"PipelineHandover", 'String'>
readonly createdAt: Prisma.FieldRef<"PipelineHandover", 'DateTime'>
readonly projektId: Prisma.FieldRef<"PipelineHandover", 'String'>
readonly fromPipelineId: Prisma.FieldRef<"PipelineHandover", 'String'>
readonly toPipelineId: Prisma.FieldRef<"PipelineHandover", 'String'>
readonly fromStageId: Prisma.FieldRef<"PipelineHandover", 'String'>
readonly toStageId: Prisma.FieldRef<"PipelineHandover", 'String'>
readonly performedByUserId: Prisma.FieldRef<"PipelineHandover", 'String'>
}
// Custom InputTypes
/**
* PipelineHandover findUnique
*/
export type PipelineHandoverFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PipelineHandover
*/
select?: Prisma.PipelineHandoverSelect<ExtArgs> | null
/**
* Omit specific fields from the PipelineHandover
*/
omit?: Prisma.PipelineHandoverOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PipelineHandoverInclude<ExtArgs> | null
/**
* Filter, which PipelineHandover to fetch.
*/
where: Prisma.PipelineHandoverWhereUniqueInput
}
/**
* PipelineHandover findUniqueOrThrow
*/
export type PipelineHandoverFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PipelineHandover
*/
select?: Prisma.PipelineHandoverSelect<ExtArgs> | null
/**
* Omit specific fields from the PipelineHandover
*/
omit?: Prisma.PipelineHandoverOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PipelineHandoverInclude<ExtArgs> | null
/**
* Filter, which PipelineHandover to fetch.
*/
where: Prisma.PipelineHandoverWhereUniqueInput
}
/**
* PipelineHandover findFirst
*/
export type PipelineHandoverFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PipelineHandover
*/
select?: Prisma.PipelineHandoverSelect<ExtArgs> | null
/**
* Omit specific fields from the PipelineHandover
*/
omit?: Prisma.PipelineHandoverOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PipelineHandoverInclude<ExtArgs> | null
/**
* Filter, which PipelineHandover to fetch.
*/
where?: Prisma.PipelineHandoverWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of PipelineHandovers to fetch.
*/
orderBy?: Prisma.PipelineHandoverOrderByWithRelationInput | Prisma.PipelineHandoverOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for PipelineHandovers.
*/
cursor?: Prisma.PipelineHandoverWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` PipelineHandovers 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` PipelineHandovers.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of PipelineHandovers.
*/
distinct?: Prisma.PipelineHandoverScalarFieldEnum | Prisma.PipelineHandoverScalarFieldEnum[]
}
/**
* PipelineHandover findFirstOrThrow
*/
export type PipelineHandoverFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PipelineHandover
*/
select?: Prisma.PipelineHandoverSelect<ExtArgs> | null
/**
* Omit specific fields from the PipelineHandover
*/
omit?: Prisma.PipelineHandoverOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PipelineHandoverInclude<ExtArgs> | null
/**
* Filter, which PipelineHandover to fetch.
*/
where?: Prisma.PipelineHandoverWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of PipelineHandovers to fetch.
*/
orderBy?: Prisma.PipelineHandoverOrderByWithRelationInput | Prisma.PipelineHandoverOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for PipelineHandovers.
*/
cursor?: Prisma.PipelineHandoverWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` PipelineHandovers 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` PipelineHandovers.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of PipelineHandovers.
*/
distinct?: Prisma.PipelineHandoverScalarFieldEnum | Prisma.PipelineHandoverScalarFieldEnum[]
}
/**
* PipelineHandover findMany
*/
export type PipelineHandoverFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PipelineHandover
*/
select?: Prisma.PipelineHandoverSelect<ExtArgs> | null
/**
* Omit specific fields from the PipelineHandover
*/
omit?: Prisma.PipelineHandoverOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PipelineHandoverInclude<ExtArgs> | null
/**
* Filter, which PipelineHandovers to fetch.
*/
where?: Prisma.PipelineHandoverWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of PipelineHandovers to fetch.
*/
orderBy?: Prisma.PipelineHandoverOrderByWithRelationInput | Prisma.PipelineHandoverOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing PipelineHandovers.
*/
cursor?: Prisma.PipelineHandoverWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` PipelineHandovers 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` PipelineHandovers.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of PipelineHandovers.
*/
distinct?: Prisma.PipelineHandoverScalarFieldEnum | Prisma.PipelineHandoverScalarFieldEnum[]
}
/**
* PipelineHandover create
*/
export type PipelineHandoverCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PipelineHandover
*/
select?: Prisma.PipelineHandoverSelect<ExtArgs> | null
/**
* Omit specific fields from the PipelineHandover
*/
omit?: Prisma.PipelineHandoverOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PipelineHandoverInclude<ExtArgs> | null
/**
* The data needed to create a PipelineHandover.
*/
data: Prisma.XOR<Prisma.PipelineHandoverCreateInput, Prisma.PipelineHandoverUncheckedCreateInput>
}
/**
* PipelineHandover createMany
*/
export type PipelineHandoverCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many PipelineHandovers.
*/
data: Prisma.PipelineHandoverCreateManyInput | Prisma.PipelineHandoverCreateManyInput[]
skipDuplicates?: boolean
}
/**
* PipelineHandover createManyAndReturn
*/
export type PipelineHandoverCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PipelineHandover
*/
select?: Prisma.PipelineHandoverSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the PipelineHandover
*/
omit?: Prisma.PipelineHandoverOmit<ExtArgs> | null
/**
* The data used to create many PipelineHandovers.
*/
data: Prisma.PipelineHandoverCreateManyInput | Prisma.PipelineHandoverCreateManyInput[]
skipDuplicates?: boolean
}
/**
* PipelineHandover update
*/
export type PipelineHandoverUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PipelineHandover
*/
select?: Prisma.PipelineHandoverSelect<ExtArgs> | null
/**
* Omit specific fields from the PipelineHandover
*/
omit?: Prisma.PipelineHandoverOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PipelineHandoverInclude<ExtArgs> | null
/**
* The data needed to update a PipelineHandover.
*/
data: Prisma.XOR<Prisma.PipelineHandoverUpdateInput, Prisma.PipelineHandoverUncheckedUpdateInput>
/**
* Choose, which PipelineHandover to update.
*/
where: Prisma.PipelineHandoverWhereUniqueInput
}
/**
* PipelineHandover updateMany
*/
export type PipelineHandoverUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update PipelineHandovers.
*/
data: Prisma.XOR<Prisma.PipelineHandoverUpdateManyMutationInput, Prisma.PipelineHandoverUncheckedUpdateManyInput>
/**
* Filter which PipelineHandovers to update
*/
where?: Prisma.PipelineHandoverWhereInput
/**
* Limit how many PipelineHandovers to update.
*/
limit?: number
}
/**
* PipelineHandover updateManyAndReturn
*/
export type PipelineHandoverUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PipelineHandover
*/
select?: Prisma.PipelineHandoverSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the PipelineHandover
*/
omit?: Prisma.PipelineHandoverOmit<ExtArgs> | null
/**
* The data used to update PipelineHandovers.
*/
data: Prisma.XOR<Prisma.PipelineHandoverUpdateManyMutationInput, Prisma.PipelineHandoverUncheckedUpdateManyInput>
/**
* Filter which PipelineHandovers to update
*/
where?: Prisma.PipelineHandoverWhereInput
/**
* Limit how many PipelineHandovers to update.
*/
limit?: number
}
/**
* PipelineHandover upsert
*/
export type PipelineHandoverUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PipelineHandover
*/
select?: Prisma.PipelineHandoverSelect<ExtArgs> | null
/**
* Omit specific fields from the PipelineHandover
*/
omit?: Prisma.PipelineHandoverOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PipelineHandoverInclude<ExtArgs> | null
/**
* The filter to search for the PipelineHandover to update in case it exists.
*/
where: Prisma.PipelineHandoverWhereUniqueInput
/**
* In case the PipelineHandover found by the `where` argument doesn't exist, create a new PipelineHandover with this data.
*/
create: Prisma.XOR<Prisma.PipelineHandoverCreateInput, Prisma.PipelineHandoverUncheckedCreateInput>
/**
* In case the PipelineHandover was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.PipelineHandoverUpdateInput, Prisma.PipelineHandoverUncheckedUpdateInput>
}
/**
* PipelineHandover delete
*/
export type PipelineHandoverDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PipelineHandover
*/
select?: Prisma.PipelineHandoverSelect<ExtArgs> | null
/**
* Omit specific fields from the PipelineHandover
*/
omit?: Prisma.PipelineHandoverOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PipelineHandoverInclude<ExtArgs> | null
/**
* Filter which PipelineHandover to delete.
*/
where: Prisma.PipelineHandoverWhereUniqueInput
}
/**
* PipelineHandover deleteMany
*/
export type PipelineHandoverDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which PipelineHandovers to delete
*/
where?: Prisma.PipelineHandoverWhereInput
/**
* Limit how many PipelineHandovers to delete.
*/
limit?: number
}
/**
* PipelineHandover.items
*/
export type PipelineHandover$itemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PipelineHandoverItem
*/
select?: Prisma.PipelineHandoverItemSelect<ExtArgs> | null
/**
* Omit specific fields from the PipelineHandoverItem
*/
omit?: Prisma.PipelineHandoverItemOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PipelineHandoverItemInclude<ExtArgs> | null
where?: Prisma.PipelineHandoverItemWhereInput
orderBy?: Prisma.PipelineHandoverItemOrderByWithRelationInput | Prisma.PipelineHandoverItemOrderByWithRelationInput[]
cursor?: Prisma.PipelineHandoverItemWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.PipelineHandoverItemScalarFieldEnum | Prisma.PipelineHandoverItemScalarFieldEnum[]
}
/**
* PipelineHandover without action
*/
export type PipelineHandoverDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PipelineHandover
*/
select?: Prisma.PipelineHandoverSelect<ExtArgs> | null
/**
* Omit specific fields from the PipelineHandover
*/
omit?: Prisma.PipelineHandoverOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PipelineHandoverInclude<ExtArgs> | null
}