1294 lines
47 KiB
TypeScript
1294 lines
47 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 `ProjektNotiz` 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 ProjektNotiz
|
|
*
|
|
*/
|
|
export type ProjektNotizModel = runtime.Types.Result.DefaultSelection<Prisma.$ProjektNotizPayload>
|
|
|
|
export type AggregateProjektNotiz = {
|
|
_count: ProjektNotizCountAggregateOutputType | null
|
|
_min: ProjektNotizMinAggregateOutputType | null
|
|
_max: ProjektNotizMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type ProjektNotizMinAggregateOutputType = {
|
|
id: string | null
|
|
tenantId: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
projektId: string | null
|
|
autorUserId: string | null
|
|
inhalt: string | null
|
|
sichtbarkeit: $Enums.ProjektNotizSichtbarkeit | null
|
|
isDemoData: boolean | null
|
|
archivedAt: Date | null
|
|
}
|
|
|
|
export type ProjektNotizMaxAggregateOutputType = {
|
|
id: string | null
|
|
tenantId: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
projektId: string | null
|
|
autorUserId: string | null
|
|
inhalt: string | null
|
|
sichtbarkeit: $Enums.ProjektNotizSichtbarkeit | null
|
|
isDemoData: boolean | null
|
|
archivedAt: Date | null
|
|
}
|
|
|
|
export type ProjektNotizCountAggregateOutputType = {
|
|
id: number
|
|
tenantId: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
projektId: number
|
|
autorUserId: number
|
|
inhalt: number
|
|
sichtbarkeit: number
|
|
isDemoData: number
|
|
archivedAt: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type ProjektNotizMinAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
projektId?: true
|
|
autorUserId?: true
|
|
inhalt?: true
|
|
sichtbarkeit?: true
|
|
isDemoData?: true
|
|
archivedAt?: true
|
|
}
|
|
|
|
export type ProjektNotizMaxAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
projektId?: true
|
|
autorUserId?: true
|
|
inhalt?: true
|
|
sichtbarkeit?: true
|
|
isDemoData?: true
|
|
archivedAt?: true
|
|
}
|
|
|
|
export type ProjektNotizCountAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
projektId?: true
|
|
autorUserId?: true
|
|
inhalt?: true
|
|
sichtbarkeit?: true
|
|
isDemoData?: true
|
|
archivedAt?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type ProjektNotizAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which ProjektNotiz to aggregate.
|
|
*/
|
|
where?: Prisma.ProjektNotizWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ProjektNotizs to fetch.
|
|
*/
|
|
orderBy?: Prisma.ProjektNotizOrderByWithRelationInput | Prisma.ProjektNotizOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.ProjektNotizWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ProjektNotizs 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` ProjektNotizs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned ProjektNotizs
|
|
**/
|
|
_count?: true | ProjektNotizCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: ProjektNotizMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: ProjektNotizMaxAggregateInputType
|
|
}
|
|
|
|
export type GetProjektNotizAggregateType<T extends ProjektNotizAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateProjektNotiz]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateProjektNotiz[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateProjektNotiz[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProjektNotizGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.ProjektNotizWhereInput
|
|
orderBy?: Prisma.ProjektNotizOrderByWithAggregationInput | Prisma.ProjektNotizOrderByWithAggregationInput[]
|
|
by: Prisma.ProjektNotizScalarFieldEnum[] | Prisma.ProjektNotizScalarFieldEnum
|
|
having?: Prisma.ProjektNotizScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: ProjektNotizCountAggregateInputType | true
|
|
_min?: ProjektNotizMinAggregateInputType
|
|
_max?: ProjektNotizMaxAggregateInputType
|
|
}
|
|
|
|
export type ProjektNotizGroupByOutputType = {
|
|
id: string
|
|
tenantId: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
projektId: string
|
|
autorUserId: string | null
|
|
inhalt: string
|
|
sichtbarkeit: $Enums.ProjektNotizSichtbarkeit
|
|
isDemoData: boolean
|
|
archivedAt: Date | null
|
|
_count: ProjektNotizCountAggregateOutputType | null
|
|
_min: ProjektNotizMinAggregateOutputType | null
|
|
_max: ProjektNotizMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetProjektNotizGroupByPayload<T extends ProjektNotizGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<ProjektNotizGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof ProjektNotizGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], ProjektNotizGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], ProjektNotizGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type ProjektNotizWhereInput = {
|
|
AND?: Prisma.ProjektNotizWhereInput | Prisma.ProjektNotizWhereInput[]
|
|
OR?: Prisma.ProjektNotizWhereInput[]
|
|
NOT?: Prisma.ProjektNotizWhereInput | Prisma.ProjektNotizWhereInput[]
|
|
id?: Prisma.StringFilter<"ProjektNotiz"> | string
|
|
tenantId?: Prisma.StringFilter<"ProjektNotiz"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"ProjektNotiz"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"ProjektNotiz"> | Date | string
|
|
projektId?: Prisma.StringFilter<"ProjektNotiz"> | string
|
|
autorUserId?: Prisma.StringNullableFilter<"ProjektNotiz"> | string | null
|
|
inhalt?: Prisma.StringFilter<"ProjektNotiz"> | string
|
|
sichtbarkeit?: Prisma.EnumProjektNotizSichtbarkeitFilter<"ProjektNotiz"> | $Enums.ProjektNotizSichtbarkeit
|
|
isDemoData?: Prisma.BoolFilter<"ProjektNotiz"> | boolean
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"ProjektNotiz"> | Date | string | null
|
|
}
|
|
|
|
export type ProjektNotizOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
projektId?: Prisma.SortOrder
|
|
autorUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
inhalt?: Prisma.SortOrder
|
|
sichtbarkeit?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
}
|
|
|
|
export type ProjektNotizWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.ProjektNotizWhereInput | Prisma.ProjektNotizWhereInput[]
|
|
OR?: Prisma.ProjektNotizWhereInput[]
|
|
NOT?: Prisma.ProjektNotizWhereInput | Prisma.ProjektNotizWhereInput[]
|
|
tenantId?: Prisma.StringFilter<"ProjektNotiz"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"ProjektNotiz"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"ProjektNotiz"> | Date | string
|
|
projektId?: Prisma.StringFilter<"ProjektNotiz"> | string
|
|
autorUserId?: Prisma.StringNullableFilter<"ProjektNotiz"> | string | null
|
|
inhalt?: Prisma.StringFilter<"ProjektNotiz"> | string
|
|
sichtbarkeit?: Prisma.EnumProjektNotizSichtbarkeitFilter<"ProjektNotiz"> | $Enums.ProjektNotizSichtbarkeit
|
|
isDemoData?: Prisma.BoolFilter<"ProjektNotiz"> | boolean
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"ProjektNotiz"> | Date | string | null
|
|
}, "id">
|
|
|
|
export type ProjektNotizOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
projektId?: Prisma.SortOrder
|
|
autorUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
inhalt?: Prisma.SortOrder
|
|
sichtbarkeit?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.ProjektNotizCountOrderByAggregateInput
|
|
_max?: Prisma.ProjektNotizMaxOrderByAggregateInput
|
|
_min?: Prisma.ProjektNotizMinOrderByAggregateInput
|
|
}
|
|
|
|
export type ProjektNotizScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.ProjektNotizScalarWhereWithAggregatesInput | Prisma.ProjektNotizScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.ProjektNotizScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.ProjektNotizScalarWhereWithAggregatesInput | Prisma.ProjektNotizScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"ProjektNotiz"> | string
|
|
tenantId?: Prisma.StringWithAggregatesFilter<"ProjektNotiz"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"ProjektNotiz"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ProjektNotiz"> | Date | string
|
|
projektId?: Prisma.StringWithAggregatesFilter<"ProjektNotiz"> | string
|
|
autorUserId?: Prisma.StringNullableWithAggregatesFilter<"ProjektNotiz"> | string | null
|
|
inhalt?: Prisma.StringWithAggregatesFilter<"ProjektNotiz"> | string
|
|
sichtbarkeit?: Prisma.EnumProjektNotizSichtbarkeitWithAggregatesFilter<"ProjektNotiz"> | $Enums.ProjektNotizSichtbarkeit
|
|
isDemoData?: Prisma.BoolWithAggregatesFilter<"ProjektNotiz"> | boolean
|
|
archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ProjektNotiz"> | Date | string | null
|
|
}
|
|
|
|
export type ProjektNotizCreateInput = {
|
|
id?: string
|
|
tenantId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
projektId: string
|
|
autorUserId?: string | null
|
|
inhalt: string
|
|
sichtbarkeit?: $Enums.ProjektNotizSichtbarkeit
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
}
|
|
|
|
export type ProjektNotizUncheckedCreateInput = {
|
|
id?: string
|
|
tenantId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
projektId: string
|
|
autorUserId?: string | null
|
|
inhalt: string
|
|
sichtbarkeit?: $Enums.ProjektNotizSichtbarkeit
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
}
|
|
|
|
export type ProjektNotizUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
projektId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
autorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
inhalt?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sichtbarkeit?: Prisma.EnumProjektNotizSichtbarkeitFieldUpdateOperationsInput | $Enums.ProjektNotizSichtbarkeit
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type ProjektNotizUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
projektId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
autorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
inhalt?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sichtbarkeit?: Prisma.EnumProjektNotizSichtbarkeitFieldUpdateOperationsInput | $Enums.ProjektNotizSichtbarkeit
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type ProjektNotizCreateManyInput = {
|
|
id?: string
|
|
tenantId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
projektId: string
|
|
autorUserId?: string | null
|
|
inhalt: string
|
|
sichtbarkeit?: $Enums.ProjektNotizSichtbarkeit
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
}
|
|
|
|
export type ProjektNotizUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
projektId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
autorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
inhalt?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sichtbarkeit?: Prisma.EnumProjektNotizSichtbarkeitFieldUpdateOperationsInput | $Enums.ProjektNotizSichtbarkeit
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type ProjektNotizUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
projektId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
autorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
inhalt?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sichtbarkeit?: Prisma.EnumProjektNotizSichtbarkeitFieldUpdateOperationsInput | $Enums.ProjektNotizSichtbarkeit
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type ProjektNotizCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
projektId?: Prisma.SortOrder
|
|
autorUserId?: Prisma.SortOrder
|
|
inhalt?: Prisma.SortOrder
|
|
sichtbarkeit?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ProjektNotizMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
projektId?: Prisma.SortOrder
|
|
autorUserId?: Prisma.SortOrder
|
|
inhalt?: Prisma.SortOrder
|
|
sichtbarkeit?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ProjektNotizMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
projektId?: Prisma.SortOrder
|
|
autorUserId?: Prisma.SortOrder
|
|
inhalt?: Prisma.SortOrder
|
|
sichtbarkeit?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type EnumProjektNotizSichtbarkeitFieldUpdateOperationsInput = {
|
|
set?: $Enums.ProjektNotizSichtbarkeit
|
|
}
|
|
|
|
|
|
|
|
export type ProjektNotizSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
projektId?: boolean
|
|
autorUserId?: boolean
|
|
inhalt?: boolean
|
|
sichtbarkeit?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: boolean
|
|
}, ExtArgs["result"]["projektNotiz"]>
|
|
|
|
export type ProjektNotizSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
projektId?: boolean
|
|
autorUserId?: boolean
|
|
inhalt?: boolean
|
|
sichtbarkeit?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: boolean
|
|
}, ExtArgs["result"]["projektNotiz"]>
|
|
|
|
export type ProjektNotizSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
projektId?: boolean
|
|
autorUserId?: boolean
|
|
inhalt?: boolean
|
|
sichtbarkeit?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: boolean
|
|
}, ExtArgs["result"]["projektNotiz"]>
|
|
|
|
export type ProjektNotizSelectScalar = {
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
projektId?: boolean
|
|
autorUserId?: boolean
|
|
inhalt?: boolean
|
|
sichtbarkeit?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: boolean
|
|
}
|
|
|
|
export type ProjektNotizOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "createdAt" | "updatedAt" | "projektId" | "autorUserId" | "inhalt" | "sichtbarkeit" | "isDemoData" | "archivedAt", ExtArgs["result"]["projektNotiz"]>
|
|
|
|
export type $ProjektNotizPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "ProjektNotiz"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
tenantId: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
projektId: string
|
|
autorUserId: string | null
|
|
inhalt: string
|
|
sichtbarkeit: $Enums.ProjektNotizSichtbarkeit
|
|
isDemoData: boolean
|
|
archivedAt: Date | null
|
|
}, ExtArgs["result"]["projektNotiz"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type ProjektNotizGetPayload<S extends boolean | null | undefined | ProjektNotizDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProjektNotizPayload, S>
|
|
|
|
export type ProjektNotizCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<ProjektNotizFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: ProjektNotizCountAggregateInputType | true
|
|
}
|
|
|
|
export interface ProjektNotizDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ProjektNotiz'], meta: { name: 'ProjektNotiz' } }
|
|
/**
|
|
* Find zero or one ProjektNotiz that matches the filter.
|
|
* @param {ProjektNotizFindUniqueArgs} args - Arguments to find a ProjektNotiz
|
|
* @example
|
|
* // Get one ProjektNotiz
|
|
* const projektNotiz = await prisma.projektNotiz.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends ProjektNotizFindUniqueArgs>(args: Prisma.SelectSubset<T, ProjektNotizFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProjektNotizClient<runtime.Types.Result.GetResult<Prisma.$ProjektNotizPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one ProjektNotiz that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {ProjektNotizFindUniqueOrThrowArgs} args - Arguments to find a ProjektNotiz
|
|
* @example
|
|
* // Get one ProjektNotiz
|
|
* const projektNotiz = await prisma.projektNotiz.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends ProjektNotizFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProjektNotizFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProjektNotizClient<runtime.Types.Result.GetResult<Prisma.$ProjektNotizPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first ProjektNotiz 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 {ProjektNotizFindFirstArgs} args - Arguments to find a ProjektNotiz
|
|
* @example
|
|
* // Get one ProjektNotiz
|
|
* const projektNotiz = await prisma.projektNotiz.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends ProjektNotizFindFirstArgs>(args?: Prisma.SelectSubset<T, ProjektNotizFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProjektNotizClient<runtime.Types.Result.GetResult<Prisma.$ProjektNotizPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first ProjektNotiz 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 {ProjektNotizFindFirstOrThrowArgs} args - Arguments to find a ProjektNotiz
|
|
* @example
|
|
* // Get one ProjektNotiz
|
|
* const projektNotiz = await prisma.projektNotiz.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends ProjektNotizFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProjektNotizFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProjektNotizClient<runtime.Types.Result.GetResult<Prisma.$ProjektNotizPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more ProjektNotizs 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 {ProjektNotizFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all ProjektNotizs
|
|
* const projektNotizs = await prisma.projektNotiz.findMany()
|
|
*
|
|
* // Get first 10 ProjektNotizs
|
|
* const projektNotizs = await prisma.projektNotiz.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const projektNotizWithIdOnly = await prisma.projektNotiz.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends ProjektNotizFindManyArgs>(args?: Prisma.SelectSubset<T, ProjektNotizFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjektNotizPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a ProjektNotiz.
|
|
* @param {ProjektNotizCreateArgs} args - Arguments to create a ProjektNotiz.
|
|
* @example
|
|
* // Create one ProjektNotiz
|
|
* const ProjektNotiz = await prisma.projektNotiz.create({
|
|
* data: {
|
|
* // ... data to create a ProjektNotiz
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends ProjektNotizCreateArgs>(args: Prisma.SelectSubset<T, ProjektNotizCreateArgs<ExtArgs>>): Prisma.Prisma__ProjektNotizClient<runtime.Types.Result.GetResult<Prisma.$ProjektNotizPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many ProjektNotizs.
|
|
* @param {ProjektNotizCreateManyArgs} args - Arguments to create many ProjektNotizs.
|
|
* @example
|
|
* // Create many ProjektNotizs
|
|
* const projektNotiz = await prisma.projektNotiz.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends ProjektNotizCreateManyArgs>(args?: Prisma.SelectSubset<T, ProjektNotizCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many ProjektNotizs and returns the data saved in the database.
|
|
* @param {ProjektNotizCreateManyAndReturnArgs} args - Arguments to create many ProjektNotizs.
|
|
* @example
|
|
* // Create many ProjektNotizs
|
|
* const projektNotiz = await prisma.projektNotiz.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many ProjektNotizs and only return the `id`
|
|
* const projektNotizWithIdOnly = await prisma.projektNotiz.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 ProjektNotizCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProjektNotizCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjektNotizPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a ProjektNotiz.
|
|
* @param {ProjektNotizDeleteArgs} args - Arguments to delete one ProjektNotiz.
|
|
* @example
|
|
* // Delete one ProjektNotiz
|
|
* const ProjektNotiz = await prisma.projektNotiz.delete({
|
|
* where: {
|
|
* // ... filter to delete one ProjektNotiz
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends ProjektNotizDeleteArgs>(args: Prisma.SelectSubset<T, ProjektNotizDeleteArgs<ExtArgs>>): Prisma.Prisma__ProjektNotizClient<runtime.Types.Result.GetResult<Prisma.$ProjektNotizPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one ProjektNotiz.
|
|
* @param {ProjektNotizUpdateArgs} args - Arguments to update one ProjektNotiz.
|
|
* @example
|
|
* // Update one ProjektNotiz
|
|
* const projektNotiz = await prisma.projektNotiz.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends ProjektNotizUpdateArgs>(args: Prisma.SelectSubset<T, ProjektNotizUpdateArgs<ExtArgs>>): Prisma.Prisma__ProjektNotizClient<runtime.Types.Result.GetResult<Prisma.$ProjektNotizPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more ProjektNotizs.
|
|
* @param {ProjektNotizDeleteManyArgs} args - Arguments to filter ProjektNotizs to delete.
|
|
* @example
|
|
* // Delete a few ProjektNotizs
|
|
* const { count } = await prisma.projektNotiz.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends ProjektNotizDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProjektNotizDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more ProjektNotizs.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ProjektNotizUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many ProjektNotizs
|
|
* const projektNotiz = await prisma.projektNotiz.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends ProjektNotizUpdateManyArgs>(args: Prisma.SelectSubset<T, ProjektNotizUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more ProjektNotizs and returns the data updated in the database.
|
|
* @param {ProjektNotizUpdateManyAndReturnArgs} args - Arguments to update many ProjektNotizs.
|
|
* @example
|
|
* // Update many ProjektNotizs
|
|
* const projektNotiz = await prisma.projektNotiz.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more ProjektNotizs and only return the `id`
|
|
* const projektNotizWithIdOnly = await prisma.projektNotiz.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 ProjektNotizUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProjektNotizUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjektNotizPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one ProjektNotiz.
|
|
* @param {ProjektNotizUpsertArgs} args - Arguments to update or create a ProjektNotiz.
|
|
* @example
|
|
* // Update or create a ProjektNotiz
|
|
* const projektNotiz = await prisma.projektNotiz.upsert({
|
|
* create: {
|
|
* // ... data to create a ProjektNotiz
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the ProjektNotiz we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends ProjektNotizUpsertArgs>(args: Prisma.SelectSubset<T, ProjektNotizUpsertArgs<ExtArgs>>): Prisma.Prisma__ProjektNotizClient<runtime.Types.Result.GetResult<Prisma.$ProjektNotizPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of ProjektNotizs.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ProjektNotizCountArgs} args - Arguments to filter ProjektNotizs to count.
|
|
* @example
|
|
* // Count the number of ProjektNotizs
|
|
* const count = await prisma.projektNotiz.count({
|
|
* where: {
|
|
* // ... the filter for the ProjektNotizs we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends ProjektNotizCountArgs>(
|
|
args?: Prisma.Subset<T, ProjektNotizCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], ProjektNotizCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a ProjektNotiz.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ProjektNotizAggregateArgs} 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 ProjektNotizAggregateArgs>(args: Prisma.Subset<T, ProjektNotizAggregateArgs>): Prisma.PrismaPromise<GetProjektNotizAggregateType<T>>
|
|
|
|
/**
|
|
* Group by ProjektNotiz.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ProjektNotizGroupByArgs} 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 ProjektNotizGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: ProjektNotizGroupByArgs['orderBy'] }
|
|
: { orderBy?: ProjektNotizGroupByArgs['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, ProjektNotizGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProjektNotizGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the ProjektNotiz model
|
|
*/
|
|
readonly fields: ProjektNotizFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for ProjektNotiz.
|
|
* 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__ProjektNotizClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the ProjektNotiz model
|
|
*/
|
|
export interface ProjektNotizFieldRefs {
|
|
readonly id: Prisma.FieldRef<"ProjektNotiz", 'String'>
|
|
readonly tenantId: Prisma.FieldRef<"ProjektNotiz", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"ProjektNotiz", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"ProjektNotiz", 'DateTime'>
|
|
readonly projektId: Prisma.FieldRef<"ProjektNotiz", 'String'>
|
|
readonly autorUserId: Prisma.FieldRef<"ProjektNotiz", 'String'>
|
|
readonly inhalt: Prisma.FieldRef<"ProjektNotiz", 'String'>
|
|
readonly sichtbarkeit: Prisma.FieldRef<"ProjektNotiz", 'ProjektNotizSichtbarkeit'>
|
|
readonly isDemoData: Prisma.FieldRef<"ProjektNotiz", 'Boolean'>
|
|
readonly archivedAt: Prisma.FieldRef<"ProjektNotiz", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* ProjektNotiz findUnique
|
|
*/
|
|
export type ProjektNotizFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektNotiz
|
|
*/
|
|
select?: Prisma.ProjektNotizSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektNotiz
|
|
*/
|
|
omit?: Prisma.ProjektNotizOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which ProjektNotiz to fetch.
|
|
*/
|
|
where: Prisma.ProjektNotizWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ProjektNotiz findUniqueOrThrow
|
|
*/
|
|
export type ProjektNotizFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektNotiz
|
|
*/
|
|
select?: Prisma.ProjektNotizSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektNotiz
|
|
*/
|
|
omit?: Prisma.ProjektNotizOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which ProjektNotiz to fetch.
|
|
*/
|
|
where: Prisma.ProjektNotizWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ProjektNotiz findFirst
|
|
*/
|
|
export type ProjektNotizFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektNotiz
|
|
*/
|
|
select?: Prisma.ProjektNotizSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektNotiz
|
|
*/
|
|
omit?: Prisma.ProjektNotizOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which ProjektNotiz to fetch.
|
|
*/
|
|
where?: Prisma.ProjektNotizWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ProjektNotizs to fetch.
|
|
*/
|
|
orderBy?: Prisma.ProjektNotizOrderByWithRelationInput | Prisma.ProjektNotizOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for ProjektNotizs.
|
|
*/
|
|
cursor?: Prisma.ProjektNotizWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ProjektNotizs 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` ProjektNotizs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of ProjektNotizs.
|
|
*/
|
|
distinct?: Prisma.ProjektNotizScalarFieldEnum | Prisma.ProjektNotizScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* ProjektNotiz findFirstOrThrow
|
|
*/
|
|
export type ProjektNotizFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektNotiz
|
|
*/
|
|
select?: Prisma.ProjektNotizSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektNotiz
|
|
*/
|
|
omit?: Prisma.ProjektNotizOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which ProjektNotiz to fetch.
|
|
*/
|
|
where?: Prisma.ProjektNotizWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ProjektNotizs to fetch.
|
|
*/
|
|
orderBy?: Prisma.ProjektNotizOrderByWithRelationInput | Prisma.ProjektNotizOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for ProjektNotizs.
|
|
*/
|
|
cursor?: Prisma.ProjektNotizWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ProjektNotizs 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` ProjektNotizs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of ProjektNotizs.
|
|
*/
|
|
distinct?: Prisma.ProjektNotizScalarFieldEnum | Prisma.ProjektNotizScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* ProjektNotiz findMany
|
|
*/
|
|
export type ProjektNotizFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektNotiz
|
|
*/
|
|
select?: Prisma.ProjektNotizSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektNotiz
|
|
*/
|
|
omit?: Prisma.ProjektNotizOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which ProjektNotizs to fetch.
|
|
*/
|
|
where?: Prisma.ProjektNotizWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ProjektNotizs to fetch.
|
|
*/
|
|
orderBy?: Prisma.ProjektNotizOrderByWithRelationInput | Prisma.ProjektNotizOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing ProjektNotizs.
|
|
*/
|
|
cursor?: Prisma.ProjektNotizWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ProjektNotizs 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` ProjektNotizs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of ProjektNotizs.
|
|
*/
|
|
distinct?: Prisma.ProjektNotizScalarFieldEnum | Prisma.ProjektNotizScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* ProjektNotiz create
|
|
*/
|
|
export type ProjektNotizCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektNotiz
|
|
*/
|
|
select?: Prisma.ProjektNotizSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektNotiz
|
|
*/
|
|
omit?: Prisma.ProjektNotizOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a ProjektNotiz.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ProjektNotizCreateInput, Prisma.ProjektNotizUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* ProjektNotiz createMany
|
|
*/
|
|
export type ProjektNotizCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many ProjektNotizs.
|
|
*/
|
|
data: Prisma.ProjektNotizCreateManyInput | Prisma.ProjektNotizCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* ProjektNotiz createManyAndReturn
|
|
*/
|
|
export type ProjektNotizCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektNotiz
|
|
*/
|
|
select?: Prisma.ProjektNotizSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektNotiz
|
|
*/
|
|
omit?: Prisma.ProjektNotizOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many ProjektNotizs.
|
|
*/
|
|
data: Prisma.ProjektNotizCreateManyInput | Prisma.ProjektNotizCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* ProjektNotiz update
|
|
*/
|
|
export type ProjektNotizUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektNotiz
|
|
*/
|
|
select?: Prisma.ProjektNotizSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektNotiz
|
|
*/
|
|
omit?: Prisma.ProjektNotizOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a ProjektNotiz.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ProjektNotizUpdateInput, Prisma.ProjektNotizUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which ProjektNotiz to update.
|
|
*/
|
|
where: Prisma.ProjektNotizWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ProjektNotiz updateMany
|
|
*/
|
|
export type ProjektNotizUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update ProjektNotizs.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ProjektNotizUpdateManyMutationInput, Prisma.ProjektNotizUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which ProjektNotizs to update
|
|
*/
|
|
where?: Prisma.ProjektNotizWhereInput
|
|
/**
|
|
* Limit how many ProjektNotizs to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* ProjektNotiz updateManyAndReturn
|
|
*/
|
|
export type ProjektNotizUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektNotiz
|
|
*/
|
|
select?: Prisma.ProjektNotizSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektNotiz
|
|
*/
|
|
omit?: Prisma.ProjektNotizOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update ProjektNotizs.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ProjektNotizUpdateManyMutationInput, Prisma.ProjektNotizUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which ProjektNotizs to update
|
|
*/
|
|
where?: Prisma.ProjektNotizWhereInput
|
|
/**
|
|
* Limit how many ProjektNotizs to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* ProjektNotiz upsert
|
|
*/
|
|
export type ProjektNotizUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektNotiz
|
|
*/
|
|
select?: Prisma.ProjektNotizSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektNotiz
|
|
*/
|
|
omit?: Prisma.ProjektNotizOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the ProjektNotiz to update in case it exists.
|
|
*/
|
|
where: Prisma.ProjektNotizWhereUniqueInput
|
|
/**
|
|
* In case the ProjektNotiz found by the `where` argument doesn't exist, create a new ProjektNotiz with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.ProjektNotizCreateInput, Prisma.ProjektNotizUncheckedCreateInput>
|
|
/**
|
|
* In case the ProjektNotiz was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.ProjektNotizUpdateInput, Prisma.ProjektNotizUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* ProjektNotiz delete
|
|
*/
|
|
export type ProjektNotizDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektNotiz
|
|
*/
|
|
select?: Prisma.ProjektNotizSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektNotiz
|
|
*/
|
|
omit?: Prisma.ProjektNotizOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which ProjektNotiz to delete.
|
|
*/
|
|
where: Prisma.ProjektNotizWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ProjektNotiz deleteMany
|
|
*/
|
|
export type ProjektNotizDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which ProjektNotizs to delete
|
|
*/
|
|
where?: Prisma.ProjektNotizWhereInput
|
|
/**
|
|
* Limit how many ProjektNotizs to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* ProjektNotiz without action
|
|
*/
|
|
export type ProjektNotizDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProjektNotiz
|
|
*/
|
|
select?: Prisma.ProjektNotizSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProjektNotiz
|
|
*/
|
|
omit?: Prisma.ProjektNotizOmit<ExtArgs> | null
|
|
}
|