/** * Client **/ import * as runtime from '@prisma/client/runtime/library.js'; import $Types = runtime.Types // general types import $Public = runtime.Types.Public import $Utils = runtime.Types.Utils import $Extensions = runtime.Types.Extensions import $Result = runtime.Types.Result export type PrismaPromise = $Public.PrismaPromise /** * Model Board * */ export type Board = $Result.DefaultSelection /** * Model Column * */ export type Column = $Result.DefaultSelection /** * Model Ticket * */ export type Ticket = $Result.DefaultSelection /** * Model ActivityLog * */ export type ActivityLog = $Result.DefaultSelection /** * Enums */ export namespace $Enums { export const Priority: { LOW: 'LOW', MEDIUM: 'MEDIUM', HIGH: 'HIGH', URGENT: 'URGENT' }; export type Priority = (typeof Priority)[keyof typeof Priority] } export type Priority = $Enums.Priority export const Priority: typeof $Enums.Priority /** * ## Prisma Client ʲˢ * * Type-safe database client for TypeScript & Node.js * @example * ``` * const prisma = new PrismaClient() * // Fetch zero or more Boards * const boards = await prisma.board.findMany() * ``` * * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client). */ export class PrismaClient< ClientOptions extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions, U = 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array ? Prisma.GetEvents : never : never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs > { [K: symbol]: { types: Prisma.TypeMap['other'] } /** * ## Prisma Client ʲˢ * * Type-safe database client for TypeScript & Node.js * @example * ``` * const prisma = new PrismaClient() * // Fetch zero or more Boards * const boards = await prisma.board.findMany() * ``` * * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client). */ constructor(optionsArg ?: Prisma.Subset); $on(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): void; /** * Connect with the database */ $connect(): $Utils.JsPromise; /** * Disconnect from the database */ $disconnect(): $Utils.JsPromise; /** * Add a middleware * @deprecated since 4.16.0. For new code, prefer client extensions instead. * @see https://pris.ly/d/extensions */ $use(cb: Prisma.Middleware): void /** * Executes a prepared raw query and returns the number of affected rows. * @example * ``` * const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};` * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $executeRaw(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise; /** * Executes a raw query and returns the number of affected rows. * Susceptible to SQL injections, see documentation. * @example * ``` * const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com') * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $executeRawUnsafe(query: string, ...values: any[]): Prisma.PrismaPromise; /** * Performs a prepared raw query and returns the `SELECT` data. * @example * ``` * const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};` * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $queryRaw(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise; /** * Performs a raw query and returns the `SELECT` data. * Susceptible to SQL injections, see documentation. * @example * ``` * const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com') * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $queryRawUnsafe(query: string, ...values: any[]): Prisma.PrismaPromise; /** * Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole. * @example * ``` * const [george, bob, alice] = await prisma.$transaction([ * prisma.user.create({ data: { name: 'George' } }), * prisma.user.create({ data: { name: 'Bob' } }), * prisma.user.create({ data: { name: 'Alice' } }), * ]) * ``` * * Read more in our [docs](https://www.prisma.io/docs/concepts/components/prisma-client/transactions). */ $transaction

[]>(arg: [...P], options?: { isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise> $transaction(fn: (prisma: Omit) => $Utils.JsPromise, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise $extends: $Extensions.ExtendsHook<"extends", Prisma.TypeMapCb, ExtArgs> /** * `prisma.board`: Exposes CRUD operations for the **Board** model. * Example usage: * ```ts * // Fetch zero or more Boards * const boards = await prisma.board.findMany() * ``` */ get board(): Prisma.BoardDelegate; /** * `prisma.column`: Exposes CRUD operations for the **Column** model. * Example usage: * ```ts * // Fetch zero or more Columns * const columns = await prisma.column.findMany() * ``` */ get column(): Prisma.ColumnDelegate; /** * `prisma.ticket`: Exposes CRUD operations for the **Ticket** model. * Example usage: * ```ts * // Fetch zero or more Tickets * const tickets = await prisma.ticket.findMany() * ``` */ get ticket(): Prisma.TicketDelegate; /** * `prisma.activityLog`: Exposes CRUD operations for the **ActivityLog** model. * Example usage: * ```ts * // Fetch zero or more ActivityLogs * const activityLogs = await prisma.activityLog.findMany() * ``` */ get activityLog(): Prisma.ActivityLogDelegate; } export namespace Prisma { export import DMMF = runtime.DMMF export type PrismaPromise = $Public.PrismaPromise /** * Validator */ export import validator = runtime.Public.validator /** * Prisma Errors */ export import PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError export import PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError export import PrismaClientRustPanicError = runtime.PrismaClientRustPanicError export import PrismaClientInitializationError = runtime.PrismaClientInitializationError export import PrismaClientValidationError = runtime.PrismaClientValidationError export import NotFoundError = runtime.NotFoundError /** * Re-export of sql-template-tag */ export import sql = runtime.sqltag export import empty = runtime.empty export import join = runtime.join export import raw = runtime.raw export import Sql = runtime.Sql /** * Decimal.js */ export import Decimal = runtime.Decimal export type DecimalJsLike = runtime.DecimalJsLike /** * Metrics */ export type Metrics = runtime.Metrics export type Metric = runtime.Metric export type MetricHistogram = runtime.MetricHistogram export type MetricHistogramBucket = runtime.MetricHistogramBucket /** * Extensions */ export import Extension = $Extensions.UserArgs export import getExtensionContext = runtime.Extensions.getExtensionContext export import Args = $Public.Args export import Payload = $Public.Payload export import Result = $Public.Result export import Exact = $Public.Exact /** * Prisma Client JS version: 5.22.0 * Query Engine version: 605197351a3c8bdd595af2d2a9bc3025bca48ea2 */ export type PrismaVersion = { client: string } export const prismaVersion: PrismaVersion /** * Utility Types */ export import JsonObject = runtime.JsonObject export import JsonArray = runtime.JsonArray export import JsonValue = runtime.JsonValue export import InputJsonObject = runtime.InputJsonObject export import InputJsonArray = runtime.InputJsonArray export import InputJsonValue = runtime.InputJsonValue /** * Types of the values used to represent different kinds of `null` values when working with JSON fields. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ namespace NullTypes { /** * Type of `Prisma.DbNull`. * * You cannot use other instances of this class. Please use the `Prisma.DbNull` value. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ class DbNull { private DbNull: never private constructor() } /** * Type of `Prisma.JsonNull`. * * You cannot use other instances of this class. Please use the `Prisma.JsonNull` value. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ class JsonNull { private JsonNull: never private constructor() } /** * Type of `Prisma.AnyNull`. * * You cannot use other instances of this class. Please use the `Prisma.AnyNull` value. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ class AnyNull { private AnyNull: never private constructor() } } /** * Helper for filtering JSON entries that have `null` on the database (empty on the db) * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ export const DbNull: NullTypes.DbNull /** * Helper for filtering JSON entries that have JSON `null` values (not empty on the db) * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ export const JsonNull: NullTypes.JsonNull /** * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull` * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ export const AnyNull: NullTypes.AnyNull type SelectAndInclude = { select: any include: any } type SelectAndOmit = { select: any omit: any } /** * Get the type of the value, that the Promise holds. */ export type PromiseType> = T extends PromiseLike ? U : T; /** * Get the return type of a function which returns a Promise. */ export type PromiseReturnType $Utils.JsPromise> = PromiseType> /** * From T, pick a set of properties whose keys are in the union K */ type Prisma__Pick = { [P in K]: T[P]; }; export type Enumerable = T | Array; export type RequiredKeys = { [K in keyof T]-?: {} extends Prisma__Pick ? never : K }[keyof T] export type TruthyKeys = keyof { [K in keyof T as T[K] extends false | undefined | null ? never : K]: K } export type TrueKeys = TruthyKeys>> /** * Subset * @desc From `T` pick properties that exist in `U`. Simple version of Intersection */ export type Subset = { [key in keyof T]: key extends keyof U ? T[key] : never; }; /** * SelectSubset * @desc From `T` pick properties that exist in `U`. Simple version of Intersection. * Additionally, it validates, if both select and include are present. If the case, it errors. */ export type SelectSubset = { [key in keyof T]: key extends keyof U ? T[key] : never } & (T extends SelectAndInclude ? 'Please either choose `select` or `include`.' : T extends SelectAndOmit ? 'Please either choose `select` or `omit`.' : {}) /** * Subset + Intersection * @desc From `T` pick properties that exist in `U` and intersect `K` */ export type SubsetIntersection = { [key in keyof T]: key extends keyof U ? T[key] : never } & K type Without = { [P in Exclude]?: never }; /** * XOR is needed to have a real mutually exclusive union type * https://stackoverflow.com/questions/42123407/does-typescript-support-mutually-exclusive-types */ type XOR = T extends object ? U extends object ? (Without & U) | (Without & T) : U : T /** * Is T a Record? */ type IsObject = T extends Array ? False : T extends Date ? False : T extends Uint8Array ? False : T extends BigInt ? False : T extends object ? True : False /** * If it's T[], return T */ export type UnEnumerate = T extends Array ? U : T /** * From ts-toolbelt */ type __Either = Omit & { // Merge all but K [P in K]: Prisma__Pick // With K possibilities }[K] type EitherStrict = Strict<__Either> type EitherLoose = ComputeRaw<__Either> type _Either< O extends object, K extends Key, strict extends Boolean > = { 1: EitherStrict 0: EitherLoose }[strict] type Either< O extends object, K extends Key, strict extends Boolean = 1 > = O extends unknown ? _Either : never export type Union = any type PatchUndefined = { [K in keyof O]: O[K] extends undefined ? At : O[K] } & {} /** Helper Types for "Merge" **/ export type IntersectOf = ( U extends unknown ? (k: U) => void : never ) extends (k: infer I) => void ? I : never export type Overwrite = { [K in keyof O]: K extends keyof O1 ? O1[K] : O[K]; } & {}; type _Merge = IntersectOf; }>>; type Key = string | number | symbol; type AtBasic = K extends keyof O ? O[K] : never; type AtStrict = O[K & keyof O]; type AtLoose = O extends unknown ? AtStrict : never; export type At = { 1: AtStrict; 0: AtLoose; }[strict]; export type ComputeRaw = A extends Function ? A : { [K in keyof A]: A[K]; } & {}; export type OptionalFlat = { [K in keyof O]?: O[K]; } & {}; type _Record = { [P in K]: T; }; // cause typescript not to expand types and preserve names type NoExpand = T extends unknown ? T : never; // this type assumes the passed object is entirely optional type AtLeast = NoExpand< O extends unknown ? | (K extends keyof O ? { [P in K]: O[P] } & O : O) | {[P in keyof O as P extends K ? K : never]-?: O[P]} & O : never>; type _Strict = U extends unknown ? U & OptionalFlat<_Record, keyof U>, never>> : never; export type Strict = ComputeRaw<_Strict>; /** End Helper Types for "Merge" **/ export type Merge = ComputeRaw<_Merge>>; /** A [[Boolean]] */ export type Boolean = True | False // /** // 1 // */ export type True = 1 /** 0 */ export type False = 0 export type Not = { 0: 1 1: 0 }[B] export type Extends = [A1] extends [never] ? 0 // anything `never` is false : A1 extends A2 ? 1 : 0 export type Has = Not< Extends, U1> > export type Or = { 0: { 0: 0 1: 1 } 1: { 0: 1 1: 1 } }[B1][B2] export type Keys = U extends unknown ? keyof U : never type Cast = A extends B ? A : B; export const type: unique symbol; /** * Used by group by */ export type GetScalarType = O extends object ? { [P in keyof T]: P extends keyof O ? O[P] : never } : never type FieldPaths< T, U = Omit > = IsObject extends True ? U : T type GetHavingFields = { [K in keyof T]: Or< Or, Extends<'AND', K>>, Extends<'NOT', K> > extends True ? // infer is only needed to not hit TS limit // based on the brilliant idea of Pierre-Antoine Mills // https://github.com/microsoft/TypeScript/issues/30188#issuecomment-478938437 T[K] extends infer TK ? GetHavingFields extends object ? Merge> : never> : never : {} extends FieldPaths ? never : K }[keyof T] /** * Convert tuple to union */ type _TupleToUnion = T extends (infer E)[] ? E : never type TupleToUnion = _TupleToUnion type MaybeTupleToUnion = T extends any[] ? TupleToUnion : T /** * Like `Pick`, but additionally can also accept an array of keys */ type PickEnumerable | keyof T> = Prisma__Pick> /** * Exclude all keys with underscores */ type ExcludeUnderscoreKeys = T extends `_${string}` ? never : T export type FieldRef = runtime.FieldRef type FieldRefInputType = Model extends never ? never : FieldRef export const ModelName: { Board: 'Board', Column: 'Column', Ticket: 'Ticket', ActivityLog: 'ActivityLog' }; export type ModelName = (typeof ModelName)[keyof typeof ModelName] export type Datasources = { db?: Datasource } interface TypeMapCb extends $Utils.Fn<{extArgs: $Extensions.InternalArgs, clientOptions: PrismaClientOptions }, $Utils.Record> { returns: Prisma.TypeMap } export type TypeMap = { meta: { modelProps: "board" | "column" | "ticket" | "activityLog" txIsolationLevel: Prisma.TransactionIsolationLevel } model: { Board: { payload: Prisma.$BoardPayload fields: Prisma.BoardFieldRefs operations: { findUnique: { args: Prisma.BoardFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.BoardFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.BoardFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.BoardFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.BoardFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.BoardCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.BoardCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.BoardCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.BoardDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.BoardUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.BoardDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.BoardUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.BoardUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.BoardAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.BoardGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.BoardCountArgs result: $Utils.Optional | number } } } Column: { payload: Prisma.$ColumnPayload fields: Prisma.ColumnFieldRefs operations: { findUnique: { args: Prisma.ColumnFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.ColumnFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.ColumnFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.ColumnFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.ColumnFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.ColumnCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.ColumnCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.ColumnCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.ColumnDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.ColumnUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.ColumnDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.ColumnUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.ColumnUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.ColumnAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.ColumnGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.ColumnCountArgs result: $Utils.Optional | number } } } Ticket: { payload: Prisma.$TicketPayload fields: Prisma.TicketFieldRefs operations: { findUnique: { args: Prisma.TicketFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.TicketFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.TicketFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.TicketFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.TicketFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.TicketCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.TicketCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.TicketCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.TicketDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.TicketUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.TicketDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.TicketUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.TicketUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.TicketAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.TicketGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.TicketCountArgs result: $Utils.Optional | number } } } ActivityLog: { payload: Prisma.$ActivityLogPayload fields: Prisma.ActivityLogFieldRefs operations: { findUnique: { args: Prisma.ActivityLogFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.ActivityLogFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.ActivityLogFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.ActivityLogFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.ActivityLogFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.ActivityLogCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.ActivityLogCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.ActivityLogCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.ActivityLogDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.ActivityLogUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.ActivityLogDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.ActivityLogUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.ActivityLogUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.ActivityLogAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.ActivityLogGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.ActivityLogCountArgs result: $Utils.Optional | number } } } } } & { other: { payload: any operations: { $executeRaw: { args: [query: TemplateStringsArray | Prisma.Sql, ...values: any[]], result: any } $executeRawUnsafe: { args: [query: string, ...values: any[]], result: any } $queryRaw: { args: [query: TemplateStringsArray | Prisma.Sql, ...values: any[]], result: any } $queryRawUnsafe: { args: [query: string, ...values: any[]], result: any } } } } export const defineExtension: $Extensions.ExtendsHook<"define", Prisma.TypeMapCb, $Extensions.DefaultArgs> export type DefaultPrismaClient = PrismaClient export type ErrorFormat = 'pretty' | 'colorless' | 'minimal' export interface PrismaClientOptions { /** * Overwrites the datasource url from your schema.prisma file */ datasources?: Datasources /** * Overwrites the datasource url from your schema.prisma file */ datasourceUrl?: string /** * @default "colorless" */ errorFormat?: ErrorFormat /** * @example * ``` * // Defaults to stdout * log: ['query', 'info', 'warn', 'error'] * * // Emit as events * log: [ * { emit: 'stdout', level: 'query' }, * { emit: 'stdout', level: 'info' }, * { emit: 'stdout', level: 'warn' } * { emit: 'stdout', level: 'error' } * ] * ``` * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/logging#the-log-option). */ log?: (LogLevel | LogDefinition)[] /** * The default values for transactionOptions * maxWait ?= 2000 * timeout ?= 5000 */ transactionOptions?: { maxWait?: number timeout?: number isolationLevel?: Prisma.TransactionIsolationLevel } } /* Types for Logging */ export type LogLevel = 'info' | 'query' | 'warn' | 'error' export type LogDefinition = { level: LogLevel emit: 'stdout' | 'event' } export type GetLogType = T extends LogDefinition ? T['emit'] extends 'event' ? T['level'] : never : never export type GetEvents = T extends Array ? GetLogType | GetLogType | GetLogType | GetLogType : never export type QueryEvent = { timestamp: Date query: string params: string duration: number target: string } export type LogEvent = { timestamp: Date message: string target: string } /* End Types for Logging */ export type PrismaAction = | 'findUnique' | 'findUniqueOrThrow' | 'findMany' | 'findFirst' | 'findFirstOrThrow' | 'create' | 'createMany' | 'createManyAndReturn' | 'update' | 'updateMany' | 'upsert' | 'delete' | 'deleteMany' | 'executeRaw' | 'queryRaw' | 'aggregate' | 'count' | 'runCommandRaw' | 'findRaw' | 'groupBy' /** * These options are being passed into the middleware as "params" */ export type MiddlewareParams = { model?: ModelName action: PrismaAction args: any dataPath: string[] runInTransaction: boolean } /** * The `T` type makes sure, that the `return proceed` is not forgotten in the middleware implementation */ export type Middleware = ( params: MiddlewareParams, next: (params: MiddlewareParams) => $Utils.JsPromise, ) => $Utils.JsPromise // tested in getLogLevel.test.ts export function getLogLevel(log: Array): LogLevel | undefined; /** * `PrismaClient` proxy available in interactive transactions. */ export type TransactionClient = Omit export type Datasource = { url?: string } /** * Count Types */ /** * Count Type BoardCountOutputType */ export type BoardCountOutputType = { columns: number activityLogs: number } export type BoardCountOutputTypeSelect = { columns?: boolean | BoardCountOutputTypeCountColumnsArgs activityLogs?: boolean | BoardCountOutputTypeCountActivityLogsArgs } // Custom InputTypes /** * BoardCountOutputType without action */ export type BoardCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the BoardCountOutputType */ select?: BoardCountOutputTypeSelect | null } /** * BoardCountOutputType without action */ export type BoardCountOutputTypeCountColumnsArgs = { where?: ColumnWhereInput } /** * BoardCountOutputType without action */ export type BoardCountOutputTypeCountActivityLogsArgs = { where?: ActivityLogWhereInput } /** * Count Type ColumnCountOutputType */ export type ColumnCountOutputType = { tickets: number } export type ColumnCountOutputTypeSelect = { tickets?: boolean | ColumnCountOutputTypeCountTicketsArgs } // Custom InputTypes /** * ColumnCountOutputType without action */ export type ColumnCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the ColumnCountOutputType */ select?: ColumnCountOutputTypeSelect | null } /** * ColumnCountOutputType without action */ export type ColumnCountOutputTypeCountTicketsArgs = { where?: TicketWhereInput } /** * Count Type TicketCountOutputType */ export type TicketCountOutputType = { activityLogs: number } export type TicketCountOutputTypeSelect = { activityLogs?: boolean | TicketCountOutputTypeCountActivityLogsArgs } // Custom InputTypes /** * TicketCountOutputType without action */ export type TicketCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the TicketCountOutputType */ select?: TicketCountOutputTypeSelect | null } /** * TicketCountOutputType without action */ export type TicketCountOutputTypeCountActivityLogsArgs = { where?: ActivityLogWhereInput } /** * Models */ /** * Model Board */ export type AggregateBoard = { _count: BoardCountAggregateOutputType | null _min: BoardMinAggregateOutputType | null _max: BoardMaxAggregateOutputType | null } export type BoardMinAggregateOutputType = { id: string | null title: string | null adminKeyHash: string | null memberKeyHash: string | null autoMoveStale: boolean | null createdAt: Date | null updatedAt: Date | null } export type BoardMaxAggregateOutputType = { id: string | null title: string | null adminKeyHash: string | null memberKeyHash: string | null autoMoveStale: boolean | null createdAt: Date | null updatedAt: Date | null } export type BoardCountAggregateOutputType = { id: number title: number adminKeyHash: number memberKeyHash: number autoMoveStale: number createdAt: number updatedAt: number _all: number } export type BoardMinAggregateInputType = { id?: true title?: true adminKeyHash?: true memberKeyHash?: true autoMoveStale?: true createdAt?: true updatedAt?: true } export type BoardMaxAggregateInputType = { id?: true title?: true adminKeyHash?: true memberKeyHash?: true autoMoveStale?: true createdAt?: true updatedAt?: true } export type BoardCountAggregateInputType = { id?: true title?: true adminKeyHash?: true memberKeyHash?: true autoMoveStale?: true createdAt?: true updatedAt?: true _all?: true } export type BoardAggregateArgs = { /** * Filter which Board to aggregate. */ where?: BoardWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Boards to fetch. */ orderBy?: BoardOrderByWithRelationInput | BoardOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: BoardWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Boards 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` Boards. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Boards **/ _count?: true | BoardCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: BoardMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: BoardMaxAggregateInputType } export type GetBoardAggregateType = { [P in keyof T & keyof AggregateBoard]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type BoardGroupByArgs = { where?: BoardWhereInput orderBy?: BoardOrderByWithAggregationInput | BoardOrderByWithAggregationInput[] by: BoardScalarFieldEnum[] | BoardScalarFieldEnum having?: BoardScalarWhereWithAggregatesInput take?: number skip?: number _count?: BoardCountAggregateInputType | true _min?: BoardMinAggregateInputType _max?: BoardMaxAggregateInputType } export type BoardGroupByOutputType = { id: string title: string adminKeyHash: string memberKeyHash: string autoMoveStale: boolean createdAt: Date updatedAt: Date _count: BoardCountAggregateOutputType | null _min: BoardMinAggregateOutputType | null _max: BoardMaxAggregateOutputType | null } type GetBoardGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof BoardGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type BoardSelect = $Extensions.GetSelect<{ id?: boolean title?: boolean adminKeyHash?: boolean memberKeyHash?: boolean autoMoveStale?: boolean createdAt?: boolean updatedAt?: boolean columns?: boolean | Board$columnsArgs activityLogs?: boolean | Board$activityLogsArgs _count?: boolean | BoardCountOutputTypeDefaultArgs }, ExtArgs["result"]["board"]> export type BoardSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean title?: boolean adminKeyHash?: boolean memberKeyHash?: boolean autoMoveStale?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["board"]> export type BoardSelectScalar = { id?: boolean title?: boolean adminKeyHash?: boolean memberKeyHash?: boolean autoMoveStale?: boolean createdAt?: boolean updatedAt?: boolean } export type BoardInclude = { columns?: boolean | Board$columnsArgs activityLogs?: boolean | Board$activityLogsArgs _count?: boolean | BoardCountOutputTypeDefaultArgs } export type BoardIncludeCreateManyAndReturn = {} export type $BoardPayload = { name: "Board" objects: { columns: Prisma.$ColumnPayload[] activityLogs: Prisma.$ActivityLogPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string title: string adminKeyHash: string memberKeyHash: string autoMoveStale: boolean createdAt: Date updatedAt: Date }, ExtArgs["result"]["board"]> composites: {} } type BoardGetPayload = $Result.GetResult type BoardCountArgs = Omit & { select?: BoardCountAggregateInputType | true } export interface BoardDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Board'], meta: { name: 'Board' } } /** * Find zero or one Board that matches the filter. * @param {BoardFindUniqueArgs} args - Arguments to find a Board * @example * // Get one Board * const board = await prisma.board.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__BoardClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> /** * Find one Board that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {BoardFindUniqueOrThrowArgs} args - Arguments to find a Board * @example * // Get one Board * const board = await prisma.board.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__BoardClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> /** * Find the first Board 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 {BoardFindFirstArgs} args - Arguments to find a Board * @example * // Get one Board * const board = await prisma.board.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__BoardClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> /** * Find the first Board 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 {BoardFindFirstOrThrowArgs} args - Arguments to find a Board * @example * // Get one Board * const board = await prisma.board.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__BoardClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> /** * Find zero or more Boards 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 {BoardFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Boards * const boards = await prisma.board.findMany() * * // Get first 10 Boards * const boards = await prisma.board.findMany({ take: 10 }) * * // Only select the `id` * const boardWithIdOnly = await prisma.board.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> /** * Create a Board. * @param {BoardCreateArgs} args - Arguments to create a Board. * @example * // Create one Board * const Board = await prisma.board.create({ * data: { * // ... data to create a Board * } * }) * */ create(args: SelectSubset>): Prisma__BoardClient<$Result.GetResult, T, "create">, never, ExtArgs> /** * Create many Boards. * @param {BoardCreateManyArgs} args - Arguments to create many Boards. * @example * // Create many Boards * const board = await prisma.board.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Boards and returns the data saved in the database. * @param {BoardCreateManyAndReturnArgs} args - Arguments to create many Boards. * @example * // Create many Boards * const board = await prisma.board.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Boards and only return the `id` * const boardWithIdOnly = await prisma.board.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?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> /** * Delete a Board. * @param {BoardDeleteArgs} args - Arguments to delete one Board. * @example * // Delete one Board * const Board = await prisma.board.delete({ * where: { * // ... filter to delete one Board * } * }) * */ delete(args: SelectSubset>): Prisma__BoardClient<$Result.GetResult, T, "delete">, never, ExtArgs> /** * Update one Board. * @param {BoardUpdateArgs} args - Arguments to update one Board. * @example * // Update one Board * const board = await prisma.board.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__BoardClient<$Result.GetResult, T, "update">, never, ExtArgs> /** * Delete zero or more Boards. * @param {BoardDeleteManyArgs} args - Arguments to filter Boards to delete. * @example * // Delete a few Boards * const { count } = await prisma.board.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Boards. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BoardUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Boards * const board = await prisma.board.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one Board. * @param {BoardUpsertArgs} args - Arguments to update or create a Board. * @example * // Update or create a Board * const board = await prisma.board.upsert({ * create: { * // ... data to create a Board * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Board we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__BoardClient<$Result.GetResult, T, "upsert">, never, ExtArgs> /** * Count the number of Boards. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BoardCountArgs} args - Arguments to filter Boards to count. * @example * // Count the number of Boards * const count = await prisma.board.count({ * where: { * // ... the filter for the Boards we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a Board. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BoardAggregateArgs} 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: Subset): Prisma.PrismaPromise> /** * Group by Board. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BoardGroupByArgs} 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 BoardGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: BoardGroupByArgs['orderBy'] } : { orderBy?: BoardGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends 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 Keys ? 'orderBy' extends Keys ? ByValid extends 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 Keys ? 'orderBy' extends Keys ? ByValid extends 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 True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetBoardGroupByPayload : Prisma.PrismaPromise /** * Fields of the Board model */ readonly fields: BoardFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Board. * 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__BoardClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" columns = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> activityLogs = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $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): $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): $Utils.JsPromise } /** * Fields of the Board model */ interface BoardFieldRefs { readonly id: FieldRef<"Board", 'String'> readonly title: FieldRef<"Board", 'String'> readonly adminKeyHash: FieldRef<"Board", 'String'> readonly memberKeyHash: FieldRef<"Board", 'String'> readonly autoMoveStale: FieldRef<"Board", 'Boolean'> readonly createdAt: FieldRef<"Board", 'DateTime'> readonly updatedAt: FieldRef<"Board", 'DateTime'> } // Custom InputTypes /** * Board findUnique */ export type BoardFindUniqueArgs = { /** * Select specific fields to fetch from the Board */ select?: BoardSelect | null /** * Choose, which related nodes to fetch as well */ include?: BoardInclude | null /** * Filter, which Board to fetch. */ where: BoardWhereUniqueInput } /** * Board findUniqueOrThrow */ export type BoardFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Board */ select?: BoardSelect | null /** * Choose, which related nodes to fetch as well */ include?: BoardInclude | null /** * Filter, which Board to fetch. */ where: BoardWhereUniqueInput } /** * Board findFirst */ export type BoardFindFirstArgs = { /** * Select specific fields to fetch from the Board */ select?: BoardSelect | null /** * Choose, which related nodes to fetch as well */ include?: BoardInclude | null /** * Filter, which Board to fetch. */ where?: BoardWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Boards to fetch. */ orderBy?: BoardOrderByWithRelationInput | BoardOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Boards. */ cursor?: BoardWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Boards 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` Boards. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Boards. */ distinct?: BoardScalarFieldEnum | BoardScalarFieldEnum[] } /** * Board findFirstOrThrow */ export type BoardFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Board */ select?: BoardSelect | null /** * Choose, which related nodes to fetch as well */ include?: BoardInclude | null /** * Filter, which Board to fetch. */ where?: BoardWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Boards to fetch. */ orderBy?: BoardOrderByWithRelationInput | BoardOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Boards. */ cursor?: BoardWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Boards 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` Boards. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Boards. */ distinct?: BoardScalarFieldEnum | BoardScalarFieldEnum[] } /** * Board findMany */ export type BoardFindManyArgs = { /** * Select specific fields to fetch from the Board */ select?: BoardSelect | null /** * Choose, which related nodes to fetch as well */ include?: BoardInclude | null /** * Filter, which Boards to fetch. */ where?: BoardWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Boards to fetch. */ orderBy?: BoardOrderByWithRelationInput | BoardOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Boards. */ cursor?: BoardWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Boards 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` Boards. */ skip?: number distinct?: BoardScalarFieldEnum | BoardScalarFieldEnum[] } /** * Board create */ export type BoardCreateArgs = { /** * Select specific fields to fetch from the Board */ select?: BoardSelect | null /** * Choose, which related nodes to fetch as well */ include?: BoardInclude | null /** * The data needed to create a Board. */ data: XOR } /** * Board createMany */ export type BoardCreateManyArgs = { /** * The data used to create many Boards. */ data: BoardCreateManyInput | BoardCreateManyInput[] skipDuplicates?: boolean } /** * Board createManyAndReturn */ export type BoardCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Board */ select?: BoardSelectCreateManyAndReturn | null /** * The data used to create many Boards. */ data: BoardCreateManyInput | BoardCreateManyInput[] skipDuplicates?: boolean } /** * Board update */ export type BoardUpdateArgs = { /** * Select specific fields to fetch from the Board */ select?: BoardSelect | null /** * Choose, which related nodes to fetch as well */ include?: BoardInclude | null /** * The data needed to update a Board. */ data: XOR /** * Choose, which Board to update. */ where: BoardWhereUniqueInput } /** * Board updateMany */ export type BoardUpdateManyArgs = { /** * The data used to update Boards. */ data: XOR /** * Filter which Boards to update */ where?: BoardWhereInput } /** * Board upsert */ export type BoardUpsertArgs = { /** * Select specific fields to fetch from the Board */ select?: BoardSelect | null /** * Choose, which related nodes to fetch as well */ include?: BoardInclude | null /** * The filter to search for the Board to update in case it exists. */ where: BoardWhereUniqueInput /** * In case the Board found by the `where` argument doesn't exist, create a new Board with this data. */ create: XOR /** * In case the Board was found with the provided `where` argument, update it with this data. */ update: XOR } /** * Board delete */ export type BoardDeleteArgs = { /** * Select specific fields to fetch from the Board */ select?: BoardSelect | null /** * Choose, which related nodes to fetch as well */ include?: BoardInclude | null /** * Filter which Board to delete. */ where: BoardWhereUniqueInput } /** * Board deleteMany */ export type BoardDeleteManyArgs = { /** * Filter which Boards to delete */ where?: BoardWhereInput } /** * Board.columns */ export type Board$columnsArgs = { /** * Select specific fields to fetch from the Column */ select?: ColumnSelect | null /** * Choose, which related nodes to fetch as well */ include?: ColumnInclude | null where?: ColumnWhereInput orderBy?: ColumnOrderByWithRelationInput | ColumnOrderByWithRelationInput[] cursor?: ColumnWhereUniqueInput take?: number skip?: number distinct?: ColumnScalarFieldEnum | ColumnScalarFieldEnum[] } /** * Board.activityLogs */ export type Board$activityLogsArgs = { /** * Select specific fields to fetch from the ActivityLog */ select?: ActivityLogSelect | null /** * Choose, which related nodes to fetch as well */ include?: ActivityLogInclude | null where?: ActivityLogWhereInput orderBy?: ActivityLogOrderByWithRelationInput | ActivityLogOrderByWithRelationInput[] cursor?: ActivityLogWhereUniqueInput take?: number skip?: number distinct?: ActivityLogScalarFieldEnum | ActivityLogScalarFieldEnum[] } /** * Board without action */ export type BoardDefaultArgs = { /** * Select specific fields to fetch from the Board */ select?: BoardSelect | null /** * Choose, which related nodes to fetch as well */ include?: BoardInclude | null } /** * Model Column */ export type AggregateColumn = { _count: ColumnCountAggregateOutputType | null _avg: ColumnAvgAggregateOutputType | null _sum: ColumnSumAggregateOutputType | null _min: ColumnMinAggregateOutputType | null _max: ColumnMaxAggregateOutputType | null } export type ColumnAvgAggregateOutputType = { order: number | null maxWipLimit: number | null autoStaleHours: number | null } export type ColumnSumAggregateOutputType = { order: number | null maxWipLimit: number | null autoStaleHours: number | null } export type ColumnMinAggregateOutputType = { id: string | null boardId: string | null title: string | null order: number | null maxWipLimit: number | null autoStaleHours: number | null createdAt: Date | null updatedAt: Date | null } export type ColumnMaxAggregateOutputType = { id: string | null boardId: string | null title: string | null order: number | null maxWipLimit: number | null autoStaleHours: number | null createdAt: Date | null updatedAt: Date | null } export type ColumnCountAggregateOutputType = { id: number boardId: number title: number order: number maxWipLimit: number autoStaleHours: number createdAt: number updatedAt: number _all: number } export type ColumnAvgAggregateInputType = { order?: true maxWipLimit?: true autoStaleHours?: true } export type ColumnSumAggregateInputType = { order?: true maxWipLimit?: true autoStaleHours?: true } export type ColumnMinAggregateInputType = { id?: true boardId?: true title?: true order?: true maxWipLimit?: true autoStaleHours?: true createdAt?: true updatedAt?: true } export type ColumnMaxAggregateInputType = { id?: true boardId?: true title?: true order?: true maxWipLimit?: true autoStaleHours?: true createdAt?: true updatedAt?: true } export type ColumnCountAggregateInputType = { id?: true boardId?: true title?: true order?: true maxWipLimit?: true autoStaleHours?: true createdAt?: true updatedAt?: true _all?: true } export type ColumnAggregateArgs = { /** * Filter which Column to aggregate. */ where?: ColumnWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Columns to fetch. */ orderBy?: ColumnOrderByWithRelationInput | ColumnOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: ColumnWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Columns 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` Columns. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Columns **/ _count?: true | ColumnCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: ColumnAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: ColumnSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ColumnMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ColumnMaxAggregateInputType } export type GetColumnAggregateType = { [P in keyof T & keyof AggregateColumn]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type ColumnGroupByArgs = { where?: ColumnWhereInput orderBy?: ColumnOrderByWithAggregationInput | ColumnOrderByWithAggregationInput[] by: ColumnScalarFieldEnum[] | ColumnScalarFieldEnum having?: ColumnScalarWhereWithAggregatesInput take?: number skip?: number _count?: ColumnCountAggregateInputType | true _avg?: ColumnAvgAggregateInputType _sum?: ColumnSumAggregateInputType _min?: ColumnMinAggregateInputType _max?: ColumnMaxAggregateInputType } export type ColumnGroupByOutputType = { id: string boardId: string title: string order: number maxWipLimit: number autoStaleHours: number createdAt: Date updatedAt: Date _count: ColumnCountAggregateOutputType | null _avg: ColumnAvgAggregateOutputType | null _sum: ColumnSumAggregateOutputType | null _min: ColumnMinAggregateOutputType | null _max: ColumnMaxAggregateOutputType | null } type GetColumnGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof ColumnGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type ColumnSelect = $Extensions.GetSelect<{ id?: boolean boardId?: boolean title?: boolean order?: boolean maxWipLimit?: boolean autoStaleHours?: boolean createdAt?: boolean updatedAt?: boolean board?: boolean | BoardDefaultArgs tickets?: boolean | Column$ticketsArgs _count?: boolean | ColumnCountOutputTypeDefaultArgs }, ExtArgs["result"]["column"]> export type ColumnSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean boardId?: boolean title?: boolean order?: boolean maxWipLimit?: boolean autoStaleHours?: boolean createdAt?: boolean updatedAt?: boolean board?: boolean | BoardDefaultArgs }, ExtArgs["result"]["column"]> export type ColumnSelectScalar = { id?: boolean boardId?: boolean title?: boolean order?: boolean maxWipLimit?: boolean autoStaleHours?: boolean createdAt?: boolean updatedAt?: boolean } export type ColumnInclude = { board?: boolean | BoardDefaultArgs tickets?: boolean | Column$ticketsArgs _count?: boolean | ColumnCountOutputTypeDefaultArgs } export type ColumnIncludeCreateManyAndReturn = { board?: boolean | BoardDefaultArgs } export type $ColumnPayload = { name: "Column" objects: { board: Prisma.$BoardPayload tickets: Prisma.$TicketPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string boardId: string title: string order: number maxWipLimit: number autoStaleHours: number createdAt: Date updatedAt: Date }, ExtArgs["result"]["column"]> composites: {} } type ColumnGetPayload = $Result.GetResult type ColumnCountArgs = Omit & { select?: ColumnCountAggregateInputType | true } export interface ColumnDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Column'], meta: { name: 'Column' } } /** * Find zero or one Column that matches the filter. * @param {ColumnFindUniqueArgs} args - Arguments to find a Column * @example * // Get one Column * const column = await prisma.column.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__ColumnClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> /** * Find one Column that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ColumnFindUniqueOrThrowArgs} args - Arguments to find a Column * @example * // Get one Column * const column = await prisma.column.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__ColumnClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> /** * Find the first Column 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 {ColumnFindFirstArgs} args - Arguments to find a Column * @example * // Get one Column * const column = await prisma.column.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__ColumnClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> /** * Find the first Column 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 {ColumnFindFirstOrThrowArgs} args - Arguments to find a Column * @example * // Get one Column * const column = await prisma.column.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__ColumnClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> /** * Find zero or more Columns 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 {ColumnFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Columns * const columns = await prisma.column.findMany() * * // Get first 10 Columns * const columns = await prisma.column.findMany({ take: 10 }) * * // Only select the `id` * const columnWithIdOnly = await prisma.column.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> /** * Create a Column. * @param {ColumnCreateArgs} args - Arguments to create a Column. * @example * // Create one Column * const Column = await prisma.column.create({ * data: { * // ... data to create a Column * } * }) * */ create(args: SelectSubset>): Prisma__ColumnClient<$Result.GetResult, T, "create">, never, ExtArgs> /** * Create many Columns. * @param {ColumnCreateManyArgs} args - Arguments to create many Columns. * @example * // Create many Columns * const column = await prisma.column.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Columns and returns the data saved in the database. * @param {ColumnCreateManyAndReturnArgs} args - Arguments to create many Columns. * @example * // Create many Columns * const column = await prisma.column.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Columns and only return the `id` * const columnWithIdOnly = await prisma.column.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?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> /** * Delete a Column. * @param {ColumnDeleteArgs} args - Arguments to delete one Column. * @example * // Delete one Column * const Column = await prisma.column.delete({ * where: { * // ... filter to delete one Column * } * }) * */ delete(args: SelectSubset>): Prisma__ColumnClient<$Result.GetResult, T, "delete">, never, ExtArgs> /** * Update one Column. * @param {ColumnUpdateArgs} args - Arguments to update one Column. * @example * // Update one Column * const column = await prisma.column.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__ColumnClient<$Result.GetResult, T, "update">, never, ExtArgs> /** * Delete zero or more Columns. * @param {ColumnDeleteManyArgs} args - Arguments to filter Columns to delete. * @example * // Delete a few Columns * const { count } = await prisma.column.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Columns. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ColumnUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Columns * const column = await prisma.column.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one Column. * @param {ColumnUpsertArgs} args - Arguments to update or create a Column. * @example * // Update or create a Column * const column = await prisma.column.upsert({ * create: { * // ... data to create a Column * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Column we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__ColumnClient<$Result.GetResult, T, "upsert">, never, ExtArgs> /** * Count the number of Columns. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ColumnCountArgs} args - Arguments to filter Columns to count. * @example * // Count the number of Columns * const count = await prisma.column.count({ * where: { * // ... the filter for the Columns we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a Column. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ColumnAggregateArgs} 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: Subset): Prisma.PrismaPromise> /** * Group by Column. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ColumnGroupByArgs} 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 ColumnGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: ColumnGroupByArgs['orderBy'] } : { orderBy?: ColumnGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends 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 Keys ? 'orderBy' extends Keys ? ByValid extends 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 Keys ? 'orderBy' extends Keys ? ByValid extends 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 True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetColumnGroupByPayload : Prisma.PrismaPromise /** * Fields of the Column model */ readonly fields: ColumnFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Column. * 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__ColumnClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" board = {}>(args?: Subset>): Prisma__BoardClient<$Result.GetResult, T, "findUniqueOrThrow"> | Null, Null, ExtArgs> tickets = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $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): $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): $Utils.JsPromise } /** * Fields of the Column model */ interface ColumnFieldRefs { readonly id: FieldRef<"Column", 'String'> readonly boardId: FieldRef<"Column", 'String'> readonly title: FieldRef<"Column", 'String'> readonly order: FieldRef<"Column", 'Int'> readonly maxWipLimit: FieldRef<"Column", 'Int'> readonly autoStaleHours: FieldRef<"Column", 'Int'> readonly createdAt: FieldRef<"Column", 'DateTime'> readonly updatedAt: FieldRef<"Column", 'DateTime'> } // Custom InputTypes /** * Column findUnique */ export type ColumnFindUniqueArgs = { /** * Select specific fields to fetch from the Column */ select?: ColumnSelect | null /** * Choose, which related nodes to fetch as well */ include?: ColumnInclude | null /** * Filter, which Column to fetch. */ where: ColumnWhereUniqueInput } /** * Column findUniqueOrThrow */ export type ColumnFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Column */ select?: ColumnSelect | null /** * Choose, which related nodes to fetch as well */ include?: ColumnInclude | null /** * Filter, which Column to fetch. */ where: ColumnWhereUniqueInput } /** * Column findFirst */ export type ColumnFindFirstArgs = { /** * Select specific fields to fetch from the Column */ select?: ColumnSelect | null /** * Choose, which related nodes to fetch as well */ include?: ColumnInclude | null /** * Filter, which Column to fetch. */ where?: ColumnWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Columns to fetch. */ orderBy?: ColumnOrderByWithRelationInput | ColumnOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Columns. */ cursor?: ColumnWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Columns 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` Columns. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Columns. */ distinct?: ColumnScalarFieldEnum | ColumnScalarFieldEnum[] } /** * Column findFirstOrThrow */ export type ColumnFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Column */ select?: ColumnSelect | null /** * Choose, which related nodes to fetch as well */ include?: ColumnInclude | null /** * Filter, which Column to fetch. */ where?: ColumnWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Columns to fetch. */ orderBy?: ColumnOrderByWithRelationInput | ColumnOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Columns. */ cursor?: ColumnWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Columns 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` Columns. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Columns. */ distinct?: ColumnScalarFieldEnum | ColumnScalarFieldEnum[] } /** * Column findMany */ export type ColumnFindManyArgs = { /** * Select specific fields to fetch from the Column */ select?: ColumnSelect | null /** * Choose, which related nodes to fetch as well */ include?: ColumnInclude | null /** * Filter, which Columns to fetch. */ where?: ColumnWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Columns to fetch. */ orderBy?: ColumnOrderByWithRelationInput | ColumnOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Columns. */ cursor?: ColumnWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Columns 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` Columns. */ skip?: number distinct?: ColumnScalarFieldEnum | ColumnScalarFieldEnum[] } /** * Column create */ export type ColumnCreateArgs = { /** * Select specific fields to fetch from the Column */ select?: ColumnSelect | null /** * Choose, which related nodes to fetch as well */ include?: ColumnInclude | null /** * The data needed to create a Column. */ data: XOR } /** * Column createMany */ export type ColumnCreateManyArgs = { /** * The data used to create many Columns. */ data: ColumnCreateManyInput | ColumnCreateManyInput[] skipDuplicates?: boolean } /** * Column createManyAndReturn */ export type ColumnCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Column */ select?: ColumnSelectCreateManyAndReturn | null /** * The data used to create many Columns. */ data: ColumnCreateManyInput | ColumnCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: ColumnIncludeCreateManyAndReturn | null } /** * Column update */ export type ColumnUpdateArgs = { /** * Select specific fields to fetch from the Column */ select?: ColumnSelect | null /** * Choose, which related nodes to fetch as well */ include?: ColumnInclude | null /** * The data needed to update a Column. */ data: XOR /** * Choose, which Column to update. */ where: ColumnWhereUniqueInput } /** * Column updateMany */ export type ColumnUpdateManyArgs = { /** * The data used to update Columns. */ data: XOR /** * Filter which Columns to update */ where?: ColumnWhereInput } /** * Column upsert */ export type ColumnUpsertArgs = { /** * Select specific fields to fetch from the Column */ select?: ColumnSelect | null /** * Choose, which related nodes to fetch as well */ include?: ColumnInclude | null /** * The filter to search for the Column to update in case it exists. */ where: ColumnWhereUniqueInput /** * In case the Column found by the `where` argument doesn't exist, create a new Column with this data. */ create: XOR /** * In case the Column was found with the provided `where` argument, update it with this data. */ update: XOR } /** * Column delete */ export type ColumnDeleteArgs = { /** * Select specific fields to fetch from the Column */ select?: ColumnSelect | null /** * Choose, which related nodes to fetch as well */ include?: ColumnInclude | null /** * Filter which Column to delete. */ where: ColumnWhereUniqueInput } /** * Column deleteMany */ export type ColumnDeleteManyArgs = { /** * Filter which Columns to delete */ where?: ColumnWhereInput } /** * Column.tickets */ export type Column$ticketsArgs = { /** * Select specific fields to fetch from the Ticket */ select?: TicketSelect | null /** * Choose, which related nodes to fetch as well */ include?: TicketInclude | null where?: TicketWhereInput orderBy?: TicketOrderByWithRelationInput | TicketOrderByWithRelationInput[] cursor?: TicketWhereUniqueInput take?: number skip?: number distinct?: TicketScalarFieldEnum | TicketScalarFieldEnum[] } /** * Column without action */ export type ColumnDefaultArgs = { /** * Select specific fields to fetch from the Column */ select?: ColumnSelect | null /** * Choose, which related nodes to fetch as well */ include?: ColumnInclude | null } /** * Model Ticket */ export type AggregateTicket = { _count: TicketCountAggregateOutputType | null _avg: TicketAvgAggregateOutputType | null _sum: TicketSumAggregateOutputType | null _min: TicketMinAggregateOutputType | null _max: TicketMaxAggregateOutputType | null } export type TicketAvgAggregateOutputType = { order: number | null } export type TicketSumAggregateOutputType = { order: number | null } export type TicketMinAggregateOutputType = { id: string | null columnId: string | null title: string | null description: string | null order: number | null priority: $Enums.Priority | null tags: string | null subtasks: string | null dueDate: string | null isBlocked: boolean | null blockedReason: string | null assignee: string | null movedAt: Date | null createdAt: Date | null updatedAt: Date | null } export type TicketMaxAggregateOutputType = { id: string | null columnId: string | null title: string | null description: string | null order: number | null priority: $Enums.Priority | null tags: string | null subtasks: string | null dueDate: string | null isBlocked: boolean | null blockedReason: string | null assignee: string | null movedAt: Date | null createdAt: Date | null updatedAt: Date | null } export type TicketCountAggregateOutputType = { id: number columnId: number title: number description: number order: number priority: number tags: number subtasks: number dueDate: number isBlocked: number blockedReason: number assignee: number movedAt: number createdAt: number updatedAt: number _all: number } export type TicketAvgAggregateInputType = { order?: true } export type TicketSumAggregateInputType = { order?: true } export type TicketMinAggregateInputType = { id?: true columnId?: true title?: true description?: true order?: true priority?: true tags?: true subtasks?: true dueDate?: true isBlocked?: true blockedReason?: true assignee?: true movedAt?: true createdAt?: true updatedAt?: true } export type TicketMaxAggregateInputType = { id?: true columnId?: true title?: true description?: true order?: true priority?: true tags?: true subtasks?: true dueDate?: true isBlocked?: true blockedReason?: true assignee?: true movedAt?: true createdAt?: true updatedAt?: true } export type TicketCountAggregateInputType = { id?: true columnId?: true title?: true description?: true order?: true priority?: true tags?: true subtasks?: true dueDate?: true isBlocked?: true blockedReason?: true assignee?: true movedAt?: true createdAt?: true updatedAt?: true _all?: true } export type TicketAggregateArgs = { /** * Filter which Ticket to aggregate. */ where?: TicketWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Tickets to fetch. */ orderBy?: TicketOrderByWithRelationInput | TicketOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: TicketWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Tickets 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` Tickets. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Tickets **/ _count?: true | TicketCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: TicketAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: TicketSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: TicketMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: TicketMaxAggregateInputType } export type GetTicketAggregateType = { [P in keyof T & keyof AggregateTicket]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type TicketGroupByArgs = { where?: TicketWhereInput orderBy?: TicketOrderByWithAggregationInput | TicketOrderByWithAggregationInput[] by: TicketScalarFieldEnum[] | TicketScalarFieldEnum having?: TicketScalarWhereWithAggregatesInput take?: number skip?: number _count?: TicketCountAggregateInputType | true _avg?: TicketAvgAggregateInputType _sum?: TicketSumAggregateInputType _min?: TicketMinAggregateInputType _max?: TicketMaxAggregateInputType } export type TicketGroupByOutputType = { id: string columnId: string title: string description: string order: number priority: $Enums.Priority tags: string subtasks: string dueDate: string | null isBlocked: boolean blockedReason: string | null assignee: string | null movedAt: Date createdAt: Date updatedAt: Date _count: TicketCountAggregateOutputType | null _avg: TicketAvgAggregateOutputType | null _sum: TicketSumAggregateOutputType | null _min: TicketMinAggregateOutputType | null _max: TicketMaxAggregateOutputType | null } type GetTicketGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof TicketGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type TicketSelect = $Extensions.GetSelect<{ id?: boolean columnId?: boolean title?: boolean description?: boolean order?: boolean priority?: boolean tags?: boolean subtasks?: boolean dueDate?: boolean isBlocked?: boolean blockedReason?: boolean assignee?: boolean movedAt?: boolean createdAt?: boolean updatedAt?: boolean column?: boolean | ColumnDefaultArgs activityLogs?: boolean | Ticket$activityLogsArgs _count?: boolean | TicketCountOutputTypeDefaultArgs }, ExtArgs["result"]["ticket"]> export type TicketSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean columnId?: boolean title?: boolean description?: boolean order?: boolean priority?: boolean tags?: boolean subtasks?: boolean dueDate?: boolean isBlocked?: boolean blockedReason?: boolean assignee?: boolean movedAt?: boolean createdAt?: boolean updatedAt?: boolean column?: boolean | ColumnDefaultArgs }, ExtArgs["result"]["ticket"]> export type TicketSelectScalar = { id?: boolean columnId?: boolean title?: boolean description?: boolean order?: boolean priority?: boolean tags?: boolean subtasks?: boolean dueDate?: boolean isBlocked?: boolean blockedReason?: boolean assignee?: boolean movedAt?: boolean createdAt?: boolean updatedAt?: boolean } export type TicketInclude = { column?: boolean | ColumnDefaultArgs activityLogs?: boolean | Ticket$activityLogsArgs _count?: boolean | TicketCountOutputTypeDefaultArgs } export type TicketIncludeCreateManyAndReturn = { column?: boolean | ColumnDefaultArgs } export type $TicketPayload = { name: "Ticket" objects: { column: Prisma.$ColumnPayload activityLogs: Prisma.$ActivityLogPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string columnId: string title: string description: string order: number priority: $Enums.Priority tags: string subtasks: string dueDate: string | null isBlocked: boolean blockedReason: string | null assignee: string | null movedAt: Date createdAt: Date updatedAt: Date }, ExtArgs["result"]["ticket"]> composites: {} } type TicketGetPayload = $Result.GetResult type TicketCountArgs = Omit & { select?: TicketCountAggregateInputType | true } export interface TicketDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Ticket'], meta: { name: 'Ticket' } } /** * Find zero or one Ticket that matches the filter. * @param {TicketFindUniqueArgs} args - Arguments to find a Ticket * @example * // Get one Ticket * const ticket = await prisma.ticket.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__TicketClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> /** * Find one Ticket that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {TicketFindUniqueOrThrowArgs} args - Arguments to find a Ticket * @example * // Get one Ticket * const ticket = await prisma.ticket.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__TicketClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> /** * Find the first Ticket 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 {TicketFindFirstArgs} args - Arguments to find a Ticket * @example * // Get one Ticket * const ticket = await prisma.ticket.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__TicketClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> /** * Find the first Ticket 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 {TicketFindFirstOrThrowArgs} args - Arguments to find a Ticket * @example * // Get one Ticket * const ticket = await prisma.ticket.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__TicketClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> /** * Find zero or more Tickets 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 {TicketFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Tickets * const tickets = await prisma.ticket.findMany() * * // Get first 10 Tickets * const tickets = await prisma.ticket.findMany({ take: 10 }) * * // Only select the `id` * const ticketWithIdOnly = await prisma.ticket.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> /** * Create a Ticket. * @param {TicketCreateArgs} args - Arguments to create a Ticket. * @example * // Create one Ticket * const Ticket = await prisma.ticket.create({ * data: { * // ... data to create a Ticket * } * }) * */ create(args: SelectSubset>): Prisma__TicketClient<$Result.GetResult, T, "create">, never, ExtArgs> /** * Create many Tickets. * @param {TicketCreateManyArgs} args - Arguments to create many Tickets. * @example * // Create many Tickets * const ticket = await prisma.ticket.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Tickets and returns the data saved in the database. * @param {TicketCreateManyAndReturnArgs} args - Arguments to create many Tickets. * @example * // Create many Tickets * const ticket = await prisma.ticket.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Tickets and only return the `id` * const ticketWithIdOnly = await prisma.ticket.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?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> /** * Delete a Ticket. * @param {TicketDeleteArgs} args - Arguments to delete one Ticket. * @example * // Delete one Ticket * const Ticket = await prisma.ticket.delete({ * where: { * // ... filter to delete one Ticket * } * }) * */ delete(args: SelectSubset>): Prisma__TicketClient<$Result.GetResult, T, "delete">, never, ExtArgs> /** * Update one Ticket. * @param {TicketUpdateArgs} args - Arguments to update one Ticket. * @example * // Update one Ticket * const ticket = await prisma.ticket.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__TicketClient<$Result.GetResult, T, "update">, never, ExtArgs> /** * Delete zero or more Tickets. * @param {TicketDeleteManyArgs} args - Arguments to filter Tickets to delete. * @example * // Delete a few Tickets * const { count } = await prisma.ticket.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Tickets. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TicketUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Tickets * const ticket = await prisma.ticket.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one Ticket. * @param {TicketUpsertArgs} args - Arguments to update or create a Ticket. * @example * // Update or create a Ticket * const ticket = await prisma.ticket.upsert({ * create: { * // ... data to create a Ticket * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Ticket we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__TicketClient<$Result.GetResult, T, "upsert">, never, ExtArgs> /** * Count the number of Tickets. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TicketCountArgs} args - Arguments to filter Tickets to count. * @example * // Count the number of Tickets * const count = await prisma.ticket.count({ * where: { * // ... the filter for the Tickets we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a Ticket. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TicketAggregateArgs} 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: Subset): Prisma.PrismaPromise> /** * Group by Ticket. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TicketGroupByArgs} 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 TicketGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: TicketGroupByArgs['orderBy'] } : { orderBy?: TicketGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends 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 Keys ? 'orderBy' extends Keys ? ByValid extends 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 Keys ? 'orderBy' extends Keys ? ByValid extends 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 True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetTicketGroupByPayload : Prisma.PrismaPromise /** * Fields of the Ticket model */ readonly fields: TicketFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Ticket. * 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__TicketClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" column = {}>(args?: Subset>): Prisma__ColumnClient<$Result.GetResult, T, "findUniqueOrThrow"> | Null, Null, ExtArgs> activityLogs = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $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): $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): $Utils.JsPromise } /** * Fields of the Ticket model */ interface TicketFieldRefs { readonly id: FieldRef<"Ticket", 'String'> readonly columnId: FieldRef<"Ticket", 'String'> readonly title: FieldRef<"Ticket", 'String'> readonly description: FieldRef<"Ticket", 'String'> readonly order: FieldRef<"Ticket", 'Int'> readonly priority: FieldRef<"Ticket", 'Priority'> readonly tags: FieldRef<"Ticket", 'String'> readonly subtasks: FieldRef<"Ticket", 'String'> readonly dueDate: FieldRef<"Ticket", 'String'> readonly isBlocked: FieldRef<"Ticket", 'Boolean'> readonly blockedReason: FieldRef<"Ticket", 'String'> readonly assignee: FieldRef<"Ticket", 'String'> readonly movedAt: FieldRef<"Ticket", 'DateTime'> readonly createdAt: FieldRef<"Ticket", 'DateTime'> readonly updatedAt: FieldRef<"Ticket", 'DateTime'> } // Custom InputTypes /** * Ticket findUnique */ export type TicketFindUniqueArgs = { /** * Select specific fields to fetch from the Ticket */ select?: TicketSelect | null /** * Choose, which related nodes to fetch as well */ include?: TicketInclude | null /** * Filter, which Ticket to fetch. */ where: TicketWhereUniqueInput } /** * Ticket findUniqueOrThrow */ export type TicketFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Ticket */ select?: TicketSelect | null /** * Choose, which related nodes to fetch as well */ include?: TicketInclude | null /** * Filter, which Ticket to fetch. */ where: TicketWhereUniqueInput } /** * Ticket findFirst */ export type TicketFindFirstArgs = { /** * Select specific fields to fetch from the Ticket */ select?: TicketSelect | null /** * Choose, which related nodes to fetch as well */ include?: TicketInclude | null /** * Filter, which Ticket to fetch. */ where?: TicketWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Tickets to fetch. */ orderBy?: TicketOrderByWithRelationInput | TicketOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Tickets. */ cursor?: TicketWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Tickets 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` Tickets. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Tickets. */ distinct?: TicketScalarFieldEnum | TicketScalarFieldEnum[] } /** * Ticket findFirstOrThrow */ export type TicketFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Ticket */ select?: TicketSelect | null /** * Choose, which related nodes to fetch as well */ include?: TicketInclude | null /** * Filter, which Ticket to fetch. */ where?: TicketWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Tickets to fetch. */ orderBy?: TicketOrderByWithRelationInput | TicketOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Tickets. */ cursor?: TicketWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Tickets 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` Tickets. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Tickets. */ distinct?: TicketScalarFieldEnum | TicketScalarFieldEnum[] } /** * Ticket findMany */ export type TicketFindManyArgs = { /** * Select specific fields to fetch from the Ticket */ select?: TicketSelect | null /** * Choose, which related nodes to fetch as well */ include?: TicketInclude | null /** * Filter, which Tickets to fetch. */ where?: TicketWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Tickets to fetch. */ orderBy?: TicketOrderByWithRelationInput | TicketOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Tickets. */ cursor?: TicketWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Tickets 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` Tickets. */ skip?: number distinct?: TicketScalarFieldEnum | TicketScalarFieldEnum[] } /** * Ticket create */ export type TicketCreateArgs = { /** * Select specific fields to fetch from the Ticket */ select?: TicketSelect | null /** * Choose, which related nodes to fetch as well */ include?: TicketInclude | null /** * The data needed to create a Ticket. */ data: XOR } /** * Ticket createMany */ export type TicketCreateManyArgs = { /** * The data used to create many Tickets. */ data: TicketCreateManyInput | TicketCreateManyInput[] skipDuplicates?: boolean } /** * Ticket createManyAndReturn */ export type TicketCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Ticket */ select?: TicketSelectCreateManyAndReturn | null /** * The data used to create many Tickets. */ data: TicketCreateManyInput | TicketCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: TicketIncludeCreateManyAndReturn | null } /** * Ticket update */ export type TicketUpdateArgs = { /** * Select specific fields to fetch from the Ticket */ select?: TicketSelect | null /** * Choose, which related nodes to fetch as well */ include?: TicketInclude | null /** * The data needed to update a Ticket. */ data: XOR /** * Choose, which Ticket to update. */ where: TicketWhereUniqueInput } /** * Ticket updateMany */ export type TicketUpdateManyArgs = { /** * The data used to update Tickets. */ data: XOR /** * Filter which Tickets to update */ where?: TicketWhereInput } /** * Ticket upsert */ export type TicketUpsertArgs = { /** * Select specific fields to fetch from the Ticket */ select?: TicketSelect | null /** * Choose, which related nodes to fetch as well */ include?: TicketInclude | null /** * The filter to search for the Ticket to update in case it exists. */ where: TicketWhereUniqueInput /** * In case the Ticket found by the `where` argument doesn't exist, create a new Ticket with this data. */ create: XOR /** * In case the Ticket was found with the provided `where` argument, update it with this data. */ update: XOR } /** * Ticket delete */ export type TicketDeleteArgs = { /** * Select specific fields to fetch from the Ticket */ select?: TicketSelect | null /** * Choose, which related nodes to fetch as well */ include?: TicketInclude | null /** * Filter which Ticket to delete. */ where: TicketWhereUniqueInput } /** * Ticket deleteMany */ export type TicketDeleteManyArgs = { /** * Filter which Tickets to delete */ where?: TicketWhereInput } /** * Ticket.activityLogs */ export type Ticket$activityLogsArgs = { /** * Select specific fields to fetch from the ActivityLog */ select?: ActivityLogSelect | null /** * Choose, which related nodes to fetch as well */ include?: ActivityLogInclude | null where?: ActivityLogWhereInput orderBy?: ActivityLogOrderByWithRelationInput | ActivityLogOrderByWithRelationInput[] cursor?: ActivityLogWhereUniqueInput take?: number skip?: number distinct?: ActivityLogScalarFieldEnum | ActivityLogScalarFieldEnum[] } /** * Ticket without action */ export type TicketDefaultArgs = { /** * Select specific fields to fetch from the Ticket */ select?: TicketSelect | null /** * Choose, which related nodes to fetch as well */ include?: TicketInclude | null } /** * Model ActivityLog */ export type AggregateActivityLog = { _count: ActivityLogCountAggregateOutputType | null _min: ActivityLogMinAggregateOutputType | null _max: ActivityLogMaxAggregateOutputType | null } export type ActivityLogMinAggregateOutputType = { id: string | null boardId: string | null ticketId: string | null ticketTitle: string | null action: string | null fromColumnTitle: string | null toColumnTitle: string | null userName: string | null details: string | null createdAt: Date | null } export type ActivityLogMaxAggregateOutputType = { id: string | null boardId: string | null ticketId: string | null ticketTitle: string | null action: string | null fromColumnTitle: string | null toColumnTitle: string | null userName: string | null details: string | null createdAt: Date | null } export type ActivityLogCountAggregateOutputType = { id: number boardId: number ticketId: number ticketTitle: number action: number fromColumnTitle: number toColumnTitle: number userName: number details: number createdAt: number _all: number } export type ActivityLogMinAggregateInputType = { id?: true boardId?: true ticketId?: true ticketTitle?: true action?: true fromColumnTitle?: true toColumnTitle?: true userName?: true details?: true createdAt?: true } export type ActivityLogMaxAggregateInputType = { id?: true boardId?: true ticketId?: true ticketTitle?: true action?: true fromColumnTitle?: true toColumnTitle?: true userName?: true details?: true createdAt?: true } export type ActivityLogCountAggregateInputType = { id?: true boardId?: true ticketId?: true ticketTitle?: true action?: true fromColumnTitle?: true toColumnTitle?: true userName?: true details?: true createdAt?: true _all?: true } export type ActivityLogAggregateArgs = { /** * Filter which ActivityLog to aggregate. */ where?: ActivityLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ActivityLogs to fetch. */ orderBy?: ActivityLogOrderByWithRelationInput | ActivityLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: ActivityLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ActivityLogs 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` ActivityLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned ActivityLogs **/ _count?: true | ActivityLogCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ActivityLogMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ActivityLogMaxAggregateInputType } export type GetActivityLogAggregateType = { [P in keyof T & keyof AggregateActivityLog]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type ActivityLogGroupByArgs = { where?: ActivityLogWhereInput orderBy?: ActivityLogOrderByWithAggregationInput | ActivityLogOrderByWithAggregationInput[] by: ActivityLogScalarFieldEnum[] | ActivityLogScalarFieldEnum having?: ActivityLogScalarWhereWithAggregatesInput take?: number skip?: number _count?: ActivityLogCountAggregateInputType | true _min?: ActivityLogMinAggregateInputType _max?: ActivityLogMaxAggregateInputType } export type ActivityLogGroupByOutputType = { id: string boardId: string ticketId: string | null ticketTitle: string action: string fromColumnTitle: string | null toColumnTitle: string | null userName: string details: string | null createdAt: Date _count: ActivityLogCountAggregateOutputType | null _min: ActivityLogMinAggregateOutputType | null _max: ActivityLogMaxAggregateOutputType | null } type GetActivityLogGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof ActivityLogGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type ActivityLogSelect = $Extensions.GetSelect<{ id?: boolean boardId?: boolean ticketId?: boolean ticketTitle?: boolean action?: boolean fromColumnTitle?: boolean toColumnTitle?: boolean userName?: boolean details?: boolean createdAt?: boolean board?: boolean | BoardDefaultArgs ticket?: boolean | ActivityLog$ticketArgs }, ExtArgs["result"]["activityLog"]> export type ActivityLogSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean boardId?: boolean ticketId?: boolean ticketTitle?: boolean action?: boolean fromColumnTitle?: boolean toColumnTitle?: boolean userName?: boolean details?: boolean createdAt?: boolean board?: boolean | BoardDefaultArgs ticket?: boolean | ActivityLog$ticketArgs }, ExtArgs["result"]["activityLog"]> export type ActivityLogSelectScalar = { id?: boolean boardId?: boolean ticketId?: boolean ticketTitle?: boolean action?: boolean fromColumnTitle?: boolean toColumnTitle?: boolean userName?: boolean details?: boolean createdAt?: boolean } export type ActivityLogInclude = { board?: boolean | BoardDefaultArgs ticket?: boolean | ActivityLog$ticketArgs } export type ActivityLogIncludeCreateManyAndReturn = { board?: boolean | BoardDefaultArgs ticket?: boolean | ActivityLog$ticketArgs } export type $ActivityLogPayload = { name: "ActivityLog" objects: { board: Prisma.$BoardPayload ticket: Prisma.$TicketPayload | null } scalars: $Extensions.GetPayloadResult<{ id: string boardId: string ticketId: string | null ticketTitle: string action: string fromColumnTitle: string | null toColumnTitle: string | null userName: string details: string | null createdAt: Date }, ExtArgs["result"]["activityLog"]> composites: {} } type ActivityLogGetPayload = $Result.GetResult type ActivityLogCountArgs = Omit & { select?: ActivityLogCountAggregateInputType | true } export interface ActivityLogDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['ActivityLog'], meta: { name: 'ActivityLog' } } /** * Find zero or one ActivityLog that matches the filter. * @param {ActivityLogFindUniqueArgs} args - Arguments to find a ActivityLog * @example * // Get one ActivityLog * const activityLog = await prisma.activityLog.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__ActivityLogClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> /** * Find one ActivityLog that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ActivityLogFindUniqueOrThrowArgs} args - Arguments to find a ActivityLog * @example * // Get one ActivityLog * const activityLog = await prisma.activityLog.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__ActivityLogClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> /** * Find the first ActivityLog 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 {ActivityLogFindFirstArgs} args - Arguments to find a ActivityLog * @example * // Get one ActivityLog * const activityLog = await prisma.activityLog.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__ActivityLogClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> /** * Find the first ActivityLog 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 {ActivityLogFindFirstOrThrowArgs} args - Arguments to find a ActivityLog * @example * // Get one ActivityLog * const activityLog = await prisma.activityLog.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__ActivityLogClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> /** * Find zero or more ActivityLogs 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 {ActivityLogFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all ActivityLogs * const activityLogs = await prisma.activityLog.findMany() * * // Get first 10 ActivityLogs * const activityLogs = await prisma.activityLog.findMany({ take: 10 }) * * // Only select the `id` * const activityLogWithIdOnly = await prisma.activityLog.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> /** * Create a ActivityLog. * @param {ActivityLogCreateArgs} args - Arguments to create a ActivityLog. * @example * // Create one ActivityLog * const ActivityLog = await prisma.activityLog.create({ * data: { * // ... data to create a ActivityLog * } * }) * */ create(args: SelectSubset>): Prisma__ActivityLogClient<$Result.GetResult, T, "create">, never, ExtArgs> /** * Create many ActivityLogs. * @param {ActivityLogCreateManyArgs} args - Arguments to create many ActivityLogs. * @example * // Create many ActivityLogs * const activityLog = await prisma.activityLog.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many ActivityLogs and returns the data saved in the database. * @param {ActivityLogCreateManyAndReturnArgs} args - Arguments to create many ActivityLogs. * @example * // Create many ActivityLogs * const activityLog = await prisma.activityLog.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many ActivityLogs and only return the `id` * const activityLogWithIdOnly = await prisma.activityLog.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?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> /** * Delete a ActivityLog. * @param {ActivityLogDeleteArgs} args - Arguments to delete one ActivityLog. * @example * // Delete one ActivityLog * const ActivityLog = await prisma.activityLog.delete({ * where: { * // ... filter to delete one ActivityLog * } * }) * */ delete(args: SelectSubset>): Prisma__ActivityLogClient<$Result.GetResult, T, "delete">, never, ExtArgs> /** * Update one ActivityLog. * @param {ActivityLogUpdateArgs} args - Arguments to update one ActivityLog. * @example * // Update one ActivityLog * const activityLog = await prisma.activityLog.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__ActivityLogClient<$Result.GetResult, T, "update">, never, ExtArgs> /** * Delete zero or more ActivityLogs. * @param {ActivityLogDeleteManyArgs} args - Arguments to filter ActivityLogs to delete. * @example * // Delete a few ActivityLogs * const { count } = await prisma.activityLog.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ActivityLogs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ActivityLogUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many ActivityLogs * const activityLog = await prisma.activityLog.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one ActivityLog. * @param {ActivityLogUpsertArgs} args - Arguments to update or create a ActivityLog. * @example * // Update or create a ActivityLog * const activityLog = await prisma.activityLog.upsert({ * create: { * // ... data to create a ActivityLog * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the ActivityLog we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__ActivityLogClient<$Result.GetResult, T, "upsert">, never, ExtArgs> /** * Count the number of ActivityLogs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ActivityLogCountArgs} args - Arguments to filter ActivityLogs to count. * @example * // Count the number of ActivityLogs * const count = await prisma.activityLog.count({ * where: { * // ... the filter for the ActivityLogs we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a ActivityLog. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ActivityLogAggregateArgs} 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: Subset): Prisma.PrismaPromise> /** * Group by ActivityLog. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ActivityLogGroupByArgs} 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 ActivityLogGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: ActivityLogGroupByArgs['orderBy'] } : { orderBy?: ActivityLogGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends 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 Keys ? 'orderBy' extends Keys ? ByValid extends 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 Keys ? 'orderBy' extends Keys ? ByValid extends 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 True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetActivityLogGroupByPayload : Prisma.PrismaPromise /** * Fields of the ActivityLog model */ readonly fields: ActivityLogFieldRefs; } /** * The delegate class that acts as a "Promise-like" for ActivityLog. * 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__ActivityLogClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" board = {}>(args?: Subset>): Prisma__BoardClient<$Result.GetResult, T, "findUniqueOrThrow"> | Null, Null, ExtArgs> ticket = {}>(args?: Subset>): Prisma__TicketClient<$Result.GetResult, T, "findUniqueOrThrow"> | null, null, ExtArgs> /** * 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): $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): $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): $Utils.JsPromise } /** * Fields of the ActivityLog model */ interface ActivityLogFieldRefs { readonly id: FieldRef<"ActivityLog", 'String'> readonly boardId: FieldRef<"ActivityLog", 'String'> readonly ticketId: FieldRef<"ActivityLog", 'String'> readonly ticketTitle: FieldRef<"ActivityLog", 'String'> readonly action: FieldRef<"ActivityLog", 'String'> readonly fromColumnTitle: FieldRef<"ActivityLog", 'String'> readonly toColumnTitle: FieldRef<"ActivityLog", 'String'> readonly userName: FieldRef<"ActivityLog", 'String'> readonly details: FieldRef<"ActivityLog", 'String'> readonly createdAt: FieldRef<"ActivityLog", 'DateTime'> } // Custom InputTypes /** * ActivityLog findUnique */ export type ActivityLogFindUniqueArgs = { /** * Select specific fields to fetch from the ActivityLog */ select?: ActivityLogSelect | null /** * Choose, which related nodes to fetch as well */ include?: ActivityLogInclude | null /** * Filter, which ActivityLog to fetch. */ where: ActivityLogWhereUniqueInput } /** * ActivityLog findUniqueOrThrow */ export type ActivityLogFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the ActivityLog */ select?: ActivityLogSelect | null /** * Choose, which related nodes to fetch as well */ include?: ActivityLogInclude | null /** * Filter, which ActivityLog to fetch. */ where: ActivityLogWhereUniqueInput } /** * ActivityLog findFirst */ export type ActivityLogFindFirstArgs = { /** * Select specific fields to fetch from the ActivityLog */ select?: ActivityLogSelect | null /** * Choose, which related nodes to fetch as well */ include?: ActivityLogInclude | null /** * Filter, which ActivityLog to fetch. */ where?: ActivityLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ActivityLogs to fetch. */ orderBy?: ActivityLogOrderByWithRelationInput | ActivityLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ActivityLogs. */ cursor?: ActivityLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ActivityLogs 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` ActivityLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ActivityLogs. */ distinct?: ActivityLogScalarFieldEnum | ActivityLogScalarFieldEnum[] } /** * ActivityLog findFirstOrThrow */ export type ActivityLogFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the ActivityLog */ select?: ActivityLogSelect | null /** * Choose, which related nodes to fetch as well */ include?: ActivityLogInclude | null /** * Filter, which ActivityLog to fetch. */ where?: ActivityLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ActivityLogs to fetch. */ orderBy?: ActivityLogOrderByWithRelationInput | ActivityLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ActivityLogs. */ cursor?: ActivityLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ActivityLogs 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` ActivityLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ActivityLogs. */ distinct?: ActivityLogScalarFieldEnum | ActivityLogScalarFieldEnum[] } /** * ActivityLog findMany */ export type ActivityLogFindManyArgs = { /** * Select specific fields to fetch from the ActivityLog */ select?: ActivityLogSelect | null /** * Choose, which related nodes to fetch as well */ include?: ActivityLogInclude | null /** * Filter, which ActivityLogs to fetch. */ where?: ActivityLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ActivityLogs to fetch. */ orderBy?: ActivityLogOrderByWithRelationInput | ActivityLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing ActivityLogs. */ cursor?: ActivityLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ActivityLogs 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` ActivityLogs. */ skip?: number distinct?: ActivityLogScalarFieldEnum | ActivityLogScalarFieldEnum[] } /** * ActivityLog create */ export type ActivityLogCreateArgs = { /** * Select specific fields to fetch from the ActivityLog */ select?: ActivityLogSelect | null /** * Choose, which related nodes to fetch as well */ include?: ActivityLogInclude | null /** * The data needed to create a ActivityLog. */ data: XOR } /** * ActivityLog createMany */ export type ActivityLogCreateManyArgs = { /** * The data used to create many ActivityLogs. */ data: ActivityLogCreateManyInput | ActivityLogCreateManyInput[] skipDuplicates?: boolean } /** * ActivityLog createManyAndReturn */ export type ActivityLogCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the ActivityLog */ select?: ActivityLogSelectCreateManyAndReturn | null /** * The data used to create many ActivityLogs. */ data: ActivityLogCreateManyInput | ActivityLogCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: ActivityLogIncludeCreateManyAndReturn | null } /** * ActivityLog update */ export type ActivityLogUpdateArgs = { /** * Select specific fields to fetch from the ActivityLog */ select?: ActivityLogSelect | null /** * Choose, which related nodes to fetch as well */ include?: ActivityLogInclude | null /** * The data needed to update a ActivityLog. */ data: XOR /** * Choose, which ActivityLog to update. */ where: ActivityLogWhereUniqueInput } /** * ActivityLog updateMany */ export type ActivityLogUpdateManyArgs = { /** * The data used to update ActivityLogs. */ data: XOR /** * Filter which ActivityLogs to update */ where?: ActivityLogWhereInput } /** * ActivityLog upsert */ export type ActivityLogUpsertArgs = { /** * Select specific fields to fetch from the ActivityLog */ select?: ActivityLogSelect | null /** * Choose, which related nodes to fetch as well */ include?: ActivityLogInclude | null /** * The filter to search for the ActivityLog to update in case it exists. */ where: ActivityLogWhereUniqueInput /** * In case the ActivityLog found by the `where` argument doesn't exist, create a new ActivityLog with this data. */ create: XOR /** * In case the ActivityLog was found with the provided `where` argument, update it with this data. */ update: XOR } /** * ActivityLog delete */ export type ActivityLogDeleteArgs = { /** * Select specific fields to fetch from the ActivityLog */ select?: ActivityLogSelect | null /** * Choose, which related nodes to fetch as well */ include?: ActivityLogInclude | null /** * Filter which ActivityLog to delete. */ where: ActivityLogWhereUniqueInput } /** * ActivityLog deleteMany */ export type ActivityLogDeleteManyArgs = { /** * Filter which ActivityLogs to delete */ where?: ActivityLogWhereInput } /** * ActivityLog.ticket */ export type ActivityLog$ticketArgs = { /** * Select specific fields to fetch from the Ticket */ select?: TicketSelect | null /** * Choose, which related nodes to fetch as well */ include?: TicketInclude | null where?: TicketWhereInput } /** * ActivityLog without action */ export type ActivityLogDefaultArgs = { /** * Select specific fields to fetch from the ActivityLog */ select?: ActivityLogSelect | null /** * Choose, which related nodes to fetch as well */ include?: ActivityLogInclude | null } /** * Enums */ export const TransactionIsolationLevel: { ReadUncommitted: 'ReadUncommitted', ReadCommitted: 'ReadCommitted', RepeatableRead: 'RepeatableRead', Serializable: 'Serializable' }; export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel] export const BoardScalarFieldEnum: { id: 'id', title: 'title', adminKeyHash: 'adminKeyHash', memberKeyHash: 'memberKeyHash', autoMoveStale: 'autoMoveStale', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type BoardScalarFieldEnum = (typeof BoardScalarFieldEnum)[keyof typeof BoardScalarFieldEnum] export const ColumnScalarFieldEnum: { id: 'id', boardId: 'boardId', title: 'title', order: 'order', maxWipLimit: 'maxWipLimit', autoStaleHours: 'autoStaleHours', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type ColumnScalarFieldEnum = (typeof ColumnScalarFieldEnum)[keyof typeof ColumnScalarFieldEnum] export const TicketScalarFieldEnum: { id: 'id', columnId: 'columnId', title: 'title', description: 'description', order: 'order', priority: 'priority', tags: 'tags', subtasks: 'subtasks', dueDate: 'dueDate', isBlocked: 'isBlocked', blockedReason: 'blockedReason', assignee: 'assignee', movedAt: 'movedAt', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type TicketScalarFieldEnum = (typeof TicketScalarFieldEnum)[keyof typeof TicketScalarFieldEnum] export const ActivityLogScalarFieldEnum: { id: 'id', boardId: 'boardId', ticketId: 'ticketId', ticketTitle: 'ticketTitle', action: 'action', fromColumnTitle: 'fromColumnTitle', toColumnTitle: 'toColumnTitle', userName: 'userName', details: 'details', createdAt: 'createdAt' }; export type ActivityLogScalarFieldEnum = (typeof ActivityLogScalarFieldEnum)[keyof typeof ActivityLogScalarFieldEnum] export const SortOrder: { asc: 'asc', desc: 'desc' }; export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder] export const QueryMode: { default: 'default', insensitive: 'insensitive' }; export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode] export const NullsOrder: { first: 'first', last: 'last' }; export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder] /** * Field references */ /** * Reference to a field of type 'String' */ export type StringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String'> /** * Reference to a field of type 'String[]' */ export type ListStringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String[]'> /** * Reference to a field of type 'Boolean' */ export type BooleanFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Boolean'> /** * Reference to a field of type 'DateTime' */ export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime'> /** * Reference to a field of type 'DateTime[]' */ export type ListDateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime[]'> /** * Reference to a field of type 'Int' */ export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'> /** * Reference to a field of type 'Int[]' */ export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int[]'> /** * Reference to a field of type 'Priority' */ export type EnumPriorityFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Priority'> /** * Reference to a field of type 'Priority[]' */ export type ListEnumPriorityFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Priority[]'> /** * Reference to a field of type 'Float' */ export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'> /** * Reference to a field of type 'Float[]' */ export type ListFloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float[]'> /** * Deep Input Types */ export type BoardWhereInput = { AND?: BoardWhereInput | BoardWhereInput[] OR?: BoardWhereInput[] NOT?: BoardWhereInput | BoardWhereInput[] id?: StringFilter<"Board"> | string title?: StringFilter<"Board"> | string adminKeyHash?: StringFilter<"Board"> | string memberKeyHash?: StringFilter<"Board"> | string autoMoveStale?: BoolFilter<"Board"> | boolean createdAt?: DateTimeFilter<"Board"> | Date | string updatedAt?: DateTimeFilter<"Board"> | Date | string columns?: ColumnListRelationFilter activityLogs?: ActivityLogListRelationFilter } export type BoardOrderByWithRelationInput = { id?: SortOrder title?: SortOrder adminKeyHash?: SortOrder memberKeyHash?: SortOrder autoMoveStale?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder columns?: ColumnOrderByRelationAggregateInput activityLogs?: ActivityLogOrderByRelationAggregateInput } export type BoardWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: BoardWhereInput | BoardWhereInput[] OR?: BoardWhereInput[] NOT?: BoardWhereInput | BoardWhereInput[] title?: StringFilter<"Board"> | string adminKeyHash?: StringFilter<"Board"> | string memberKeyHash?: StringFilter<"Board"> | string autoMoveStale?: BoolFilter<"Board"> | boolean createdAt?: DateTimeFilter<"Board"> | Date | string updatedAt?: DateTimeFilter<"Board"> | Date | string columns?: ColumnListRelationFilter activityLogs?: ActivityLogListRelationFilter }, "id"> export type BoardOrderByWithAggregationInput = { id?: SortOrder title?: SortOrder adminKeyHash?: SortOrder memberKeyHash?: SortOrder autoMoveStale?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder _count?: BoardCountOrderByAggregateInput _max?: BoardMaxOrderByAggregateInput _min?: BoardMinOrderByAggregateInput } export type BoardScalarWhereWithAggregatesInput = { AND?: BoardScalarWhereWithAggregatesInput | BoardScalarWhereWithAggregatesInput[] OR?: BoardScalarWhereWithAggregatesInput[] NOT?: BoardScalarWhereWithAggregatesInput | BoardScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Board"> | string title?: StringWithAggregatesFilter<"Board"> | string adminKeyHash?: StringWithAggregatesFilter<"Board"> | string memberKeyHash?: StringWithAggregatesFilter<"Board"> | string autoMoveStale?: BoolWithAggregatesFilter<"Board"> | boolean createdAt?: DateTimeWithAggregatesFilter<"Board"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"Board"> | Date | string } export type ColumnWhereInput = { AND?: ColumnWhereInput | ColumnWhereInput[] OR?: ColumnWhereInput[] NOT?: ColumnWhereInput | ColumnWhereInput[] id?: StringFilter<"Column"> | string boardId?: StringFilter<"Column"> | string title?: StringFilter<"Column"> | string order?: IntFilter<"Column"> | number maxWipLimit?: IntFilter<"Column"> | number autoStaleHours?: IntFilter<"Column"> | number createdAt?: DateTimeFilter<"Column"> | Date | string updatedAt?: DateTimeFilter<"Column"> | Date | string board?: XOR tickets?: TicketListRelationFilter } export type ColumnOrderByWithRelationInput = { id?: SortOrder boardId?: SortOrder title?: SortOrder order?: SortOrder maxWipLimit?: SortOrder autoStaleHours?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder board?: BoardOrderByWithRelationInput tickets?: TicketOrderByRelationAggregateInput } export type ColumnWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: ColumnWhereInput | ColumnWhereInput[] OR?: ColumnWhereInput[] NOT?: ColumnWhereInput | ColumnWhereInput[] boardId?: StringFilter<"Column"> | string title?: StringFilter<"Column"> | string order?: IntFilter<"Column"> | number maxWipLimit?: IntFilter<"Column"> | number autoStaleHours?: IntFilter<"Column"> | number createdAt?: DateTimeFilter<"Column"> | Date | string updatedAt?: DateTimeFilter<"Column"> | Date | string board?: XOR tickets?: TicketListRelationFilter }, "id"> export type ColumnOrderByWithAggregationInput = { id?: SortOrder boardId?: SortOrder title?: SortOrder order?: SortOrder maxWipLimit?: SortOrder autoStaleHours?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder _count?: ColumnCountOrderByAggregateInput _avg?: ColumnAvgOrderByAggregateInput _max?: ColumnMaxOrderByAggregateInput _min?: ColumnMinOrderByAggregateInput _sum?: ColumnSumOrderByAggregateInput } export type ColumnScalarWhereWithAggregatesInput = { AND?: ColumnScalarWhereWithAggregatesInput | ColumnScalarWhereWithAggregatesInput[] OR?: ColumnScalarWhereWithAggregatesInput[] NOT?: ColumnScalarWhereWithAggregatesInput | ColumnScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Column"> | string boardId?: StringWithAggregatesFilter<"Column"> | string title?: StringWithAggregatesFilter<"Column"> | string order?: IntWithAggregatesFilter<"Column"> | number maxWipLimit?: IntWithAggregatesFilter<"Column"> | number autoStaleHours?: IntWithAggregatesFilter<"Column"> | number createdAt?: DateTimeWithAggregatesFilter<"Column"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"Column"> | Date | string } export type TicketWhereInput = { AND?: TicketWhereInput | TicketWhereInput[] OR?: TicketWhereInput[] NOT?: TicketWhereInput | TicketWhereInput[] id?: StringFilter<"Ticket"> | string columnId?: StringFilter<"Ticket"> | string title?: StringFilter<"Ticket"> | string description?: StringFilter<"Ticket"> | string order?: IntFilter<"Ticket"> | number priority?: EnumPriorityFilter<"Ticket"> | $Enums.Priority tags?: StringFilter<"Ticket"> | string subtasks?: StringFilter<"Ticket"> | string dueDate?: StringNullableFilter<"Ticket"> | string | null isBlocked?: BoolFilter<"Ticket"> | boolean blockedReason?: StringNullableFilter<"Ticket"> | string | null assignee?: StringNullableFilter<"Ticket"> | string | null movedAt?: DateTimeFilter<"Ticket"> | Date | string createdAt?: DateTimeFilter<"Ticket"> | Date | string updatedAt?: DateTimeFilter<"Ticket"> | Date | string column?: XOR activityLogs?: ActivityLogListRelationFilter } export type TicketOrderByWithRelationInput = { id?: SortOrder columnId?: SortOrder title?: SortOrder description?: SortOrder order?: SortOrder priority?: SortOrder tags?: SortOrder subtasks?: SortOrder dueDate?: SortOrderInput | SortOrder isBlocked?: SortOrder blockedReason?: SortOrderInput | SortOrder assignee?: SortOrderInput | SortOrder movedAt?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder column?: ColumnOrderByWithRelationInput activityLogs?: ActivityLogOrderByRelationAggregateInput } export type TicketWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: TicketWhereInput | TicketWhereInput[] OR?: TicketWhereInput[] NOT?: TicketWhereInput | TicketWhereInput[] columnId?: StringFilter<"Ticket"> | string title?: StringFilter<"Ticket"> | string description?: StringFilter<"Ticket"> | string order?: IntFilter<"Ticket"> | number priority?: EnumPriorityFilter<"Ticket"> | $Enums.Priority tags?: StringFilter<"Ticket"> | string subtasks?: StringFilter<"Ticket"> | string dueDate?: StringNullableFilter<"Ticket"> | string | null isBlocked?: BoolFilter<"Ticket"> | boolean blockedReason?: StringNullableFilter<"Ticket"> | string | null assignee?: StringNullableFilter<"Ticket"> | string | null movedAt?: DateTimeFilter<"Ticket"> | Date | string createdAt?: DateTimeFilter<"Ticket"> | Date | string updatedAt?: DateTimeFilter<"Ticket"> | Date | string column?: XOR activityLogs?: ActivityLogListRelationFilter }, "id"> export type TicketOrderByWithAggregationInput = { id?: SortOrder columnId?: SortOrder title?: SortOrder description?: SortOrder order?: SortOrder priority?: SortOrder tags?: SortOrder subtasks?: SortOrder dueDate?: SortOrderInput | SortOrder isBlocked?: SortOrder blockedReason?: SortOrderInput | SortOrder assignee?: SortOrderInput | SortOrder movedAt?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder _count?: TicketCountOrderByAggregateInput _avg?: TicketAvgOrderByAggregateInput _max?: TicketMaxOrderByAggregateInput _min?: TicketMinOrderByAggregateInput _sum?: TicketSumOrderByAggregateInput } export type TicketScalarWhereWithAggregatesInput = { AND?: TicketScalarWhereWithAggregatesInput | TicketScalarWhereWithAggregatesInput[] OR?: TicketScalarWhereWithAggregatesInput[] NOT?: TicketScalarWhereWithAggregatesInput | TicketScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Ticket"> | string columnId?: StringWithAggregatesFilter<"Ticket"> | string title?: StringWithAggregatesFilter<"Ticket"> | string description?: StringWithAggregatesFilter<"Ticket"> | string order?: IntWithAggregatesFilter<"Ticket"> | number priority?: EnumPriorityWithAggregatesFilter<"Ticket"> | $Enums.Priority tags?: StringWithAggregatesFilter<"Ticket"> | string subtasks?: StringWithAggregatesFilter<"Ticket"> | string dueDate?: StringNullableWithAggregatesFilter<"Ticket"> | string | null isBlocked?: BoolWithAggregatesFilter<"Ticket"> | boolean blockedReason?: StringNullableWithAggregatesFilter<"Ticket"> | string | null assignee?: StringNullableWithAggregatesFilter<"Ticket"> | string | null movedAt?: DateTimeWithAggregatesFilter<"Ticket"> | Date | string createdAt?: DateTimeWithAggregatesFilter<"Ticket"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"Ticket"> | Date | string } export type ActivityLogWhereInput = { AND?: ActivityLogWhereInput | ActivityLogWhereInput[] OR?: ActivityLogWhereInput[] NOT?: ActivityLogWhereInput | ActivityLogWhereInput[] id?: StringFilter<"ActivityLog"> | string boardId?: StringFilter<"ActivityLog"> | string ticketId?: StringNullableFilter<"ActivityLog"> | string | null ticketTitle?: StringFilter<"ActivityLog"> | string action?: StringFilter<"ActivityLog"> | string fromColumnTitle?: StringNullableFilter<"ActivityLog"> | string | null toColumnTitle?: StringNullableFilter<"ActivityLog"> | string | null userName?: StringFilter<"ActivityLog"> | string details?: StringNullableFilter<"ActivityLog"> | string | null createdAt?: DateTimeFilter<"ActivityLog"> | Date | string board?: XOR ticket?: XOR | null } export type ActivityLogOrderByWithRelationInput = { id?: SortOrder boardId?: SortOrder ticketId?: SortOrderInput | SortOrder ticketTitle?: SortOrder action?: SortOrder fromColumnTitle?: SortOrderInput | SortOrder toColumnTitle?: SortOrderInput | SortOrder userName?: SortOrder details?: SortOrderInput | SortOrder createdAt?: SortOrder board?: BoardOrderByWithRelationInput ticket?: TicketOrderByWithRelationInput } export type ActivityLogWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: ActivityLogWhereInput | ActivityLogWhereInput[] OR?: ActivityLogWhereInput[] NOT?: ActivityLogWhereInput | ActivityLogWhereInput[] boardId?: StringFilter<"ActivityLog"> | string ticketId?: StringNullableFilter<"ActivityLog"> | string | null ticketTitle?: StringFilter<"ActivityLog"> | string action?: StringFilter<"ActivityLog"> | string fromColumnTitle?: StringNullableFilter<"ActivityLog"> | string | null toColumnTitle?: StringNullableFilter<"ActivityLog"> | string | null userName?: StringFilter<"ActivityLog"> | string details?: StringNullableFilter<"ActivityLog"> | string | null createdAt?: DateTimeFilter<"ActivityLog"> | Date | string board?: XOR ticket?: XOR | null }, "id"> export type ActivityLogOrderByWithAggregationInput = { id?: SortOrder boardId?: SortOrder ticketId?: SortOrderInput | SortOrder ticketTitle?: SortOrder action?: SortOrder fromColumnTitle?: SortOrderInput | SortOrder toColumnTitle?: SortOrderInput | SortOrder userName?: SortOrder details?: SortOrderInput | SortOrder createdAt?: SortOrder _count?: ActivityLogCountOrderByAggregateInput _max?: ActivityLogMaxOrderByAggregateInput _min?: ActivityLogMinOrderByAggregateInput } export type ActivityLogScalarWhereWithAggregatesInput = { AND?: ActivityLogScalarWhereWithAggregatesInput | ActivityLogScalarWhereWithAggregatesInput[] OR?: ActivityLogScalarWhereWithAggregatesInput[] NOT?: ActivityLogScalarWhereWithAggregatesInput | ActivityLogScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"ActivityLog"> | string boardId?: StringWithAggregatesFilter<"ActivityLog"> | string ticketId?: StringNullableWithAggregatesFilter<"ActivityLog"> | string | null ticketTitle?: StringWithAggregatesFilter<"ActivityLog"> | string action?: StringWithAggregatesFilter<"ActivityLog"> | string fromColumnTitle?: StringNullableWithAggregatesFilter<"ActivityLog"> | string | null toColumnTitle?: StringNullableWithAggregatesFilter<"ActivityLog"> | string | null userName?: StringWithAggregatesFilter<"ActivityLog"> | string details?: StringNullableWithAggregatesFilter<"ActivityLog"> | string | null createdAt?: DateTimeWithAggregatesFilter<"ActivityLog"> | Date | string } export type BoardCreateInput = { id?: string title?: string adminKeyHash: string memberKeyHash: string autoMoveStale?: boolean createdAt?: Date | string updatedAt?: Date | string columns?: ColumnCreateNestedManyWithoutBoardInput activityLogs?: ActivityLogCreateNestedManyWithoutBoardInput } export type BoardUncheckedCreateInput = { id?: string title?: string adminKeyHash: string memberKeyHash: string autoMoveStale?: boolean createdAt?: Date | string updatedAt?: Date | string columns?: ColumnUncheckedCreateNestedManyWithoutBoardInput activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutBoardInput } export type BoardUpdateInput = { id?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string adminKeyHash?: StringFieldUpdateOperationsInput | string memberKeyHash?: StringFieldUpdateOperationsInput | string autoMoveStale?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string columns?: ColumnUpdateManyWithoutBoardNestedInput activityLogs?: ActivityLogUpdateManyWithoutBoardNestedInput } export type BoardUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string adminKeyHash?: StringFieldUpdateOperationsInput | string memberKeyHash?: StringFieldUpdateOperationsInput | string autoMoveStale?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string columns?: ColumnUncheckedUpdateManyWithoutBoardNestedInput activityLogs?: ActivityLogUncheckedUpdateManyWithoutBoardNestedInput } export type BoardCreateManyInput = { id?: string title?: string adminKeyHash: string memberKeyHash: string autoMoveStale?: boolean createdAt?: Date | string updatedAt?: Date | string } export type BoardUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string adminKeyHash?: StringFieldUpdateOperationsInput | string memberKeyHash?: StringFieldUpdateOperationsInput | string autoMoveStale?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type BoardUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string adminKeyHash?: StringFieldUpdateOperationsInput | string memberKeyHash?: StringFieldUpdateOperationsInput | string autoMoveStale?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ColumnCreateInput = { id?: string title: string order?: number maxWipLimit?: number autoStaleHours?: number createdAt?: Date | string updatedAt?: Date | string board: BoardCreateNestedOneWithoutColumnsInput tickets?: TicketCreateNestedManyWithoutColumnInput } export type ColumnUncheckedCreateInput = { id?: string boardId: string title: string order?: number maxWipLimit?: number autoStaleHours?: number createdAt?: Date | string updatedAt?: Date | string tickets?: TicketUncheckedCreateNestedManyWithoutColumnInput } export type ColumnUpdateInput = { id?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string order?: IntFieldUpdateOperationsInput | number maxWipLimit?: IntFieldUpdateOperationsInput | number autoStaleHours?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string board?: BoardUpdateOneRequiredWithoutColumnsNestedInput tickets?: TicketUpdateManyWithoutColumnNestedInput } export type ColumnUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string boardId?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string order?: IntFieldUpdateOperationsInput | number maxWipLimit?: IntFieldUpdateOperationsInput | number autoStaleHours?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string tickets?: TicketUncheckedUpdateManyWithoutColumnNestedInput } export type ColumnCreateManyInput = { id?: string boardId: string title: string order?: number maxWipLimit?: number autoStaleHours?: number createdAt?: Date | string updatedAt?: Date | string } export type ColumnUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string order?: IntFieldUpdateOperationsInput | number maxWipLimit?: IntFieldUpdateOperationsInput | number autoStaleHours?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ColumnUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string boardId?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string order?: IntFieldUpdateOperationsInput | number maxWipLimit?: IntFieldUpdateOperationsInput | number autoStaleHours?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type TicketCreateInput = { id?: string title: string description?: string order?: number priority?: $Enums.Priority tags?: string subtasks?: string dueDate?: string | null isBlocked?: boolean blockedReason?: string | null assignee?: string | null movedAt?: Date | string createdAt?: Date | string updatedAt?: Date | string column: ColumnCreateNestedOneWithoutTicketsInput activityLogs?: ActivityLogCreateNestedManyWithoutTicketInput } export type TicketUncheckedCreateInput = { id?: string columnId: string title: string description?: string order?: number priority?: $Enums.Priority tags?: string subtasks?: string dueDate?: string | null isBlocked?: boolean blockedReason?: string | null assignee?: string | null movedAt?: Date | string createdAt?: Date | string updatedAt?: Date | string activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTicketInput } export type TicketUpdateInput = { id?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string order?: IntFieldUpdateOperationsInput | number priority?: EnumPriorityFieldUpdateOperationsInput | $Enums.Priority tags?: StringFieldUpdateOperationsInput | string subtasks?: StringFieldUpdateOperationsInput | string dueDate?: NullableStringFieldUpdateOperationsInput | string | null isBlocked?: BoolFieldUpdateOperationsInput | boolean blockedReason?: NullableStringFieldUpdateOperationsInput | string | null assignee?: NullableStringFieldUpdateOperationsInput | string | null movedAt?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string column?: ColumnUpdateOneRequiredWithoutTicketsNestedInput activityLogs?: ActivityLogUpdateManyWithoutTicketNestedInput } export type TicketUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string columnId?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string order?: IntFieldUpdateOperationsInput | number priority?: EnumPriorityFieldUpdateOperationsInput | $Enums.Priority tags?: StringFieldUpdateOperationsInput | string subtasks?: StringFieldUpdateOperationsInput | string dueDate?: NullableStringFieldUpdateOperationsInput | string | null isBlocked?: BoolFieldUpdateOperationsInput | boolean blockedReason?: NullableStringFieldUpdateOperationsInput | string | null assignee?: NullableStringFieldUpdateOperationsInput | string | null movedAt?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string activityLogs?: ActivityLogUncheckedUpdateManyWithoutTicketNestedInput } export type TicketCreateManyInput = { id?: string columnId: string title: string description?: string order?: number priority?: $Enums.Priority tags?: string subtasks?: string dueDate?: string | null isBlocked?: boolean blockedReason?: string | null assignee?: string | null movedAt?: Date | string createdAt?: Date | string updatedAt?: Date | string } export type TicketUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string order?: IntFieldUpdateOperationsInput | number priority?: EnumPriorityFieldUpdateOperationsInput | $Enums.Priority tags?: StringFieldUpdateOperationsInput | string subtasks?: StringFieldUpdateOperationsInput | string dueDate?: NullableStringFieldUpdateOperationsInput | string | null isBlocked?: BoolFieldUpdateOperationsInput | boolean blockedReason?: NullableStringFieldUpdateOperationsInput | string | null assignee?: NullableStringFieldUpdateOperationsInput | string | null movedAt?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type TicketUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string columnId?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string order?: IntFieldUpdateOperationsInput | number priority?: EnumPriorityFieldUpdateOperationsInput | $Enums.Priority tags?: StringFieldUpdateOperationsInput | string subtasks?: StringFieldUpdateOperationsInput | string dueDate?: NullableStringFieldUpdateOperationsInput | string | null isBlocked?: BoolFieldUpdateOperationsInput | boolean blockedReason?: NullableStringFieldUpdateOperationsInput | string | null assignee?: NullableStringFieldUpdateOperationsInput | string | null movedAt?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ActivityLogCreateInput = { id?: string ticketTitle?: string action?: string fromColumnTitle?: string | null toColumnTitle?: string | null userName?: string details?: string | null createdAt?: Date | string board: BoardCreateNestedOneWithoutActivityLogsInput ticket?: TicketCreateNestedOneWithoutActivityLogsInput } export type ActivityLogUncheckedCreateInput = { id?: string boardId: string ticketId?: string | null ticketTitle?: string action?: string fromColumnTitle?: string | null toColumnTitle?: string | null userName?: string details?: string | null createdAt?: Date | string } export type ActivityLogUpdateInput = { id?: StringFieldUpdateOperationsInput | string ticketTitle?: StringFieldUpdateOperationsInput | string action?: StringFieldUpdateOperationsInput | string fromColumnTitle?: NullableStringFieldUpdateOperationsInput | string | null toColumnTitle?: NullableStringFieldUpdateOperationsInput | string | null userName?: StringFieldUpdateOperationsInput | string details?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string board?: BoardUpdateOneRequiredWithoutActivityLogsNestedInput ticket?: TicketUpdateOneWithoutActivityLogsNestedInput } export type ActivityLogUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string boardId?: StringFieldUpdateOperationsInput | string ticketId?: NullableStringFieldUpdateOperationsInput | string | null ticketTitle?: StringFieldUpdateOperationsInput | string action?: StringFieldUpdateOperationsInput | string fromColumnTitle?: NullableStringFieldUpdateOperationsInput | string | null toColumnTitle?: NullableStringFieldUpdateOperationsInput | string | null userName?: StringFieldUpdateOperationsInput | string details?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ActivityLogCreateManyInput = { id?: string boardId: string ticketId?: string | null ticketTitle?: string action?: string fromColumnTitle?: string | null toColumnTitle?: string | null userName?: string details?: string | null createdAt?: Date | string } export type ActivityLogUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string ticketTitle?: StringFieldUpdateOperationsInput | string action?: StringFieldUpdateOperationsInput | string fromColumnTitle?: NullableStringFieldUpdateOperationsInput | string | null toColumnTitle?: NullableStringFieldUpdateOperationsInput | string | null userName?: StringFieldUpdateOperationsInput | string details?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ActivityLogUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string boardId?: StringFieldUpdateOperationsInput | string ticketId?: NullableStringFieldUpdateOperationsInput | string | null ticketTitle?: StringFieldUpdateOperationsInput | string action?: StringFieldUpdateOperationsInput | string fromColumnTitle?: NullableStringFieldUpdateOperationsInput | string | null toColumnTitle?: NullableStringFieldUpdateOperationsInput | string | null userName?: StringFieldUpdateOperationsInput | string details?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type StringFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> in?: string[] | ListStringFieldRefInput<$PrismaModel> notIn?: string[] | ListStringFieldRefInput<$PrismaModel> lt?: string | StringFieldRefInput<$PrismaModel> lte?: string | StringFieldRefInput<$PrismaModel> gt?: string | StringFieldRefInput<$PrismaModel> gte?: string | StringFieldRefInput<$PrismaModel> contains?: string | StringFieldRefInput<$PrismaModel> startsWith?: string | StringFieldRefInput<$PrismaModel> endsWith?: string | StringFieldRefInput<$PrismaModel> mode?: QueryMode not?: NestedStringFilter<$PrismaModel> | string } export type BoolFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> not?: NestedBoolFilter<$PrismaModel> | boolean } export type DateTimeFilter<$PrismaModel = never> = { equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> not?: NestedDateTimeFilter<$PrismaModel> | Date | string } export type ColumnListRelationFilter = { every?: ColumnWhereInput some?: ColumnWhereInput none?: ColumnWhereInput } export type ActivityLogListRelationFilter = { every?: ActivityLogWhereInput some?: ActivityLogWhereInput none?: ActivityLogWhereInput } export type ColumnOrderByRelationAggregateInput = { _count?: SortOrder } export type ActivityLogOrderByRelationAggregateInput = { _count?: SortOrder } export type BoardCountOrderByAggregateInput = { id?: SortOrder title?: SortOrder adminKeyHash?: SortOrder memberKeyHash?: SortOrder autoMoveStale?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type BoardMaxOrderByAggregateInput = { id?: SortOrder title?: SortOrder adminKeyHash?: SortOrder memberKeyHash?: SortOrder autoMoveStale?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type BoardMinOrderByAggregateInput = { id?: SortOrder title?: SortOrder adminKeyHash?: SortOrder memberKeyHash?: SortOrder autoMoveStale?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type StringWithAggregatesFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> in?: string[] | ListStringFieldRefInput<$PrismaModel> notIn?: string[] | ListStringFieldRefInput<$PrismaModel> lt?: string | StringFieldRefInput<$PrismaModel> lte?: string | StringFieldRefInput<$PrismaModel> gt?: string | StringFieldRefInput<$PrismaModel> gte?: string | StringFieldRefInput<$PrismaModel> contains?: string | StringFieldRefInput<$PrismaModel> startsWith?: string | StringFieldRefInput<$PrismaModel> endsWith?: string | StringFieldRefInput<$PrismaModel> mode?: QueryMode not?: NestedStringWithAggregatesFilter<$PrismaModel> | string _count?: NestedIntFilter<$PrismaModel> _min?: NestedStringFilter<$PrismaModel> _max?: NestedStringFilter<$PrismaModel> } export type BoolWithAggregatesFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean _count?: NestedIntFilter<$PrismaModel> _min?: NestedBoolFilter<$PrismaModel> _max?: NestedBoolFilter<$PrismaModel> } export type DateTimeWithAggregatesFilter<$PrismaModel = never> = { equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> not?: NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string _count?: NestedIntFilter<$PrismaModel> _min?: NestedDateTimeFilter<$PrismaModel> _max?: NestedDateTimeFilter<$PrismaModel> } export type IntFilter<$PrismaModel = never> = { equals?: number | IntFieldRefInput<$PrismaModel> in?: number[] | ListIntFieldRefInput<$PrismaModel> notIn?: number[] | ListIntFieldRefInput<$PrismaModel> lt?: number | IntFieldRefInput<$PrismaModel> lte?: number | IntFieldRefInput<$PrismaModel> gt?: number | IntFieldRefInput<$PrismaModel> gte?: number | IntFieldRefInput<$PrismaModel> not?: NestedIntFilter<$PrismaModel> | number } export type BoardRelationFilter = { is?: BoardWhereInput isNot?: BoardWhereInput } export type TicketListRelationFilter = { every?: TicketWhereInput some?: TicketWhereInput none?: TicketWhereInput } export type TicketOrderByRelationAggregateInput = { _count?: SortOrder } export type ColumnCountOrderByAggregateInput = { id?: SortOrder boardId?: SortOrder title?: SortOrder order?: SortOrder maxWipLimit?: SortOrder autoStaleHours?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type ColumnAvgOrderByAggregateInput = { order?: SortOrder maxWipLimit?: SortOrder autoStaleHours?: SortOrder } export type ColumnMaxOrderByAggregateInput = { id?: SortOrder boardId?: SortOrder title?: SortOrder order?: SortOrder maxWipLimit?: SortOrder autoStaleHours?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type ColumnMinOrderByAggregateInput = { id?: SortOrder boardId?: SortOrder title?: SortOrder order?: SortOrder maxWipLimit?: SortOrder autoStaleHours?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type ColumnSumOrderByAggregateInput = { order?: SortOrder maxWipLimit?: SortOrder autoStaleHours?: SortOrder } export type IntWithAggregatesFilter<$PrismaModel = never> = { equals?: number | IntFieldRefInput<$PrismaModel> in?: number[] | ListIntFieldRefInput<$PrismaModel> notIn?: number[] | ListIntFieldRefInput<$PrismaModel> lt?: number | IntFieldRefInput<$PrismaModel> lte?: number | IntFieldRefInput<$PrismaModel> gt?: number | IntFieldRefInput<$PrismaModel> gte?: number | IntFieldRefInput<$PrismaModel> not?: NestedIntWithAggregatesFilter<$PrismaModel> | number _count?: NestedIntFilter<$PrismaModel> _avg?: NestedFloatFilter<$PrismaModel> _sum?: NestedIntFilter<$PrismaModel> _min?: NestedIntFilter<$PrismaModel> _max?: NestedIntFilter<$PrismaModel> } export type EnumPriorityFilter<$PrismaModel = never> = { equals?: $Enums.Priority | EnumPriorityFieldRefInput<$PrismaModel> in?: $Enums.Priority[] | ListEnumPriorityFieldRefInput<$PrismaModel> notIn?: $Enums.Priority[] | ListEnumPriorityFieldRefInput<$PrismaModel> not?: NestedEnumPriorityFilter<$PrismaModel> | $Enums.Priority } export type StringNullableFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> | null in?: string[] | ListStringFieldRefInput<$PrismaModel> | null notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null lt?: string | StringFieldRefInput<$PrismaModel> lte?: string | StringFieldRefInput<$PrismaModel> gt?: string | StringFieldRefInput<$PrismaModel> gte?: string | StringFieldRefInput<$PrismaModel> contains?: string | StringFieldRefInput<$PrismaModel> startsWith?: string | StringFieldRefInput<$PrismaModel> endsWith?: string | StringFieldRefInput<$PrismaModel> mode?: QueryMode not?: NestedStringNullableFilter<$PrismaModel> | string | null } export type ColumnRelationFilter = { is?: ColumnWhereInput isNot?: ColumnWhereInput } export type SortOrderInput = { sort: SortOrder nulls?: NullsOrder } export type TicketCountOrderByAggregateInput = { id?: SortOrder columnId?: SortOrder title?: SortOrder description?: SortOrder order?: SortOrder priority?: SortOrder tags?: SortOrder subtasks?: SortOrder dueDate?: SortOrder isBlocked?: SortOrder blockedReason?: SortOrder assignee?: SortOrder movedAt?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type TicketAvgOrderByAggregateInput = { order?: SortOrder } export type TicketMaxOrderByAggregateInput = { id?: SortOrder columnId?: SortOrder title?: SortOrder description?: SortOrder order?: SortOrder priority?: SortOrder tags?: SortOrder subtasks?: SortOrder dueDate?: SortOrder isBlocked?: SortOrder blockedReason?: SortOrder assignee?: SortOrder movedAt?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type TicketMinOrderByAggregateInput = { id?: SortOrder columnId?: SortOrder title?: SortOrder description?: SortOrder order?: SortOrder priority?: SortOrder tags?: SortOrder subtasks?: SortOrder dueDate?: SortOrder isBlocked?: SortOrder blockedReason?: SortOrder assignee?: SortOrder movedAt?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type TicketSumOrderByAggregateInput = { order?: SortOrder } export type EnumPriorityWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.Priority | EnumPriorityFieldRefInput<$PrismaModel> in?: $Enums.Priority[] | ListEnumPriorityFieldRefInput<$PrismaModel> notIn?: $Enums.Priority[] | ListEnumPriorityFieldRefInput<$PrismaModel> not?: NestedEnumPriorityWithAggregatesFilter<$PrismaModel> | $Enums.Priority _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumPriorityFilter<$PrismaModel> _max?: NestedEnumPriorityFilter<$PrismaModel> } export type StringNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> | null in?: string[] | ListStringFieldRefInput<$PrismaModel> | null notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null lt?: string | StringFieldRefInput<$PrismaModel> lte?: string | StringFieldRefInput<$PrismaModel> gt?: string | StringFieldRefInput<$PrismaModel> gte?: string | StringFieldRefInput<$PrismaModel> contains?: string | StringFieldRefInput<$PrismaModel> startsWith?: string | StringFieldRefInput<$PrismaModel> endsWith?: string | StringFieldRefInput<$PrismaModel> mode?: QueryMode not?: NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedStringNullableFilter<$PrismaModel> _max?: NestedStringNullableFilter<$PrismaModel> } export type TicketNullableRelationFilter = { is?: TicketWhereInput | null isNot?: TicketWhereInput | null } export type ActivityLogCountOrderByAggregateInput = { id?: SortOrder boardId?: SortOrder ticketId?: SortOrder ticketTitle?: SortOrder action?: SortOrder fromColumnTitle?: SortOrder toColumnTitle?: SortOrder userName?: SortOrder details?: SortOrder createdAt?: SortOrder } export type ActivityLogMaxOrderByAggregateInput = { id?: SortOrder boardId?: SortOrder ticketId?: SortOrder ticketTitle?: SortOrder action?: SortOrder fromColumnTitle?: SortOrder toColumnTitle?: SortOrder userName?: SortOrder details?: SortOrder createdAt?: SortOrder } export type ActivityLogMinOrderByAggregateInput = { id?: SortOrder boardId?: SortOrder ticketId?: SortOrder ticketTitle?: SortOrder action?: SortOrder fromColumnTitle?: SortOrder toColumnTitle?: SortOrder userName?: SortOrder details?: SortOrder createdAt?: SortOrder } export type ColumnCreateNestedManyWithoutBoardInput = { create?: XOR | ColumnCreateWithoutBoardInput[] | ColumnUncheckedCreateWithoutBoardInput[] connectOrCreate?: ColumnCreateOrConnectWithoutBoardInput | ColumnCreateOrConnectWithoutBoardInput[] createMany?: ColumnCreateManyBoardInputEnvelope connect?: ColumnWhereUniqueInput | ColumnWhereUniqueInput[] } export type ActivityLogCreateNestedManyWithoutBoardInput = { create?: XOR | ActivityLogCreateWithoutBoardInput[] | ActivityLogUncheckedCreateWithoutBoardInput[] connectOrCreate?: ActivityLogCreateOrConnectWithoutBoardInput | ActivityLogCreateOrConnectWithoutBoardInput[] createMany?: ActivityLogCreateManyBoardInputEnvelope connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] } export type ColumnUncheckedCreateNestedManyWithoutBoardInput = { create?: XOR | ColumnCreateWithoutBoardInput[] | ColumnUncheckedCreateWithoutBoardInput[] connectOrCreate?: ColumnCreateOrConnectWithoutBoardInput | ColumnCreateOrConnectWithoutBoardInput[] createMany?: ColumnCreateManyBoardInputEnvelope connect?: ColumnWhereUniqueInput | ColumnWhereUniqueInput[] } export type ActivityLogUncheckedCreateNestedManyWithoutBoardInput = { create?: XOR | ActivityLogCreateWithoutBoardInput[] | ActivityLogUncheckedCreateWithoutBoardInput[] connectOrCreate?: ActivityLogCreateOrConnectWithoutBoardInput | ActivityLogCreateOrConnectWithoutBoardInput[] createMany?: ActivityLogCreateManyBoardInputEnvelope connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] } export type StringFieldUpdateOperationsInput = { set?: string } export type BoolFieldUpdateOperationsInput = { set?: boolean } export type DateTimeFieldUpdateOperationsInput = { set?: Date | string } export type ColumnUpdateManyWithoutBoardNestedInput = { create?: XOR | ColumnCreateWithoutBoardInput[] | ColumnUncheckedCreateWithoutBoardInput[] connectOrCreate?: ColumnCreateOrConnectWithoutBoardInput | ColumnCreateOrConnectWithoutBoardInput[] upsert?: ColumnUpsertWithWhereUniqueWithoutBoardInput | ColumnUpsertWithWhereUniqueWithoutBoardInput[] createMany?: ColumnCreateManyBoardInputEnvelope set?: ColumnWhereUniqueInput | ColumnWhereUniqueInput[] disconnect?: ColumnWhereUniqueInput | ColumnWhereUniqueInput[] delete?: ColumnWhereUniqueInput | ColumnWhereUniqueInput[] connect?: ColumnWhereUniqueInput | ColumnWhereUniqueInput[] update?: ColumnUpdateWithWhereUniqueWithoutBoardInput | ColumnUpdateWithWhereUniqueWithoutBoardInput[] updateMany?: ColumnUpdateManyWithWhereWithoutBoardInput | ColumnUpdateManyWithWhereWithoutBoardInput[] deleteMany?: ColumnScalarWhereInput | ColumnScalarWhereInput[] } export type ActivityLogUpdateManyWithoutBoardNestedInput = { create?: XOR | ActivityLogCreateWithoutBoardInput[] | ActivityLogUncheckedCreateWithoutBoardInput[] connectOrCreate?: ActivityLogCreateOrConnectWithoutBoardInput | ActivityLogCreateOrConnectWithoutBoardInput[] upsert?: ActivityLogUpsertWithWhereUniqueWithoutBoardInput | ActivityLogUpsertWithWhereUniqueWithoutBoardInput[] createMany?: ActivityLogCreateManyBoardInputEnvelope set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] update?: ActivityLogUpdateWithWhereUniqueWithoutBoardInput | ActivityLogUpdateWithWhereUniqueWithoutBoardInput[] updateMany?: ActivityLogUpdateManyWithWhereWithoutBoardInput | ActivityLogUpdateManyWithWhereWithoutBoardInput[] deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] } export type ColumnUncheckedUpdateManyWithoutBoardNestedInput = { create?: XOR | ColumnCreateWithoutBoardInput[] | ColumnUncheckedCreateWithoutBoardInput[] connectOrCreate?: ColumnCreateOrConnectWithoutBoardInput | ColumnCreateOrConnectWithoutBoardInput[] upsert?: ColumnUpsertWithWhereUniqueWithoutBoardInput | ColumnUpsertWithWhereUniqueWithoutBoardInput[] createMany?: ColumnCreateManyBoardInputEnvelope set?: ColumnWhereUniqueInput | ColumnWhereUniqueInput[] disconnect?: ColumnWhereUniqueInput | ColumnWhereUniqueInput[] delete?: ColumnWhereUniqueInput | ColumnWhereUniqueInput[] connect?: ColumnWhereUniqueInput | ColumnWhereUniqueInput[] update?: ColumnUpdateWithWhereUniqueWithoutBoardInput | ColumnUpdateWithWhereUniqueWithoutBoardInput[] updateMany?: ColumnUpdateManyWithWhereWithoutBoardInput | ColumnUpdateManyWithWhereWithoutBoardInput[] deleteMany?: ColumnScalarWhereInput | ColumnScalarWhereInput[] } export type ActivityLogUncheckedUpdateManyWithoutBoardNestedInput = { create?: XOR | ActivityLogCreateWithoutBoardInput[] | ActivityLogUncheckedCreateWithoutBoardInput[] connectOrCreate?: ActivityLogCreateOrConnectWithoutBoardInput | ActivityLogCreateOrConnectWithoutBoardInput[] upsert?: ActivityLogUpsertWithWhereUniqueWithoutBoardInput | ActivityLogUpsertWithWhereUniqueWithoutBoardInput[] createMany?: ActivityLogCreateManyBoardInputEnvelope set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] update?: ActivityLogUpdateWithWhereUniqueWithoutBoardInput | ActivityLogUpdateWithWhereUniqueWithoutBoardInput[] updateMany?: ActivityLogUpdateManyWithWhereWithoutBoardInput | ActivityLogUpdateManyWithWhereWithoutBoardInput[] deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] } export type BoardCreateNestedOneWithoutColumnsInput = { create?: XOR connectOrCreate?: BoardCreateOrConnectWithoutColumnsInput connect?: BoardWhereUniqueInput } export type TicketCreateNestedManyWithoutColumnInput = { create?: XOR | TicketCreateWithoutColumnInput[] | TicketUncheckedCreateWithoutColumnInput[] connectOrCreate?: TicketCreateOrConnectWithoutColumnInput | TicketCreateOrConnectWithoutColumnInput[] createMany?: TicketCreateManyColumnInputEnvelope connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[] } export type TicketUncheckedCreateNestedManyWithoutColumnInput = { create?: XOR | TicketCreateWithoutColumnInput[] | TicketUncheckedCreateWithoutColumnInput[] connectOrCreate?: TicketCreateOrConnectWithoutColumnInput | TicketCreateOrConnectWithoutColumnInput[] createMany?: TicketCreateManyColumnInputEnvelope connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[] } export type IntFieldUpdateOperationsInput = { set?: number increment?: number decrement?: number multiply?: number divide?: number } export type BoardUpdateOneRequiredWithoutColumnsNestedInput = { create?: XOR connectOrCreate?: BoardCreateOrConnectWithoutColumnsInput upsert?: BoardUpsertWithoutColumnsInput connect?: BoardWhereUniqueInput update?: XOR, BoardUncheckedUpdateWithoutColumnsInput> } export type TicketUpdateManyWithoutColumnNestedInput = { create?: XOR | TicketCreateWithoutColumnInput[] | TicketUncheckedCreateWithoutColumnInput[] connectOrCreate?: TicketCreateOrConnectWithoutColumnInput | TicketCreateOrConnectWithoutColumnInput[] upsert?: TicketUpsertWithWhereUniqueWithoutColumnInput | TicketUpsertWithWhereUniqueWithoutColumnInput[] createMany?: TicketCreateManyColumnInputEnvelope set?: TicketWhereUniqueInput | TicketWhereUniqueInput[] disconnect?: TicketWhereUniqueInput | TicketWhereUniqueInput[] delete?: TicketWhereUniqueInput | TicketWhereUniqueInput[] connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[] update?: TicketUpdateWithWhereUniqueWithoutColumnInput | TicketUpdateWithWhereUniqueWithoutColumnInput[] updateMany?: TicketUpdateManyWithWhereWithoutColumnInput | TicketUpdateManyWithWhereWithoutColumnInput[] deleteMany?: TicketScalarWhereInput | TicketScalarWhereInput[] } export type TicketUncheckedUpdateManyWithoutColumnNestedInput = { create?: XOR | TicketCreateWithoutColumnInput[] | TicketUncheckedCreateWithoutColumnInput[] connectOrCreate?: TicketCreateOrConnectWithoutColumnInput | TicketCreateOrConnectWithoutColumnInput[] upsert?: TicketUpsertWithWhereUniqueWithoutColumnInput | TicketUpsertWithWhereUniqueWithoutColumnInput[] createMany?: TicketCreateManyColumnInputEnvelope set?: TicketWhereUniqueInput | TicketWhereUniqueInput[] disconnect?: TicketWhereUniqueInput | TicketWhereUniqueInput[] delete?: TicketWhereUniqueInput | TicketWhereUniqueInput[] connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[] update?: TicketUpdateWithWhereUniqueWithoutColumnInput | TicketUpdateWithWhereUniqueWithoutColumnInput[] updateMany?: TicketUpdateManyWithWhereWithoutColumnInput | TicketUpdateManyWithWhereWithoutColumnInput[] deleteMany?: TicketScalarWhereInput | TicketScalarWhereInput[] } export type ColumnCreateNestedOneWithoutTicketsInput = { create?: XOR connectOrCreate?: ColumnCreateOrConnectWithoutTicketsInput connect?: ColumnWhereUniqueInput } export type ActivityLogCreateNestedManyWithoutTicketInput = { create?: XOR | ActivityLogCreateWithoutTicketInput[] | ActivityLogUncheckedCreateWithoutTicketInput[] connectOrCreate?: ActivityLogCreateOrConnectWithoutTicketInput | ActivityLogCreateOrConnectWithoutTicketInput[] createMany?: ActivityLogCreateManyTicketInputEnvelope connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] } export type ActivityLogUncheckedCreateNestedManyWithoutTicketInput = { create?: XOR | ActivityLogCreateWithoutTicketInput[] | ActivityLogUncheckedCreateWithoutTicketInput[] connectOrCreate?: ActivityLogCreateOrConnectWithoutTicketInput | ActivityLogCreateOrConnectWithoutTicketInput[] createMany?: ActivityLogCreateManyTicketInputEnvelope connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] } export type EnumPriorityFieldUpdateOperationsInput = { set?: $Enums.Priority } export type NullableStringFieldUpdateOperationsInput = { set?: string | null } export type ColumnUpdateOneRequiredWithoutTicketsNestedInput = { create?: XOR connectOrCreate?: ColumnCreateOrConnectWithoutTicketsInput upsert?: ColumnUpsertWithoutTicketsInput connect?: ColumnWhereUniqueInput update?: XOR, ColumnUncheckedUpdateWithoutTicketsInput> } export type ActivityLogUpdateManyWithoutTicketNestedInput = { create?: XOR | ActivityLogCreateWithoutTicketInput[] | ActivityLogUncheckedCreateWithoutTicketInput[] connectOrCreate?: ActivityLogCreateOrConnectWithoutTicketInput | ActivityLogCreateOrConnectWithoutTicketInput[] upsert?: ActivityLogUpsertWithWhereUniqueWithoutTicketInput | ActivityLogUpsertWithWhereUniqueWithoutTicketInput[] createMany?: ActivityLogCreateManyTicketInputEnvelope set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] update?: ActivityLogUpdateWithWhereUniqueWithoutTicketInput | ActivityLogUpdateWithWhereUniqueWithoutTicketInput[] updateMany?: ActivityLogUpdateManyWithWhereWithoutTicketInput | ActivityLogUpdateManyWithWhereWithoutTicketInput[] deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] } export type ActivityLogUncheckedUpdateManyWithoutTicketNestedInput = { create?: XOR | ActivityLogCreateWithoutTicketInput[] | ActivityLogUncheckedCreateWithoutTicketInput[] connectOrCreate?: ActivityLogCreateOrConnectWithoutTicketInput | ActivityLogCreateOrConnectWithoutTicketInput[] upsert?: ActivityLogUpsertWithWhereUniqueWithoutTicketInput | ActivityLogUpsertWithWhereUniqueWithoutTicketInput[] createMany?: ActivityLogCreateManyTicketInputEnvelope set?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] disconnect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] delete?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] connect?: ActivityLogWhereUniqueInput | ActivityLogWhereUniqueInput[] update?: ActivityLogUpdateWithWhereUniqueWithoutTicketInput | ActivityLogUpdateWithWhereUniqueWithoutTicketInput[] updateMany?: ActivityLogUpdateManyWithWhereWithoutTicketInput | ActivityLogUpdateManyWithWhereWithoutTicketInput[] deleteMany?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] } export type BoardCreateNestedOneWithoutActivityLogsInput = { create?: XOR connectOrCreate?: BoardCreateOrConnectWithoutActivityLogsInput connect?: BoardWhereUniqueInput } export type TicketCreateNestedOneWithoutActivityLogsInput = { create?: XOR connectOrCreate?: TicketCreateOrConnectWithoutActivityLogsInput connect?: TicketWhereUniqueInput } export type BoardUpdateOneRequiredWithoutActivityLogsNestedInput = { create?: XOR connectOrCreate?: BoardCreateOrConnectWithoutActivityLogsInput upsert?: BoardUpsertWithoutActivityLogsInput connect?: BoardWhereUniqueInput update?: XOR, BoardUncheckedUpdateWithoutActivityLogsInput> } export type TicketUpdateOneWithoutActivityLogsNestedInput = { create?: XOR connectOrCreate?: TicketCreateOrConnectWithoutActivityLogsInput upsert?: TicketUpsertWithoutActivityLogsInput disconnect?: TicketWhereInput | boolean delete?: TicketWhereInput | boolean connect?: TicketWhereUniqueInput update?: XOR, TicketUncheckedUpdateWithoutActivityLogsInput> } export type NestedStringFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> in?: string[] | ListStringFieldRefInput<$PrismaModel> notIn?: string[] | ListStringFieldRefInput<$PrismaModel> lt?: string | StringFieldRefInput<$PrismaModel> lte?: string | StringFieldRefInput<$PrismaModel> gt?: string | StringFieldRefInput<$PrismaModel> gte?: string | StringFieldRefInput<$PrismaModel> contains?: string | StringFieldRefInput<$PrismaModel> startsWith?: string | StringFieldRefInput<$PrismaModel> endsWith?: string | StringFieldRefInput<$PrismaModel> not?: NestedStringFilter<$PrismaModel> | string } export type NestedBoolFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> not?: NestedBoolFilter<$PrismaModel> | boolean } export type NestedDateTimeFilter<$PrismaModel = never> = { equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> not?: NestedDateTimeFilter<$PrismaModel> | Date | string } export type NestedStringWithAggregatesFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> in?: string[] | ListStringFieldRefInput<$PrismaModel> notIn?: string[] | ListStringFieldRefInput<$PrismaModel> lt?: string | StringFieldRefInput<$PrismaModel> lte?: string | StringFieldRefInput<$PrismaModel> gt?: string | StringFieldRefInput<$PrismaModel> gte?: string | StringFieldRefInput<$PrismaModel> contains?: string | StringFieldRefInput<$PrismaModel> startsWith?: string | StringFieldRefInput<$PrismaModel> endsWith?: string | StringFieldRefInput<$PrismaModel> not?: NestedStringWithAggregatesFilter<$PrismaModel> | string _count?: NestedIntFilter<$PrismaModel> _min?: NestedStringFilter<$PrismaModel> _max?: NestedStringFilter<$PrismaModel> } export type NestedIntFilter<$PrismaModel = never> = { equals?: number | IntFieldRefInput<$PrismaModel> in?: number[] | ListIntFieldRefInput<$PrismaModel> notIn?: number[] | ListIntFieldRefInput<$PrismaModel> lt?: number | IntFieldRefInput<$PrismaModel> lte?: number | IntFieldRefInput<$PrismaModel> gt?: number | IntFieldRefInput<$PrismaModel> gte?: number | IntFieldRefInput<$PrismaModel> not?: NestedIntFilter<$PrismaModel> | number } export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean _count?: NestedIntFilter<$PrismaModel> _min?: NestedBoolFilter<$PrismaModel> _max?: NestedBoolFilter<$PrismaModel> } export type NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = { equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> not?: NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string _count?: NestedIntFilter<$PrismaModel> _min?: NestedDateTimeFilter<$PrismaModel> _max?: NestedDateTimeFilter<$PrismaModel> } export type NestedIntWithAggregatesFilter<$PrismaModel = never> = { equals?: number | IntFieldRefInput<$PrismaModel> in?: number[] | ListIntFieldRefInput<$PrismaModel> notIn?: number[] | ListIntFieldRefInput<$PrismaModel> lt?: number | IntFieldRefInput<$PrismaModel> lte?: number | IntFieldRefInput<$PrismaModel> gt?: number | IntFieldRefInput<$PrismaModel> gte?: number | IntFieldRefInput<$PrismaModel> not?: NestedIntWithAggregatesFilter<$PrismaModel> | number _count?: NestedIntFilter<$PrismaModel> _avg?: NestedFloatFilter<$PrismaModel> _sum?: NestedIntFilter<$PrismaModel> _min?: NestedIntFilter<$PrismaModel> _max?: NestedIntFilter<$PrismaModel> } export type NestedFloatFilter<$PrismaModel = never> = { equals?: number | FloatFieldRefInput<$PrismaModel> in?: number[] | ListFloatFieldRefInput<$PrismaModel> notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> lt?: number | FloatFieldRefInput<$PrismaModel> lte?: number | FloatFieldRefInput<$PrismaModel> gt?: number | FloatFieldRefInput<$PrismaModel> gte?: number | FloatFieldRefInput<$PrismaModel> not?: NestedFloatFilter<$PrismaModel> | number } export type NestedEnumPriorityFilter<$PrismaModel = never> = { equals?: $Enums.Priority | EnumPriorityFieldRefInput<$PrismaModel> in?: $Enums.Priority[] | ListEnumPriorityFieldRefInput<$PrismaModel> notIn?: $Enums.Priority[] | ListEnumPriorityFieldRefInput<$PrismaModel> not?: NestedEnumPriorityFilter<$PrismaModel> | $Enums.Priority } export type NestedStringNullableFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> | null in?: string[] | ListStringFieldRefInput<$PrismaModel> | null notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null lt?: string | StringFieldRefInput<$PrismaModel> lte?: string | StringFieldRefInput<$PrismaModel> gt?: string | StringFieldRefInput<$PrismaModel> gte?: string | StringFieldRefInput<$PrismaModel> contains?: string | StringFieldRefInput<$PrismaModel> startsWith?: string | StringFieldRefInput<$PrismaModel> endsWith?: string | StringFieldRefInput<$PrismaModel> not?: NestedStringNullableFilter<$PrismaModel> | string | null } export type NestedEnumPriorityWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.Priority | EnumPriorityFieldRefInput<$PrismaModel> in?: $Enums.Priority[] | ListEnumPriorityFieldRefInput<$PrismaModel> notIn?: $Enums.Priority[] | ListEnumPriorityFieldRefInput<$PrismaModel> not?: NestedEnumPriorityWithAggregatesFilter<$PrismaModel> | $Enums.Priority _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumPriorityFilter<$PrismaModel> _max?: NestedEnumPriorityFilter<$PrismaModel> } export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> | null in?: string[] | ListStringFieldRefInput<$PrismaModel> | null notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null lt?: string | StringFieldRefInput<$PrismaModel> lte?: string | StringFieldRefInput<$PrismaModel> gt?: string | StringFieldRefInput<$PrismaModel> gte?: string | StringFieldRefInput<$PrismaModel> contains?: string | StringFieldRefInput<$PrismaModel> startsWith?: string | StringFieldRefInput<$PrismaModel> endsWith?: string | StringFieldRefInput<$PrismaModel> not?: NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedStringNullableFilter<$PrismaModel> _max?: NestedStringNullableFilter<$PrismaModel> } export type NestedIntNullableFilter<$PrismaModel = never> = { equals?: number | IntFieldRefInput<$PrismaModel> | null in?: number[] | ListIntFieldRefInput<$PrismaModel> | null notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null lt?: number | IntFieldRefInput<$PrismaModel> lte?: number | IntFieldRefInput<$PrismaModel> gt?: number | IntFieldRefInput<$PrismaModel> gte?: number | IntFieldRefInput<$PrismaModel> not?: NestedIntNullableFilter<$PrismaModel> | number | null } export type ColumnCreateWithoutBoardInput = { id?: string title: string order?: number maxWipLimit?: number autoStaleHours?: number createdAt?: Date | string updatedAt?: Date | string tickets?: TicketCreateNestedManyWithoutColumnInput } export type ColumnUncheckedCreateWithoutBoardInput = { id?: string title: string order?: number maxWipLimit?: number autoStaleHours?: number createdAt?: Date | string updatedAt?: Date | string tickets?: TicketUncheckedCreateNestedManyWithoutColumnInput } export type ColumnCreateOrConnectWithoutBoardInput = { where: ColumnWhereUniqueInput create: XOR } export type ColumnCreateManyBoardInputEnvelope = { data: ColumnCreateManyBoardInput | ColumnCreateManyBoardInput[] skipDuplicates?: boolean } export type ActivityLogCreateWithoutBoardInput = { id?: string ticketTitle?: string action?: string fromColumnTitle?: string | null toColumnTitle?: string | null userName?: string details?: string | null createdAt?: Date | string ticket?: TicketCreateNestedOneWithoutActivityLogsInput } export type ActivityLogUncheckedCreateWithoutBoardInput = { id?: string ticketId?: string | null ticketTitle?: string action?: string fromColumnTitle?: string | null toColumnTitle?: string | null userName?: string details?: string | null createdAt?: Date | string } export type ActivityLogCreateOrConnectWithoutBoardInput = { where: ActivityLogWhereUniqueInput create: XOR } export type ActivityLogCreateManyBoardInputEnvelope = { data: ActivityLogCreateManyBoardInput | ActivityLogCreateManyBoardInput[] skipDuplicates?: boolean } export type ColumnUpsertWithWhereUniqueWithoutBoardInput = { where: ColumnWhereUniqueInput update: XOR create: XOR } export type ColumnUpdateWithWhereUniqueWithoutBoardInput = { where: ColumnWhereUniqueInput data: XOR } export type ColumnUpdateManyWithWhereWithoutBoardInput = { where: ColumnScalarWhereInput data: XOR } export type ColumnScalarWhereInput = { AND?: ColumnScalarWhereInput | ColumnScalarWhereInput[] OR?: ColumnScalarWhereInput[] NOT?: ColumnScalarWhereInput | ColumnScalarWhereInput[] id?: StringFilter<"Column"> | string boardId?: StringFilter<"Column"> | string title?: StringFilter<"Column"> | string order?: IntFilter<"Column"> | number maxWipLimit?: IntFilter<"Column"> | number autoStaleHours?: IntFilter<"Column"> | number createdAt?: DateTimeFilter<"Column"> | Date | string updatedAt?: DateTimeFilter<"Column"> | Date | string } export type ActivityLogUpsertWithWhereUniqueWithoutBoardInput = { where: ActivityLogWhereUniqueInput update: XOR create: XOR } export type ActivityLogUpdateWithWhereUniqueWithoutBoardInput = { where: ActivityLogWhereUniqueInput data: XOR } export type ActivityLogUpdateManyWithWhereWithoutBoardInput = { where: ActivityLogScalarWhereInput data: XOR } export type ActivityLogScalarWhereInput = { AND?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] OR?: ActivityLogScalarWhereInput[] NOT?: ActivityLogScalarWhereInput | ActivityLogScalarWhereInput[] id?: StringFilter<"ActivityLog"> | string boardId?: StringFilter<"ActivityLog"> | string ticketId?: StringNullableFilter<"ActivityLog"> | string | null ticketTitle?: StringFilter<"ActivityLog"> | string action?: StringFilter<"ActivityLog"> | string fromColumnTitle?: StringNullableFilter<"ActivityLog"> | string | null toColumnTitle?: StringNullableFilter<"ActivityLog"> | string | null userName?: StringFilter<"ActivityLog"> | string details?: StringNullableFilter<"ActivityLog"> | string | null createdAt?: DateTimeFilter<"ActivityLog"> | Date | string } export type BoardCreateWithoutColumnsInput = { id?: string title?: string adminKeyHash: string memberKeyHash: string autoMoveStale?: boolean createdAt?: Date | string updatedAt?: Date | string activityLogs?: ActivityLogCreateNestedManyWithoutBoardInput } export type BoardUncheckedCreateWithoutColumnsInput = { id?: string title?: string adminKeyHash: string memberKeyHash: string autoMoveStale?: boolean createdAt?: Date | string updatedAt?: Date | string activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutBoardInput } export type BoardCreateOrConnectWithoutColumnsInput = { where: BoardWhereUniqueInput create: XOR } export type TicketCreateWithoutColumnInput = { id?: string title: string description?: string order?: number priority?: $Enums.Priority tags?: string subtasks?: string dueDate?: string | null isBlocked?: boolean blockedReason?: string | null assignee?: string | null movedAt?: Date | string createdAt?: Date | string updatedAt?: Date | string activityLogs?: ActivityLogCreateNestedManyWithoutTicketInput } export type TicketUncheckedCreateWithoutColumnInput = { id?: string title: string description?: string order?: number priority?: $Enums.Priority tags?: string subtasks?: string dueDate?: string | null isBlocked?: boolean blockedReason?: string | null assignee?: string | null movedAt?: Date | string createdAt?: Date | string updatedAt?: Date | string activityLogs?: ActivityLogUncheckedCreateNestedManyWithoutTicketInput } export type TicketCreateOrConnectWithoutColumnInput = { where: TicketWhereUniqueInput create: XOR } export type TicketCreateManyColumnInputEnvelope = { data: TicketCreateManyColumnInput | TicketCreateManyColumnInput[] skipDuplicates?: boolean } export type BoardUpsertWithoutColumnsInput = { update: XOR create: XOR where?: BoardWhereInput } export type BoardUpdateToOneWithWhereWithoutColumnsInput = { where?: BoardWhereInput data: XOR } export type BoardUpdateWithoutColumnsInput = { id?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string adminKeyHash?: StringFieldUpdateOperationsInput | string memberKeyHash?: StringFieldUpdateOperationsInput | string autoMoveStale?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string activityLogs?: ActivityLogUpdateManyWithoutBoardNestedInput } export type BoardUncheckedUpdateWithoutColumnsInput = { id?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string adminKeyHash?: StringFieldUpdateOperationsInput | string memberKeyHash?: StringFieldUpdateOperationsInput | string autoMoveStale?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string activityLogs?: ActivityLogUncheckedUpdateManyWithoutBoardNestedInput } export type TicketUpsertWithWhereUniqueWithoutColumnInput = { where: TicketWhereUniqueInput update: XOR create: XOR } export type TicketUpdateWithWhereUniqueWithoutColumnInput = { where: TicketWhereUniqueInput data: XOR } export type TicketUpdateManyWithWhereWithoutColumnInput = { where: TicketScalarWhereInput data: XOR } export type TicketScalarWhereInput = { AND?: TicketScalarWhereInput | TicketScalarWhereInput[] OR?: TicketScalarWhereInput[] NOT?: TicketScalarWhereInput | TicketScalarWhereInput[] id?: StringFilter<"Ticket"> | string columnId?: StringFilter<"Ticket"> | string title?: StringFilter<"Ticket"> | string description?: StringFilter<"Ticket"> | string order?: IntFilter<"Ticket"> | number priority?: EnumPriorityFilter<"Ticket"> | $Enums.Priority tags?: StringFilter<"Ticket"> | string subtasks?: StringFilter<"Ticket"> | string dueDate?: StringNullableFilter<"Ticket"> | string | null isBlocked?: BoolFilter<"Ticket"> | boolean blockedReason?: StringNullableFilter<"Ticket"> | string | null assignee?: StringNullableFilter<"Ticket"> | string | null movedAt?: DateTimeFilter<"Ticket"> | Date | string createdAt?: DateTimeFilter<"Ticket"> | Date | string updatedAt?: DateTimeFilter<"Ticket"> | Date | string } export type ColumnCreateWithoutTicketsInput = { id?: string title: string order?: number maxWipLimit?: number autoStaleHours?: number createdAt?: Date | string updatedAt?: Date | string board: BoardCreateNestedOneWithoutColumnsInput } export type ColumnUncheckedCreateWithoutTicketsInput = { id?: string boardId: string title: string order?: number maxWipLimit?: number autoStaleHours?: number createdAt?: Date | string updatedAt?: Date | string } export type ColumnCreateOrConnectWithoutTicketsInput = { where: ColumnWhereUniqueInput create: XOR } export type ActivityLogCreateWithoutTicketInput = { id?: string ticketTitle?: string action?: string fromColumnTitle?: string | null toColumnTitle?: string | null userName?: string details?: string | null createdAt?: Date | string board: BoardCreateNestedOneWithoutActivityLogsInput } export type ActivityLogUncheckedCreateWithoutTicketInput = { id?: string boardId: string ticketTitle?: string action?: string fromColumnTitle?: string | null toColumnTitle?: string | null userName?: string details?: string | null createdAt?: Date | string } export type ActivityLogCreateOrConnectWithoutTicketInput = { where: ActivityLogWhereUniqueInput create: XOR } export type ActivityLogCreateManyTicketInputEnvelope = { data: ActivityLogCreateManyTicketInput | ActivityLogCreateManyTicketInput[] skipDuplicates?: boolean } export type ColumnUpsertWithoutTicketsInput = { update: XOR create: XOR where?: ColumnWhereInput } export type ColumnUpdateToOneWithWhereWithoutTicketsInput = { where?: ColumnWhereInput data: XOR } export type ColumnUpdateWithoutTicketsInput = { id?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string order?: IntFieldUpdateOperationsInput | number maxWipLimit?: IntFieldUpdateOperationsInput | number autoStaleHours?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string board?: BoardUpdateOneRequiredWithoutColumnsNestedInput } export type ColumnUncheckedUpdateWithoutTicketsInput = { id?: StringFieldUpdateOperationsInput | string boardId?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string order?: IntFieldUpdateOperationsInput | number maxWipLimit?: IntFieldUpdateOperationsInput | number autoStaleHours?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ActivityLogUpsertWithWhereUniqueWithoutTicketInput = { where: ActivityLogWhereUniqueInput update: XOR create: XOR } export type ActivityLogUpdateWithWhereUniqueWithoutTicketInput = { where: ActivityLogWhereUniqueInput data: XOR } export type ActivityLogUpdateManyWithWhereWithoutTicketInput = { where: ActivityLogScalarWhereInput data: XOR } export type BoardCreateWithoutActivityLogsInput = { id?: string title?: string adminKeyHash: string memberKeyHash: string autoMoveStale?: boolean createdAt?: Date | string updatedAt?: Date | string columns?: ColumnCreateNestedManyWithoutBoardInput } export type BoardUncheckedCreateWithoutActivityLogsInput = { id?: string title?: string adminKeyHash: string memberKeyHash: string autoMoveStale?: boolean createdAt?: Date | string updatedAt?: Date | string columns?: ColumnUncheckedCreateNestedManyWithoutBoardInput } export type BoardCreateOrConnectWithoutActivityLogsInput = { where: BoardWhereUniqueInput create: XOR } export type TicketCreateWithoutActivityLogsInput = { id?: string title: string description?: string order?: number priority?: $Enums.Priority tags?: string subtasks?: string dueDate?: string | null isBlocked?: boolean blockedReason?: string | null assignee?: string | null movedAt?: Date | string createdAt?: Date | string updatedAt?: Date | string column: ColumnCreateNestedOneWithoutTicketsInput } export type TicketUncheckedCreateWithoutActivityLogsInput = { id?: string columnId: string title: string description?: string order?: number priority?: $Enums.Priority tags?: string subtasks?: string dueDate?: string | null isBlocked?: boolean blockedReason?: string | null assignee?: string | null movedAt?: Date | string createdAt?: Date | string updatedAt?: Date | string } export type TicketCreateOrConnectWithoutActivityLogsInput = { where: TicketWhereUniqueInput create: XOR } export type BoardUpsertWithoutActivityLogsInput = { update: XOR create: XOR where?: BoardWhereInput } export type BoardUpdateToOneWithWhereWithoutActivityLogsInput = { where?: BoardWhereInput data: XOR } export type BoardUpdateWithoutActivityLogsInput = { id?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string adminKeyHash?: StringFieldUpdateOperationsInput | string memberKeyHash?: StringFieldUpdateOperationsInput | string autoMoveStale?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string columns?: ColumnUpdateManyWithoutBoardNestedInput } export type BoardUncheckedUpdateWithoutActivityLogsInput = { id?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string adminKeyHash?: StringFieldUpdateOperationsInput | string memberKeyHash?: StringFieldUpdateOperationsInput | string autoMoveStale?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string columns?: ColumnUncheckedUpdateManyWithoutBoardNestedInput } export type TicketUpsertWithoutActivityLogsInput = { update: XOR create: XOR where?: TicketWhereInput } export type TicketUpdateToOneWithWhereWithoutActivityLogsInput = { where?: TicketWhereInput data: XOR } export type TicketUpdateWithoutActivityLogsInput = { id?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string order?: IntFieldUpdateOperationsInput | number priority?: EnumPriorityFieldUpdateOperationsInput | $Enums.Priority tags?: StringFieldUpdateOperationsInput | string subtasks?: StringFieldUpdateOperationsInput | string dueDate?: NullableStringFieldUpdateOperationsInput | string | null isBlocked?: BoolFieldUpdateOperationsInput | boolean blockedReason?: NullableStringFieldUpdateOperationsInput | string | null assignee?: NullableStringFieldUpdateOperationsInput | string | null movedAt?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string column?: ColumnUpdateOneRequiredWithoutTicketsNestedInput } export type TicketUncheckedUpdateWithoutActivityLogsInput = { id?: StringFieldUpdateOperationsInput | string columnId?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string order?: IntFieldUpdateOperationsInput | number priority?: EnumPriorityFieldUpdateOperationsInput | $Enums.Priority tags?: StringFieldUpdateOperationsInput | string subtasks?: StringFieldUpdateOperationsInput | string dueDate?: NullableStringFieldUpdateOperationsInput | string | null isBlocked?: BoolFieldUpdateOperationsInput | boolean blockedReason?: NullableStringFieldUpdateOperationsInput | string | null assignee?: NullableStringFieldUpdateOperationsInput | string | null movedAt?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ColumnCreateManyBoardInput = { id?: string title: string order?: number maxWipLimit?: number autoStaleHours?: number createdAt?: Date | string updatedAt?: Date | string } export type ActivityLogCreateManyBoardInput = { id?: string ticketId?: string | null ticketTitle?: string action?: string fromColumnTitle?: string | null toColumnTitle?: string | null userName?: string details?: string | null createdAt?: Date | string } export type ColumnUpdateWithoutBoardInput = { id?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string order?: IntFieldUpdateOperationsInput | number maxWipLimit?: IntFieldUpdateOperationsInput | number autoStaleHours?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string tickets?: TicketUpdateManyWithoutColumnNestedInput } export type ColumnUncheckedUpdateWithoutBoardInput = { id?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string order?: IntFieldUpdateOperationsInput | number maxWipLimit?: IntFieldUpdateOperationsInput | number autoStaleHours?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string tickets?: TicketUncheckedUpdateManyWithoutColumnNestedInput } export type ColumnUncheckedUpdateManyWithoutBoardInput = { id?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string order?: IntFieldUpdateOperationsInput | number maxWipLimit?: IntFieldUpdateOperationsInput | number autoStaleHours?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ActivityLogUpdateWithoutBoardInput = { id?: StringFieldUpdateOperationsInput | string ticketTitle?: StringFieldUpdateOperationsInput | string action?: StringFieldUpdateOperationsInput | string fromColumnTitle?: NullableStringFieldUpdateOperationsInput | string | null toColumnTitle?: NullableStringFieldUpdateOperationsInput | string | null userName?: StringFieldUpdateOperationsInput | string details?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string ticket?: TicketUpdateOneWithoutActivityLogsNestedInput } export type ActivityLogUncheckedUpdateWithoutBoardInput = { id?: StringFieldUpdateOperationsInput | string ticketId?: NullableStringFieldUpdateOperationsInput | string | null ticketTitle?: StringFieldUpdateOperationsInput | string action?: StringFieldUpdateOperationsInput | string fromColumnTitle?: NullableStringFieldUpdateOperationsInput | string | null toColumnTitle?: NullableStringFieldUpdateOperationsInput | string | null userName?: StringFieldUpdateOperationsInput | string details?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ActivityLogUncheckedUpdateManyWithoutBoardInput = { id?: StringFieldUpdateOperationsInput | string ticketId?: NullableStringFieldUpdateOperationsInput | string | null ticketTitle?: StringFieldUpdateOperationsInput | string action?: StringFieldUpdateOperationsInput | string fromColumnTitle?: NullableStringFieldUpdateOperationsInput | string | null toColumnTitle?: NullableStringFieldUpdateOperationsInput | string | null userName?: StringFieldUpdateOperationsInput | string details?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type TicketCreateManyColumnInput = { id?: string title: string description?: string order?: number priority?: $Enums.Priority tags?: string subtasks?: string dueDate?: string | null isBlocked?: boolean blockedReason?: string | null assignee?: string | null movedAt?: Date | string createdAt?: Date | string updatedAt?: Date | string } export type TicketUpdateWithoutColumnInput = { id?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string order?: IntFieldUpdateOperationsInput | number priority?: EnumPriorityFieldUpdateOperationsInput | $Enums.Priority tags?: StringFieldUpdateOperationsInput | string subtasks?: StringFieldUpdateOperationsInput | string dueDate?: NullableStringFieldUpdateOperationsInput | string | null isBlocked?: BoolFieldUpdateOperationsInput | boolean blockedReason?: NullableStringFieldUpdateOperationsInput | string | null assignee?: NullableStringFieldUpdateOperationsInput | string | null movedAt?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string activityLogs?: ActivityLogUpdateManyWithoutTicketNestedInput } export type TicketUncheckedUpdateWithoutColumnInput = { id?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string order?: IntFieldUpdateOperationsInput | number priority?: EnumPriorityFieldUpdateOperationsInput | $Enums.Priority tags?: StringFieldUpdateOperationsInput | string subtasks?: StringFieldUpdateOperationsInput | string dueDate?: NullableStringFieldUpdateOperationsInput | string | null isBlocked?: BoolFieldUpdateOperationsInput | boolean blockedReason?: NullableStringFieldUpdateOperationsInput | string | null assignee?: NullableStringFieldUpdateOperationsInput | string | null movedAt?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string activityLogs?: ActivityLogUncheckedUpdateManyWithoutTicketNestedInput } export type TicketUncheckedUpdateManyWithoutColumnInput = { id?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string order?: IntFieldUpdateOperationsInput | number priority?: EnumPriorityFieldUpdateOperationsInput | $Enums.Priority tags?: StringFieldUpdateOperationsInput | string subtasks?: StringFieldUpdateOperationsInput | string dueDate?: NullableStringFieldUpdateOperationsInput | string | null isBlocked?: BoolFieldUpdateOperationsInput | boolean blockedReason?: NullableStringFieldUpdateOperationsInput | string | null assignee?: NullableStringFieldUpdateOperationsInput | string | null movedAt?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ActivityLogCreateManyTicketInput = { id?: string boardId: string ticketTitle?: string action?: string fromColumnTitle?: string | null toColumnTitle?: string | null userName?: string details?: string | null createdAt?: Date | string } export type ActivityLogUpdateWithoutTicketInput = { id?: StringFieldUpdateOperationsInput | string ticketTitle?: StringFieldUpdateOperationsInput | string action?: StringFieldUpdateOperationsInput | string fromColumnTitle?: NullableStringFieldUpdateOperationsInput | string | null toColumnTitle?: NullableStringFieldUpdateOperationsInput | string | null userName?: StringFieldUpdateOperationsInput | string details?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string board?: BoardUpdateOneRequiredWithoutActivityLogsNestedInput } export type ActivityLogUncheckedUpdateWithoutTicketInput = { id?: StringFieldUpdateOperationsInput | string boardId?: StringFieldUpdateOperationsInput | string ticketTitle?: StringFieldUpdateOperationsInput | string action?: StringFieldUpdateOperationsInput | string fromColumnTitle?: NullableStringFieldUpdateOperationsInput | string | null toColumnTitle?: NullableStringFieldUpdateOperationsInput | string | null userName?: StringFieldUpdateOperationsInput | string details?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ActivityLogUncheckedUpdateManyWithoutTicketInput = { id?: StringFieldUpdateOperationsInput | string boardId?: StringFieldUpdateOperationsInput | string ticketTitle?: StringFieldUpdateOperationsInput | string action?: StringFieldUpdateOperationsInput | string fromColumnTitle?: NullableStringFieldUpdateOperationsInput | string | null toColumnTitle?: NullableStringFieldUpdateOperationsInput | string | null userName?: StringFieldUpdateOperationsInput | string details?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } /** * Aliases for legacy arg types */ /** * @deprecated Use BoardCountOutputTypeDefaultArgs instead */ export type BoardCountOutputTypeArgs = BoardCountOutputTypeDefaultArgs /** * @deprecated Use ColumnCountOutputTypeDefaultArgs instead */ export type ColumnCountOutputTypeArgs = ColumnCountOutputTypeDefaultArgs /** * @deprecated Use TicketCountOutputTypeDefaultArgs instead */ export type TicketCountOutputTypeArgs = TicketCountOutputTypeDefaultArgs /** * @deprecated Use BoardDefaultArgs instead */ export type BoardArgs = BoardDefaultArgs /** * @deprecated Use ColumnDefaultArgs instead */ export type ColumnArgs = ColumnDefaultArgs /** * @deprecated Use TicketDefaultArgs instead */ export type TicketArgs = TicketDefaultArgs /** * @deprecated Use ActivityLogDefaultArgs instead */ export type ActivityLogArgs = ActivityLogDefaultArgs /** * Batch Payload for updateMany & deleteMany & createMany */ export type BatchPayload = { count: number } /** * DMMF */ export const dmmf: runtime.BaseDMMF }