/* !!! 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 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 = { /** * 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 = { [P in keyof T & keyof AggregateProjektNotiz]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type ProjektNotizGroupByArgs = { 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 = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof ProjektNotizGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > 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 = 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 = 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 = 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 = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "createdAt" | "updatedAt" | "projektId" | "autorUserId" | "inhalt" | "sichtbarkeit" | "isDemoData" | "archivedAt", ExtArgs["result"]["projektNotiz"]> export type $ProjektNotizPayload = { 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 = runtime.Types.Result.GetResult export type ProjektNotizCountArgs = Omit & { select?: ProjektNotizCountAggregateInputType | true } export interface ProjektNotizDelegate { [K: symbol]: { types: Prisma.TypeMap['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(args: Prisma.SelectSubset>): Prisma.Prisma__ProjektNotizClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__ProjektNotizClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__ProjektNotizClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__ProjektNotizClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__ProjektNotizClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__ProjektNotizClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__ProjektNotizClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__ProjektNotizClient, 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( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * 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>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: ProjektNotizGroupByArgs['orderBy'] } : { orderBy?: ProjektNotizGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? 'orderBy' extends Prisma.Keys ? 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 ? 'orderBy' extends Prisma.Keys ? 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 & InputErrors): {} extends InputErrors ? GetProjektNotizGroupByPayload : Prisma.PrismaPromise /** * 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 extends Prisma.PrismaPromise { 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(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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 } /** * 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 = { /** * Select specific fields to fetch from the ProjektNotiz */ select?: Prisma.ProjektNotizSelect | null /** * Omit specific fields from the ProjektNotiz */ omit?: Prisma.ProjektNotizOmit | null /** * Filter, which ProjektNotiz to fetch. */ where: Prisma.ProjektNotizWhereUniqueInput } /** * ProjektNotiz findUniqueOrThrow */ export type ProjektNotizFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the ProjektNotiz */ select?: Prisma.ProjektNotizSelect | null /** * Omit specific fields from the ProjektNotiz */ omit?: Prisma.ProjektNotizOmit | null /** * Filter, which ProjektNotiz to fetch. */ where: Prisma.ProjektNotizWhereUniqueInput } /** * ProjektNotiz findFirst */ export type ProjektNotizFindFirstArgs = { /** * Select specific fields to fetch from the ProjektNotiz */ select?: Prisma.ProjektNotizSelect | null /** * Omit specific fields from the ProjektNotiz */ omit?: Prisma.ProjektNotizOmit | 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 = { /** * Select specific fields to fetch from the ProjektNotiz */ select?: Prisma.ProjektNotizSelect | null /** * Omit specific fields from the ProjektNotiz */ omit?: Prisma.ProjektNotizOmit | 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 = { /** * Select specific fields to fetch from the ProjektNotiz */ select?: Prisma.ProjektNotizSelect | null /** * Omit specific fields from the ProjektNotiz */ omit?: Prisma.ProjektNotizOmit | 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 = { /** * Select specific fields to fetch from the ProjektNotiz */ select?: Prisma.ProjektNotizSelect | null /** * Omit specific fields from the ProjektNotiz */ omit?: Prisma.ProjektNotizOmit | null /** * The data needed to create a ProjektNotiz. */ data: Prisma.XOR } /** * ProjektNotiz createMany */ export type ProjektNotizCreateManyArgs = { /** * The data used to create many ProjektNotizs. */ data: Prisma.ProjektNotizCreateManyInput | Prisma.ProjektNotizCreateManyInput[] skipDuplicates?: boolean } /** * ProjektNotiz createManyAndReturn */ export type ProjektNotizCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the ProjektNotiz */ select?: Prisma.ProjektNotizSelectCreateManyAndReturn | null /** * Omit specific fields from the ProjektNotiz */ omit?: Prisma.ProjektNotizOmit | null /** * The data used to create many ProjektNotizs. */ data: Prisma.ProjektNotizCreateManyInput | Prisma.ProjektNotizCreateManyInput[] skipDuplicates?: boolean } /** * ProjektNotiz update */ export type ProjektNotizUpdateArgs = { /** * Select specific fields to fetch from the ProjektNotiz */ select?: Prisma.ProjektNotizSelect | null /** * Omit specific fields from the ProjektNotiz */ omit?: Prisma.ProjektNotizOmit | null /** * The data needed to update a ProjektNotiz. */ data: Prisma.XOR /** * Choose, which ProjektNotiz to update. */ where: Prisma.ProjektNotizWhereUniqueInput } /** * ProjektNotiz updateMany */ export type ProjektNotizUpdateManyArgs = { /** * The data used to update ProjektNotizs. */ data: Prisma.XOR /** * Filter which ProjektNotizs to update */ where?: Prisma.ProjektNotizWhereInput /** * Limit how many ProjektNotizs to update. */ limit?: number } /** * ProjektNotiz updateManyAndReturn */ export type ProjektNotizUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the ProjektNotiz */ select?: Prisma.ProjektNotizSelectUpdateManyAndReturn | null /** * Omit specific fields from the ProjektNotiz */ omit?: Prisma.ProjektNotizOmit | null /** * The data used to update ProjektNotizs. */ data: Prisma.XOR /** * Filter which ProjektNotizs to update */ where?: Prisma.ProjektNotizWhereInput /** * Limit how many ProjektNotizs to update. */ limit?: number } /** * ProjektNotiz upsert */ export type ProjektNotizUpsertArgs = { /** * Select specific fields to fetch from the ProjektNotiz */ select?: Prisma.ProjektNotizSelect | null /** * Omit specific fields from the ProjektNotiz */ omit?: Prisma.ProjektNotizOmit | 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 /** * In case the ProjektNotiz was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * ProjektNotiz delete */ export type ProjektNotizDeleteArgs = { /** * Select specific fields to fetch from the ProjektNotiz */ select?: Prisma.ProjektNotizSelect | null /** * Omit specific fields from the ProjektNotiz */ omit?: Prisma.ProjektNotizOmit | null /** * Filter which ProjektNotiz to delete. */ where: Prisma.ProjektNotizWhereUniqueInput } /** * ProjektNotiz deleteMany */ export type ProjektNotizDeleteManyArgs = { /** * Filter which ProjektNotizs to delete */ where?: Prisma.ProjektNotizWhereInput /** * Limit how many ProjektNotizs to delete. */ limit?: number } /** * ProjektNotiz without action */ export type ProjektNotizDefaultArgs = { /** * Select specific fields to fetch from the ProjektNotiz */ select?: Prisma.ProjektNotizSelect | null /** * Omit specific fields from the ProjektNotiz */ omit?: Prisma.ProjektNotizOmit | null }