1462 lines
57 KiB
TypeScript
1462 lines
57 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 `PipelineAccess` 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 PipelineAccess
|
|
*
|
|
*/
|
|
export type PipelineAccessModel = runtime.Types.Result.DefaultSelection<Prisma.$PipelineAccessPayload>
|
|
|
|
export type AggregatePipelineAccess = {
|
|
_count: PipelineAccessCountAggregateOutputType | null
|
|
_min: PipelineAccessMinAggregateOutputType | null
|
|
_max: PipelineAccessMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type PipelineAccessMinAggregateOutputType = {
|
|
id: string | null
|
|
tenantId: string | null
|
|
pipelineId: string | null
|
|
principalType: $Enums.PipelinePrincipalType | null
|
|
principalId: string | null
|
|
kannSehen: boolean | null
|
|
kannBearbeiten: boolean | null
|
|
createdAt: Date | null
|
|
}
|
|
|
|
export type PipelineAccessMaxAggregateOutputType = {
|
|
id: string | null
|
|
tenantId: string | null
|
|
pipelineId: string | null
|
|
principalType: $Enums.PipelinePrincipalType | null
|
|
principalId: string | null
|
|
kannSehen: boolean | null
|
|
kannBearbeiten: boolean | null
|
|
createdAt: Date | null
|
|
}
|
|
|
|
export type PipelineAccessCountAggregateOutputType = {
|
|
id: number
|
|
tenantId: number
|
|
pipelineId: number
|
|
principalType: number
|
|
principalId: number
|
|
kannSehen: number
|
|
kannBearbeiten: number
|
|
createdAt: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type PipelineAccessMinAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
pipelineId?: true
|
|
principalType?: true
|
|
principalId?: true
|
|
kannSehen?: true
|
|
kannBearbeiten?: true
|
|
createdAt?: true
|
|
}
|
|
|
|
export type PipelineAccessMaxAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
pipelineId?: true
|
|
principalType?: true
|
|
principalId?: true
|
|
kannSehen?: true
|
|
kannBearbeiten?: true
|
|
createdAt?: true
|
|
}
|
|
|
|
export type PipelineAccessCountAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
pipelineId?: true
|
|
principalType?: true
|
|
principalId?: true
|
|
kannSehen?: true
|
|
kannBearbeiten?: true
|
|
createdAt?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type PipelineAccessAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which PipelineAccess to aggregate.
|
|
*/
|
|
where?: Prisma.PipelineAccessWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PipelineAccesses to fetch.
|
|
*/
|
|
orderBy?: Prisma.PipelineAccessOrderByWithRelationInput | Prisma.PipelineAccessOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.PipelineAccessWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PipelineAccesses 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` PipelineAccesses.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned PipelineAccesses
|
|
**/
|
|
_count?: true | PipelineAccessCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: PipelineAccessMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: PipelineAccessMaxAggregateInputType
|
|
}
|
|
|
|
export type GetPipelineAccessAggregateType<T extends PipelineAccessAggregateArgs> = {
|
|
[P in keyof T & keyof AggregatePipelineAccess]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregatePipelineAccess[P]>
|
|
: Prisma.GetScalarType<T[P], AggregatePipelineAccess[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type PipelineAccessGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.PipelineAccessWhereInput
|
|
orderBy?: Prisma.PipelineAccessOrderByWithAggregationInput | Prisma.PipelineAccessOrderByWithAggregationInput[]
|
|
by: Prisma.PipelineAccessScalarFieldEnum[] | Prisma.PipelineAccessScalarFieldEnum
|
|
having?: Prisma.PipelineAccessScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: PipelineAccessCountAggregateInputType | true
|
|
_min?: PipelineAccessMinAggregateInputType
|
|
_max?: PipelineAccessMaxAggregateInputType
|
|
}
|
|
|
|
export type PipelineAccessGroupByOutputType = {
|
|
id: string
|
|
tenantId: string
|
|
pipelineId: string
|
|
principalType: $Enums.PipelinePrincipalType
|
|
principalId: string
|
|
kannSehen: boolean
|
|
kannBearbeiten: boolean
|
|
createdAt: Date
|
|
_count: PipelineAccessCountAggregateOutputType | null
|
|
_min: PipelineAccessMinAggregateOutputType | null
|
|
_max: PipelineAccessMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetPipelineAccessGroupByPayload<T extends PipelineAccessGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<PipelineAccessGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof PipelineAccessGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], PipelineAccessGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], PipelineAccessGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type PipelineAccessWhereInput = {
|
|
AND?: Prisma.PipelineAccessWhereInput | Prisma.PipelineAccessWhereInput[]
|
|
OR?: Prisma.PipelineAccessWhereInput[]
|
|
NOT?: Prisma.PipelineAccessWhereInput | Prisma.PipelineAccessWhereInput[]
|
|
id?: Prisma.StringFilter<"PipelineAccess"> | string
|
|
tenantId?: Prisma.StringFilter<"PipelineAccess"> | string
|
|
pipelineId?: Prisma.StringFilter<"PipelineAccess"> | string
|
|
principalType?: Prisma.EnumPipelinePrincipalTypeFilter<"PipelineAccess"> | $Enums.PipelinePrincipalType
|
|
principalId?: Prisma.StringFilter<"PipelineAccess"> | string
|
|
kannSehen?: Prisma.BoolFilter<"PipelineAccess"> | boolean
|
|
kannBearbeiten?: Prisma.BoolFilter<"PipelineAccess"> | boolean
|
|
createdAt?: Prisma.DateTimeFilter<"PipelineAccess"> | Date | string
|
|
pipeline?: Prisma.XOR<Prisma.PipelineScalarRelationFilter, Prisma.PipelineWhereInput>
|
|
}
|
|
|
|
export type PipelineAccessOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
pipelineId?: Prisma.SortOrder
|
|
principalType?: Prisma.SortOrder
|
|
principalId?: Prisma.SortOrder
|
|
kannSehen?: Prisma.SortOrder
|
|
kannBearbeiten?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
pipeline?: Prisma.PipelineOrderByWithRelationInput
|
|
}
|
|
|
|
export type PipelineAccessWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
pipelineId_principalType_principalId?: Prisma.PipelineAccessPipelineIdPrincipalTypePrincipalIdCompoundUniqueInput
|
|
AND?: Prisma.PipelineAccessWhereInput | Prisma.PipelineAccessWhereInput[]
|
|
OR?: Prisma.PipelineAccessWhereInput[]
|
|
NOT?: Prisma.PipelineAccessWhereInput | Prisma.PipelineAccessWhereInput[]
|
|
tenantId?: Prisma.StringFilter<"PipelineAccess"> | string
|
|
pipelineId?: Prisma.StringFilter<"PipelineAccess"> | string
|
|
principalType?: Prisma.EnumPipelinePrincipalTypeFilter<"PipelineAccess"> | $Enums.PipelinePrincipalType
|
|
principalId?: Prisma.StringFilter<"PipelineAccess"> | string
|
|
kannSehen?: Prisma.BoolFilter<"PipelineAccess"> | boolean
|
|
kannBearbeiten?: Prisma.BoolFilter<"PipelineAccess"> | boolean
|
|
createdAt?: Prisma.DateTimeFilter<"PipelineAccess"> | Date | string
|
|
pipeline?: Prisma.XOR<Prisma.PipelineScalarRelationFilter, Prisma.PipelineWhereInput>
|
|
}, "id" | "pipelineId_principalType_principalId">
|
|
|
|
export type PipelineAccessOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
pipelineId?: Prisma.SortOrder
|
|
principalType?: Prisma.SortOrder
|
|
principalId?: Prisma.SortOrder
|
|
kannSehen?: Prisma.SortOrder
|
|
kannBearbeiten?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
_count?: Prisma.PipelineAccessCountOrderByAggregateInput
|
|
_max?: Prisma.PipelineAccessMaxOrderByAggregateInput
|
|
_min?: Prisma.PipelineAccessMinOrderByAggregateInput
|
|
}
|
|
|
|
export type PipelineAccessScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.PipelineAccessScalarWhereWithAggregatesInput | Prisma.PipelineAccessScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.PipelineAccessScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.PipelineAccessScalarWhereWithAggregatesInput | Prisma.PipelineAccessScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"PipelineAccess"> | string
|
|
tenantId?: Prisma.StringWithAggregatesFilter<"PipelineAccess"> | string
|
|
pipelineId?: Prisma.StringWithAggregatesFilter<"PipelineAccess"> | string
|
|
principalType?: Prisma.EnumPipelinePrincipalTypeWithAggregatesFilter<"PipelineAccess"> | $Enums.PipelinePrincipalType
|
|
principalId?: Prisma.StringWithAggregatesFilter<"PipelineAccess"> | string
|
|
kannSehen?: Prisma.BoolWithAggregatesFilter<"PipelineAccess"> | boolean
|
|
kannBearbeiten?: Prisma.BoolWithAggregatesFilter<"PipelineAccess"> | boolean
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"PipelineAccess"> | Date | string
|
|
}
|
|
|
|
export type PipelineAccessCreateInput = {
|
|
id?: string
|
|
tenantId: string
|
|
principalType: $Enums.PipelinePrincipalType
|
|
principalId: string
|
|
kannSehen?: boolean
|
|
kannBearbeiten?: boolean
|
|
createdAt?: Date | string
|
|
pipeline: Prisma.PipelineCreateNestedOneWithoutAccessRulesInput
|
|
}
|
|
|
|
export type PipelineAccessUncheckedCreateInput = {
|
|
id?: string
|
|
tenantId: string
|
|
pipelineId: string
|
|
principalType: $Enums.PipelinePrincipalType
|
|
principalId: string
|
|
kannSehen?: boolean
|
|
kannBearbeiten?: boolean
|
|
createdAt?: Date | string
|
|
}
|
|
|
|
export type PipelineAccessUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
principalType?: Prisma.EnumPipelinePrincipalTypeFieldUpdateOperationsInput | $Enums.PipelinePrincipalType
|
|
principalId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
kannSehen?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
kannBearbeiten?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
pipeline?: Prisma.PipelineUpdateOneRequiredWithoutAccessRulesNestedInput
|
|
}
|
|
|
|
export type PipelineAccessUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
pipelineId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
principalType?: Prisma.EnumPipelinePrincipalTypeFieldUpdateOperationsInput | $Enums.PipelinePrincipalType
|
|
principalId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
kannSehen?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
kannBearbeiten?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type PipelineAccessCreateManyInput = {
|
|
id?: string
|
|
tenantId: string
|
|
pipelineId: string
|
|
principalType: $Enums.PipelinePrincipalType
|
|
principalId: string
|
|
kannSehen?: boolean
|
|
kannBearbeiten?: boolean
|
|
createdAt?: Date | string
|
|
}
|
|
|
|
export type PipelineAccessUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
principalType?: Prisma.EnumPipelinePrincipalTypeFieldUpdateOperationsInput | $Enums.PipelinePrincipalType
|
|
principalId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
kannSehen?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
kannBearbeiten?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type PipelineAccessUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
pipelineId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
principalType?: Prisma.EnumPipelinePrincipalTypeFieldUpdateOperationsInput | $Enums.PipelinePrincipalType
|
|
principalId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
kannSehen?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
kannBearbeiten?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type PipelineAccessListRelationFilter = {
|
|
every?: Prisma.PipelineAccessWhereInput
|
|
some?: Prisma.PipelineAccessWhereInput
|
|
none?: Prisma.PipelineAccessWhereInput
|
|
}
|
|
|
|
export type PipelineAccessOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PipelineAccessPipelineIdPrincipalTypePrincipalIdCompoundUniqueInput = {
|
|
pipelineId: string
|
|
principalType: $Enums.PipelinePrincipalType
|
|
principalId: string
|
|
}
|
|
|
|
export type PipelineAccessCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
pipelineId?: Prisma.SortOrder
|
|
principalType?: Prisma.SortOrder
|
|
principalId?: Prisma.SortOrder
|
|
kannSehen?: Prisma.SortOrder
|
|
kannBearbeiten?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PipelineAccessMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
pipelineId?: Prisma.SortOrder
|
|
principalType?: Prisma.SortOrder
|
|
principalId?: Prisma.SortOrder
|
|
kannSehen?: Prisma.SortOrder
|
|
kannBearbeiten?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PipelineAccessMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
pipelineId?: Prisma.SortOrder
|
|
principalType?: Prisma.SortOrder
|
|
principalId?: Prisma.SortOrder
|
|
kannSehen?: Prisma.SortOrder
|
|
kannBearbeiten?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PipelineAccessCreateNestedManyWithoutPipelineInput = {
|
|
create?: Prisma.XOR<Prisma.PipelineAccessCreateWithoutPipelineInput, Prisma.PipelineAccessUncheckedCreateWithoutPipelineInput> | Prisma.PipelineAccessCreateWithoutPipelineInput[] | Prisma.PipelineAccessUncheckedCreateWithoutPipelineInput[]
|
|
connectOrCreate?: Prisma.PipelineAccessCreateOrConnectWithoutPipelineInput | Prisma.PipelineAccessCreateOrConnectWithoutPipelineInput[]
|
|
createMany?: Prisma.PipelineAccessCreateManyPipelineInputEnvelope
|
|
connect?: Prisma.PipelineAccessWhereUniqueInput | Prisma.PipelineAccessWhereUniqueInput[]
|
|
}
|
|
|
|
export type PipelineAccessUncheckedCreateNestedManyWithoutPipelineInput = {
|
|
create?: Prisma.XOR<Prisma.PipelineAccessCreateWithoutPipelineInput, Prisma.PipelineAccessUncheckedCreateWithoutPipelineInput> | Prisma.PipelineAccessCreateWithoutPipelineInput[] | Prisma.PipelineAccessUncheckedCreateWithoutPipelineInput[]
|
|
connectOrCreate?: Prisma.PipelineAccessCreateOrConnectWithoutPipelineInput | Prisma.PipelineAccessCreateOrConnectWithoutPipelineInput[]
|
|
createMany?: Prisma.PipelineAccessCreateManyPipelineInputEnvelope
|
|
connect?: Prisma.PipelineAccessWhereUniqueInput | Prisma.PipelineAccessWhereUniqueInput[]
|
|
}
|
|
|
|
export type PipelineAccessUpdateManyWithoutPipelineNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PipelineAccessCreateWithoutPipelineInput, Prisma.PipelineAccessUncheckedCreateWithoutPipelineInput> | Prisma.PipelineAccessCreateWithoutPipelineInput[] | Prisma.PipelineAccessUncheckedCreateWithoutPipelineInput[]
|
|
connectOrCreate?: Prisma.PipelineAccessCreateOrConnectWithoutPipelineInput | Prisma.PipelineAccessCreateOrConnectWithoutPipelineInput[]
|
|
upsert?: Prisma.PipelineAccessUpsertWithWhereUniqueWithoutPipelineInput | Prisma.PipelineAccessUpsertWithWhereUniqueWithoutPipelineInput[]
|
|
createMany?: Prisma.PipelineAccessCreateManyPipelineInputEnvelope
|
|
set?: Prisma.PipelineAccessWhereUniqueInput | Prisma.PipelineAccessWhereUniqueInput[]
|
|
disconnect?: Prisma.PipelineAccessWhereUniqueInput | Prisma.PipelineAccessWhereUniqueInput[]
|
|
delete?: Prisma.PipelineAccessWhereUniqueInput | Prisma.PipelineAccessWhereUniqueInput[]
|
|
connect?: Prisma.PipelineAccessWhereUniqueInput | Prisma.PipelineAccessWhereUniqueInput[]
|
|
update?: Prisma.PipelineAccessUpdateWithWhereUniqueWithoutPipelineInput | Prisma.PipelineAccessUpdateWithWhereUniqueWithoutPipelineInput[]
|
|
updateMany?: Prisma.PipelineAccessUpdateManyWithWhereWithoutPipelineInput | Prisma.PipelineAccessUpdateManyWithWhereWithoutPipelineInput[]
|
|
deleteMany?: Prisma.PipelineAccessScalarWhereInput | Prisma.PipelineAccessScalarWhereInput[]
|
|
}
|
|
|
|
export type PipelineAccessUncheckedUpdateManyWithoutPipelineNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PipelineAccessCreateWithoutPipelineInput, Prisma.PipelineAccessUncheckedCreateWithoutPipelineInput> | Prisma.PipelineAccessCreateWithoutPipelineInput[] | Prisma.PipelineAccessUncheckedCreateWithoutPipelineInput[]
|
|
connectOrCreate?: Prisma.PipelineAccessCreateOrConnectWithoutPipelineInput | Prisma.PipelineAccessCreateOrConnectWithoutPipelineInput[]
|
|
upsert?: Prisma.PipelineAccessUpsertWithWhereUniqueWithoutPipelineInput | Prisma.PipelineAccessUpsertWithWhereUniqueWithoutPipelineInput[]
|
|
createMany?: Prisma.PipelineAccessCreateManyPipelineInputEnvelope
|
|
set?: Prisma.PipelineAccessWhereUniqueInput | Prisma.PipelineAccessWhereUniqueInput[]
|
|
disconnect?: Prisma.PipelineAccessWhereUniqueInput | Prisma.PipelineAccessWhereUniqueInput[]
|
|
delete?: Prisma.PipelineAccessWhereUniqueInput | Prisma.PipelineAccessWhereUniqueInput[]
|
|
connect?: Prisma.PipelineAccessWhereUniqueInput | Prisma.PipelineAccessWhereUniqueInput[]
|
|
update?: Prisma.PipelineAccessUpdateWithWhereUniqueWithoutPipelineInput | Prisma.PipelineAccessUpdateWithWhereUniqueWithoutPipelineInput[]
|
|
updateMany?: Prisma.PipelineAccessUpdateManyWithWhereWithoutPipelineInput | Prisma.PipelineAccessUpdateManyWithWhereWithoutPipelineInput[]
|
|
deleteMany?: Prisma.PipelineAccessScalarWhereInput | Prisma.PipelineAccessScalarWhereInput[]
|
|
}
|
|
|
|
export type EnumPipelinePrincipalTypeFieldUpdateOperationsInput = {
|
|
set?: $Enums.PipelinePrincipalType
|
|
}
|
|
|
|
export type PipelineAccessCreateWithoutPipelineInput = {
|
|
id?: string
|
|
tenantId: string
|
|
principalType: $Enums.PipelinePrincipalType
|
|
principalId: string
|
|
kannSehen?: boolean
|
|
kannBearbeiten?: boolean
|
|
createdAt?: Date | string
|
|
}
|
|
|
|
export type PipelineAccessUncheckedCreateWithoutPipelineInput = {
|
|
id?: string
|
|
tenantId: string
|
|
principalType: $Enums.PipelinePrincipalType
|
|
principalId: string
|
|
kannSehen?: boolean
|
|
kannBearbeiten?: boolean
|
|
createdAt?: Date | string
|
|
}
|
|
|
|
export type PipelineAccessCreateOrConnectWithoutPipelineInput = {
|
|
where: Prisma.PipelineAccessWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.PipelineAccessCreateWithoutPipelineInput, Prisma.PipelineAccessUncheckedCreateWithoutPipelineInput>
|
|
}
|
|
|
|
export type PipelineAccessCreateManyPipelineInputEnvelope = {
|
|
data: Prisma.PipelineAccessCreateManyPipelineInput | Prisma.PipelineAccessCreateManyPipelineInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type PipelineAccessUpsertWithWhereUniqueWithoutPipelineInput = {
|
|
where: Prisma.PipelineAccessWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.PipelineAccessUpdateWithoutPipelineInput, Prisma.PipelineAccessUncheckedUpdateWithoutPipelineInput>
|
|
create: Prisma.XOR<Prisma.PipelineAccessCreateWithoutPipelineInput, Prisma.PipelineAccessUncheckedCreateWithoutPipelineInput>
|
|
}
|
|
|
|
export type PipelineAccessUpdateWithWhereUniqueWithoutPipelineInput = {
|
|
where: Prisma.PipelineAccessWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.PipelineAccessUpdateWithoutPipelineInput, Prisma.PipelineAccessUncheckedUpdateWithoutPipelineInput>
|
|
}
|
|
|
|
export type PipelineAccessUpdateManyWithWhereWithoutPipelineInput = {
|
|
where: Prisma.PipelineAccessScalarWhereInput
|
|
data: Prisma.XOR<Prisma.PipelineAccessUpdateManyMutationInput, Prisma.PipelineAccessUncheckedUpdateManyWithoutPipelineInput>
|
|
}
|
|
|
|
export type PipelineAccessScalarWhereInput = {
|
|
AND?: Prisma.PipelineAccessScalarWhereInput | Prisma.PipelineAccessScalarWhereInput[]
|
|
OR?: Prisma.PipelineAccessScalarWhereInput[]
|
|
NOT?: Prisma.PipelineAccessScalarWhereInput | Prisma.PipelineAccessScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"PipelineAccess"> | string
|
|
tenantId?: Prisma.StringFilter<"PipelineAccess"> | string
|
|
pipelineId?: Prisma.StringFilter<"PipelineAccess"> | string
|
|
principalType?: Prisma.EnumPipelinePrincipalTypeFilter<"PipelineAccess"> | $Enums.PipelinePrincipalType
|
|
principalId?: Prisma.StringFilter<"PipelineAccess"> | string
|
|
kannSehen?: Prisma.BoolFilter<"PipelineAccess"> | boolean
|
|
kannBearbeiten?: Prisma.BoolFilter<"PipelineAccess"> | boolean
|
|
createdAt?: Prisma.DateTimeFilter<"PipelineAccess"> | Date | string
|
|
}
|
|
|
|
export type PipelineAccessCreateManyPipelineInput = {
|
|
id?: string
|
|
tenantId: string
|
|
principalType: $Enums.PipelinePrincipalType
|
|
principalId: string
|
|
kannSehen?: boolean
|
|
kannBearbeiten?: boolean
|
|
createdAt?: Date | string
|
|
}
|
|
|
|
export type PipelineAccessUpdateWithoutPipelineInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
principalType?: Prisma.EnumPipelinePrincipalTypeFieldUpdateOperationsInput | $Enums.PipelinePrincipalType
|
|
principalId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
kannSehen?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
kannBearbeiten?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type PipelineAccessUncheckedUpdateWithoutPipelineInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
principalType?: Prisma.EnumPipelinePrincipalTypeFieldUpdateOperationsInput | $Enums.PipelinePrincipalType
|
|
principalId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
kannSehen?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
kannBearbeiten?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type PipelineAccessUncheckedUpdateManyWithoutPipelineInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
principalType?: Prisma.EnumPipelinePrincipalTypeFieldUpdateOperationsInput | $Enums.PipelinePrincipalType
|
|
principalId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
kannSehen?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
kannBearbeiten?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
|
|
|
|
export type PipelineAccessSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
pipelineId?: boolean
|
|
principalType?: boolean
|
|
principalId?: boolean
|
|
kannSehen?: boolean
|
|
kannBearbeiten?: boolean
|
|
createdAt?: boolean
|
|
pipeline?: boolean | Prisma.PipelineDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["pipelineAccess"]>
|
|
|
|
export type PipelineAccessSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
pipelineId?: boolean
|
|
principalType?: boolean
|
|
principalId?: boolean
|
|
kannSehen?: boolean
|
|
kannBearbeiten?: boolean
|
|
createdAt?: boolean
|
|
pipeline?: boolean | Prisma.PipelineDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["pipelineAccess"]>
|
|
|
|
export type PipelineAccessSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
pipelineId?: boolean
|
|
principalType?: boolean
|
|
principalId?: boolean
|
|
kannSehen?: boolean
|
|
kannBearbeiten?: boolean
|
|
createdAt?: boolean
|
|
pipeline?: boolean | Prisma.PipelineDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["pipelineAccess"]>
|
|
|
|
export type PipelineAccessSelectScalar = {
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
pipelineId?: boolean
|
|
principalType?: boolean
|
|
principalId?: boolean
|
|
kannSehen?: boolean
|
|
kannBearbeiten?: boolean
|
|
createdAt?: boolean
|
|
}
|
|
|
|
export type PipelineAccessOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "pipelineId" | "principalType" | "principalId" | "kannSehen" | "kannBearbeiten" | "createdAt", ExtArgs["result"]["pipelineAccess"]>
|
|
export type PipelineAccessInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
pipeline?: boolean | Prisma.PipelineDefaultArgs<ExtArgs>
|
|
}
|
|
export type PipelineAccessIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
pipeline?: boolean | Prisma.PipelineDefaultArgs<ExtArgs>
|
|
}
|
|
export type PipelineAccessIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
pipeline?: boolean | Prisma.PipelineDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $PipelineAccessPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "PipelineAccess"
|
|
objects: {
|
|
pipeline: Prisma.$PipelinePayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
tenantId: string
|
|
pipelineId: string
|
|
principalType: $Enums.PipelinePrincipalType
|
|
principalId: string
|
|
kannSehen: boolean
|
|
kannBearbeiten: boolean
|
|
createdAt: Date
|
|
}, ExtArgs["result"]["pipelineAccess"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type PipelineAccessGetPayload<S extends boolean | null | undefined | PipelineAccessDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PipelineAccessPayload, S>
|
|
|
|
export type PipelineAccessCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<PipelineAccessFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: PipelineAccessCountAggregateInputType | true
|
|
}
|
|
|
|
export interface PipelineAccessDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PipelineAccess'], meta: { name: 'PipelineAccess' } }
|
|
/**
|
|
* Find zero or one PipelineAccess that matches the filter.
|
|
* @param {PipelineAccessFindUniqueArgs} args - Arguments to find a PipelineAccess
|
|
* @example
|
|
* // Get one PipelineAccess
|
|
* const pipelineAccess = await prisma.pipelineAccess.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends PipelineAccessFindUniqueArgs>(args: Prisma.SelectSubset<T, PipelineAccessFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PipelineAccessClient<runtime.Types.Result.GetResult<Prisma.$PipelineAccessPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one PipelineAccess that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {PipelineAccessFindUniqueOrThrowArgs} args - Arguments to find a PipelineAccess
|
|
* @example
|
|
* // Get one PipelineAccess
|
|
* const pipelineAccess = await prisma.pipelineAccess.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends PipelineAccessFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PipelineAccessFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PipelineAccessClient<runtime.Types.Result.GetResult<Prisma.$PipelineAccessPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first PipelineAccess 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 {PipelineAccessFindFirstArgs} args - Arguments to find a PipelineAccess
|
|
* @example
|
|
* // Get one PipelineAccess
|
|
* const pipelineAccess = await prisma.pipelineAccess.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends PipelineAccessFindFirstArgs>(args?: Prisma.SelectSubset<T, PipelineAccessFindFirstArgs<ExtArgs>>): Prisma.Prisma__PipelineAccessClient<runtime.Types.Result.GetResult<Prisma.$PipelineAccessPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first PipelineAccess 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 {PipelineAccessFindFirstOrThrowArgs} args - Arguments to find a PipelineAccess
|
|
* @example
|
|
* // Get one PipelineAccess
|
|
* const pipelineAccess = await prisma.pipelineAccess.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends PipelineAccessFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PipelineAccessFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PipelineAccessClient<runtime.Types.Result.GetResult<Prisma.$PipelineAccessPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more PipelineAccesses 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 {PipelineAccessFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all PipelineAccesses
|
|
* const pipelineAccesses = await prisma.pipelineAccess.findMany()
|
|
*
|
|
* // Get first 10 PipelineAccesses
|
|
* const pipelineAccesses = await prisma.pipelineAccess.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const pipelineAccessWithIdOnly = await prisma.pipelineAccess.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends PipelineAccessFindManyArgs>(args?: Prisma.SelectSubset<T, PipelineAccessFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PipelineAccessPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a PipelineAccess.
|
|
* @param {PipelineAccessCreateArgs} args - Arguments to create a PipelineAccess.
|
|
* @example
|
|
* // Create one PipelineAccess
|
|
* const PipelineAccess = await prisma.pipelineAccess.create({
|
|
* data: {
|
|
* // ... data to create a PipelineAccess
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends PipelineAccessCreateArgs>(args: Prisma.SelectSubset<T, PipelineAccessCreateArgs<ExtArgs>>): Prisma.Prisma__PipelineAccessClient<runtime.Types.Result.GetResult<Prisma.$PipelineAccessPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many PipelineAccesses.
|
|
* @param {PipelineAccessCreateManyArgs} args - Arguments to create many PipelineAccesses.
|
|
* @example
|
|
* // Create many PipelineAccesses
|
|
* const pipelineAccess = await prisma.pipelineAccess.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends PipelineAccessCreateManyArgs>(args?: Prisma.SelectSubset<T, PipelineAccessCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many PipelineAccesses and returns the data saved in the database.
|
|
* @param {PipelineAccessCreateManyAndReturnArgs} args - Arguments to create many PipelineAccesses.
|
|
* @example
|
|
* // Create many PipelineAccesses
|
|
* const pipelineAccess = await prisma.pipelineAccess.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many PipelineAccesses and only return the `id`
|
|
* const pipelineAccessWithIdOnly = await prisma.pipelineAccess.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 PipelineAccessCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PipelineAccessCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PipelineAccessPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a PipelineAccess.
|
|
* @param {PipelineAccessDeleteArgs} args - Arguments to delete one PipelineAccess.
|
|
* @example
|
|
* // Delete one PipelineAccess
|
|
* const PipelineAccess = await prisma.pipelineAccess.delete({
|
|
* where: {
|
|
* // ... filter to delete one PipelineAccess
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends PipelineAccessDeleteArgs>(args: Prisma.SelectSubset<T, PipelineAccessDeleteArgs<ExtArgs>>): Prisma.Prisma__PipelineAccessClient<runtime.Types.Result.GetResult<Prisma.$PipelineAccessPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one PipelineAccess.
|
|
* @param {PipelineAccessUpdateArgs} args - Arguments to update one PipelineAccess.
|
|
* @example
|
|
* // Update one PipelineAccess
|
|
* const pipelineAccess = await prisma.pipelineAccess.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends PipelineAccessUpdateArgs>(args: Prisma.SelectSubset<T, PipelineAccessUpdateArgs<ExtArgs>>): Prisma.Prisma__PipelineAccessClient<runtime.Types.Result.GetResult<Prisma.$PipelineAccessPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more PipelineAccesses.
|
|
* @param {PipelineAccessDeleteManyArgs} args - Arguments to filter PipelineAccesses to delete.
|
|
* @example
|
|
* // Delete a few PipelineAccesses
|
|
* const { count } = await prisma.pipelineAccess.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends PipelineAccessDeleteManyArgs>(args?: Prisma.SelectSubset<T, PipelineAccessDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more PipelineAccesses.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PipelineAccessUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many PipelineAccesses
|
|
* const pipelineAccess = await prisma.pipelineAccess.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends PipelineAccessUpdateManyArgs>(args: Prisma.SelectSubset<T, PipelineAccessUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more PipelineAccesses and returns the data updated in the database.
|
|
* @param {PipelineAccessUpdateManyAndReturnArgs} args - Arguments to update many PipelineAccesses.
|
|
* @example
|
|
* // Update many PipelineAccesses
|
|
* const pipelineAccess = await prisma.pipelineAccess.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more PipelineAccesses and only return the `id`
|
|
* const pipelineAccessWithIdOnly = await prisma.pipelineAccess.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 PipelineAccessUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PipelineAccessUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PipelineAccessPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one PipelineAccess.
|
|
* @param {PipelineAccessUpsertArgs} args - Arguments to update or create a PipelineAccess.
|
|
* @example
|
|
* // Update or create a PipelineAccess
|
|
* const pipelineAccess = await prisma.pipelineAccess.upsert({
|
|
* create: {
|
|
* // ... data to create a PipelineAccess
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the PipelineAccess we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends PipelineAccessUpsertArgs>(args: Prisma.SelectSubset<T, PipelineAccessUpsertArgs<ExtArgs>>): Prisma.Prisma__PipelineAccessClient<runtime.Types.Result.GetResult<Prisma.$PipelineAccessPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of PipelineAccesses.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PipelineAccessCountArgs} args - Arguments to filter PipelineAccesses to count.
|
|
* @example
|
|
* // Count the number of PipelineAccesses
|
|
* const count = await prisma.pipelineAccess.count({
|
|
* where: {
|
|
* // ... the filter for the PipelineAccesses we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends PipelineAccessCountArgs>(
|
|
args?: Prisma.Subset<T, PipelineAccessCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], PipelineAccessCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a PipelineAccess.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PipelineAccessAggregateArgs} 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 PipelineAccessAggregateArgs>(args: Prisma.Subset<T, PipelineAccessAggregateArgs>): Prisma.PrismaPromise<GetPipelineAccessAggregateType<T>>
|
|
|
|
/**
|
|
* Group by PipelineAccess.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PipelineAccessGroupByArgs} 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 PipelineAccessGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: PipelineAccessGroupByArgs['orderBy'] }
|
|
: { orderBy?: PipelineAccessGroupByArgs['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, PipelineAccessGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPipelineAccessGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the PipelineAccess model
|
|
*/
|
|
readonly fields: PipelineAccessFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for PipelineAccess.
|
|
* 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__PipelineAccessClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
pipeline<T extends Prisma.PipelineDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PipelineDefaultArgs<ExtArgs>>): Prisma.Prisma__PipelineClient<runtime.Types.Result.GetResult<Prisma.$PipelinePayload<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 PipelineAccess model
|
|
*/
|
|
export interface PipelineAccessFieldRefs {
|
|
readonly id: Prisma.FieldRef<"PipelineAccess", 'String'>
|
|
readonly tenantId: Prisma.FieldRef<"PipelineAccess", 'String'>
|
|
readonly pipelineId: Prisma.FieldRef<"PipelineAccess", 'String'>
|
|
readonly principalType: Prisma.FieldRef<"PipelineAccess", 'PipelinePrincipalType'>
|
|
readonly principalId: Prisma.FieldRef<"PipelineAccess", 'String'>
|
|
readonly kannSehen: Prisma.FieldRef<"PipelineAccess", 'Boolean'>
|
|
readonly kannBearbeiten: Prisma.FieldRef<"PipelineAccess", 'Boolean'>
|
|
readonly createdAt: Prisma.FieldRef<"PipelineAccess", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* PipelineAccess findUnique
|
|
*/
|
|
export type PipelineAccessFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineAccess
|
|
*/
|
|
select?: Prisma.PipelineAccessSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineAccess
|
|
*/
|
|
omit?: Prisma.PipelineAccessOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineAccessInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PipelineAccess to fetch.
|
|
*/
|
|
where: Prisma.PipelineAccessWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PipelineAccess findUniqueOrThrow
|
|
*/
|
|
export type PipelineAccessFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineAccess
|
|
*/
|
|
select?: Prisma.PipelineAccessSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineAccess
|
|
*/
|
|
omit?: Prisma.PipelineAccessOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineAccessInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PipelineAccess to fetch.
|
|
*/
|
|
where: Prisma.PipelineAccessWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PipelineAccess findFirst
|
|
*/
|
|
export type PipelineAccessFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineAccess
|
|
*/
|
|
select?: Prisma.PipelineAccessSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineAccess
|
|
*/
|
|
omit?: Prisma.PipelineAccessOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineAccessInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PipelineAccess to fetch.
|
|
*/
|
|
where?: Prisma.PipelineAccessWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PipelineAccesses to fetch.
|
|
*/
|
|
orderBy?: Prisma.PipelineAccessOrderByWithRelationInput | Prisma.PipelineAccessOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for PipelineAccesses.
|
|
*/
|
|
cursor?: Prisma.PipelineAccessWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PipelineAccesses 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` PipelineAccesses.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of PipelineAccesses.
|
|
*/
|
|
distinct?: Prisma.PipelineAccessScalarFieldEnum | Prisma.PipelineAccessScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* PipelineAccess findFirstOrThrow
|
|
*/
|
|
export type PipelineAccessFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineAccess
|
|
*/
|
|
select?: Prisma.PipelineAccessSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineAccess
|
|
*/
|
|
omit?: Prisma.PipelineAccessOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineAccessInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PipelineAccess to fetch.
|
|
*/
|
|
where?: Prisma.PipelineAccessWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PipelineAccesses to fetch.
|
|
*/
|
|
orderBy?: Prisma.PipelineAccessOrderByWithRelationInput | Prisma.PipelineAccessOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for PipelineAccesses.
|
|
*/
|
|
cursor?: Prisma.PipelineAccessWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PipelineAccesses 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` PipelineAccesses.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of PipelineAccesses.
|
|
*/
|
|
distinct?: Prisma.PipelineAccessScalarFieldEnum | Prisma.PipelineAccessScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* PipelineAccess findMany
|
|
*/
|
|
export type PipelineAccessFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineAccess
|
|
*/
|
|
select?: Prisma.PipelineAccessSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineAccess
|
|
*/
|
|
omit?: Prisma.PipelineAccessOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineAccessInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PipelineAccesses to fetch.
|
|
*/
|
|
where?: Prisma.PipelineAccessWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PipelineAccesses to fetch.
|
|
*/
|
|
orderBy?: Prisma.PipelineAccessOrderByWithRelationInput | Prisma.PipelineAccessOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing PipelineAccesses.
|
|
*/
|
|
cursor?: Prisma.PipelineAccessWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PipelineAccesses 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` PipelineAccesses.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of PipelineAccesses.
|
|
*/
|
|
distinct?: Prisma.PipelineAccessScalarFieldEnum | Prisma.PipelineAccessScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* PipelineAccess create
|
|
*/
|
|
export type PipelineAccessCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineAccess
|
|
*/
|
|
select?: Prisma.PipelineAccessSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineAccess
|
|
*/
|
|
omit?: Prisma.PipelineAccessOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineAccessInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a PipelineAccess.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PipelineAccessCreateInput, Prisma.PipelineAccessUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* PipelineAccess createMany
|
|
*/
|
|
export type PipelineAccessCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many PipelineAccesses.
|
|
*/
|
|
data: Prisma.PipelineAccessCreateManyInput | Prisma.PipelineAccessCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* PipelineAccess createManyAndReturn
|
|
*/
|
|
export type PipelineAccessCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineAccess
|
|
*/
|
|
select?: Prisma.PipelineAccessSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineAccess
|
|
*/
|
|
omit?: Prisma.PipelineAccessOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many PipelineAccesses.
|
|
*/
|
|
data: Prisma.PipelineAccessCreateManyInput | Prisma.PipelineAccessCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineAccessIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* PipelineAccess update
|
|
*/
|
|
export type PipelineAccessUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineAccess
|
|
*/
|
|
select?: Prisma.PipelineAccessSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineAccess
|
|
*/
|
|
omit?: Prisma.PipelineAccessOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineAccessInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a PipelineAccess.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PipelineAccessUpdateInput, Prisma.PipelineAccessUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which PipelineAccess to update.
|
|
*/
|
|
where: Prisma.PipelineAccessWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PipelineAccess updateMany
|
|
*/
|
|
export type PipelineAccessUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update PipelineAccesses.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PipelineAccessUpdateManyMutationInput, Prisma.PipelineAccessUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which PipelineAccesses to update
|
|
*/
|
|
where?: Prisma.PipelineAccessWhereInput
|
|
/**
|
|
* Limit how many PipelineAccesses to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* PipelineAccess updateManyAndReturn
|
|
*/
|
|
export type PipelineAccessUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineAccess
|
|
*/
|
|
select?: Prisma.PipelineAccessSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineAccess
|
|
*/
|
|
omit?: Prisma.PipelineAccessOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update PipelineAccesses.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PipelineAccessUpdateManyMutationInput, Prisma.PipelineAccessUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which PipelineAccesses to update
|
|
*/
|
|
where?: Prisma.PipelineAccessWhereInput
|
|
/**
|
|
* Limit how many PipelineAccesses to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineAccessIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* PipelineAccess upsert
|
|
*/
|
|
export type PipelineAccessUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineAccess
|
|
*/
|
|
select?: Prisma.PipelineAccessSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineAccess
|
|
*/
|
|
omit?: Prisma.PipelineAccessOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineAccessInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the PipelineAccess to update in case it exists.
|
|
*/
|
|
where: Prisma.PipelineAccessWhereUniqueInput
|
|
/**
|
|
* In case the PipelineAccess found by the `where` argument doesn't exist, create a new PipelineAccess with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.PipelineAccessCreateInput, Prisma.PipelineAccessUncheckedCreateInput>
|
|
/**
|
|
* In case the PipelineAccess was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.PipelineAccessUpdateInput, Prisma.PipelineAccessUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* PipelineAccess delete
|
|
*/
|
|
export type PipelineAccessDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineAccess
|
|
*/
|
|
select?: Prisma.PipelineAccessSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineAccess
|
|
*/
|
|
omit?: Prisma.PipelineAccessOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineAccessInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which PipelineAccess to delete.
|
|
*/
|
|
where: Prisma.PipelineAccessWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PipelineAccess deleteMany
|
|
*/
|
|
export type PipelineAccessDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which PipelineAccesses to delete
|
|
*/
|
|
where?: Prisma.PipelineAccessWhereInput
|
|
/**
|
|
* Limit how many PipelineAccesses to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* PipelineAccess without action
|
|
*/
|
|
export type PipelineAccessDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PipelineAccess
|
|
*/
|
|
select?: Prisma.PipelineAccessSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PipelineAccess
|
|
*/
|
|
omit?: Prisma.PipelineAccessOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PipelineAccessInclude<ExtArgs> | null
|
|
}
|