/** * Client **/ import * as runtime from './runtime/client.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 Memory * */ export type Memory = $Result.DefaultSelection /** * Model Project * */ export type Project = $Result.DefaultSelection /** * Model Document * */ export type Document = $Result.DefaultSelection /** * Model SearchQuery * */ export type SearchQuery = $Result.DefaultSelection /** * Model CacheStats * */ export type CacheStats = $Result.DefaultSelection /** * Model Workspace * */ export type Workspace = $Result.DefaultSelection /** * Model GraphGeneration * */ export type GraphGeneration = $Result.DefaultSelection /** * Model SymbolFile * */ export type SymbolFile = $Result.DefaultSelection /** * Model SymbolDefinition * */ export type SymbolDefinition = $Result.DefaultSelection /** * Model SymbolReference * */ export type SymbolReference = $Result.DefaultSelection /** * Model SymbolImport * */ export type SymbolImport = $Result.DefaultSelection /** * Model SymbolCentrality * */ export type SymbolCentrality = $Result.DefaultSelection /** * Model MemoryEdge * */ export type MemoryEdge = $Result.DefaultSelection /** * Model Observation * */ export type Observation = $Result.DefaultSelection /** * Model Handoff * */ export type Handoff = $Result.DefaultSelection /** * Model Proposal * */ export type Proposal = $Result.DefaultSelection /** * Model EmbeddingCache * */ export type EmbeddingCache = $Result.DefaultSelection /** * Model VectorDocument1024 * */ export type VectorDocument1024 = $Result.DefaultSelection /** * Model VectorDocument1536 * */ export type VectorDocument1536 = $Result.DefaultSelection /** * Model VectorDocument3072 * */ export type VectorDocument3072 = $Result.DefaultSelection /** * Model VectorDocumentLegacy * */ export type VectorDocumentLegacy = $Result.DefaultSelection /** * Model VectorDocument4096 * */ export type VectorDocument4096 = $Result.DefaultSelection /** * Model IndexJob * */ export type IndexJob = $Result.DefaultSelection /** * Model ScheduledJob * */ export type ScheduledJob = $Result.DefaultSelection /** * Model SynapseSession * */ export type SynapseSession = $Result.DefaultSelection /** * Model SynapseAccessHistory * */ export type SynapseAccessHistory = $Result.DefaultSelection /** * Model Checkpoint * */ export type Checkpoint = $Result.DefaultSelection /** * ## Prisma Client ʲˢ * * Type-safe database client for TypeScript & Node.js * @example * ``` * const prisma = new PrismaClient({ * adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL }) * }) * // Fetch zero or more Memories * const memories = await prisma.memory.findMany() * ``` * * * Read more in our [docs](https://pris.ly/d/client). */ export class PrismaClient< ClientOptions extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions, const 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({ * adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL }) * }) * // Fetch zero or more Memories * const memories = await prisma.memory.findMany() * ``` * * * Read more in our [docs](https://pris.ly/d/client). */ constructor(optionsArg ?: Prisma.Subset); $on(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): PrismaClient; /** * Connect with the database */ $connect(): $Utils.JsPromise; /** * Disconnect from the database */ $disconnect(): $Utils.JsPromise; /** * 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://pris.ly/d/raw-queries). */ $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://pris.ly/d/raw-queries). */ $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://pris.ly/d/raw-queries). */ $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://pris.ly/d/raw-queries). */ $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/orm/prisma-client/queries/transactions). */ $transaction

[]>(arg: [...P], options?: { maxWait?: number, timeout?: number, 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, $Utils.Call, { extArgs: ExtArgs }>> /** * `prisma.memory`: Exposes CRUD operations for the **Memory** model. * Example usage: * ```ts * // Fetch zero or more Memories * const memories = await prisma.memory.findMany() * ``` */ get memory(): Prisma.MemoryDelegate; /** * `prisma.project`: Exposes CRUD operations for the **Project** model. * Example usage: * ```ts * // Fetch zero or more Projects * const projects = await prisma.project.findMany() * ``` */ get project(): Prisma.ProjectDelegate; /** * `prisma.document`: Exposes CRUD operations for the **Document** model. * Example usage: * ```ts * // Fetch zero or more Documents * const documents = await prisma.document.findMany() * ``` */ get document(): Prisma.DocumentDelegate; /** * `prisma.searchQuery`: Exposes CRUD operations for the **SearchQuery** model. * Example usage: * ```ts * // Fetch zero or more SearchQueries * const searchQueries = await prisma.searchQuery.findMany() * ``` */ get searchQuery(): Prisma.SearchQueryDelegate; /** * `prisma.cacheStats`: Exposes CRUD operations for the **CacheStats** model. * Example usage: * ```ts * // Fetch zero or more CacheStats * const cacheStats = await prisma.cacheStats.findMany() * ``` */ get cacheStats(): Prisma.CacheStatsDelegate; /** * `prisma.workspace`: Exposes CRUD operations for the **Workspace** model. * Example usage: * ```ts * // Fetch zero or more Workspaces * const workspaces = await prisma.workspace.findMany() * ``` */ get workspace(): Prisma.WorkspaceDelegate; /** * `prisma.graphGeneration`: Exposes CRUD operations for the **GraphGeneration** model. * Example usage: * ```ts * // Fetch zero or more GraphGenerations * const graphGenerations = await prisma.graphGeneration.findMany() * ``` */ get graphGeneration(): Prisma.GraphGenerationDelegate; /** * `prisma.symbolFile`: Exposes CRUD operations for the **SymbolFile** model. * Example usage: * ```ts * // Fetch zero or more SymbolFiles * const symbolFiles = await prisma.symbolFile.findMany() * ``` */ get symbolFile(): Prisma.SymbolFileDelegate; /** * `prisma.symbolDefinition`: Exposes CRUD operations for the **SymbolDefinition** model. * Example usage: * ```ts * // Fetch zero or more SymbolDefinitions * const symbolDefinitions = await prisma.symbolDefinition.findMany() * ``` */ get symbolDefinition(): Prisma.SymbolDefinitionDelegate; /** * `prisma.symbolReference`: Exposes CRUD operations for the **SymbolReference** model. * Example usage: * ```ts * // Fetch zero or more SymbolReferences * const symbolReferences = await prisma.symbolReference.findMany() * ``` */ get symbolReference(): Prisma.SymbolReferenceDelegate; /** * `prisma.symbolImport`: Exposes CRUD operations for the **SymbolImport** model. * Example usage: * ```ts * // Fetch zero or more SymbolImports * const symbolImports = await prisma.symbolImport.findMany() * ``` */ get symbolImport(): Prisma.SymbolImportDelegate; /** * `prisma.symbolCentrality`: Exposes CRUD operations for the **SymbolCentrality** model. * Example usage: * ```ts * // Fetch zero or more SymbolCentralities * const symbolCentralities = await prisma.symbolCentrality.findMany() * ``` */ get symbolCentrality(): Prisma.SymbolCentralityDelegate; /** * `prisma.memoryEdge`: Exposes CRUD operations for the **MemoryEdge** model. * Example usage: * ```ts * // Fetch zero or more MemoryEdges * const memoryEdges = await prisma.memoryEdge.findMany() * ``` */ get memoryEdge(): Prisma.MemoryEdgeDelegate; /** * `prisma.observation`: Exposes CRUD operations for the **Observation** model. * Example usage: * ```ts * // Fetch zero or more Observations * const observations = await prisma.observation.findMany() * ``` */ get observation(): Prisma.ObservationDelegate; /** * `prisma.handoff`: Exposes CRUD operations for the **Handoff** model. * Example usage: * ```ts * // Fetch zero or more Handoffs * const handoffs = await prisma.handoff.findMany() * ``` */ get handoff(): Prisma.HandoffDelegate; /** * `prisma.proposal`: Exposes CRUD operations for the **Proposal** model. * Example usage: * ```ts * // Fetch zero or more Proposals * const proposals = await prisma.proposal.findMany() * ``` */ get proposal(): Prisma.ProposalDelegate; /** * `prisma.embeddingCache`: Exposes CRUD operations for the **EmbeddingCache** model. * Example usage: * ```ts * // Fetch zero or more EmbeddingCaches * const embeddingCaches = await prisma.embeddingCache.findMany() * ``` */ get embeddingCache(): Prisma.EmbeddingCacheDelegate; /** * `prisma.vectorDocument1024`: Exposes CRUD operations for the **VectorDocument1024** model. * Example usage: * ```ts * // Fetch zero or more VectorDocument1024s * const vectorDocument1024s = await prisma.vectorDocument1024.findMany() * ``` */ get vectorDocument1024(): Prisma.VectorDocument1024Delegate; /** * `prisma.vectorDocument1536`: Exposes CRUD operations for the **VectorDocument1536** model. * Example usage: * ```ts * // Fetch zero or more VectorDocument1536s * const vectorDocument1536s = await prisma.vectorDocument1536.findMany() * ``` */ get vectorDocument1536(): Prisma.VectorDocument1536Delegate; /** * `prisma.vectorDocument3072`: Exposes CRUD operations for the **VectorDocument3072** model. * Example usage: * ```ts * // Fetch zero or more VectorDocument3072s * const vectorDocument3072s = await prisma.vectorDocument3072.findMany() * ``` */ get vectorDocument3072(): Prisma.VectorDocument3072Delegate; /** * `prisma.vectorDocumentLegacy`: Exposes CRUD operations for the **VectorDocumentLegacy** model. * Example usage: * ```ts * // Fetch zero or more VectorDocumentLegacies * const vectorDocumentLegacies = await prisma.vectorDocumentLegacy.findMany() * ``` */ get vectorDocumentLegacy(): Prisma.VectorDocumentLegacyDelegate; /** * `prisma.vectorDocument4096`: Exposes CRUD operations for the **VectorDocument4096** model. * Example usage: * ```ts * // Fetch zero or more VectorDocument4096s * const vectorDocument4096s = await prisma.vectorDocument4096.findMany() * ``` */ get vectorDocument4096(): Prisma.VectorDocument4096Delegate; /** * `prisma.indexJob`: Exposes CRUD operations for the **IndexJob** model. * Example usage: * ```ts * // Fetch zero or more IndexJobs * const indexJobs = await prisma.indexJob.findMany() * ``` */ get indexJob(): Prisma.IndexJobDelegate; /** * `prisma.scheduledJob`: Exposes CRUD operations for the **ScheduledJob** model. * Example usage: * ```ts * // Fetch zero or more ScheduledJobs * const scheduledJobs = await prisma.scheduledJob.findMany() * ``` */ get scheduledJob(): Prisma.ScheduledJobDelegate; /** * `prisma.synapseSession`: Exposes CRUD operations for the **SynapseSession** model. * Example usage: * ```ts * // Fetch zero or more SynapseSessions * const synapseSessions = await prisma.synapseSession.findMany() * ``` */ get synapseSession(): Prisma.SynapseSessionDelegate; /** * `prisma.synapseAccessHistory`: Exposes CRUD operations for the **SynapseAccessHistory** model. * Example usage: * ```ts * // Fetch zero or more SynapseAccessHistories * const synapseAccessHistories = await prisma.synapseAccessHistory.findMany() * ``` */ get synapseAccessHistory(): Prisma.SynapseAccessHistoryDelegate; /** * `prisma.checkpoint`: Exposes CRUD operations for the **Checkpoint** model. * Example usage: * ```ts * // Fetch zero or more Checkpoints * const checkpoints = await prisma.checkpoint.findMany() * ``` */ get checkpoint(): Prisma.CheckpointDelegate; } 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 /** * 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 /** * 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: 7.8.0 * Query Engine version: 3c6e192761c0362d496ed980de936e2f3cebcd3a */ export type PrismaVersion = { client: string engine: string } export const prismaVersion: PrismaVersion /** * Utility Types */ export import Bytes = runtime.Bytes 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 ? P : 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: { Memory: 'Memory', Project: 'Project', Document: 'Document', SearchQuery: 'SearchQuery', CacheStats: 'CacheStats', Workspace: 'Workspace', GraphGeneration: 'GraphGeneration', SymbolFile: 'SymbolFile', SymbolDefinition: 'SymbolDefinition', SymbolReference: 'SymbolReference', SymbolImport: 'SymbolImport', SymbolCentrality: 'SymbolCentrality', MemoryEdge: 'MemoryEdge', Observation: 'Observation', Handoff: 'Handoff', Proposal: 'Proposal', EmbeddingCache: 'EmbeddingCache', VectorDocument1024: 'VectorDocument1024', VectorDocument1536: 'VectorDocument1536', VectorDocument3072: 'VectorDocument3072', VectorDocumentLegacy: 'VectorDocumentLegacy', VectorDocument4096: 'VectorDocument4096', IndexJob: 'IndexJob', ScheduledJob: 'ScheduledJob', SynapseSession: 'SynapseSession', SynapseAccessHistory: 'SynapseAccessHistory', Checkpoint: 'Checkpoint' }; export type ModelName = (typeof ModelName)[keyof typeof ModelName] interface TypeMapCb extends $Utils.Fn<{extArgs: $Extensions.InternalArgs }, $Utils.Record> { returns: Prisma.TypeMap } export type TypeMap = { globalOmitOptions: { omit: GlobalOmitOptions } meta: { modelProps: "memory" | "project" | "document" | "searchQuery" | "cacheStats" | "workspace" | "graphGeneration" | "symbolFile" | "symbolDefinition" | "symbolReference" | "symbolImport" | "symbolCentrality" | "memoryEdge" | "observation" | "handoff" | "proposal" | "embeddingCache" | "vectorDocument1024" | "vectorDocument1536" | "vectorDocument3072" | "vectorDocumentLegacy" | "vectorDocument4096" | "indexJob" | "scheduledJob" | "synapseSession" | "synapseAccessHistory" | "checkpoint" txIsolationLevel: Prisma.TransactionIsolationLevel } model: { Memory: { payload: Prisma.$MemoryPayload fields: Prisma.MemoryFieldRefs operations: { findUnique: { args: Prisma.MemoryFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.MemoryFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.MemoryFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.MemoryFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.MemoryFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.MemoryCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.MemoryCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.MemoryCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.MemoryDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.MemoryUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.MemoryDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.MemoryUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.MemoryUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.MemoryUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.MemoryAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.MemoryGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.MemoryCountArgs result: $Utils.Optional | number } } } Project: { payload: Prisma.$ProjectPayload fields: Prisma.ProjectFieldRefs operations: { findUnique: { args: Prisma.ProjectFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.ProjectFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.ProjectFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.ProjectFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.ProjectFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.ProjectCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.ProjectCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.ProjectCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.ProjectDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.ProjectUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.ProjectDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.ProjectUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.ProjectUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.ProjectUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.ProjectAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.ProjectGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.ProjectCountArgs result: $Utils.Optional | number } } } Document: { payload: Prisma.$DocumentPayload fields: Prisma.DocumentFieldRefs operations: { findUnique: { args: Prisma.DocumentFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.DocumentFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.DocumentFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.DocumentFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.DocumentFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.DocumentCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.DocumentCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.DocumentCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.DocumentDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.DocumentUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.DocumentDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.DocumentUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.DocumentUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.DocumentUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.DocumentAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.DocumentGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.DocumentCountArgs result: $Utils.Optional | number } } } SearchQuery: { payload: Prisma.$SearchQueryPayload fields: Prisma.SearchQueryFieldRefs operations: { findUnique: { args: Prisma.SearchQueryFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.SearchQueryFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.SearchQueryFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.SearchQueryFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.SearchQueryFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.SearchQueryCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.SearchQueryCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.SearchQueryCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.SearchQueryDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.SearchQueryUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.SearchQueryDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.SearchQueryUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.SearchQueryUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.SearchQueryUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.SearchQueryAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.SearchQueryGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.SearchQueryCountArgs result: $Utils.Optional | number } } } CacheStats: { payload: Prisma.$CacheStatsPayload fields: Prisma.CacheStatsFieldRefs operations: { findUnique: { args: Prisma.CacheStatsFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.CacheStatsFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.CacheStatsFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.CacheStatsFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.CacheStatsFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.CacheStatsCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.CacheStatsCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.CacheStatsCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.CacheStatsDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.CacheStatsUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.CacheStatsDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.CacheStatsUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.CacheStatsUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.CacheStatsUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.CacheStatsAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.CacheStatsGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.CacheStatsCountArgs result: $Utils.Optional | number } } } Workspace: { payload: Prisma.$WorkspacePayload fields: Prisma.WorkspaceFieldRefs operations: { findUnique: { args: Prisma.WorkspaceFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.WorkspaceFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.WorkspaceFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.WorkspaceFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.WorkspaceFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.WorkspaceCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.WorkspaceCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.WorkspaceCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.WorkspaceDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.WorkspaceUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.WorkspaceDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.WorkspaceUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.WorkspaceUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.WorkspaceUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.WorkspaceAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.WorkspaceGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.WorkspaceCountArgs result: $Utils.Optional | number } } } GraphGeneration: { payload: Prisma.$GraphGenerationPayload fields: Prisma.GraphGenerationFieldRefs operations: { findUnique: { args: Prisma.GraphGenerationFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.GraphGenerationFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.GraphGenerationFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.GraphGenerationFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.GraphGenerationFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.GraphGenerationCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.GraphGenerationCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.GraphGenerationCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.GraphGenerationDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.GraphGenerationUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.GraphGenerationDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.GraphGenerationUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.GraphGenerationUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.GraphGenerationUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.GraphGenerationAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.GraphGenerationGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.GraphGenerationCountArgs result: $Utils.Optional | number } } } SymbolFile: { payload: Prisma.$SymbolFilePayload fields: Prisma.SymbolFileFieldRefs operations: { findUnique: { args: Prisma.SymbolFileFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.SymbolFileFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.SymbolFileFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.SymbolFileFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.SymbolFileFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.SymbolFileCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.SymbolFileCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.SymbolFileCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.SymbolFileDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.SymbolFileUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.SymbolFileDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.SymbolFileUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.SymbolFileUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.SymbolFileUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.SymbolFileAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.SymbolFileGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.SymbolFileCountArgs result: $Utils.Optional | number } } } SymbolDefinition: { payload: Prisma.$SymbolDefinitionPayload fields: Prisma.SymbolDefinitionFieldRefs operations: { findUnique: { args: Prisma.SymbolDefinitionFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.SymbolDefinitionFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.SymbolDefinitionFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.SymbolDefinitionFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.SymbolDefinitionFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.SymbolDefinitionCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.SymbolDefinitionCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.SymbolDefinitionCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.SymbolDefinitionDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.SymbolDefinitionUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.SymbolDefinitionDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.SymbolDefinitionUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.SymbolDefinitionUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.SymbolDefinitionUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.SymbolDefinitionAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.SymbolDefinitionGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.SymbolDefinitionCountArgs result: $Utils.Optional | number } } } SymbolReference: { payload: Prisma.$SymbolReferencePayload fields: Prisma.SymbolReferenceFieldRefs operations: { findUnique: { args: Prisma.SymbolReferenceFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.SymbolReferenceFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.SymbolReferenceFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.SymbolReferenceFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.SymbolReferenceFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.SymbolReferenceCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.SymbolReferenceCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.SymbolReferenceCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.SymbolReferenceDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.SymbolReferenceUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.SymbolReferenceDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.SymbolReferenceUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.SymbolReferenceUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.SymbolReferenceUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.SymbolReferenceAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.SymbolReferenceGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.SymbolReferenceCountArgs result: $Utils.Optional | number } } } SymbolImport: { payload: Prisma.$SymbolImportPayload fields: Prisma.SymbolImportFieldRefs operations: { findUnique: { args: Prisma.SymbolImportFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.SymbolImportFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.SymbolImportFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.SymbolImportFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.SymbolImportFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.SymbolImportCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.SymbolImportCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.SymbolImportCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.SymbolImportDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.SymbolImportUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.SymbolImportDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.SymbolImportUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.SymbolImportUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.SymbolImportUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.SymbolImportAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.SymbolImportGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.SymbolImportCountArgs result: $Utils.Optional | number } } } SymbolCentrality: { payload: Prisma.$SymbolCentralityPayload fields: Prisma.SymbolCentralityFieldRefs operations: { findUnique: { args: Prisma.SymbolCentralityFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.SymbolCentralityFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.SymbolCentralityFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.SymbolCentralityFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.SymbolCentralityFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.SymbolCentralityCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.SymbolCentralityCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.SymbolCentralityCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.SymbolCentralityDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.SymbolCentralityUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.SymbolCentralityDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.SymbolCentralityUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.SymbolCentralityUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.SymbolCentralityUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.SymbolCentralityAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.SymbolCentralityGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.SymbolCentralityCountArgs result: $Utils.Optional | number } } } MemoryEdge: { payload: Prisma.$MemoryEdgePayload fields: Prisma.MemoryEdgeFieldRefs operations: { findUnique: { args: Prisma.MemoryEdgeFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.MemoryEdgeFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.MemoryEdgeFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.MemoryEdgeFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.MemoryEdgeFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.MemoryEdgeCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.MemoryEdgeCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.MemoryEdgeCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.MemoryEdgeDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.MemoryEdgeUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.MemoryEdgeDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.MemoryEdgeUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.MemoryEdgeUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.MemoryEdgeUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.MemoryEdgeAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.MemoryEdgeGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.MemoryEdgeCountArgs result: $Utils.Optional | number } } } Observation: { payload: Prisma.$ObservationPayload fields: Prisma.ObservationFieldRefs operations: { findUnique: { args: Prisma.ObservationFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.ObservationFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.ObservationFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.ObservationFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.ObservationFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.ObservationCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.ObservationCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.ObservationCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.ObservationDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.ObservationUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.ObservationDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.ObservationUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.ObservationUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.ObservationUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.ObservationAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.ObservationGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.ObservationCountArgs result: $Utils.Optional | number } } } Handoff: { payload: Prisma.$HandoffPayload fields: Prisma.HandoffFieldRefs operations: { findUnique: { args: Prisma.HandoffFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.HandoffFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.HandoffFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.HandoffFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.HandoffFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.HandoffCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.HandoffCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.HandoffCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.HandoffDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.HandoffUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.HandoffDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.HandoffUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.HandoffUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.HandoffUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.HandoffAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.HandoffGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.HandoffCountArgs result: $Utils.Optional | number } } } Proposal: { payload: Prisma.$ProposalPayload fields: Prisma.ProposalFieldRefs operations: { findUnique: { args: Prisma.ProposalFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.ProposalFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.ProposalFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.ProposalFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.ProposalFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.ProposalCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.ProposalCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.ProposalCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.ProposalDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.ProposalUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.ProposalDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.ProposalUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.ProposalUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.ProposalUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.ProposalAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.ProposalGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.ProposalCountArgs result: $Utils.Optional | number } } } EmbeddingCache: { payload: Prisma.$EmbeddingCachePayload fields: Prisma.EmbeddingCacheFieldRefs operations: { findUnique: { args: Prisma.EmbeddingCacheFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.EmbeddingCacheFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.EmbeddingCacheFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.EmbeddingCacheFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.EmbeddingCacheFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.EmbeddingCacheCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.EmbeddingCacheCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.EmbeddingCacheCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.EmbeddingCacheDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.EmbeddingCacheUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.EmbeddingCacheDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.EmbeddingCacheUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.EmbeddingCacheUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.EmbeddingCacheUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.EmbeddingCacheAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.EmbeddingCacheGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.EmbeddingCacheCountArgs result: $Utils.Optional | number } } } VectorDocument1024: { payload: Prisma.$VectorDocument1024Payload fields: Prisma.VectorDocument1024FieldRefs operations: { findUnique: { args: Prisma.VectorDocument1024FindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.VectorDocument1024FindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.VectorDocument1024FindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.VectorDocument1024FindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.VectorDocument1024FindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.VectorDocument1024CreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.VectorDocument1024CreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.VectorDocument1024CreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.VectorDocument1024DeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.VectorDocument1024UpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.VectorDocument1024DeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.VectorDocument1024UpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.VectorDocument1024UpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.VectorDocument1024UpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.VectorDocument1024AggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.VectorDocument1024GroupByArgs result: $Utils.Optional[] } count: { args: Prisma.VectorDocument1024CountArgs result: $Utils.Optional | number } } } VectorDocument1536: { payload: Prisma.$VectorDocument1536Payload fields: Prisma.VectorDocument1536FieldRefs operations: { findUnique: { args: Prisma.VectorDocument1536FindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.VectorDocument1536FindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.VectorDocument1536FindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.VectorDocument1536FindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.VectorDocument1536FindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.VectorDocument1536CreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.VectorDocument1536CreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.VectorDocument1536CreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.VectorDocument1536DeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.VectorDocument1536UpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.VectorDocument1536DeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.VectorDocument1536UpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.VectorDocument1536UpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.VectorDocument1536UpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.VectorDocument1536AggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.VectorDocument1536GroupByArgs result: $Utils.Optional[] } count: { args: Prisma.VectorDocument1536CountArgs result: $Utils.Optional | number } } } VectorDocument3072: { payload: Prisma.$VectorDocument3072Payload fields: Prisma.VectorDocument3072FieldRefs operations: { findUnique: { args: Prisma.VectorDocument3072FindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.VectorDocument3072FindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.VectorDocument3072FindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.VectorDocument3072FindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.VectorDocument3072FindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.VectorDocument3072CreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.VectorDocument3072CreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.VectorDocument3072CreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.VectorDocument3072DeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.VectorDocument3072UpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.VectorDocument3072DeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.VectorDocument3072UpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.VectorDocument3072UpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.VectorDocument3072UpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.VectorDocument3072AggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.VectorDocument3072GroupByArgs result: $Utils.Optional[] } count: { args: Prisma.VectorDocument3072CountArgs result: $Utils.Optional | number } } } VectorDocumentLegacy: { payload: Prisma.$VectorDocumentLegacyPayload fields: Prisma.VectorDocumentLegacyFieldRefs operations: { findUnique: { args: Prisma.VectorDocumentLegacyFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.VectorDocumentLegacyFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.VectorDocumentLegacyFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.VectorDocumentLegacyFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.VectorDocumentLegacyFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.VectorDocumentLegacyCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.VectorDocumentLegacyCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.VectorDocumentLegacyCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.VectorDocumentLegacyDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.VectorDocumentLegacyUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.VectorDocumentLegacyDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.VectorDocumentLegacyUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.VectorDocumentLegacyUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.VectorDocumentLegacyUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.VectorDocumentLegacyAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.VectorDocumentLegacyGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.VectorDocumentLegacyCountArgs result: $Utils.Optional | number } } } VectorDocument4096: { payload: Prisma.$VectorDocument4096Payload fields: Prisma.VectorDocument4096FieldRefs operations: { findUnique: { args: Prisma.VectorDocument4096FindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.VectorDocument4096FindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.VectorDocument4096FindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.VectorDocument4096FindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.VectorDocument4096FindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.VectorDocument4096CreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.VectorDocument4096CreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.VectorDocument4096CreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.VectorDocument4096DeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.VectorDocument4096UpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.VectorDocument4096DeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.VectorDocument4096UpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.VectorDocument4096UpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.VectorDocument4096UpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.VectorDocument4096AggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.VectorDocument4096GroupByArgs result: $Utils.Optional[] } count: { args: Prisma.VectorDocument4096CountArgs result: $Utils.Optional | number } } } IndexJob: { payload: Prisma.$IndexJobPayload fields: Prisma.IndexJobFieldRefs operations: { findUnique: { args: Prisma.IndexJobFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.IndexJobFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.IndexJobFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.IndexJobFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.IndexJobFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.IndexJobCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.IndexJobCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.IndexJobCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.IndexJobDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.IndexJobUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.IndexJobDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.IndexJobUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.IndexJobUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.IndexJobUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.IndexJobAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.IndexJobGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.IndexJobCountArgs result: $Utils.Optional | number } } } ScheduledJob: { payload: Prisma.$ScheduledJobPayload fields: Prisma.ScheduledJobFieldRefs operations: { findUnique: { args: Prisma.ScheduledJobFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.ScheduledJobFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.ScheduledJobFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.ScheduledJobFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.ScheduledJobFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.ScheduledJobCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.ScheduledJobCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.ScheduledJobCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.ScheduledJobDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.ScheduledJobUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.ScheduledJobDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.ScheduledJobUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.ScheduledJobUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.ScheduledJobUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.ScheduledJobAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.ScheduledJobGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.ScheduledJobCountArgs result: $Utils.Optional | number } } } SynapseSession: { payload: Prisma.$SynapseSessionPayload fields: Prisma.SynapseSessionFieldRefs operations: { findUnique: { args: Prisma.SynapseSessionFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.SynapseSessionFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.SynapseSessionFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.SynapseSessionFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.SynapseSessionFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.SynapseSessionCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.SynapseSessionCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.SynapseSessionCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.SynapseSessionDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.SynapseSessionUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.SynapseSessionDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.SynapseSessionUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.SynapseSessionUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.SynapseSessionUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.SynapseSessionAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.SynapseSessionGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.SynapseSessionCountArgs result: $Utils.Optional | number } } } SynapseAccessHistory: { payload: Prisma.$SynapseAccessHistoryPayload fields: Prisma.SynapseAccessHistoryFieldRefs operations: { findUnique: { args: Prisma.SynapseAccessHistoryFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.SynapseAccessHistoryFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.SynapseAccessHistoryFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.SynapseAccessHistoryFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.SynapseAccessHistoryFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.SynapseAccessHistoryCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.SynapseAccessHistoryCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.SynapseAccessHistoryCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.SynapseAccessHistoryDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.SynapseAccessHistoryUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.SynapseAccessHistoryDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.SynapseAccessHistoryUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.SynapseAccessHistoryUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.SynapseAccessHistoryUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.SynapseAccessHistoryAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.SynapseAccessHistoryGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.SynapseAccessHistoryCountArgs result: $Utils.Optional | number } } } Checkpoint: { payload: Prisma.$CheckpointPayload fields: Prisma.CheckpointFieldRefs operations: { findUnique: { args: Prisma.CheckpointFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.CheckpointFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.CheckpointFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.CheckpointFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.CheckpointFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.CheckpointCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.CheckpointCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.CheckpointCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.CheckpointDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.CheckpointUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.CheckpointDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.CheckpointUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.CheckpointUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.CheckpointUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.CheckpointAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.CheckpointGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.CheckpointCountArgs 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 { /** * @default "colorless" */ errorFormat?: ErrorFormat /** * @example * ``` * // Shorthand for `emit: 'stdout'` * log: ['query', 'info', 'warn', 'error'] * * // Emit as events only * log: [ * { emit: 'event', level: 'query' }, * { emit: 'event', level: 'info' }, * { emit: 'event', level: 'warn' } * { emit: 'event', level: 'error' } * ] * * / Emit as events and log to stdout * og: [ * { emit: 'stdout', level: 'query' }, * { emit: 'stdout', level: 'info' }, * { emit: 'stdout', level: 'warn' } * { emit: 'stdout', level: 'error' } * * ``` * Read more in our [docs](https://pris.ly/d/logging). */ log?: (LogLevel | LogDefinition)[] /** * The default values for transactionOptions * maxWait ?= 2000 * timeout ?= 5000 */ transactionOptions?: { maxWait?: number timeout?: number isolationLevel?: Prisma.TransactionIsolationLevel } /** * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale` */ adapter?: runtime.SqlDriverAdapterFactory /** * Prisma Accelerate URL allowing the client to connect through Accelerate instead of a direct database. */ accelerateUrl?: string /** * Global configuration for omitting model fields by default. * * @example * ``` * const prisma = new PrismaClient({ * omit: { * user: { * password: true * } * } * }) * ``` */ omit?: Prisma.GlobalOmitConfig /** * SQL commenter plugins that add metadata to SQL queries as comments. * Comments follow the sqlcommenter format: https://google.github.io/sqlcommenter/ * * @example * ``` * const prisma = new PrismaClient({ * adapter, * comments: [ * traceContext(), * queryInsights(), * ], * }) * ``` */ comments?: runtime.SqlCommenterPlugin[] } export type GlobalOmitConfig = { memory?: MemoryOmit project?: ProjectOmit document?: DocumentOmit searchQuery?: SearchQueryOmit cacheStats?: CacheStatsOmit workspace?: WorkspaceOmit graphGeneration?: GraphGenerationOmit symbolFile?: SymbolFileOmit symbolDefinition?: SymbolDefinitionOmit symbolReference?: SymbolReferenceOmit symbolImport?: SymbolImportOmit symbolCentrality?: SymbolCentralityOmit memoryEdge?: MemoryEdgeOmit observation?: ObservationOmit handoff?: HandoffOmit proposal?: ProposalOmit embeddingCache?: EmbeddingCacheOmit vectorDocument1024?: VectorDocument1024Omit vectorDocument1536?: VectorDocument1536Omit vectorDocument3072?: VectorDocument3072Omit vectorDocumentLegacy?: VectorDocumentLegacyOmit vectorDocument4096?: VectorDocument4096Omit indexJob?: IndexJobOmit scheduledJob?: ScheduledJobOmit synapseSession?: SynapseSessionOmit synapseAccessHistory?: SynapseAccessHistoryOmit checkpoint?: CheckpointOmit } /* Types for Logging */ export type LogLevel = 'info' | 'query' | 'warn' | 'error' export type LogDefinition = { level: LogLevel emit: 'stdout' | 'event' } export type CheckIsLogLevel = T extends LogLevel ? T : never; export type GetLogType = CheckIsLogLevel< T extends LogDefinition ? T['level'] : T >; export type GetEvents = T extends Array ? 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' | 'updateManyAndReturn' | 'upsert' | 'delete' | 'deleteMany' | 'executeRaw' | 'queryRaw' | 'aggregate' | 'count' | 'runCommandRaw' | 'findRaw' | 'groupBy' // 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 MemoryCountOutputType */ export type MemoryCountOutputType = { edgesFrom: number edgesTo: number } export type MemoryCountOutputTypeSelect = { edgesFrom?: boolean | MemoryCountOutputTypeCountEdgesFromArgs edgesTo?: boolean | MemoryCountOutputTypeCountEdgesToArgs } // Custom InputTypes /** * MemoryCountOutputType without action */ export type MemoryCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the MemoryCountOutputType */ select?: MemoryCountOutputTypeSelect | null } /** * MemoryCountOutputType without action */ export type MemoryCountOutputTypeCountEdgesFromArgs = { where?: MemoryEdgeWhereInput } /** * MemoryCountOutputType without action */ export type MemoryCountOutputTypeCountEdgesToArgs = { where?: MemoryEdgeWhereInput } /** * Count Type ProjectCountOutputType */ export type ProjectCountOutputType = { documents: number } export type ProjectCountOutputTypeSelect = { documents?: boolean | ProjectCountOutputTypeCountDocumentsArgs } // Custom InputTypes /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the ProjectCountOutputType */ select?: ProjectCountOutputTypeSelect | null } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountDocumentsArgs = { where?: DocumentWhereInput } /** * Count Type WorkspaceCountOutputType */ export type WorkspaceCountOutputType = { files: number definitions: number references: number imports: number centralities: number graphGenerations: number } export type WorkspaceCountOutputTypeSelect = { files?: boolean | WorkspaceCountOutputTypeCountFilesArgs definitions?: boolean | WorkspaceCountOutputTypeCountDefinitionsArgs references?: boolean | WorkspaceCountOutputTypeCountReferencesArgs imports?: boolean | WorkspaceCountOutputTypeCountImportsArgs centralities?: boolean | WorkspaceCountOutputTypeCountCentralitiesArgs graphGenerations?: boolean | WorkspaceCountOutputTypeCountGraphGenerationsArgs } // Custom InputTypes /** * WorkspaceCountOutputType without action */ export type WorkspaceCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the WorkspaceCountOutputType */ select?: WorkspaceCountOutputTypeSelect | null } /** * WorkspaceCountOutputType without action */ export type WorkspaceCountOutputTypeCountFilesArgs = { where?: SymbolFileWhereInput } /** * WorkspaceCountOutputType without action */ export type WorkspaceCountOutputTypeCountDefinitionsArgs = { where?: SymbolDefinitionWhereInput } /** * WorkspaceCountOutputType without action */ export type WorkspaceCountOutputTypeCountReferencesArgs = { where?: SymbolReferenceWhereInput } /** * WorkspaceCountOutputType without action */ export type WorkspaceCountOutputTypeCountImportsArgs = { where?: SymbolImportWhereInput } /** * WorkspaceCountOutputType without action */ export type WorkspaceCountOutputTypeCountCentralitiesArgs = { where?: SymbolCentralityWhereInput } /** * WorkspaceCountOutputType without action */ export type WorkspaceCountOutputTypeCountGraphGenerationsArgs = { where?: GraphGenerationWhereInput } /** * Count Type GraphGenerationCountOutputType */ export type GraphGenerationCountOutputType = { files: number definitions: number references: number imports: number centralities: number activeForWorkspaces: number pendingForWorkspaces: number } export type GraphGenerationCountOutputTypeSelect = { files?: boolean | GraphGenerationCountOutputTypeCountFilesArgs definitions?: boolean | GraphGenerationCountOutputTypeCountDefinitionsArgs references?: boolean | GraphGenerationCountOutputTypeCountReferencesArgs imports?: boolean | GraphGenerationCountOutputTypeCountImportsArgs centralities?: boolean | GraphGenerationCountOutputTypeCountCentralitiesArgs activeForWorkspaces?: boolean | GraphGenerationCountOutputTypeCountActiveForWorkspacesArgs pendingForWorkspaces?: boolean | GraphGenerationCountOutputTypeCountPendingForWorkspacesArgs } // Custom InputTypes /** * GraphGenerationCountOutputType without action */ export type GraphGenerationCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the GraphGenerationCountOutputType */ select?: GraphGenerationCountOutputTypeSelect | null } /** * GraphGenerationCountOutputType without action */ export type GraphGenerationCountOutputTypeCountFilesArgs = { where?: SymbolFileWhereInput } /** * GraphGenerationCountOutputType without action */ export type GraphGenerationCountOutputTypeCountDefinitionsArgs = { where?: SymbolDefinitionWhereInput } /** * GraphGenerationCountOutputType without action */ export type GraphGenerationCountOutputTypeCountReferencesArgs = { where?: SymbolReferenceWhereInput } /** * GraphGenerationCountOutputType without action */ export type GraphGenerationCountOutputTypeCountImportsArgs = { where?: SymbolImportWhereInput } /** * GraphGenerationCountOutputType without action */ export type GraphGenerationCountOutputTypeCountCentralitiesArgs = { where?: SymbolCentralityWhereInput } /** * GraphGenerationCountOutputType without action */ export type GraphGenerationCountOutputTypeCountActiveForWorkspacesArgs = { where?: WorkspaceWhereInput } /** * GraphGenerationCountOutputType without action */ export type GraphGenerationCountOutputTypeCountPendingForWorkspacesArgs = { where?: WorkspaceWhereInput } /** * Models */ /** * Model Memory */ export type AggregateMemory = { _count: MemoryCountAggregateOutputType | null _avg: MemoryAvgAggregateOutputType | null _sum: MemorySumAggregateOutputType | null _min: MemoryMinAggregateOutputType | null _max: MemoryMaxAggregateOutputType | null } export type MemoryAvgAggregateOutputType = { level: number | null importance: number | null accessCount: number | null } export type MemorySumAggregateOutputType = { level: number | null importance: number | null accessCount: number | null } export type MemoryMinAggregateOutputType = { id: string | null content: string | null type: string | null level: number | null userId: string | null sessionId: string | null projectId: string | null agentId: string | null importance: number | null embedding: Bytes | null createdAt: Date | null updatedAt: Date | null accessCount: number | null lastAccessed: Date | null pinned: boolean | null deletedAt: Date | null } export type MemoryMaxAggregateOutputType = { id: string | null content: string | null type: string | null level: number | null userId: string | null sessionId: string | null projectId: string | null agentId: string | null importance: number | null embedding: Bytes | null createdAt: Date | null updatedAt: Date | null accessCount: number | null lastAccessed: Date | null pinned: boolean | null deletedAt: Date | null } export type MemoryCountAggregateOutputType = { id: number content: number type: number level: number userId: number sessionId: number projectId: number agentId: number importance: number tags: number embedding: number metadata: number createdAt: number updatedAt: number accessCount: number lastAccessed: number pinned: number deletedAt: number _all: number } export type MemoryAvgAggregateInputType = { level?: true importance?: true accessCount?: true } export type MemorySumAggregateInputType = { level?: true importance?: true accessCount?: true } export type MemoryMinAggregateInputType = { id?: true content?: true type?: true level?: true userId?: true sessionId?: true projectId?: true agentId?: true importance?: true embedding?: true createdAt?: true updatedAt?: true accessCount?: true lastAccessed?: true pinned?: true deletedAt?: true } export type MemoryMaxAggregateInputType = { id?: true content?: true type?: true level?: true userId?: true sessionId?: true projectId?: true agentId?: true importance?: true embedding?: true createdAt?: true updatedAt?: true accessCount?: true lastAccessed?: true pinned?: true deletedAt?: true } export type MemoryCountAggregateInputType = { id?: true content?: true type?: true level?: true userId?: true sessionId?: true projectId?: true agentId?: true importance?: true tags?: true embedding?: true metadata?: true createdAt?: true updatedAt?: true accessCount?: true lastAccessed?: true pinned?: true deletedAt?: true _all?: true } export type MemoryAggregateArgs = { /** * Filter which Memory to aggregate. */ where?: MemoryWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Memories to fetch. */ orderBy?: MemoryOrderByWithRelationInput | MemoryOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: MemoryWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Memories 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` Memories. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Memories **/ _count?: true | MemoryCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: MemoryAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: MemorySumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: MemoryMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: MemoryMaxAggregateInputType } export type GetMemoryAggregateType = { [P in keyof T & keyof AggregateMemory]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type MemoryGroupByArgs = { where?: MemoryWhereInput orderBy?: MemoryOrderByWithAggregationInput | MemoryOrderByWithAggregationInput[] by: MemoryScalarFieldEnum[] | MemoryScalarFieldEnum having?: MemoryScalarWhereWithAggregatesInput take?: number skip?: number _count?: MemoryCountAggregateInputType | true _avg?: MemoryAvgAggregateInputType _sum?: MemorySumAggregateInputType _min?: MemoryMinAggregateInputType _max?: MemoryMaxAggregateInputType } export type MemoryGroupByOutputType = { id: string content: string type: string level: number userId: string | null sessionId: string | null projectId: string | null agentId: string | null importance: number tags: string[] embedding: Bytes | null metadata: JsonValue | null createdAt: Date updatedAt: Date accessCount: number lastAccessed: Date | null pinned: boolean deletedAt: Date | null _count: MemoryCountAggregateOutputType | null _avg: MemoryAvgAggregateOutputType | null _sum: MemorySumAggregateOutputType | null _min: MemoryMinAggregateOutputType | null _max: MemoryMaxAggregateOutputType | null } type GetMemoryGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof MemoryGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type MemorySelect = $Extensions.GetSelect<{ id?: boolean content?: boolean type?: boolean level?: boolean userId?: boolean sessionId?: boolean projectId?: boolean agentId?: boolean importance?: boolean tags?: boolean embedding?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean accessCount?: boolean lastAccessed?: boolean pinned?: boolean deletedAt?: boolean edgesFrom?: boolean | Memory$edgesFromArgs edgesTo?: boolean | Memory$edgesToArgs _count?: boolean | MemoryCountOutputTypeDefaultArgs }, ExtArgs["result"]["memory"]> export type MemorySelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean content?: boolean type?: boolean level?: boolean userId?: boolean sessionId?: boolean projectId?: boolean agentId?: boolean importance?: boolean tags?: boolean embedding?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean accessCount?: boolean lastAccessed?: boolean pinned?: boolean deletedAt?: boolean }, ExtArgs["result"]["memory"]> export type MemorySelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean content?: boolean type?: boolean level?: boolean userId?: boolean sessionId?: boolean projectId?: boolean agentId?: boolean importance?: boolean tags?: boolean embedding?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean accessCount?: boolean lastAccessed?: boolean pinned?: boolean deletedAt?: boolean }, ExtArgs["result"]["memory"]> export type MemorySelectScalar = { id?: boolean content?: boolean type?: boolean level?: boolean userId?: boolean sessionId?: boolean projectId?: boolean agentId?: boolean importance?: boolean tags?: boolean embedding?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean accessCount?: boolean lastAccessed?: boolean pinned?: boolean deletedAt?: boolean } export type MemoryOmit = $Extensions.GetOmit<"id" | "content" | "type" | "level" | "userId" | "sessionId" | "projectId" | "agentId" | "importance" | "tags" | "embedding" | "metadata" | "createdAt" | "updatedAt" | "accessCount" | "lastAccessed" | "pinned" | "deletedAt", ExtArgs["result"]["memory"]> export type MemoryInclude = { edgesFrom?: boolean | Memory$edgesFromArgs edgesTo?: boolean | Memory$edgesToArgs _count?: boolean | MemoryCountOutputTypeDefaultArgs } export type MemoryIncludeCreateManyAndReturn = {} export type MemoryIncludeUpdateManyAndReturn = {} export type $MemoryPayload = { name: "Memory" objects: { edgesFrom: Prisma.$MemoryEdgePayload[] edgesTo: Prisma.$MemoryEdgePayload[] } scalars: $Extensions.GetPayloadResult<{ id: string content: string type: string level: number userId: string | null sessionId: string | null projectId: string | null agentId: string | null importance: number tags: string[] embedding: Prisma.Bytes | null metadata: Prisma.JsonValue | null createdAt: Date updatedAt: Date accessCount: number lastAccessed: Date | null pinned: boolean deletedAt: Date | null }, ExtArgs["result"]["memory"]> composites: {} } type MemoryGetPayload = $Result.GetResult type MemoryCountArgs = Omit & { select?: MemoryCountAggregateInputType | true } export interface MemoryDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Memory'], meta: { name: 'Memory' } } /** * Find zero or one Memory that matches the filter. * @param {MemoryFindUniqueArgs} args - Arguments to find a Memory * @example * // Get one Memory * const memory = await prisma.memory.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__MemoryClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Memory that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {MemoryFindUniqueOrThrowArgs} args - Arguments to find a Memory * @example * // Get one Memory * const memory = await prisma.memory.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__MemoryClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Memory 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 {MemoryFindFirstArgs} args - Arguments to find a Memory * @example * // Get one Memory * const memory = await prisma.memory.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__MemoryClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Memory 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 {MemoryFindFirstOrThrowArgs} args - Arguments to find a Memory * @example * // Get one Memory * const memory = await prisma.memory.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__MemoryClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Memories 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 {MemoryFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Memories * const memories = await prisma.memory.findMany() * * // Get first 10 Memories * const memories = await prisma.memory.findMany({ take: 10 }) * * // Only select the `id` * const memoryWithIdOnly = await prisma.memory.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Memory. * @param {MemoryCreateArgs} args - Arguments to create a Memory. * @example * // Create one Memory * const Memory = await prisma.memory.create({ * data: { * // ... data to create a Memory * } * }) * */ create(args: SelectSubset>): Prisma__MemoryClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Memories. * @param {MemoryCreateManyArgs} args - Arguments to create many Memories. * @example * // Create many Memories * const memory = await prisma.memory.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Memories and returns the data saved in the database. * @param {MemoryCreateManyAndReturnArgs} args - Arguments to create many Memories. * @example * // Create many Memories * const memory = await prisma.memory.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Memories and only return the `id` * const memoryWithIdOnly = await prisma.memory.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", GlobalOmitOptions>> /** * Delete a Memory. * @param {MemoryDeleteArgs} args - Arguments to delete one Memory. * @example * // Delete one Memory * const Memory = await prisma.memory.delete({ * where: { * // ... filter to delete one Memory * } * }) * */ delete(args: SelectSubset>): Prisma__MemoryClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Memory. * @param {MemoryUpdateArgs} args - Arguments to update one Memory. * @example * // Update one Memory * const memory = await prisma.memory.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__MemoryClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Memories. * @param {MemoryDeleteManyArgs} args - Arguments to filter Memories to delete. * @example * // Delete a few Memories * const { count } = await prisma.memory.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Memories. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MemoryUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Memories * const memory = await prisma.memory.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Memories and returns the data updated in the database. * @param {MemoryUpdateManyAndReturnArgs} args - Arguments to update many Memories. * @example * // Update many Memories * const memory = await prisma.memory.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Memories and only return the `id` * const memoryWithIdOnly = await prisma.memory.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one Memory. * @param {MemoryUpsertArgs} args - Arguments to update or create a Memory. * @example * // Update or create a Memory * const memory = await prisma.memory.upsert({ * create: { * // ... data to create a Memory * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Memory we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__MemoryClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Memories. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MemoryCountArgs} args - Arguments to filter Memories to count. * @example * // Count the number of Memories * const count = await prisma.memory.count({ * where: { * // ... the filter for the Memories 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 Memory. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MemoryAggregateArgs} 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 Memory. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MemoryGroupByArgs} 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 MemoryGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: MemoryGroupByArgs['orderBy'] } : { orderBy?: MemoryGroupByArgs['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 ? GetMemoryGroupByPayload : Prisma.PrismaPromise /** * Fields of the Memory model */ readonly fields: MemoryFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Memory. * 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__MemoryClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" edgesFrom = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> edgesTo = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(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 Memory model */ interface MemoryFieldRefs { readonly id: FieldRef<"Memory", 'String'> readonly content: FieldRef<"Memory", 'String'> readonly type: FieldRef<"Memory", 'String'> readonly level: FieldRef<"Memory", 'Int'> readonly userId: FieldRef<"Memory", 'String'> readonly sessionId: FieldRef<"Memory", 'String'> readonly projectId: FieldRef<"Memory", 'String'> readonly agentId: FieldRef<"Memory", 'String'> readonly importance: FieldRef<"Memory", 'Float'> readonly tags: FieldRef<"Memory", 'String[]'> readonly embedding: FieldRef<"Memory", 'Bytes'> readonly metadata: FieldRef<"Memory", 'Json'> readonly createdAt: FieldRef<"Memory", 'DateTime'> readonly updatedAt: FieldRef<"Memory", 'DateTime'> readonly accessCount: FieldRef<"Memory", 'Int'> readonly lastAccessed: FieldRef<"Memory", 'DateTime'> readonly pinned: FieldRef<"Memory", 'Boolean'> readonly deletedAt: FieldRef<"Memory", 'DateTime'> } // Custom InputTypes /** * Memory findUnique */ export type MemoryFindUniqueArgs = { /** * Select specific fields to fetch from the Memory */ select?: MemorySelect | null /** * Omit specific fields from the Memory */ omit?: MemoryOmit | null /** * Choose, which related nodes to fetch as well */ include?: MemoryInclude | null /** * Filter, which Memory to fetch. */ where: MemoryWhereUniqueInput } /** * Memory findUniqueOrThrow */ export type MemoryFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Memory */ select?: MemorySelect | null /** * Omit specific fields from the Memory */ omit?: MemoryOmit | null /** * Choose, which related nodes to fetch as well */ include?: MemoryInclude | null /** * Filter, which Memory to fetch. */ where: MemoryWhereUniqueInput } /** * Memory findFirst */ export type MemoryFindFirstArgs = { /** * Select specific fields to fetch from the Memory */ select?: MemorySelect | null /** * Omit specific fields from the Memory */ omit?: MemoryOmit | null /** * Choose, which related nodes to fetch as well */ include?: MemoryInclude | null /** * Filter, which Memory to fetch. */ where?: MemoryWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Memories to fetch. */ orderBy?: MemoryOrderByWithRelationInput | MemoryOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Memories. */ cursor?: MemoryWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Memories 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` Memories. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Memories. */ distinct?: MemoryScalarFieldEnum | MemoryScalarFieldEnum[] } /** * Memory findFirstOrThrow */ export type MemoryFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Memory */ select?: MemorySelect | null /** * Omit specific fields from the Memory */ omit?: MemoryOmit | null /** * Choose, which related nodes to fetch as well */ include?: MemoryInclude | null /** * Filter, which Memory to fetch. */ where?: MemoryWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Memories to fetch. */ orderBy?: MemoryOrderByWithRelationInput | MemoryOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Memories. */ cursor?: MemoryWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Memories 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` Memories. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Memories. */ distinct?: MemoryScalarFieldEnum | MemoryScalarFieldEnum[] } /** * Memory findMany */ export type MemoryFindManyArgs = { /** * Select specific fields to fetch from the Memory */ select?: MemorySelect | null /** * Omit specific fields from the Memory */ omit?: MemoryOmit | null /** * Choose, which related nodes to fetch as well */ include?: MemoryInclude | null /** * Filter, which Memories to fetch. */ where?: MemoryWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Memories to fetch. */ orderBy?: MemoryOrderByWithRelationInput | MemoryOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Memories. */ cursor?: MemoryWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Memories 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` Memories. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Memories. */ distinct?: MemoryScalarFieldEnum | MemoryScalarFieldEnum[] } /** * Memory create */ export type MemoryCreateArgs = { /** * Select specific fields to fetch from the Memory */ select?: MemorySelect | null /** * Omit specific fields from the Memory */ omit?: MemoryOmit | null /** * Choose, which related nodes to fetch as well */ include?: MemoryInclude | null /** * The data needed to create a Memory. */ data: XOR } /** * Memory createMany */ export type MemoryCreateManyArgs = { /** * The data used to create many Memories. */ data: MemoryCreateManyInput | MemoryCreateManyInput[] skipDuplicates?: boolean } /** * Memory createManyAndReturn */ export type MemoryCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Memory */ select?: MemorySelectCreateManyAndReturn | null /** * Omit specific fields from the Memory */ omit?: MemoryOmit | null /** * The data used to create many Memories. */ data: MemoryCreateManyInput | MemoryCreateManyInput[] skipDuplicates?: boolean } /** * Memory update */ export type MemoryUpdateArgs = { /** * Select specific fields to fetch from the Memory */ select?: MemorySelect | null /** * Omit specific fields from the Memory */ omit?: MemoryOmit | null /** * Choose, which related nodes to fetch as well */ include?: MemoryInclude | null /** * The data needed to update a Memory. */ data: XOR /** * Choose, which Memory to update. */ where: MemoryWhereUniqueInput } /** * Memory updateMany */ export type MemoryUpdateManyArgs = { /** * The data used to update Memories. */ data: XOR /** * Filter which Memories to update */ where?: MemoryWhereInput /** * Limit how many Memories to update. */ limit?: number } /** * Memory updateManyAndReturn */ export type MemoryUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Memory */ select?: MemorySelectUpdateManyAndReturn | null /** * Omit specific fields from the Memory */ omit?: MemoryOmit | null /** * The data used to update Memories. */ data: XOR /** * Filter which Memories to update */ where?: MemoryWhereInput /** * Limit how many Memories to update. */ limit?: number } /** * Memory upsert */ export type MemoryUpsertArgs = { /** * Select specific fields to fetch from the Memory */ select?: MemorySelect | null /** * Omit specific fields from the Memory */ omit?: MemoryOmit | null /** * Choose, which related nodes to fetch as well */ include?: MemoryInclude | null /** * The filter to search for the Memory to update in case it exists. */ where: MemoryWhereUniqueInput /** * In case the Memory found by the `where` argument doesn't exist, create a new Memory with this data. */ create: XOR /** * In case the Memory was found with the provided `where` argument, update it with this data. */ update: XOR } /** * Memory delete */ export type MemoryDeleteArgs = { /** * Select specific fields to fetch from the Memory */ select?: MemorySelect | null /** * Omit specific fields from the Memory */ omit?: MemoryOmit | null /** * Choose, which related nodes to fetch as well */ include?: MemoryInclude | null /** * Filter which Memory to delete. */ where: MemoryWhereUniqueInput } /** * Memory deleteMany */ export type MemoryDeleteManyArgs = { /** * Filter which Memories to delete */ where?: MemoryWhereInput /** * Limit how many Memories to delete. */ limit?: number } /** * Memory.edgesFrom */ export type Memory$edgesFromArgs = { /** * Select specific fields to fetch from the MemoryEdge */ select?: MemoryEdgeSelect | null /** * Omit specific fields from the MemoryEdge */ omit?: MemoryEdgeOmit | null /** * Choose, which related nodes to fetch as well */ include?: MemoryEdgeInclude | null where?: MemoryEdgeWhereInput orderBy?: MemoryEdgeOrderByWithRelationInput | MemoryEdgeOrderByWithRelationInput[] cursor?: MemoryEdgeWhereUniqueInput take?: number skip?: number distinct?: MemoryEdgeScalarFieldEnum | MemoryEdgeScalarFieldEnum[] } /** * Memory.edgesTo */ export type Memory$edgesToArgs = { /** * Select specific fields to fetch from the MemoryEdge */ select?: MemoryEdgeSelect | null /** * Omit specific fields from the MemoryEdge */ omit?: MemoryEdgeOmit | null /** * Choose, which related nodes to fetch as well */ include?: MemoryEdgeInclude | null where?: MemoryEdgeWhereInput orderBy?: MemoryEdgeOrderByWithRelationInput | MemoryEdgeOrderByWithRelationInput[] cursor?: MemoryEdgeWhereUniqueInput take?: number skip?: number distinct?: MemoryEdgeScalarFieldEnum | MemoryEdgeScalarFieldEnum[] } /** * Memory without action */ export type MemoryDefaultArgs = { /** * Select specific fields to fetch from the Memory */ select?: MemorySelect | null /** * Omit specific fields from the Memory */ omit?: MemoryOmit | null /** * Choose, which related nodes to fetch as well */ include?: MemoryInclude | null } /** * Model Project */ export type AggregateProject = { _count: ProjectCountAggregateOutputType | null _avg: ProjectAvgAggregateOutputType | null _sum: ProjectSumAggregateOutputType | null _min: ProjectMinAggregateOutputType | null _max: ProjectMaxAggregateOutputType | null } export type ProjectAvgAggregateOutputType = { documentCount: number | null totalSize: number | null } export type ProjectSumAggregateOutputType = { documentCount: number | null totalSize: number | null } export type ProjectMinAggregateOutputType = { id: string | null projectId: string | null path: string | null documentCount: number | null totalSize: number | null lastIndexed: Date | null createdAt: Date | null updatedAt: Date | null } export type ProjectMaxAggregateOutputType = { id: string | null projectId: string | null path: string | null documentCount: number | null totalSize: number | null lastIndexed: Date | null createdAt: Date | null updatedAt: Date | null } export type ProjectCountAggregateOutputType = { id: number projectId: number path: number documentCount: number totalSize: number lastIndexed: number createdAt: number updatedAt: number _all: number } export type ProjectAvgAggregateInputType = { documentCount?: true totalSize?: true } export type ProjectSumAggregateInputType = { documentCount?: true totalSize?: true } export type ProjectMinAggregateInputType = { id?: true projectId?: true path?: true documentCount?: true totalSize?: true lastIndexed?: true createdAt?: true updatedAt?: true } export type ProjectMaxAggregateInputType = { id?: true projectId?: true path?: true documentCount?: true totalSize?: true lastIndexed?: true createdAt?: true updatedAt?: true } export type ProjectCountAggregateInputType = { id?: true projectId?: true path?: true documentCount?: true totalSize?: true lastIndexed?: true createdAt?: true updatedAt?: true _all?: true } export type ProjectAggregateArgs = { /** * Filter which Project to aggregate. */ where?: ProjectWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Projects to fetch. */ orderBy?: ProjectOrderByWithRelationInput | ProjectOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: ProjectWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Projects 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` Projects. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Projects **/ _count?: true | ProjectCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: ProjectAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: ProjectSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ProjectMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ProjectMaxAggregateInputType } export type GetProjectAggregateType = { [P in keyof T & keyof AggregateProject]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type ProjectGroupByArgs = { where?: ProjectWhereInput orderBy?: ProjectOrderByWithAggregationInput | ProjectOrderByWithAggregationInput[] by: ProjectScalarFieldEnum[] | ProjectScalarFieldEnum having?: ProjectScalarWhereWithAggregatesInput take?: number skip?: number _count?: ProjectCountAggregateInputType | true _avg?: ProjectAvgAggregateInputType _sum?: ProjectSumAggregateInputType _min?: ProjectMinAggregateInputType _max?: ProjectMaxAggregateInputType } export type ProjectGroupByOutputType = { id: string projectId: string path: string documentCount: number totalSize: number lastIndexed: Date | null createdAt: Date updatedAt: Date _count: ProjectCountAggregateOutputType | null _avg: ProjectAvgAggregateOutputType | null _sum: ProjectSumAggregateOutputType | null _min: ProjectMinAggregateOutputType | null _max: ProjectMaxAggregateOutputType | null } type GetProjectGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof ProjectGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type ProjectSelect = $Extensions.GetSelect<{ id?: boolean projectId?: boolean path?: boolean documentCount?: boolean totalSize?: boolean lastIndexed?: boolean createdAt?: boolean updatedAt?: boolean documents?: boolean | Project$documentsArgs _count?: boolean | ProjectCountOutputTypeDefaultArgs }, ExtArgs["result"]["project"]> export type ProjectSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean path?: boolean documentCount?: boolean totalSize?: boolean lastIndexed?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["project"]> export type ProjectSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean path?: boolean documentCount?: boolean totalSize?: boolean lastIndexed?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["project"]> export type ProjectSelectScalar = { id?: boolean projectId?: boolean path?: boolean documentCount?: boolean totalSize?: boolean lastIndexed?: boolean createdAt?: boolean updatedAt?: boolean } export type ProjectOmit = $Extensions.GetOmit<"id" | "projectId" | "path" | "documentCount" | "totalSize" | "lastIndexed" | "createdAt" | "updatedAt", ExtArgs["result"]["project"]> export type ProjectInclude = { documents?: boolean | Project$documentsArgs _count?: boolean | ProjectCountOutputTypeDefaultArgs } export type ProjectIncludeCreateManyAndReturn = {} export type ProjectIncludeUpdateManyAndReturn = {} export type $ProjectPayload = { name: "Project" objects: { documents: Prisma.$DocumentPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string projectId: string path: string documentCount: number totalSize: number lastIndexed: Date | null createdAt: Date updatedAt: Date }, ExtArgs["result"]["project"]> composites: {} } type ProjectGetPayload = $Result.GetResult type ProjectCountArgs = Omit & { select?: ProjectCountAggregateInputType | true } export interface ProjectDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Project'], meta: { name: 'Project' } } /** * Find zero or one Project that matches the filter. * @param {ProjectFindUniqueArgs} args - Arguments to find a Project * @example * // Get one Project * const project = await prisma.project.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__ProjectClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Project that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ProjectFindUniqueOrThrowArgs} args - Arguments to find a Project * @example * // Get one Project * const project = await prisma.project.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Project 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 {ProjectFindFirstArgs} args - Arguments to find a Project * @example * // Get one Project * const project = await prisma.project.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__ProjectClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Project 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 {ProjectFindFirstOrThrowArgs} args - Arguments to find a Project * @example * // Get one Project * const project = await prisma.project.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__ProjectClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Projects 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 {ProjectFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Projects * const projects = await prisma.project.findMany() * * // Get first 10 Projects * const projects = await prisma.project.findMany({ take: 10 }) * * // Only select the `id` * const projectWithIdOnly = await prisma.project.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Project. * @param {ProjectCreateArgs} args - Arguments to create a Project. * @example * // Create one Project * const Project = await prisma.project.create({ * data: { * // ... data to create a Project * } * }) * */ create(args: SelectSubset>): Prisma__ProjectClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Projects. * @param {ProjectCreateManyArgs} args - Arguments to create many Projects. * @example * // Create many Projects * const project = await prisma.project.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Projects and returns the data saved in the database. * @param {ProjectCreateManyAndReturnArgs} args - Arguments to create many Projects. * @example * // Create many Projects * const project = await prisma.project.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Projects and only return the `id` * const projectWithIdOnly = await prisma.project.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", GlobalOmitOptions>> /** * Delete a Project. * @param {ProjectDeleteArgs} args - Arguments to delete one Project. * @example * // Delete one Project * const Project = await prisma.project.delete({ * where: { * // ... filter to delete one Project * } * }) * */ delete(args: SelectSubset>): Prisma__ProjectClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Project. * @param {ProjectUpdateArgs} args - Arguments to update one Project. * @example * // Update one Project * const project = await prisma.project.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__ProjectClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Projects. * @param {ProjectDeleteManyArgs} args - Arguments to filter Projects to delete. * @example * // Delete a few Projects * const { count } = await prisma.project.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Projects. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Projects * const project = await prisma.project.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Projects and returns the data updated in the database. * @param {ProjectUpdateManyAndReturnArgs} args - Arguments to update many Projects. * @example * // Update many Projects * const project = await prisma.project.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Projects and only return the `id` * const projectWithIdOnly = await prisma.project.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one Project. * @param {ProjectUpsertArgs} args - Arguments to update or create a Project. * @example * // Update or create a Project * const project = await prisma.project.upsert({ * create: { * // ... data to create a Project * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Project we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__ProjectClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Projects. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectCountArgs} args - Arguments to filter Projects to count. * @example * // Count the number of Projects * const count = await prisma.project.count({ * where: { * // ... the filter for the Projects 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 Project. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectAggregateArgs} 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 Project. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectGroupByArgs} 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 ProjectGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: ProjectGroupByArgs['orderBy'] } : { orderBy?: ProjectGroupByArgs['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 ? GetProjectGroupByPayload : Prisma.PrismaPromise /** * Fields of the Project model */ readonly fields: ProjectFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Project. * 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__ProjectClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" documents = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(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 Project model */ interface ProjectFieldRefs { readonly id: FieldRef<"Project", 'String'> readonly projectId: FieldRef<"Project", 'String'> readonly path: FieldRef<"Project", 'String'> readonly documentCount: FieldRef<"Project", 'Int'> readonly totalSize: FieldRef<"Project", 'Int'> readonly lastIndexed: FieldRef<"Project", 'DateTime'> readonly createdAt: FieldRef<"Project", 'DateTime'> readonly updatedAt: FieldRef<"Project", 'DateTime'> } // Custom InputTypes /** * Project findUnique */ export type ProjectFindUniqueArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null /** * Filter, which Project to fetch. */ where: ProjectWhereUniqueInput } /** * Project findUniqueOrThrow */ export type ProjectFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null /** * Filter, which Project to fetch. */ where: ProjectWhereUniqueInput } /** * Project findFirst */ export type ProjectFindFirstArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null /** * Filter, which Project to fetch. */ where?: ProjectWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Projects to fetch. */ orderBy?: ProjectOrderByWithRelationInput | ProjectOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Projects. */ cursor?: ProjectWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Projects 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` Projects. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Projects. */ distinct?: ProjectScalarFieldEnum | ProjectScalarFieldEnum[] } /** * Project findFirstOrThrow */ export type ProjectFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null /** * Filter, which Project to fetch. */ where?: ProjectWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Projects to fetch. */ orderBy?: ProjectOrderByWithRelationInput | ProjectOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Projects. */ cursor?: ProjectWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Projects 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` Projects. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Projects. */ distinct?: ProjectScalarFieldEnum | ProjectScalarFieldEnum[] } /** * Project findMany */ export type ProjectFindManyArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null /** * Filter, which Projects to fetch. */ where?: ProjectWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Projects to fetch. */ orderBy?: ProjectOrderByWithRelationInput | ProjectOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Projects. */ cursor?: ProjectWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Projects 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` Projects. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Projects. */ distinct?: ProjectScalarFieldEnum | ProjectScalarFieldEnum[] } /** * Project create */ export type ProjectCreateArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null /** * The data needed to create a Project. */ data: XOR } /** * Project createMany */ export type ProjectCreateManyArgs = { /** * The data used to create many Projects. */ data: ProjectCreateManyInput | ProjectCreateManyInput[] skipDuplicates?: boolean } /** * Project createManyAndReturn */ export type ProjectCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelectCreateManyAndReturn | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * The data used to create many Projects. */ data: ProjectCreateManyInput | ProjectCreateManyInput[] skipDuplicates?: boolean } /** * Project update */ export type ProjectUpdateArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null /** * The data needed to update a Project. */ data: XOR /** * Choose, which Project to update. */ where: ProjectWhereUniqueInput } /** * Project updateMany */ export type ProjectUpdateManyArgs = { /** * The data used to update Projects. */ data: XOR /** * Filter which Projects to update */ where?: ProjectWhereInput /** * Limit how many Projects to update. */ limit?: number } /** * Project updateManyAndReturn */ export type ProjectUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelectUpdateManyAndReturn | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * The data used to update Projects. */ data: XOR /** * Filter which Projects to update */ where?: ProjectWhereInput /** * Limit how many Projects to update. */ limit?: number } /** * Project upsert */ export type ProjectUpsertArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null /** * The filter to search for the Project to update in case it exists. */ where: ProjectWhereUniqueInput /** * In case the Project found by the `where` argument doesn't exist, create a new Project with this data. */ create: XOR /** * In case the Project was found with the provided `where` argument, update it with this data. */ update: XOR } /** * Project delete */ export type ProjectDeleteArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null /** * Filter which Project to delete. */ where: ProjectWhereUniqueInput } /** * Project deleteMany */ export type ProjectDeleteManyArgs = { /** * Filter which Projects to delete */ where?: ProjectWhereInput /** * Limit how many Projects to delete. */ limit?: number } /** * Project.documents */ export type Project$documentsArgs = { /** * Select specific fields to fetch from the Document */ select?: DocumentSelect | null /** * Omit specific fields from the Document */ omit?: DocumentOmit | null /** * Choose, which related nodes to fetch as well */ include?: DocumentInclude | null where?: DocumentWhereInput orderBy?: DocumentOrderByWithRelationInput | DocumentOrderByWithRelationInput[] cursor?: DocumentWhereUniqueInput take?: number skip?: number distinct?: DocumentScalarFieldEnum | DocumentScalarFieldEnum[] } /** * Project without action */ export type ProjectDefaultArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null } /** * Model Document */ export type AggregateDocument = { _count: DocumentCountAggregateOutputType | null _avg: DocumentAvgAggregateOutputType | null _sum: DocumentSumAggregateOutputType | null _min: DocumentMinAggregateOutputType | null _max: DocumentMaxAggregateOutputType | null } export type DocumentAvgAggregateOutputType = { size: number | null } export type DocumentSumAggregateOutputType = { size: number | null } export type DocumentMinAggregateOutputType = { id: string | null projectId: string | null filePath: string | null fileType: string | null size: number | null indexedAt: Date | null } export type DocumentMaxAggregateOutputType = { id: string | null projectId: string | null filePath: string | null fileType: string | null size: number | null indexedAt: Date | null } export type DocumentCountAggregateOutputType = { id: number projectId: number filePath: number fileType: number size: number indexedAt: number _all: number } export type DocumentAvgAggregateInputType = { size?: true } export type DocumentSumAggregateInputType = { size?: true } export type DocumentMinAggregateInputType = { id?: true projectId?: true filePath?: true fileType?: true size?: true indexedAt?: true } export type DocumentMaxAggregateInputType = { id?: true projectId?: true filePath?: true fileType?: true size?: true indexedAt?: true } export type DocumentCountAggregateInputType = { id?: true projectId?: true filePath?: true fileType?: true size?: true indexedAt?: true _all?: true } export type DocumentAggregateArgs = { /** * Filter which Document to aggregate. */ where?: DocumentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Documents to fetch. */ orderBy?: DocumentOrderByWithRelationInput | DocumentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: DocumentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Documents 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` Documents. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Documents **/ _count?: true | DocumentCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: DocumentAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: DocumentSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: DocumentMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: DocumentMaxAggregateInputType } export type GetDocumentAggregateType = { [P in keyof T & keyof AggregateDocument]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type DocumentGroupByArgs = { where?: DocumentWhereInput orderBy?: DocumentOrderByWithAggregationInput | DocumentOrderByWithAggregationInput[] by: DocumentScalarFieldEnum[] | DocumentScalarFieldEnum having?: DocumentScalarWhereWithAggregatesInput take?: number skip?: number _count?: DocumentCountAggregateInputType | true _avg?: DocumentAvgAggregateInputType _sum?: DocumentSumAggregateInputType _min?: DocumentMinAggregateInputType _max?: DocumentMaxAggregateInputType } export type DocumentGroupByOutputType = { id: string projectId: string filePath: string fileType: string | null size: number indexedAt: Date _count: DocumentCountAggregateOutputType | null _avg: DocumentAvgAggregateOutputType | null _sum: DocumentSumAggregateOutputType | null _min: DocumentMinAggregateOutputType | null _max: DocumentMaxAggregateOutputType | null } type GetDocumentGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof DocumentGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type DocumentSelect = $Extensions.GetSelect<{ id?: boolean projectId?: boolean filePath?: boolean fileType?: boolean size?: boolean indexedAt?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["document"]> export type DocumentSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean filePath?: boolean fileType?: boolean size?: boolean indexedAt?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["document"]> export type DocumentSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean filePath?: boolean fileType?: boolean size?: boolean indexedAt?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["document"]> export type DocumentSelectScalar = { id?: boolean projectId?: boolean filePath?: boolean fileType?: boolean size?: boolean indexedAt?: boolean } export type DocumentOmit = $Extensions.GetOmit<"id" | "projectId" | "filePath" | "fileType" | "size" | "indexedAt", ExtArgs["result"]["document"]> export type DocumentInclude = { project?: boolean | ProjectDefaultArgs } export type DocumentIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type DocumentIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type $DocumentPayload = { name: "Document" objects: { project: Prisma.$ProjectPayload } scalars: $Extensions.GetPayloadResult<{ id: string projectId: string filePath: string fileType: string | null size: number indexedAt: Date }, ExtArgs["result"]["document"]> composites: {} } type DocumentGetPayload = $Result.GetResult type DocumentCountArgs = Omit & { select?: DocumentCountAggregateInputType | true } export interface DocumentDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Document'], meta: { name: 'Document' } } /** * Find zero or one Document that matches the filter. * @param {DocumentFindUniqueArgs} args - Arguments to find a Document * @example * // Get one Document * const document = await prisma.document.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__DocumentClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Document that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {DocumentFindUniqueOrThrowArgs} args - Arguments to find a Document * @example * // Get one Document * const document = await prisma.document.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__DocumentClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Document 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 {DocumentFindFirstArgs} args - Arguments to find a Document * @example * // Get one Document * const document = await prisma.document.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__DocumentClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Document 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 {DocumentFindFirstOrThrowArgs} args - Arguments to find a Document * @example * // Get one Document * const document = await prisma.document.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__DocumentClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Documents 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 {DocumentFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Documents * const documents = await prisma.document.findMany() * * // Get first 10 Documents * const documents = await prisma.document.findMany({ take: 10 }) * * // Only select the `id` * const documentWithIdOnly = await prisma.document.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Document. * @param {DocumentCreateArgs} args - Arguments to create a Document. * @example * // Create one Document * const Document = await prisma.document.create({ * data: { * // ... data to create a Document * } * }) * */ create(args: SelectSubset>): Prisma__DocumentClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Documents. * @param {DocumentCreateManyArgs} args - Arguments to create many Documents. * @example * // Create many Documents * const document = await prisma.document.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Documents and returns the data saved in the database. * @param {DocumentCreateManyAndReturnArgs} args - Arguments to create many Documents. * @example * // Create many Documents * const document = await prisma.document.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Documents and only return the `id` * const documentWithIdOnly = await prisma.document.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", GlobalOmitOptions>> /** * Delete a Document. * @param {DocumentDeleteArgs} args - Arguments to delete one Document. * @example * // Delete one Document * const Document = await prisma.document.delete({ * where: { * // ... filter to delete one Document * } * }) * */ delete(args: SelectSubset>): Prisma__DocumentClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Document. * @param {DocumentUpdateArgs} args - Arguments to update one Document. * @example * // Update one Document * const document = await prisma.document.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__DocumentClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Documents. * @param {DocumentDeleteManyArgs} args - Arguments to filter Documents to delete. * @example * // Delete a few Documents * const { count } = await prisma.document.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Documents. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DocumentUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Documents * const document = await prisma.document.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Documents and returns the data updated in the database. * @param {DocumentUpdateManyAndReturnArgs} args - Arguments to update many Documents. * @example * // Update many Documents * const document = await prisma.document.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Documents and only return the `id` * const documentWithIdOnly = await prisma.document.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one Document. * @param {DocumentUpsertArgs} args - Arguments to update or create a Document. * @example * // Update or create a Document * const document = await prisma.document.upsert({ * create: { * // ... data to create a Document * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Document we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__DocumentClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Documents. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DocumentCountArgs} args - Arguments to filter Documents to count. * @example * // Count the number of Documents * const count = await prisma.document.count({ * where: { * // ... the filter for the Documents 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 Document. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DocumentAggregateArgs} 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 Document. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DocumentGroupByArgs} 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 DocumentGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: DocumentGroupByArgs['orderBy'] } : { orderBy?: DocumentGroupByArgs['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 ? GetDocumentGroupByPayload : Prisma.PrismaPromise /** * Fields of the Document model */ readonly fields: DocumentFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Document. * 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__DocumentClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(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 Document model */ interface DocumentFieldRefs { readonly id: FieldRef<"Document", 'String'> readonly projectId: FieldRef<"Document", 'String'> readonly filePath: FieldRef<"Document", 'String'> readonly fileType: FieldRef<"Document", 'String'> readonly size: FieldRef<"Document", 'Int'> readonly indexedAt: FieldRef<"Document", 'DateTime'> } // Custom InputTypes /** * Document findUnique */ export type DocumentFindUniqueArgs = { /** * Select specific fields to fetch from the Document */ select?: DocumentSelect | null /** * Omit specific fields from the Document */ omit?: DocumentOmit | null /** * Choose, which related nodes to fetch as well */ include?: DocumentInclude | null /** * Filter, which Document to fetch. */ where: DocumentWhereUniqueInput } /** * Document findUniqueOrThrow */ export type DocumentFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Document */ select?: DocumentSelect | null /** * Omit specific fields from the Document */ omit?: DocumentOmit | null /** * Choose, which related nodes to fetch as well */ include?: DocumentInclude | null /** * Filter, which Document to fetch. */ where: DocumentWhereUniqueInput } /** * Document findFirst */ export type DocumentFindFirstArgs = { /** * Select specific fields to fetch from the Document */ select?: DocumentSelect | null /** * Omit specific fields from the Document */ omit?: DocumentOmit | null /** * Choose, which related nodes to fetch as well */ include?: DocumentInclude | null /** * Filter, which Document to fetch. */ where?: DocumentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Documents to fetch. */ orderBy?: DocumentOrderByWithRelationInput | DocumentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Documents. */ cursor?: DocumentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Documents 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` Documents. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Documents. */ distinct?: DocumentScalarFieldEnum | DocumentScalarFieldEnum[] } /** * Document findFirstOrThrow */ export type DocumentFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Document */ select?: DocumentSelect | null /** * Omit specific fields from the Document */ omit?: DocumentOmit | null /** * Choose, which related nodes to fetch as well */ include?: DocumentInclude | null /** * Filter, which Document to fetch. */ where?: DocumentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Documents to fetch. */ orderBy?: DocumentOrderByWithRelationInput | DocumentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Documents. */ cursor?: DocumentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Documents 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` Documents. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Documents. */ distinct?: DocumentScalarFieldEnum | DocumentScalarFieldEnum[] } /** * Document findMany */ export type DocumentFindManyArgs = { /** * Select specific fields to fetch from the Document */ select?: DocumentSelect | null /** * Omit specific fields from the Document */ omit?: DocumentOmit | null /** * Choose, which related nodes to fetch as well */ include?: DocumentInclude | null /** * Filter, which Documents to fetch. */ where?: DocumentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Documents to fetch. */ orderBy?: DocumentOrderByWithRelationInput | DocumentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Documents. */ cursor?: DocumentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Documents 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` Documents. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Documents. */ distinct?: DocumentScalarFieldEnum | DocumentScalarFieldEnum[] } /** * Document create */ export type DocumentCreateArgs = { /** * Select specific fields to fetch from the Document */ select?: DocumentSelect | null /** * Omit specific fields from the Document */ omit?: DocumentOmit | null /** * Choose, which related nodes to fetch as well */ include?: DocumentInclude | null /** * The data needed to create a Document. */ data: XOR } /** * Document createMany */ export type DocumentCreateManyArgs = { /** * The data used to create many Documents. */ data: DocumentCreateManyInput | DocumentCreateManyInput[] skipDuplicates?: boolean } /** * Document createManyAndReturn */ export type DocumentCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Document */ select?: DocumentSelectCreateManyAndReturn | null /** * Omit specific fields from the Document */ omit?: DocumentOmit | null /** * The data used to create many Documents. */ data: DocumentCreateManyInput | DocumentCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: DocumentIncludeCreateManyAndReturn | null } /** * Document update */ export type DocumentUpdateArgs = { /** * Select specific fields to fetch from the Document */ select?: DocumentSelect | null /** * Omit specific fields from the Document */ omit?: DocumentOmit | null /** * Choose, which related nodes to fetch as well */ include?: DocumentInclude | null /** * The data needed to update a Document. */ data: XOR /** * Choose, which Document to update. */ where: DocumentWhereUniqueInput } /** * Document updateMany */ export type DocumentUpdateManyArgs = { /** * The data used to update Documents. */ data: XOR /** * Filter which Documents to update */ where?: DocumentWhereInput /** * Limit how many Documents to update. */ limit?: number } /** * Document updateManyAndReturn */ export type DocumentUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Document */ select?: DocumentSelectUpdateManyAndReturn | null /** * Omit specific fields from the Document */ omit?: DocumentOmit | null /** * The data used to update Documents. */ data: XOR /** * Filter which Documents to update */ where?: DocumentWhereInput /** * Limit how many Documents to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: DocumentIncludeUpdateManyAndReturn | null } /** * Document upsert */ export type DocumentUpsertArgs = { /** * Select specific fields to fetch from the Document */ select?: DocumentSelect | null /** * Omit specific fields from the Document */ omit?: DocumentOmit | null /** * Choose, which related nodes to fetch as well */ include?: DocumentInclude | null /** * The filter to search for the Document to update in case it exists. */ where: DocumentWhereUniqueInput /** * In case the Document found by the `where` argument doesn't exist, create a new Document with this data. */ create: XOR /** * In case the Document was found with the provided `where` argument, update it with this data. */ update: XOR } /** * Document delete */ export type DocumentDeleteArgs = { /** * Select specific fields to fetch from the Document */ select?: DocumentSelect | null /** * Omit specific fields from the Document */ omit?: DocumentOmit | null /** * Choose, which related nodes to fetch as well */ include?: DocumentInclude | null /** * Filter which Document to delete. */ where: DocumentWhereUniqueInput } /** * Document deleteMany */ export type DocumentDeleteManyArgs = { /** * Filter which Documents to delete */ where?: DocumentWhereInput /** * Limit how many Documents to delete. */ limit?: number } /** * Document without action */ export type DocumentDefaultArgs = { /** * Select specific fields to fetch from the Document */ select?: DocumentSelect | null /** * Omit specific fields from the Document */ omit?: DocumentOmit | null /** * Choose, which related nodes to fetch as well */ include?: DocumentInclude | null } /** * Model SearchQuery */ export type AggregateSearchQuery = { _count: SearchQueryCountAggregateOutputType | null _avg: SearchQueryAvgAggregateOutputType | null _sum: SearchQuerySumAggregateOutputType | null _min: SearchQueryMinAggregateOutputType | null _max: SearchQueryMaxAggregateOutputType | null } export type SearchQueryAvgAggregateOutputType = { resultsCount: number | null duration: number | null } export type SearchQuerySumAggregateOutputType = { resultsCount: number | null duration: number | null } export type SearchQueryMinAggregateOutputType = { id: string | null query: string | null projectId: string | null resultsCount: number | null duration: number | null cacheHit: boolean | null timestamp: Date | null } export type SearchQueryMaxAggregateOutputType = { id: string | null query: string | null projectId: string | null resultsCount: number | null duration: number | null cacheHit: boolean | null timestamp: Date | null } export type SearchQueryCountAggregateOutputType = { id: number query: number projectId: number resultsCount: number duration: number cacheHit: number timestamp: number _all: number } export type SearchQueryAvgAggregateInputType = { resultsCount?: true duration?: true } export type SearchQuerySumAggregateInputType = { resultsCount?: true duration?: true } export type SearchQueryMinAggregateInputType = { id?: true query?: true projectId?: true resultsCount?: true duration?: true cacheHit?: true timestamp?: true } export type SearchQueryMaxAggregateInputType = { id?: true query?: true projectId?: true resultsCount?: true duration?: true cacheHit?: true timestamp?: true } export type SearchQueryCountAggregateInputType = { id?: true query?: true projectId?: true resultsCount?: true duration?: true cacheHit?: true timestamp?: true _all?: true } export type SearchQueryAggregateArgs = { /** * Filter which SearchQuery to aggregate. */ where?: SearchQueryWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SearchQueries to fetch. */ orderBy?: SearchQueryOrderByWithRelationInput | SearchQueryOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: SearchQueryWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SearchQueries 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` SearchQueries. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned SearchQueries **/ _count?: true | SearchQueryCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: SearchQueryAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: SearchQuerySumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SearchQueryMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SearchQueryMaxAggregateInputType } export type GetSearchQueryAggregateType = { [P in keyof T & keyof AggregateSearchQuery]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type SearchQueryGroupByArgs = { where?: SearchQueryWhereInput orderBy?: SearchQueryOrderByWithAggregationInput | SearchQueryOrderByWithAggregationInput[] by: SearchQueryScalarFieldEnum[] | SearchQueryScalarFieldEnum having?: SearchQueryScalarWhereWithAggregatesInput take?: number skip?: number _count?: SearchQueryCountAggregateInputType | true _avg?: SearchQueryAvgAggregateInputType _sum?: SearchQuerySumAggregateInputType _min?: SearchQueryMinAggregateInputType _max?: SearchQueryMaxAggregateInputType } export type SearchQueryGroupByOutputType = { id: string query: string projectId: string | null resultsCount: number duration: number cacheHit: boolean timestamp: Date _count: SearchQueryCountAggregateOutputType | null _avg: SearchQueryAvgAggregateOutputType | null _sum: SearchQuerySumAggregateOutputType | null _min: SearchQueryMinAggregateOutputType | null _max: SearchQueryMaxAggregateOutputType | null } type GetSearchQueryGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof SearchQueryGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type SearchQuerySelect = $Extensions.GetSelect<{ id?: boolean query?: boolean projectId?: boolean resultsCount?: boolean duration?: boolean cacheHit?: boolean timestamp?: boolean }, ExtArgs["result"]["searchQuery"]> export type SearchQuerySelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean query?: boolean projectId?: boolean resultsCount?: boolean duration?: boolean cacheHit?: boolean timestamp?: boolean }, ExtArgs["result"]["searchQuery"]> export type SearchQuerySelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean query?: boolean projectId?: boolean resultsCount?: boolean duration?: boolean cacheHit?: boolean timestamp?: boolean }, ExtArgs["result"]["searchQuery"]> export type SearchQuerySelectScalar = { id?: boolean query?: boolean projectId?: boolean resultsCount?: boolean duration?: boolean cacheHit?: boolean timestamp?: boolean } export type SearchQueryOmit = $Extensions.GetOmit<"id" | "query" | "projectId" | "resultsCount" | "duration" | "cacheHit" | "timestamp", ExtArgs["result"]["searchQuery"]> export type $SearchQueryPayload = { name: "SearchQuery" objects: {} scalars: $Extensions.GetPayloadResult<{ id: string query: string projectId: string | null resultsCount: number duration: number cacheHit: boolean timestamp: Date }, ExtArgs["result"]["searchQuery"]> composites: {} } type SearchQueryGetPayload = $Result.GetResult type SearchQueryCountArgs = Omit & { select?: SearchQueryCountAggregateInputType | true } export interface SearchQueryDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['SearchQuery'], meta: { name: 'SearchQuery' } } /** * Find zero or one SearchQuery that matches the filter. * @param {SearchQueryFindUniqueArgs} args - Arguments to find a SearchQuery * @example * // Get one SearchQuery * const searchQuery = await prisma.searchQuery.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__SearchQueryClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one SearchQuery that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SearchQueryFindUniqueOrThrowArgs} args - Arguments to find a SearchQuery * @example * // Get one SearchQuery * const searchQuery = await prisma.searchQuery.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__SearchQueryClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first SearchQuery 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 {SearchQueryFindFirstArgs} args - Arguments to find a SearchQuery * @example * // Get one SearchQuery * const searchQuery = await prisma.searchQuery.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__SearchQueryClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first SearchQuery 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 {SearchQueryFindFirstOrThrowArgs} args - Arguments to find a SearchQuery * @example * // Get one SearchQuery * const searchQuery = await prisma.searchQuery.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__SearchQueryClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more SearchQueries 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 {SearchQueryFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all SearchQueries * const searchQueries = await prisma.searchQuery.findMany() * * // Get first 10 SearchQueries * const searchQueries = await prisma.searchQuery.findMany({ take: 10 }) * * // Only select the `id` * const searchQueryWithIdOnly = await prisma.searchQuery.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a SearchQuery. * @param {SearchQueryCreateArgs} args - Arguments to create a SearchQuery. * @example * // Create one SearchQuery * const SearchQuery = await prisma.searchQuery.create({ * data: { * // ... data to create a SearchQuery * } * }) * */ create(args: SelectSubset>): Prisma__SearchQueryClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many SearchQueries. * @param {SearchQueryCreateManyArgs} args - Arguments to create many SearchQueries. * @example * // Create many SearchQueries * const searchQuery = await prisma.searchQuery.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many SearchQueries and returns the data saved in the database. * @param {SearchQueryCreateManyAndReturnArgs} args - Arguments to create many SearchQueries. * @example * // Create many SearchQueries * const searchQuery = await prisma.searchQuery.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many SearchQueries and only return the `id` * const searchQueryWithIdOnly = await prisma.searchQuery.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", GlobalOmitOptions>> /** * Delete a SearchQuery. * @param {SearchQueryDeleteArgs} args - Arguments to delete one SearchQuery. * @example * // Delete one SearchQuery * const SearchQuery = await prisma.searchQuery.delete({ * where: { * // ... filter to delete one SearchQuery * } * }) * */ delete(args: SelectSubset>): Prisma__SearchQueryClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one SearchQuery. * @param {SearchQueryUpdateArgs} args - Arguments to update one SearchQuery. * @example * // Update one SearchQuery * const searchQuery = await prisma.searchQuery.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__SearchQueryClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more SearchQueries. * @param {SearchQueryDeleteManyArgs} args - Arguments to filter SearchQueries to delete. * @example * // Delete a few SearchQueries * const { count } = await prisma.searchQuery.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SearchQueries. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SearchQueryUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many SearchQueries * const searchQuery = await prisma.searchQuery.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SearchQueries and returns the data updated in the database. * @param {SearchQueryUpdateManyAndReturnArgs} args - Arguments to update many SearchQueries. * @example * // Update many SearchQueries * const searchQuery = await prisma.searchQuery.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more SearchQueries and only return the `id` * const searchQueryWithIdOnly = await prisma.searchQuery.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one SearchQuery. * @param {SearchQueryUpsertArgs} args - Arguments to update or create a SearchQuery. * @example * // Update or create a SearchQuery * const searchQuery = await prisma.searchQuery.upsert({ * create: { * // ... data to create a SearchQuery * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the SearchQuery we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__SearchQueryClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of SearchQueries. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SearchQueryCountArgs} args - Arguments to filter SearchQueries to count. * @example * // Count the number of SearchQueries * const count = await prisma.searchQuery.count({ * where: { * // ... the filter for the SearchQueries 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 SearchQuery. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SearchQueryAggregateArgs} 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 SearchQuery. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SearchQueryGroupByArgs} 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 SearchQueryGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: SearchQueryGroupByArgs['orderBy'] } : { orderBy?: SearchQueryGroupByArgs['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 ? GetSearchQueryGroupByPayload : Prisma.PrismaPromise /** * Fields of the SearchQuery model */ readonly fields: SearchQueryFieldRefs; } /** * The delegate class that acts as a "Promise-like" for SearchQuery. * 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__SearchQueryClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $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 SearchQuery model */ interface SearchQueryFieldRefs { readonly id: FieldRef<"SearchQuery", 'String'> readonly query: FieldRef<"SearchQuery", 'String'> readonly projectId: FieldRef<"SearchQuery", 'String'> readonly resultsCount: FieldRef<"SearchQuery", 'Int'> readonly duration: FieldRef<"SearchQuery", 'Int'> readonly cacheHit: FieldRef<"SearchQuery", 'Boolean'> readonly timestamp: FieldRef<"SearchQuery", 'DateTime'> } // Custom InputTypes /** * SearchQuery findUnique */ export type SearchQueryFindUniqueArgs = { /** * Select specific fields to fetch from the SearchQuery */ select?: SearchQuerySelect | null /** * Omit specific fields from the SearchQuery */ omit?: SearchQueryOmit | null /** * Filter, which SearchQuery to fetch. */ where: SearchQueryWhereUniqueInput } /** * SearchQuery findUniqueOrThrow */ export type SearchQueryFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the SearchQuery */ select?: SearchQuerySelect | null /** * Omit specific fields from the SearchQuery */ omit?: SearchQueryOmit | null /** * Filter, which SearchQuery to fetch. */ where: SearchQueryWhereUniqueInput } /** * SearchQuery findFirst */ export type SearchQueryFindFirstArgs = { /** * Select specific fields to fetch from the SearchQuery */ select?: SearchQuerySelect | null /** * Omit specific fields from the SearchQuery */ omit?: SearchQueryOmit | null /** * Filter, which SearchQuery to fetch. */ where?: SearchQueryWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SearchQueries to fetch. */ orderBy?: SearchQueryOrderByWithRelationInput | SearchQueryOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SearchQueries. */ cursor?: SearchQueryWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SearchQueries 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` SearchQueries. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SearchQueries. */ distinct?: SearchQueryScalarFieldEnum | SearchQueryScalarFieldEnum[] } /** * SearchQuery findFirstOrThrow */ export type SearchQueryFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the SearchQuery */ select?: SearchQuerySelect | null /** * Omit specific fields from the SearchQuery */ omit?: SearchQueryOmit | null /** * Filter, which SearchQuery to fetch. */ where?: SearchQueryWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SearchQueries to fetch. */ orderBy?: SearchQueryOrderByWithRelationInput | SearchQueryOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SearchQueries. */ cursor?: SearchQueryWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SearchQueries 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` SearchQueries. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SearchQueries. */ distinct?: SearchQueryScalarFieldEnum | SearchQueryScalarFieldEnum[] } /** * SearchQuery findMany */ export type SearchQueryFindManyArgs = { /** * Select specific fields to fetch from the SearchQuery */ select?: SearchQuerySelect | null /** * Omit specific fields from the SearchQuery */ omit?: SearchQueryOmit | null /** * Filter, which SearchQueries to fetch. */ where?: SearchQueryWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SearchQueries to fetch. */ orderBy?: SearchQueryOrderByWithRelationInput | SearchQueryOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing SearchQueries. */ cursor?: SearchQueryWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SearchQueries 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` SearchQueries. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SearchQueries. */ distinct?: SearchQueryScalarFieldEnum | SearchQueryScalarFieldEnum[] } /** * SearchQuery create */ export type SearchQueryCreateArgs = { /** * Select specific fields to fetch from the SearchQuery */ select?: SearchQuerySelect | null /** * Omit specific fields from the SearchQuery */ omit?: SearchQueryOmit | null /** * The data needed to create a SearchQuery. */ data: XOR } /** * SearchQuery createMany */ export type SearchQueryCreateManyArgs = { /** * The data used to create many SearchQueries. */ data: SearchQueryCreateManyInput | SearchQueryCreateManyInput[] skipDuplicates?: boolean } /** * SearchQuery createManyAndReturn */ export type SearchQueryCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the SearchQuery */ select?: SearchQuerySelectCreateManyAndReturn | null /** * Omit specific fields from the SearchQuery */ omit?: SearchQueryOmit | null /** * The data used to create many SearchQueries. */ data: SearchQueryCreateManyInput | SearchQueryCreateManyInput[] skipDuplicates?: boolean } /** * SearchQuery update */ export type SearchQueryUpdateArgs = { /** * Select specific fields to fetch from the SearchQuery */ select?: SearchQuerySelect | null /** * Omit specific fields from the SearchQuery */ omit?: SearchQueryOmit | null /** * The data needed to update a SearchQuery. */ data: XOR /** * Choose, which SearchQuery to update. */ where: SearchQueryWhereUniqueInput } /** * SearchQuery updateMany */ export type SearchQueryUpdateManyArgs = { /** * The data used to update SearchQueries. */ data: XOR /** * Filter which SearchQueries to update */ where?: SearchQueryWhereInput /** * Limit how many SearchQueries to update. */ limit?: number } /** * SearchQuery updateManyAndReturn */ export type SearchQueryUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the SearchQuery */ select?: SearchQuerySelectUpdateManyAndReturn | null /** * Omit specific fields from the SearchQuery */ omit?: SearchQueryOmit | null /** * The data used to update SearchQueries. */ data: XOR /** * Filter which SearchQueries to update */ where?: SearchQueryWhereInput /** * Limit how many SearchQueries to update. */ limit?: number } /** * SearchQuery upsert */ export type SearchQueryUpsertArgs = { /** * Select specific fields to fetch from the SearchQuery */ select?: SearchQuerySelect | null /** * Omit specific fields from the SearchQuery */ omit?: SearchQueryOmit | null /** * The filter to search for the SearchQuery to update in case it exists. */ where: SearchQueryWhereUniqueInput /** * In case the SearchQuery found by the `where` argument doesn't exist, create a new SearchQuery with this data. */ create: XOR /** * In case the SearchQuery was found with the provided `where` argument, update it with this data. */ update: XOR } /** * SearchQuery delete */ export type SearchQueryDeleteArgs = { /** * Select specific fields to fetch from the SearchQuery */ select?: SearchQuerySelect | null /** * Omit specific fields from the SearchQuery */ omit?: SearchQueryOmit | null /** * Filter which SearchQuery to delete. */ where: SearchQueryWhereUniqueInput } /** * SearchQuery deleteMany */ export type SearchQueryDeleteManyArgs = { /** * Filter which SearchQueries to delete */ where?: SearchQueryWhereInput /** * Limit how many SearchQueries to delete. */ limit?: number } /** * SearchQuery without action */ export type SearchQueryDefaultArgs = { /** * Select specific fields to fetch from the SearchQuery */ select?: SearchQuerySelect | null /** * Omit specific fields from the SearchQuery */ omit?: SearchQueryOmit | null } /** * Model CacheStats */ export type AggregateCacheStats = { _count: CacheStatsCountAggregateOutputType | null _avg: CacheStatsAvgAggregateOutputType | null _sum: CacheStatsSumAggregateOutputType | null _min: CacheStatsMinAggregateOutputType | null _max: CacheStatsMaxAggregateOutputType | null } export type CacheStatsAvgAggregateOutputType = { hitCount: number | null } export type CacheStatsSumAggregateOutputType = { hitCount: number | null } export type CacheStatsMinAggregateOutputType = { id: string | null projectId: string | null queryHash: string | null hitCount: number | null createdAt: Date | null lastHitAt: Date | null } export type CacheStatsMaxAggregateOutputType = { id: string | null projectId: string | null queryHash: string | null hitCount: number | null createdAt: Date | null lastHitAt: Date | null } export type CacheStatsCountAggregateOutputType = { id: number projectId: number queryHash: number hitCount: number createdAt: number lastHitAt: number _all: number } export type CacheStatsAvgAggregateInputType = { hitCount?: true } export type CacheStatsSumAggregateInputType = { hitCount?: true } export type CacheStatsMinAggregateInputType = { id?: true projectId?: true queryHash?: true hitCount?: true createdAt?: true lastHitAt?: true } export type CacheStatsMaxAggregateInputType = { id?: true projectId?: true queryHash?: true hitCount?: true createdAt?: true lastHitAt?: true } export type CacheStatsCountAggregateInputType = { id?: true projectId?: true queryHash?: true hitCount?: true createdAt?: true lastHitAt?: true _all?: true } export type CacheStatsAggregateArgs = { /** * Filter which CacheStats to aggregate. */ where?: CacheStatsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CacheStats to fetch. */ orderBy?: CacheStatsOrderByWithRelationInput | CacheStatsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: CacheStatsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CacheStats 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` CacheStats. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned CacheStats **/ _count?: true | CacheStatsCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: CacheStatsAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: CacheStatsSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: CacheStatsMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: CacheStatsMaxAggregateInputType } export type GetCacheStatsAggregateType = { [P in keyof T & keyof AggregateCacheStats]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type CacheStatsGroupByArgs = { where?: CacheStatsWhereInput orderBy?: CacheStatsOrderByWithAggregationInput | CacheStatsOrderByWithAggregationInput[] by: CacheStatsScalarFieldEnum[] | CacheStatsScalarFieldEnum having?: CacheStatsScalarWhereWithAggregatesInput take?: number skip?: number _count?: CacheStatsCountAggregateInputType | true _avg?: CacheStatsAvgAggregateInputType _sum?: CacheStatsSumAggregateInputType _min?: CacheStatsMinAggregateInputType _max?: CacheStatsMaxAggregateInputType } export type CacheStatsGroupByOutputType = { id: string projectId: string queryHash: string hitCount: number createdAt: Date lastHitAt: Date _count: CacheStatsCountAggregateOutputType | null _avg: CacheStatsAvgAggregateOutputType | null _sum: CacheStatsSumAggregateOutputType | null _min: CacheStatsMinAggregateOutputType | null _max: CacheStatsMaxAggregateOutputType | null } type GetCacheStatsGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof CacheStatsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type CacheStatsSelect = $Extensions.GetSelect<{ id?: boolean projectId?: boolean queryHash?: boolean hitCount?: boolean createdAt?: boolean lastHitAt?: boolean }, ExtArgs["result"]["cacheStats"]> export type CacheStatsSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean queryHash?: boolean hitCount?: boolean createdAt?: boolean lastHitAt?: boolean }, ExtArgs["result"]["cacheStats"]> export type CacheStatsSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean queryHash?: boolean hitCount?: boolean createdAt?: boolean lastHitAt?: boolean }, ExtArgs["result"]["cacheStats"]> export type CacheStatsSelectScalar = { id?: boolean projectId?: boolean queryHash?: boolean hitCount?: boolean createdAt?: boolean lastHitAt?: boolean } export type CacheStatsOmit = $Extensions.GetOmit<"id" | "projectId" | "queryHash" | "hitCount" | "createdAt" | "lastHitAt", ExtArgs["result"]["cacheStats"]> export type $CacheStatsPayload = { name: "CacheStats" objects: {} scalars: $Extensions.GetPayloadResult<{ id: string projectId: string queryHash: string hitCount: number createdAt: Date lastHitAt: Date }, ExtArgs["result"]["cacheStats"]> composites: {} } type CacheStatsGetPayload = $Result.GetResult type CacheStatsCountArgs = Omit & { select?: CacheStatsCountAggregateInputType | true } export interface CacheStatsDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['CacheStats'], meta: { name: 'CacheStats' } } /** * Find zero or one CacheStats that matches the filter. * @param {CacheStatsFindUniqueArgs} args - Arguments to find a CacheStats * @example * // Get one CacheStats * const cacheStats = await prisma.cacheStats.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__CacheStatsClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one CacheStats that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {CacheStatsFindUniqueOrThrowArgs} args - Arguments to find a CacheStats * @example * // Get one CacheStats * const cacheStats = await prisma.cacheStats.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__CacheStatsClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first CacheStats 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 {CacheStatsFindFirstArgs} args - Arguments to find a CacheStats * @example * // Get one CacheStats * const cacheStats = await prisma.cacheStats.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__CacheStatsClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first CacheStats 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 {CacheStatsFindFirstOrThrowArgs} args - Arguments to find a CacheStats * @example * // Get one CacheStats * const cacheStats = await prisma.cacheStats.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__CacheStatsClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more CacheStats 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 {CacheStatsFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all CacheStats * const cacheStats = await prisma.cacheStats.findMany() * * // Get first 10 CacheStats * const cacheStats = await prisma.cacheStats.findMany({ take: 10 }) * * // Only select the `id` * const cacheStatsWithIdOnly = await prisma.cacheStats.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a CacheStats. * @param {CacheStatsCreateArgs} args - Arguments to create a CacheStats. * @example * // Create one CacheStats * const CacheStats = await prisma.cacheStats.create({ * data: { * // ... data to create a CacheStats * } * }) * */ create(args: SelectSubset>): Prisma__CacheStatsClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many CacheStats. * @param {CacheStatsCreateManyArgs} args - Arguments to create many CacheStats. * @example * // Create many CacheStats * const cacheStats = await prisma.cacheStats.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many CacheStats and returns the data saved in the database. * @param {CacheStatsCreateManyAndReturnArgs} args - Arguments to create many CacheStats. * @example * // Create many CacheStats * const cacheStats = await prisma.cacheStats.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many CacheStats and only return the `id` * const cacheStatsWithIdOnly = await prisma.cacheStats.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", GlobalOmitOptions>> /** * Delete a CacheStats. * @param {CacheStatsDeleteArgs} args - Arguments to delete one CacheStats. * @example * // Delete one CacheStats * const CacheStats = await prisma.cacheStats.delete({ * where: { * // ... filter to delete one CacheStats * } * }) * */ delete(args: SelectSubset>): Prisma__CacheStatsClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one CacheStats. * @param {CacheStatsUpdateArgs} args - Arguments to update one CacheStats. * @example * // Update one CacheStats * const cacheStats = await prisma.cacheStats.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__CacheStatsClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more CacheStats. * @param {CacheStatsDeleteManyArgs} args - Arguments to filter CacheStats to delete. * @example * // Delete a few CacheStats * const { count } = await prisma.cacheStats.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more CacheStats. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CacheStatsUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many CacheStats * const cacheStats = await prisma.cacheStats.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more CacheStats and returns the data updated in the database. * @param {CacheStatsUpdateManyAndReturnArgs} args - Arguments to update many CacheStats. * @example * // Update many CacheStats * const cacheStats = await prisma.cacheStats.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more CacheStats and only return the `id` * const cacheStatsWithIdOnly = await prisma.cacheStats.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one CacheStats. * @param {CacheStatsUpsertArgs} args - Arguments to update or create a CacheStats. * @example * // Update or create a CacheStats * const cacheStats = await prisma.cacheStats.upsert({ * create: { * // ... data to create a CacheStats * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the CacheStats we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__CacheStatsClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of CacheStats. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CacheStatsCountArgs} args - Arguments to filter CacheStats to count. * @example * // Count the number of CacheStats * const count = await prisma.cacheStats.count({ * where: { * // ... the filter for the CacheStats 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 CacheStats. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CacheStatsAggregateArgs} 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 CacheStats. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CacheStatsGroupByArgs} 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 CacheStatsGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: CacheStatsGroupByArgs['orderBy'] } : { orderBy?: CacheStatsGroupByArgs['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 ? GetCacheStatsGroupByPayload : Prisma.PrismaPromise /** * Fields of the CacheStats model */ readonly fields: CacheStatsFieldRefs; } /** * The delegate class that acts as a "Promise-like" for CacheStats. * 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__CacheStatsClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $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 CacheStats model */ interface CacheStatsFieldRefs { readonly id: FieldRef<"CacheStats", 'String'> readonly projectId: FieldRef<"CacheStats", 'String'> readonly queryHash: FieldRef<"CacheStats", 'String'> readonly hitCount: FieldRef<"CacheStats", 'Int'> readonly createdAt: FieldRef<"CacheStats", 'DateTime'> readonly lastHitAt: FieldRef<"CacheStats", 'DateTime'> } // Custom InputTypes /** * CacheStats findUnique */ export type CacheStatsFindUniqueArgs = { /** * Select specific fields to fetch from the CacheStats */ select?: CacheStatsSelect | null /** * Omit specific fields from the CacheStats */ omit?: CacheStatsOmit | null /** * Filter, which CacheStats to fetch. */ where: CacheStatsWhereUniqueInput } /** * CacheStats findUniqueOrThrow */ export type CacheStatsFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the CacheStats */ select?: CacheStatsSelect | null /** * Omit specific fields from the CacheStats */ omit?: CacheStatsOmit | null /** * Filter, which CacheStats to fetch. */ where: CacheStatsWhereUniqueInput } /** * CacheStats findFirst */ export type CacheStatsFindFirstArgs = { /** * Select specific fields to fetch from the CacheStats */ select?: CacheStatsSelect | null /** * Omit specific fields from the CacheStats */ omit?: CacheStatsOmit | null /** * Filter, which CacheStats to fetch. */ where?: CacheStatsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CacheStats to fetch. */ orderBy?: CacheStatsOrderByWithRelationInput | CacheStatsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CacheStats. */ cursor?: CacheStatsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CacheStats 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` CacheStats. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CacheStats. */ distinct?: CacheStatsScalarFieldEnum | CacheStatsScalarFieldEnum[] } /** * CacheStats findFirstOrThrow */ export type CacheStatsFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the CacheStats */ select?: CacheStatsSelect | null /** * Omit specific fields from the CacheStats */ omit?: CacheStatsOmit | null /** * Filter, which CacheStats to fetch. */ where?: CacheStatsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CacheStats to fetch. */ orderBy?: CacheStatsOrderByWithRelationInput | CacheStatsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CacheStats. */ cursor?: CacheStatsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CacheStats 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` CacheStats. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CacheStats. */ distinct?: CacheStatsScalarFieldEnum | CacheStatsScalarFieldEnum[] } /** * CacheStats findMany */ export type CacheStatsFindManyArgs = { /** * Select specific fields to fetch from the CacheStats */ select?: CacheStatsSelect | null /** * Omit specific fields from the CacheStats */ omit?: CacheStatsOmit | null /** * Filter, which CacheStats to fetch. */ where?: CacheStatsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CacheStats to fetch. */ orderBy?: CacheStatsOrderByWithRelationInput | CacheStatsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing CacheStats. */ cursor?: CacheStatsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CacheStats 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` CacheStats. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CacheStats. */ distinct?: CacheStatsScalarFieldEnum | CacheStatsScalarFieldEnum[] } /** * CacheStats create */ export type CacheStatsCreateArgs = { /** * Select specific fields to fetch from the CacheStats */ select?: CacheStatsSelect | null /** * Omit specific fields from the CacheStats */ omit?: CacheStatsOmit | null /** * The data needed to create a CacheStats. */ data: XOR } /** * CacheStats createMany */ export type CacheStatsCreateManyArgs = { /** * The data used to create many CacheStats. */ data: CacheStatsCreateManyInput | CacheStatsCreateManyInput[] skipDuplicates?: boolean } /** * CacheStats createManyAndReturn */ export type CacheStatsCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the CacheStats */ select?: CacheStatsSelectCreateManyAndReturn | null /** * Omit specific fields from the CacheStats */ omit?: CacheStatsOmit | null /** * The data used to create many CacheStats. */ data: CacheStatsCreateManyInput | CacheStatsCreateManyInput[] skipDuplicates?: boolean } /** * CacheStats update */ export type CacheStatsUpdateArgs = { /** * Select specific fields to fetch from the CacheStats */ select?: CacheStatsSelect | null /** * Omit specific fields from the CacheStats */ omit?: CacheStatsOmit | null /** * The data needed to update a CacheStats. */ data: XOR /** * Choose, which CacheStats to update. */ where: CacheStatsWhereUniqueInput } /** * CacheStats updateMany */ export type CacheStatsUpdateManyArgs = { /** * The data used to update CacheStats. */ data: XOR /** * Filter which CacheStats to update */ where?: CacheStatsWhereInput /** * Limit how many CacheStats to update. */ limit?: number } /** * CacheStats updateManyAndReturn */ export type CacheStatsUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the CacheStats */ select?: CacheStatsSelectUpdateManyAndReturn | null /** * Omit specific fields from the CacheStats */ omit?: CacheStatsOmit | null /** * The data used to update CacheStats. */ data: XOR /** * Filter which CacheStats to update */ where?: CacheStatsWhereInput /** * Limit how many CacheStats to update. */ limit?: number } /** * CacheStats upsert */ export type CacheStatsUpsertArgs = { /** * Select specific fields to fetch from the CacheStats */ select?: CacheStatsSelect | null /** * Omit specific fields from the CacheStats */ omit?: CacheStatsOmit | null /** * The filter to search for the CacheStats to update in case it exists. */ where: CacheStatsWhereUniqueInput /** * In case the CacheStats found by the `where` argument doesn't exist, create a new CacheStats with this data. */ create: XOR /** * In case the CacheStats was found with the provided `where` argument, update it with this data. */ update: XOR } /** * CacheStats delete */ export type CacheStatsDeleteArgs = { /** * Select specific fields to fetch from the CacheStats */ select?: CacheStatsSelect | null /** * Omit specific fields from the CacheStats */ omit?: CacheStatsOmit | null /** * Filter which CacheStats to delete. */ where: CacheStatsWhereUniqueInput } /** * CacheStats deleteMany */ export type CacheStatsDeleteManyArgs = { /** * Filter which CacheStats to delete */ where?: CacheStatsWhereInput /** * Limit how many CacheStats to delete. */ limit?: number } /** * CacheStats without action */ export type CacheStatsDefaultArgs = { /** * Select specific fields to fetch from the CacheStats */ select?: CacheStatsSelect | null /** * Omit specific fields from the CacheStats */ omit?: CacheStatsOmit | null } /** * Model Workspace */ export type AggregateWorkspace = { _count: WorkspaceCountAggregateOutputType | null _avg: WorkspaceAvgAggregateOutputType | null _sum: WorkspaceSumAggregateOutputType | null _min: WorkspaceMinAggregateOutputType | null _max: WorkspaceMaxAggregateOutputType | null } export type WorkspaceAvgAggregateOutputType = { filesCount: number | null chunksCount: number | null symbolsCount: number | null activeFilesCount: number | null activeDefinitionsCount: number | null activeReferencesCount: number | null activeImportsCount: number | null activeCentralityCount: number | null activeDiagnosticsCount: number | null activeRecoveredCount: number | null activeHardFailuresCount: number | null activeStaleFilesCount: number | null } export type WorkspaceSumAggregateOutputType = { filesCount: number | null chunksCount: number | null symbolsCount: number | null activeFilesCount: number | null activeDefinitionsCount: number | null activeReferencesCount: number | null activeImportsCount: number | null activeCentralityCount: number | null activeDiagnosticsCount: number | null activeRecoveredCount: number | null activeHardFailuresCount: number | null activeStaleFilesCount: number | null } export type WorkspaceMinAggregateOutputType = { projectId: string | null projectPath: string | null displayName: string | null status: string | null lastIndexedAt: Date | null lastError: string | null filesCount: number | null chunksCount: number | null symbolsCount: number | null activeGraphGenerationId: string | null pendingGraphGenerationId: string | null graphLeaseToken: string | null graphLeaseExpiresAt: Date | null graphLeaseHeartbeatAt: Date | null activeFilesCount: number | null activeDefinitionsCount: number | null activeReferencesCount: number | null activeImportsCount: number | null activeCentralityCount: number | null activeDiagnosticsCount: number | null activeRecoveredCount: number | null activeHardFailuresCount: number | null activeStaleFilesCount: number | null createdAt: Date | null updatedAt: Date | null } export type WorkspaceMaxAggregateOutputType = { projectId: string | null projectPath: string | null displayName: string | null status: string | null lastIndexedAt: Date | null lastError: string | null filesCount: number | null chunksCount: number | null symbolsCount: number | null activeGraphGenerationId: string | null pendingGraphGenerationId: string | null graphLeaseToken: string | null graphLeaseExpiresAt: Date | null graphLeaseHeartbeatAt: Date | null activeFilesCount: number | null activeDefinitionsCount: number | null activeReferencesCount: number | null activeImportsCount: number | null activeCentralityCount: number | null activeDiagnosticsCount: number | null activeRecoveredCount: number | null activeHardFailuresCount: number | null activeStaleFilesCount: number | null createdAt: Date | null updatedAt: Date | null } export type WorkspaceCountAggregateOutputType = { projectId: number projectPath: number displayName: number status: number lastIndexedAt: number lastError: number filesCount: number chunksCount: number symbolsCount: number activeGraphGenerationId: number pendingGraphGenerationId: number graphLeaseToken: number graphLeaseExpiresAt: number graphLeaseHeartbeatAt: number activeFilesCount: number activeDefinitionsCount: number activeReferencesCount: number activeImportsCount: number activeCentralityCount: number activeDiagnosticsCount: number activeRecoveredCount: number activeHardFailuresCount: number activeStaleFilesCount: number createdAt: number updatedAt: number _all: number } export type WorkspaceAvgAggregateInputType = { filesCount?: true chunksCount?: true symbolsCount?: true activeFilesCount?: true activeDefinitionsCount?: true activeReferencesCount?: true activeImportsCount?: true activeCentralityCount?: true activeDiagnosticsCount?: true activeRecoveredCount?: true activeHardFailuresCount?: true activeStaleFilesCount?: true } export type WorkspaceSumAggregateInputType = { filesCount?: true chunksCount?: true symbolsCount?: true activeFilesCount?: true activeDefinitionsCount?: true activeReferencesCount?: true activeImportsCount?: true activeCentralityCount?: true activeDiagnosticsCount?: true activeRecoveredCount?: true activeHardFailuresCount?: true activeStaleFilesCount?: true } export type WorkspaceMinAggregateInputType = { projectId?: true projectPath?: true displayName?: true status?: true lastIndexedAt?: true lastError?: true filesCount?: true chunksCount?: true symbolsCount?: true activeGraphGenerationId?: true pendingGraphGenerationId?: true graphLeaseToken?: true graphLeaseExpiresAt?: true graphLeaseHeartbeatAt?: true activeFilesCount?: true activeDefinitionsCount?: true activeReferencesCount?: true activeImportsCount?: true activeCentralityCount?: true activeDiagnosticsCount?: true activeRecoveredCount?: true activeHardFailuresCount?: true activeStaleFilesCount?: true createdAt?: true updatedAt?: true } export type WorkspaceMaxAggregateInputType = { projectId?: true projectPath?: true displayName?: true status?: true lastIndexedAt?: true lastError?: true filesCount?: true chunksCount?: true symbolsCount?: true activeGraphGenerationId?: true pendingGraphGenerationId?: true graphLeaseToken?: true graphLeaseExpiresAt?: true graphLeaseHeartbeatAt?: true activeFilesCount?: true activeDefinitionsCount?: true activeReferencesCount?: true activeImportsCount?: true activeCentralityCount?: true activeDiagnosticsCount?: true activeRecoveredCount?: true activeHardFailuresCount?: true activeStaleFilesCount?: true createdAt?: true updatedAt?: true } export type WorkspaceCountAggregateInputType = { projectId?: true projectPath?: true displayName?: true status?: true lastIndexedAt?: true lastError?: true filesCount?: true chunksCount?: true symbolsCount?: true activeGraphGenerationId?: true pendingGraphGenerationId?: true graphLeaseToken?: true graphLeaseExpiresAt?: true graphLeaseHeartbeatAt?: true activeFilesCount?: true activeDefinitionsCount?: true activeReferencesCount?: true activeImportsCount?: true activeCentralityCount?: true activeDiagnosticsCount?: true activeRecoveredCount?: true activeHardFailuresCount?: true activeStaleFilesCount?: true createdAt?: true updatedAt?: true _all?: true } export type WorkspaceAggregateArgs = { /** * Filter which Workspace to aggregate. */ where?: WorkspaceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Workspaces to fetch. */ orderBy?: WorkspaceOrderByWithRelationInput | WorkspaceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: WorkspaceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Workspaces 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` Workspaces. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Workspaces **/ _count?: true | WorkspaceCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: WorkspaceAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: WorkspaceSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: WorkspaceMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: WorkspaceMaxAggregateInputType } export type GetWorkspaceAggregateType = { [P in keyof T & keyof AggregateWorkspace]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type WorkspaceGroupByArgs = { where?: WorkspaceWhereInput orderBy?: WorkspaceOrderByWithAggregationInput | WorkspaceOrderByWithAggregationInput[] by: WorkspaceScalarFieldEnum[] | WorkspaceScalarFieldEnum having?: WorkspaceScalarWhereWithAggregatesInput take?: number skip?: number _count?: WorkspaceCountAggregateInputType | true _avg?: WorkspaceAvgAggregateInputType _sum?: WorkspaceSumAggregateInputType _min?: WorkspaceMinAggregateInputType _max?: WorkspaceMaxAggregateInputType } export type WorkspaceGroupByOutputType = { projectId: string projectPath: string displayName: string | null status: string lastIndexedAt: Date | null lastError: string | null filesCount: number chunksCount: number symbolsCount: number activeGraphGenerationId: string | null pendingGraphGenerationId: string | null graphLeaseToken: string | null graphLeaseExpiresAt: Date | null graphLeaseHeartbeatAt: Date | null activeFilesCount: number activeDefinitionsCount: number activeReferencesCount: number activeImportsCount: number activeCentralityCount: number activeDiagnosticsCount: number activeRecoveredCount: number activeHardFailuresCount: number activeStaleFilesCount: number createdAt: Date updatedAt: Date _count: WorkspaceCountAggregateOutputType | null _avg: WorkspaceAvgAggregateOutputType | null _sum: WorkspaceSumAggregateOutputType | null _min: WorkspaceMinAggregateOutputType | null _max: WorkspaceMaxAggregateOutputType | null } type GetWorkspaceGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof WorkspaceGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type WorkspaceSelect = $Extensions.GetSelect<{ projectId?: boolean projectPath?: boolean displayName?: boolean status?: boolean lastIndexedAt?: boolean lastError?: boolean filesCount?: boolean chunksCount?: boolean symbolsCount?: boolean activeGraphGenerationId?: boolean pendingGraphGenerationId?: boolean graphLeaseToken?: boolean graphLeaseExpiresAt?: boolean graphLeaseHeartbeatAt?: boolean activeFilesCount?: boolean activeDefinitionsCount?: boolean activeReferencesCount?: boolean activeImportsCount?: boolean activeCentralityCount?: boolean activeDiagnosticsCount?: boolean activeRecoveredCount?: boolean activeHardFailuresCount?: boolean activeStaleFilesCount?: boolean createdAt?: boolean updatedAt?: boolean files?: boolean | Workspace$filesArgs definitions?: boolean | Workspace$definitionsArgs references?: boolean | Workspace$referencesArgs imports?: boolean | Workspace$importsArgs centralities?: boolean | Workspace$centralitiesArgs graphGenerations?: boolean | Workspace$graphGenerationsArgs activeGraphGeneration?: boolean | Workspace$activeGraphGenerationArgs pendingGraphGeneration?: boolean | Workspace$pendingGraphGenerationArgs _count?: boolean | WorkspaceCountOutputTypeDefaultArgs }, ExtArgs["result"]["workspace"]> export type WorkspaceSelectCreateManyAndReturn = $Extensions.GetSelect<{ projectId?: boolean projectPath?: boolean displayName?: boolean status?: boolean lastIndexedAt?: boolean lastError?: boolean filesCount?: boolean chunksCount?: boolean symbolsCount?: boolean activeGraphGenerationId?: boolean pendingGraphGenerationId?: boolean graphLeaseToken?: boolean graphLeaseExpiresAt?: boolean graphLeaseHeartbeatAt?: boolean activeFilesCount?: boolean activeDefinitionsCount?: boolean activeReferencesCount?: boolean activeImportsCount?: boolean activeCentralityCount?: boolean activeDiagnosticsCount?: boolean activeRecoveredCount?: boolean activeHardFailuresCount?: boolean activeStaleFilesCount?: boolean createdAt?: boolean updatedAt?: boolean activeGraphGeneration?: boolean | Workspace$activeGraphGenerationArgs pendingGraphGeneration?: boolean | Workspace$pendingGraphGenerationArgs }, ExtArgs["result"]["workspace"]> export type WorkspaceSelectUpdateManyAndReturn = $Extensions.GetSelect<{ projectId?: boolean projectPath?: boolean displayName?: boolean status?: boolean lastIndexedAt?: boolean lastError?: boolean filesCount?: boolean chunksCount?: boolean symbolsCount?: boolean activeGraphGenerationId?: boolean pendingGraphGenerationId?: boolean graphLeaseToken?: boolean graphLeaseExpiresAt?: boolean graphLeaseHeartbeatAt?: boolean activeFilesCount?: boolean activeDefinitionsCount?: boolean activeReferencesCount?: boolean activeImportsCount?: boolean activeCentralityCount?: boolean activeDiagnosticsCount?: boolean activeRecoveredCount?: boolean activeHardFailuresCount?: boolean activeStaleFilesCount?: boolean createdAt?: boolean updatedAt?: boolean activeGraphGeneration?: boolean | Workspace$activeGraphGenerationArgs pendingGraphGeneration?: boolean | Workspace$pendingGraphGenerationArgs }, ExtArgs["result"]["workspace"]> export type WorkspaceSelectScalar = { projectId?: boolean projectPath?: boolean displayName?: boolean status?: boolean lastIndexedAt?: boolean lastError?: boolean filesCount?: boolean chunksCount?: boolean symbolsCount?: boolean activeGraphGenerationId?: boolean pendingGraphGenerationId?: boolean graphLeaseToken?: boolean graphLeaseExpiresAt?: boolean graphLeaseHeartbeatAt?: boolean activeFilesCount?: boolean activeDefinitionsCount?: boolean activeReferencesCount?: boolean activeImportsCount?: boolean activeCentralityCount?: boolean activeDiagnosticsCount?: boolean activeRecoveredCount?: boolean activeHardFailuresCount?: boolean activeStaleFilesCount?: boolean createdAt?: boolean updatedAt?: boolean } export type WorkspaceOmit = $Extensions.GetOmit<"projectId" | "projectPath" | "displayName" | "status" | "lastIndexedAt" | "lastError" | "filesCount" | "chunksCount" | "symbolsCount" | "activeGraphGenerationId" | "pendingGraphGenerationId" | "graphLeaseToken" | "graphLeaseExpiresAt" | "graphLeaseHeartbeatAt" | "activeFilesCount" | "activeDefinitionsCount" | "activeReferencesCount" | "activeImportsCount" | "activeCentralityCount" | "activeDiagnosticsCount" | "activeRecoveredCount" | "activeHardFailuresCount" | "activeStaleFilesCount" | "createdAt" | "updatedAt", ExtArgs["result"]["workspace"]> export type WorkspaceInclude = { files?: boolean | Workspace$filesArgs definitions?: boolean | Workspace$definitionsArgs references?: boolean | Workspace$referencesArgs imports?: boolean | Workspace$importsArgs centralities?: boolean | Workspace$centralitiesArgs graphGenerations?: boolean | Workspace$graphGenerationsArgs activeGraphGeneration?: boolean | Workspace$activeGraphGenerationArgs pendingGraphGeneration?: boolean | Workspace$pendingGraphGenerationArgs _count?: boolean | WorkspaceCountOutputTypeDefaultArgs } export type WorkspaceIncludeCreateManyAndReturn = { activeGraphGeneration?: boolean | Workspace$activeGraphGenerationArgs pendingGraphGeneration?: boolean | Workspace$pendingGraphGenerationArgs } export type WorkspaceIncludeUpdateManyAndReturn = { activeGraphGeneration?: boolean | Workspace$activeGraphGenerationArgs pendingGraphGeneration?: boolean | Workspace$pendingGraphGenerationArgs } export type $WorkspacePayload = { name: "Workspace" objects: { files: Prisma.$SymbolFilePayload[] definitions: Prisma.$SymbolDefinitionPayload[] references: Prisma.$SymbolReferencePayload[] imports: Prisma.$SymbolImportPayload[] centralities: Prisma.$SymbolCentralityPayload[] graphGenerations: Prisma.$GraphGenerationPayload[] activeGraphGeneration: Prisma.$GraphGenerationPayload | null pendingGraphGeneration: Prisma.$GraphGenerationPayload | null } scalars: $Extensions.GetPayloadResult<{ projectId: string projectPath: string displayName: string | null status: string lastIndexedAt: Date | null lastError: string | null filesCount: number chunksCount: number symbolsCount: number activeGraphGenerationId: string | null pendingGraphGenerationId: string | null graphLeaseToken: string | null graphLeaseExpiresAt: Date | null graphLeaseHeartbeatAt: Date | null activeFilesCount: number activeDefinitionsCount: number activeReferencesCount: number activeImportsCount: number activeCentralityCount: number activeDiagnosticsCount: number activeRecoveredCount: number activeHardFailuresCount: number activeStaleFilesCount: number createdAt: Date updatedAt: Date }, ExtArgs["result"]["workspace"]> composites: {} } type WorkspaceGetPayload = $Result.GetResult type WorkspaceCountArgs = Omit & { select?: WorkspaceCountAggregateInputType | true } export interface WorkspaceDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Workspace'], meta: { name: 'Workspace' } } /** * Find zero or one Workspace that matches the filter. * @param {WorkspaceFindUniqueArgs} args - Arguments to find a Workspace * @example * // Get one Workspace * const workspace = await prisma.workspace.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__WorkspaceClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Workspace that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {WorkspaceFindUniqueOrThrowArgs} args - Arguments to find a Workspace * @example * // Get one Workspace * const workspace = await prisma.workspace.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__WorkspaceClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Workspace 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 {WorkspaceFindFirstArgs} args - Arguments to find a Workspace * @example * // Get one Workspace * const workspace = await prisma.workspace.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__WorkspaceClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Workspace 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 {WorkspaceFindFirstOrThrowArgs} args - Arguments to find a Workspace * @example * // Get one Workspace * const workspace = await prisma.workspace.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__WorkspaceClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Workspaces 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 {WorkspaceFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Workspaces * const workspaces = await prisma.workspace.findMany() * * // Get first 10 Workspaces * const workspaces = await prisma.workspace.findMany({ take: 10 }) * * // Only select the `projectId` * const workspaceWithProjectIdOnly = await prisma.workspace.findMany({ select: { projectId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Workspace. * @param {WorkspaceCreateArgs} args - Arguments to create a Workspace. * @example * // Create one Workspace * const Workspace = await prisma.workspace.create({ * data: { * // ... data to create a Workspace * } * }) * */ create(args: SelectSubset>): Prisma__WorkspaceClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Workspaces. * @param {WorkspaceCreateManyArgs} args - Arguments to create many Workspaces. * @example * // Create many Workspaces * const workspace = await prisma.workspace.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Workspaces and returns the data saved in the database. * @param {WorkspaceCreateManyAndReturnArgs} args - Arguments to create many Workspaces. * @example * // Create many Workspaces * const workspace = await prisma.workspace.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Workspaces and only return the `projectId` * const workspaceWithProjectIdOnly = await prisma.workspace.createManyAndReturn({ * select: { projectId: 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", GlobalOmitOptions>> /** * Delete a Workspace. * @param {WorkspaceDeleteArgs} args - Arguments to delete one Workspace. * @example * // Delete one Workspace * const Workspace = await prisma.workspace.delete({ * where: { * // ... filter to delete one Workspace * } * }) * */ delete(args: SelectSubset>): Prisma__WorkspaceClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Workspace. * @param {WorkspaceUpdateArgs} args - Arguments to update one Workspace. * @example * // Update one Workspace * const workspace = await prisma.workspace.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__WorkspaceClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Workspaces. * @param {WorkspaceDeleteManyArgs} args - Arguments to filter Workspaces to delete. * @example * // Delete a few Workspaces * const { count } = await prisma.workspace.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Workspaces. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkspaceUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Workspaces * const workspace = await prisma.workspace.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Workspaces and returns the data updated in the database. * @param {WorkspaceUpdateManyAndReturnArgs} args - Arguments to update many Workspaces. * @example * // Update many Workspaces * const workspace = await prisma.workspace.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Workspaces and only return the `projectId` * const workspaceWithProjectIdOnly = await prisma.workspace.updateManyAndReturn({ * select: { projectId: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one Workspace. * @param {WorkspaceUpsertArgs} args - Arguments to update or create a Workspace. * @example * // Update or create a Workspace * const workspace = await prisma.workspace.upsert({ * create: { * // ... data to create a Workspace * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Workspace we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__WorkspaceClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Workspaces. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkspaceCountArgs} args - Arguments to filter Workspaces to count. * @example * // Count the number of Workspaces * const count = await prisma.workspace.count({ * where: { * // ... the filter for the Workspaces 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 Workspace. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkspaceAggregateArgs} 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 Workspace. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkspaceGroupByArgs} 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 WorkspaceGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: WorkspaceGroupByArgs['orderBy'] } : { orderBy?: WorkspaceGroupByArgs['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 ? GetWorkspaceGroupByPayload : Prisma.PrismaPromise /** * Fields of the Workspace model */ readonly fields: WorkspaceFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Workspace. * 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__WorkspaceClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" files = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> definitions = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> references = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> imports = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> centralities = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> graphGenerations = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> activeGraphGeneration = {}>(args?: Subset>): Prisma__GraphGenerationClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> pendingGraphGeneration = {}>(args?: Subset>): Prisma__GraphGenerationClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(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 Workspace model */ interface WorkspaceFieldRefs { readonly projectId: FieldRef<"Workspace", 'String'> readonly projectPath: FieldRef<"Workspace", 'String'> readonly displayName: FieldRef<"Workspace", 'String'> readonly status: FieldRef<"Workspace", 'String'> readonly lastIndexedAt: FieldRef<"Workspace", 'DateTime'> readonly lastError: FieldRef<"Workspace", 'String'> readonly filesCount: FieldRef<"Workspace", 'Int'> readonly chunksCount: FieldRef<"Workspace", 'Int'> readonly symbolsCount: FieldRef<"Workspace", 'Int'> readonly activeGraphGenerationId: FieldRef<"Workspace", 'String'> readonly pendingGraphGenerationId: FieldRef<"Workspace", 'String'> readonly graphLeaseToken: FieldRef<"Workspace", 'String'> readonly graphLeaseExpiresAt: FieldRef<"Workspace", 'DateTime'> readonly graphLeaseHeartbeatAt: FieldRef<"Workspace", 'DateTime'> readonly activeFilesCount: FieldRef<"Workspace", 'Int'> readonly activeDefinitionsCount: FieldRef<"Workspace", 'Int'> readonly activeReferencesCount: FieldRef<"Workspace", 'Int'> readonly activeImportsCount: FieldRef<"Workspace", 'Int'> readonly activeCentralityCount: FieldRef<"Workspace", 'Int'> readonly activeDiagnosticsCount: FieldRef<"Workspace", 'Int'> readonly activeRecoveredCount: FieldRef<"Workspace", 'Int'> readonly activeHardFailuresCount: FieldRef<"Workspace", 'Int'> readonly activeStaleFilesCount: FieldRef<"Workspace", 'Int'> readonly createdAt: FieldRef<"Workspace", 'DateTime'> readonly updatedAt: FieldRef<"Workspace", 'DateTime'> } // Custom InputTypes /** * Workspace findUnique */ export type WorkspaceFindUniqueArgs = { /** * Select specific fields to fetch from the Workspace */ select?: WorkspaceSelect | null /** * Omit specific fields from the Workspace */ omit?: WorkspaceOmit | null /** * Choose, which related nodes to fetch as well */ include?: WorkspaceInclude | null /** * Filter, which Workspace to fetch. */ where: WorkspaceWhereUniqueInput } /** * Workspace findUniqueOrThrow */ export type WorkspaceFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Workspace */ select?: WorkspaceSelect | null /** * Omit specific fields from the Workspace */ omit?: WorkspaceOmit | null /** * Choose, which related nodes to fetch as well */ include?: WorkspaceInclude | null /** * Filter, which Workspace to fetch. */ where: WorkspaceWhereUniqueInput } /** * Workspace findFirst */ export type WorkspaceFindFirstArgs = { /** * Select specific fields to fetch from the Workspace */ select?: WorkspaceSelect | null /** * Omit specific fields from the Workspace */ omit?: WorkspaceOmit | null /** * Choose, which related nodes to fetch as well */ include?: WorkspaceInclude | null /** * Filter, which Workspace to fetch. */ where?: WorkspaceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Workspaces to fetch. */ orderBy?: WorkspaceOrderByWithRelationInput | WorkspaceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Workspaces. */ cursor?: WorkspaceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Workspaces 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` Workspaces. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Workspaces. */ distinct?: WorkspaceScalarFieldEnum | WorkspaceScalarFieldEnum[] } /** * Workspace findFirstOrThrow */ export type WorkspaceFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Workspace */ select?: WorkspaceSelect | null /** * Omit specific fields from the Workspace */ omit?: WorkspaceOmit | null /** * Choose, which related nodes to fetch as well */ include?: WorkspaceInclude | null /** * Filter, which Workspace to fetch. */ where?: WorkspaceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Workspaces to fetch. */ orderBy?: WorkspaceOrderByWithRelationInput | WorkspaceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Workspaces. */ cursor?: WorkspaceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Workspaces 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` Workspaces. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Workspaces. */ distinct?: WorkspaceScalarFieldEnum | WorkspaceScalarFieldEnum[] } /** * Workspace findMany */ export type WorkspaceFindManyArgs = { /** * Select specific fields to fetch from the Workspace */ select?: WorkspaceSelect | null /** * Omit specific fields from the Workspace */ omit?: WorkspaceOmit | null /** * Choose, which related nodes to fetch as well */ include?: WorkspaceInclude | null /** * Filter, which Workspaces to fetch. */ where?: WorkspaceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Workspaces to fetch. */ orderBy?: WorkspaceOrderByWithRelationInput | WorkspaceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Workspaces. */ cursor?: WorkspaceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Workspaces 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` Workspaces. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Workspaces. */ distinct?: WorkspaceScalarFieldEnum | WorkspaceScalarFieldEnum[] } /** * Workspace create */ export type WorkspaceCreateArgs = { /** * Select specific fields to fetch from the Workspace */ select?: WorkspaceSelect | null /** * Omit specific fields from the Workspace */ omit?: WorkspaceOmit | null /** * Choose, which related nodes to fetch as well */ include?: WorkspaceInclude | null /** * The data needed to create a Workspace. */ data: XOR } /** * Workspace createMany */ export type WorkspaceCreateManyArgs = { /** * The data used to create many Workspaces. */ data: WorkspaceCreateManyInput | WorkspaceCreateManyInput[] skipDuplicates?: boolean } /** * Workspace createManyAndReturn */ export type WorkspaceCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Workspace */ select?: WorkspaceSelectCreateManyAndReturn | null /** * Omit specific fields from the Workspace */ omit?: WorkspaceOmit | null /** * The data used to create many Workspaces. */ data: WorkspaceCreateManyInput | WorkspaceCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: WorkspaceIncludeCreateManyAndReturn | null } /** * Workspace update */ export type WorkspaceUpdateArgs = { /** * Select specific fields to fetch from the Workspace */ select?: WorkspaceSelect | null /** * Omit specific fields from the Workspace */ omit?: WorkspaceOmit | null /** * Choose, which related nodes to fetch as well */ include?: WorkspaceInclude | null /** * The data needed to update a Workspace. */ data: XOR /** * Choose, which Workspace to update. */ where: WorkspaceWhereUniqueInput } /** * Workspace updateMany */ export type WorkspaceUpdateManyArgs = { /** * The data used to update Workspaces. */ data: XOR /** * Filter which Workspaces to update */ where?: WorkspaceWhereInput /** * Limit how many Workspaces to update. */ limit?: number } /** * Workspace updateManyAndReturn */ export type WorkspaceUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Workspace */ select?: WorkspaceSelectUpdateManyAndReturn | null /** * Omit specific fields from the Workspace */ omit?: WorkspaceOmit | null /** * The data used to update Workspaces. */ data: XOR /** * Filter which Workspaces to update */ where?: WorkspaceWhereInput /** * Limit how many Workspaces to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: WorkspaceIncludeUpdateManyAndReturn | null } /** * Workspace upsert */ export type WorkspaceUpsertArgs = { /** * Select specific fields to fetch from the Workspace */ select?: WorkspaceSelect | null /** * Omit specific fields from the Workspace */ omit?: WorkspaceOmit | null /** * Choose, which related nodes to fetch as well */ include?: WorkspaceInclude | null /** * The filter to search for the Workspace to update in case it exists. */ where: WorkspaceWhereUniqueInput /** * In case the Workspace found by the `where` argument doesn't exist, create a new Workspace with this data. */ create: XOR /** * In case the Workspace was found with the provided `where` argument, update it with this data. */ update: XOR } /** * Workspace delete */ export type WorkspaceDeleteArgs = { /** * Select specific fields to fetch from the Workspace */ select?: WorkspaceSelect | null /** * Omit specific fields from the Workspace */ omit?: WorkspaceOmit | null /** * Choose, which related nodes to fetch as well */ include?: WorkspaceInclude | null /** * Filter which Workspace to delete. */ where: WorkspaceWhereUniqueInput } /** * Workspace deleteMany */ export type WorkspaceDeleteManyArgs = { /** * Filter which Workspaces to delete */ where?: WorkspaceWhereInput /** * Limit how many Workspaces to delete. */ limit?: number } /** * Workspace.files */ export type Workspace$filesArgs = { /** * Select specific fields to fetch from the SymbolFile */ select?: SymbolFileSelect | null /** * Omit specific fields from the SymbolFile */ omit?: SymbolFileOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolFileInclude | null where?: SymbolFileWhereInput orderBy?: SymbolFileOrderByWithRelationInput | SymbolFileOrderByWithRelationInput[] cursor?: SymbolFileWhereUniqueInput take?: number skip?: number distinct?: SymbolFileScalarFieldEnum | SymbolFileScalarFieldEnum[] } /** * Workspace.definitions */ export type Workspace$definitionsArgs = { /** * Select specific fields to fetch from the SymbolDefinition */ select?: SymbolDefinitionSelect | null /** * Omit specific fields from the SymbolDefinition */ omit?: SymbolDefinitionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolDefinitionInclude | null where?: SymbolDefinitionWhereInput orderBy?: SymbolDefinitionOrderByWithRelationInput | SymbolDefinitionOrderByWithRelationInput[] cursor?: SymbolDefinitionWhereUniqueInput take?: number skip?: number distinct?: SymbolDefinitionScalarFieldEnum | SymbolDefinitionScalarFieldEnum[] } /** * Workspace.references */ export type Workspace$referencesArgs = { /** * Select specific fields to fetch from the SymbolReference */ select?: SymbolReferenceSelect | null /** * Omit specific fields from the SymbolReference */ omit?: SymbolReferenceOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolReferenceInclude | null where?: SymbolReferenceWhereInput orderBy?: SymbolReferenceOrderByWithRelationInput | SymbolReferenceOrderByWithRelationInput[] cursor?: SymbolReferenceWhereUniqueInput take?: number skip?: number distinct?: SymbolReferenceScalarFieldEnum | SymbolReferenceScalarFieldEnum[] } /** * Workspace.imports */ export type Workspace$importsArgs = { /** * Select specific fields to fetch from the SymbolImport */ select?: SymbolImportSelect | null /** * Omit specific fields from the SymbolImport */ omit?: SymbolImportOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolImportInclude | null where?: SymbolImportWhereInput orderBy?: SymbolImportOrderByWithRelationInput | SymbolImportOrderByWithRelationInput[] cursor?: SymbolImportWhereUniqueInput take?: number skip?: number distinct?: SymbolImportScalarFieldEnum | SymbolImportScalarFieldEnum[] } /** * Workspace.centralities */ export type Workspace$centralitiesArgs = { /** * Select specific fields to fetch from the SymbolCentrality */ select?: SymbolCentralitySelect | null /** * Omit specific fields from the SymbolCentrality */ omit?: SymbolCentralityOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolCentralityInclude | null where?: SymbolCentralityWhereInput orderBy?: SymbolCentralityOrderByWithRelationInput | SymbolCentralityOrderByWithRelationInput[] cursor?: SymbolCentralityWhereUniqueInput take?: number skip?: number distinct?: SymbolCentralityScalarFieldEnum | SymbolCentralityScalarFieldEnum[] } /** * Workspace.graphGenerations */ export type Workspace$graphGenerationsArgs = { /** * Select specific fields to fetch from the GraphGeneration */ select?: GraphGenerationSelect | null /** * Omit specific fields from the GraphGeneration */ omit?: GraphGenerationOmit | null /** * Choose, which related nodes to fetch as well */ include?: GraphGenerationInclude | null where?: GraphGenerationWhereInput orderBy?: GraphGenerationOrderByWithRelationInput | GraphGenerationOrderByWithRelationInput[] cursor?: GraphGenerationWhereUniqueInput take?: number skip?: number distinct?: GraphGenerationScalarFieldEnum | GraphGenerationScalarFieldEnum[] } /** * Workspace.activeGraphGeneration */ export type Workspace$activeGraphGenerationArgs = { /** * Select specific fields to fetch from the GraphGeneration */ select?: GraphGenerationSelect | null /** * Omit specific fields from the GraphGeneration */ omit?: GraphGenerationOmit | null /** * Choose, which related nodes to fetch as well */ include?: GraphGenerationInclude | null where?: GraphGenerationWhereInput } /** * Workspace.pendingGraphGeneration */ export type Workspace$pendingGraphGenerationArgs = { /** * Select specific fields to fetch from the GraphGeneration */ select?: GraphGenerationSelect | null /** * Omit specific fields from the GraphGeneration */ omit?: GraphGenerationOmit | null /** * Choose, which related nodes to fetch as well */ include?: GraphGenerationInclude | null where?: GraphGenerationWhereInput } /** * Workspace without action */ export type WorkspaceDefaultArgs = { /** * Select specific fields to fetch from the Workspace */ select?: WorkspaceSelect | null /** * Omit specific fields from the Workspace */ omit?: WorkspaceOmit | null /** * Choose, which related nodes to fetch as well */ include?: WorkspaceInclude | null } /** * Model GraphGeneration */ export type AggregateGraphGeneration = { _count: GraphGenerationCountAggregateOutputType | null _avg: GraphGenerationAvgAggregateOutputType | null _sum: GraphGenerationSumAggregateOutputType | null _min: GraphGenerationMinAggregateOutputType | null _max: GraphGenerationMaxAggregateOutputType | null } export type GraphGenerationAvgAggregateOutputType = { expectedFilesCount: number | null completedFilesCount: number | null filesCount: number | null definitionsCount: number | null referencesCount: number | null importsCount: number | null centralityCount: number | null diagnosticsCount: number | null recoveredCount: number | null hardFailuresCount: number | null staleFilesCount: number | null } export type GraphGenerationSumAggregateOutputType = { expectedFilesCount: number | null completedFilesCount: number | null filesCount: number | null definitionsCount: number | null referencesCount: number | null importsCount: number | null centralityCount: number | null diagnosticsCount: number | null recoveredCount: number | null hardFailuresCount: number | null staleFilesCount: number | null } export type GraphGenerationMinAggregateOutputType = { id: string | null projectId: string | null status: string | null fingerprint: string | null inputSnapshotHash: string | null expectedActiveId: string | null leaseToken: string | null leaseExpiresAt: Date | null expectedFilesCount: number | null completedFilesCount: number | null filesCount: number | null definitionsCount: number | null referencesCount: number | null importsCount: number | null centralityCount: number | null diagnosticsCount: number | null recoveredCount: number | null hardFailuresCount: number | null staleFilesCount: number | null failureReason: string | null startedAt: Date | null completedAt: Date | null activatedAt: Date | null supersededAt: Date | null } export type GraphGenerationMaxAggregateOutputType = { id: string | null projectId: string | null status: string | null fingerprint: string | null inputSnapshotHash: string | null expectedActiveId: string | null leaseToken: string | null leaseExpiresAt: Date | null expectedFilesCount: number | null completedFilesCount: number | null filesCount: number | null definitionsCount: number | null referencesCount: number | null importsCount: number | null centralityCount: number | null diagnosticsCount: number | null recoveredCount: number | null hardFailuresCount: number | null staleFilesCount: number | null failureReason: string | null startedAt: Date | null completedAt: Date | null activatedAt: Date | null supersededAt: Date | null } export type GraphGenerationCountAggregateOutputType = { id: number projectId: number status: number fingerprint: number inputSnapshotHash: number expectedActiveId: number leaseToken: number leaseExpiresAt: number expectedFilesCount: number completedFilesCount: number filesCount: number definitionsCount: number referencesCount: number importsCount: number centralityCount: number diagnosticsCount: number recoveredCount: number hardFailuresCount: number staleFilesCount: number failureReason: number startedAt: number completedAt: number activatedAt: number supersededAt: number _all: number } export type GraphGenerationAvgAggregateInputType = { expectedFilesCount?: true completedFilesCount?: true filesCount?: true definitionsCount?: true referencesCount?: true importsCount?: true centralityCount?: true diagnosticsCount?: true recoveredCount?: true hardFailuresCount?: true staleFilesCount?: true } export type GraphGenerationSumAggregateInputType = { expectedFilesCount?: true completedFilesCount?: true filesCount?: true definitionsCount?: true referencesCount?: true importsCount?: true centralityCount?: true diagnosticsCount?: true recoveredCount?: true hardFailuresCount?: true staleFilesCount?: true } export type GraphGenerationMinAggregateInputType = { id?: true projectId?: true status?: true fingerprint?: true inputSnapshotHash?: true expectedActiveId?: true leaseToken?: true leaseExpiresAt?: true expectedFilesCount?: true completedFilesCount?: true filesCount?: true definitionsCount?: true referencesCount?: true importsCount?: true centralityCount?: true diagnosticsCount?: true recoveredCount?: true hardFailuresCount?: true staleFilesCount?: true failureReason?: true startedAt?: true completedAt?: true activatedAt?: true supersededAt?: true } export type GraphGenerationMaxAggregateInputType = { id?: true projectId?: true status?: true fingerprint?: true inputSnapshotHash?: true expectedActiveId?: true leaseToken?: true leaseExpiresAt?: true expectedFilesCount?: true completedFilesCount?: true filesCount?: true definitionsCount?: true referencesCount?: true importsCount?: true centralityCount?: true diagnosticsCount?: true recoveredCount?: true hardFailuresCount?: true staleFilesCount?: true failureReason?: true startedAt?: true completedAt?: true activatedAt?: true supersededAt?: true } export type GraphGenerationCountAggregateInputType = { id?: true projectId?: true status?: true fingerprint?: true inputSnapshotHash?: true expectedActiveId?: true leaseToken?: true leaseExpiresAt?: true expectedFilesCount?: true completedFilesCount?: true filesCount?: true definitionsCount?: true referencesCount?: true importsCount?: true centralityCount?: true diagnosticsCount?: true recoveredCount?: true hardFailuresCount?: true staleFilesCount?: true failureReason?: true startedAt?: true completedAt?: true activatedAt?: true supersededAt?: true _all?: true } export type GraphGenerationAggregateArgs = { /** * Filter which GraphGeneration to aggregate. */ where?: GraphGenerationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of GraphGenerations to fetch. */ orderBy?: GraphGenerationOrderByWithRelationInput | GraphGenerationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: GraphGenerationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` GraphGenerations 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` GraphGenerations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned GraphGenerations **/ _count?: true | GraphGenerationCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: GraphGenerationAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: GraphGenerationSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: GraphGenerationMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: GraphGenerationMaxAggregateInputType } export type GetGraphGenerationAggregateType = { [P in keyof T & keyof AggregateGraphGeneration]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type GraphGenerationGroupByArgs = { where?: GraphGenerationWhereInput orderBy?: GraphGenerationOrderByWithAggregationInput | GraphGenerationOrderByWithAggregationInput[] by: GraphGenerationScalarFieldEnum[] | GraphGenerationScalarFieldEnum having?: GraphGenerationScalarWhereWithAggregatesInput take?: number skip?: number _count?: GraphGenerationCountAggregateInputType | true _avg?: GraphGenerationAvgAggregateInputType _sum?: GraphGenerationSumAggregateInputType _min?: GraphGenerationMinAggregateInputType _max?: GraphGenerationMaxAggregateInputType } export type GraphGenerationGroupByOutputType = { id: string projectId: string status: string fingerprint: string inputSnapshotHash: string expectedActiveId: string | null leaseToken: string | null leaseExpiresAt: Date | null expectedFilesCount: number completedFilesCount: number filesCount: number definitionsCount: number referencesCount: number importsCount: number centralityCount: number diagnosticsCount: number recoveredCount: number hardFailuresCount: number staleFilesCount: number failureReason: string | null startedAt: Date completedAt: Date | null activatedAt: Date | null supersededAt: Date | null _count: GraphGenerationCountAggregateOutputType | null _avg: GraphGenerationAvgAggregateOutputType | null _sum: GraphGenerationSumAggregateOutputType | null _min: GraphGenerationMinAggregateOutputType | null _max: GraphGenerationMaxAggregateOutputType | null } type GetGraphGenerationGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof GraphGenerationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type GraphGenerationSelect = $Extensions.GetSelect<{ id?: boolean projectId?: boolean status?: boolean fingerprint?: boolean inputSnapshotHash?: boolean expectedActiveId?: boolean leaseToken?: boolean leaseExpiresAt?: boolean expectedFilesCount?: boolean completedFilesCount?: boolean filesCount?: boolean definitionsCount?: boolean referencesCount?: boolean importsCount?: boolean centralityCount?: boolean diagnosticsCount?: boolean recoveredCount?: boolean hardFailuresCount?: boolean staleFilesCount?: boolean failureReason?: boolean startedAt?: boolean completedAt?: boolean activatedAt?: boolean supersededAt?: boolean workspace?: boolean | WorkspaceDefaultArgs files?: boolean | GraphGeneration$filesArgs definitions?: boolean | GraphGeneration$definitionsArgs references?: boolean | GraphGeneration$referencesArgs imports?: boolean | GraphGeneration$importsArgs centralities?: boolean | GraphGeneration$centralitiesArgs activeForWorkspaces?: boolean | GraphGeneration$activeForWorkspacesArgs pendingForWorkspaces?: boolean | GraphGeneration$pendingForWorkspacesArgs _count?: boolean | GraphGenerationCountOutputTypeDefaultArgs }, ExtArgs["result"]["graphGeneration"]> export type GraphGenerationSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean status?: boolean fingerprint?: boolean inputSnapshotHash?: boolean expectedActiveId?: boolean leaseToken?: boolean leaseExpiresAt?: boolean expectedFilesCount?: boolean completedFilesCount?: boolean filesCount?: boolean definitionsCount?: boolean referencesCount?: boolean importsCount?: boolean centralityCount?: boolean diagnosticsCount?: boolean recoveredCount?: boolean hardFailuresCount?: boolean staleFilesCount?: boolean failureReason?: boolean startedAt?: boolean completedAt?: boolean activatedAt?: boolean supersededAt?: boolean workspace?: boolean | WorkspaceDefaultArgs }, ExtArgs["result"]["graphGeneration"]> export type GraphGenerationSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean status?: boolean fingerprint?: boolean inputSnapshotHash?: boolean expectedActiveId?: boolean leaseToken?: boolean leaseExpiresAt?: boolean expectedFilesCount?: boolean completedFilesCount?: boolean filesCount?: boolean definitionsCount?: boolean referencesCount?: boolean importsCount?: boolean centralityCount?: boolean diagnosticsCount?: boolean recoveredCount?: boolean hardFailuresCount?: boolean staleFilesCount?: boolean failureReason?: boolean startedAt?: boolean completedAt?: boolean activatedAt?: boolean supersededAt?: boolean workspace?: boolean | WorkspaceDefaultArgs }, ExtArgs["result"]["graphGeneration"]> export type GraphGenerationSelectScalar = { id?: boolean projectId?: boolean status?: boolean fingerprint?: boolean inputSnapshotHash?: boolean expectedActiveId?: boolean leaseToken?: boolean leaseExpiresAt?: boolean expectedFilesCount?: boolean completedFilesCount?: boolean filesCount?: boolean definitionsCount?: boolean referencesCount?: boolean importsCount?: boolean centralityCount?: boolean diagnosticsCount?: boolean recoveredCount?: boolean hardFailuresCount?: boolean staleFilesCount?: boolean failureReason?: boolean startedAt?: boolean completedAt?: boolean activatedAt?: boolean supersededAt?: boolean } export type GraphGenerationOmit = $Extensions.GetOmit<"id" | "projectId" | "status" | "fingerprint" | "inputSnapshotHash" | "expectedActiveId" | "leaseToken" | "leaseExpiresAt" | "expectedFilesCount" | "completedFilesCount" | "filesCount" | "definitionsCount" | "referencesCount" | "importsCount" | "centralityCount" | "diagnosticsCount" | "recoveredCount" | "hardFailuresCount" | "staleFilesCount" | "failureReason" | "startedAt" | "completedAt" | "activatedAt" | "supersededAt", ExtArgs["result"]["graphGeneration"]> export type GraphGenerationInclude = { workspace?: boolean | WorkspaceDefaultArgs files?: boolean | GraphGeneration$filesArgs definitions?: boolean | GraphGeneration$definitionsArgs references?: boolean | GraphGeneration$referencesArgs imports?: boolean | GraphGeneration$importsArgs centralities?: boolean | GraphGeneration$centralitiesArgs activeForWorkspaces?: boolean | GraphGeneration$activeForWorkspacesArgs pendingForWorkspaces?: boolean | GraphGeneration$pendingForWorkspacesArgs _count?: boolean | GraphGenerationCountOutputTypeDefaultArgs } export type GraphGenerationIncludeCreateManyAndReturn = { workspace?: boolean | WorkspaceDefaultArgs } export type GraphGenerationIncludeUpdateManyAndReturn = { workspace?: boolean | WorkspaceDefaultArgs } export type $GraphGenerationPayload = { name: "GraphGeneration" objects: { workspace: Prisma.$WorkspacePayload files: Prisma.$SymbolFilePayload[] definitions: Prisma.$SymbolDefinitionPayload[] references: Prisma.$SymbolReferencePayload[] imports: Prisma.$SymbolImportPayload[] centralities: Prisma.$SymbolCentralityPayload[] activeForWorkspaces: Prisma.$WorkspacePayload[] pendingForWorkspaces: Prisma.$WorkspacePayload[] } scalars: $Extensions.GetPayloadResult<{ id: string projectId: string status: string fingerprint: string inputSnapshotHash: string expectedActiveId: string | null leaseToken: string | null leaseExpiresAt: Date | null expectedFilesCount: number completedFilesCount: number filesCount: number definitionsCount: number referencesCount: number importsCount: number centralityCount: number diagnosticsCount: number recoveredCount: number hardFailuresCount: number staleFilesCount: number failureReason: string | null startedAt: Date completedAt: Date | null activatedAt: Date | null supersededAt: Date | null }, ExtArgs["result"]["graphGeneration"]> composites: {} } type GraphGenerationGetPayload = $Result.GetResult type GraphGenerationCountArgs = Omit & { select?: GraphGenerationCountAggregateInputType | true } export interface GraphGenerationDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['GraphGeneration'], meta: { name: 'GraphGeneration' } } /** * Find zero or one GraphGeneration that matches the filter. * @param {GraphGenerationFindUniqueArgs} args - Arguments to find a GraphGeneration * @example * // Get one GraphGeneration * const graphGeneration = await prisma.graphGeneration.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__GraphGenerationClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one GraphGeneration that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {GraphGenerationFindUniqueOrThrowArgs} args - Arguments to find a GraphGeneration * @example * // Get one GraphGeneration * const graphGeneration = await prisma.graphGeneration.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__GraphGenerationClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first GraphGeneration 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 {GraphGenerationFindFirstArgs} args - Arguments to find a GraphGeneration * @example * // Get one GraphGeneration * const graphGeneration = await prisma.graphGeneration.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__GraphGenerationClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first GraphGeneration 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 {GraphGenerationFindFirstOrThrowArgs} args - Arguments to find a GraphGeneration * @example * // Get one GraphGeneration * const graphGeneration = await prisma.graphGeneration.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__GraphGenerationClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more GraphGenerations 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 {GraphGenerationFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all GraphGenerations * const graphGenerations = await prisma.graphGeneration.findMany() * * // Get first 10 GraphGenerations * const graphGenerations = await prisma.graphGeneration.findMany({ take: 10 }) * * // Only select the `id` * const graphGenerationWithIdOnly = await prisma.graphGeneration.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a GraphGeneration. * @param {GraphGenerationCreateArgs} args - Arguments to create a GraphGeneration. * @example * // Create one GraphGeneration * const GraphGeneration = await prisma.graphGeneration.create({ * data: { * // ... data to create a GraphGeneration * } * }) * */ create(args: SelectSubset>): Prisma__GraphGenerationClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many GraphGenerations. * @param {GraphGenerationCreateManyArgs} args - Arguments to create many GraphGenerations. * @example * // Create many GraphGenerations * const graphGeneration = await prisma.graphGeneration.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many GraphGenerations and returns the data saved in the database. * @param {GraphGenerationCreateManyAndReturnArgs} args - Arguments to create many GraphGenerations. * @example * // Create many GraphGenerations * const graphGeneration = await prisma.graphGeneration.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many GraphGenerations and only return the `id` * const graphGenerationWithIdOnly = await prisma.graphGeneration.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", GlobalOmitOptions>> /** * Delete a GraphGeneration. * @param {GraphGenerationDeleteArgs} args - Arguments to delete one GraphGeneration. * @example * // Delete one GraphGeneration * const GraphGeneration = await prisma.graphGeneration.delete({ * where: { * // ... filter to delete one GraphGeneration * } * }) * */ delete(args: SelectSubset>): Prisma__GraphGenerationClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one GraphGeneration. * @param {GraphGenerationUpdateArgs} args - Arguments to update one GraphGeneration. * @example * // Update one GraphGeneration * const graphGeneration = await prisma.graphGeneration.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__GraphGenerationClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more GraphGenerations. * @param {GraphGenerationDeleteManyArgs} args - Arguments to filter GraphGenerations to delete. * @example * // Delete a few GraphGenerations * const { count } = await prisma.graphGeneration.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more GraphGenerations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {GraphGenerationUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many GraphGenerations * const graphGeneration = await prisma.graphGeneration.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more GraphGenerations and returns the data updated in the database. * @param {GraphGenerationUpdateManyAndReturnArgs} args - Arguments to update many GraphGenerations. * @example * // Update many GraphGenerations * const graphGeneration = await prisma.graphGeneration.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more GraphGenerations and only return the `id` * const graphGenerationWithIdOnly = await prisma.graphGeneration.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one GraphGeneration. * @param {GraphGenerationUpsertArgs} args - Arguments to update or create a GraphGeneration. * @example * // Update or create a GraphGeneration * const graphGeneration = await prisma.graphGeneration.upsert({ * create: { * // ... data to create a GraphGeneration * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the GraphGeneration we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__GraphGenerationClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of GraphGenerations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {GraphGenerationCountArgs} args - Arguments to filter GraphGenerations to count. * @example * // Count the number of GraphGenerations * const count = await prisma.graphGeneration.count({ * where: { * // ... the filter for the GraphGenerations 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 GraphGeneration. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {GraphGenerationAggregateArgs} 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 GraphGeneration. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {GraphGenerationGroupByArgs} 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 GraphGenerationGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: GraphGenerationGroupByArgs['orderBy'] } : { orderBy?: GraphGenerationGroupByArgs['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 ? GetGraphGenerationGroupByPayload : Prisma.PrismaPromise /** * Fields of the GraphGeneration model */ readonly fields: GraphGenerationFieldRefs; } /** * The delegate class that acts as a "Promise-like" for GraphGeneration. * 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__GraphGenerationClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" workspace = {}>(args?: Subset>): Prisma__WorkspaceClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> files = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> definitions = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> references = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> imports = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> centralities = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> activeForWorkspaces = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> pendingForWorkspaces = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(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 GraphGeneration model */ interface GraphGenerationFieldRefs { readonly id: FieldRef<"GraphGeneration", 'String'> readonly projectId: FieldRef<"GraphGeneration", 'String'> readonly status: FieldRef<"GraphGeneration", 'String'> readonly fingerprint: FieldRef<"GraphGeneration", 'String'> readonly inputSnapshotHash: FieldRef<"GraphGeneration", 'String'> readonly expectedActiveId: FieldRef<"GraphGeneration", 'String'> readonly leaseToken: FieldRef<"GraphGeneration", 'String'> readonly leaseExpiresAt: FieldRef<"GraphGeneration", 'DateTime'> readonly expectedFilesCount: FieldRef<"GraphGeneration", 'Int'> readonly completedFilesCount: FieldRef<"GraphGeneration", 'Int'> readonly filesCount: FieldRef<"GraphGeneration", 'Int'> readonly definitionsCount: FieldRef<"GraphGeneration", 'Int'> readonly referencesCount: FieldRef<"GraphGeneration", 'Int'> readonly importsCount: FieldRef<"GraphGeneration", 'Int'> readonly centralityCount: FieldRef<"GraphGeneration", 'Int'> readonly diagnosticsCount: FieldRef<"GraphGeneration", 'Int'> readonly recoveredCount: FieldRef<"GraphGeneration", 'Int'> readonly hardFailuresCount: FieldRef<"GraphGeneration", 'Int'> readonly staleFilesCount: FieldRef<"GraphGeneration", 'Int'> readonly failureReason: FieldRef<"GraphGeneration", 'String'> readonly startedAt: FieldRef<"GraphGeneration", 'DateTime'> readonly completedAt: FieldRef<"GraphGeneration", 'DateTime'> readonly activatedAt: FieldRef<"GraphGeneration", 'DateTime'> readonly supersededAt: FieldRef<"GraphGeneration", 'DateTime'> } // Custom InputTypes /** * GraphGeneration findUnique */ export type GraphGenerationFindUniqueArgs = { /** * Select specific fields to fetch from the GraphGeneration */ select?: GraphGenerationSelect | null /** * Omit specific fields from the GraphGeneration */ omit?: GraphGenerationOmit | null /** * Choose, which related nodes to fetch as well */ include?: GraphGenerationInclude | null /** * Filter, which GraphGeneration to fetch. */ where: GraphGenerationWhereUniqueInput } /** * GraphGeneration findUniqueOrThrow */ export type GraphGenerationFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the GraphGeneration */ select?: GraphGenerationSelect | null /** * Omit specific fields from the GraphGeneration */ omit?: GraphGenerationOmit | null /** * Choose, which related nodes to fetch as well */ include?: GraphGenerationInclude | null /** * Filter, which GraphGeneration to fetch. */ where: GraphGenerationWhereUniqueInput } /** * GraphGeneration findFirst */ export type GraphGenerationFindFirstArgs = { /** * Select specific fields to fetch from the GraphGeneration */ select?: GraphGenerationSelect | null /** * Omit specific fields from the GraphGeneration */ omit?: GraphGenerationOmit | null /** * Choose, which related nodes to fetch as well */ include?: GraphGenerationInclude | null /** * Filter, which GraphGeneration to fetch. */ where?: GraphGenerationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of GraphGenerations to fetch. */ orderBy?: GraphGenerationOrderByWithRelationInput | GraphGenerationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for GraphGenerations. */ cursor?: GraphGenerationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` GraphGenerations 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` GraphGenerations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of GraphGenerations. */ distinct?: GraphGenerationScalarFieldEnum | GraphGenerationScalarFieldEnum[] } /** * GraphGeneration findFirstOrThrow */ export type GraphGenerationFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the GraphGeneration */ select?: GraphGenerationSelect | null /** * Omit specific fields from the GraphGeneration */ omit?: GraphGenerationOmit | null /** * Choose, which related nodes to fetch as well */ include?: GraphGenerationInclude | null /** * Filter, which GraphGeneration to fetch. */ where?: GraphGenerationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of GraphGenerations to fetch. */ orderBy?: GraphGenerationOrderByWithRelationInput | GraphGenerationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for GraphGenerations. */ cursor?: GraphGenerationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` GraphGenerations 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` GraphGenerations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of GraphGenerations. */ distinct?: GraphGenerationScalarFieldEnum | GraphGenerationScalarFieldEnum[] } /** * GraphGeneration findMany */ export type GraphGenerationFindManyArgs = { /** * Select specific fields to fetch from the GraphGeneration */ select?: GraphGenerationSelect | null /** * Omit specific fields from the GraphGeneration */ omit?: GraphGenerationOmit | null /** * Choose, which related nodes to fetch as well */ include?: GraphGenerationInclude | null /** * Filter, which GraphGenerations to fetch. */ where?: GraphGenerationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of GraphGenerations to fetch. */ orderBy?: GraphGenerationOrderByWithRelationInput | GraphGenerationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing GraphGenerations. */ cursor?: GraphGenerationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` GraphGenerations 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` GraphGenerations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of GraphGenerations. */ distinct?: GraphGenerationScalarFieldEnum | GraphGenerationScalarFieldEnum[] } /** * GraphGeneration create */ export type GraphGenerationCreateArgs = { /** * Select specific fields to fetch from the GraphGeneration */ select?: GraphGenerationSelect | null /** * Omit specific fields from the GraphGeneration */ omit?: GraphGenerationOmit | null /** * Choose, which related nodes to fetch as well */ include?: GraphGenerationInclude | null /** * The data needed to create a GraphGeneration. */ data: XOR } /** * GraphGeneration createMany */ export type GraphGenerationCreateManyArgs = { /** * The data used to create many GraphGenerations. */ data: GraphGenerationCreateManyInput | GraphGenerationCreateManyInput[] skipDuplicates?: boolean } /** * GraphGeneration createManyAndReturn */ export type GraphGenerationCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the GraphGeneration */ select?: GraphGenerationSelectCreateManyAndReturn | null /** * Omit specific fields from the GraphGeneration */ omit?: GraphGenerationOmit | null /** * The data used to create many GraphGenerations. */ data: GraphGenerationCreateManyInput | GraphGenerationCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: GraphGenerationIncludeCreateManyAndReturn | null } /** * GraphGeneration update */ export type GraphGenerationUpdateArgs = { /** * Select specific fields to fetch from the GraphGeneration */ select?: GraphGenerationSelect | null /** * Omit specific fields from the GraphGeneration */ omit?: GraphGenerationOmit | null /** * Choose, which related nodes to fetch as well */ include?: GraphGenerationInclude | null /** * The data needed to update a GraphGeneration. */ data: XOR /** * Choose, which GraphGeneration to update. */ where: GraphGenerationWhereUniqueInput } /** * GraphGeneration updateMany */ export type GraphGenerationUpdateManyArgs = { /** * The data used to update GraphGenerations. */ data: XOR /** * Filter which GraphGenerations to update */ where?: GraphGenerationWhereInput /** * Limit how many GraphGenerations to update. */ limit?: number } /** * GraphGeneration updateManyAndReturn */ export type GraphGenerationUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the GraphGeneration */ select?: GraphGenerationSelectUpdateManyAndReturn | null /** * Omit specific fields from the GraphGeneration */ omit?: GraphGenerationOmit | null /** * The data used to update GraphGenerations. */ data: XOR /** * Filter which GraphGenerations to update */ where?: GraphGenerationWhereInput /** * Limit how many GraphGenerations to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: GraphGenerationIncludeUpdateManyAndReturn | null } /** * GraphGeneration upsert */ export type GraphGenerationUpsertArgs = { /** * Select specific fields to fetch from the GraphGeneration */ select?: GraphGenerationSelect | null /** * Omit specific fields from the GraphGeneration */ omit?: GraphGenerationOmit | null /** * Choose, which related nodes to fetch as well */ include?: GraphGenerationInclude | null /** * The filter to search for the GraphGeneration to update in case it exists. */ where: GraphGenerationWhereUniqueInput /** * In case the GraphGeneration found by the `where` argument doesn't exist, create a new GraphGeneration with this data. */ create: XOR /** * In case the GraphGeneration was found with the provided `where` argument, update it with this data. */ update: XOR } /** * GraphGeneration delete */ export type GraphGenerationDeleteArgs = { /** * Select specific fields to fetch from the GraphGeneration */ select?: GraphGenerationSelect | null /** * Omit specific fields from the GraphGeneration */ omit?: GraphGenerationOmit | null /** * Choose, which related nodes to fetch as well */ include?: GraphGenerationInclude | null /** * Filter which GraphGeneration to delete. */ where: GraphGenerationWhereUniqueInput } /** * GraphGeneration deleteMany */ export type GraphGenerationDeleteManyArgs = { /** * Filter which GraphGenerations to delete */ where?: GraphGenerationWhereInput /** * Limit how many GraphGenerations to delete. */ limit?: number } /** * GraphGeneration.files */ export type GraphGeneration$filesArgs = { /** * Select specific fields to fetch from the SymbolFile */ select?: SymbolFileSelect | null /** * Omit specific fields from the SymbolFile */ omit?: SymbolFileOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolFileInclude | null where?: SymbolFileWhereInput orderBy?: SymbolFileOrderByWithRelationInput | SymbolFileOrderByWithRelationInput[] cursor?: SymbolFileWhereUniqueInput take?: number skip?: number distinct?: SymbolFileScalarFieldEnum | SymbolFileScalarFieldEnum[] } /** * GraphGeneration.definitions */ export type GraphGeneration$definitionsArgs = { /** * Select specific fields to fetch from the SymbolDefinition */ select?: SymbolDefinitionSelect | null /** * Omit specific fields from the SymbolDefinition */ omit?: SymbolDefinitionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolDefinitionInclude | null where?: SymbolDefinitionWhereInput orderBy?: SymbolDefinitionOrderByWithRelationInput | SymbolDefinitionOrderByWithRelationInput[] cursor?: SymbolDefinitionWhereUniqueInput take?: number skip?: number distinct?: SymbolDefinitionScalarFieldEnum | SymbolDefinitionScalarFieldEnum[] } /** * GraphGeneration.references */ export type GraphGeneration$referencesArgs = { /** * Select specific fields to fetch from the SymbolReference */ select?: SymbolReferenceSelect | null /** * Omit specific fields from the SymbolReference */ omit?: SymbolReferenceOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolReferenceInclude | null where?: SymbolReferenceWhereInput orderBy?: SymbolReferenceOrderByWithRelationInput | SymbolReferenceOrderByWithRelationInput[] cursor?: SymbolReferenceWhereUniqueInput take?: number skip?: number distinct?: SymbolReferenceScalarFieldEnum | SymbolReferenceScalarFieldEnum[] } /** * GraphGeneration.imports */ export type GraphGeneration$importsArgs = { /** * Select specific fields to fetch from the SymbolImport */ select?: SymbolImportSelect | null /** * Omit specific fields from the SymbolImport */ omit?: SymbolImportOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolImportInclude | null where?: SymbolImportWhereInput orderBy?: SymbolImportOrderByWithRelationInput | SymbolImportOrderByWithRelationInput[] cursor?: SymbolImportWhereUniqueInput take?: number skip?: number distinct?: SymbolImportScalarFieldEnum | SymbolImportScalarFieldEnum[] } /** * GraphGeneration.centralities */ export type GraphGeneration$centralitiesArgs = { /** * Select specific fields to fetch from the SymbolCentrality */ select?: SymbolCentralitySelect | null /** * Omit specific fields from the SymbolCentrality */ omit?: SymbolCentralityOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolCentralityInclude | null where?: SymbolCentralityWhereInput orderBy?: SymbolCentralityOrderByWithRelationInput | SymbolCentralityOrderByWithRelationInput[] cursor?: SymbolCentralityWhereUniqueInput take?: number skip?: number distinct?: SymbolCentralityScalarFieldEnum | SymbolCentralityScalarFieldEnum[] } /** * GraphGeneration.activeForWorkspaces */ export type GraphGeneration$activeForWorkspacesArgs = { /** * Select specific fields to fetch from the Workspace */ select?: WorkspaceSelect | null /** * Omit specific fields from the Workspace */ omit?: WorkspaceOmit | null /** * Choose, which related nodes to fetch as well */ include?: WorkspaceInclude | null where?: WorkspaceWhereInput orderBy?: WorkspaceOrderByWithRelationInput | WorkspaceOrderByWithRelationInput[] cursor?: WorkspaceWhereUniqueInput take?: number skip?: number distinct?: WorkspaceScalarFieldEnum | WorkspaceScalarFieldEnum[] } /** * GraphGeneration.pendingForWorkspaces */ export type GraphGeneration$pendingForWorkspacesArgs = { /** * Select specific fields to fetch from the Workspace */ select?: WorkspaceSelect | null /** * Omit specific fields from the Workspace */ omit?: WorkspaceOmit | null /** * Choose, which related nodes to fetch as well */ include?: WorkspaceInclude | null where?: WorkspaceWhereInput orderBy?: WorkspaceOrderByWithRelationInput | WorkspaceOrderByWithRelationInput[] cursor?: WorkspaceWhereUniqueInput take?: number skip?: number distinct?: WorkspaceScalarFieldEnum | WorkspaceScalarFieldEnum[] } /** * GraphGeneration without action */ export type GraphGenerationDefaultArgs = { /** * Select specific fields to fetch from the GraphGeneration */ select?: GraphGenerationSelect | null /** * Omit specific fields from the GraphGeneration */ omit?: GraphGenerationOmit | null /** * Choose, which related nodes to fetch as well */ include?: GraphGenerationInclude | null } /** * Model SymbolFile */ export type AggregateSymbolFile = { _count: SymbolFileCountAggregateOutputType | null _avg: SymbolFileAvgAggregateOutputType | null _sum: SymbolFileSumAggregateOutputType | null _min: SymbolFileMinAggregateOutputType | null _max: SymbolFileMaxAggregateOutputType | null } export type SymbolFileAvgAggregateOutputType = { mtime: number | null size: number | null symbolCount: number | null chunkCount: number | null parserErrorCount: number | null } export type SymbolFileSumAggregateOutputType = { mtime: bigint | null size: number | null symbolCount: number | null chunkCount: number | null parserErrorCount: number | null } export type SymbolFileMinAggregateOutputType = { projectId: string | null generationId: string | null relativePath: string | null contentHash: string | null mtime: bigint | null size: number | null indexedAt: Date | null symbolCount: number | null chunkCount: number | null language: string | null dialect: string | null grammarVersion: string | null queryPackVersion: string | null resolverVersion: string | null parserStatus: string | null parserErrorCount: number | null isStale: boolean | null lastKnownGoodGenerationId: string | null lastSuccessfulAt: Date | null } export type SymbolFileMaxAggregateOutputType = { projectId: string | null generationId: string | null relativePath: string | null contentHash: string | null mtime: bigint | null size: number | null indexedAt: Date | null symbolCount: number | null chunkCount: number | null language: string | null dialect: string | null grammarVersion: string | null queryPackVersion: string | null resolverVersion: string | null parserStatus: string | null parserErrorCount: number | null isStale: boolean | null lastKnownGoodGenerationId: string | null lastSuccessfulAt: Date | null } export type SymbolFileCountAggregateOutputType = { projectId: number generationId: number relativePath: number contentHash: number mtime: number size: number indexedAt: number symbolCount: number chunkCount: number language: number dialect: number grammarVersion: number queryPackVersion: number resolverVersion: number parserStatus: number parserErrorCount: number diagnostics: number isStale: number lastKnownGoodGenerationId: number lastSuccessfulAt: number _all: number } export type SymbolFileAvgAggregateInputType = { mtime?: true size?: true symbolCount?: true chunkCount?: true parserErrorCount?: true } export type SymbolFileSumAggregateInputType = { mtime?: true size?: true symbolCount?: true chunkCount?: true parserErrorCount?: true } export type SymbolFileMinAggregateInputType = { projectId?: true generationId?: true relativePath?: true contentHash?: true mtime?: true size?: true indexedAt?: true symbolCount?: true chunkCount?: true language?: true dialect?: true grammarVersion?: true queryPackVersion?: true resolverVersion?: true parserStatus?: true parserErrorCount?: true isStale?: true lastKnownGoodGenerationId?: true lastSuccessfulAt?: true } export type SymbolFileMaxAggregateInputType = { projectId?: true generationId?: true relativePath?: true contentHash?: true mtime?: true size?: true indexedAt?: true symbolCount?: true chunkCount?: true language?: true dialect?: true grammarVersion?: true queryPackVersion?: true resolverVersion?: true parserStatus?: true parserErrorCount?: true isStale?: true lastKnownGoodGenerationId?: true lastSuccessfulAt?: true } export type SymbolFileCountAggregateInputType = { projectId?: true generationId?: true relativePath?: true contentHash?: true mtime?: true size?: true indexedAt?: true symbolCount?: true chunkCount?: true language?: true dialect?: true grammarVersion?: true queryPackVersion?: true resolverVersion?: true parserStatus?: true parserErrorCount?: true diagnostics?: true isStale?: true lastKnownGoodGenerationId?: true lastSuccessfulAt?: true _all?: true } export type SymbolFileAggregateArgs = { /** * Filter which SymbolFile to aggregate. */ where?: SymbolFileWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolFiles to fetch. */ orderBy?: SymbolFileOrderByWithRelationInput | SymbolFileOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: SymbolFileWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolFiles 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` SymbolFiles. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned SymbolFiles **/ _count?: true | SymbolFileCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: SymbolFileAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: SymbolFileSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SymbolFileMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SymbolFileMaxAggregateInputType } export type GetSymbolFileAggregateType = { [P in keyof T & keyof AggregateSymbolFile]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type SymbolFileGroupByArgs = { where?: SymbolFileWhereInput orderBy?: SymbolFileOrderByWithAggregationInput | SymbolFileOrderByWithAggregationInput[] by: SymbolFileScalarFieldEnum[] | SymbolFileScalarFieldEnum having?: SymbolFileScalarWhereWithAggregatesInput take?: number skip?: number _count?: SymbolFileCountAggregateInputType | true _avg?: SymbolFileAvgAggregateInputType _sum?: SymbolFileSumAggregateInputType _min?: SymbolFileMinAggregateInputType _max?: SymbolFileMaxAggregateInputType } export type SymbolFileGroupByOutputType = { projectId: string generationId: string relativePath: string contentHash: string mtime: bigint size: number indexedAt: Date symbolCount: number chunkCount: number language: string | null dialect: string | null grammarVersion: string | null queryPackVersion: string | null resolverVersion: string | null parserStatus: string parserErrorCount: number diagnostics: JsonValue isStale: boolean lastKnownGoodGenerationId: string | null lastSuccessfulAt: Date | null _count: SymbolFileCountAggregateOutputType | null _avg: SymbolFileAvgAggregateOutputType | null _sum: SymbolFileSumAggregateOutputType | null _min: SymbolFileMinAggregateOutputType | null _max: SymbolFileMaxAggregateOutputType | null } type GetSymbolFileGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof SymbolFileGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type SymbolFileSelect = $Extensions.GetSelect<{ projectId?: boolean generationId?: boolean relativePath?: boolean contentHash?: boolean mtime?: boolean size?: boolean indexedAt?: boolean symbolCount?: boolean chunkCount?: boolean language?: boolean dialect?: boolean grammarVersion?: boolean queryPackVersion?: boolean resolverVersion?: boolean parserStatus?: boolean parserErrorCount?: boolean diagnostics?: boolean isStale?: boolean lastKnownGoodGenerationId?: boolean lastSuccessfulAt?: boolean workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs }, ExtArgs["result"]["symbolFile"]> export type SymbolFileSelectCreateManyAndReturn = $Extensions.GetSelect<{ projectId?: boolean generationId?: boolean relativePath?: boolean contentHash?: boolean mtime?: boolean size?: boolean indexedAt?: boolean symbolCount?: boolean chunkCount?: boolean language?: boolean dialect?: boolean grammarVersion?: boolean queryPackVersion?: boolean resolverVersion?: boolean parserStatus?: boolean parserErrorCount?: boolean diagnostics?: boolean isStale?: boolean lastKnownGoodGenerationId?: boolean lastSuccessfulAt?: boolean workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs }, ExtArgs["result"]["symbolFile"]> export type SymbolFileSelectUpdateManyAndReturn = $Extensions.GetSelect<{ projectId?: boolean generationId?: boolean relativePath?: boolean contentHash?: boolean mtime?: boolean size?: boolean indexedAt?: boolean symbolCount?: boolean chunkCount?: boolean language?: boolean dialect?: boolean grammarVersion?: boolean queryPackVersion?: boolean resolverVersion?: boolean parserStatus?: boolean parserErrorCount?: boolean diagnostics?: boolean isStale?: boolean lastKnownGoodGenerationId?: boolean lastSuccessfulAt?: boolean workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs }, ExtArgs["result"]["symbolFile"]> export type SymbolFileSelectScalar = { projectId?: boolean generationId?: boolean relativePath?: boolean contentHash?: boolean mtime?: boolean size?: boolean indexedAt?: boolean symbolCount?: boolean chunkCount?: boolean language?: boolean dialect?: boolean grammarVersion?: boolean queryPackVersion?: boolean resolverVersion?: boolean parserStatus?: boolean parserErrorCount?: boolean diagnostics?: boolean isStale?: boolean lastKnownGoodGenerationId?: boolean lastSuccessfulAt?: boolean } export type SymbolFileOmit = $Extensions.GetOmit<"projectId" | "generationId" | "relativePath" | "contentHash" | "mtime" | "size" | "indexedAt" | "symbolCount" | "chunkCount" | "language" | "dialect" | "grammarVersion" | "queryPackVersion" | "resolverVersion" | "parserStatus" | "parserErrorCount" | "diagnostics" | "isStale" | "lastKnownGoodGenerationId" | "lastSuccessfulAt", ExtArgs["result"]["symbolFile"]> export type SymbolFileInclude = { workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs } export type SymbolFileIncludeCreateManyAndReturn = { workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs } export type SymbolFileIncludeUpdateManyAndReturn = { workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs } export type $SymbolFilePayload = { name: "SymbolFile" objects: { workspace: Prisma.$WorkspacePayload generation: Prisma.$GraphGenerationPayload } scalars: $Extensions.GetPayloadResult<{ projectId: string generationId: string relativePath: string contentHash: string mtime: bigint size: number indexedAt: Date symbolCount: number chunkCount: number language: string | null dialect: string | null grammarVersion: string | null queryPackVersion: string | null resolverVersion: string | null parserStatus: string parserErrorCount: number diagnostics: Prisma.JsonValue isStale: boolean lastKnownGoodGenerationId: string | null lastSuccessfulAt: Date | null }, ExtArgs["result"]["symbolFile"]> composites: {} } type SymbolFileGetPayload = $Result.GetResult type SymbolFileCountArgs = Omit & { select?: SymbolFileCountAggregateInputType | true } export interface SymbolFileDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['SymbolFile'], meta: { name: 'SymbolFile' } } /** * Find zero or one SymbolFile that matches the filter. * @param {SymbolFileFindUniqueArgs} args - Arguments to find a SymbolFile * @example * // Get one SymbolFile * const symbolFile = await prisma.symbolFile.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__SymbolFileClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one SymbolFile that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SymbolFileFindUniqueOrThrowArgs} args - Arguments to find a SymbolFile * @example * // Get one SymbolFile * const symbolFile = await prisma.symbolFile.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__SymbolFileClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first SymbolFile 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 {SymbolFileFindFirstArgs} args - Arguments to find a SymbolFile * @example * // Get one SymbolFile * const symbolFile = await prisma.symbolFile.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__SymbolFileClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first SymbolFile 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 {SymbolFileFindFirstOrThrowArgs} args - Arguments to find a SymbolFile * @example * // Get one SymbolFile * const symbolFile = await prisma.symbolFile.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__SymbolFileClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more SymbolFiles 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 {SymbolFileFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all SymbolFiles * const symbolFiles = await prisma.symbolFile.findMany() * * // Get first 10 SymbolFiles * const symbolFiles = await prisma.symbolFile.findMany({ take: 10 }) * * // Only select the `projectId` * const symbolFileWithProjectIdOnly = await prisma.symbolFile.findMany({ select: { projectId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a SymbolFile. * @param {SymbolFileCreateArgs} args - Arguments to create a SymbolFile. * @example * // Create one SymbolFile * const SymbolFile = await prisma.symbolFile.create({ * data: { * // ... data to create a SymbolFile * } * }) * */ create(args: SelectSubset>): Prisma__SymbolFileClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many SymbolFiles. * @param {SymbolFileCreateManyArgs} args - Arguments to create many SymbolFiles. * @example * // Create many SymbolFiles * const symbolFile = await prisma.symbolFile.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many SymbolFiles and returns the data saved in the database. * @param {SymbolFileCreateManyAndReturnArgs} args - Arguments to create many SymbolFiles. * @example * // Create many SymbolFiles * const symbolFile = await prisma.symbolFile.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many SymbolFiles and only return the `projectId` * const symbolFileWithProjectIdOnly = await prisma.symbolFile.createManyAndReturn({ * select: { projectId: 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", GlobalOmitOptions>> /** * Delete a SymbolFile. * @param {SymbolFileDeleteArgs} args - Arguments to delete one SymbolFile. * @example * // Delete one SymbolFile * const SymbolFile = await prisma.symbolFile.delete({ * where: { * // ... filter to delete one SymbolFile * } * }) * */ delete(args: SelectSubset>): Prisma__SymbolFileClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one SymbolFile. * @param {SymbolFileUpdateArgs} args - Arguments to update one SymbolFile. * @example * // Update one SymbolFile * const symbolFile = await prisma.symbolFile.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__SymbolFileClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more SymbolFiles. * @param {SymbolFileDeleteManyArgs} args - Arguments to filter SymbolFiles to delete. * @example * // Delete a few SymbolFiles * const { count } = await prisma.symbolFile.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SymbolFiles. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolFileUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many SymbolFiles * const symbolFile = await prisma.symbolFile.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SymbolFiles and returns the data updated in the database. * @param {SymbolFileUpdateManyAndReturnArgs} args - Arguments to update many SymbolFiles. * @example * // Update many SymbolFiles * const symbolFile = await prisma.symbolFile.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more SymbolFiles and only return the `projectId` * const symbolFileWithProjectIdOnly = await prisma.symbolFile.updateManyAndReturn({ * select: { projectId: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one SymbolFile. * @param {SymbolFileUpsertArgs} args - Arguments to update or create a SymbolFile. * @example * // Update or create a SymbolFile * const symbolFile = await prisma.symbolFile.upsert({ * create: { * // ... data to create a SymbolFile * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the SymbolFile we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__SymbolFileClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of SymbolFiles. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolFileCountArgs} args - Arguments to filter SymbolFiles to count. * @example * // Count the number of SymbolFiles * const count = await prisma.symbolFile.count({ * where: { * // ... the filter for the SymbolFiles 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 SymbolFile. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolFileAggregateArgs} 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 SymbolFile. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolFileGroupByArgs} 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 SymbolFileGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: SymbolFileGroupByArgs['orderBy'] } : { orderBy?: SymbolFileGroupByArgs['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 ? GetSymbolFileGroupByPayload : Prisma.PrismaPromise /** * Fields of the SymbolFile model */ readonly fields: SymbolFileFieldRefs; } /** * The delegate class that acts as a "Promise-like" for SymbolFile. * 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__SymbolFileClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" workspace = {}>(args?: Subset>): Prisma__WorkspaceClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> generation = {}>(args?: Subset>): Prisma__GraphGenerationClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(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 SymbolFile model */ interface SymbolFileFieldRefs { readonly projectId: FieldRef<"SymbolFile", 'String'> readonly generationId: FieldRef<"SymbolFile", 'String'> readonly relativePath: FieldRef<"SymbolFile", 'String'> readonly contentHash: FieldRef<"SymbolFile", 'String'> readonly mtime: FieldRef<"SymbolFile", 'BigInt'> readonly size: FieldRef<"SymbolFile", 'Int'> readonly indexedAt: FieldRef<"SymbolFile", 'DateTime'> readonly symbolCount: FieldRef<"SymbolFile", 'Int'> readonly chunkCount: FieldRef<"SymbolFile", 'Int'> readonly language: FieldRef<"SymbolFile", 'String'> readonly dialect: FieldRef<"SymbolFile", 'String'> readonly grammarVersion: FieldRef<"SymbolFile", 'String'> readonly queryPackVersion: FieldRef<"SymbolFile", 'String'> readonly resolverVersion: FieldRef<"SymbolFile", 'String'> readonly parserStatus: FieldRef<"SymbolFile", 'String'> readonly parserErrorCount: FieldRef<"SymbolFile", 'Int'> readonly diagnostics: FieldRef<"SymbolFile", 'Json'> readonly isStale: FieldRef<"SymbolFile", 'Boolean'> readonly lastKnownGoodGenerationId: FieldRef<"SymbolFile", 'String'> readonly lastSuccessfulAt: FieldRef<"SymbolFile", 'DateTime'> } // Custom InputTypes /** * SymbolFile findUnique */ export type SymbolFileFindUniqueArgs = { /** * Select specific fields to fetch from the SymbolFile */ select?: SymbolFileSelect | null /** * Omit specific fields from the SymbolFile */ omit?: SymbolFileOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolFileInclude | null /** * Filter, which SymbolFile to fetch. */ where: SymbolFileWhereUniqueInput } /** * SymbolFile findUniqueOrThrow */ export type SymbolFileFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the SymbolFile */ select?: SymbolFileSelect | null /** * Omit specific fields from the SymbolFile */ omit?: SymbolFileOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolFileInclude | null /** * Filter, which SymbolFile to fetch. */ where: SymbolFileWhereUniqueInput } /** * SymbolFile findFirst */ export type SymbolFileFindFirstArgs = { /** * Select specific fields to fetch from the SymbolFile */ select?: SymbolFileSelect | null /** * Omit specific fields from the SymbolFile */ omit?: SymbolFileOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolFileInclude | null /** * Filter, which SymbolFile to fetch. */ where?: SymbolFileWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolFiles to fetch. */ orderBy?: SymbolFileOrderByWithRelationInput | SymbolFileOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SymbolFiles. */ cursor?: SymbolFileWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolFiles 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` SymbolFiles. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SymbolFiles. */ distinct?: SymbolFileScalarFieldEnum | SymbolFileScalarFieldEnum[] } /** * SymbolFile findFirstOrThrow */ export type SymbolFileFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the SymbolFile */ select?: SymbolFileSelect | null /** * Omit specific fields from the SymbolFile */ omit?: SymbolFileOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolFileInclude | null /** * Filter, which SymbolFile to fetch. */ where?: SymbolFileWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolFiles to fetch. */ orderBy?: SymbolFileOrderByWithRelationInput | SymbolFileOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SymbolFiles. */ cursor?: SymbolFileWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolFiles 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` SymbolFiles. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SymbolFiles. */ distinct?: SymbolFileScalarFieldEnum | SymbolFileScalarFieldEnum[] } /** * SymbolFile findMany */ export type SymbolFileFindManyArgs = { /** * Select specific fields to fetch from the SymbolFile */ select?: SymbolFileSelect | null /** * Omit specific fields from the SymbolFile */ omit?: SymbolFileOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolFileInclude | null /** * Filter, which SymbolFiles to fetch. */ where?: SymbolFileWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolFiles to fetch. */ orderBy?: SymbolFileOrderByWithRelationInput | SymbolFileOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing SymbolFiles. */ cursor?: SymbolFileWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolFiles 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` SymbolFiles. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SymbolFiles. */ distinct?: SymbolFileScalarFieldEnum | SymbolFileScalarFieldEnum[] } /** * SymbolFile create */ export type SymbolFileCreateArgs = { /** * Select specific fields to fetch from the SymbolFile */ select?: SymbolFileSelect | null /** * Omit specific fields from the SymbolFile */ omit?: SymbolFileOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolFileInclude | null /** * The data needed to create a SymbolFile. */ data: XOR } /** * SymbolFile createMany */ export type SymbolFileCreateManyArgs = { /** * The data used to create many SymbolFiles. */ data: SymbolFileCreateManyInput | SymbolFileCreateManyInput[] skipDuplicates?: boolean } /** * SymbolFile createManyAndReturn */ export type SymbolFileCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the SymbolFile */ select?: SymbolFileSelectCreateManyAndReturn | null /** * Omit specific fields from the SymbolFile */ omit?: SymbolFileOmit | null /** * The data used to create many SymbolFiles. */ data: SymbolFileCreateManyInput | SymbolFileCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: SymbolFileIncludeCreateManyAndReturn | null } /** * SymbolFile update */ export type SymbolFileUpdateArgs = { /** * Select specific fields to fetch from the SymbolFile */ select?: SymbolFileSelect | null /** * Omit specific fields from the SymbolFile */ omit?: SymbolFileOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolFileInclude | null /** * The data needed to update a SymbolFile. */ data: XOR /** * Choose, which SymbolFile to update. */ where: SymbolFileWhereUniqueInput } /** * SymbolFile updateMany */ export type SymbolFileUpdateManyArgs = { /** * The data used to update SymbolFiles. */ data: XOR /** * Filter which SymbolFiles to update */ where?: SymbolFileWhereInput /** * Limit how many SymbolFiles to update. */ limit?: number } /** * SymbolFile updateManyAndReturn */ export type SymbolFileUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the SymbolFile */ select?: SymbolFileSelectUpdateManyAndReturn | null /** * Omit specific fields from the SymbolFile */ omit?: SymbolFileOmit | null /** * The data used to update SymbolFiles. */ data: XOR /** * Filter which SymbolFiles to update */ where?: SymbolFileWhereInput /** * Limit how many SymbolFiles to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: SymbolFileIncludeUpdateManyAndReturn | null } /** * SymbolFile upsert */ export type SymbolFileUpsertArgs = { /** * Select specific fields to fetch from the SymbolFile */ select?: SymbolFileSelect | null /** * Omit specific fields from the SymbolFile */ omit?: SymbolFileOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolFileInclude | null /** * The filter to search for the SymbolFile to update in case it exists. */ where: SymbolFileWhereUniqueInput /** * In case the SymbolFile found by the `where` argument doesn't exist, create a new SymbolFile with this data. */ create: XOR /** * In case the SymbolFile was found with the provided `where` argument, update it with this data. */ update: XOR } /** * SymbolFile delete */ export type SymbolFileDeleteArgs = { /** * Select specific fields to fetch from the SymbolFile */ select?: SymbolFileSelect | null /** * Omit specific fields from the SymbolFile */ omit?: SymbolFileOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolFileInclude | null /** * Filter which SymbolFile to delete. */ where: SymbolFileWhereUniqueInput } /** * SymbolFile deleteMany */ export type SymbolFileDeleteManyArgs = { /** * Filter which SymbolFiles to delete */ where?: SymbolFileWhereInput /** * Limit how many SymbolFiles to delete. */ limit?: number } /** * SymbolFile without action */ export type SymbolFileDefaultArgs = { /** * Select specific fields to fetch from the SymbolFile */ select?: SymbolFileSelect | null /** * Omit specific fields from the SymbolFile */ omit?: SymbolFileOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolFileInclude | null } /** * Model SymbolDefinition */ export type AggregateSymbolDefinition = { _count: SymbolDefinitionCountAggregateOutputType | null _avg: SymbolDefinitionAvgAggregateOutputType | null _sum: SymbolDefinitionSumAggregateOutputType | null _min: SymbolDefinitionMinAggregateOutputType | null _max: SymbolDefinitionMaxAggregateOutputType | null } export type SymbolDefinitionAvgAggregateOutputType = { lineStart: number | null lineEnd: number | null } export type SymbolDefinitionSumAggregateOutputType = { lineStart: number | null lineEnd: number | null } export type SymbolDefinitionMinAggregateOutputType = { id: string | null projectId: string | null generationId: string | null filePath: string | null name: string | null kind: string | null lineStart: number | null lineEnd: number | null exported: boolean | null docComment: string | null indexedAt: Date | null qualifiedName: string | null canonicalSignature: string | null signatureHash: string | null legacyFqn: string | null } export type SymbolDefinitionMaxAggregateOutputType = { id: string | null projectId: string | null generationId: string | null filePath: string | null name: string | null kind: string | null lineStart: number | null lineEnd: number | null exported: boolean | null docComment: string | null indexedAt: Date | null qualifiedName: string | null canonicalSignature: string | null signatureHash: string | null legacyFqn: string | null } export type SymbolDefinitionCountAggregateOutputType = { id: number projectId: number generationId: number filePath: number name: number kind: number lineStart: number lineEnd: number exported: number docComment: number indexedAt: number qualifiedName: number canonicalSignature: number signatureHash: number legacyFqn: number sourceSpan: number _all: number } export type SymbolDefinitionAvgAggregateInputType = { lineStart?: true lineEnd?: true } export type SymbolDefinitionSumAggregateInputType = { lineStart?: true lineEnd?: true } export type SymbolDefinitionMinAggregateInputType = { id?: true projectId?: true generationId?: true filePath?: true name?: true kind?: true lineStart?: true lineEnd?: true exported?: true docComment?: true indexedAt?: true qualifiedName?: true canonicalSignature?: true signatureHash?: true legacyFqn?: true } export type SymbolDefinitionMaxAggregateInputType = { id?: true projectId?: true generationId?: true filePath?: true name?: true kind?: true lineStart?: true lineEnd?: true exported?: true docComment?: true indexedAt?: true qualifiedName?: true canonicalSignature?: true signatureHash?: true legacyFqn?: true } export type SymbolDefinitionCountAggregateInputType = { id?: true projectId?: true generationId?: true filePath?: true name?: true kind?: true lineStart?: true lineEnd?: true exported?: true docComment?: true indexedAt?: true qualifiedName?: true canonicalSignature?: true signatureHash?: true legacyFqn?: true sourceSpan?: true _all?: true } export type SymbolDefinitionAggregateArgs = { /** * Filter which SymbolDefinition to aggregate. */ where?: SymbolDefinitionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolDefinitions to fetch. */ orderBy?: SymbolDefinitionOrderByWithRelationInput | SymbolDefinitionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: SymbolDefinitionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolDefinitions 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` SymbolDefinitions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned SymbolDefinitions **/ _count?: true | SymbolDefinitionCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: SymbolDefinitionAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: SymbolDefinitionSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SymbolDefinitionMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SymbolDefinitionMaxAggregateInputType } export type GetSymbolDefinitionAggregateType = { [P in keyof T & keyof AggregateSymbolDefinition]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type SymbolDefinitionGroupByArgs = { where?: SymbolDefinitionWhereInput orderBy?: SymbolDefinitionOrderByWithAggregationInput | SymbolDefinitionOrderByWithAggregationInput[] by: SymbolDefinitionScalarFieldEnum[] | SymbolDefinitionScalarFieldEnum having?: SymbolDefinitionScalarWhereWithAggregatesInput take?: number skip?: number _count?: SymbolDefinitionCountAggregateInputType | true _avg?: SymbolDefinitionAvgAggregateInputType _sum?: SymbolDefinitionSumAggregateInputType _min?: SymbolDefinitionMinAggregateInputType _max?: SymbolDefinitionMaxAggregateInputType } export type SymbolDefinitionGroupByOutputType = { id: string projectId: string generationId: string filePath: string name: string kind: string lineStart: number lineEnd: number exported: boolean docComment: string | null indexedAt: Date qualifiedName: string canonicalSignature: string | null signatureHash: string | null legacyFqn: string sourceSpan: JsonValue | null _count: SymbolDefinitionCountAggregateOutputType | null _avg: SymbolDefinitionAvgAggregateOutputType | null _sum: SymbolDefinitionSumAggregateOutputType | null _min: SymbolDefinitionMinAggregateOutputType | null _max: SymbolDefinitionMaxAggregateOutputType | null } type GetSymbolDefinitionGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof SymbolDefinitionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type SymbolDefinitionSelect = $Extensions.GetSelect<{ id?: boolean projectId?: boolean generationId?: boolean filePath?: boolean name?: boolean kind?: boolean lineStart?: boolean lineEnd?: boolean exported?: boolean docComment?: boolean indexedAt?: boolean qualifiedName?: boolean canonicalSignature?: boolean signatureHash?: boolean legacyFqn?: boolean sourceSpan?: boolean workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs }, ExtArgs["result"]["symbolDefinition"]> export type SymbolDefinitionSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean generationId?: boolean filePath?: boolean name?: boolean kind?: boolean lineStart?: boolean lineEnd?: boolean exported?: boolean docComment?: boolean indexedAt?: boolean qualifiedName?: boolean canonicalSignature?: boolean signatureHash?: boolean legacyFqn?: boolean sourceSpan?: boolean workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs }, ExtArgs["result"]["symbolDefinition"]> export type SymbolDefinitionSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean generationId?: boolean filePath?: boolean name?: boolean kind?: boolean lineStart?: boolean lineEnd?: boolean exported?: boolean docComment?: boolean indexedAt?: boolean qualifiedName?: boolean canonicalSignature?: boolean signatureHash?: boolean legacyFqn?: boolean sourceSpan?: boolean workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs }, ExtArgs["result"]["symbolDefinition"]> export type SymbolDefinitionSelectScalar = { id?: boolean projectId?: boolean generationId?: boolean filePath?: boolean name?: boolean kind?: boolean lineStart?: boolean lineEnd?: boolean exported?: boolean docComment?: boolean indexedAt?: boolean qualifiedName?: boolean canonicalSignature?: boolean signatureHash?: boolean legacyFqn?: boolean sourceSpan?: boolean } export type SymbolDefinitionOmit = $Extensions.GetOmit<"id" | "projectId" | "generationId" | "filePath" | "name" | "kind" | "lineStart" | "lineEnd" | "exported" | "docComment" | "indexedAt" | "qualifiedName" | "canonicalSignature" | "signatureHash" | "legacyFqn" | "sourceSpan", ExtArgs["result"]["symbolDefinition"]> export type SymbolDefinitionInclude = { workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs } export type SymbolDefinitionIncludeCreateManyAndReturn = { workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs } export type SymbolDefinitionIncludeUpdateManyAndReturn = { workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs } export type $SymbolDefinitionPayload = { name: "SymbolDefinition" objects: { workspace: Prisma.$WorkspacePayload generation: Prisma.$GraphGenerationPayload } scalars: $Extensions.GetPayloadResult<{ id: string projectId: string generationId: string filePath: string name: string kind: string lineStart: number lineEnd: number exported: boolean docComment: string | null indexedAt: Date qualifiedName: string canonicalSignature: string | null signatureHash: string | null legacyFqn: string sourceSpan: Prisma.JsonValue | null }, ExtArgs["result"]["symbolDefinition"]> composites: {} } type SymbolDefinitionGetPayload = $Result.GetResult type SymbolDefinitionCountArgs = Omit & { select?: SymbolDefinitionCountAggregateInputType | true } export interface SymbolDefinitionDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['SymbolDefinition'], meta: { name: 'SymbolDefinition' } } /** * Find zero or one SymbolDefinition that matches the filter. * @param {SymbolDefinitionFindUniqueArgs} args - Arguments to find a SymbolDefinition * @example * // Get one SymbolDefinition * const symbolDefinition = await prisma.symbolDefinition.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__SymbolDefinitionClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one SymbolDefinition that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SymbolDefinitionFindUniqueOrThrowArgs} args - Arguments to find a SymbolDefinition * @example * // Get one SymbolDefinition * const symbolDefinition = await prisma.symbolDefinition.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__SymbolDefinitionClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first SymbolDefinition 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 {SymbolDefinitionFindFirstArgs} args - Arguments to find a SymbolDefinition * @example * // Get one SymbolDefinition * const symbolDefinition = await prisma.symbolDefinition.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__SymbolDefinitionClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first SymbolDefinition 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 {SymbolDefinitionFindFirstOrThrowArgs} args - Arguments to find a SymbolDefinition * @example * // Get one SymbolDefinition * const symbolDefinition = await prisma.symbolDefinition.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__SymbolDefinitionClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more SymbolDefinitions 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 {SymbolDefinitionFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all SymbolDefinitions * const symbolDefinitions = await prisma.symbolDefinition.findMany() * * // Get first 10 SymbolDefinitions * const symbolDefinitions = await prisma.symbolDefinition.findMany({ take: 10 }) * * // Only select the `id` * const symbolDefinitionWithIdOnly = await prisma.symbolDefinition.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a SymbolDefinition. * @param {SymbolDefinitionCreateArgs} args - Arguments to create a SymbolDefinition. * @example * // Create one SymbolDefinition * const SymbolDefinition = await prisma.symbolDefinition.create({ * data: { * // ... data to create a SymbolDefinition * } * }) * */ create(args: SelectSubset>): Prisma__SymbolDefinitionClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many SymbolDefinitions. * @param {SymbolDefinitionCreateManyArgs} args - Arguments to create many SymbolDefinitions. * @example * // Create many SymbolDefinitions * const symbolDefinition = await prisma.symbolDefinition.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many SymbolDefinitions and returns the data saved in the database. * @param {SymbolDefinitionCreateManyAndReturnArgs} args - Arguments to create many SymbolDefinitions. * @example * // Create many SymbolDefinitions * const symbolDefinition = await prisma.symbolDefinition.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many SymbolDefinitions and only return the `id` * const symbolDefinitionWithIdOnly = await prisma.symbolDefinition.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", GlobalOmitOptions>> /** * Delete a SymbolDefinition. * @param {SymbolDefinitionDeleteArgs} args - Arguments to delete one SymbolDefinition. * @example * // Delete one SymbolDefinition * const SymbolDefinition = await prisma.symbolDefinition.delete({ * where: { * // ... filter to delete one SymbolDefinition * } * }) * */ delete(args: SelectSubset>): Prisma__SymbolDefinitionClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one SymbolDefinition. * @param {SymbolDefinitionUpdateArgs} args - Arguments to update one SymbolDefinition. * @example * // Update one SymbolDefinition * const symbolDefinition = await prisma.symbolDefinition.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__SymbolDefinitionClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more SymbolDefinitions. * @param {SymbolDefinitionDeleteManyArgs} args - Arguments to filter SymbolDefinitions to delete. * @example * // Delete a few SymbolDefinitions * const { count } = await prisma.symbolDefinition.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SymbolDefinitions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolDefinitionUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many SymbolDefinitions * const symbolDefinition = await prisma.symbolDefinition.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SymbolDefinitions and returns the data updated in the database. * @param {SymbolDefinitionUpdateManyAndReturnArgs} args - Arguments to update many SymbolDefinitions. * @example * // Update many SymbolDefinitions * const symbolDefinition = await prisma.symbolDefinition.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more SymbolDefinitions and only return the `id` * const symbolDefinitionWithIdOnly = await prisma.symbolDefinition.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one SymbolDefinition. * @param {SymbolDefinitionUpsertArgs} args - Arguments to update or create a SymbolDefinition. * @example * // Update or create a SymbolDefinition * const symbolDefinition = await prisma.symbolDefinition.upsert({ * create: { * // ... data to create a SymbolDefinition * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the SymbolDefinition we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__SymbolDefinitionClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of SymbolDefinitions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolDefinitionCountArgs} args - Arguments to filter SymbolDefinitions to count. * @example * // Count the number of SymbolDefinitions * const count = await prisma.symbolDefinition.count({ * where: { * // ... the filter for the SymbolDefinitions 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 SymbolDefinition. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolDefinitionAggregateArgs} 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 SymbolDefinition. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolDefinitionGroupByArgs} 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 SymbolDefinitionGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: SymbolDefinitionGroupByArgs['orderBy'] } : { orderBy?: SymbolDefinitionGroupByArgs['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 ? GetSymbolDefinitionGroupByPayload : Prisma.PrismaPromise /** * Fields of the SymbolDefinition model */ readonly fields: SymbolDefinitionFieldRefs; } /** * The delegate class that acts as a "Promise-like" for SymbolDefinition. * 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__SymbolDefinitionClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" workspace = {}>(args?: Subset>): Prisma__WorkspaceClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> generation = {}>(args?: Subset>): Prisma__GraphGenerationClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(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 SymbolDefinition model */ interface SymbolDefinitionFieldRefs { readonly id: FieldRef<"SymbolDefinition", 'String'> readonly projectId: FieldRef<"SymbolDefinition", 'String'> readonly generationId: FieldRef<"SymbolDefinition", 'String'> readonly filePath: FieldRef<"SymbolDefinition", 'String'> readonly name: FieldRef<"SymbolDefinition", 'String'> readonly kind: FieldRef<"SymbolDefinition", 'String'> readonly lineStart: FieldRef<"SymbolDefinition", 'Int'> readonly lineEnd: FieldRef<"SymbolDefinition", 'Int'> readonly exported: FieldRef<"SymbolDefinition", 'Boolean'> readonly docComment: FieldRef<"SymbolDefinition", 'String'> readonly indexedAt: FieldRef<"SymbolDefinition", 'DateTime'> readonly qualifiedName: FieldRef<"SymbolDefinition", 'String'> readonly canonicalSignature: FieldRef<"SymbolDefinition", 'String'> readonly signatureHash: FieldRef<"SymbolDefinition", 'String'> readonly legacyFqn: FieldRef<"SymbolDefinition", 'String'> readonly sourceSpan: FieldRef<"SymbolDefinition", 'Json'> } // Custom InputTypes /** * SymbolDefinition findUnique */ export type SymbolDefinitionFindUniqueArgs = { /** * Select specific fields to fetch from the SymbolDefinition */ select?: SymbolDefinitionSelect | null /** * Omit specific fields from the SymbolDefinition */ omit?: SymbolDefinitionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolDefinitionInclude | null /** * Filter, which SymbolDefinition to fetch. */ where: SymbolDefinitionWhereUniqueInput } /** * SymbolDefinition findUniqueOrThrow */ export type SymbolDefinitionFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the SymbolDefinition */ select?: SymbolDefinitionSelect | null /** * Omit specific fields from the SymbolDefinition */ omit?: SymbolDefinitionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolDefinitionInclude | null /** * Filter, which SymbolDefinition to fetch. */ where: SymbolDefinitionWhereUniqueInput } /** * SymbolDefinition findFirst */ export type SymbolDefinitionFindFirstArgs = { /** * Select specific fields to fetch from the SymbolDefinition */ select?: SymbolDefinitionSelect | null /** * Omit specific fields from the SymbolDefinition */ omit?: SymbolDefinitionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolDefinitionInclude | null /** * Filter, which SymbolDefinition to fetch. */ where?: SymbolDefinitionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolDefinitions to fetch. */ orderBy?: SymbolDefinitionOrderByWithRelationInput | SymbolDefinitionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SymbolDefinitions. */ cursor?: SymbolDefinitionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolDefinitions 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` SymbolDefinitions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SymbolDefinitions. */ distinct?: SymbolDefinitionScalarFieldEnum | SymbolDefinitionScalarFieldEnum[] } /** * SymbolDefinition findFirstOrThrow */ export type SymbolDefinitionFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the SymbolDefinition */ select?: SymbolDefinitionSelect | null /** * Omit specific fields from the SymbolDefinition */ omit?: SymbolDefinitionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolDefinitionInclude | null /** * Filter, which SymbolDefinition to fetch. */ where?: SymbolDefinitionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolDefinitions to fetch. */ orderBy?: SymbolDefinitionOrderByWithRelationInput | SymbolDefinitionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SymbolDefinitions. */ cursor?: SymbolDefinitionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolDefinitions 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` SymbolDefinitions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SymbolDefinitions. */ distinct?: SymbolDefinitionScalarFieldEnum | SymbolDefinitionScalarFieldEnum[] } /** * SymbolDefinition findMany */ export type SymbolDefinitionFindManyArgs = { /** * Select specific fields to fetch from the SymbolDefinition */ select?: SymbolDefinitionSelect | null /** * Omit specific fields from the SymbolDefinition */ omit?: SymbolDefinitionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolDefinitionInclude | null /** * Filter, which SymbolDefinitions to fetch. */ where?: SymbolDefinitionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolDefinitions to fetch. */ orderBy?: SymbolDefinitionOrderByWithRelationInput | SymbolDefinitionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing SymbolDefinitions. */ cursor?: SymbolDefinitionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolDefinitions 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` SymbolDefinitions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SymbolDefinitions. */ distinct?: SymbolDefinitionScalarFieldEnum | SymbolDefinitionScalarFieldEnum[] } /** * SymbolDefinition create */ export type SymbolDefinitionCreateArgs = { /** * Select specific fields to fetch from the SymbolDefinition */ select?: SymbolDefinitionSelect | null /** * Omit specific fields from the SymbolDefinition */ omit?: SymbolDefinitionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolDefinitionInclude | null /** * The data needed to create a SymbolDefinition. */ data: XOR } /** * SymbolDefinition createMany */ export type SymbolDefinitionCreateManyArgs = { /** * The data used to create many SymbolDefinitions. */ data: SymbolDefinitionCreateManyInput | SymbolDefinitionCreateManyInput[] skipDuplicates?: boolean } /** * SymbolDefinition createManyAndReturn */ export type SymbolDefinitionCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the SymbolDefinition */ select?: SymbolDefinitionSelectCreateManyAndReturn | null /** * Omit specific fields from the SymbolDefinition */ omit?: SymbolDefinitionOmit | null /** * The data used to create many SymbolDefinitions. */ data: SymbolDefinitionCreateManyInput | SymbolDefinitionCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: SymbolDefinitionIncludeCreateManyAndReturn | null } /** * SymbolDefinition update */ export type SymbolDefinitionUpdateArgs = { /** * Select specific fields to fetch from the SymbolDefinition */ select?: SymbolDefinitionSelect | null /** * Omit specific fields from the SymbolDefinition */ omit?: SymbolDefinitionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolDefinitionInclude | null /** * The data needed to update a SymbolDefinition. */ data: XOR /** * Choose, which SymbolDefinition to update. */ where: SymbolDefinitionWhereUniqueInput } /** * SymbolDefinition updateMany */ export type SymbolDefinitionUpdateManyArgs = { /** * The data used to update SymbolDefinitions. */ data: XOR /** * Filter which SymbolDefinitions to update */ where?: SymbolDefinitionWhereInput /** * Limit how many SymbolDefinitions to update. */ limit?: number } /** * SymbolDefinition updateManyAndReturn */ export type SymbolDefinitionUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the SymbolDefinition */ select?: SymbolDefinitionSelectUpdateManyAndReturn | null /** * Omit specific fields from the SymbolDefinition */ omit?: SymbolDefinitionOmit | null /** * The data used to update SymbolDefinitions. */ data: XOR /** * Filter which SymbolDefinitions to update */ where?: SymbolDefinitionWhereInput /** * Limit how many SymbolDefinitions to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: SymbolDefinitionIncludeUpdateManyAndReturn | null } /** * SymbolDefinition upsert */ export type SymbolDefinitionUpsertArgs = { /** * Select specific fields to fetch from the SymbolDefinition */ select?: SymbolDefinitionSelect | null /** * Omit specific fields from the SymbolDefinition */ omit?: SymbolDefinitionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolDefinitionInclude | null /** * The filter to search for the SymbolDefinition to update in case it exists. */ where: SymbolDefinitionWhereUniqueInput /** * In case the SymbolDefinition found by the `where` argument doesn't exist, create a new SymbolDefinition with this data. */ create: XOR /** * In case the SymbolDefinition was found with the provided `where` argument, update it with this data. */ update: XOR } /** * SymbolDefinition delete */ export type SymbolDefinitionDeleteArgs = { /** * Select specific fields to fetch from the SymbolDefinition */ select?: SymbolDefinitionSelect | null /** * Omit specific fields from the SymbolDefinition */ omit?: SymbolDefinitionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolDefinitionInclude | null /** * Filter which SymbolDefinition to delete. */ where: SymbolDefinitionWhereUniqueInput } /** * SymbolDefinition deleteMany */ export type SymbolDefinitionDeleteManyArgs = { /** * Filter which SymbolDefinitions to delete */ where?: SymbolDefinitionWhereInput /** * Limit how many SymbolDefinitions to delete. */ limit?: number } /** * SymbolDefinition without action */ export type SymbolDefinitionDefaultArgs = { /** * Select specific fields to fetch from the SymbolDefinition */ select?: SymbolDefinitionSelect | null /** * Omit specific fields from the SymbolDefinition */ omit?: SymbolDefinitionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolDefinitionInclude | null } /** * Model SymbolReference */ export type AggregateSymbolReference = { _count: SymbolReferenceCountAggregateOutputType | null _avg: SymbolReferenceAvgAggregateOutputType | null _sum: SymbolReferenceSumAggregateOutputType | null _min: SymbolReferenceMinAggregateOutputType | null _max: SymbolReferenceMaxAggregateOutputType | null } export type SymbolReferenceAvgAggregateOutputType = { id: number | null fromLine: number | null } export type SymbolReferenceSumAggregateOutputType = { id: number | null fromLine: number | null } export type SymbolReferenceMinAggregateOutputType = { id: number | null projectId: string | null generationId: string | null fromFile: string | null fromLine: number | null symbolName: string | null targetFqn: string | null refKind: string | null } export type SymbolReferenceMaxAggregateOutputType = { id: number | null projectId: string | null generationId: string | null fromFile: string | null fromLine: number | null symbolName: string | null targetFqn: string | null refKind: string | null } export type SymbolReferenceCountAggregateOutputType = { id: number projectId: number generationId: number fromFile: number fromLine: number symbolName: number targetFqn: number refKind: number meta: number sourceSpan: number _all: number } export type SymbolReferenceAvgAggregateInputType = { id?: true fromLine?: true } export type SymbolReferenceSumAggregateInputType = { id?: true fromLine?: true } export type SymbolReferenceMinAggregateInputType = { id?: true projectId?: true generationId?: true fromFile?: true fromLine?: true symbolName?: true targetFqn?: true refKind?: true } export type SymbolReferenceMaxAggregateInputType = { id?: true projectId?: true generationId?: true fromFile?: true fromLine?: true symbolName?: true targetFqn?: true refKind?: true } export type SymbolReferenceCountAggregateInputType = { id?: true projectId?: true generationId?: true fromFile?: true fromLine?: true symbolName?: true targetFqn?: true refKind?: true meta?: true sourceSpan?: true _all?: true } export type SymbolReferenceAggregateArgs = { /** * Filter which SymbolReference to aggregate. */ where?: SymbolReferenceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolReferences to fetch. */ orderBy?: SymbolReferenceOrderByWithRelationInput | SymbolReferenceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: SymbolReferenceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolReferences 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` SymbolReferences. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned SymbolReferences **/ _count?: true | SymbolReferenceCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: SymbolReferenceAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: SymbolReferenceSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SymbolReferenceMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SymbolReferenceMaxAggregateInputType } export type GetSymbolReferenceAggregateType = { [P in keyof T & keyof AggregateSymbolReference]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type SymbolReferenceGroupByArgs = { where?: SymbolReferenceWhereInput orderBy?: SymbolReferenceOrderByWithAggregationInput | SymbolReferenceOrderByWithAggregationInput[] by: SymbolReferenceScalarFieldEnum[] | SymbolReferenceScalarFieldEnum having?: SymbolReferenceScalarWhereWithAggregatesInput take?: number skip?: number _count?: SymbolReferenceCountAggregateInputType | true _avg?: SymbolReferenceAvgAggregateInputType _sum?: SymbolReferenceSumAggregateInputType _min?: SymbolReferenceMinAggregateInputType _max?: SymbolReferenceMaxAggregateInputType } export type SymbolReferenceGroupByOutputType = { id: number projectId: string generationId: string fromFile: string fromLine: number symbolName: string targetFqn: string | null refKind: string meta: JsonValue | null sourceSpan: JsonValue | null _count: SymbolReferenceCountAggregateOutputType | null _avg: SymbolReferenceAvgAggregateOutputType | null _sum: SymbolReferenceSumAggregateOutputType | null _min: SymbolReferenceMinAggregateOutputType | null _max: SymbolReferenceMaxAggregateOutputType | null } type GetSymbolReferenceGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof SymbolReferenceGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type SymbolReferenceSelect = $Extensions.GetSelect<{ id?: boolean projectId?: boolean generationId?: boolean fromFile?: boolean fromLine?: boolean symbolName?: boolean targetFqn?: boolean refKind?: boolean meta?: boolean sourceSpan?: boolean workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs }, ExtArgs["result"]["symbolReference"]> export type SymbolReferenceSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean generationId?: boolean fromFile?: boolean fromLine?: boolean symbolName?: boolean targetFqn?: boolean refKind?: boolean meta?: boolean sourceSpan?: boolean workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs }, ExtArgs["result"]["symbolReference"]> export type SymbolReferenceSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean generationId?: boolean fromFile?: boolean fromLine?: boolean symbolName?: boolean targetFqn?: boolean refKind?: boolean meta?: boolean sourceSpan?: boolean workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs }, ExtArgs["result"]["symbolReference"]> export type SymbolReferenceSelectScalar = { id?: boolean projectId?: boolean generationId?: boolean fromFile?: boolean fromLine?: boolean symbolName?: boolean targetFqn?: boolean refKind?: boolean meta?: boolean sourceSpan?: boolean } export type SymbolReferenceOmit = $Extensions.GetOmit<"id" | "projectId" | "generationId" | "fromFile" | "fromLine" | "symbolName" | "targetFqn" | "refKind" | "meta" | "sourceSpan", ExtArgs["result"]["symbolReference"]> export type SymbolReferenceInclude = { workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs } export type SymbolReferenceIncludeCreateManyAndReturn = { workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs } export type SymbolReferenceIncludeUpdateManyAndReturn = { workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs } export type $SymbolReferencePayload = { name: "SymbolReference" objects: { workspace: Prisma.$WorkspacePayload generation: Prisma.$GraphGenerationPayload } scalars: $Extensions.GetPayloadResult<{ id: number projectId: string generationId: string fromFile: string fromLine: number symbolName: string targetFqn: string | null refKind: string meta: Prisma.JsonValue | null sourceSpan: Prisma.JsonValue | null }, ExtArgs["result"]["symbolReference"]> composites: {} } type SymbolReferenceGetPayload = $Result.GetResult type SymbolReferenceCountArgs = Omit & { select?: SymbolReferenceCountAggregateInputType | true } export interface SymbolReferenceDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['SymbolReference'], meta: { name: 'SymbolReference' } } /** * Find zero or one SymbolReference that matches the filter. * @param {SymbolReferenceFindUniqueArgs} args - Arguments to find a SymbolReference * @example * // Get one SymbolReference * const symbolReference = await prisma.symbolReference.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__SymbolReferenceClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one SymbolReference that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SymbolReferenceFindUniqueOrThrowArgs} args - Arguments to find a SymbolReference * @example * // Get one SymbolReference * const symbolReference = await prisma.symbolReference.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__SymbolReferenceClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first SymbolReference 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 {SymbolReferenceFindFirstArgs} args - Arguments to find a SymbolReference * @example * // Get one SymbolReference * const symbolReference = await prisma.symbolReference.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__SymbolReferenceClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first SymbolReference 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 {SymbolReferenceFindFirstOrThrowArgs} args - Arguments to find a SymbolReference * @example * // Get one SymbolReference * const symbolReference = await prisma.symbolReference.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__SymbolReferenceClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more SymbolReferences 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 {SymbolReferenceFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all SymbolReferences * const symbolReferences = await prisma.symbolReference.findMany() * * // Get first 10 SymbolReferences * const symbolReferences = await prisma.symbolReference.findMany({ take: 10 }) * * // Only select the `id` * const symbolReferenceWithIdOnly = await prisma.symbolReference.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a SymbolReference. * @param {SymbolReferenceCreateArgs} args - Arguments to create a SymbolReference. * @example * // Create one SymbolReference * const SymbolReference = await prisma.symbolReference.create({ * data: { * // ... data to create a SymbolReference * } * }) * */ create(args: SelectSubset>): Prisma__SymbolReferenceClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many SymbolReferences. * @param {SymbolReferenceCreateManyArgs} args - Arguments to create many SymbolReferences. * @example * // Create many SymbolReferences * const symbolReference = await prisma.symbolReference.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many SymbolReferences and returns the data saved in the database. * @param {SymbolReferenceCreateManyAndReturnArgs} args - Arguments to create many SymbolReferences. * @example * // Create many SymbolReferences * const symbolReference = await prisma.symbolReference.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many SymbolReferences and only return the `id` * const symbolReferenceWithIdOnly = await prisma.symbolReference.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", GlobalOmitOptions>> /** * Delete a SymbolReference. * @param {SymbolReferenceDeleteArgs} args - Arguments to delete one SymbolReference. * @example * // Delete one SymbolReference * const SymbolReference = await prisma.symbolReference.delete({ * where: { * // ... filter to delete one SymbolReference * } * }) * */ delete(args: SelectSubset>): Prisma__SymbolReferenceClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one SymbolReference. * @param {SymbolReferenceUpdateArgs} args - Arguments to update one SymbolReference. * @example * // Update one SymbolReference * const symbolReference = await prisma.symbolReference.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__SymbolReferenceClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more SymbolReferences. * @param {SymbolReferenceDeleteManyArgs} args - Arguments to filter SymbolReferences to delete. * @example * // Delete a few SymbolReferences * const { count } = await prisma.symbolReference.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SymbolReferences. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolReferenceUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many SymbolReferences * const symbolReference = await prisma.symbolReference.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SymbolReferences and returns the data updated in the database. * @param {SymbolReferenceUpdateManyAndReturnArgs} args - Arguments to update many SymbolReferences. * @example * // Update many SymbolReferences * const symbolReference = await prisma.symbolReference.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more SymbolReferences and only return the `id` * const symbolReferenceWithIdOnly = await prisma.symbolReference.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one SymbolReference. * @param {SymbolReferenceUpsertArgs} args - Arguments to update or create a SymbolReference. * @example * // Update or create a SymbolReference * const symbolReference = await prisma.symbolReference.upsert({ * create: { * // ... data to create a SymbolReference * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the SymbolReference we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__SymbolReferenceClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of SymbolReferences. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolReferenceCountArgs} args - Arguments to filter SymbolReferences to count. * @example * // Count the number of SymbolReferences * const count = await prisma.symbolReference.count({ * where: { * // ... the filter for the SymbolReferences 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 SymbolReference. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolReferenceAggregateArgs} 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 SymbolReference. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolReferenceGroupByArgs} 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 SymbolReferenceGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: SymbolReferenceGroupByArgs['orderBy'] } : { orderBy?: SymbolReferenceGroupByArgs['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 ? GetSymbolReferenceGroupByPayload : Prisma.PrismaPromise /** * Fields of the SymbolReference model */ readonly fields: SymbolReferenceFieldRefs; } /** * The delegate class that acts as a "Promise-like" for SymbolReference. * 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__SymbolReferenceClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" workspace = {}>(args?: Subset>): Prisma__WorkspaceClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> generation = {}>(args?: Subset>): Prisma__GraphGenerationClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(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 SymbolReference model */ interface SymbolReferenceFieldRefs { readonly id: FieldRef<"SymbolReference", 'Int'> readonly projectId: FieldRef<"SymbolReference", 'String'> readonly generationId: FieldRef<"SymbolReference", 'String'> readonly fromFile: FieldRef<"SymbolReference", 'String'> readonly fromLine: FieldRef<"SymbolReference", 'Int'> readonly symbolName: FieldRef<"SymbolReference", 'String'> readonly targetFqn: FieldRef<"SymbolReference", 'String'> readonly refKind: FieldRef<"SymbolReference", 'String'> readonly meta: FieldRef<"SymbolReference", 'Json'> readonly sourceSpan: FieldRef<"SymbolReference", 'Json'> } // Custom InputTypes /** * SymbolReference findUnique */ export type SymbolReferenceFindUniqueArgs = { /** * Select specific fields to fetch from the SymbolReference */ select?: SymbolReferenceSelect | null /** * Omit specific fields from the SymbolReference */ omit?: SymbolReferenceOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolReferenceInclude | null /** * Filter, which SymbolReference to fetch. */ where: SymbolReferenceWhereUniqueInput } /** * SymbolReference findUniqueOrThrow */ export type SymbolReferenceFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the SymbolReference */ select?: SymbolReferenceSelect | null /** * Omit specific fields from the SymbolReference */ omit?: SymbolReferenceOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolReferenceInclude | null /** * Filter, which SymbolReference to fetch. */ where: SymbolReferenceWhereUniqueInput } /** * SymbolReference findFirst */ export type SymbolReferenceFindFirstArgs = { /** * Select specific fields to fetch from the SymbolReference */ select?: SymbolReferenceSelect | null /** * Omit specific fields from the SymbolReference */ omit?: SymbolReferenceOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolReferenceInclude | null /** * Filter, which SymbolReference to fetch. */ where?: SymbolReferenceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolReferences to fetch. */ orderBy?: SymbolReferenceOrderByWithRelationInput | SymbolReferenceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SymbolReferences. */ cursor?: SymbolReferenceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolReferences 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` SymbolReferences. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SymbolReferences. */ distinct?: SymbolReferenceScalarFieldEnum | SymbolReferenceScalarFieldEnum[] } /** * SymbolReference findFirstOrThrow */ export type SymbolReferenceFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the SymbolReference */ select?: SymbolReferenceSelect | null /** * Omit specific fields from the SymbolReference */ omit?: SymbolReferenceOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolReferenceInclude | null /** * Filter, which SymbolReference to fetch. */ where?: SymbolReferenceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolReferences to fetch. */ orderBy?: SymbolReferenceOrderByWithRelationInput | SymbolReferenceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SymbolReferences. */ cursor?: SymbolReferenceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolReferences 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` SymbolReferences. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SymbolReferences. */ distinct?: SymbolReferenceScalarFieldEnum | SymbolReferenceScalarFieldEnum[] } /** * SymbolReference findMany */ export type SymbolReferenceFindManyArgs = { /** * Select specific fields to fetch from the SymbolReference */ select?: SymbolReferenceSelect | null /** * Omit specific fields from the SymbolReference */ omit?: SymbolReferenceOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolReferenceInclude | null /** * Filter, which SymbolReferences to fetch. */ where?: SymbolReferenceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolReferences to fetch. */ orderBy?: SymbolReferenceOrderByWithRelationInput | SymbolReferenceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing SymbolReferences. */ cursor?: SymbolReferenceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolReferences 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` SymbolReferences. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SymbolReferences. */ distinct?: SymbolReferenceScalarFieldEnum | SymbolReferenceScalarFieldEnum[] } /** * SymbolReference create */ export type SymbolReferenceCreateArgs = { /** * Select specific fields to fetch from the SymbolReference */ select?: SymbolReferenceSelect | null /** * Omit specific fields from the SymbolReference */ omit?: SymbolReferenceOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolReferenceInclude | null /** * The data needed to create a SymbolReference. */ data: XOR } /** * SymbolReference createMany */ export type SymbolReferenceCreateManyArgs = { /** * The data used to create many SymbolReferences. */ data: SymbolReferenceCreateManyInput | SymbolReferenceCreateManyInput[] skipDuplicates?: boolean } /** * SymbolReference createManyAndReturn */ export type SymbolReferenceCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the SymbolReference */ select?: SymbolReferenceSelectCreateManyAndReturn | null /** * Omit specific fields from the SymbolReference */ omit?: SymbolReferenceOmit | null /** * The data used to create many SymbolReferences. */ data: SymbolReferenceCreateManyInput | SymbolReferenceCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: SymbolReferenceIncludeCreateManyAndReturn | null } /** * SymbolReference update */ export type SymbolReferenceUpdateArgs = { /** * Select specific fields to fetch from the SymbolReference */ select?: SymbolReferenceSelect | null /** * Omit specific fields from the SymbolReference */ omit?: SymbolReferenceOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolReferenceInclude | null /** * The data needed to update a SymbolReference. */ data: XOR /** * Choose, which SymbolReference to update. */ where: SymbolReferenceWhereUniqueInput } /** * SymbolReference updateMany */ export type SymbolReferenceUpdateManyArgs = { /** * The data used to update SymbolReferences. */ data: XOR /** * Filter which SymbolReferences to update */ where?: SymbolReferenceWhereInput /** * Limit how many SymbolReferences to update. */ limit?: number } /** * SymbolReference updateManyAndReturn */ export type SymbolReferenceUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the SymbolReference */ select?: SymbolReferenceSelectUpdateManyAndReturn | null /** * Omit specific fields from the SymbolReference */ omit?: SymbolReferenceOmit | null /** * The data used to update SymbolReferences. */ data: XOR /** * Filter which SymbolReferences to update */ where?: SymbolReferenceWhereInput /** * Limit how many SymbolReferences to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: SymbolReferenceIncludeUpdateManyAndReturn | null } /** * SymbolReference upsert */ export type SymbolReferenceUpsertArgs = { /** * Select specific fields to fetch from the SymbolReference */ select?: SymbolReferenceSelect | null /** * Omit specific fields from the SymbolReference */ omit?: SymbolReferenceOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolReferenceInclude | null /** * The filter to search for the SymbolReference to update in case it exists. */ where: SymbolReferenceWhereUniqueInput /** * In case the SymbolReference found by the `where` argument doesn't exist, create a new SymbolReference with this data. */ create: XOR /** * In case the SymbolReference was found with the provided `where` argument, update it with this data. */ update: XOR } /** * SymbolReference delete */ export type SymbolReferenceDeleteArgs = { /** * Select specific fields to fetch from the SymbolReference */ select?: SymbolReferenceSelect | null /** * Omit specific fields from the SymbolReference */ omit?: SymbolReferenceOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolReferenceInclude | null /** * Filter which SymbolReference to delete. */ where: SymbolReferenceWhereUniqueInput } /** * SymbolReference deleteMany */ export type SymbolReferenceDeleteManyArgs = { /** * Filter which SymbolReferences to delete */ where?: SymbolReferenceWhereInput /** * Limit how many SymbolReferences to delete. */ limit?: number } /** * SymbolReference without action */ export type SymbolReferenceDefaultArgs = { /** * Select specific fields to fetch from the SymbolReference */ select?: SymbolReferenceSelect | null /** * Omit specific fields from the SymbolReference */ omit?: SymbolReferenceOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolReferenceInclude | null } /** * Model SymbolImport */ export type AggregateSymbolImport = { _count: SymbolImportCountAggregateOutputType | null _avg: SymbolImportAvgAggregateOutputType | null _sum: SymbolImportSumAggregateOutputType | null _min: SymbolImportMinAggregateOutputType | null _max: SymbolImportMaxAggregateOutputType | null } export type SymbolImportAvgAggregateOutputType = { id: number | null } export type SymbolImportSumAggregateOutputType = { id: number | null } export type SymbolImportMinAggregateOutputType = { id: number | null projectId: string | null generationId: string | null fromFile: string | null toFile: string | null specifier: string | null isExternal: boolean | null isTypeOnly: boolean | null } export type SymbolImportMaxAggregateOutputType = { id: number | null projectId: string | null generationId: string | null fromFile: string | null toFile: string | null specifier: string | null isExternal: boolean | null isTypeOnly: boolean | null } export type SymbolImportCountAggregateOutputType = { id: number projectId: number generationId: number fromFile: number toFile: number specifier: number importedNames: number isExternal: number isTypeOnly: number _all: number } export type SymbolImportAvgAggregateInputType = { id?: true } export type SymbolImportSumAggregateInputType = { id?: true } export type SymbolImportMinAggregateInputType = { id?: true projectId?: true generationId?: true fromFile?: true toFile?: true specifier?: true isExternal?: true isTypeOnly?: true } export type SymbolImportMaxAggregateInputType = { id?: true projectId?: true generationId?: true fromFile?: true toFile?: true specifier?: true isExternal?: true isTypeOnly?: true } export type SymbolImportCountAggregateInputType = { id?: true projectId?: true generationId?: true fromFile?: true toFile?: true specifier?: true importedNames?: true isExternal?: true isTypeOnly?: true _all?: true } export type SymbolImportAggregateArgs = { /** * Filter which SymbolImport to aggregate. */ where?: SymbolImportWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolImports to fetch. */ orderBy?: SymbolImportOrderByWithRelationInput | SymbolImportOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: SymbolImportWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolImports 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` SymbolImports. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned SymbolImports **/ _count?: true | SymbolImportCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: SymbolImportAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: SymbolImportSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SymbolImportMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SymbolImportMaxAggregateInputType } export type GetSymbolImportAggregateType = { [P in keyof T & keyof AggregateSymbolImport]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type SymbolImportGroupByArgs = { where?: SymbolImportWhereInput orderBy?: SymbolImportOrderByWithAggregationInput | SymbolImportOrderByWithAggregationInput[] by: SymbolImportScalarFieldEnum[] | SymbolImportScalarFieldEnum having?: SymbolImportScalarWhereWithAggregatesInput take?: number skip?: number _count?: SymbolImportCountAggregateInputType | true _avg?: SymbolImportAvgAggregateInputType _sum?: SymbolImportSumAggregateInputType _min?: SymbolImportMinAggregateInputType _max?: SymbolImportMaxAggregateInputType } export type SymbolImportGroupByOutputType = { id: number projectId: string generationId: string fromFile: string toFile: string | null specifier: string importedNames: string[] isExternal: boolean isTypeOnly: boolean _count: SymbolImportCountAggregateOutputType | null _avg: SymbolImportAvgAggregateOutputType | null _sum: SymbolImportSumAggregateOutputType | null _min: SymbolImportMinAggregateOutputType | null _max: SymbolImportMaxAggregateOutputType | null } type GetSymbolImportGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof SymbolImportGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type SymbolImportSelect = $Extensions.GetSelect<{ id?: boolean projectId?: boolean generationId?: boolean fromFile?: boolean toFile?: boolean specifier?: boolean importedNames?: boolean isExternal?: boolean isTypeOnly?: boolean workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs }, ExtArgs["result"]["symbolImport"]> export type SymbolImportSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean generationId?: boolean fromFile?: boolean toFile?: boolean specifier?: boolean importedNames?: boolean isExternal?: boolean isTypeOnly?: boolean workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs }, ExtArgs["result"]["symbolImport"]> export type SymbolImportSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean generationId?: boolean fromFile?: boolean toFile?: boolean specifier?: boolean importedNames?: boolean isExternal?: boolean isTypeOnly?: boolean workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs }, ExtArgs["result"]["symbolImport"]> export type SymbolImportSelectScalar = { id?: boolean projectId?: boolean generationId?: boolean fromFile?: boolean toFile?: boolean specifier?: boolean importedNames?: boolean isExternal?: boolean isTypeOnly?: boolean } export type SymbolImportOmit = $Extensions.GetOmit<"id" | "projectId" | "generationId" | "fromFile" | "toFile" | "specifier" | "importedNames" | "isExternal" | "isTypeOnly", ExtArgs["result"]["symbolImport"]> export type SymbolImportInclude = { workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs } export type SymbolImportIncludeCreateManyAndReturn = { workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs } export type SymbolImportIncludeUpdateManyAndReturn = { workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs } export type $SymbolImportPayload = { name: "SymbolImport" objects: { workspace: Prisma.$WorkspacePayload generation: Prisma.$GraphGenerationPayload } scalars: $Extensions.GetPayloadResult<{ id: number projectId: string generationId: string fromFile: string toFile: string | null specifier: string importedNames: string[] isExternal: boolean isTypeOnly: boolean }, ExtArgs["result"]["symbolImport"]> composites: {} } type SymbolImportGetPayload = $Result.GetResult type SymbolImportCountArgs = Omit & { select?: SymbolImportCountAggregateInputType | true } export interface SymbolImportDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['SymbolImport'], meta: { name: 'SymbolImport' } } /** * Find zero or one SymbolImport that matches the filter. * @param {SymbolImportFindUniqueArgs} args - Arguments to find a SymbolImport * @example * // Get one SymbolImport * const symbolImport = await prisma.symbolImport.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__SymbolImportClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one SymbolImport that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SymbolImportFindUniqueOrThrowArgs} args - Arguments to find a SymbolImport * @example * // Get one SymbolImport * const symbolImport = await prisma.symbolImport.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__SymbolImportClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first SymbolImport 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 {SymbolImportFindFirstArgs} args - Arguments to find a SymbolImport * @example * // Get one SymbolImport * const symbolImport = await prisma.symbolImport.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__SymbolImportClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first SymbolImport 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 {SymbolImportFindFirstOrThrowArgs} args - Arguments to find a SymbolImport * @example * // Get one SymbolImport * const symbolImport = await prisma.symbolImport.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__SymbolImportClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more SymbolImports 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 {SymbolImportFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all SymbolImports * const symbolImports = await prisma.symbolImport.findMany() * * // Get first 10 SymbolImports * const symbolImports = await prisma.symbolImport.findMany({ take: 10 }) * * // Only select the `id` * const symbolImportWithIdOnly = await prisma.symbolImport.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a SymbolImport. * @param {SymbolImportCreateArgs} args - Arguments to create a SymbolImport. * @example * // Create one SymbolImport * const SymbolImport = await prisma.symbolImport.create({ * data: { * // ... data to create a SymbolImport * } * }) * */ create(args: SelectSubset>): Prisma__SymbolImportClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many SymbolImports. * @param {SymbolImportCreateManyArgs} args - Arguments to create many SymbolImports. * @example * // Create many SymbolImports * const symbolImport = await prisma.symbolImport.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many SymbolImports and returns the data saved in the database. * @param {SymbolImportCreateManyAndReturnArgs} args - Arguments to create many SymbolImports. * @example * // Create many SymbolImports * const symbolImport = await prisma.symbolImport.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many SymbolImports and only return the `id` * const symbolImportWithIdOnly = await prisma.symbolImport.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", GlobalOmitOptions>> /** * Delete a SymbolImport. * @param {SymbolImportDeleteArgs} args - Arguments to delete one SymbolImport. * @example * // Delete one SymbolImport * const SymbolImport = await prisma.symbolImport.delete({ * where: { * // ... filter to delete one SymbolImport * } * }) * */ delete(args: SelectSubset>): Prisma__SymbolImportClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one SymbolImport. * @param {SymbolImportUpdateArgs} args - Arguments to update one SymbolImport. * @example * // Update one SymbolImport * const symbolImport = await prisma.symbolImport.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__SymbolImportClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more SymbolImports. * @param {SymbolImportDeleteManyArgs} args - Arguments to filter SymbolImports to delete. * @example * // Delete a few SymbolImports * const { count } = await prisma.symbolImport.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SymbolImports. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolImportUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many SymbolImports * const symbolImport = await prisma.symbolImport.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SymbolImports and returns the data updated in the database. * @param {SymbolImportUpdateManyAndReturnArgs} args - Arguments to update many SymbolImports. * @example * // Update many SymbolImports * const symbolImport = await prisma.symbolImport.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more SymbolImports and only return the `id` * const symbolImportWithIdOnly = await prisma.symbolImport.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one SymbolImport. * @param {SymbolImportUpsertArgs} args - Arguments to update or create a SymbolImport. * @example * // Update or create a SymbolImport * const symbolImport = await prisma.symbolImport.upsert({ * create: { * // ... data to create a SymbolImport * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the SymbolImport we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__SymbolImportClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of SymbolImports. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolImportCountArgs} args - Arguments to filter SymbolImports to count. * @example * // Count the number of SymbolImports * const count = await prisma.symbolImport.count({ * where: { * // ... the filter for the SymbolImports 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 SymbolImport. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolImportAggregateArgs} 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 SymbolImport. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolImportGroupByArgs} 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 SymbolImportGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: SymbolImportGroupByArgs['orderBy'] } : { orderBy?: SymbolImportGroupByArgs['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 ? GetSymbolImportGroupByPayload : Prisma.PrismaPromise /** * Fields of the SymbolImport model */ readonly fields: SymbolImportFieldRefs; } /** * The delegate class that acts as a "Promise-like" for SymbolImport. * 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__SymbolImportClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" workspace = {}>(args?: Subset>): Prisma__WorkspaceClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> generation = {}>(args?: Subset>): Prisma__GraphGenerationClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(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 SymbolImport model */ interface SymbolImportFieldRefs { readonly id: FieldRef<"SymbolImport", 'Int'> readonly projectId: FieldRef<"SymbolImport", 'String'> readonly generationId: FieldRef<"SymbolImport", 'String'> readonly fromFile: FieldRef<"SymbolImport", 'String'> readonly toFile: FieldRef<"SymbolImport", 'String'> readonly specifier: FieldRef<"SymbolImport", 'String'> readonly importedNames: FieldRef<"SymbolImport", 'String[]'> readonly isExternal: FieldRef<"SymbolImport", 'Boolean'> readonly isTypeOnly: FieldRef<"SymbolImport", 'Boolean'> } // Custom InputTypes /** * SymbolImport findUnique */ export type SymbolImportFindUniqueArgs = { /** * Select specific fields to fetch from the SymbolImport */ select?: SymbolImportSelect | null /** * Omit specific fields from the SymbolImport */ omit?: SymbolImportOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolImportInclude | null /** * Filter, which SymbolImport to fetch. */ where: SymbolImportWhereUniqueInput } /** * SymbolImport findUniqueOrThrow */ export type SymbolImportFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the SymbolImport */ select?: SymbolImportSelect | null /** * Omit specific fields from the SymbolImport */ omit?: SymbolImportOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolImportInclude | null /** * Filter, which SymbolImport to fetch. */ where: SymbolImportWhereUniqueInput } /** * SymbolImport findFirst */ export type SymbolImportFindFirstArgs = { /** * Select specific fields to fetch from the SymbolImport */ select?: SymbolImportSelect | null /** * Omit specific fields from the SymbolImport */ omit?: SymbolImportOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolImportInclude | null /** * Filter, which SymbolImport to fetch. */ where?: SymbolImportWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolImports to fetch. */ orderBy?: SymbolImportOrderByWithRelationInput | SymbolImportOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SymbolImports. */ cursor?: SymbolImportWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolImports 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` SymbolImports. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SymbolImports. */ distinct?: SymbolImportScalarFieldEnum | SymbolImportScalarFieldEnum[] } /** * SymbolImport findFirstOrThrow */ export type SymbolImportFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the SymbolImport */ select?: SymbolImportSelect | null /** * Omit specific fields from the SymbolImport */ omit?: SymbolImportOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolImportInclude | null /** * Filter, which SymbolImport to fetch. */ where?: SymbolImportWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolImports to fetch. */ orderBy?: SymbolImportOrderByWithRelationInput | SymbolImportOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SymbolImports. */ cursor?: SymbolImportWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolImports 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` SymbolImports. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SymbolImports. */ distinct?: SymbolImportScalarFieldEnum | SymbolImportScalarFieldEnum[] } /** * SymbolImport findMany */ export type SymbolImportFindManyArgs = { /** * Select specific fields to fetch from the SymbolImport */ select?: SymbolImportSelect | null /** * Omit specific fields from the SymbolImport */ omit?: SymbolImportOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolImportInclude | null /** * Filter, which SymbolImports to fetch. */ where?: SymbolImportWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolImports to fetch. */ orderBy?: SymbolImportOrderByWithRelationInput | SymbolImportOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing SymbolImports. */ cursor?: SymbolImportWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolImports 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` SymbolImports. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SymbolImports. */ distinct?: SymbolImportScalarFieldEnum | SymbolImportScalarFieldEnum[] } /** * SymbolImport create */ export type SymbolImportCreateArgs = { /** * Select specific fields to fetch from the SymbolImport */ select?: SymbolImportSelect | null /** * Omit specific fields from the SymbolImport */ omit?: SymbolImportOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolImportInclude | null /** * The data needed to create a SymbolImport. */ data: XOR } /** * SymbolImport createMany */ export type SymbolImportCreateManyArgs = { /** * The data used to create many SymbolImports. */ data: SymbolImportCreateManyInput | SymbolImportCreateManyInput[] skipDuplicates?: boolean } /** * SymbolImport createManyAndReturn */ export type SymbolImportCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the SymbolImport */ select?: SymbolImportSelectCreateManyAndReturn | null /** * Omit specific fields from the SymbolImport */ omit?: SymbolImportOmit | null /** * The data used to create many SymbolImports. */ data: SymbolImportCreateManyInput | SymbolImportCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: SymbolImportIncludeCreateManyAndReturn | null } /** * SymbolImport update */ export type SymbolImportUpdateArgs = { /** * Select specific fields to fetch from the SymbolImport */ select?: SymbolImportSelect | null /** * Omit specific fields from the SymbolImport */ omit?: SymbolImportOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolImportInclude | null /** * The data needed to update a SymbolImport. */ data: XOR /** * Choose, which SymbolImport to update. */ where: SymbolImportWhereUniqueInput } /** * SymbolImport updateMany */ export type SymbolImportUpdateManyArgs = { /** * The data used to update SymbolImports. */ data: XOR /** * Filter which SymbolImports to update */ where?: SymbolImportWhereInput /** * Limit how many SymbolImports to update. */ limit?: number } /** * SymbolImport updateManyAndReturn */ export type SymbolImportUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the SymbolImport */ select?: SymbolImportSelectUpdateManyAndReturn | null /** * Omit specific fields from the SymbolImport */ omit?: SymbolImportOmit | null /** * The data used to update SymbolImports. */ data: XOR /** * Filter which SymbolImports to update */ where?: SymbolImportWhereInput /** * Limit how many SymbolImports to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: SymbolImportIncludeUpdateManyAndReturn | null } /** * SymbolImport upsert */ export type SymbolImportUpsertArgs = { /** * Select specific fields to fetch from the SymbolImport */ select?: SymbolImportSelect | null /** * Omit specific fields from the SymbolImport */ omit?: SymbolImportOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolImportInclude | null /** * The filter to search for the SymbolImport to update in case it exists. */ where: SymbolImportWhereUniqueInput /** * In case the SymbolImport found by the `where` argument doesn't exist, create a new SymbolImport with this data. */ create: XOR /** * In case the SymbolImport was found with the provided `where` argument, update it with this data. */ update: XOR } /** * SymbolImport delete */ export type SymbolImportDeleteArgs = { /** * Select specific fields to fetch from the SymbolImport */ select?: SymbolImportSelect | null /** * Omit specific fields from the SymbolImport */ omit?: SymbolImportOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolImportInclude | null /** * Filter which SymbolImport to delete. */ where: SymbolImportWhereUniqueInput } /** * SymbolImport deleteMany */ export type SymbolImportDeleteManyArgs = { /** * Filter which SymbolImports to delete */ where?: SymbolImportWhereInput /** * Limit how many SymbolImports to delete. */ limit?: number } /** * SymbolImport without action */ export type SymbolImportDefaultArgs = { /** * Select specific fields to fetch from the SymbolImport */ select?: SymbolImportSelect | null /** * Omit specific fields from the SymbolImport */ omit?: SymbolImportOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolImportInclude | null } /** * Model SymbolCentrality */ export type AggregateSymbolCentrality = { _count: SymbolCentralityCountAggregateOutputType | null _avg: SymbolCentralityAvgAggregateOutputType | null _sum: SymbolCentralitySumAggregateOutputType | null _min: SymbolCentralityMinAggregateOutputType | null _max: SymbolCentralityMaxAggregateOutputType | null } export type SymbolCentralityAvgAggregateOutputType = { score: number | null } export type SymbolCentralitySumAggregateOutputType = { score: number | null } export type SymbolCentralityMinAggregateOutputType = { projectId: string | null generationId: string | null filePath: string | null score: number | null updatedAt: Date | null } export type SymbolCentralityMaxAggregateOutputType = { projectId: string | null generationId: string | null filePath: string | null score: number | null updatedAt: Date | null } export type SymbolCentralityCountAggregateOutputType = { projectId: number generationId: number filePath: number score: number updatedAt: number _all: number } export type SymbolCentralityAvgAggregateInputType = { score?: true } export type SymbolCentralitySumAggregateInputType = { score?: true } export type SymbolCentralityMinAggregateInputType = { projectId?: true generationId?: true filePath?: true score?: true updatedAt?: true } export type SymbolCentralityMaxAggregateInputType = { projectId?: true generationId?: true filePath?: true score?: true updatedAt?: true } export type SymbolCentralityCountAggregateInputType = { projectId?: true generationId?: true filePath?: true score?: true updatedAt?: true _all?: true } export type SymbolCentralityAggregateArgs = { /** * Filter which SymbolCentrality to aggregate. */ where?: SymbolCentralityWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolCentralities to fetch. */ orderBy?: SymbolCentralityOrderByWithRelationInput | SymbolCentralityOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: SymbolCentralityWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolCentralities 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` SymbolCentralities. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned SymbolCentralities **/ _count?: true | SymbolCentralityCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: SymbolCentralityAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: SymbolCentralitySumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SymbolCentralityMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SymbolCentralityMaxAggregateInputType } export type GetSymbolCentralityAggregateType = { [P in keyof T & keyof AggregateSymbolCentrality]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type SymbolCentralityGroupByArgs = { where?: SymbolCentralityWhereInput orderBy?: SymbolCentralityOrderByWithAggregationInput | SymbolCentralityOrderByWithAggregationInput[] by: SymbolCentralityScalarFieldEnum[] | SymbolCentralityScalarFieldEnum having?: SymbolCentralityScalarWhereWithAggregatesInput take?: number skip?: number _count?: SymbolCentralityCountAggregateInputType | true _avg?: SymbolCentralityAvgAggregateInputType _sum?: SymbolCentralitySumAggregateInputType _min?: SymbolCentralityMinAggregateInputType _max?: SymbolCentralityMaxAggregateInputType } export type SymbolCentralityGroupByOutputType = { projectId: string generationId: string filePath: string score: number updatedAt: Date _count: SymbolCentralityCountAggregateOutputType | null _avg: SymbolCentralityAvgAggregateOutputType | null _sum: SymbolCentralitySumAggregateOutputType | null _min: SymbolCentralityMinAggregateOutputType | null _max: SymbolCentralityMaxAggregateOutputType | null } type GetSymbolCentralityGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof SymbolCentralityGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type SymbolCentralitySelect = $Extensions.GetSelect<{ projectId?: boolean generationId?: boolean filePath?: boolean score?: boolean updatedAt?: boolean workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs }, ExtArgs["result"]["symbolCentrality"]> export type SymbolCentralitySelectCreateManyAndReturn = $Extensions.GetSelect<{ projectId?: boolean generationId?: boolean filePath?: boolean score?: boolean updatedAt?: boolean workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs }, ExtArgs["result"]["symbolCentrality"]> export type SymbolCentralitySelectUpdateManyAndReturn = $Extensions.GetSelect<{ projectId?: boolean generationId?: boolean filePath?: boolean score?: boolean updatedAt?: boolean workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs }, ExtArgs["result"]["symbolCentrality"]> export type SymbolCentralitySelectScalar = { projectId?: boolean generationId?: boolean filePath?: boolean score?: boolean updatedAt?: boolean } export type SymbolCentralityOmit = $Extensions.GetOmit<"projectId" | "generationId" | "filePath" | "score" | "updatedAt", ExtArgs["result"]["symbolCentrality"]> export type SymbolCentralityInclude = { workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs } export type SymbolCentralityIncludeCreateManyAndReturn = { workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs } export type SymbolCentralityIncludeUpdateManyAndReturn = { workspace?: boolean | WorkspaceDefaultArgs generation?: boolean | GraphGenerationDefaultArgs } export type $SymbolCentralityPayload = { name: "SymbolCentrality" objects: { workspace: Prisma.$WorkspacePayload generation: Prisma.$GraphGenerationPayload } scalars: $Extensions.GetPayloadResult<{ projectId: string generationId: string filePath: string score: number updatedAt: Date }, ExtArgs["result"]["symbolCentrality"]> composites: {} } type SymbolCentralityGetPayload = $Result.GetResult type SymbolCentralityCountArgs = Omit & { select?: SymbolCentralityCountAggregateInputType | true } export interface SymbolCentralityDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['SymbolCentrality'], meta: { name: 'SymbolCentrality' } } /** * Find zero or one SymbolCentrality that matches the filter. * @param {SymbolCentralityFindUniqueArgs} args - Arguments to find a SymbolCentrality * @example * // Get one SymbolCentrality * const symbolCentrality = await prisma.symbolCentrality.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__SymbolCentralityClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one SymbolCentrality that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SymbolCentralityFindUniqueOrThrowArgs} args - Arguments to find a SymbolCentrality * @example * // Get one SymbolCentrality * const symbolCentrality = await prisma.symbolCentrality.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__SymbolCentralityClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first SymbolCentrality 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 {SymbolCentralityFindFirstArgs} args - Arguments to find a SymbolCentrality * @example * // Get one SymbolCentrality * const symbolCentrality = await prisma.symbolCentrality.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__SymbolCentralityClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first SymbolCentrality 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 {SymbolCentralityFindFirstOrThrowArgs} args - Arguments to find a SymbolCentrality * @example * // Get one SymbolCentrality * const symbolCentrality = await prisma.symbolCentrality.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__SymbolCentralityClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more SymbolCentralities 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 {SymbolCentralityFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all SymbolCentralities * const symbolCentralities = await prisma.symbolCentrality.findMany() * * // Get first 10 SymbolCentralities * const symbolCentralities = await prisma.symbolCentrality.findMany({ take: 10 }) * * // Only select the `projectId` * const symbolCentralityWithProjectIdOnly = await prisma.symbolCentrality.findMany({ select: { projectId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a SymbolCentrality. * @param {SymbolCentralityCreateArgs} args - Arguments to create a SymbolCentrality. * @example * // Create one SymbolCentrality * const SymbolCentrality = await prisma.symbolCentrality.create({ * data: { * // ... data to create a SymbolCentrality * } * }) * */ create(args: SelectSubset>): Prisma__SymbolCentralityClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many SymbolCentralities. * @param {SymbolCentralityCreateManyArgs} args - Arguments to create many SymbolCentralities. * @example * // Create many SymbolCentralities * const symbolCentrality = await prisma.symbolCentrality.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many SymbolCentralities and returns the data saved in the database. * @param {SymbolCentralityCreateManyAndReturnArgs} args - Arguments to create many SymbolCentralities. * @example * // Create many SymbolCentralities * const symbolCentrality = await prisma.symbolCentrality.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many SymbolCentralities and only return the `projectId` * const symbolCentralityWithProjectIdOnly = await prisma.symbolCentrality.createManyAndReturn({ * select: { projectId: 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", GlobalOmitOptions>> /** * Delete a SymbolCentrality. * @param {SymbolCentralityDeleteArgs} args - Arguments to delete one SymbolCentrality. * @example * // Delete one SymbolCentrality * const SymbolCentrality = await prisma.symbolCentrality.delete({ * where: { * // ... filter to delete one SymbolCentrality * } * }) * */ delete(args: SelectSubset>): Prisma__SymbolCentralityClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one SymbolCentrality. * @param {SymbolCentralityUpdateArgs} args - Arguments to update one SymbolCentrality. * @example * // Update one SymbolCentrality * const symbolCentrality = await prisma.symbolCentrality.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__SymbolCentralityClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more SymbolCentralities. * @param {SymbolCentralityDeleteManyArgs} args - Arguments to filter SymbolCentralities to delete. * @example * // Delete a few SymbolCentralities * const { count } = await prisma.symbolCentrality.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SymbolCentralities. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolCentralityUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many SymbolCentralities * const symbolCentrality = await prisma.symbolCentrality.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SymbolCentralities and returns the data updated in the database. * @param {SymbolCentralityUpdateManyAndReturnArgs} args - Arguments to update many SymbolCentralities. * @example * // Update many SymbolCentralities * const symbolCentrality = await prisma.symbolCentrality.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more SymbolCentralities and only return the `projectId` * const symbolCentralityWithProjectIdOnly = await prisma.symbolCentrality.updateManyAndReturn({ * select: { projectId: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one SymbolCentrality. * @param {SymbolCentralityUpsertArgs} args - Arguments to update or create a SymbolCentrality. * @example * // Update or create a SymbolCentrality * const symbolCentrality = await prisma.symbolCentrality.upsert({ * create: { * // ... data to create a SymbolCentrality * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the SymbolCentrality we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__SymbolCentralityClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of SymbolCentralities. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolCentralityCountArgs} args - Arguments to filter SymbolCentralities to count. * @example * // Count the number of SymbolCentralities * const count = await prisma.symbolCentrality.count({ * where: { * // ... the filter for the SymbolCentralities 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 SymbolCentrality. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolCentralityAggregateArgs} 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 SymbolCentrality. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolCentralityGroupByArgs} 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 SymbolCentralityGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: SymbolCentralityGroupByArgs['orderBy'] } : { orderBy?: SymbolCentralityGroupByArgs['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 ? GetSymbolCentralityGroupByPayload : Prisma.PrismaPromise /** * Fields of the SymbolCentrality model */ readonly fields: SymbolCentralityFieldRefs; } /** * The delegate class that acts as a "Promise-like" for SymbolCentrality. * 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__SymbolCentralityClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" workspace = {}>(args?: Subset>): Prisma__WorkspaceClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> generation = {}>(args?: Subset>): Prisma__GraphGenerationClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(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 SymbolCentrality model */ interface SymbolCentralityFieldRefs { readonly projectId: FieldRef<"SymbolCentrality", 'String'> readonly generationId: FieldRef<"SymbolCentrality", 'String'> readonly filePath: FieldRef<"SymbolCentrality", 'String'> readonly score: FieldRef<"SymbolCentrality", 'Float'> readonly updatedAt: FieldRef<"SymbolCentrality", 'DateTime'> } // Custom InputTypes /** * SymbolCentrality findUnique */ export type SymbolCentralityFindUniqueArgs = { /** * Select specific fields to fetch from the SymbolCentrality */ select?: SymbolCentralitySelect | null /** * Omit specific fields from the SymbolCentrality */ omit?: SymbolCentralityOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolCentralityInclude | null /** * Filter, which SymbolCentrality to fetch. */ where: SymbolCentralityWhereUniqueInput } /** * SymbolCentrality findUniqueOrThrow */ export type SymbolCentralityFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the SymbolCentrality */ select?: SymbolCentralitySelect | null /** * Omit specific fields from the SymbolCentrality */ omit?: SymbolCentralityOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolCentralityInclude | null /** * Filter, which SymbolCentrality to fetch. */ where: SymbolCentralityWhereUniqueInput } /** * SymbolCentrality findFirst */ export type SymbolCentralityFindFirstArgs = { /** * Select specific fields to fetch from the SymbolCentrality */ select?: SymbolCentralitySelect | null /** * Omit specific fields from the SymbolCentrality */ omit?: SymbolCentralityOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolCentralityInclude | null /** * Filter, which SymbolCentrality to fetch. */ where?: SymbolCentralityWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolCentralities to fetch. */ orderBy?: SymbolCentralityOrderByWithRelationInput | SymbolCentralityOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SymbolCentralities. */ cursor?: SymbolCentralityWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolCentralities 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` SymbolCentralities. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SymbolCentralities. */ distinct?: SymbolCentralityScalarFieldEnum | SymbolCentralityScalarFieldEnum[] } /** * SymbolCentrality findFirstOrThrow */ export type SymbolCentralityFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the SymbolCentrality */ select?: SymbolCentralitySelect | null /** * Omit specific fields from the SymbolCentrality */ omit?: SymbolCentralityOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolCentralityInclude | null /** * Filter, which SymbolCentrality to fetch. */ where?: SymbolCentralityWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolCentralities to fetch. */ orderBy?: SymbolCentralityOrderByWithRelationInput | SymbolCentralityOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SymbolCentralities. */ cursor?: SymbolCentralityWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolCentralities 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` SymbolCentralities. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SymbolCentralities. */ distinct?: SymbolCentralityScalarFieldEnum | SymbolCentralityScalarFieldEnum[] } /** * SymbolCentrality findMany */ export type SymbolCentralityFindManyArgs = { /** * Select specific fields to fetch from the SymbolCentrality */ select?: SymbolCentralitySelect | null /** * Omit specific fields from the SymbolCentrality */ omit?: SymbolCentralityOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolCentralityInclude | null /** * Filter, which SymbolCentralities to fetch. */ where?: SymbolCentralityWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolCentralities to fetch. */ orderBy?: SymbolCentralityOrderByWithRelationInput | SymbolCentralityOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing SymbolCentralities. */ cursor?: SymbolCentralityWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolCentralities 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` SymbolCentralities. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SymbolCentralities. */ distinct?: SymbolCentralityScalarFieldEnum | SymbolCentralityScalarFieldEnum[] } /** * SymbolCentrality create */ export type SymbolCentralityCreateArgs = { /** * Select specific fields to fetch from the SymbolCentrality */ select?: SymbolCentralitySelect | null /** * Omit specific fields from the SymbolCentrality */ omit?: SymbolCentralityOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolCentralityInclude | null /** * The data needed to create a SymbolCentrality. */ data: XOR } /** * SymbolCentrality createMany */ export type SymbolCentralityCreateManyArgs = { /** * The data used to create many SymbolCentralities. */ data: SymbolCentralityCreateManyInput | SymbolCentralityCreateManyInput[] skipDuplicates?: boolean } /** * SymbolCentrality createManyAndReturn */ export type SymbolCentralityCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the SymbolCentrality */ select?: SymbolCentralitySelectCreateManyAndReturn | null /** * Omit specific fields from the SymbolCentrality */ omit?: SymbolCentralityOmit | null /** * The data used to create many SymbolCentralities. */ data: SymbolCentralityCreateManyInput | SymbolCentralityCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: SymbolCentralityIncludeCreateManyAndReturn | null } /** * SymbolCentrality update */ export type SymbolCentralityUpdateArgs = { /** * Select specific fields to fetch from the SymbolCentrality */ select?: SymbolCentralitySelect | null /** * Omit specific fields from the SymbolCentrality */ omit?: SymbolCentralityOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolCentralityInclude | null /** * The data needed to update a SymbolCentrality. */ data: XOR /** * Choose, which SymbolCentrality to update. */ where: SymbolCentralityWhereUniqueInput } /** * SymbolCentrality updateMany */ export type SymbolCentralityUpdateManyArgs = { /** * The data used to update SymbolCentralities. */ data: XOR /** * Filter which SymbolCentralities to update */ where?: SymbolCentralityWhereInput /** * Limit how many SymbolCentralities to update. */ limit?: number } /** * SymbolCentrality updateManyAndReturn */ export type SymbolCentralityUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the SymbolCentrality */ select?: SymbolCentralitySelectUpdateManyAndReturn | null /** * Omit specific fields from the SymbolCentrality */ omit?: SymbolCentralityOmit | null /** * The data used to update SymbolCentralities. */ data: XOR /** * Filter which SymbolCentralities to update */ where?: SymbolCentralityWhereInput /** * Limit how many SymbolCentralities to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: SymbolCentralityIncludeUpdateManyAndReturn | null } /** * SymbolCentrality upsert */ export type SymbolCentralityUpsertArgs = { /** * Select specific fields to fetch from the SymbolCentrality */ select?: SymbolCentralitySelect | null /** * Omit specific fields from the SymbolCentrality */ omit?: SymbolCentralityOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolCentralityInclude | null /** * The filter to search for the SymbolCentrality to update in case it exists. */ where: SymbolCentralityWhereUniqueInput /** * In case the SymbolCentrality found by the `where` argument doesn't exist, create a new SymbolCentrality with this data. */ create: XOR /** * In case the SymbolCentrality was found with the provided `where` argument, update it with this data. */ update: XOR } /** * SymbolCentrality delete */ export type SymbolCentralityDeleteArgs = { /** * Select specific fields to fetch from the SymbolCentrality */ select?: SymbolCentralitySelect | null /** * Omit specific fields from the SymbolCentrality */ omit?: SymbolCentralityOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolCentralityInclude | null /** * Filter which SymbolCentrality to delete. */ where: SymbolCentralityWhereUniqueInput } /** * SymbolCentrality deleteMany */ export type SymbolCentralityDeleteManyArgs = { /** * Filter which SymbolCentralities to delete */ where?: SymbolCentralityWhereInput /** * Limit how many SymbolCentralities to delete. */ limit?: number } /** * SymbolCentrality without action */ export type SymbolCentralityDefaultArgs = { /** * Select specific fields to fetch from the SymbolCentrality */ select?: SymbolCentralitySelect | null /** * Omit specific fields from the SymbolCentrality */ omit?: SymbolCentralityOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolCentralityInclude | null } /** * Model MemoryEdge */ export type AggregateMemoryEdge = { _count: MemoryEdgeCountAggregateOutputType | null _avg: MemoryEdgeAvgAggregateOutputType | null _sum: MemoryEdgeSumAggregateOutputType | null _min: MemoryEdgeMinAggregateOutputType | null _max: MemoryEdgeMaxAggregateOutputType | null } export type MemoryEdgeAvgAggregateOutputType = { id: number | null weight: number | null } export type MemoryEdgeSumAggregateOutputType = { id: number | null weight: number | null } export type MemoryEdgeMinAggregateOutputType = { id: number | null fromId: string | null toId: string | null edgeType: string | null weight: number | null createdAt: Date | null updatedAt: Date | null } export type MemoryEdgeMaxAggregateOutputType = { id: number | null fromId: string | null toId: string | null edgeType: string | null weight: number | null createdAt: Date | null updatedAt: Date | null } export type MemoryEdgeCountAggregateOutputType = { id: number fromId: number toId: number edgeType: number weight: number metadata: number createdAt: number updatedAt: number _all: number } export type MemoryEdgeAvgAggregateInputType = { id?: true weight?: true } export type MemoryEdgeSumAggregateInputType = { id?: true weight?: true } export type MemoryEdgeMinAggregateInputType = { id?: true fromId?: true toId?: true edgeType?: true weight?: true createdAt?: true updatedAt?: true } export type MemoryEdgeMaxAggregateInputType = { id?: true fromId?: true toId?: true edgeType?: true weight?: true createdAt?: true updatedAt?: true } export type MemoryEdgeCountAggregateInputType = { id?: true fromId?: true toId?: true edgeType?: true weight?: true metadata?: true createdAt?: true updatedAt?: true _all?: true } export type MemoryEdgeAggregateArgs = { /** * Filter which MemoryEdge to aggregate. */ where?: MemoryEdgeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of MemoryEdges to fetch. */ orderBy?: MemoryEdgeOrderByWithRelationInput | MemoryEdgeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: MemoryEdgeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` MemoryEdges 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` MemoryEdges. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned MemoryEdges **/ _count?: true | MemoryEdgeCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: MemoryEdgeAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: MemoryEdgeSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: MemoryEdgeMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: MemoryEdgeMaxAggregateInputType } export type GetMemoryEdgeAggregateType = { [P in keyof T & keyof AggregateMemoryEdge]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type MemoryEdgeGroupByArgs = { where?: MemoryEdgeWhereInput orderBy?: MemoryEdgeOrderByWithAggregationInput | MemoryEdgeOrderByWithAggregationInput[] by: MemoryEdgeScalarFieldEnum[] | MemoryEdgeScalarFieldEnum having?: MemoryEdgeScalarWhereWithAggregatesInput take?: number skip?: number _count?: MemoryEdgeCountAggregateInputType | true _avg?: MemoryEdgeAvgAggregateInputType _sum?: MemoryEdgeSumAggregateInputType _min?: MemoryEdgeMinAggregateInputType _max?: MemoryEdgeMaxAggregateInputType } export type MemoryEdgeGroupByOutputType = { id: number fromId: string toId: string edgeType: string weight: number metadata: JsonValue | null createdAt: Date updatedAt: Date _count: MemoryEdgeCountAggregateOutputType | null _avg: MemoryEdgeAvgAggregateOutputType | null _sum: MemoryEdgeSumAggregateOutputType | null _min: MemoryEdgeMinAggregateOutputType | null _max: MemoryEdgeMaxAggregateOutputType | null } type GetMemoryEdgeGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof MemoryEdgeGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type MemoryEdgeSelect = $Extensions.GetSelect<{ id?: boolean fromId?: boolean toId?: boolean edgeType?: boolean weight?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean fromMemory?: boolean | MemoryDefaultArgs toMemory?: boolean | MemoryDefaultArgs }, ExtArgs["result"]["memoryEdge"]> export type MemoryEdgeSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean fromId?: boolean toId?: boolean edgeType?: boolean weight?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean fromMemory?: boolean | MemoryDefaultArgs toMemory?: boolean | MemoryDefaultArgs }, ExtArgs["result"]["memoryEdge"]> export type MemoryEdgeSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean fromId?: boolean toId?: boolean edgeType?: boolean weight?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean fromMemory?: boolean | MemoryDefaultArgs toMemory?: boolean | MemoryDefaultArgs }, ExtArgs["result"]["memoryEdge"]> export type MemoryEdgeSelectScalar = { id?: boolean fromId?: boolean toId?: boolean edgeType?: boolean weight?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean } export type MemoryEdgeOmit = $Extensions.GetOmit<"id" | "fromId" | "toId" | "edgeType" | "weight" | "metadata" | "createdAt" | "updatedAt", ExtArgs["result"]["memoryEdge"]> export type MemoryEdgeInclude = { fromMemory?: boolean | MemoryDefaultArgs toMemory?: boolean | MemoryDefaultArgs } export type MemoryEdgeIncludeCreateManyAndReturn = { fromMemory?: boolean | MemoryDefaultArgs toMemory?: boolean | MemoryDefaultArgs } export type MemoryEdgeIncludeUpdateManyAndReturn = { fromMemory?: boolean | MemoryDefaultArgs toMemory?: boolean | MemoryDefaultArgs } export type $MemoryEdgePayload = { name: "MemoryEdge" objects: { fromMemory: Prisma.$MemoryPayload toMemory: Prisma.$MemoryPayload } scalars: $Extensions.GetPayloadResult<{ id: number fromId: string toId: string edgeType: string weight: number metadata: Prisma.JsonValue | null createdAt: Date updatedAt: Date }, ExtArgs["result"]["memoryEdge"]> composites: {} } type MemoryEdgeGetPayload = $Result.GetResult type MemoryEdgeCountArgs = Omit & { select?: MemoryEdgeCountAggregateInputType | true } export interface MemoryEdgeDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['MemoryEdge'], meta: { name: 'MemoryEdge' } } /** * Find zero or one MemoryEdge that matches the filter. * @param {MemoryEdgeFindUniqueArgs} args - Arguments to find a MemoryEdge * @example * // Get one MemoryEdge * const memoryEdge = await prisma.memoryEdge.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__MemoryEdgeClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one MemoryEdge that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {MemoryEdgeFindUniqueOrThrowArgs} args - Arguments to find a MemoryEdge * @example * // Get one MemoryEdge * const memoryEdge = await prisma.memoryEdge.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__MemoryEdgeClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first MemoryEdge 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 {MemoryEdgeFindFirstArgs} args - Arguments to find a MemoryEdge * @example * // Get one MemoryEdge * const memoryEdge = await prisma.memoryEdge.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__MemoryEdgeClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first MemoryEdge 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 {MemoryEdgeFindFirstOrThrowArgs} args - Arguments to find a MemoryEdge * @example * // Get one MemoryEdge * const memoryEdge = await prisma.memoryEdge.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__MemoryEdgeClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more MemoryEdges 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 {MemoryEdgeFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all MemoryEdges * const memoryEdges = await prisma.memoryEdge.findMany() * * // Get first 10 MemoryEdges * const memoryEdges = await prisma.memoryEdge.findMany({ take: 10 }) * * // Only select the `id` * const memoryEdgeWithIdOnly = await prisma.memoryEdge.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a MemoryEdge. * @param {MemoryEdgeCreateArgs} args - Arguments to create a MemoryEdge. * @example * // Create one MemoryEdge * const MemoryEdge = await prisma.memoryEdge.create({ * data: { * // ... data to create a MemoryEdge * } * }) * */ create(args: SelectSubset>): Prisma__MemoryEdgeClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many MemoryEdges. * @param {MemoryEdgeCreateManyArgs} args - Arguments to create many MemoryEdges. * @example * // Create many MemoryEdges * const memoryEdge = await prisma.memoryEdge.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many MemoryEdges and returns the data saved in the database. * @param {MemoryEdgeCreateManyAndReturnArgs} args - Arguments to create many MemoryEdges. * @example * // Create many MemoryEdges * const memoryEdge = await prisma.memoryEdge.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many MemoryEdges and only return the `id` * const memoryEdgeWithIdOnly = await prisma.memoryEdge.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", GlobalOmitOptions>> /** * Delete a MemoryEdge. * @param {MemoryEdgeDeleteArgs} args - Arguments to delete one MemoryEdge. * @example * // Delete one MemoryEdge * const MemoryEdge = await prisma.memoryEdge.delete({ * where: { * // ... filter to delete one MemoryEdge * } * }) * */ delete(args: SelectSubset>): Prisma__MemoryEdgeClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one MemoryEdge. * @param {MemoryEdgeUpdateArgs} args - Arguments to update one MemoryEdge. * @example * // Update one MemoryEdge * const memoryEdge = await prisma.memoryEdge.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__MemoryEdgeClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more MemoryEdges. * @param {MemoryEdgeDeleteManyArgs} args - Arguments to filter MemoryEdges to delete. * @example * // Delete a few MemoryEdges * const { count } = await prisma.memoryEdge.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more MemoryEdges. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MemoryEdgeUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many MemoryEdges * const memoryEdge = await prisma.memoryEdge.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more MemoryEdges and returns the data updated in the database. * @param {MemoryEdgeUpdateManyAndReturnArgs} args - Arguments to update many MemoryEdges. * @example * // Update many MemoryEdges * const memoryEdge = await prisma.memoryEdge.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more MemoryEdges and only return the `id` * const memoryEdgeWithIdOnly = await prisma.memoryEdge.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one MemoryEdge. * @param {MemoryEdgeUpsertArgs} args - Arguments to update or create a MemoryEdge. * @example * // Update or create a MemoryEdge * const memoryEdge = await prisma.memoryEdge.upsert({ * create: { * // ... data to create a MemoryEdge * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the MemoryEdge we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__MemoryEdgeClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of MemoryEdges. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MemoryEdgeCountArgs} args - Arguments to filter MemoryEdges to count. * @example * // Count the number of MemoryEdges * const count = await prisma.memoryEdge.count({ * where: { * // ... the filter for the MemoryEdges 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 MemoryEdge. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MemoryEdgeAggregateArgs} 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 MemoryEdge. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MemoryEdgeGroupByArgs} 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 MemoryEdgeGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: MemoryEdgeGroupByArgs['orderBy'] } : { orderBy?: MemoryEdgeGroupByArgs['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 ? GetMemoryEdgeGroupByPayload : Prisma.PrismaPromise /** * Fields of the MemoryEdge model */ readonly fields: MemoryEdgeFieldRefs; } /** * The delegate class that acts as a "Promise-like" for MemoryEdge. * 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__MemoryEdgeClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" fromMemory = {}>(args?: Subset>): Prisma__MemoryClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> toMemory = {}>(args?: Subset>): Prisma__MemoryClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(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 MemoryEdge model */ interface MemoryEdgeFieldRefs { readonly id: FieldRef<"MemoryEdge", 'Int'> readonly fromId: FieldRef<"MemoryEdge", 'String'> readonly toId: FieldRef<"MemoryEdge", 'String'> readonly edgeType: FieldRef<"MemoryEdge", 'String'> readonly weight: FieldRef<"MemoryEdge", 'Float'> readonly metadata: FieldRef<"MemoryEdge", 'Json'> readonly createdAt: FieldRef<"MemoryEdge", 'DateTime'> readonly updatedAt: FieldRef<"MemoryEdge", 'DateTime'> } // Custom InputTypes /** * MemoryEdge findUnique */ export type MemoryEdgeFindUniqueArgs = { /** * Select specific fields to fetch from the MemoryEdge */ select?: MemoryEdgeSelect | null /** * Omit specific fields from the MemoryEdge */ omit?: MemoryEdgeOmit | null /** * Choose, which related nodes to fetch as well */ include?: MemoryEdgeInclude | null /** * Filter, which MemoryEdge to fetch. */ where: MemoryEdgeWhereUniqueInput } /** * MemoryEdge findUniqueOrThrow */ export type MemoryEdgeFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the MemoryEdge */ select?: MemoryEdgeSelect | null /** * Omit specific fields from the MemoryEdge */ omit?: MemoryEdgeOmit | null /** * Choose, which related nodes to fetch as well */ include?: MemoryEdgeInclude | null /** * Filter, which MemoryEdge to fetch. */ where: MemoryEdgeWhereUniqueInput } /** * MemoryEdge findFirst */ export type MemoryEdgeFindFirstArgs = { /** * Select specific fields to fetch from the MemoryEdge */ select?: MemoryEdgeSelect | null /** * Omit specific fields from the MemoryEdge */ omit?: MemoryEdgeOmit | null /** * Choose, which related nodes to fetch as well */ include?: MemoryEdgeInclude | null /** * Filter, which MemoryEdge to fetch. */ where?: MemoryEdgeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of MemoryEdges to fetch. */ orderBy?: MemoryEdgeOrderByWithRelationInput | MemoryEdgeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for MemoryEdges. */ cursor?: MemoryEdgeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` MemoryEdges 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` MemoryEdges. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of MemoryEdges. */ distinct?: MemoryEdgeScalarFieldEnum | MemoryEdgeScalarFieldEnum[] } /** * MemoryEdge findFirstOrThrow */ export type MemoryEdgeFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the MemoryEdge */ select?: MemoryEdgeSelect | null /** * Omit specific fields from the MemoryEdge */ omit?: MemoryEdgeOmit | null /** * Choose, which related nodes to fetch as well */ include?: MemoryEdgeInclude | null /** * Filter, which MemoryEdge to fetch. */ where?: MemoryEdgeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of MemoryEdges to fetch. */ orderBy?: MemoryEdgeOrderByWithRelationInput | MemoryEdgeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for MemoryEdges. */ cursor?: MemoryEdgeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` MemoryEdges 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` MemoryEdges. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of MemoryEdges. */ distinct?: MemoryEdgeScalarFieldEnum | MemoryEdgeScalarFieldEnum[] } /** * MemoryEdge findMany */ export type MemoryEdgeFindManyArgs = { /** * Select specific fields to fetch from the MemoryEdge */ select?: MemoryEdgeSelect | null /** * Omit specific fields from the MemoryEdge */ omit?: MemoryEdgeOmit | null /** * Choose, which related nodes to fetch as well */ include?: MemoryEdgeInclude | null /** * Filter, which MemoryEdges to fetch. */ where?: MemoryEdgeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of MemoryEdges to fetch. */ orderBy?: MemoryEdgeOrderByWithRelationInput | MemoryEdgeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing MemoryEdges. */ cursor?: MemoryEdgeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` MemoryEdges 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` MemoryEdges. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of MemoryEdges. */ distinct?: MemoryEdgeScalarFieldEnum | MemoryEdgeScalarFieldEnum[] } /** * MemoryEdge create */ export type MemoryEdgeCreateArgs = { /** * Select specific fields to fetch from the MemoryEdge */ select?: MemoryEdgeSelect | null /** * Omit specific fields from the MemoryEdge */ omit?: MemoryEdgeOmit | null /** * Choose, which related nodes to fetch as well */ include?: MemoryEdgeInclude | null /** * The data needed to create a MemoryEdge. */ data: XOR } /** * MemoryEdge createMany */ export type MemoryEdgeCreateManyArgs = { /** * The data used to create many MemoryEdges. */ data: MemoryEdgeCreateManyInput | MemoryEdgeCreateManyInput[] skipDuplicates?: boolean } /** * MemoryEdge createManyAndReturn */ export type MemoryEdgeCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the MemoryEdge */ select?: MemoryEdgeSelectCreateManyAndReturn | null /** * Omit specific fields from the MemoryEdge */ omit?: MemoryEdgeOmit | null /** * The data used to create many MemoryEdges. */ data: MemoryEdgeCreateManyInput | MemoryEdgeCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: MemoryEdgeIncludeCreateManyAndReturn | null } /** * MemoryEdge update */ export type MemoryEdgeUpdateArgs = { /** * Select specific fields to fetch from the MemoryEdge */ select?: MemoryEdgeSelect | null /** * Omit specific fields from the MemoryEdge */ omit?: MemoryEdgeOmit | null /** * Choose, which related nodes to fetch as well */ include?: MemoryEdgeInclude | null /** * The data needed to update a MemoryEdge. */ data: XOR /** * Choose, which MemoryEdge to update. */ where: MemoryEdgeWhereUniqueInput } /** * MemoryEdge updateMany */ export type MemoryEdgeUpdateManyArgs = { /** * The data used to update MemoryEdges. */ data: XOR /** * Filter which MemoryEdges to update */ where?: MemoryEdgeWhereInput /** * Limit how many MemoryEdges to update. */ limit?: number } /** * MemoryEdge updateManyAndReturn */ export type MemoryEdgeUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the MemoryEdge */ select?: MemoryEdgeSelectUpdateManyAndReturn | null /** * Omit specific fields from the MemoryEdge */ omit?: MemoryEdgeOmit | null /** * The data used to update MemoryEdges. */ data: XOR /** * Filter which MemoryEdges to update */ where?: MemoryEdgeWhereInput /** * Limit how many MemoryEdges to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: MemoryEdgeIncludeUpdateManyAndReturn | null } /** * MemoryEdge upsert */ export type MemoryEdgeUpsertArgs = { /** * Select specific fields to fetch from the MemoryEdge */ select?: MemoryEdgeSelect | null /** * Omit specific fields from the MemoryEdge */ omit?: MemoryEdgeOmit | null /** * Choose, which related nodes to fetch as well */ include?: MemoryEdgeInclude | null /** * The filter to search for the MemoryEdge to update in case it exists. */ where: MemoryEdgeWhereUniqueInput /** * In case the MemoryEdge found by the `where` argument doesn't exist, create a new MemoryEdge with this data. */ create: XOR /** * In case the MemoryEdge was found with the provided `where` argument, update it with this data. */ update: XOR } /** * MemoryEdge delete */ export type MemoryEdgeDeleteArgs = { /** * Select specific fields to fetch from the MemoryEdge */ select?: MemoryEdgeSelect | null /** * Omit specific fields from the MemoryEdge */ omit?: MemoryEdgeOmit | null /** * Choose, which related nodes to fetch as well */ include?: MemoryEdgeInclude | null /** * Filter which MemoryEdge to delete. */ where: MemoryEdgeWhereUniqueInput } /** * MemoryEdge deleteMany */ export type MemoryEdgeDeleteManyArgs = { /** * Filter which MemoryEdges to delete */ where?: MemoryEdgeWhereInput /** * Limit how many MemoryEdges to delete. */ limit?: number } /** * MemoryEdge without action */ export type MemoryEdgeDefaultArgs = { /** * Select specific fields to fetch from the MemoryEdge */ select?: MemoryEdgeSelect | null /** * Omit specific fields from the MemoryEdge */ omit?: MemoryEdgeOmit | null /** * Choose, which related nodes to fetch as well */ include?: MemoryEdgeInclude | null } /** * Model Observation */ export type AggregateObservation = { _count: ObservationCountAggregateOutputType | null _avg: ObservationAvgAggregateOutputType | null _sum: ObservationSumAggregateOutputType | null _min: ObservationMinAggregateOutputType | null _max: ObservationMaxAggregateOutputType | null } export type ObservationAvgAggregateOutputType = { importance: number | null } export type ObservationSumAggregateOutputType = { importance: number | null } export type ObservationMinAggregateOutputType = { id: string | null projectId: string | null sessionId: string | null source: string | null category: string | null payloadJson: string | null importance: number | null createdAt: Date | null } export type ObservationMaxAggregateOutputType = { id: string | null projectId: string | null sessionId: string | null source: string | null category: string | null payloadJson: string | null importance: number | null createdAt: Date | null } export type ObservationCountAggregateOutputType = { id: number projectId: number sessionId: number source: number category: number payloadJson: number importance: number createdAt: number _all: number } export type ObservationAvgAggregateInputType = { importance?: true } export type ObservationSumAggregateInputType = { importance?: true } export type ObservationMinAggregateInputType = { id?: true projectId?: true sessionId?: true source?: true category?: true payloadJson?: true importance?: true createdAt?: true } export type ObservationMaxAggregateInputType = { id?: true projectId?: true sessionId?: true source?: true category?: true payloadJson?: true importance?: true createdAt?: true } export type ObservationCountAggregateInputType = { id?: true projectId?: true sessionId?: true source?: true category?: true payloadJson?: true importance?: true createdAt?: true _all?: true } export type ObservationAggregateArgs = { /** * Filter which Observation to aggregate. */ where?: ObservationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Observations to fetch. */ orderBy?: ObservationOrderByWithRelationInput | ObservationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: ObservationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Observations 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` Observations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Observations **/ _count?: true | ObservationCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: ObservationAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: ObservationSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ObservationMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ObservationMaxAggregateInputType } export type GetObservationAggregateType = { [P in keyof T & keyof AggregateObservation]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type ObservationGroupByArgs = { where?: ObservationWhereInput orderBy?: ObservationOrderByWithAggregationInput | ObservationOrderByWithAggregationInput[] by: ObservationScalarFieldEnum[] | ObservationScalarFieldEnum having?: ObservationScalarWhereWithAggregatesInput take?: number skip?: number _count?: ObservationCountAggregateInputType | true _avg?: ObservationAvgAggregateInputType _sum?: ObservationSumAggregateInputType _min?: ObservationMinAggregateInputType _max?: ObservationMaxAggregateInputType } export type ObservationGroupByOutputType = { id: string projectId: string sessionId: string | null source: string category: string | null payloadJson: string importance: number createdAt: Date _count: ObservationCountAggregateOutputType | null _avg: ObservationAvgAggregateOutputType | null _sum: ObservationSumAggregateOutputType | null _min: ObservationMinAggregateOutputType | null _max: ObservationMaxAggregateOutputType | null } type GetObservationGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof ObservationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type ObservationSelect = $Extensions.GetSelect<{ id?: boolean projectId?: boolean sessionId?: boolean source?: boolean category?: boolean payloadJson?: boolean importance?: boolean createdAt?: boolean }, ExtArgs["result"]["observation"]> export type ObservationSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean sessionId?: boolean source?: boolean category?: boolean payloadJson?: boolean importance?: boolean createdAt?: boolean }, ExtArgs["result"]["observation"]> export type ObservationSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean sessionId?: boolean source?: boolean category?: boolean payloadJson?: boolean importance?: boolean createdAt?: boolean }, ExtArgs["result"]["observation"]> export type ObservationSelectScalar = { id?: boolean projectId?: boolean sessionId?: boolean source?: boolean category?: boolean payloadJson?: boolean importance?: boolean createdAt?: boolean } export type ObservationOmit = $Extensions.GetOmit<"id" | "projectId" | "sessionId" | "source" | "category" | "payloadJson" | "importance" | "createdAt", ExtArgs["result"]["observation"]> export type $ObservationPayload = { name: "Observation" objects: {} scalars: $Extensions.GetPayloadResult<{ id: string projectId: string sessionId: string | null source: string category: string | null payloadJson: string importance: number createdAt: Date }, ExtArgs["result"]["observation"]> composites: {} } type ObservationGetPayload = $Result.GetResult type ObservationCountArgs = Omit & { select?: ObservationCountAggregateInputType | true } export interface ObservationDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Observation'], meta: { name: 'Observation' } } /** * Find zero or one Observation that matches the filter. * @param {ObservationFindUniqueArgs} args - Arguments to find a Observation * @example * // Get one Observation * const observation = await prisma.observation.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__ObservationClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Observation that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ObservationFindUniqueOrThrowArgs} args - Arguments to find a Observation * @example * // Get one Observation * const observation = await prisma.observation.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__ObservationClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Observation 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 {ObservationFindFirstArgs} args - Arguments to find a Observation * @example * // Get one Observation * const observation = await prisma.observation.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__ObservationClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Observation 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 {ObservationFindFirstOrThrowArgs} args - Arguments to find a Observation * @example * // Get one Observation * const observation = await prisma.observation.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__ObservationClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Observations 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 {ObservationFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Observations * const observations = await prisma.observation.findMany() * * // Get first 10 Observations * const observations = await prisma.observation.findMany({ take: 10 }) * * // Only select the `id` * const observationWithIdOnly = await prisma.observation.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Observation. * @param {ObservationCreateArgs} args - Arguments to create a Observation. * @example * // Create one Observation * const Observation = await prisma.observation.create({ * data: { * // ... data to create a Observation * } * }) * */ create(args: SelectSubset>): Prisma__ObservationClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Observations. * @param {ObservationCreateManyArgs} args - Arguments to create many Observations. * @example * // Create many Observations * const observation = await prisma.observation.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Observations and returns the data saved in the database. * @param {ObservationCreateManyAndReturnArgs} args - Arguments to create many Observations. * @example * // Create many Observations * const observation = await prisma.observation.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Observations and only return the `id` * const observationWithIdOnly = await prisma.observation.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", GlobalOmitOptions>> /** * Delete a Observation. * @param {ObservationDeleteArgs} args - Arguments to delete one Observation. * @example * // Delete one Observation * const Observation = await prisma.observation.delete({ * where: { * // ... filter to delete one Observation * } * }) * */ delete(args: SelectSubset>): Prisma__ObservationClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Observation. * @param {ObservationUpdateArgs} args - Arguments to update one Observation. * @example * // Update one Observation * const observation = await prisma.observation.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__ObservationClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Observations. * @param {ObservationDeleteManyArgs} args - Arguments to filter Observations to delete. * @example * // Delete a few Observations * const { count } = await prisma.observation.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Observations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ObservationUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Observations * const observation = await prisma.observation.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Observations and returns the data updated in the database. * @param {ObservationUpdateManyAndReturnArgs} args - Arguments to update many Observations. * @example * // Update many Observations * const observation = await prisma.observation.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Observations and only return the `id` * const observationWithIdOnly = await prisma.observation.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one Observation. * @param {ObservationUpsertArgs} args - Arguments to update or create a Observation. * @example * // Update or create a Observation * const observation = await prisma.observation.upsert({ * create: { * // ... data to create a Observation * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Observation we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__ObservationClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Observations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ObservationCountArgs} args - Arguments to filter Observations to count. * @example * // Count the number of Observations * const count = await prisma.observation.count({ * where: { * // ... the filter for the Observations 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 Observation. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ObservationAggregateArgs} 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 Observation. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ObservationGroupByArgs} 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 ObservationGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: ObservationGroupByArgs['orderBy'] } : { orderBy?: ObservationGroupByArgs['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 ? GetObservationGroupByPayload : Prisma.PrismaPromise /** * Fields of the Observation model */ readonly fields: ObservationFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Observation. * 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__ObservationClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $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 Observation model */ interface ObservationFieldRefs { readonly id: FieldRef<"Observation", 'String'> readonly projectId: FieldRef<"Observation", 'String'> readonly sessionId: FieldRef<"Observation", 'String'> readonly source: FieldRef<"Observation", 'String'> readonly category: FieldRef<"Observation", 'String'> readonly payloadJson: FieldRef<"Observation", 'String'> readonly importance: FieldRef<"Observation", 'Float'> readonly createdAt: FieldRef<"Observation", 'DateTime'> } // Custom InputTypes /** * Observation findUnique */ export type ObservationFindUniqueArgs = { /** * Select specific fields to fetch from the Observation */ select?: ObservationSelect | null /** * Omit specific fields from the Observation */ omit?: ObservationOmit | null /** * Filter, which Observation to fetch. */ where: ObservationWhereUniqueInput } /** * Observation findUniqueOrThrow */ export type ObservationFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Observation */ select?: ObservationSelect | null /** * Omit specific fields from the Observation */ omit?: ObservationOmit | null /** * Filter, which Observation to fetch. */ where: ObservationWhereUniqueInput } /** * Observation findFirst */ export type ObservationFindFirstArgs = { /** * Select specific fields to fetch from the Observation */ select?: ObservationSelect | null /** * Omit specific fields from the Observation */ omit?: ObservationOmit | null /** * Filter, which Observation to fetch. */ where?: ObservationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Observations to fetch. */ orderBy?: ObservationOrderByWithRelationInput | ObservationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Observations. */ cursor?: ObservationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Observations 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` Observations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Observations. */ distinct?: ObservationScalarFieldEnum | ObservationScalarFieldEnum[] } /** * Observation findFirstOrThrow */ export type ObservationFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Observation */ select?: ObservationSelect | null /** * Omit specific fields from the Observation */ omit?: ObservationOmit | null /** * Filter, which Observation to fetch. */ where?: ObservationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Observations to fetch. */ orderBy?: ObservationOrderByWithRelationInput | ObservationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Observations. */ cursor?: ObservationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Observations 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` Observations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Observations. */ distinct?: ObservationScalarFieldEnum | ObservationScalarFieldEnum[] } /** * Observation findMany */ export type ObservationFindManyArgs = { /** * Select specific fields to fetch from the Observation */ select?: ObservationSelect | null /** * Omit specific fields from the Observation */ omit?: ObservationOmit | null /** * Filter, which Observations to fetch. */ where?: ObservationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Observations to fetch. */ orderBy?: ObservationOrderByWithRelationInput | ObservationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Observations. */ cursor?: ObservationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Observations 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` Observations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Observations. */ distinct?: ObservationScalarFieldEnum | ObservationScalarFieldEnum[] } /** * Observation create */ export type ObservationCreateArgs = { /** * Select specific fields to fetch from the Observation */ select?: ObservationSelect | null /** * Omit specific fields from the Observation */ omit?: ObservationOmit | null /** * The data needed to create a Observation. */ data: XOR } /** * Observation createMany */ export type ObservationCreateManyArgs = { /** * The data used to create many Observations. */ data: ObservationCreateManyInput | ObservationCreateManyInput[] skipDuplicates?: boolean } /** * Observation createManyAndReturn */ export type ObservationCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Observation */ select?: ObservationSelectCreateManyAndReturn | null /** * Omit specific fields from the Observation */ omit?: ObservationOmit | null /** * The data used to create many Observations. */ data: ObservationCreateManyInput | ObservationCreateManyInput[] skipDuplicates?: boolean } /** * Observation update */ export type ObservationUpdateArgs = { /** * Select specific fields to fetch from the Observation */ select?: ObservationSelect | null /** * Omit specific fields from the Observation */ omit?: ObservationOmit | null /** * The data needed to update a Observation. */ data: XOR /** * Choose, which Observation to update. */ where: ObservationWhereUniqueInput } /** * Observation updateMany */ export type ObservationUpdateManyArgs = { /** * The data used to update Observations. */ data: XOR /** * Filter which Observations to update */ where?: ObservationWhereInput /** * Limit how many Observations to update. */ limit?: number } /** * Observation updateManyAndReturn */ export type ObservationUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Observation */ select?: ObservationSelectUpdateManyAndReturn | null /** * Omit specific fields from the Observation */ omit?: ObservationOmit | null /** * The data used to update Observations. */ data: XOR /** * Filter which Observations to update */ where?: ObservationWhereInput /** * Limit how many Observations to update. */ limit?: number } /** * Observation upsert */ export type ObservationUpsertArgs = { /** * Select specific fields to fetch from the Observation */ select?: ObservationSelect | null /** * Omit specific fields from the Observation */ omit?: ObservationOmit | null /** * The filter to search for the Observation to update in case it exists. */ where: ObservationWhereUniqueInput /** * In case the Observation found by the `where` argument doesn't exist, create a new Observation with this data. */ create: XOR /** * In case the Observation was found with the provided `where` argument, update it with this data. */ update: XOR } /** * Observation delete */ export type ObservationDeleteArgs = { /** * Select specific fields to fetch from the Observation */ select?: ObservationSelect | null /** * Omit specific fields from the Observation */ omit?: ObservationOmit | null /** * Filter which Observation to delete. */ where: ObservationWhereUniqueInput } /** * Observation deleteMany */ export type ObservationDeleteManyArgs = { /** * Filter which Observations to delete */ where?: ObservationWhereInput /** * Limit how many Observations to delete. */ limit?: number } /** * Observation without action */ export type ObservationDefaultArgs = { /** * Select specific fields to fetch from the Observation */ select?: ObservationSelect | null /** * Omit specific fields from the Observation */ omit?: ObservationOmit | null } /** * Model Handoff */ export type AggregateHandoff = { _count: HandoffCountAggregateOutputType | null _min: HandoffMinAggregateOutputType | null _max: HandoffMaxAggregateOutputType | null } export type HandoffMinAggregateOutputType = { id: string | null projectId: string | null sourceSessionId: string | null targetAgent: string | null summary: string | null openQuestionsJson: string | null nextStepsJson: string | null filesJson: string | null status: string | null createdAt: Date | null acceptedAt: Date | null } export type HandoffMaxAggregateOutputType = { id: string | null projectId: string | null sourceSessionId: string | null targetAgent: string | null summary: string | null openQuestionsJson: string | null nextStepsJson: string | null filesJson: string | null status: string | null createdAt: Date | null acceptedAt: Date | null } export type HandoffCountAggregateOutputType = { id: number projectId: number sourceSessionId: number targetAgent: number summary: number openQuestionsJson: number nextStepsJson: number filesJson: number status: number createdAt: number acceptedAt: number _all: number } export type HandoffMinAggregateInputType = { id?: true projectId?: true sourceSessionId?: true targetAgent?: true summary?: true openQuestionsJson?: true nextStepsJson?: true filesJson?: true status?: true createdAt?: true acceptedAt?: true } export type HandoffMaxAggregateInputType = { id?: true projectId?: true sourceSessionId?: true targetAgent?: true summary?: true openQuestionsJson?: true nextStepsJson?: true filesJson?: true status?: true createdAt?: true acceptedAt?: true } export type HandoffCountAggregateInputType = { id?: true projectId?: true sourceSessionId?: true targetAgent?: true summary?: true openQuestionsJson?: true nextStepsJson?: true filesJson?: true status?: true createdAt?: true acceptedAt?: true _all?: true } export type HandoffAggregateArgs = { /** * Filter which Handoff to aggregate. */ where?: HandoffWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Handoffs to fetch. */ orderBy?: HandoffOrderByWithRelationInput | HandoffOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: HandoffWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Handoffs 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` Handoffs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Handoffs **/ _count?: true | HandoffCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: HandoffMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: HandoffMaxAggregateInputType } export type GetHandoffAggregateType = { [P in keyof T & keyof AggregateHandoff]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type HandoffGroupByArgs = { where?: HandoffWhereInput orderBy?: HandoffOrderByWithAggregationInput | HandoffOrderByWithAggregationInput[] by: HandoffScalarFieldEnum[] | HandoffScalarFieldEnum having?: HandoffScalarWhereWithAggregatesInput take?: number skip?: number _count?: HandoffCountAggregateInputType | true _min?: HandoffMinAggregateInputType _max?: HandoffMaxAggregateInputType } export type HandoffGroupByOutputType = { id: string projectId: string sourceSessionId: string | null targetAgent: string | null summary: string openQuestionsJson: string nextStepsJson: string filesJson: string status: string createdAt: Date acceptedAt: Date | null _count: HandoffCountAggregateOutputType | null _min: HandoffMinAggregateOutputType | null _max: HandoffMaxAggregateOutputType | null } type GetHandoffGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof HandoffGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type HandoffSelect = $Extensions.GetSelect<{ id?: boolean projectId?: boolean sourceSessionId?: boolean targetAgent?: boolean summary?: boolean openQuestionsJson?: boolean nextStepsJson?: boolean filesJson?: boolean status?: boolean createdAt?: boolean acceptedAt?: boolean }, ExtArgs["result"]["handoff"]> export type HandoffSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean sourceSessionId?: boolean targetAgent?: boolean summary?: boolean openQuestionsJson?: boolean nextStepsJson?: boolean filesJson?: boolean status?: boolean createdAt?: boolean acceptedAt?: boolean }, ExtArgs["result"]["handoff"]> export type HandoffSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean sourceSessionId?: boolean targetAgent?: boolean summary?: boolean openQuestionsJson?: boolean nextStepsJson?: boolean filesJson?: boolean status?: boolean createdAt?: boolean acceptedAt?: boolean }, ExtArgs["result"]["handoff"]> export type HandoffSelectScalar = { id?: boolean projectId?: boolean sourceSessionId?: boolean targetAgent?: boolean summary?: boolean openQuestionsJson?: boolean nextStepsJson?: boolean filesJson?: boolean status?: boolean createdAt?: boolean acceptedAt?: boolean } export type HandoffOmit = $Extensions.GetOmit<"id" | "projectId" | "sourceSessionId" | "targetAgent" | "summary" | "openQuestionsJson" | "nextStepsJson" | "filesJson" | "status" | "createdAt" | "acceptedAt", ExtArgs["result"]["handoff"]> export type $HandoffPayload = { name: "Handoff" objects: {} scalars: $Extensions.GetPayloadResult<{ id: string projectId: string sourceSessionId: string | null targetAgent: string | null summary: string openQuestionsJson: string nextStepsJson: string filesJson: string status: string createdAt: Date acceptedAt: Date | null }, ExtArgs["result"]["handoff"]> composites: {} } type HandoffGetPayload = $Result.GetResult type HandoffCountArgs = Omit & { select?: HandoffCountAggregateInputType | true } export interface HandoffDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Handoff'], meta: { name: 'Handoff' } } /** * Find zero or one Handoff that matches the filter. * @param {HandoffFindUniqueArgs} args - Arguments to find a Handoff * @example * // Get one Handoff * const handoff = await prisma.handoff.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__HandoffClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Handoff that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {HandoffFindUniqueOrThrowArgs} args - Arguments to find a Handoff * @example * // Get one Handoff * const handoff = await prisma.handoff.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__HandoffClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Handoff 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 {HandoffFindFirstArgs} args - Arguments to find a Handoff * @example * // Get one Handoff * const handoff = await prisma.handoff.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__HandoffClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Handoff 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 {HandoffFindFirstOrThrowArgs} args - Arguments to find a Handoff * @example * // Get one Handoff * const handoff = await prisma.handoff.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__HandoffClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Handoffs 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 {HandoffFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Handoffs * const handoffs = await prisma.handoff.findMany() * * // Get first 10 Handoffs * const handoffs = await prisma.handoff.findMany({ take: 10 }) * * // Only select the `id` * const handoffWithIdOnly = await prisma.handoff.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Handoff. * @param {HandoffCreateArgs} args - Arguments to create a Handoff. * @example * // Create one Handoff * const Handoff = await prisma.handoff.create({ * data: { * // ... data to create a Handoff * } * }) * */ create(args: SelectSubset>): Prisma__HandoffClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Handoffs. * @param {HandoffCreateManyArgs} args - Arguments to create many Handoffs. * @example * // Create many Handoffs * const handoff = await prisma.handoff.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Handoffs and returns the data saved in the database. * @param {HandoffCreateManyAndReturnArgs} args - Arguments to create many Handoffs. * @example * // Create many Handoffs * const handoff = await prisma.handoff.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Handoffs and only return the `id` * const handoffWithIdOnly = await prisma.handoff.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", GlobalOmitOptions>> /** * Delete a Handoff. * @param {HandoffDeleteArgs} args - Arguments to delete one Handoff. * @example * // Delete one Handoff * const Handoff = await prisma.handoff.delete({ * where: { * // ... filter to delete one Handoff * } * }) * */ delete(args: SelectSubset>): Prisma__HandoffClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Handoff. * @param {HandoffUpdateArgs} args - Arguments to update one Handoff. * @example * // Update one Handoff * const handoff = await prisma.handoff.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__HandoffClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Handoffs. * @param {HandoffDeleteManyArgs} args - Arguments to filter Handoffs to delete. * @example * // Delete a few Handoffs * const { count } = await prisma.handoff.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Handoffs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HandoffUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Handoffs * const handoff = await prisma.handoff.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Handoffs and returns the data updated in the database. * @param {HandoffUpdateManyAndReturnArgs} args - Arguments to update many Handoffs. * @example * // Update many Handoffs * const handoff = await prisma.handoff.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Handoffs and only return the `id` * const handoffWithIdOnly = await prisma.handoff.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one Handoff. * @param {HandoffUpsertArgs} args - Arguments to update or create a Handoff. * @example * // Update or create a Handoff * const handoff = await prisma.handoff.upsert({ * create: { * // ... data to create a Handoff * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Handoff we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__HandoffClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Handoffs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HandoffCountArgs} args - Arguments to filter Handoffs to count. * @example * // Count the number of Handoffs * const count = await prisma.handoff.count({ * where: { * // ... the filter for the Handoffs 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 Handoff. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HandoffAggregateArgs} 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 Handoff. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HandoffGroupByArgs} 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 HandoffGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: HandoffGroupByArgs['orderBy'] } : { orderBy?: HandoffGroupByArgs['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 ? GetHandoffGroupByPayload : Prisma.PrismaPromise /** * Fields of the Handoff model */ readonly fields: HandoffFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Handoff. * 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__HandoffClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $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 Handoff model */ interface HandoffFieldRefs { readonly id: FieldRef<"Handoff", 'String'> readonly projectId: FieldRef<"Handoff", 'String'> readonly sourceSessionId: FieldRef<"Handoff", 'String'> readonly targetAgent: FieldRef<"Handoff", 'String'> readonly summary: FieldRef<"Handoff", 'String'> readonly openQuestionsJson: FieldRef<"Handoff", 'String'> readonly nextStepsJson: FieldRef<"Handoff", 'String'> readonly filesJson: FieldRef<"Handoff", 'String'> readonly status: FieldRef<"Handoff", 'String'> readonly createdAt: FieldRef<"Handoff", 'DateTime'> readonly acceptedAt: FieldRef<"Handoff", 'DateTime'> } // Custom InputTypes /** * Handoff findUnique */ export type HandoffFindUniqueArgs = { /** * Select specific fields to fetch from the Handoff */ select?: HandoffSelect | null /** * Omit specific fields from the Handoff */ omit?: HandoffOmit | null /** * Filter, which Handoff to fetch. */ where: HandoffWhereUniqueInput } /** * Handoff findUniqueOrThrow */ export type HandoffFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Handoff */ select?: HandoffSelect | null /** * Omit specific fields from the Handoff */ omit?: HandoffOmit | null /** * Filter, which Handoff to fetch. */ where: HandoffWhereUniqueInput } /** * Handoff findFirst */ export type HandoffFindFirstArgs = { /** * Select specific fields to fetch from the Handoff */ select?: HandoffSelect | null /** * Omit specific fields from the Handoff */ omit?: HandoffOmit | null /** * Filter, which Handoff to fetch. */ where?: HandoffWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Handoffs to fetch. */ orderBy?: HandoffOrderByWithRelationInput | HandoffOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Handoffs. */ cursor?: HandoffWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Handoffs 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` Handoffs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Handoffs. */ distinct?: HandoffScalarFieldEnum | HandoffScalarFieldEnum[] } /** * Handoff findFirstOrThrow */ export type HandoffFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Handoff */ select?: HandoffSelect | null /** * Omit specific fields from the Handoff */ omit?: HandoffOmit | null /** * Filter, which Handoff to fetch. */ where?: HandoffWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Handoffs to fetch. */ orderBy?: HandoffOrderByWithRelationInput | HandoffOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Handoffs. */ cursor?: HandoffWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Handoffs 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` Handoffs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Handoffs. */ distinct?: HandoffScalarFieldEnum | HandoffScalarFieldEnum[] } /** * Handoff findMany */ export type HandoffFindManyArgs = { /** * Select specific fields to fetch from the Handoff */ select?: HandoffSelect | null /** * Omit specific fields from the Handoff */ omit?: HandoffOmit | null /** * Filter, which Handoffs to fetch. */ where?: HandoffWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Handoffs to fetch. */ orderBy?: HandoffOrderByWithRelationInput | HandoffOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Handoffs. */ cursor?: HandoffWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Handoffs 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` Handoffs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Handoffs. */ distinct?: HandoffScalarFieldEnum | HandoffScalarFieldEnum[] } /** * Handoff create */ export type HandoffCreateArgs = { /** * Select specific fields to fetch from the Handoff */ select?: HandoffSelect | null /** * Omit specific fields from the Handoff */ omit?: HandoffOmit | null /** * The data needed to create a Handoff. */ data: XOR } /** * Handoff createMany */ export type HandoffCreateManyArgs = { /** * The data used to create many Handoffs. */ data: HandoffCreateManyInput | HandoffCreateManyInput[] skipDuplicates?: boolean } /** * Handoff createManyAndReturn */ export type HandoffCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Handoff */ select?: HandoffSelectCreateManyAndReturn | null /** * Omit specific fields from the Handoff */ omit?: HandoffOmit | null /** * The data used to create many Handoffs. */ data: HandoffCreateManyInput | HandoffCreateManyInput[] skipDuplicates?: boolean } /** * Handoff update */ export type HandoffUpdateArgs = { /** * Select specific fields to fetch from the Handoff */ select?: HandoffSelect | null /** * Omit specific fields from the Handoff */ omit?: HandoffOmit | null /** * The data needed to update a Handoff. */ data: XOR /** * Choose, which Handoff to update. */ where: HandoffWhereUniqueInput } /** * Handoff updateMany */ export type HandoffUpdateManyArgs = { /** * The data used to update Handoffs. */ data: XOR /** * Filter which Handoffs to update */ where?: HandoffWhereInput /** * Limit how many Handoffs to update. */ limit?: number } /** * Handoff updateManyAndReturn */ export type HandoffUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Handoff */ select?: HandoffSelectUpdateManyAndReturn | null /** * Omit specific fields from the Handoff */ omit?: HandoffOmit | null /** * The data used to update Handoffs. */ data: XOR /** * Filter which Handoffs to update */ where?: HandoffWhereInput /** * Limit how many Handoffs to update. */ limit?: number } /** * Handoff upsert */ export type HandoffUpsertArgs = { /** * Select specific fields to fetch from the Handoff */ select?: HandoffSelect | null /** * Omit specific fields from the Handoff */ omit?: HandoffOmit | null /** * The filter to search for the Handoff to update in case it exists. */ where: HandoffWhereUniqueInput /** * In case the Handoff found by the `where` argument doesn't exist, create a new Handoff with this data. */ create: XOR /** * In case the Handoff was found with the provided `where` argument, update it with this data. */ update: XOR } /** * Handoff delete */ export type HandoffDeleteArgs = { /** * Select specific fields to fetch from the Handoff */ select?: HandoffSelect | null /** * Omit specific fields from the Handoff */ omit?: HandoffOmit | null /** * Filter which Handoff to delete. */ where: HandoffWhereUniqueInput } /** * Handoff deleteMany */ export type HandoffDeleteManyArgs = { /** * Filter which Handoffs to delete */ where?: HandoffWhereInput /** * Limit how many Handoffs to delete. */ limit?: number } /** * Handoff without action */ export type HandoffDefaultArgs = { /** * Select specific fields to fetch from the Handoff */ select?: HandoffSelect | null /** * Omit specific fields from the Handoff */ omit?: HandoffOmit | null } /** * Model Proposal */ export type AggregateProposal = { _count: ProposalCountAggregateOutputType | null _min: ProposalMinAggregateOutputType | null _max: ProposalMaxAggregateOutputType | null } export type ProposalMinAggregateOutputType = { id: string | null projectId: string | null kind: string | null targetMemoryId: string | null payloadJson: string | null rationale: string | null status: string | null createdAt: Date | null decidedAt: Date | null } export type ProposalMaxAggregateOutputType = { id: string | null projectId: string | null kind: string | null targetMemoryId: string | null payloadJson: string | null rationale: string | null status: string | null createdAt: Date | null decidedAt: Date | null } export type ProposalCountAggregateOutputType = { id: number projectId: number kind: number targetMemoryId: number payloadJson: number rationale: number status: number createdAt: number decidedAt: number _all: number } export type ProposalMinAggregateInputType = { id?: true projectId?: true kind?: true targetMemoryId?: true payloadJson?: true rationale?: true status?: true createdAt?: true decidedAt?: true } export type ProposalMaxAggregateInputType = { id?: true projectId?: true kind?: true targetMemoryId?: true payloadJson?: true rationale?: true status?: true createdAt?: true decidedAt?: true } export type ProposalCountAggregateInputType = { id?: true projectId?: true kind?: true targetMemoryId?: true payloadJson?: true rationale?: true status?: true createdAt?: true decidedAt?: true _all?: true } export type ProposalAggregateArgs = { /** * Filter which Proposal to aggregate. */ where?: ProposalWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Proposals to fetch. */ orderBy?: ProposalOrderByWithRelationInput | ProposalOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: ProposalWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Proposals 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` Proposals. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Proposals **/ _count?: true | ProposalCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ProposalMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ProposalMaxAggregateInputType } export type GetProposalAggregateType = { [P in keyof T & keyof AggregateProposal]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type ProposalGroupByArgs = { where?: ProposalWhereInput orderBy?: ProposalOrderByWithAggregationInput | ProposalOrderByWithAggregationInput[] by: ProposalScalarFieldEnum[] | ProposalScalarFieldEnum having?: ProposalScalarWhereWithAggregatesInput take?: number skip?: number _count?: ProposalCountAggregateInputType | true _min?: ProposalMinAggregateInputType _max?: ProposalMaxAggregateInputType } export type ProposalGroupByOutputType = { id: string projectId: string kind: string targetMemoryId: string | null payloadJson: string rationale: string status: string createdAt: Date decidedAt: Date | null _count: ProposalCountAggregateOutputType | null _min: ProposalMinAggregateOutputType | null _max: ProposalMaxAggregateOutputType | null } type GetProposalGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof ProposalGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type ProposalSelect = $Extensions.GetSelect<{ id?: boolean projectId?: boolean kind?: boolean targetMemoryId?: boolean payloadJson?: boolean rationale?: boolean status?: boolean createdAt?: boolean decidedAt?: boolean }, ExtArgs["result"]["proposal"]> export type ProposalSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean kind?: boolean targetMemoryId?: boolean payloadJson?: boolean rationale?: boolean status?: boolean createdAt?: boolean decidedAt?: boolean }, ExtArgs["result"]["proposal"]> export type ProposalSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean kind?: boolean targetMemoryId?: boolean payloadJson?: boolean rationale?: boolean status?: boolean createdAt?: boolean decidedAt?: boolean }, ExtArgs["result"]["proposal"]> export type ProposalSelectScalar = { id?: boolean projectId?: boolean kind?: boolean targetMemoryId?: boolean payloadJson?: boolean rationale?: boolean status?: boolean createdAt?: boolean decidedAt?: boolean } export type ProposalOmit = $Extensions.GetOmit<"id" | "projectId" | "kind" | "targetMemoryId" | "payloadJson" | "rationale" | "status" | "createdAt" | "decidedAt", ExtArgs["result"]["proposal"]> export type $ProposalPayload = { name: "Proposal" objects: {} scalars: $Extensions.GetPayloadResult<{ id: string projectId: string kind: string targetMemoryId: string | null payloadJson: string rationale: string status: string createdAt: Date decidedAt: Date | null }, ExtArgs["result"]["proposal"]> composites: {} } type ProposalGetPayload = $Result.GetResult type ProposalCountArgs = Omit & { select?: ProposalCountAggregateInputType | true } export interface ProposalDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Proposal'], meta: { name: 'Proposal' } } /** * Find zero or one Proposal that matches the filter. * @param {ProposalFindUniqueArgs} args - Arguments to find a Proposal * @example * // Get one Proposal * const proposal = await prisma.proposal.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__ProposalClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Proposal that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ProposalFindUniqueOrThrowArgs} args - Arguments to find a Proposal * @example * // Get one Proposal * const proposal = await prisma.proposal.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__ProposalClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Proposal 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 {ProposalFindFirstArgs} args - Arguments to find a Proposal * @example * // Get one Proposal * const proposal = await prisma.proposal.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__ProposalClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Proposal 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 {ProposalFindFirstOrThrowArgs} args - Arguments to find a Proposal * @example * // Get one Proposal * const proposal = await prisma.proposal.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__ProposalClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Proposals 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 {ProposalFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Proposals * const proposals = await prisma.proposal.findMany() * * // Get first 10 Proposals * const proposals = await prisma.proposal.findMany({ take: 10 }) * * // Only select the `id` * const proposalWithIdOnly = await prisma.proposal.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Proposal. * @param {ProposalCreateArgs} args - Arguments to create a Proposal. * @example * // Create one Proposal * const Proposal = await prisma.proposal.create({ * data: { * // ... data to create a Proposal * } * }) * */ create(args: SelectSubset>): Prisma__ProposalClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Proposals. * @param {ProposalCreateManyArgs} args - Arguments to create many Proposals. * @example * // Create many Proposals * const proposal = await prisma.proposal.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Proposals and returns the data saved in the database. * @param {ProposalCreateManyAndReturnArgs} args - Arguments to create many Proposals. * @example * // Create many Proposals * const proposal = await prisma.proposal.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Proposals and only return the `id` * const proposalWithIdOnly = await prisma.proposal.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", GlobalOmitOptions>> /** * Delete a Proposal. * @param {ProposalDeleteArgs} args - Arguments to delete one Proposal. * @example * // Delete one Proposal * const Proposal = await prisma.proposal.delete({ * where: { * // ... filter to delete one Proposal * } * }) * */ delete(args: SelectSubset>): Prisma__ProposalClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Proposal. * @param {ProposalUpdateArgs} args - Arguments to update one Proposal. * @example * // Update one Proposal * const proposal = await prisma.proposal.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__ProposalClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Proposals. * @param {ProposalDeleteManyArgs} args - Arguments to filter Proposals to delete. * @example * // Delete a few Proposals * const { count } = await prisma.proposal.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Proposals. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProposalUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Proposals * const proposal = await prisma.proposal.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Proposals and returns the data updated in the database. * @param {ProposalUpdateManyAndReturnArgs} args - Arguments to update many Proposals. * @example * // Update many Proposals * const proposal = await prisma.proposal.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Proposals and only return the `id` * const proposalWithIdOnly = await prisma.proposal.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one Proposal. * @param {ProposalUpsertArgs} args - Arguments to update or create a Proposal. * @example * // Update or create a Proposal * const proposal = await prisma.proposal.upsert({ * create: { * // ... data to create a Proposal * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Proposal we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__ProposalClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Proposals. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProposalCountArgs} args - Arguments to filter Proposals to count. * @example * // Count the number of Proposals * const count = await prisma.proposal.count({ * where: { * // ... the filter for the Proposals 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 Proposal. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProposalAggregateArgs} 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 Proposal. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProposalGroupByArgs} 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 ProposalGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: ProposalGroupByArgs['orderBy'] } : { orderBy?: ProposalGroupByArgs['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 ? GetProposalGroupByPayload : Prisma.PrismaPromise /** * Fields of the Proposal model */ readonly fields: ProposalFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Proposal. * 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__ProposalClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $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 Proposal model */ interface ProposalFieldRefs { readonly id: FieldRef<"Proposal", 'String'> readonly projectId: FieldRef<"Proposal", 'String'> readonly kind: FieldRef<"Proposal", 'String'> readonly targetMemoryId: FieldRef<"Proposal", 'String'> readonly payloadJson: FieldRef<"Proposal", 'String'> readonly rationale: FieldRef<"Proposal", 'String'> readonly status: FieldRef<"Proposal", 'String'> readonly createdAt: FieldRef<"Proposal", 'DateTime'> readonly decidedAt: FieldRef<"Proposal", 'DateTime'> } // Custom InputTypes /** * Proposal findUnique */ export type ProposalFindUniqueArgs = { /** * Select specific fields to fetch from the Proposal */ select?: ProposalSelect | null /** * Omit specific fields from the Proposal */ omit?: ProposalOmit | null /** * Filter, which Proposal to fetch. */ where: ProposalWhereUniqueInput } /** * Proposal findUniqueOrThrow */ export type ProposalFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Proposal */ select?: ProposalSelect | null /** * Omit specific fields from the Proposal */ omit?: ProposalOmit | null /** * Filter, which Proposal to fetch. */ where: ProposalWhereUniqueInput } /** * Proposal findFirst */ export type ProposalFindFirstArgs = { /** * Select specific fields to fetch from the Proposal */ select?: ProposalSelect | null /** * Omit specific fields from the Proposal */ omit?: ProposalOmit | null /** * Filter, which Proposal to fetch. */ where?: ProposalWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Proposals to fetch. */ orderBy?: ProposalOrderByWithRelationInput | ProposalOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Proposals. */ cursor?: ProposalWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Proposals 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` Proposals. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Proposals. */ distinct?: ProposalScalarFieldEnum | ProposalScalarFieldEnum[] } /** * Proposal findFirstOrThrow */ export type ProposalFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Proposal */ select?: ProposalSelect | null /** * Omit specific fields from the Proposal */ omit?: ProposalOmit | null /** * Filter, which Proposal to fetch. */ where?: ProposalWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Proposals to fetch. */ orderBy?: ProposalOrderByWithRelationInput | ProposalOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Proposals. */ cursor?: ProposalWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Proposals 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` Proposals. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Proposals. */ distinct?: ProposalScalarFieldEnum | ProposalScalarFieldEnum[] } /** * Proposal findMany */ export type ProposalFindManyArgs = { /** * Select specific fields to fetch from the Proposal */ select?: ProposalSelect | null /** * Omit specific fields from the Proposal */ omit?: ProposalOmit | null /** * Filter, which Proposals to fetch. */ where?: ProposalWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Proposals to fetch. */ orderBy?: ProposalOrderByWithRelationInput | ProposalOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Proposals. */ cursor?: ProposalWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Proposals 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` Proposals. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Proposals. */ distinct?: ProposalScalarFieldEnum | ProposalScalarFieldEnum[] } /** * Proposal create */ export type ProposalCreateArgs = { /** * Select specific fields to fetch from the Proposal */ select?: ProposalSelect | null /** * Omit specific fields from the Proposal */ omit?: ProposalOmit | null /** * The data needed to create a Proposal. */ data: XOR } /** * Proposal createMany */ export type ProposalCreateManyArgs = { /** * The data used to create many Proposals. */ data: ProposalCreateManyInput | ProposalCreateManyInput[] skipDuplicates?: boolean } /** * Proposal createManyAndReturn */ export type ProposalCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Proposal */ select?: ProposalSelectCreateManyAndReturn | null /** * Omit specific fields from the Proposal */ omit?: ProposalOmit | null /** * The data used to create many Proposals. */ data: ProposalCreateManyInput | ProposalCreateManyInput[] skipDuplicates?: boolean } /** * Proposal update */ export type ProposalUpdateArgs = { /** * Select specific fields to fetch from the Proposal */ select?: ProposalSelect | null /** * Omit specific fields from the Proposal */ omit?: ProposalOmit | null /** * The data needed to update a Proposal. */ data: XOR /** * Choose, which Proposal to update. */ where: ProposalWhereUniqueInput } /** * Proposal updateMany */ export type ProposalUpdateManyArgs = { /** * The data used to update Proposals. */ data: XOR /** * Filter which Proposals to update */ where?: ProposalWhereInput /** * Limit how many Proposals to update. */ limit?: number } /** * Proposal updateManyAndReturn */ export type ProposalUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Proposal */ select?: ProposalSelectUpdateManyAndReturn | null /** * Omit specific fields from the Proposal */ omit?: ProposalOmit | null /** * The data used to update Proposals. */ data: XOR /** * Filter which Proposals to update */ where?: ProposalWhereInput /** * Limit how many Proposals to update. */ limit?: number } /** * Proposal upsert */ export type ProposalUpsertArgs = { /** * Select specific fields to fetch from the Proposal */ select?: ProposalSelect | null /** * Omit specific fields from the Proposal */ omit?: ProposalOmit | null /** * The filter to search for the Proposal to update in case it exists. */ where: ProposalWhereUniqueInput /** * In case the Proposal found by the `where` argument doesn't exist, create a new Proposal with this data. */ create: XOR /** * In case the Proposal was found with the provided `where` argument, update it with this data. */ update: XOR } /** * Proposal delete */ export type ProposalDeleteArgs = { /** * Select specific fields to fetch from the Proposal */ select?: ProposalSelect | null /** * Omit specific fields from the Proposal */ omit?: ProposalOmit | null /** * Filter which Proposal to delete. */ where: ProposalWhereUniqueInput } /** * Proposal deleteMany */ export type ProposalDeleteManyArgs = { /** * Filter which Proposals to delete */ where?: ProposalWhereInput /** * Limit how many Proposals to delete. */ limit?: number } /** * Proposal without action */ export type ProposalDefaultArgs = { /** * Select specific fields to fetch from the Proposal */ select?: ProposalSelect | null /** * Omit specific fields from the Proposal */ omit?: ProposalOmit | null } /** * Model EmbeddingCache */ export type AggregateEmbeddingCache = { _count: EmbeddingCacheCountAggregateOutputType | null _avg: EmbeddingCacheAvgAggregateOutputType | null _sum: EmbeddingCacheSumAggregateOutputType | null _min: EmbeddingCacheMinAggregateOutputType | null _max: EmbeddingCacheMaxAggregateOutputType | null } export type EmbeddingCacheAvgAggregateOutputType = { hitCount: number | null } export type EmbeddingCacheSumAggregateOutputType = { hitCount: number | null } export type EmbeddingCacheMinAggregateOutputType = { textHash: string | null embedding: Bytes | null model: string | null createdAt: Date | null accessedAt: Date | null hitCount: number | null } export type EmbeddingCacheMaxAggregateOutputType = { textHash: string | null embedding: Bytes | null model: string | null createdAt: Date | null accessedAt: Date | null hitCount: number | null } export type EmbeddingCacheCountAggregateOutputType = { textHash: number embedding: number model: number createdAt: number accessedAt: number hitCount: number _all: number } export type EmbeddingCacheAvgAggregateInputType = { hitCount?: true } export type EmbeddingCacheSumAggregateInputType = { hitCount?: true } export type EmbeddingCacheMinAggregateInputType = { textHash?: true embedding?: true model?: true createdAt?: true accessedAt?: true hitCount?: true } export type EmbeddingCacheMaxAggregateInputType = { textHash?: true embedding?: true model?: true createdAt?: true accessedAt?: true hitCount?: true } export type EmbeddingCacheCountAggregateInputType = { textHash?: true embedding?: true model?: true createdAt?: true accessedAt?: true hitCount?: true _all?: true } export type EmbeddingCacheAggregateArgs = { /** * Filter which EmbeddingCache to aggregate. */ where?: EmbeddingCacheWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of EmbeddingCaches to fetch. */ orderBy?: EmbeddingCacheOrderByWithRelationInput | EmbeddingCacheOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: EmbeddingCacheWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` EmbeddingCaches 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` EmbeddingCaches. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned EmbeddingCaches **/ _count?: true | EmbeddingCacheCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: EmbeddingCacheAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: EmbeddingCacheSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: EmbeddingCacheMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: EmbeddingCacheMaxAggregateInputType } export type GetEmbeddingCacheAggregateType = { [P in keyof T & keyof AggregateEmbeddingCache]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type EmbeddingCacheGroupByArgs = { where?: EmbeddingCacheWhereInput orderBy?: EmbeddingCacheOrderByWithAggregationInput | EmbeddingCacheOrderByWithAggregationInput[] by: EmbeddingCacheScalarFieldEnum[] | EmbeddingCacheScalarFieldEnum having?: EmbeddingCacheScalarWhereWithAggregatesInput take?: number skip?: number _count?: EmbeddingCacheCountAggregateInputType | true _avg?: EmbeddingCacheAvgAggregateInputType _sum?: EmbeddingCacheSumAggregateInputType _min?: EmbeddingCacheMinAggregateInputType _max?: EmbeddingCacheMaxAggregateInputType } export type EmbeddingCacheGroupByOutputType = { textHash: string embedding: Bytes model: string createdAt: Date accessedAt: Date hitCount: number _count: EmbeddingCacheCountAggregateOutputType | null _avg: EmbeddingCacheAvgAggregateOutputType | null _sum: EmbeddingCacheSumAggregateOutputType | null _min: EmbeddingCacheMinAggregateOutputType | null _max: EmbeddingCacheMaxAggregateOutputType | null } type GetEmbeddingCacheGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof EmbeddingCacheGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type EmbeddingCacheSelect = $Extensions.GetSelect<{ textHash?: boolean embedding?: boolean model?: boolean createdAt?: boolean accessedAt?: boolean hitCount?: boolean }, ExtArgs["result"]["embeddingCache"]> export type EmbeddingCacheSelectCreateManyAndReturn = $Extensions.GetSelect<{ textHash?: boolean embedding?: boolean model?: boolean createdAt?: boolean accessedAt?: boolean hitCount?: boolean }, ExtArgs["result"]["embeddingCache"]> export type EmbeddingCacheSelectUpdateManyAndReturn = $Extensions.GetSelect<{ textHash?: boolean embedding?: boolean model?: boolean createdAt?: boolean accessedAt?: boolean hitCount?: boolean }, ExtArgs["result"]["embeddingCache"]> export type EmbeddingCacheSelectScalar = { textHash?: boolean embedding?: boolean model?: boolean createdAt?: boolean accessedAt?: boolean hitCount?: boolean } export type EmbeddingCacheOmit = $Extensions.GetOmit<"textHash" | "embedding" | "model" | "createdAt" | "accessedAt" | "hitCount", ExtArgs["result"]["embeddingCache"]> export type $EmbeddingCachePayload = { name: "EmbeddingCache" objects: {} scalars: $Extensions.GetPayloadResult<{ textHash: string embedding: Prisma.Bytes model: string createdAt: Date accessedAt: Date hitCount: number }, ExtArgs["result"]["embeddingCache"]> composites: {} } type EmbeddingCacheGetPayload = $Result.GetResult type EmbeddingCacheCountArgs = Omit & { select?: EmbeddingCacheCountAggregateInputType | true } export interface EmbeddingCacheDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['EmbeddingCache'], meta: { name: 'EmbeddingCache' } } /** * Find zero or one EmbeddingCache that matches the filter. * @param {EmbeddingCacheFindUniqueArgs} args - Arguments to find a EmbeddingCache * @example * // Get one EmbeddingCache * const embeddingCache = await prisma.embeddingCache.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__EmbeddingCacheClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one EmbeddingCache that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {EmbeddingCacheFindUniqueOrThrowArgs} args - Arguments to find a EmbeddingCache * @example * // Get one EmbeddingCache * const embeddingCache = await prisma.embeddingCache.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__EmbeddingCacheClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first EmbeddingCache 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 {EmbeddingCacheFindFirstArgs} args - Arguments to find a EmbeddingCache * @example * // Get one EmbeddingCache * const embeddingCache = await prisma.embeddingCache.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__EmbeddingCacheClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first EmbeddingCache 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 {EmbeddingCacheFindFirstOrThrowArgs} args - Arguments to find a EmbeddingCache * @example * // Get one EmbeddingCache * const embeddingCache = await prisma.embeddingCache.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__EmbeddingCacheClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more EmbeddingCaches 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 {EmbeddingCacheFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all EmbeddingCaches * const embeddingCaches = await prisma.embeddingCache.findMany() * * // Get first 10 EmbeddingCaches * const embeddingCaches = await prisma.embeddingCache.findMany({ take: 10 }) * * // Only select the `textHash` * const embeddingCacheWithTextHashOnly = await prisma.embeddingCache.findMany({ select: { textHash: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a EmbeddingCache. * @param {EmbeddingCacheCreateArgs} args - Arguments to create a EmbeddingCache. * @example * // Create one EmbeddingCache * const EmbeddingCache = await prisma.embeddingCache.create({ * data: { * // ... data to create a EmbeddingCache * } * }) * */ create(args: SelectSubset>): Prisma__EmbeddingCacheClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many EmbeddingCaches. * @param {EmbeddingCacheCreateManyArgs} args - Arguments to create many EmbeddingCaches. * @example * // Create many EmbeddingCaches * const embeddingCache = await prisma.embeddingCache.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many EmbeddingCaches and returns the data saved in the database. * @param {EmbeddingCacheCreateManyAndReturnArgs} args - Arguments to create many EmbeddingCaches. * @example * // Create many EmbeddingCaches * const embeddingCache = await prisma.embeddingCache.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many EmbeddingCaches and only return the `textHash` * const embeddingCacheWithTextHashOnly = await prisma.embeddingCache.createManyAndReturn({ * select: { textHash: 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", GlobalOmitOptions>> /** * Delete a EmbeddingCache. * @param {EmbeddingCacheDeleteArgs} args - Arguments to delete one EmbeddingCache. * @example * // Delete one EmbeddingCache * const EmbeddingCache = await prisma.embeddingCache.delete({ * where: { * // ... filter to delete one EmbeddingCache * } * }) * */ delete(args: SelectSubset>): Prisma__EmbeddingCacheClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one EmbeddingCache. * @param {EmbeddingCacheUpdateArgs} args - Arguments to update one EmbeddingCache. * @example * // Update one EmbeddingCache * const embeddingCache = await prisma.embeddingCache.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__EmbeddingCacheClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more EmbeddingCaches. * @param {EmbeddingCacheDeleteManyArgs} args - Arguments to filter EmbeddingCaches to delete. * @example * // Delete a few EmbeddingCaches * const { count } = await prisma.embeddingCache.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more EmbeddingCaches. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EmbeddingCacheUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many EmbeddingCaches * const embeddingCache = await prisma.embeddingCache.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more EmbeddingCaches and returns the data updated in the database. * @param {EmbeddingCacheUpdateManyAndReturnArgs} args - Arguments to update many EmbeddingCaches. * @example * // Update many EmbeddingCaches * const embeddingCache = await prisma.embeddingCache.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more EmbeddingCaches and only return the `textHash` * const embeddingCacheWithTextHashOnly = await prisma.embeddingCache.updateManyAndReturn({ * select: { textHash: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one EmbeddingCache. * @param {EmbeddingCacheUpsertArgs} args - Arguments to update or create a EmbeddingCache. * @example * // Update or create a EmbeddingCache * const embeddingCache = await prisma.embeddingCache.upsert({ * create: { * // ... data to create a EmbeddingCache * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the EmbeddingCache we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__EmbeddingCacheClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of EmbeddingCaches. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EmbeddingCacheCountArgs} args - Arguments to filter EmbeddingCaches to count. * @example * // Count the number of EmbeddingCaches * const count = await prisma.embeddingCache.count({ * where: { * // ... the filter for the EmbeddingCaches 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 EmbeddingCache. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EmbeddingCacheAggregateArgs} 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 EmbeddingCache. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EmbeddingCacheGroupByArgs} 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 EmbeddingCacheGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: EmbeddingCacheGroupByArgs['orderBy'] } : { orderBy?: EmbeddingCacheGroupByArgs['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 ? GetEmbeddingCacheGroupByPayload : Prisma.PrismaPromise /** * Fields of the EmbeddingCache model */ readonly fields: EmbeddingCacheFieldRefs; } /** * The delegate class that acts as a "Promise-like" for EmbeddingCache. * 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__EmbeddingCacheClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $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 EmbeddingCache model */ interface EmbeddingCacheFieldRefs { readonly textHash: FieldRef<"EmbeddingCache", 'String'> readonly embedding: FieldRef<"EmbeddingCache", 'Bytes'> readonly model: FieldRef<"EmbeddingCache", 'String'> readonly createdAt: FieldRef<"EmbeddingCache", 'DateTime'> readonly accessedAt: FieldRef<"EmbeddingCache", 'DateTime'> readonly hitCount: FieldRef<"EmbeddingCache", 'Int'> } // Custom InputTypes /** * EmbeddingCache findUnique */ export type EmbeddingCacheFindUniqueArgs = { /** * Select specific fields to fetch from the EmbeddingCache */ select?: EmbeddingCacheSelect | null /** * Omit specific fields from the EmbeddingCache */ omit?: EmbeddingCacheOmit | null /** * Filter, which EmbeddingCache to fetch. */ where: EmbeddingCacheWhereUniqueInput } /** * EmbeddingCache findUniqueOrThrow */ export type EmbeddingCacheFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the EmbeddingCache */ select?: EmbeddingCacheSelect | null /** * Omit specific fields from the EmbeddingCache */ omit?: EmbeddingCacheOmit | null /** * Filter, which EmbeddingCache to fetch. */ where: EmbeddingCacheWhereUniqueInput } /** * EmbeddingCache findFirst */ export type EmbeddingCacheFindFirstArgs = { /** * Select specific fields to fetch from the EmbeddingCache */ select?: EmbeddingCacheSelect | null /** * Omit specific fields from the EmbeddingCache */ omit?: EmbeddingCacheOmit | null /** * Filter, which EmbeddingCache to fetch. */ where?: EmbeddingCacheWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of EmbeddingCaches to fetch. */ orderBy?: EmbeddingCacheOrderByWithRelationInput | EmbeddingCacheOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for EmbeddingCaches. */ cursor?: EmbeddingCacheWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` EmbeddingCaches 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` EmbeddingCaches. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of EmbeddingCaches. */ distinct?: EmbeddingCacheScalarFieldEnum | EmbeddingCacheScalarFieldEnum[] } /** * EmbeddingCache findFirstOrThrow */ export type EmbeddingCacheFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the EmbeddingCache */ select?: EmbeddingCacheSelect | null /** * Omit specific fields from the EmbeddingCache */ omit?: EmbeddingCacheOmit | null /** * Filter, which EmbeddingCache to fetch. */ where?: EmbeddingCacheWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of EmbeddingCaches to fetch. */ orderBy?: EmbeddingCacheOrderByWithRelationInput | EmbeddingCacheOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for EmbeddingCaches. */ cursor?: EmbeddingCacheWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` EmbeddingCaches 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` EmbeddingCaches. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of EmbeddingCaches. */ distinct?: EmbeddingCacheScalarFieldEnum | EmbeddingCacheScalarFieldEnum[] } /** * EmbeddingCache findMany */ export type EmbeddingCacheFindManyArgs = { /** * Select specific fields to fetch from the EmbeddingCache */ select?: EmbeddingCacheSelect | null /** * Omit specific fields from the EmbeddingCache */ omit?: EmbeddingCacheOmit | null /** * Filter, which EmbeddingCaches to fetch. */ where?: EmbeddingCacheWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of EmbeddingCaches to fetch. */ orderBy?: EmbeddingCacheOrderByWithRelationInput | EmbeddingCacheOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing EmbeddingCaches. */ cursor?: EmbeddingCacheWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` EmbeddingCaches 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` EmbeddingCaches. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of EmbeddingCaches. */ distinct?: EmbeddingCacheScalarFieldEnum | EmbeddingCacheScalarFieldEnum[] } /** * EmbeddingCache create */ export type EmbeddingCacheCreateArgs = { /** * Select specific fields to fetch from the EmbeddingCache */ select?: EmbeddingCacheSelect | null /** * Omit specific fields from the EmbeddingCache */ omit?: EmbeddingCacheOmit | null /** * The data needed to create a EmbeddingCache. */ data: XOR } /** * EmbeddingCache createMany */ export type EmbeddingCacheCreateManyArgs = { /** * The data used to create many EmbeddingCaches. */ data: EmbeddingCacheCreateManyInput | EmbeddingCacheCreateManyInput[] skipDuplicates?: boolean } /** * EmbeddingCache createManyAndReturn */ export type EmbeddingCacheCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the EmbeddingCache */ select?: EmbeddingCacheSelectCreateManyAndReturn | null /** * Omit specific fields from the EmbeddingCache */ omit?: EmbeddingCacheOmit | null /** * The data used to create many EmbeddingCaches. */ data: EmbeddingCacheCreateManyInput | EmbeddingCacheCreateManyInput[] skipDuplicates?: boolean } /** * EmbeddingCache update */ export type EmbeddingCacheUpdateArgs = { /** * Select specific fields to fetch from the EmbeddingCache */ select?: EmbeddingCacheSelect | null /** * Omit specific fields from the EmbeddingCache */ omit?: EmbeddingCacheOmit | null /** * The data needed to update a EmbeddingCache. */ data: XOR /** * Choose, which EmbeddingCache to update. */ where: EmbeddingCacheWhereUniqueInput } /** * EmbeddingCache updateMany */ export type EmbeddingCacheUpdateManyArgs = { /** * The data used to update EmbeddingCaches. */ data: XOR /** * Filter which EmbeddingCaches to update */ where?: EmbeddingCacheWhereInput /** * Limit how many EmbeddingCaches to update. */ limit?: number } /** * EmbeddingCache updateManyAndReturn */ export type EmbeddingCacheUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the EmbeddingCache */ select?: EmbeddingCacheSelectUpdateManyAndReturn | null /** * Omit specific fields from the EmbeddingCache */ omit?: EmbeddingCacheOmit | null /** * The data used to update EmbeddingCaches. */ data: XOR /** * Filter which EmbeddingCaches to update */ where?: EmbeddingCacheWhereInput /** * Limit how many EmbeddingCaches to update. */ limit?: number } /** * EmbeddingCache upsert */ export type EmbeddingCacheUpsertArgs = { /** * Select specific fields to fetch from the EmbeddingCache */ select?: EmbeddingCacheSelect | null /** * Omit specific fields from the EmbeddingCache */ omit?: EmbeddingCacheOmit | null /** * The filter to search for the EmbeddingCache to update in case it exists. */ where: EmbeddingCacheWhereUniqueInput /** * In case the EmbeddingCache found by the `where` argument doesn't exist, create a new EmbeddingCache with this data. */ create: XOR /** * In case the EmbeddingCache was found with the provided `where` argument, update it with this data. */ update: XOR } /** * EmbeddingCache delete */ export type EmbeddingCacheDeleteArgs = { /** * Select specific fields to fetch from the EmbeddingCache */ select?: EmbeddingCacheSelect | null /** * Omit specific fields from the EmbeddingCache */ omit?: EmbeddingCacheOmit | null /** * Filter which EmbeddingCache to delete. */ where: EmbeddingCacheWhereUniqueInput } /** * EmbeddingCache deleteMany */ export type EmbeddingCacheDeleteManyArgs = { /** * Filter which EmbeddingCaches to delete */ where?: EmbeddingCacheWhereInput /** * Limit how many EmbeddingCaches to delete. */ limit?: number } /** * EmbeddingCache without action */ export type EmbeddingCacheDefaultArgs = { /** * Select specific fields to fetch from the EmbeddingCache */ select?: EmbeddingCacheSelect | null /** * Omit specific fields from the EmbeddingCache */ omit?: EmbeddingCacheOmit | null } /** * Model VectorDocument1024 */ export type AggregateVectorDocument1024 = { _count: VectorDocument1024CountAggregateOutputType | null _min: VectorDocument1024MinAggregateOutputType | null _max: VectorDocument1024MaxAggregateOutputType | null } export type VectorDocument1024MinAggregateOutputType = { id: string | null projectId: string | null content: string | null createdAt: Date | null updatedAt: Date | null } export type VectorDocument1024MaxAggregateOutputType = { id: string | null projectId: string | null content: string | null createdAt: Date | null updatedAt: Date | null } export type VectorDocument1024CountAggregateOutputType = { id: number projectId: number content: number metadata: number createdAt: number updatedAt: number _all: number } export type VectorDocument1024MinAggregateInputType = { id?: true projectId?: true content?: true createdAt?: true updatedAt?: true } export type VectorDocument1024MaxAggregateInputType = { id?: true projectId?: true content?: true createdAt?: true updatedAt?: true } export type VectorDocument1024CountAggregateInputType = { id?: true projectId?: true content?: true metadata?: true createdAt?: true updatedAt?: true _all?: true } export type VectorDocument1024AggregateArgs = { /** * Filter which VectorDocument1024 to aggregate. */ where?: VectorDocument1024WhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of VectorDocument1024s to fetch. */ orderBy?: VectorDocument1024OrderByWithRelationInput | VectorDocument1024OrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: VectorDocument1024WhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` VectorDocument1024s 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` VectorDocument1024s. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned VectorDocument1024s **/ _count?: true | VectorDocument1024CountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: VectorDocument1024MinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: VectorDocument1024MaxAggregateInputType } export type GetVectorDocument1024AggregateType = { [P in keyof T & keyof AggregateVectorDocument1024]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type VectorDocument1024GroupByArgs = { where?: VectorDocument1024WhereInput orderBy?: VectorDocument1024OrderByWithAggregationInput | VectorDocument1024OrderByWithAggregationInput[] by: VectorDocument1024ScalarFieldEnum[] | VectorDocument1024ScalarFieldEnum having?: VectorDocument1024ScalarWhereWithAggregatesInput take?: number skip?: number _count?: VectorDocument1024CountAggregateInputType | true _min?: VectorDocument1024MinAggregateInputType _max?: VectorDocument1024MaxAggregateInputType } export type VectorDocument1024GroupByOutputType = { id: string projectId: string content: string metadata: JsonValue createdAt: Date updatedAt: Date _count: VectorDocument1024CountAggregateOutputType | null _min: VectorDocument1024MinAggregateOutputType | null _max: VectorDocument1024MaxAggregateOutputType | null } type GetVectorDocument1024GroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof VectorDocument1024GroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type VectorDocument1024Select = $Extensions.GetSelect<{ id?: boolean projectId?: boolean content?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["vectorDocument1024"]> export type VectorDocument1024SelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean content?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["vectorDocument1024"]> export type VectorDocument1024SelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean content?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["vectorDocument1024"]> export type VectorDocument1024SelectScalar = { id?: boolean projectId?: boolean content?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean } export type VectorDocument1024Omit = $Extensions.GetOmit<"id" | "projectId" | "content" | "metadata" | "createdAt" | "updatedAt", ExtArgs["result"]["vectorDocument1024"]> export type $VectorDocument1024Payload = { name: "VectorDocument1024" objects: {} scalars: $Extensions.GetPayloadResult<{ id: string projectId: string content: string metadata: Prisma.JsonValue createdAt: Date updatedAt: Date }, ExtArgs["result"]["vectorDocument1024"]> composites: {} } type VectorDocument1024GetPayload = $Result.GetResult type VectorDocument1024CountArgs = Omit & { select?: VectorDocument1024CountAggregateInputType | true } export interface VectorDocument1024Delegate { [K: symbol]: { types: Prisma.TypeMap['model']['VectorDocument1024'], meta: { name: 'VectorDocument1024' } } /** * Find zero or one VectorDocument1024 that matches the filter. * @param {VectorDocument1024FindUniqueArgs} args - Arguments to find a VectorDocument1024 * @example * // Get one VectorDocument1024 * const vectorDocument1024 = await prisma.vectorDocument1024.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__VectorDocument1024Client<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one VectorDocument1024 that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {VectorDocument1024FindUniqueOrThrowArgs} args - Arguments to find a VectorDocument1024 * @example * // Get one VectorDocument1024 * const vectorDocument1024 = await prisma.vectorDocument1024.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__VectorDocument1024Client<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first VectorDocument1024 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 {VectorDocument1024FindFirstArgs} args - Arguments to find a VectorDocument1024 * @example * // Get one VectorDocument1024 * const vectorDocument1024 = await prisma.vectorDocument1024.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__VectorDocument1024Client<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first VectorDocument1024 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 {VectorDocument1024FindFirstOrThrowArgs} args - Arguments to find a VectorDocument1024 * @example * // Get one VectorDocument1024 * const vectorDocument1024 = await prisma.vectorDocument1024.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__VectorDocument1024Client<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more VectorDocument1024s 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 {VectorDocument1024FindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all VectorDocument1024s * const vectorDocument1024s = await prisma.vectorDocument1024.findMany() * * // Get first 10 VectorDocument1024s * const vectorDocument1024s = await prisma.vectorDocument1024.findMany({ take: 10 }) * * // Only select the `id` * const vectorDocument1024WithIdOnly = await prisma.vectorDocument1024.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a VectorDocument1024. * @param {VectorDocument1024CreateArgs} args - Arguments to create a VectorDocument1024. * @example * // Create one VectorDocument1024 * const VectorDocument1024 = await prisma.vectorDocument1024.create({ * data: { * // ... data to create a VectorDocument1024 * } * }) * */ create(args: SelectSubset>): Prisma__VectorDocument1024Client<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many VectorDocument1024s. * @param {VectorDocument1024CreateManyArgs} args - Arguments to create many VectorDocument1024s. * @example * // Create many VectorDocument1024s * const vectorDocument1024 = await prisma.vectorDocument1024.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many VectorDocument1024s and returns the data saved in the database. * @param {VectorDocument1024CreateManyAndReturnArgs} args - Arguments to create many VectorDocument1024s. * @example * // Create many VectorDocument1024s * const vectorDocument1024 = await prisma.vectorDocument1024.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many VectorDocument1024s and only return the `id` * const vectorDocument1024WithIdOnly = await prisma.vectorDocument1024.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", GlobalOmitOptions>> /** * Delete a VectorDocument1024. * @param {VectorDocument1024DeleteArgs} args - Arguments to delete one VectorDocument1024. * @example * // Delete one VectorDocument1024 * const VectorDocument1024 = await prisma.vectorDocument1024.delete({ * where: { * // ... filter to delete one VectorDocument1024 * } * }) * */ delete(args: SelectSubset>): Prisma__VectorDocument1024Client<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one VectorDocument1024. * @param {VectorDocument1024UpdateArgs} args - Arguments to update one VectorDocument1024. * @example * // Update one VectorDocument1024 * const vectorDocument1024 = await prisma.vectorDocument1024.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__VectorDocument1024Client<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more VectorDocument1024s. * @param {VectorDocument1024DeleteManyArgs} args - Arguments to filter VectorDocument1024s to delete. * @example * // Delete a few VectorDocument1024s * const { count } = await prisma.vectorDocument1024.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more VectorDocument1024s. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {VectorDocument1024UpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many VectorDocument1024s * const vectorDocument1024 = await prisma.vectorDocument1024.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more VectorDocument1024s and returns the data updated in the database. * @param {VectorDocument1024UpdateManyAndReturnArgs} args - Arguments to update many VectorDocument1024s. * @example * // Update many VectorDocument1024s * const vectorDocument1024 = await prisma.vectorDocument1024.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more VectorDocument1024s and only return the `id` * const vectorDocument1024WithIdOnly = await prisma.vectorDocument1024.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one VectorDocument1024. * @param {VectorDocument1024UpsertArgs} args - Arguments to update or create a VectorDocument1024. * @example * // Update or create a VectorDocument1024 * const vectorDocument1024 = await prisma.vectorDocument1024.upsert({ * create: { * // ... data to create a VectorDocument1024 * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the VectorDocument1024 we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__VectorDocument1024Client<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of VectorDocument1024s. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {VectorDocument1024CountArgs} args - Arguments to filter VectorDocument1024s to count. * @example * // Count the number of VectorDocument1024s * const count = await prisma.vectorDocument1024.count({ * where: { * // ... the filter for the VectorDocument1024s 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 VectorDocument1024. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {VectorDocument1024AggregateArgs} 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 VectorDocument1024. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {VectorDocument1024GroupByArgs} 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 VectorDocument1024GroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: VectorDocument1024GroupByArgs['orderBy'] } : { orderBy?: VectorDocument1024GroupByArgs['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 ? GetVectorDocument1024GroupByPayload : Prisma.PrismaPromise /** * Fields of the VectorDocument1024 model */ readonly fields: VectorDocument1024FieldRefs; } /** * The delegate class that acts as a "Promise-like" for VectorDocument1024. * 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__VectorDocument1024Client extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $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 VectorDocument1024 model */ interface VectorDocument1024FieldRefs { readonly id: FieldRef<"VectorDocument1024", 'String'> readonly projectId: FieldRef<"VectorDocument1024", 'String'> readonly content: FieldRef<"VectorDocument1024", 'String'> readonly metadata: FieldRef<"VectorDocument1024", 'Json'> readonly createdAt: FieldRef<"VectorDocument1024", 'DateTime'> readonly updatedAt: FieldRef<"VectorDocument1024", 'DateTime'> } // Custom InputTypes /** * VectorDocument1024 findUnique */ export type VectorDocument1024FindUniqueArgs = { /** * Select specific fields to fetch from the VectorDocument1024 */ select?: VectorDocument1024Select | null /** * Omit specific fields from the VectorDocument1024 */ omit?: VectorDocument1024Omit | null /** * Filter, which VectorDocument1024 to fetch. */ where: VectorDocument1024WhereUniqueInput } /** * VectorDocument1024 findUniqueOrThrow */ export type VectorDocument1024FindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the VectorDocument1024 */ select?: VectorDocument1024Select | null /** * Omit specific fields from the VectorDocument1024 */ omit?: VectorDocument1024Omit | null /** * Filter, which VectorDocument1024 to fetch. */ where: VectorDocument1024WhereUniqueInput } /** * VectorDocument1024 findFirst */ export type VectorDocument1024FindFirstArgs = { /** * Select specific fields to fetch from the VectorDocument1024 */ select?: VectorDocument1024Select | null /** * Omit specific fields from the VectorDocument1024 */ omit?: VectorDocument1024Omit | null /** * Filter, which VectorDocument1024 to fetch. */ where?: VectorDocument1024WhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of VectorDocument1024s to fetch. */ orderBy?: VectorDocument1024OrderByWithRelationInput | VectorDocument1024OrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for VectorDocument1024s. */ cursor?: VectorDocument1024WhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` VectorDocument1024s 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` VectorDocument1024s. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of VectorDocument1024s. */ distinct?: VectorDocument1024ScalarFieldEnum | VectorDocument1024ScalarFieldEnum[] } /** * VectorDocument1024 findFirstOrThrow */ export type VectorDocument1024FindFirstOrThrowArgs = { /** * Select specific fields to fetch from the VectorDocument1024 */ select?: VectorDocument1024Select | null /** * Omit specific fields from the VectorDocument1024 */ omit?: VectorDocument1024Omit | null /** * Filter, which VectorDocument1024 to fetch. */ where?: VectorDocument1024WhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of VectorDocument1024s to fetch. */ orderBy?: VectorDocument1024OrderByWithRelationInput | VectorDocument1024OrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for VectorDocument1024s. */ cursor?: VectorDocument1024WhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` VectorDocument1024s 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` VectorDocument1024s. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of VectorDocument1024s. */ distinct?: VectorDocument1024ScalarFieldEnum | VectorDocument1024ScalarFieldEnum[] } /** * VectorDocument1024 findMany */ export type VectorDocument1024FindManyArgs = { /** * Select specific fields to fetch from the VectorDocument1024 */ select?: VectorDocument1024Select | null /** * Omit specific fields from the VectorDocument1024 */ omit?: VectorDocument1024Omit | null /** * Filter, which VectorDocument1024s to fetch. */ where?: VectorDocument1024WhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of VectorDocument1024s to fetch. */ orderBy?: VectorDocument1024OrderByWithRelationInput | VectorDocument1024OrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing VectorDocument1024s. */ cursor?: VectorDocument1024WhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` VectorDocument1024s 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` VectorDocument1024s. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of VectorDocument1024s. */ distinct?: VectorDocument1024ScalarFieldEnum | VectorDocument1024ScalarFieldEnum[] } /** * VectorDocument1024 create */ export type VectorDocument1024CreateArgs = { /** * Select specific fields to fetch from the VectorDocument1024 */ select?: VectorDocument1024Select | null /** * Omit specific fields from the VectorDocument1024 */ omit?: VectorDocument1024Omit | null /** * The data needed to create a VectorDocument1024. */ data: XOR } /** * VectorDocument1024 createMany */ export type VectorDocument1024CreateManyArgs = { /** * The data used to create many VectorDocument1024s. */ data: VectorDocument1024CreateManyInput | VectorDocument1024CreateManyInput[] skipDuplicates?: boolean } /** * VectorDocument1024 createManyAndReturn */ export type VectorDocument1024CreateManyAndReturnArgs = { /** * Select specific fields to fetch from the VectorDocument1024 */ select?: VectorDocument1024SelectCreateManyAndReturn | null /** * Omit specific fields from the VectorDocument1024 */ omit?: VectorDocument1024Omit | null /** * The data used to create many VectorDocument1024s. */ data: VectorDocument1024CreateManyInput | VectorDocument1024CreateManyInput[] skipDuplicates?: boolean } /** * VectorDocument1024 update */ export type VectorDocument1024UpdateArgs = { /** * Select specific fields to fetch from the VectorDocument1024 */ select?: VectorDocument1024Select | null /** * Omit specific fields from the VectorDocument1024 */ omit?: VectorDocument1024Omit | null /** * The data needed to update a VectorDocument1024. */ data: XOR /** * Choose, which VectorDocument1024 to update. */ where: VectorDocument1024WhereUniqueInput } /** * VectorDocument1024 updateMany */ export type VectorDocument1024UpdateManyArgs = { /** * The data used to update VectorDocument1024s. */ data: XOR /** * Filter which VectorDocument1024s to update */ where?: VectorDocument1024WhereInput /** * Limit how many VectorDocument1024s to update. */ limit?: number } /** * VectorDocument1024 updateManyAndReturn */ export type VectorDocument1024UpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the VectorDocument1024 */ select?: VectorDocument1024SelectUpdateManyAndReturn | null /** * Omit specific fields from the VectorDocument1024 */ omit?: VectorDocument1024Omit | null /** * The data used to update VectorDocument1024s. */ data: XOR /** * Filter which VectorDocument1024s to update */ where?: VectorDocument1024WhereInput /** * Limit how many VectorDocument1024s to update. */ limit?: number } /** * VectorDocument1024 upsert */ export type VectorDocument1024UpsertArgs = { /** * Select specific fields to fetch from the VectorDocument1024 */ select?: VectorDocument1024Select | null /** * Omit specific fields from the VectorDocument1024 */ omit?: VectorDocument1024Omit | null /** * The filter to search for the VectorDocument1024 to update in case it exists. */ where: VectorDocument1024WhereUniqueInput /** * In case the VectorDocument1024 found by the `where` argument doesn't exist, create a new VectorDocument1024 with this data. */ create: XOR /** * In case the VectorDocument1024 was found with the provided `where` argument, update it with this data. */ update: XOR } /** * VectorDocument1024 delete */ export type VectorDocument1024DeleteArgs = { /** * Select specific fields to fetch from the VectorDocument1024 */ select?: VectorDocument1024Select | null /** * Omit specific fields from the VectorDocument1024 */ omit?: VectorDocument1024Omit | null /** * Filter which VectorDocument1024 to delete. */ where: VectorDocument1024WhereUniqueInput } /** * VectorDocument1024 deleteMany */ export type VectorDocument1024DeleteManyArgs = { /** * Filter which VectorDocument1024s to delete */ where?: VectorDocument1024WhereInput /** * Limit how many VectorDocument1024s to delete. */ limit?: number } /** * VectorDocument1024 without action */ export type VectorDocument1024DefaultArgs = { /** * Select specific fields to fetch from the VectorDocument1024 */ select?: VectorDocument1024Select | null /** * Omit specific fields from the VectorDocument1024 */ omit?: VectorDocument1024Omit | null } /** * Model VectorDocument1536 */ export type AggregateVectorDocument1536 = { _count: VectorDocument1536CountAggregateOutputType | null _min: VectorDocument1536MinAggregateOutputType | null _max: VectorDocument1536MaxAggregateOutputType | null } export type VectorDocument1536MinAggregateOutputType = { id: string | null projectId: string | null content: string | null createdAt: Date | null updatedAt: Date | null } export type VectorDocument1536MaxAggregateOutputType = { id: string | null projectId: string | null content: string | null createdAt: Date | null updatedAt: Date | null } export type VectorDocument1536CountAggregateOutputType = { id: number projectId: number content: number metadata: number createdAt: number updatedAt: number _all: number } export type VectorDocument1536MinAggregateInputType = { id?: true projectId?: true content?: true createdAt?: true updatedAt?: true } export type VectorDocument1536MaxAggregateInputType = { id?: true projectId?: true content?: true createdAt?: true updatedAt?: true } export type VectorDocument1536CountAggregateInputType = { id?: true projectId?: true content?: true metadata?: true createdAt?: true updatedAt?: true _all?: true } export type VectorDocument1536AggregateArgs = { /** * Filter which VectorDocument1536 to aggregate. */ where?: VectorDocument1536WhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of VectorDocument1536s to fetch. */ orderBy?: VectorDocument1536OrderByWithRelationInput | VectorDocument1536OrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: VectorDocument1536WhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` VectorDocument1536s 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` VectorDocument1536s. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned VectorDocument1536s **/ _count?: true | VectorDocument1536CountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: VectorDocument1536MinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: VectorDocument1536MaxAggregateInputType } export type GetVectorDocument1536AggregateType = { [P in keyof T & keyof AggregateVectorDocument1536]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type VectorDocument1536GroupByArgs = { where?: VectorDocument1536WhereInput orderBy?: VectorDocument1536OrderByWithAggregationInput | VectorDocument1536OrderByWithAggregationInput[] by: VectorDocument1536ScalarFieldEnum[] | VectorDocument1536ScalarFieldEnum having?: VectorDocument1536ScalarWhereWithAggregatesInput take?: number skip?: number _count?: VectorDocument1536CountAggregateInputType | true _min?: VectorDocument1536MinAggregateInputType _max?: VectorDocument1536MaxAggregateInputType } export type VectorDocument1536GroupByOutputType = { id: string projectId: string content: string metadata: JsonValue createdAt: Date updatedAt: Date _count: VectorDocument1536CountAggregateOutputType | null _min: VectorDocument1536MinAggregateOutputType | null _max: VectorDocument1536MaxAggregateOutputType | null } type GetVectorDocument1536GroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof VectorDocument1536GroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type VectorDocument1536Select = $Extensions.GetSelect<{ id?: boolean projectId?: boolean content?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["vectorDocument1536"]> export type VectorDocument1536SelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean content?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["vectorDocument1536"]> export type VectorDocument1536SelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean content?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["vectorDocument1536"]> export type VectorDocument1536SelectScalar = { id?: boolean projectId?: boolean content?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean } export type VectorDocument1536Omit = $Extensions.GetOmit<"id" | "projectId" | "content" | "metadata" | "createdAt" | "updatedAt", ExtArgs["result"]["vectorDocument1536"]> export type $VectorDocument1536Payload = { name: "VectorDocument1536" objects: {} scalars: $Extensions.GetPayloadResult<{ id: string projectId: string content: string metadata: Prisma.JsonValue createdAt: Date updatedAt: Date }, ExtArgs["result"]["vectorDocument1536"]> composites: {} } type VectorDocument1536GetPayload = $Result.GetResult type VectorDocument1536CountArgs = Omit & { select?: VectorDocument1536CountAggregateInputType | true } export interface VectorDocument1536Delegate { [K: symbol]: { types: Prisma.TypeMap['model']['VectorDocument1536'], meta: { name: 'VectorDocument1536' } } /** * Find zero or one VectorDocument1536 that matches the filter. * @param {VectorDocument1536FindUniqueArgs} args - Arguments to find a VectorDocument1536 * @example * // Get one VectorDocument1536 * const vectorDocument1536 = await prisma.vectorDocument1536.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__VectorDocument1536Client<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one VectorDocument1536 that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {VectorDocument1536FindUniqueOrThrowArgs} args - Arguments to find a VectorDocument1536 * @example * // Get one VectorDocument1536 * const vectorDocument1536 = await prisma.vectorDocument1536.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__VectorDocument1536Client<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first VectorDocument1536 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 {VectorDocument1536FindFirstArgs} args - Arguments to find a VectorDocument1536 * @example * // Get one VectorDocument1536 * const vectorDocument1536 = await prisma.vectorDocument1536.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__VectorDocument1536Client<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first VectorDocument1536 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 {VectorDocument1536FindFirstOrThrowArgs} args - Arguments to find a VectorDocument1536 * @example * // Get one VectorDocument1536 * const vectorDocument1536 = await prisma.vectorDocument1536.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__VectorDocument1536Client<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more VectorDocument1536s 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 {VectorDocument1536FindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all VectorDocument1536s * const vectorDocument1536s = await prisma.vectorDocument1536.findMany() * * // Get first 10 VectorDocument1536s * const vectorDocument1536s = await prisma.vectorDocument1536.findMany({ take: 10 }) * * // Only select the `id` * const vectorDocument1536WithIdOnly = await prisma.vectorDocument1536.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a VectorDocument1536. * @param {VectorDocument1536CreateArgs} args - Arguments to create a VectorDocument1536. * @example * // Create one VectorDocument1536 * const VectorDocument1536 = await prisma.vectorDocument1536.create({ * data: { * // ... data to create a VectorDocument1536 * } * }) * */ create(args: SelectSubset>): Prisma__VectorDocument1536Client<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many VectorDocument1536s. * @param {VectorDocument1536CreateManyArgs} args - Arguments to create many VectorDocument1536s. * @example * // Create many VectorDocument1536s * const vectorDocument1536 = await prisma.vectorDocument1536.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many VectorDocument1536s and returns the data saved in the database. * @param {VectorDocument1536CreateManyAndReturnArgs} args - Arguments to create many VectorDocument1536s. * @example * // Create many VectorDocument1536s * const vectorDocument1536 = await prisma.vectorDocument1536.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many VectorDocument1536s and only return the `id` * const vectorDocument1536WithIdOnly = await prisma.vectorDocument1536.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", GlobalOmitOptions>> /** * Delete a VectorDocument1536. * @param {VectorDocument1536DeleteArgs} args - Arguments to delete one VectorDocument1536. * @example * // Delete one VectorDocument1536 * const VectorDocument1536 = await prisma.vectorDocument1536.delete({ * where: { * // ... filter to delete one VectorDocument1536 * } * }) * */ delete(args: SelectSubset>): Prisma__VectorDocument1536Client<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one VectorDocument1536. * @param {VectorDocument1536UpdateArgs} args - Arguments to update one VectorDocument1536. * @example * // Update one VectorDocument1536 * const vectorDocument1536 = await prisma.vectorDocument1536.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__VectorDocument1536Client<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more VectorDocument1536s. * @param {VectorDocument1536DeleteManyArgs} args - Arguments to filter VectorDocument1536s to delete. * @example * // Delete a few VectorDocument1536s * const { count } = await prisma.vectorDocument1536.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more VectorDocument1536s. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {VectorDocument1536UpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many VectorDocument1536s * const vectorDocument1536 = await prisma.vectorDocument1536.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more VectorDocument1536s and returns the data updated in the database. * @param {VectorDocument1536UpdateManyAndReturnArgs} args - Arguments to update many VectorDocument1536s. * @example * // Update many VectorDocument1536s * const vectorDocument1536 = await prisma.vectorDocument1536.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more VectorDocument1536s and only return the `id` * const vectorDocument1536WithIdOnly = await prisma.vectorDocument1536.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one VectorDocument1536. * @param {VectorDocument1536UpsertArgs} args - Arguments to update or create a VectorDocument1536. * @example * // Update or create a VectorDocument1536 * const vectorDocument1536 = await prisma.vectorDocument1536.upsert({ * create: { * // ... data to create a VectorDocument1536 * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the VectorDocument1536 we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__VectorDocument1536Client<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of VectorDocument1536s. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {VectorDocument1536CountArgs} args - Arguments to filter VectorDocument1536s to count. * @example * // Count the number of VectorDocument1536s * const count = await prisma.vectorDocument1536.count({ * where: { * // ... the filter for the VectorDocument1536s 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 VectorDocument1536. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {VectorDocument1536AggregateArgs} 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 VectorDocument1536. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {VectorDocument1536GroupByArgs} 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 VectorDocument1536GroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: VectorDocument1536GroupByArgs['orderBy'] } : { orderBy?: VectorDocument1536GroupByArgs['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 ? GetVectorDocument1536GroupByPayload : Prisma.PrismaPromise /** * Fields of the VectorDocument1536 model */ readonly fields: VectorDocument1536FieldRefs; } /** * The delegate class that acts as a "Promise-like" for VectorDocument1536. * 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__VectorDocument1536Client extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $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 VectorDocument1536 model */ interface VectorDocument1536FieldRefs { readonly id: FieldRef<"VectorDocument1536", 'String'> readonly projectId: FieldRef<"VectorDocument1536", 'String'> readonly content: FieldRef<"VectorDocument1536", 'String'> readonly metadata: FieldRef<"VectorDocument1536", 'Json'> readonly createdAt: FieldRef<"VectorDocument1536", 'DateTime'> readonly updatedAt: FieldRef<"VectorDocument1536", 'DateTime'> } // Custom InputTypes /** * VectorDocument1536 findUnique */ export type VectorDocument1536FindUniqueArgs = { /** * Select specific fields to fetch from the VectorDocument1536 */ select?: VectorDocument1536Select | null /** * Omit specific fields from the VectorDocument1536 */ omit?: VectorDocument1536Omit | null /** * Filter, which VectorDocument1536 to fetch. */ where: VectorDocument1536WhereUniqueInput } /** * VectorDocument1536 findUniqueOrThrow */ export type VectorDocument1536FindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the VectorDocument1536 */ select?: VectorDocument1536Select | null /** * Omit specific fields from the VectorDocument1536 */ omit?: VectorDocument1536Omit | null /** * Filter, which VectorDocument1536 to fetch. */ where: VectorDocument1536WhereUniqueInput } /** * VectorDocument1536 findFirst */ export type VectorDocument1536FindFirstArgs = { /** * Select specific fields to fetch from the VectorDocument1536 */ select?: VectorDocument1536Select | null /** * Omit specific fields from the VectorDocument1536 */ omit?: VectorDocument1536Omit | null /** * Filter, which VectorDocument1536 to fetch. */ where?: VectorDocument1536WhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of VectorDocument1536s to fetch. */ orderBy?: VectorDocument1536OrderByWithRelationInput | VectorDocument1536OrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for VectorDocument1536s. */ cursor?: VectorDocument1536WhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` VectorDocument1536s 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` VectorDocument1536s. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of VectorDocument1536s. */ distinct?: VectorDocument1536ScalarFieldEnum | VectorDocument1536ScalarFieldEnum[] } /** * VectorDocument1536 findFirstOrThrow */ export type VectorDocument1536FindFirstOrThrowArgs = { /** * Select specific fields to fetch from the VectorDocument1536 */ select?: VectorDocument1536Select | null /** * Omit specific fields from the VectorDocument1536 */ omit?: VectorDocument1536Omit | null /** * Filter, which VectorDocument1536 to fetch. */ where?: VectorDocument1536WhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of VectorDocument1536s to fetch. */ orderBy?: VectorDocument1536OrderByWithRelationInput | VectorDocument1536OrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for VectorDocument1536s. */ cursor?: VectorDocument1536WhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` VectorDocument1536s 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` VectorDocument1536s. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of VectorDocument1536s. */ distinct?: VectorDocument1536ScalarFieldEnum | VectorDocument1536ScalarFieldEnum[] } /** * VectorDocument1536 findMany */ export type VectorDocument1536FindManyArgs = { /** * Select specific fields to fetch from the VectorDocument1536 */ select?: VectorDocument1536Select | null /** * Omit specific fields from the VectorDocument1536 */ omit?: VectorDocument1536Omit | null /** * Filter, which VectorDocument1536s to fetch. */ where?: VectorDocument1536WhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of VectorDocument1536s to fetch. */ orderBy?: VectorDocument1536OrderByWithRelationInput | VectorDocument1536OrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing VectorDocument1536s. */ cursor?: VectorDocument1536WhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` VectorDocument1536s 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` VectorDocument1536s. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of VectorDocument1536s. */ distinct?: VectorDocument1536ScalarFieldEnum | VectorDocument1536ScalarFieldEnum[] } /** * VectorDocument1536 create */ export type VectorDocument1536CreateArgs = { /** * Select specific fields to fetch from the VectorDocument1536 */ select?: VectorDocument1536Select | null /** * Omit specific fields from the VectorDocument1536 */ omit?: VectorDocument1536Omit | null /** * The data needed to create a VectorDocument1536. */ data: XOR } /** * VectorDocument1536 createMany */ export type VectorDocument1536CreateManyArgs = { /** * The data used to create many VectorDocument1536s. */ data: VectorDocument1536CreateManyInput | VectorDocument1536CreateManyInput[] skipDuplicates?: boolean } /** * VectorDocument1536 createManyAndReturn */ export type VectorDocument1536CreateManyAndReturnArgs = { /** * Select specific fields to fetch from the VectorDocument1536 */ select?: VectorDocument1536SelectCreateManyAndReturn | null /** * Omit specific fields from the VectorDocument1536 */ omit?: VectorDocument1536Omit | null /** * The data used to create many VectorDocument1536s. */ data: VectorDocument1536CreateManyInput | VectorDocument1536CreateManyInput[] skipDuplicates?: boolean } /** * VectorDocument1536 update */ export type VectorDocument1536UpdateArgs = { /** * Select specific fields to fetch from the VectorDocument1536 */ select?: VectorDocument1536Select | null /** * Omit specific fields from the VectorDocument1536 */ omit?: VectorDocument1536Omit | null /** * The data needed to update a VectorDocument1536. */ data: XOR /** * Choose, which VectorDocument1536 to update. */ where: VectorDocument1536WhereUniqueInput } /** * VectorDocument1536 updateMany */ export type VectorDocument1536UpdateManyArgs = { /** * The data used to update VectorDocument1536s. */ data: XOR /** * Filter which VectorDocument1536s to update */ where?: VectorDocument1536WhereInput /** * Limit how many VectorDocument1536s to update. */ limit?: number } /** * VectorDocument1536 updateManyAndReturn */ export type VectorDocument1536UpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the VectorDocument1536 */ select?: VectorDocument1536SelectUpdateManyAndReturn | null /** * Omit specific fields from the VectorDocument1536 */ omit?: VectorDocument1536Omit | null /** * The data used to update VectorDocument1536s. */ data: XOR /** * Filter which VectorDocument1536s to update */ where?: VectorDocument1536WhereInput /** * Limit how many VectorDocument1536s to update. */ limit?: number } /** * VectorDocument1536 upsert */ export type VectorDocument1536UpsertArgs = { /** * Select specific fields to fetch from the VectorDocument1536 */ select?: VectorDocument1536Select | null /** * Omit specific fields from the VectorDocument1536 */ omit?: VectorDocument1536Omit | null /** * The filter to search for the VectorDocument1536 to update in case it exists. */ where: VectorDocument1536WhereUniqueInput /** * In case the VectorDocument1536 found by the `where` argument doesn't exist, create a new VectorDocument1536 with this data. */ create: XOR /** * In case the VectorDocument1536 was found with the provided `where` argument, update it with this data. */ update: XOR } /** * VectorDocument1536 delete */ export type VectorDocument1536DeleteArgs = { /** * Select specific fields to fetch from the VectorDocument1536 */ select?: VectorDocument1536Select | null /** * Omit specific fields from the VectorDocument1536 */ omit?: VectorDocument1536Omit | null /** * Filter which VectorDocument1536 to delete. */ where: VectorDocument1536WhereUniqueInput } /** * VectorDocument1536 deleteMany */ export type VectorDocument1536DeleteManyArgs = { /** * Filter which VectorDocument1536s to delete */ where?: VectorDocument1536WhereInput /** * Limit how many VectorDocument1536s to delete. */ limit?: number } /** * VectorDocument1536 without action */ export type VectorDocument1536DefaultArgs = { /** * Select specific fields to fetch from the VectorDocument1536 */ select?: VectorDocument1536Select | null /** * Omit specific fields from the VectorDocument1536 */ omit?: VectorDocument1536Omit | null } /** * Model VectorDocument3072 */ export type AggregateVectorDocument3072 = { _count: VectorDocument3072CountAggregateOutputType | null _min: VectorDocument3072MinAggregateOutputType | null _max: VectorDocument3072MaxAggregateOutputType | null } export type VectorDocument3072MinAggregateOutputType = { id: string | null projectId: string | null content: string | null createdAt: Date | null updatedAt: Date | null } export type VectorDocument3072MaxAggregateOutputType = { id: string | null projectId: string | null content: string | null createdAt: Date | null updatedAt: Date | null } export type VectorDocument3072CountAggregateOutputType = { id: number projectId: number content: number metadata: number createdAt: number updatedAt: number _all: number } export type VectorDocument3072MinAggregateInputType = { id?: true projectId?: true content?: true createdAt?: true updatedAt?: true } export type VectorDocument3072MaxAggregateInputType = { id?: true projectId?: true content?: true createdAt?: true updatedAt?: true } export type VectorDocument3072CountAggregateInputType = { id?: true projectId?: true content?: true metadata?: true createdAt?: true updatedAt?: true _all?: true } export type VectorDocument3072AggregateArgs = { /** * Filter which VectorDocument3072 to aggregate. */ where?: VectorDocument3072WhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of VectorDocument3072s to fetch. */ orderBy?: VectorDocument3072OrderByWithRelationInput | VectorDocument3072OrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: VectorDocument3072WhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` VectorDocument3072s 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` VectorDocument3072s. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned VectorDocument3072s **/ _count?: true | VectorDocument3072CountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: VectorDocument3072MinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: VectorDocument3072MaxAggregateInputType } export type GetVectorDocument3072AggregateType = { [P in keyof T & keyof AggregateVectorDocument3072]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type VectorDocument3072GroupByArgs = { where?: VectorDocument3072WhereInput orderBy?: VectorDocument3072OrderByWithAggregationInput | VectorDocument3072OrderByWithAggregationInput[] by: VectorDocument3072ScalarFieldEnum[] | VectorDocument3072ScalarFieldEnum having?: VectorDocument3072ScalarWhereWithAggregatesInput take?: number skip?: number _count?: VectorDocument3072CountAggregateInputType | true _min?: VectorDocument3072MinAggregateInputType _max?: VectorDocument3072MaxAggregateInputType } export type VectorDocument3072GroupByOutputType = { id: string projectId: string content: string metadata: JsonValue createdAt: Date updatedAt: Date _count: VectorDocument3072CountAggregateOutputType | null _min: VectorDocument3072MinAggregateOutputType | null _max: VectorDocument3072MaxAggregateOutputType | null } type GetVectorDocument3072GroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof VectorDocument3072GroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type VectorDocument3072Select = $Extensions.GetSelect<{ id?: boolean projectId?: boolean content?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["vectorDocument3072"]> export type VectorDocument3072SelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean content?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["vectorDocument3072"]> export type VectorDocument3072SelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean content?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["vectorDocument3072"]> export type VectorDocument3072SelectScalar = { id?: boolean projectId?: boolean content?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean } export type VectorDocument3072Omit = $Extensions.GetOmit<"id" | "projectId" | "content" | "metadata" | "createdAt" | "updatedAt", ExtArgs["result"]["vectorDocument3072"]> export type $VectorDocument3072Payload = { name: "VectorDocument3072" objects: {} scalars: $Extensions.GetPayloadResult<{ id: string projectId: string content: string metadata: Prisma.JsonValue createdAt: Date updatedAt: Date }, ExtArgs["result"]["vectorDocument3072"]> composites: {} } type VectorDocument3072GetPayload = $Result.GetResult type VectorDocument3072CountArgs = Omit & { select?: VectorDocument3072CountAggregateInputType | true } export interface VectorDocument3072Delegate { [K: symbol]: { types: Prisma.TypeMap['model']['VectorDocument3072'], meta: { name: 'VectorDocument3072' } } /** * Find zero or one VectorDocument3072 that matches the filter. * @param {VectorDocument3072FindUniqueArgs} args - Arguments to find a VectorDocument3072 * @example * // Get one VectorDocument3072 * const vectorDocument3072 = await prisma.vectorDocument3072.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__VectorDocument3072Client<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one VectorDocument3072 that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {VectorDocument3072FindUniqueOrThrowArgs} args - Arguments to find a VectorDocument3072 * @example * // Get one VectorDocument3072 * const vectorDocument3072 = await prisma.vectorDocument3072.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__VectorDocument3072Client<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first VectorDocument3072 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 {VectorDocument3072FindFirstArgs} args - Arguments to find a VectorDocument3072 * @example * // Get one VectorDocument3072 * const vectorDocument3072 = await prisma.vectorDocument3072.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__VectorDocument3072Client<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first VectorDocument3072 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 {VectorDocument3072FindFirstOrThrowArgs} args - Arguments to find a VectorDocument3072 * @example * // Get one VectorDocument3072 * const vectorDocument3072 = await prisma.vectorDocument3072.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__VectorDocument3072Client<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more VectorDocument3072s 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 {VectorDocument3072FindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all VectorDocument3072s * const vectorDocument3072s = await prisma.vectorDocument3072.findMany() * * // Get first 10 VectorDocument3072s * const vectorDocument3072s = await prisma.vectorDocument3072.findMany({ take: 10 }) * * // Only select the `id` * const vectorDocument3072WithIdOnly = await prisma.vectorDocument3072.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a VectorDocument3072. * @param {VectorDocument3072CreateArgs} args - Arguments to create a VectorDocument3072. * @example * // Create one VectorDocument3072 * const VectorDocument3072 = await prisma.vectorDocument3072.create({ * data: { * // ... data to create a VectorDocument3072 * } * }) * */ create(args: SelectSubset>): Prisma__VectorDocument3072Client<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many VectorDocument3072s. * @param {VectorDocument3072CreateManyArgs} args - Arguments to create many VectorDocument3072s. * @example * // Create many VectorDocument3072s * const vectorDocument3072 = await prisma.vectorDocument3072.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many VectorDocument3072s and returns the data saved in the database. * @param {VectorDocument3072CreateManyAndReturnArgs} args - Arguments to create many VectorDocument3072s. * @example * // Create many VectorDocument3072s * const vectorDocument3072 = await prisma.vectorDocument3072.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many VectorDocument3072s and only return the `id` * const vectorDocument3072WithIdOnly = await prisma.vectorDocument3072.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", GlobalOmitOptions>> /** * Delete a VectorDocument3072. * @param {VectorDocument3072DeleteArgs} args - Arguments to delete one VectorDocument3072. * @example * // Delete one VectorDocument3072 * const VectorDocument3072 = await prisma.vectorDocument3072.delete({ * where: { * // ... filter to delete one VectorDocument3072 * } * }) * */ delete(args: SelectSubset>): Prisma__VectorDocument3072Client<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one VectorDocument3072. * @param {VectorDocument3072UpdateArgs} args - Arguments to update one VectorDocument3072. * @example * // Update one VectorDocument3072 * const vectorDocument3072 = await prisma.vectorDocument3072.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__VectorDocument3072Client<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more VectorDocument3072s. * @param {VectorDocument3072DeleteManyArgs} args - Arguments to filter VectorDocument3072s to delete. * @example * // Delete a few VectorDocument3072s * const { count } = await prisma.vectorDocument3072.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more VectorDocument3072s. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {VectorDocument3072UpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many VectorDocument3072s * const vectorDocument3072 = await prisma.vectorDocument3072.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more VectorDocument3072s and returns the data updated in the database. * @param {VectorDocument3072UpdateManyAndReturnArgs} args - Arguments to update many VectorDocument3072s. * @example * // Update many VectorDocument3072s * const vectorDocument3072 = await prisma.vectorDocument3072.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more VectorDocument3072s and only return the `id` * const vectorDocument3072WithIdOnly = await prisma.vectorDocument3072.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one VectorDocument3072. * @param {VectorDocument3072UpsertArgs} args - Arguments to update or create a VectorDocument3072. * @example * // Update or create a VectorDocument3072 * const vectorDocument3072 = await prisma.vectorDocument3072.upsert({ * create: { * // ... data to create a VectorDocument3072 * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the VectorDocument3072 we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__VectorDocument3072Client<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of VectorDocument3072s. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {VectorDocument3072CountArgs} args - Arguments to filter VectorDocument3072s to count. * @example * // Count the number of VectorDocument3072s * const count = await prisma.vectorDocument3072.count({ * where: { * // ... the filter for the VectorDocument3072s 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 VectorDocument3072. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {VectorDocument3072AggregateArgs} 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 VectorDocument3072. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {VectorDocument3072GroupByArgs} 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 VectorDocument3072GroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: VectorDocument3072GroupByArgs['orderBy'] } : { orderBy?: VectorDocument3072GroupByArgs['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 ? GetVectorDocument3072GroupByPayload : Prisma.PrismaPromise /** * Fields of the VectorDocument3072 model */ readonly fields: VectorDocument3072FieldRefs; } /** * The delegate class that acts as a "Promise-like" for VectorDocument3072. * 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__VectorDocument3072Client extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $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 VectorDocument3072 model */ interface VectorDocument3072FieldRefs { readonly id: FieldRef<"VectorDocument3072", 'String'> readonly projectId: FieldRef<"VectorDocument3072", 'String'> readonly content: FieldRef<"VectorDocument3072", 'String'> readonly metadata: FieldRef<"VectorDocument3072", 'Json'> readonly createdAt: FieldRef<"VectorDocument3072", 'DateTime'> readonly updatedAt: FieldRef<"VectorDocument3072", 'DateTime'> } // Custom InputTypes /** * VectorDocument3072 findUnique */ export type VectorDocument3072FindUniqueArgs = { /** * Select specific fields to fetch from the VectorDocument3072 */ select?: VectorDocument3072Select | null /** * Omit specific fields from the VectorDocument3072 */ omit?: VectorDocument3072Omit | null /** * Filter, which VectorDocument3072 to fetch. */ where: VectorDocument3072WhereUniqueInput } /** * VectorDocument3072 findUniqueOrThrow */ export type VectorDocument3072FindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the VectorDocument3072 */ select?: VectorDocument3072Select | null /** * Omit specific fields from the VectorDocument3072 */ omit?: VectorDocument3072Omit | null /** * Filter, which VectorDocument3072 to fetch. */ where: VectorDocument3072WhereUniqueInput } /** * VectorDocument3072 findFirst */ export type VectorDocument3072FindFirstArgs = { /** * Select specific fields to fetch from the VectorDocument3072 */ select?: VectorDocument3072Select | null /** * Omit specific fields from the VectorDocument3072 */ omit?: VectorDocument3072Omit | null /** * Filter, which VectorDocument3072 to fetch. */ where?: VectorDocument3072WhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of VectorDocument3072s to fetch. */ orderBy?: VectorDocument3072OrderByWithRelationInput | VectorDocument3072OrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for VectorDocument3072s. */ cursor?: VectorDocument3072WhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` VectorDocument3072s 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` VectorDocument3072s. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of VectorDocument3072s. */ distinct?: VectorDocument3072ScalarFieldEnum | VectorDocument3072ScalarFieldEnum[] } /** * VectorDocument3072 findFirstOrThrow */ export type VectorDocument3072FindFirstOrThrowArgs = { /** * Select specific fields to fetch from the VectorDocument3072 */ select?: VectorDocument3072Select | null /** * Omit specific fields from the VectorDocument3072 */ omit?: VectorDocument3072Omit | null /** * Filter, which VectorDocument3072 to fetch. */ where?: VectorDocument3072WhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of VectorDocument3072s to fetch. */ orderBy?: VectorDocument3072OrderByWithRelationInput | VectorDocument3072OrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for VectorDocument3072s. */ cursor?: VectorDocument3072WhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` VectorDocument3072s 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` VectorDocument3072s. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of VectorDocument3072s. */ distinct?: VectorDocument3072ScalarFieldEnum | VectorDocument3072ScalarFieldEnum[] } /** * VectorDocument3072 findMany */ export type VectorDocument3072FindManyArgs = { /** * Select specific fields to fetch from the VectorDocument3072 */ select?: VectorDocument3072Select | null /** * Omit specific fields from the VectorDocument3072 */ omit?: VectorDocument3072Omit | null /** * Filter, which VectorDocument3072s to fetch. */ where?: VectorDocument3072WhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of VectorDocument3072s to fetch. */ orderBy?: VectorDocument3072OrderByWithRelationInput | VectorDocument3072OrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing VectorDocument3072s. */ cursor?: VectorDocument3072WhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` VectorDocument3072s 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` VectorDocument3072s. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of VectorDocument3072s. */ distinct?: VectorDocument3072ScalarFieldEnum | VectorDocument3072ScalarFieldEnum[] } /** * VectorDocument3072 create */ export type VectorDocument3072CreateArgs = { /** * Select specific fields to fetch from the VectorDocument3072 */ select?: VectorDocument3072Select | null /** * Omit specific fields from the VectorDocument3072 */ omit?: VectorDocument3072Omit | null /** * The data needed to create a VectorDocument3072. */ data: XOR } /** * VectorDocument3072 createMany */ export type VectorDocument3072CreateManyArgs = { /** * The data used to create many VectorDocument3072s. */ data: VectorDocument3072CreateManyInput | VectorDocument3072CreateManyInput[] skipDuplicates?: boolean } /** * VectorDocument3072 createManyAndReturn */ export type VectorDocument3072CreateManyAndReturnArgs = { /** * Select specific fields to fetch from the VectorDocument3072 */ select?: VectorDocument3072SelectCreateManyAndReturn | null /** * Omit specific fields from the VectorDocument3072 */ omit?: VectorDocument3072Omit | null /** * The data used to create many VectorDocument3072s. */ data: VectorDocument3072CreateManyInput | VectorDocument3072CreateManyInput[] skipDuplicates?: boolean } /** * VectorDocument3072 update */ export type VectorDocument3072UpdateArgs = { /** * Select specific fields to fetch from the VectorDocument3072 */ select?: VectorDocument3072Select | null /** * Omit specific fields from the VectorDocument3072 */ omit?: VectorDocument3072Omit | null /** * The data needed to update a VectorDocument3072. */ data: XOR /** * Choose, which VectorDocument3072 to update. */ where: VectorDocument3072WhereUniqueInput } /** * VectorDocument3072 updateMany */ export type VectorDocument3072UpdateManyArgs = { /** * The data used to update VectorDocument3072s. */ data: XOR /** * Filter which VectorDocument3072s to update */ where?: VectorDocument3072WhereInput /** * Limit how many VectorDocument3072s to update. */ limit?: number } /** * VectorDocument3072 updateManyAndReturn */ export type VectorDocument3072UpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the VectorDocument3072 */ select?: VectorDocument3072SelectUpdateManyAndReturn | null /** * Omit specific fields from the VectorDocument3072 */ omit?: VectorDocument3072Omit | null /** * The data used to update VectorDocument3072s. */ data: XOR /** * Filter which VectorDocument3072s to update */ where?: VectorDocument3072WhereInput /** * Limit how many VectorDocument3072s to update. */ limit?: number } /** * VectorDocument3072 upsert */ export type VectorDocument3072UpsertArgs = { /** * Select specific fields to fetch from the VectorDocument3072 */ select?: VectorDocument3072Select | null /** * Omit specific fields from the VectorDocument3072 */ omit?: VectorDocument3072Omit | null /** * The filter to search for the VectorDocument3072 to update in case it exists. */ where: VectorDocument3072WhereUniqueInput /** * In case the VectorDocument3072 found by the `where` argument doesn't exist, create a new VectorDocument3072 with this data. */ create: XOR /** * In case the VectorDocument3072 was found with the provided `where` argument, update it with this data. */ update: XOR } /** * VectorDocument3072 delete */ export type VectorDocument3072DeleteArgs = { /** * Select specific fields to fetch from the VectorDocument3072 */ select?: VectorDocument3072Select | null /** * Omit specific fields from the VectorDocument3072 */ omit?: VectorDocument3072Omit | null /** * Filter which VectorDocument3072 to delete. */ where: VectorDocument3072WhereUniqueInput } /** * VectorDocument3072 deleteMany */ export type VectorDocument3072DeleteManyArgs = { /** * Filter which VectorDocument3072s to delete */ where?: VectorDocument3072WhereInput /** * Limit how many VectorDocument3072s to delete. */ limit?: number } /** * VectorDocument3072 without action */ export type VectorDocument3072DefaultArgs = { /** * Select specific fields to fetch from the VectorDocument3072 */ select?: VectorDocument3072Select | null /** * Omit specific fields from the VectorDocument3072 */ omit?: VectorDocument3072Omit | null } /** * Model VectorDocumentLegacy */ export type AggregateVectorDocumentLegacy = { _count: VectorDocumentLegacyCountAggregateOutputType | null _min: VectorDocumentLegacyMinAggregateOutputType | null _max: VectorDocumentLegacyMaxAggregateOutputType | null } export type VectorDocumentLegacyMinAggregateOutputType = { id: string | null projectId: string | null content: string | null createdAt: Date | null updatedAt: Date | null } export type VectorDocumentLegacyMaxAggregateOutputType = { id: string | null projectId: string | null content: string | null createdAt: Date | null updatedAt: Date | null } export type VectorDocumentLegacyCountAggregateOutputType = { id: number projectId: number content: number metadata: number createdAt: number updatedAt: number _all: number } export type VectorDocumentLegacyMinAggregateInputType = { id?: true projectId?: true content?: true createdAt?: true updatedAt?: true } export type VectorDocumentLegacyMaxAggregateInputType = { id?: true projectId?: true content?: true createdAt?: true updatedAt?: true } export type VectorDocumentLegacyCountAggregateInputType = { id?: true projectId?: true content?: true metadata?: true createdAt?: true updatedAt?: true _all?: true } export type VectorDocumentLegacyAggregateArgs = { /** * Filter which VectorDocumentLegacy to aggregate. */ where?: VectorDocumentLegacyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of VectorDocumentLegacies to fetch. */ orderBy?: VectorDocumentLegacyOrderByWithRelationInput | VectorDocumentLegacyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: VectorDocumentLegacyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` VectorDocumentLegacies 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` VectorDocumentLegacies. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned VectorDocumentLegacies **/ _count?: true | VectorDocumentLegacyCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: VectorDocumentLegacyMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: VectorDocumentLegacyMaxAggregateInputType } export type GetVectorDocumentLegacyAggregateType = { [P in keyof T & keyof AggregateVectorDocumentLegacy]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type VectorDocumentLegacyGroupByArgs = { where?: VectorDocumentLegacyWhereInput orderBy?: VectorDocumentLegacyOrderByWithAggregationInput | VectorDocumentLegacyOrderByWithAggregationInput[] by: VectorDocumentLegacyScalarFieldEnum[] | VectorDocumentLegacyScalarFieldEnum having?: VectorDocumentLegacyScalarWhereWithAggregatesInput take?: number skip?: number _count?: VectorDocumentLegacyCountAggregateInputType | true _min?: VectorDocumentLegacyMinAggregateInputType _max?: VectorDocumentLegacyMaxAggregateInputType } export type VectorDocumentLegacyGroupByOutputType = { id: string projectId: string content: string metadata: JsonValue createdAt: Date updatedAt: Date _count: VectorDocumentLegacyCountAggregateOutputType | null _min: VectorDocumentLegacyMinAggregateOutputType | null _max: VectorDocumentLegacyMaxAggregateOutputType | null } type GetVectorDocumentLegacyGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof VectorDocumentLegacyGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type VectorDocumentLegacySelect = $Extensions.GetSelect<{ id?: boolean projectId?: boolean content?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["vectorDocumentLegacy"]> export type VectorDocumentLegacySelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean content?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["vectorDocumentLegacy"]> export type VectorDocumentLegacySelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean content?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["vectorDocumentLegacy"]> export type VectorDocumentLegacySelectScalar = { id?: boolean projectId?: boolean content?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean } export type VectorDocumentLegacyOmit = $Extensions.GetOmit<"id" | "projectId" | "content" | "metadata" | "createdAt" | "updatedAt", ExtArgs["result"]["vectorDocumentLegacy"]> export type $VectorDocumentLegacyPayload = { name: "VectorDocumentLegacy" objects: {} scalars: $Extensions.GetPayloadResult<{ id: string projectId: string content: string metadata: Prisma.JsonValue createdAt: Date updatedAt: Date }, ExtArgs["result"]["vectorDocumentLegacy"]> composites: {} } type VectorDocumentLegacyGetPayload = $Result.GetResult type VectorDocumentLegacyCountArgs = Omit & { select?: VectorDocumentLegacyCountAggregateInputType | true } export interface VectorDocumentLegacyDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['VectorDocumentLegacy'], meta: { name: 'VectorDocumentLegacy' } } /** * Find zero or one VectorDocumentLegacy that matches the filter. * @param {VectorDocumentLegacyFindUniqueArgs} args - Arguments to find a VectorDocumentLegacy * @example * // Get one VectorDocumentLegacy * const vectorDocumentLegacy = await prisma.vectorDocumentLegacy.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__VectorDocumentLegacyClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one VectorDocumentLegacy that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {VectorDocumentLegacyFindUniqueOrThrowArgs} args - Arguments to find a VectorDocumentLegacy * @example * // Get one VectorDocumentLegacy * const vectorDocumentLegacy = await prisma.vectorDocumentLegacy.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__VectorDocumentLegacyClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first VectorDocumentLegacy 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 {VectorDocumentLegacyFindFirstArgs} args - Arguments to find a VectorDocumentLegacy * @example * // Get one VectorDocumentLegacy * const vectorDocumentLegacy = await prisma.vectorDocumentLegacy.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__VectorDocumentLegacyClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first VectorDocumentLegacy 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 {VectorDocumentLegacyFindFirstOrThrowArgs} args - Arguments to find a VectorDocumentLegacy * @example * // Get one VectorDocumentLegacy * const vectorDocumentLegacy = await prisma.vectorDocumentLegacy.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__VectorDocumentLegacyClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more VectorDocumentLegacies 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 {VectorDocumentLegacyFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all VectorDocumentLegacies * const vectorDocumentLegacies = await prisma.vectorDocumentLegacy.findMany() * * // Get first 10 VectorDocumentLegacies * const vectorDocumentLegacies = await prisma.vectorDocumentLegacy.findMany({ take: 10 }) * * // Only select the `id` * const vectorDocumentLegacyWithIdOnly = await prisma.vectorDocumentLegacy.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a VectorDocumentLegacy. * @param {VectorDocumentLegacyCreateArgs} args - Arguments to create a VectorDocumentLegacy. * @example * // Create one VectorDocumentLegacy * const VectorDocumentLegacy = await prisma.vectorDocumentLegacy.create({ * data: { * // ... data to create a VectorDocumentLegacy * } * }) * */ create(args: SelectSubset>): Prisma__VectorDocumentLegacyClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many VectorDocumentLegacies. * @param {VectorDocumentLegacyCreateManyArgs} args - Arguments to create many VectorDocumentLegacies. * @example * // Create many VectorDocumentLegacies * const vectorDocumentLegacy = await prisma.vectorDocumentLegacy.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many VectorDocumentLegacies and returns the data saved in the database. * @param {VectorDocumentLegacyCreateManyAndReturnArgs} args - Arguments to create many VectorDocumentLegacies. * @example * // Create many VectorDocumentLegacies * const vectorDocumentLegacy = await prisma.vectorDocumentLegacy.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many VectorDocumentLegacies and only return the `id` * const vectorDocumentLegacyWithIdOnly = await prisma.vectorDocumentLegacy.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", GlobalOmitOptions>> /** * Delete a VectorDocumentLegacy. * @param {VectorDocumentLegacyDeleteArgs} args - Arguments to delete one VectorDocumentLegacy. * @example * // Delete one VectorDocumentLegacy * const VectorDocumentLegacy = await prisma.vectorDocumentLegacy.delete({ * where: { * // ... filter to delete one VectorDocumentLegacy * } * }) * */ delete(args: SelectSubset>): Prisma__VectorDocumentLegacyClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one VectorDocumentLegacy. * @param {VectorDocumentLegacyUpdateArgs} args - Arguments to update one VectorDocumentLegacy. * @example * // Update one VectorDocumentLegacy * const vectorDocumentLegacy = await prisma.vectorDocumentLegacy.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__VectorDocumentLegacyClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more VectorDocumentLegacies. * @param {VectorDocumentLegacyDeleteManyArgs} args - Arguments to filter VectorDocumentLegacies to delete. * @example * // Delete a few VectorDocumentLegacies * const { count } = await prisma.vectorDocumentLegacy.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more VectorDocumentLegacies. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {VectorDocumentLegacyUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many VectorDocumentLegacies * const vectorDocumentLegacy = await prisma.vectorDocumentLegacy.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more VectorDocumentLegacies and returns the data updated in the database. * @param {VectorDocumentLegacyUpdateManyAndReturnArgs} args - Arguments to update many VectorDocumentLegacies. * @example * // Update many VectorDocumentLegacies * const vectorDocumentLegacy = await prisma.vectorDocumentLegacy.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more VectorDocumentLegacies and only return the `id` * const vectorDocumentLegacyWithIdOnly = await prisma.vectorDocumentLegacy.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one VectorDocumentLegacy. * @param {VectorDocumentLegacyUpsertArgs} args - Arguments to update or create a VectorDocumentLegacy. * @example * // Update or create a VectorDocumentLegacy * const vectorDocumentLegacy = await prisma.vectorDocumentLegacy.upsert({ * create: { * // ... data to create a VectorDocumentLegacy * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the VectorDocumentLegacy we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__VectorDocumentLegacyClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of VectorDocumentLegacies. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {VectorDocumentLegacyCountArgs} args - Arguments to filter VectorDocumentLegacies to count. * @example * // Count the number of VectorDocumentLegacies * const count = await prisma.vectorDocumentLegacy.count({ * where: { * // ... the filter for the VectorDocumentLegacies 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 VectorDocumentLegacy. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {VectorDocumentLegacyAggregateArgs} 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 VectorDocumentLegacy. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {VectorDocumentLegacyGroupByArgs} 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 VectorDocumentLegacyGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: VectorDocumentLegacyGroupByArgs['orderBy'] } : { orderBy?: VectorDocumentLegacyGroupByArgs['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 ? GetVectorDocumentLegacyGroupByPayload : Prisma.PrismaPromise /** * Fields of the VectorDocumentLegacy model */ readonly fields: VectorDocumentLegacyFieldRefs; } /** * The delegate class that acts as a "Promise-like" for VectorDocumentLegacy. * 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__VectorDocumentLegacyClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $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 VectorDocumentLegacy model */ interface VectorDocumentLegacyFieldRefs { readonly id: FieldRef<"VectorDocumentLegacy", 'String'> readonly projectId: FieldRef<"VectorDocumentLegacy", 'String'> readonly content: FieldRef<"VectorDocumentLegacy", 'String'> readonly metadata: FieldRef<"VectorDocumentLegacy", 'Json'> readonly createdAt: FieldRef<"VectorDocumentLegacy", 'DateTime'> readonly updatedAt: FieldRef<"VectorDocumentLegacy", 'DateTime'> } // Custom InputTypes /** * VectorDocumentLegacy findUnique */ export type VectorDocumentLegacyFindUniqueArgs = { /** * Select specific fields to fetch from the VectorDocumentLegacy */ select?: VectorDocumentLegacySelect | null /** * Omit specific fields from the VectorDocumentLegacy */ omit?: VectorDocumentLegacyOmit | null /** * Filter, which VectorDocumentLegacy to fetch. */ where: VectorDocumentLegacyWhereUniqueInput } /** * VectorDocumentLegacy findUniqueOrThrow */ export type VectorDocumentLegacyFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the VectorDocumentLegacy */ select?: VectorDocumentLegacySelect | null /** * Omit specific fields from the VectorDocumentLegacy */ omit?: VectorDocumentLegacyOmit | null /** * Filter, which VectorDocumentLegacy to fetch. */ where: VectorDocumentLegacyWhereUniqueInput } /** * VectorDocumentLegacy findFirst */ export type VectorDocumentLegacyFindFirstArgs = { /** * Select specific fields to fetch from the VectorDocumentLegacy */ select?: VectorDocumentLegacySelect | null /** * Omit specific fields from the VectorDocumentLegacy */ omit?: VectorDocumentLegacyOmit | null /** * Filter, which VectorDocumentLegacy to fetch. */ where?: VectorDocumentLegacyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of VectorDocumentLegacies to fetch. */ orderBy?: VectorDocumentLegacyOrderByWithRelationInput | VectorDocumentLegacyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for VectorDocumentLegacies. */ cursor?: VectorDocumentLegacyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` VectorDocumentLegacies 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` VectorDocumentLegacies. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of VectorDocumentLegacies. */ distinct?: VectorDocumentLegacyScalarFieldEnum | VectorDocumentLegacyScalarFieldEnum[] } /** * VectorDocumentLegacy findFirstOrThrow */ export type VectorDocumentLegacyFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the VectorDocumentLegacy */ select?: VectorDocumentLegacySelect | null /** * Omit specific fields from the VectorDocumentLegacy */ omit?: VectorDocumentLegacyOmit | null /** * Filter, which VectorDocumentLegacy to fetch. */ where?: VectorDocumentLegacyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of VectorDocumentLegacies to fetch. */ orderBy?: VectorDocumentLegacyOrderByWithRelationInput | VectorDocumentLegacyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for VectorDocumentLegacies. */ cursor?: VectorDocumentLegacyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` VectorDocumentLegacies 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` VectorDocumentLegacies. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of VectorDocumentLegacies. */ distinct?: VectorDocumentLegacyScalarFieldEnum | VectorDocumentLegacyScalarFieldEnum[] } /** * VectorDocumentLegacy findMany */ export type VectorDocumentLegacyFindManyArgs = { /** * Select specific fields to fetch from the VectorDocumentLegacy */ select?: VectorDocumentLegacySelect | null /** * Omit specific fields from the VectorDocumentLegacy */ omit?: VectorDocumentLegacyOmit | null /** * Filter, which VectorDocumentLegacies to fetch. */ where?: VectorDocumentLegacyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of VectorDocumentLegacies to fetch. */ orderBy?: VectorDocumentLegacyOrderByWithRelationInput | VectorDocumentLegacyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing VectorDocumentLegacies. */ cursor?: VectorDocumentLegacyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` VectorDocumentLegacies 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` VectorDocumentLegacies. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of VectorDocumentLegacies. */ distinct?: VectorDocumentLegacyScalarFieldEnum | VectorDocumentLegacyScalarFieldEnum[] } /** * VectorDocumentLegacy create */ export type VectorDocumentLegacyCreateArgs = { /** * Select specific fields to fetch from the VectorDocumentLegacy */ select?: VectorDocumentLegacySelect | null /** * Omit specific fields from the VectorDocumentLegacy */ omit?: VectorDocumentLegacyOmit | null /** * The data needed to create a VectorDocumentLegacy. */ data: XOR } /** * VectorDocumentLegacy createMany */ export type VectorDocumentLegacyCreateManyArgs = { /** * The data used to create many VectorDocumentLegacies. */ data: VectorDocumentLegacyCreateManyInput | VectorDocumentLegacyCreateManyInput[] skipDuplicates?: boolean } /** * VectorDocumentLegacy createManyAndReturn */ export type VectorDocumentLegacyCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the VectorDocumentLegacy */ select?: VectorDocumentLegacySelectCreateManyAndReturn | null /** * Omit specific fields from the VectorDocumentLegacy */ omit?: VectorDocumentLegacyOmit | null /** * The data used to create many VectorDocumentLegacies. */ data: VectorDocumentLegacyCreateManyInput | VectorDocumentLegacyCreateManyInput[] skipDuplicates?: boolean } /** * VectorDocumentLegacy update */ export type VectorDocumentLegacyUpdateArgs = { /** * Select specific fields to fetch from the VectorDocumentLegacy */ select?: VectorDocumentLegacySelect | null /** * Omit specific fields from the VectorDocumentLegacy */ omit?: VectorDocumentLegacyOmit | null /** * The data needed to update a VectorDocumentLegacy. */ data: XOR /** * Choose, which VectorDocumentLegacy to update. */ where: VectorDocumentLegacyWhereUniqueInput } /** * VectorDocumentLegacy updateMany */ export type VectorDocumentLegacyUpdateManyArgs = { /** * The data used to update VectorDocumentLegacies. */ data: XOR /** * Filter which VectorDocumentLegacies to update */ where?: VectorDocumentLegacyWhereInput /** * Limit how many VectorDocumentLegacies to update. */ limit?: number } /** * VectorDocumentLegacy updateManyAndReturn */ export type VectorDocumentLegacyUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the VectorDocumentLegacy */ select?: VectorDocumentLegacySelectUpdateManyAndReturn | null /** * Omit specific fields from the VectorDocumentLegacy */ omit?: VectorDocumentLegacyOmit | null /** * The data used to update VectorDocumentLegacies. */ data: XOR /** * Filter which VectorDocumentLegacies to update */ where?: VectorDocumentLegacyWhereInput /** * Limit how many VectorDocumentLegacies to update. */ limit?: number } /** * VectorDocumentLegacy upsert */ export type VectorDocumentLegacyUpsertArgs = { /** * Select specific fields to fetch from the VectorDocumentLegacy */ select?: VectorDocumentLegacySelect | null /** * Omit specific fields from the VectorDocumentLegacy */ omit?: VectorDocumentLegacyOmit | null /** * The filter to search for the VectorDocumentLegacy to update in case it exists. */ where: VectorDocumentLegacyWhereUniqueInput /** * In case the VectorDocumentLegacy found by the `where` argument doesn't exist, create a new VectorDocumentLegacy with this data. */ create: XOR /** * In case the VectorDocumentLegacy was found with the provided `where` argument, update it with this data. */ update: XOR } /** * VectorDocumentLegacy delete */ export type VectorDocumentLegacyDeleteArgs = { /** * Select specific fields to fetch from the VectorDocumentLegacy */ select?: VectorDocumentLegacySelect | null /** * Omit specific fields from the VectorDocumentLegacy */ omit?: VectorDocumentLegacyOmit | null /** * Filter which VectorDocumentLegacy to delete. */ where: VectorDocumentLegacyWhereUniqueInput } /** * VectorDocumentLegacy deleteMany */ export type VectorDocumentLegacyDeleteManyArgs = { /** * Filter which VectorDocumentLegacies to delete */ where?: VectorDocumentLegacyWhereInput /** * Limit how many VectorDocumentLegacies to delete. */ limit?: number } /** * VectorDocumentLegacy without action */ export type VectorDocumentLegacyDefaultArgs = { /** * Select specific fields to fetch from the VectorDocumentLegacy */ select?: VectorDocumentLegacySelect | null /** * Omit specific fields from the VectorDocumentLegacy */ omit?: VectorDocumentLegacyOmit | null } /** * Model VectorDocument4096 */ export type AggregateVectorDocument4096 = { _count: VectorDocument4096CountAggregateOutputType | null _min: VectorDocument4096MinAggregateOutputType | null _max: VectorDocument4096MaxAggregateOutputType | null } export type VectorDocument4096MinAggregateOutputType = { id: string | null projectId: string | null content: string | null createdAt: Date | null updatedAt: Date | null } export type VectorDocument4096MaxAggregateOutputType = { id: string | null projectId: string | null content: string | null createdAt: Date | null updatedAt: Date | null } export type VectorDocument4096CountAggregateOutputType = { id: number projectId: number content: number metadata: number createdAt: number updatedAt: number _all: number } export type VectorDocument4096MinAggregateInputType = { id?: true projectId?: true content?: true createdAt?: true updatedAt?: true } export type VectorDocument4096MaxAggregateInputType = { id?: true projectId?: true content?: true createdAt?: true updatedAt?: true } export type VectorDocument4096CountAggregateInputType = { id?: true projectId?: true content?: true metadata?: true createdAt?: true updatedAt?: true _all?: true } export type VectorDocument4096AggregateArgs = { /** * Filter which VectorDocument4096 to aggregate. */ where?: VectorDocument4096WhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of VectorDocument4096s to fetch. */ orderBy?: VectorDocument4096OrderByWithRelationInput | VectorDocument4096OrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: VectorDocument4096WhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` VectorDocument4096s 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` VectorDocument4096s. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned VectorDocument4096s **/ _count?: true | VectorDocument4096CountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: VectorDocument4096MinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: VectorDocument4096MaxAggregateInputType } export type GetVectorDocument4096AggregateType = { [P in keyof T & keyof AggregateVectorDocument4096]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type VectorDocument4096GroupByArgs = { where?: VectorDocument4096WhereInput orderBy?: VectorDocument4096OrderByWithAggregationInput | VectorDocument4096OrderByWithAggregationInput[] by: VectorDocument4096ScalarFieldEnum[] | VectorDocument4096ScalarFieldEnum having?: VectorDocument4096ScalarWhereWithAggregatesInput take?: number skip?: number _count?: VectorDocument4096CountAggregateInputType | true _min?: VectorDocument4096MinAggregateInputType _max?: VectorDocument4096MaxAggregateInputType } export type VectorDocument4096GroupByOutputType = { id: string projectId: string content: string metadata: JsonValue createdAt: Date updatedAt: Date _count: VectorDocument4096CountAggregateOutputType | null _min: VectorDocument4096MinAggregateOutputType | null _max: VectorDocument4096MaxAggregateOutputType | null } type GetVectorDocument4096GroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof VectorDocument4096GroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type VectorDocument4096Select = $Extensions.GetSelect<{ id?: boolean projectId?: boolean content?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["vectorDocument4096"]> export type VectorDocument4096SelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean content?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["vectorDocument4096"]> export type VectorDocument4096SelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean content?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["vectorDocument4096"]> export type VectorDocument4096SelectScalar = { id?: boolean projectId?: boolean content?: boolean metadata?: boolean createdAt?: boolean updatedAt?: boolean } export type VectorDocument4096Omit = $Extensions.GetOmit<"id" | "projectId" | "content" | "metadata" | "createdAt" | "updatedAt", ExtArgs["result"]["vectorDocument4096"]> export type $VectorDocument4096Payload = { name: "VectorDocument4096" objects: {} scalars: $Extensions.GetPayloadResult<{ id: string projectId: string content: string metadata: Prisma.JsonValue createdAt: Date updatedAt: Date }, ExtArgs["result"]["vectorDocument4096"]> composites: {} } type VectorDocument4096GetPayload = $Result.GetResult type VectorDocument4096CountArgs = Omit & { select?: VectorDocument4096CountAggregateInputType | true } export interface VectorDocument4096Delegate { [K: symbol]: { types: Prisma.TypeMap['model']['VectorDocument4096'], meta: { name: 'VectorDocument4096' } } /** * Find zero or one VectorDocument4096 that matches the filter. * @param {VectorDocument4096FindUniqueArgs} args - Arguments to find a VectorDocument4096 * @example * // Get one VectorDocument4096 * const vectorDocument4096 = await prisma.vectorDocument4096.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__VectorDocument4096Client<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one VectorDocument4096 that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {VectorDocument4096FindUniqueOrThrowArgs} args - Arguments to find a VectorDocument4096 * @example * // Get one VectorDocument4096 * const vectorDocument4096 = await prisma.vectorDocument4096.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__VectorDocument4096Client<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first VectorDocument4096 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 {VectorDocument4096FindFirstArgs} args - Arguments to find a VectorDocument4096 * @example * // Get one VectorDocument4096 * const vectorDocument4096 = await prisma.vectorDocument4096.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__VectorDocument4096Client<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first VectorDocument4096 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 {VectorDocument4096FindFirstOrThrowArgs} args - Arguments to find a VectorDocument4096 * @example * // Get one VectorDocument4096 * const vectorDocument4096 = await prisma.vectorDocument4096.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__VectorDocument4096Client<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more VectorDocument4096s 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 {VectorDocument4096FindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all VectorDocument4096s * const vectorDocument4096s = await prisma.vectorDocument4096.findMany() * * // Get first 10 VectorDocument4096s * const vectorDocument4096s = await prisma.vectorDocument4096.findMany({ take: 10 }) * * // Only select the `id` * const vectorDocument4096WithIdOnly = await prisma.vectorDocument4096.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a VectorDocument4096. * @param {VectorDocument4096CreateArgs} args - Arguments to create a VectorDocument4096. * @example * // Create one VectorDocument4096 * const VectorDocument4096 = await prisma.vectorDocument4096.create({ * data: { * // ... data to create a VectorDocument4096 * } * }) * */ create(args: SelectSubset>): Prisma__VectorDocument4096Client<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many VectorDocument4096s. * @param {VectorDocument4096CreateManyArgs} args - Arguments to create many VectorDocument4096s. * @example * // Create many VectorDocument4096s * const vectorDocument4096 = await prisma.vectorDocument4096.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many VectorDocument4096s and returns the data saved in the database. * @param {VectorDocument4096CreateManyAndReturnArgs} args - Arguments to create many VectorDocument4096s. * @example * // Create many VectorDocument4096s * const vectorDocument4096 = await prisma.vectorDocument4096.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many VectorDocument4096s and only return the `id` * const vectorDocument4096WithIdOnly = await prisma.vectorDocument4096.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", GlobalOmitOptions>> /** * Delete a VectorDocument4096. * @param {VectorDocument4096DeleteArgs} args - Arguments to delete one VectorDocument4096. * @example * // Delete one VectorDocument4096 * const VectorDocument4096 = await prisma.vectorDocument4096.delete({ * where: { * // ... filter to delete one VectorDocument4096 * } * }) * */ delete(args: SelectSubset>): Prisma__VectorDocument4096Client<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one VectorDocument4096. * @param {VectorDocument4096UpdateArgs} args - Arguments to update one VectorDocument4096. * @example * // Update one VectorDocument4096 * const vectorDocument4096 = await prisma.vectorDocument4096.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__VectorDocument4096Client<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more VectorDocument4096s. * @param {VectorDocument4096DeleteManyArgs} args - Arguments to filter VectorDocument4096s to delete. * @example * // Delete a few VectorDocument4096s * const { count } = await prisma.vectorDocument4096.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more VectorDocument4096s. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {VectorDocument4096UpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many VectorDocument4096s * const vectorDocument4096 = await prisma.vectorDocument4096.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more VectorDocument4096s and returns the data updated in the database. * @param {VectorDocument4096UpdateManyAndReturnArgs} args - Arguments to update many VectorDocument4096s. * @example * // Update many VectorDocument4096s * const vectorDocument4096 = await prisma.vectorDocument4096.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more VectorDocument4096s and only return the `id` * const vectorDocument4096WithIdOnly = await prisma.vectorDocument4096.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one VectorDocument4096. * @param {VectorDocument4096UpsertArgs} args - Arguments to update or create a VectorDocument4096. * @example * // Update or create a VectorDocument4096 * const vectorDocument4096 = await prisma.vectorDocument4096.upsert({ * create: { * // ... data to create a VectorDocument4096 * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the VectorDocument4096 we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__VectorDocument4096Client<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of VectorDocument4096s. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {VectorDocument4096CountArgs} args - Arguments to filter VectorDocument4096s to count. * @example * // Count the number of VectorDocument4096s * const count = await prisma.vectorDocument4096.count({ * where: { * // ... the filter for the VectorDocument4096s 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 VectorDocument4096. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {VectorDocument4096AggregateArgs} 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 VectorDocument4096. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {VectorDocument4096GroupByArgs} 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 VectorDocument4096GroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: VectorDocument4096GroupByArgs['orderBy'] } : { orderBy?: VectorDocument4096GroupByArgs['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 ? GetVectorDocument4096GroupByPayload : Prisma.PrismaPromise /** * Fields of the VectorDocument4096 model */ readonly fields: VectorDocument4096FieldRefs; } /** * The delegate class that acts as a "Promise-like" for VectorDocument4096. * 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__VectorDocument4096Client extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $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 VectorDocument4096 model */ interface VectorDocument4096FieldRefs { readonly id: FieldRef<"VectorDocument4096", 'String'> readonly projectId: FieldRef<"VectorDocument4096", 'String'> readonly content: FieldRef<"VectorDocument4096", 'String'> readonly metadata: FieldRef<"VectorDocument4096", 'Json'> readonly createdAt: FieldRef<"VectorDocument4096", 'DateTime'> readonly updatedAt: FieldRef<"VectorDocument4096", 'DateTime'> } // Custom InputTypes /** * VectorDocument4096 findUnique */ export type VectorDocument4096FindUniqueArgs = { /** * Select specific fields to fetch from the VectorDocument4096 */ select?: VectorDocument4096Select | null /** * Omit specific fields from the VectorDocument4096 */ omit?: VectorDocument4096Omit | null /** * Filter, which VectorDocument4096 to fetch. */ where: VectorDocument4096WhereUniqueInput } /** * VectorDocument4096 findUniqueOrThrow */ export type VectorDocument4096FindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the VectorDocument4096 */ select?: VectorDocument4096Select | null /** * Omit specific fields from the VectorDocument4096 */ omit?: VectorDocument4096Omit | null /** * Filter, which VectorDocument4096 to fetch. */ where: VectorDocument4096WhereUniqueInput } /** * VectorDocument4096 findFirst */ export type VectorDocument4096FindFirstArgs = { /** * Select specific fields to fetch from the VectorDocument4096 */ select?: VectorDocument4096Select | null /** * Omit specific fields from the VectorDocument4096 */ omit?: VectorDocument4096Omit | null /** * Filter, which VectorDocument4096 to fetch. */ where?: VectorDocument4096WhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of VectorDocument4096s to fetch. */ orderBy?: VectorDocument4096OrderByWithRelationInput | VectorDocument4096OrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for VectorDocument4096s. */ cursor?: VectorDocument4096WhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` VectorDocument4096s 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` VectorDocument4096s. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of VectorDocument4096s. */ distinct?: VectorDocument4096ScalarFieldEnum | VectorDocument4096ScalarFieldEnum[] } /** * VectorDocument4096 findFirstOrThrow */ export type VectorDocument4096FindFirstOrThrowArgs = { /** * Select specific fields to fetch from the VectorDocument4096 */ select?: VectorDocument4096Select | null /** * Omit specific fields from the VectorDocument4096 */ omit?: VectorDocument4096Omit | null /** * Filter, which VectorDocument4096 to fetch. */ where?: VectorDocument4096WhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of VectorDocument4096s to fetch. */ orderBy?: VectorDocument4096OrderByWithRelationInput | VectorDocument4096OrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for VectorDocument4096s. */ cursor?: VectorDocument4096WhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` VectorDocument4096s 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` VectorDocument4096s. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of VectorDocument4096s. */ distinct?: VectorDocument4096ScalarFieldEnum | VectorDocument4096ScalarFieldEnum[] } /** * VectorDocument4096 findMany */ export type VectorDocument4096FindManyArgs = { /** * Select specific fields to fetch from the VectorDocument4096 */ select?: VectorDocument4096Select | null /** * Omit specific fields from the VectorDocument4096 */ omit?: VectorDocument4096Omit | null /** * Filter, which VectorDocument4096s to fetch. */ where?: VectorDocument4096WhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of VectorDocument4096s to fetch. */ orderBy?: VectorDocument4096OrderByWithRelationInput | VectorDocument4096OrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing VectorDocument4096s. */ cursor?: VectorDocument4096WhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` VectorDocument4096s 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` VectorDocument4096s. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of VectorDocument4096s. */ distinct?: VectorDocument4096ScalarFieldEnum | VectorDocument4096ScalarFieldEnum[] } /** * VectorDocument4096 create */ export type VectorDocument4096CreateArgs = { /** * Select specific fields to fetch from the VectorDocument4096 */ select?: VectorDocument4096Select | null /** * Omit specific fields from the VectorDocument4096 */ omit?: VectorDocument4096Omit | null /** * The data needed to create a VectorDocument4096. */ data: XOR } /** * VectorDocument4096 createMany */ export type VectorDocument4096CreateManyArgs = { /** * The data used to create many VectorDocument4096s. */ data: VectorDocument4096CreateManyInput | VectorDocument4096CreateManyInput[] skipDuplicates?: boolean } /** * VectorDocument4096 createManyAndReturn */ export type VectorDocument4096CreateManyAndReturnArgs = { /** * Select specific fields to fetch from the VectorDocument4096 */ select?: VectorDocument4096SelectCreateManyAndReturn | null /** * Omit specific fields from the VectorDocument4096 */ omit?: VectorDocument4096Omit | null /** * The data used to create many VectorDocument4096s. */ data: VectorDocument4096CreateManyInput | VectorDocument4096CreateManyInput[] skipDuplicates?: boolean } /** * VectorDocument4096 update */ export type VectorDocument4096UpdateArgs = { /** * Select specific fields to fetch from the VectorDocument4096 */ select?: VectorDocument4096Select | null /** * Omit specific fields from the VectorDocument4096 */ omit?: VectorDocument4096Omit | null /** * The data needed to update a VectorDocument4096. */ data: XOR /** * Choose, which VectorDocument4096 to update. */ where: VectorDocument4096WhereUniqueInput } /** * VectorDocument4096 updateMany */ export type VectorDocument4096UpdateManyArgs = { /** * The data used to update VectorDocument4096s. */ data: XOR /** * Filter which VectorDocument4096s to update */ where?: VectorDocument4096WhereInput /** * Limit how many VectorDocument4096s to update. */ limit?: number } /** * VectorDocument4096 updateManyAndReturn */ export type VectorDocument4096UpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the VectorDocument4096 */ select?: VectorDocument4096SelectUpdateManyAndReturn | null /** * Omit specific fields from the VectorDocument4096 */ omit?: VectorDocument4096Omit | null /** * The data used to update VectorDocument4096s. */ data: XOR /** * Filter which VectorDocument4096s to update */ where?: VectorDocument4096WhereInput /** * Limit how many VectorDocument4096s to update. */ limit?: number } /** * VectorDocument4096 upsert */ export type VectorDocument4096UpsertArgs = { /** * Select specific fields to fetch from the VectorDocument4096 */ select?: VectorDocument4096Select | null /** * Omit specific fields from the VectorDocument4096 */ omit?: VectorDocument4096Omit | null /** * The filter to search for the VectorDocument4096 to update in case it exists. */ where: VectorDocument4096WhereUniqueInput /** * In case the VectorDocument4096 found by the `where` argument doesn't exist, create a new VectorDocument4096 with this data. */ create: XOR /** * In case the VectorDocument4096 was found with the provided `where` argument, update it with this data. */ update: XOR } /** * VectorDocument4096 delete */ export type VectorDocument4096DeleteArgs = { /** * Select specific fields to fetch from the VectorDocument4096 */ select?: VectorDocument4096Select | null /** * Omit specific fields from the VectorDocument4096 */ omit?: VectorDocument4096Omit | null /** * Filter which VectorDocument4096 to delete. */ where: VectorDocument4096WhereUniqueInput } /** * VectorDocument4096 deleteMany */ export type VectorDocument4096DeleteManyArgs = { /** * Filter which VectorDocument4096s to delete */ where?: VectorDocument4096WhereInput /** * Limit how many VectorDocument4096s to delete. */ limit?: number } /** * VectorDocument4096 without action */ export type VectorDocument4096DefaultArgs = { /** * Select specific fields to fetch from the VectorDocument4096 */ select?: VectorDocument4096Select | null /** * Omit specific fields from the VectorDocument4096 */ omit?: VectorDocument4096Omit | null } /** * Model IndexJob */ export type AggregateIndexJob = { _count: IndexJobCountAggregateOutputType | null _avg: IndexJobAvgAggregateOutputType | null _sum: IndexJobSumAggregateOutputType | null _min: IndexJobMinAggregateOutputType | null _max: IndexJobMaxAggregateOutputType | null } export type IndexJobAvgAggregateOutputType = { current: number | null total: number | null percentage: number | null filesIndexed: number | null chunksIndexed: number | null errors: number | null duration: number | null createdAt: number | null startedAt: number | null completedAt: number | null heartbeatAt: number | null parserDiagnosticsCount: number | null parserRecoveredFiles: number | null parserHardFailureFiles: number | null parserStaleFiles: number | null } export type IndexJobSumAggregateOutputType = { current: number | null total: number | null percentage: number | null filesIndexed: number | null chunksIndexed: number | null errors: number | null duration: number | null createdAt: bigint | null startedAt: bigint | null completedAt: bigint | null heartbeatAt: bigint | null parserDiagnosticsCount: number | null parserRecoveredFiles: number | null parserHardFailureFiles: number | null parserStaleFiles: number | null } export type IndexJobMinAggregateOutputType = { jobId: string | null projectId: string | null projectPath: string | null status: string | null current: number | null total: number | null percentage: number | null filesIndexed: number | null chunksIndexed: number | null errors: number | null duration: number | null error: string | null createdAt: bigint | null startedAt: bigint | null completedAt: bigint | null heartbeatAt: bigint | null activatedGraphGenerationId: string | null parserDiagnosticsCount: number | null parserRecoveredFiles: number | null parserHardFailureFiles: number | null parserStaleFiles: number | null } export type IndexJobMaxAggregateOutputType = { jobId: string | null projectId: string | null projectPath: string | null status: string | null current: number | null total: number | null percentage: number | null filesIndexed: number | null chunksIndexed: number | null errors: number | null duration: number | null error: string | null createdAt: bigint | null startedAt: bigint | null completedAt: bigint | null heartbeatAt: bigint | null activatedGraphGenerationId: string | null parserDiagnosticsCount: number | null parserRecoveredFiles: number | null parserHardFailureFiles: number | null parserStaleFiles: number | null } export type IndexJobCountAggregateOutputType = { jobId: number projectId: number projectPath: number status: number current: number total: number percentage: number filesIndexed: number chunksIndexed: number errors: number duration: number error: number createdAt: number startedAt: number completedAt: number heartbeatAt: number activatedGraphGenerationId: number parserDiagnosticsCount: number parserRecoveredFiles: number parserHardFailureFiles: number parserStaleFiles: number parserLanguageCounts: number _all: number } export type IndexJobAvgAggregateInputType = { current?: true total?: true percentage?: true filesIndexed?: true chunksIndexed?: true errors?: true duration?: true createdAt?: true startedAt?: true completedAt?: true heartbeatAt?: true parserDiagnosticsCount?: true parserRecoveredFiles?: true parserHardFailureFiles?: true parserStaleFiles?: true } export type IndexJobSumAggregateInputType = { current?: true total?: true percentage?: true filesIndexed?: true chunksIndexed?: true errors?: true duration?: true createdAt?: true startedAt?: true completedAt?: true heartbeatAt?: true parserDiagnosticsCount?: true parserRecoveredFiles?: true parserHardFailureFiles?: true parserStaleFiles?: true } export type IndexJobMinAggregateInputType = { jobId?: true projectId?: true projectPath?: true status?: true current?: true total?: true percentage?: true filesIndexed?: true chunksIndexed?: true errors?: true duration?: true error?: true createdAt?: true startedAt?: true completedAt?: true heartbeatAt?: true activatedGraphGenerationId?: true parserDiagnosticsCount?: true parserRecoveredFiles?: true parserHardFailureFiles?: true parserStaleFiles?: true } export type IndexJobMaxAggregateInputType = { jobId?: true projectId?: true projectPath?: true status?: true current?: true total?: true percentage?: true filesIndexed?: true chunksIndexed?: true errors?: true duration?: true error?: true createdAt?: true startedAt?: true completedAt?: true heartbeatAt?: true activatedGraphGenerationId?: true parserDiagnosticsCount?: true parserRecoveredFiles?: true parserHardFailureFiles?: true parserStaleFiles?: true } export type IndexJobCountAggregateInputType = { jobId?: true projectId?: true projectPath?: true status?: true current?: true total?: true percentage?: true filesIndexed?: true chunksIndexed?: true errors?: true duration?: true error?: true createdAt?: true startedAt?: true completedAt?: true heartbeatAt?: true activatedGraphGenerationId?: true parserDiagnosticsCount?: true parserRecoveredFiles?: true parserHardFailureFiles?: true parserStaleFiles?: true parserLanguageCounts?: true _all?: true } export type IndexJobAggregateArgs = { /** * Filter which IndexJob to aggregate. */ where?: IndexJobWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of IndexJobs to fetch. */ orderBy?: IndexJobOrderByWithRelationInput | IndexJobOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: IndexJobWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` IndexJobs 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` IndexJobs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned IndexJobs **/ _count?: true | IndexJobCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: IndexJobAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: IndexJobSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: IndexJobMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: IndexJobMaxAggregateInputType } export type GetIndexJobAggregateType = { [P in keyof T & keyof AggregateIndexJob]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type IndexJobGroupByArgs = { where?: IndexJobWhereInput orderBy?: IndexJobOrderByWithAggregationInput | IndexJobOrderByWithAggregationInput[] by: IndexJobScalarFieldEnum[] | IndexJobScalarFieldEnum having?: IndexJobScalarWhereWithAggregatesInput take?: number skip?: number _count?: IndexJobCountAggregateInputType | true _avg?: IndexJobAvgAggregateInputType _sum?: IndexJobSumAggregateInputType _min?: IndexJobMinAggregateInputType _max?: IndexJobMaxAggregateInputType } export type IndexJobGroupByOutputType = { jobId: string projectId: string projectPath: string status: string current: number total: number percentage: number filesIndexed: number | null chunksIndexed: number | null errors: number | null duration: number | null error: string | null createdAt: bigint startedAt: bigint | null completedAt: bigint | null heartbeatAt: bigint | null activatedGraphGenerationId: string | null parserDiagnosticsCount: number | null parserRecoveredFiles: number | null parserHardFailureFiles: number | null parserStaleFiles: number | null parserLanguageCounts: JsonValue | null _count: IndexJobCountAggregateOutputType | null _avg: IndexJobAvgAggregateOutputType | null _sum: IndexJobSumAggregateOutputType | null _min: IndexJobMinAggregateOutputType | null _max: IndexJobMaxAggregateOutputType | null } type GetIndexJobGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof IndexJobGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type IndexJobSelect = $Extensions.GetSelect<{ jobId?: boolean projectId?: boolean projectPath?: boolean status?: boolean current?: boolean total?: boolean percentage?: boolean filesIndexed?: boolean chunksIndexed?: boolean errors?: boolean duration?: boolean error?: boolean createdAt?: boolean startedAt?: boolean completedAt?: boolean heartbeatAt?: boolean activatedGraphGenerationId?: boolean parserDiagnosticsCount?: boolean parserRecoveredFiles?: boolean parserHardFailureFiles?: boolean parserStaleFiles?: boolean parserLanguageCounts?: boolean }, ExtArgs["result"]["indexJob"]> export type IndexJobSelectCreateManyAndReturn = $Extensions.GetSelect<{ jobId?: boolean projectId?: boolean projectPath?: boolean status?: boolean current?: boolean total?: boolean percentage?: boolean filesIndexed?: boolean chunksIndexed?: boolean errors?: boolean duration?: boolean error?: boolean createdAt?: boolean startedAt?: boolean completedAt?: boolean heartbeatAt?: boolean activatedGraphGenerationId?: boolean parserDiagnosticsCount?: boolean parserRecoveredFiles?: boolean parserHardFailureFiles?: boolean parserStaleFiles?: boolean parserLanguageCounts?: boolean }, ExtArgs["result"]["indexJob"]> export type IndexJobSelectUpdateManyAndReturn = $Extensions.GetSelect<{ jobId?: boolean projectId?: boolean projectPath?: boolean status?: boolean current?: boolean total?: boolean percentage?: boolean filesIndexed?: boolean chunksIndexed?: boolean errors?: boolean duration?: boolean error?: boolean createdAt?: boolean startedAt?: boolean completedAt?: boolean heartbeatAt?: boolean activatedGraphGenerationId?: boolean parserDiagnosticsCount?: boolean parserRecoveredFiles?: boolean parserHardFailureFiles?: boolean parserStaleFiles?: boolean parserLanguageCounts?: boolean }, ExtArgs["result"]["indexJob"]> export type IndexJobSelectScalar = { jobId?: boolean projectId?: boolean projectPath?: boolean status?: boolean current?: boolean total?: boolean percentage?: boolean filesIndexed?: boolean chunksIndexed?: boolean errors?: boolean duration?: boolean error?: boolean createdAt?: boolean startedAt?: boolean completedAt?: boolean heartbeatAt?: boolean activatedGraphGenerationId?: boolean parserDiagnosticsCount?: boolean parserRecoveredFiles?: boolean parserHardFailureFiles?: boolean parserStaleFiles?: boolean parserLanguageCounts?: boolean } export type IndexJobOmit = $Extensions.GetOmit<"jobId" | "projectId" | "projectPath" | "status" | "current" | "total" | "percentage" | "filesIndexed" | "chunksIndexed" | "errors" | "duration" | "error" | "createdAt" | "startedAt" | "completedAt" | "heartbeatAt" | "activatedGraphGenerationId" | "parserDiagnosticsCount" | "parserRecoveredFiles" | "parserHardFailureFiles" | "parserStaleFiles" | "parserLanguageCounts", ExtArgs["result"]["indexJob"]> export type $IndexJobPayload = { name: "IndexJob" objects: {} scalars: $Extensions.GetPayloadResult<{ jobId: string projectId: string projectPath: string status: string current: number total: number percentage: number filesIndexed: number | null chunksIndexed: number | null errors: number | null duration: number | null error: string | null createdAt: bigint startedAt: bigint | null completedAt: bigint | null heartbeatAt: bigint | null activatedGraphGenerationId: string | null parserDiagnosticsCount: number | null parserRecoveredFiles: number | null parserHardFailureFiles: number | null parserStaleFiles: number | null parserLanguageCounts: Prisma.JsonValue | null }, ExtArgs["result"]["indexJob"]> composites: {} } type IndexJobGetPayload = $Result.GetResult type IndexJobCountArgs = Omit & { select?: IndexJobCountAggregateInputType | true } export interface IndexJobDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['IndexJob'], meta: { name: 'IndexJob' } } /** * Find zero or one IndexJob that matches the filter. * @param {IndexJobFindUniqueArgs} args - Arguments to find a IndexJob * @example * // Get one IndexJob * const indexJob = await prisma.indexJob.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__IndexJobClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one IndexJob that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {IndexJobFindUniqueOrThrowArgs} args - Arguments to find a IndexJob * @example * // Get one IndexJob * const indexJob = await prisma.indexJob.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__IndexJobClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first IndexJob 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 {IndexJobFindFirstArgs} args - Arguments to find a IndexJob * @example * // Get one IndexJob * const indexJob = await prisma.indexJob.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__IndexJobClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first IndexJob 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 {IndexJobFindFirstOrThrowArgs} args - Arguments to find a IndexJob * @example * // Get one IndexJob * const indexJob = await prisma.indexJob.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__IndexJobClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more IndexJobs 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 {IndexJobFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all IndexJobs * const indexJobs = await prisma.indexJob.findMany() * * // Get first 10 IndexJobs * const indexJobs = await prisma.indexJob.findMany({ take: 10 }) * * // Only select the `jobId` * const indexJobWithJobIdOnly = await prisma.indexJob.findMany({ select: { jobId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a IndexJob. * @param {IndexJobCreateArgs} args - Arguments to create a IndexJob. * @example * // Create one IndexJob * const IndexJob = await prisma.indexJob.create({ * data: { * // ... data to create a IndexJob * } * }) * */ create(args: SelectSubset>): Prisma__IndexJobClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many IndexJobs. * @param {IndexJobCreateManyArgs} args - Arguments to create many IndexJobs. * @example * // Create many IndexJobs * const indexJob = await prisma.indexJob.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many IndexJobs and returns the data saved in the database. * @param {IndexJobCreateManyAndReturnArgs} args - Arguments to create many IndexJobs. * @example * // Create many IndexJobs * const indexJob = await prisma.indexJob.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many IndexJobs and only return the `jobId` * const indexJobWithJobIdOnly = await prisma.indexJob.createManyAndReturn({ * select: { jobId: 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", GlobalOmitOptions>> /** * Delete a IndexJob. * @param {IndexJobDeleteArgs} args - Arguments to delete one IndexJob. * @example * // Delete one IndexJob * const IndexJob = await prisma.indexJob.delete({ * where: { * // ... filter to delete one IndexJob * } * }) * */ delete(args: SelectSubset>): Prisma__IndexJobClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one IndexJob. * @param {IndexJobUpdateArgs} args - Arguments to update one IndexJob. * @example * // Update one IndexJob * const indexJob = await prisma.indexJob.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__IndexJobClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more IndexJobs. * @param {IndexJobDeleteManyArgs} args - Arguments to filter IndexJobs to delete. * @example * // Delete a few IndexJobs * const { count } = await prisma.indexJob.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more IndexJobs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {IndexJobUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many IndexJobs * const indexJob = await prisma.indexJob.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more IndexJobs and returns the data updated in the database. * @param {IndexJobUpdateManyAndReturnArgs} args - Arguments to update many IndexJobs. * @example * // Update many IndexJobs * const indexJob = await prisma.indexJob.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more IndexJobs and only return the `jobId` * const indexJobWithJobIdOnly = await prisma.indexJob.updateManyAndReturn({ * select: { jobId: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one IndexJob. * @param {IndexJobUpsertArgs} args - Arguments to update or create a IndexJob. * @example * // Update or create a IndexJob * const indexJob = await prisma.indexJob.upsert({ * create: { * // ... data to create a IndexJob * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the IndexJob we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__IndexJobClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of IndexJobs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {IndexJobCountArgs} args - Arguments to filter IndexJobs to count. * @example * // Count the number of IndexJobs * const count = await prisma.indexJob.count({ * where: { * // ... the filter for the IndexJobs 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 IndexJob. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {IndexJobAggregateArgs} 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 IndexJob. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {IndexJobGroupByArgs} 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 IndexJobGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: IndexJobGroupByArgs['orderBy'] } : { orderBy?: IndexJobGroupByArgs['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 ? GetIndexJobGroupByPayload : Prisma.PrismaPromise /** * Fields of the IndexJob model */ readonly fields: IndexJobFieldRefs; } /** * The delegate class that acts as a "Promise-like" for IndexJob. * 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__IndexJobClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $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 IndexJob model */ interface IndexJobFieldRefs { readonly jobId: FieldRef<"IndexJob", 'String'> readonly projectId: FieldRef<"IndexJob", 'String'> readonly projectPath: FieldRef<"IndexJob", 'String'> readonly status: FieldRef<"IndexJob", 'String'> readonly current: FieldRef<"IndexJob", 'Int'> readonly total: FieldRef<"IndexJob", 'Int'> readonly percentage: FieldRef<"IndexJob", 'Int'> readonly filesIndexed: FieldRef<"IndexJob", 'Int'> readonly chunksIndexed: FieldRef<"IndexJob", 'Int'> readonly errors: FieldRef<"IndexJob", 'Int'> readonly duration: FieldRef<"IndexJob", 'Int'> readonly error: FieldRef<"IndexJob", 'String'> readonly createdAt: FieldRef<"IndexJob", 'BigInt'> readonly startedAt: FieldRef<"IndexJob", 'BigInt'> readonly completedAt: FieldRef<"IndexJob", 'BigInt'> readonly heartbeatAt: FieldRef<"IndexJob", 'BigInt'> readonly activatedGraphGenerationId: FieldRef<"IndexJob", 'String'> readonly parserDiagnosticsCount: FieldRef<"IndexJob", 'Int'> readonly parserRecoveredFiles: FieldRef<"IndexJob", 'Int'> readonly parserHardFailureFiles: FieldRef<"IndexJob", 'Int'> readonly parserStaleFiles: FieldRef<"IndexJob", 'Int'> readonly parserLanguageCounts: FieldRef<"IndexJob", 'Json'> } // Custom InputTypes /** * IndexJob findUnique */ export type IndexJobFindUniqueArgs = { /** * Select specific fields to fetch from the IndexJob */ select?: IndexJobSelect | null /** * Omit specific fields from the IndexJob */ omit?: IndexJobOmit | null /** * Filter, which IndexJob to fetch. */ where: IndexJobWhereUniqueInput } /** * IndexJob findUniqueOrThrow */ export type IndexJobFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the IndexJob */ select?: IndexJobSelect | null /** * Omit specific fields from the IndexJob */ omit?: IndexJobOmit | null /** * Filter, which IndexJob to fetch. */ where: IndexJobWhereUniqueInput } /** * IndexJob findFirst */ export type IndexJobFindFirstArgs = { /** * Select specific fields to fetch from the IndexJob */ select?: IndexJobSelect | null /** * Omit specific fields from the IndexJob */ omit?: IndexJobOmit | null /** * Filter, which IndexJob to fetch. */ where?: IndexJobWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of IndexJobs to fetch. */ orderBy?: IndexJobOrderByWithRelationInput | IndexJobOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for IndexJobs. */ cursor?: IndexJobWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` IndexJobs 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` IndexJobs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of IndexJobs. */ distinct?: IndexJobScalarFieldEnum | IndexJobScalarFieldEnum[] } /** * IndexJob findFirstOrThrow */ export type IndexJobFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the IndexJob */ select?: IndexJobSelect | null /** * Omit specific fields from the IndexJob */ omit?: IndexJobOmit | null /** * Filter, which IndexJob to fetch. */ where?: IndexJobWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of IndexJobs to fetch. */ orderBy?: IndexJobOrderByWithRelationInput | IndexJobOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for IndexJobs. */ cursor?: IndexJobWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` IndexJobs 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` IndexJobs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of IndexJobs. */ distinct?: IndexJobScalarFieldEnum | IndexJobScalarFieldEnum[] } /** * IndexJob findMany */ export type IndexJobFindManyArgs = { /** * Select specific fields to fetch from the IndexJob */ select?: IndexJobSelect | null /** * Omit specific fields from the IndexJob */ omit?: IndexJobOmit | null /** * Filter, which IndexJobs to fetch. */ where?: IndexJobWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of IndexJobs to fetch. */ orderBy?: IndexJobOrderByWithRelationInput | IndexJobOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing IndexJobs. */ cursor?: IndexJobWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` IndexJobs 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` IndexJobs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of IndexJobs. */ distinct?: IndexJobScalarFieldEnum | IndexJobScalarFieldEnum[] } /** * IndexJob create */ export type IndexJobCreateArgs = { /** * Select specific fields to fetch from the IndexJob */ select?: IndexJobSelect | null /** * Omit specific fields from the IndexJob */ omit?: IndexJobOmit | null /** * The data needed to create a IndexJob. */ data: XOR } /** * IndexJob createMany */ export type IndexJobCreateManyArgs = { /** * The data used to create many IndexJobs. */ data: IndexJobCreateManyInput | IndexJobCreateManyInput[] skipDuplicates?: boolean } /** * IndexJob createManyAndReturn */ export type IndexJobCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the IndexJob */ select?: IndexJobSelectCreateManyAndReturn | null /** * Omit specific fields from the IndexJob */ omit?: IndexJobOmit | null /** * The data used to create many IndexJobs. */ data: IndexJobCreateManyInput | IndexJobCreateManyInput[] skipDuplicates?: boolean } /** * IndexJob update */ export type IndexJobUpdateArgs = { /** * Select specific fields to fetch from the IndexJob */ select?: IndexJobSelect | null /** * Omit specific fields from the IndexJob */ omit?: IndexJobOmit | null /** * The data needed to update a IndexJob. */ data: XOR /** * Choose, which IndexJob to update. */ where: IndexJobWhereUniqueInput } /** * IndexJob updateMany */ export type IndexJobUpdateManyArgs = { /** * The data used to update IndexJobs. */ data: XOR /** * Filter which IndexJobs to update */ where?: IndexJobWhereInput /** * Limit how many IndexJobs to update. */ limit?: number } /** * IndexJob updateManyAndReturn */ export type IndexJobUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the IndexJob */ select?: IndexJobSelectUpdateManyAndReturn | null /** * Omit specific fields from the IndexJob */ omit?: IndexJobOmit | null /** * The data used to update IndexJobs. */ data: XOR /** * Filter which IndexJobs to update */ where?: IndexJobWhereInput /** * Limit how many IndexJobs to update. */ limit?: number } /** * IndexJob upsert */ export type IndexJobUpsertArgs = { /** * Select specific fields to fetch from the IndexJob */ select?: IndexJobSelect | null /** * Omit specific fields from the IndexJob */ omit?: IndexJobOmit | null /** * The filter to search for the IndexJob to update in case it exists. */ where: IndexJobWhereUniqueInput /** * In case the IndexJob found by the `where` argument doesn't exist, create a new IndexJob with this data. */ create: XOR /** * In case the IndexJob was found with the provided `where` argument, update it with this data. */ update: XOR } /** * IndexJob delete */ export type IndexJobDeleteArgs = { /** * Select specific fields to fetch from the IndexJob */ select?: IndexJobSelect | null /** * Omit specific fields from the IndexJob */ omit?: IndexJobOmit | null /** * Filter which IndexJob to delete. */ where: IndexJobWhereUniqueInput } /** * IndexJob deleteMany */ export type IndexJobDeleteManyArgs = { /** * Filter which IndexJobs to delete */ where?: IndexJobWhereInput /** * Limit how many IndexJobs to delete. */ limit?: number } /** * IndexJob without action */ export type IndexJobDefaultArgs = { /** * Select specific fields to fetch from the IndexJob */ select?: IndexJobSelect | null /** * Omit specific fields from the IndexJob */ omit?: IndexJobOmit | null } /** * Model ScheduledJob */ export type AggregateScheduledJob = { _count: ScheduledJobCountAggregateOutputType | null _avg: ScheduledJobAvgAggregateOutputType | null _sum: ScheduledJobSumAggregateOutputType | null _min: ScheduledJobMinAggregateOutputType | null _max: ScheduledJobMaxAggregateOutputType | null } export type ScheduledJobAvgAggregateOutputType = { intervalMs: number | null nextRunAt: number | null lastRunAt: number | null enabled: number | null } export type ScheduledJobSumAggregateOutputType = { intervalMs: bigint | null nextRunAt: bigint | null lastRunAt: bigint | null enabled: number | null } export type ScheduledJobMinAggregateOutputType = { id: string | null name: string | null jobKind: string | null scheduleType: string | null intervalMs: bigint | null cron: string | null nextRunAt: bigint | null lastRunAt: bigint | null enabled: number | null payload: string | null } export type ScheduledJobMaxAggregateOutputType = { id: string | null name: string | null jobKind: string | null scheduleType: string | null intervalMs: bigint | null cron: string | null nextRunAt: bigint | null lastRunAt: bigint | null enabled: number | null payload: string | null } export type ScheduledJobCountAggregateOutputType = { id: number name: number jobKind: number scheduleType: number intervalMs: number cron: number nextRunAt: number lastRunAt: number enabled: number payload: number _all: number } export type ScheduledJobAvgAggregateInputType = { intervalMs?: true nextRunAt?: true lastRunAt?: true enabled?: true } export type ScheduledJobSumAggregateInputType = { intervalMs?: true nextRunAt?: true lastRunAt?: true enabled?: true } export type ScheduledJobMinAggregateInputType = { id?: true name?: true jobKind?: true scheduleType?: true intervalMs?: true cron?: true nextRunAt?: true lastRunAt?: true enabled?: true payload?: true } export type ScheduledJobMaxAggregateInputType = { id?: true name?: true jobKind?: true scheduleType?: true intervalMs?: true cron?: true nextRunAt?: true lastRunAt?: true enabled?: true payload?: true } export type ScheduledJobCountAggregateInputType = { id?: true name?: true jobKind?: true scheduleType?: true intervalMs?: true cron?: true nextRunAt?: true lastRunAt?: true enabled?: true payload?: true _all?: true } export type ScheduledJobAggregateArgs = { /** * Filter which ScheduledJob to aggregate. */ where?: ScheduledJobWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ScheduledJobs to fetch. */ orderBy?: ScheduledJobOrderByWithRelationInput | ScheduledJobOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: ScheduledJobWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ScheduledJobs 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` ScheduledJobs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned ScheduledJobs **/ _count?: true | ScheduledJobCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: ScheduledJobAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: ScheduledJobSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ScheduledJobMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ScheduledJobMaxAggregateInputType } export type GetScheduledJobAggregateType = { [P in keyof T & keyof AggregateScheduledJob]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type ScheduledJobGroupByArgs = { where?: ScheduledJobWhereInput orderBy?: ScheduledJobOrderByWithAggregationInput | ScheduledJobOrderByWithAggregationInput[] by: ScheduledJobScalarFieldEnum[] | ScheduledJobScalarFieldEnum having?: ScheduledJobScalarWhereWithAggregatesInput take?: number skip?: number _count?: ScheduledJobCountAggregateInputType | true _avg?: ScheduledJobAvgAggregateInputType _sum?: ScheduledJobSumAggregateInputType _min?: ScheduledJobMinAggregateInputType _max?: ScheduledJobMaxAggregateInputType } export type ScheduledJobGroupByOutputType = { id: string name: string jobKind: string scheduleType: string intervalMs: bigint | null cron: string | null nextRunAt: bigint lastRunAt: bigint enabled: number payload: string | null _count: ScheduledJobCountAggregateOutputType | null _avg: ScheduledJobAvgAggregateOutputType | null _sum: ScheduledJobSumAggregateOutputType | null _min: ScheduledJobMinAggregateOutputType | null _max: ScheduledJobMaxAggregateOutputType | null } type GetScheduledJobGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof ScheduledJobGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type ScheduledJobSelect = $Extensions.GetSelect<{ id?: boolean name?: boolean jobKind?: boolean scheduleType?: boolean intervalMs?: boolean cron?: boolean nextRunAt?: boolean lastRunAt?: boolean enabled?: boolean payload?: boolean }, ExtArgs["result"]["scheduledJob"]> export type ScheduledJobSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean name?: boolean jobKind?: boolean scheduleType?: boolean intervalMs?: boolean cron?: boolean nextRunAt?: boolean lastRunAt?: boolean enabled?: boolean payload?: boolean }, ExtArgs["result"]["scheduledJob"]> export type ScheduledJobSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean name?: boolean jobKind?: boolean scheduleType?: boolean intervalMs?: boolean cron?: boolean nextRunAt?: boolean lastRunAt?: boolean enabled?: boolean payload?: boolean }, ExtArgs["result"]["scheduledJob"]> export type ScheduledJobSelectScalar = { id?: boolean name?: boolean jobKind?: boolean scheduleType?: boolean intervalMs?: boolean cron?: boolean nextRunAt?: boolean lastRunAt?: boolean enabled?: boolean payload?: boolean } export type ScheduledJobOmit = $Extensions.GetOmit<"id" | "name" | "jobKind" | "scheduleType" | "intervalMs" | "cron" | "nextRunAt" | "lastRunAt" | "enabled" | "payload", ExtArgs["result"]["scheduledJob"]> export type $ScheduledJobPayload = { name: "ScheduledJob" objects: {} scalars: $Extensions.GetPayloadResult<{ id: string name: string jobKind: string scheduleType: string intervalMs: bigint | null cron: string | null nextRunAt: bigint lastRunAt: bigint enabled: number payload: string | null }, ExtArgs["result"]["scheduledJob"]> composites: {} } type ScheduledJobGetPayload = $Result.GetResult type ScheduledJobCountArgs = Omit & { select?: ScheduledJobCountAggregateInputType | true } export interface ScheduledJobDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['ScheduledJob'], meta: { name: 'ScheduledJob' } } /** * Find zero or one ScheduledJob that matches the filter. * @param {ScheduledJobFindUniqueArgs} args - Arguments to find a ScheduledJob * @example * // Get one ScheduledJob * const scheduledJob = await prisma.scheduledJob.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__ScheduledJobClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one ScheduledJob that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ScheduledJobFindUniqueOrThrowArgs} args - Arguments to find a ScheduledJob * @example * // Get one ScheduledJob * const scheduledJob = await prisma.scheduledJob.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__ScheduledJobClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first ScheduledJob 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 {ScheduledJobFindFirstArgs} args - Arguments to find a ScheduledJob * @example * // Get one ScheduledJob * const scheduledJob = await prisma.scheduledJob.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__ScheduledJobClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first ScheduledJob 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 {ScheduledJobFindFirstOrThrowArgs} args - Arguments to find a ScheduledJob * @example * // Get one ScheduledJob * const scheduledJob = await prisma.scheduledJob.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__ScheduledJobClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more ScheduledJobs 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 {ScheduledJobFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all ScheduledJobs * const scheduledJobs = await prisma.scheduledJob.findMany() * * // Get first 10 ScheduledJobs * const scheduledJobs = await prisma.scheduledJob.findMany({ take: 10 }) * * // Only select the `id` * const scheduledJobWithIdOnly = await prisma.scheduledJob.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a ScheduledJob. * @param {ScheduledJobCreateArgs} args - Arguments to create a ScheduledJob. * @example * // Create one ScheduledJob * const ScheduledJob = await prisma.scheduledJob.create({ * data: { * // ... data to create a ScheduledJob * } * }) * */ create(args: SelectSubset>): Prisma__ScheduledJobClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many ScheduledJobs. * @param {ScheduledJobCreateManyArgs} args - Arguments to create many ScheduledJobs. * @example * // Create many ScheduledJobs * const scheduledJob = await prisma.scheduledJob.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many ScheduledJobs and returns the data saved in the database. * @param {ScheduledJobCreateManyAndReturnArgs} args - Arguments to create many ScheduledJobs. * @example * // Create many ScheduledJobs * const scheduledJob = await prisma.scheduledJob.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many ScheduledJobs and only return the `id` * const scheduledJobWithIdOnly = await prisma.scheduledJob.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", GlobalOmitOptions>> /** * Delete a ScheduledJob. * @param {ScheduledJobDeleteArgs} args - Arguments to delete one ScheduledJob. * @example * // Delete one ScheduledJob * const ScheduledJob = await prisma.scheduledJob.delete({ * where: { * // ... filter to delete one ScheduledJob * } * }) * */ delete(args: SelectSubset>): Prisma__ScheduledJobClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one ScheduledJob. * @param {ScheduledJobUpdateArgs} args - Arguments to update one ScheduledJob. * @example * // Update one ScheduledJob * const scheduledJob = await prisma.scheduledJob.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__ScheduledJobClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more ScheduledJobs. * @param {ScheduledJobDeleteManyArgs} args - Arguments to filter ScheduledJobs to delete. * @example * // Delete a few ScheduledJobs * const { count } = await prisma.scheduledJob.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ScheduledJobs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ScheduledJobUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many ScheduledJobs * const scheduledJob = await prisma.scheduledJob.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ScheduledJobs and returns the data updated in the database. * @param {ScheduledJobUpdateManyAndReturnArgs} args - Arguments to update many ScheduledJobs. * @example * // Update many ScheduledJobs * const scheduledJob = await prisma.scheduledJob.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more ScheduledJobs and only return the `id` * const scheduledJobWithIdOnly = await prisma.scheduledJob.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one ScheduledJob. * @param {ScheduledJobUpsertArgs} args - Arguments to update or create a ScheduledJob. * @example * // Update or create a ScheduledJob * const scheduledJob = await prisma.scheduledJob.upsert({ * create: { * // ... data to create a ScheduledJob * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the ScheduledJob we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__ScheduledJobClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of ScheduledJobs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ScheduledJobCountArgs} args - Arguments to filter ScheduledJobs to count. * @example * // Count the number of ScheduledJobs * const count = await prisma.scheduledJob.count({ * where: { * // ... the filter for the ScheduledJobs 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 ScheduledJob. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ScheduledJobAggregateArgs} 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 ScheduledJob. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ScheduledJobGroupByArgs} 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 ScheduledJobGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: ScheduledJobGroupByArgs['orderBy'] } : { orderBy?: ScheduledJobGroupByArgs['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 ? GetScheduledJobGroupByPayload : Prisma.PrismaPromise /** * Fields of the ScheduledJob model */ readonly fields: ScheduledJobFieldRefs; } /** * The delegate class that acts as a "Promise-like" for ScheduledJob. * 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__ScheduledJobClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $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 ScheduledJob model */ interface ScheduledJobFieldRefs { readonly id: FieldRef<"ScheduledJob", 'String'> readonly name: FieldRef<"ScheduledJob", 'String'> readonly jobKind: FieldRef<"ScheduledJob", 'String'> readonly scheduleType: FieldRef<"ScheduledJob", 'String'> readonly intervalMs: FieldRef<"ScheduledJob", 'BigInt'> readonly cron: FieldRef<"ScheduledJob", 'String'> readonly nextRunAt: FieldRef<"ScheduledJob", 'BigInt'> readonly lastRunAt: FieldRef<"ScheduledJob", 'BigInt'> readonly enabled: FieldRef<"ScheduledJob", 'Int'> readonly payload: FieldRef<"ScheduledJob", 'String'> } // Custom InputTypes /** * ScheduledJob findUnique */ export type ScheduledJobFindUniqueArgs = { /** * Select specific fields to fetch from the ScheduledJob */ select?: ScheduledJobSelect | null /** * Omit specific fields from the ScheduledJob */ omit?: ScheduledJobOmit | null /** * Filter, which ScheduledJob to fetch. */ where: ScheduledJobWhereUniqueInput } /** * ScheduledJob findUniqueOrThrow */ export type ScheduledJobFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the ScheduledJob */ select?: ScheduledJobSelect | null /** * Omit specific fields from the ScheduledJob */ omit?: ScheduledJobOmit | null /** * Filter, which ScheduledJob to fetch. */ where: ScheduledJobWhereUniqueInput } /** * ScheduledJob findFirst */ export type ScheduledJobFindFirstArgs = { /** * Select specific fields to fetch from the ScheduledJob */ select?: ScheduledJobSelect | null /** * Omit specific fields from the ScheduledJob */ omit?: ScheduledJobOmit | null /** * Filter, which ScheduledJob to fetch. */ where?: ScheduledJobWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ScheduledJobs to fetch. */ orderBy?: ScheduledJobOrderByWithRelationInput | ScheduledJobOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ScheduledJobs. */ cursor?: ScheduledJobWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ScheduledJobs 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` ScheduledJobs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ScheduledJobs. */ distinct?: ScheduledJobScalarFieldEnum | ScheduledJobScalarFieldEnum[] } /** * ScheduledJob findFirstOrThrow */ export type ScheduledJobFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the ScheduledJob */ select?: ScheduledJobSelect | null /** * Omit specific fields from the ScheduledJob */ omit?: ScheduledJobOmit | null /** * Filter, which ScheduledJob to fetch. */ where?: ScheduledJobWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ScheduledJobs to fetch. */ orderBy?: ScheduledJobOrderByWithRelationInput | ScheduledJobOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ScheduledJobs. */ cursor?: ScheduledJobWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ScheduledJobs 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` ScheduledJobs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ScheduledJobs. */ distinct?: ScheduledJobScalarFieldEnum | ScheduledJobScalarFieldEnum[] } /** * ScheduledJob findMany */ export type ScheduledJobFindManyArgs = { /** * Select specific fields to fetch from the ScheduledJob */ select?: ScheduledJobSelect | null /** * Omit specific fields from the ScheduledJob */ omit?: ScheduledJobOmit | null /** * Filter, which ScheduledJobs to fetch. */ where?: ScheduledJobWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ScheduledJobs to fetch. */ orderBy?: ScheduledJobOrderByWithRelationInput | ScheduledJobOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing ScheduledJobs. */ cursor?: ScheduledJobWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ScheduledJobs 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` ScheduledJobs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ScheduledJobs. */ distinct?: ScheduledJobScalarFieldEnum | ScheduledJobScalarFieldEnum[] } /** * ScheduledJob create */ export type ScheduledJobCreateArgs = { /** * Select specific fields to fetch from the ScheduledJob */ select?: ScheduledJobSelect | null /** * Omit specific fields from the ScheduledJob */ omit?: ScheduledJobOmit | null /** * The data needed to create a ScheduledJob. */ data: XOR } /** * ScheduledJob createMany */ export type ScheduledJobCreateManyArgs = { /** * The data used to create many ScheduledJobs. */ data: ScheduledJobCreateManyInput | ScheduledJobCreateManyInput[] skipDuplicates?: boolean } /** * ScheduledJob createManyAndReturn */ export type ScheduledJobCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the ScheduledJob */ select?: ScheduledJobSelectCreateManyAndReturn | null /** * Omit specific fields from the ScheduledJob */ omit?: ScheduledJobOmit | null /** * The data used to create many ScheduledJobs. */ data: ScheduledJobCreateManyInput | ScheduledJobCreateManyInput[] skipDuplicates?: boolean } /** * ScheduledJob update */ export type ScheduledJobUpdateArgs = { /** * Select specific fields to fetch from the ScheduledJob */ select?: ScheduledJobSelect | null /** * Omit specific fields from the ScheduledJob */ omit?: ScheduledJobOmit | null /** * The data needed to update a ScheduledJob. */ data: XOR /** * Choose, which ScheduledJob to update. */ where: ScheduledJobWhereUniqueInput } /** * ScheduledJob updateMany */ export type ScheduledJobUpdateManyArgs = { /** * The data used to update ScheduledJobs. */ data: XOR /** * Filter which ScheduledJobs to update */ where?: ScheduledJobWhereInput /** * Limit how many ScheduledJobs to update. */ limit?: number } /** * ScheduledJob updateManyAndReturn */ export type ScheduledJobUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the ScheduledJob */ select?: ScheduledJobSelectUpdateManyAndReturn | null /** * Omit specific fields from the ScheduledJob */ omit?: ScheduledJobOmit | null /** * The data used to update ScheduledJobs. */ data: XOR /** * Filter which ScheduledJobs to update */ where?: ScheduledJobWhereInput /** * Limit how many ScheduledJobs to update. */ limit?: number } /** * ScheduledJob upsert */ export type ScheduledJobUpsertArgs = { /** * Select specific fields to fetch from the ScheduledJob */ select?: ScheduledJobSelect | null /** * Omit specific fields from the ScheduledJob */ omit?: ScheduledJobOmit | null /** * The filter to search for the ScheduledJob to update in case it exists. */ where: ScheduledJobWhereUniqueInput /** * In case the ScheduledJob found by the `where` argument doesn't exist, create a new ScheduledJob with this data. */ create: XOR /** * In case the ScheduledJob was found with the provided `where` argument, update it with this data. */ update: XOR } /** * ScheduledJob delete */ export type ScheduledJobDeleteArgs = { /** * Select specific fields to fetch from the ScheduledJob */ select?: ScheduledJobSelect | null /** * Omit specific fields from the ScheduledJob */ omit?: ScheduledJobOmit | null /** * Filter which ScheduledJob to delete. */ where: ScheduledJobWhereUniqueInput } /** * ScheduledJob deleteMany */ export type ScheduledJobDeleteManyArgs = { /** * Filter which ScheduledJobs to delete */ where?: ScheduledJobWhereInput /** * Limit how many ScheduledJobs to delete. */ limit?: number } /** * ScheduledJob without action */ export type ScheduledJobDefaultArgs = { /** * Select specific fields to fetch from the ScheduledJob */ select?: ScheduledJobSelect | null /** * Omit specific fields from the ScheduledJob */ omit?: ScheduledJobOmit | null } /** * Model SynapseSession */ export type AggregateSynapseSession = { _count: SynapseSessionCountAggregateOutputType | null _avg: SynapseSessionAvgAggregateOutputType | null _sum: SynapseSessionSumAggregateOutputType | null _min: SynapseSessionMinAggregateOutputType | null _max: SynapseSessionMaxAggregateOutputType | null } export type SynapseSessionAvgAggregateOutputType = { ttlMs: number | null createdAt: number | null expiresAt: number | null accessHistoryLimit: number | null updatedAt: number | null } export type SynapseSessionSumAggregateOutputType = { ttlMs: bigint | null createdAt: bigint | null expiresAt: bigint | null accessHistoryLimit: number | null updatedAt: bigint | null } export type SynapseSessionMinAggregateOutputType = { sessionId: string | null agentId: string | null workspaceId: string | null taskContext: string | null taskTokens: string | null taskEmbedding: Bytes | null ttlMs: bigint | null createdAt: bigint | null expiresAt: bigint | null accessHistoryLimit: number | null bufferConfig: string | null bufferSnapshot: string | null updatedAt: bigint | null } export type SynapseSessionMaxAggregateOutputType = { sessionId: string | null agentId: string | null workspaceId: string | null taskContext: string | null taskTokens: string | null taskEmbedding: Bytes | null ttlMs: bigint | null createdAt: bigint | null expiresAt: bigint | null accessHistoryLimit: number | null bufferConfig: string | null bufferSnapshot: string | null updatedAt: bigint | null } export type SynapseSessionCountAggregateOutputType = { sessionId: number agentId: number workspaceId: number taskContext: number taskTokens: number taskEmbedding: number ttlMs: number createdAt: number expiresAt: number accessHistoryLimit: number bufferConfig: number bufferSnapshot: number updatedAt: number _all: number } export type SynapseSessionAvgAggregateInputType = { ttlMs?: true createdAt?: true expiresAt?: true accessHistoryLimit?: true updatedAt?: true } export type SynapseSessionSumAggregateInputType = { ttlMs?: true createdAt?: true expiresAt?: true accessHistoryLimit?: true updatedAt?: true } export type SynapseSessionMinAggregateInputType = { sessionId?: true agentId?: true workspaceId?: true taskContext?: true taskTokens?: true taskEmbedding?: true ttlMs?: true createdAt?: true expiresAt?: true accessHistoryLimit?: true bufferConfig?: true bufferSnapshot?: true updatedAt?: true } export type SynapseSessionMaxAggregateInputType = { sessionId?: true agentId?: true workspaceId?: true taskContext?: true taskTokens?: true taskEmbedding?: true ttlMs?: true createdAt?: true expiresAt?: true accessHistoryLimit?: true bufferConfig?: true bufferSnapshot?: true updatedAt?: true } export type SynapseSessionCountAggregateInputType = { sessionId?: true agentId?: true workspaceId?: true taskContext?: true taskTokens?: true taskEmbedding?: true ttlMs?: true createdAt?: true expiresAt?: true accessHistoryLimit?: true bufferConfig?: true bufferSnapshot?: true updatedAt?: true _all?: true } export type SynapseSessionAggregateArgs = { /** * Filter which SynapseSession to aggregate. */ where?: SynapseSessionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SynapseSessions to fetch. */ orderBy?: SynapseSessionOrderByWithRelationInput | SynapseSessionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: SynapseSessionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SynapseSessions 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` SynapseSessions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned SynapseSessions **/ _count?: true | SynapseSessionCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: SynapseSessionAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: SynapseSessionSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SynapseSessionMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SynapseSessionMaxAggregateInputType } export type GetSynapseSessionAggregateType = { [P in keyof T & keyof AggregateSynapseSession]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type SynapseSessionGroupByArgs = { where?: SynapseSessionWhereInput orderBy?: SynapseSessionOrderByWithAggregationInput | SynapseSessionOrderByWithAggregationInput[] by: SynapseSessionScalarFieldEnum[] | SynapseSessionScalarFieldEnum having?: SynapseSessionScalarWhereWithAggregatesInput take?: number skip?: number _count?: SynapseSessionCountAggregateInputType | true _avg?: SynapseSessionAvgAggregateInputType _sum?: SynapseSessionSumAggregateInputType _min?: SynapseSessionMinAggregateInputType _max?: SynapseSessionMaxAggregateInputType } export type SynapseSessionGroupByOutputType = { sessionId: string agentId: string workspaceId: string | null taskContext: string | null taskTokens: string | null taskEmbedding: Bytes | null ttlMs: bigint createdAt: bigint expiresAt: bigint accessHistoryLimit: number bufferConfig: string | null bufferSnapshot: string | null updatedAt: bigint _count: SynapseSessionCountAggregateOutputType | null _avg: SynapseSessionAvgAggregateOutputType | null _sum: SynapseSessionSumAggregateOutputType | null _min: SynapseSessionMinAggregateOutputType | null _max: SynapseSessionMaxAggregateOutputType | null } type GetSynapseSessionGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof SynapseSessionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type SynapseSessionSelect = $Extensions.GetSelect<{ sessionId?: boolean agentId?: boolean workspaceId?: boolean taskContext?: boolean taskTokens?: boolean taskEmbedding?: boolean ttlMs?: boolean createdAt?: boolean expiresAt?: boolean accessHistoryLimit?: boolean bufferConfig?: boolean bufferSnapshot?: boolean updatedAt?: boolean }, ExtArgs["result"]["synapseSession"]> export type SynapseSessionSelectCreateManyAndReturn = $Extensions.GetSelect<{ sessionId?: boolean agentId?: boolean workspaceId?: boolean taskContext?: boolean taskTokens?: boolean taskEmbedding?: boolean ttlMs?: boolean createdAt?: boolean expiresAt?: boolean accessHistoryLimit?: boolean bufferConfig?: boolean bufferSnapshot?: boolean updatedAt?: boolean }, ExtArgs["result"]["synapseSession"]> export type SynapseSessionSelectUpdateManyAndReturn = $Extensions.GetSelect<{ sessionId?: boolean agentId?: boolean workspaceId?: boolean taskContext?: boolean taskTokens?: boolean taskEmbedding?: boolean ttlMs?: boolean createdAt?: boolean expiresAt?: boolean accessHistoryLimit?: boolean bufferConfig?: boolean bufferSnapshot?: boolean updatedAt?: boolean }, ExtArgs["result"]["synapseSession"]> export type SynapseSessionSelectScalar = { sessionId?: boolean agentId?: boolean workspaceId?: boolean taskContext?: boolean taskTokens?: boolean taskEmbedding?: boolean ttlMs?: boolean createdAt?: boolean expiresAt?: boolean accessHistoryLimit?: boolean bufferConfig?: boolean bufferSnapshot?: boolean updatedAt?: boolean } export type SynapseSessionOmit = $Extensions.GetOmit<"sessionId" | "agentId" | "workspaceId" | "taskContext" | "taskTokens" | "taskEmbedding" | "ttlMs" | "createdAt" | "expiresAt" | "accessHistoryLimit" | "bufferConfig" | "bufferSnapshot" | "updatedAt", ExtArgs["result"]["synapseSession"]> export type $SynapseSessionPayload = { name: "SynapseSession" objects: {} scalars: $Extensions.GetPayloadResult<{ sessionId: string agentId: string workspaceId: string | null taskContext: string | null taskTokens: string | null taskEmbedding: Prisma.Bytes | null ttlMs: bigint createdAt: bigint expiresAt: bigint accessHistoryLimit: number bufferConfig: string | null bufferSnapshot: string | null updatedAt: bigint }, ExtArgs["result"]["synapseSession"]> composites: {} } type SynapseSessionGetPayload = $Result.GetResult type SynapseSessionCountArgs = Omit & { select?: SynapseSessionCountAggregateInputType | true } export interface SynapseSessionDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['SynapseSession'], meta: { name: 'SynapseSession' } } /** * Find zero or one SynapseSession that matches the filter. * @param {SynapseSessionFindUniqueArgs} args - Arguments to find a SynapseSession * @example * // Get one SynapseSession * const synapseSession = await prisma.synapseSession.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__SynapseSessionClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one SynapseSession that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SynapseSessionFindUniqueOrThrowArgs} args - Arguments to find a SynapseSession * @example * // Get one SynapseSession * const synapseSession = await prisma.synapseSession.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__SynapseSessionClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first SynapseSession 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 {SynapseSessionFindFirstArgs} args - Arguments to find a SynapseSession * @example * // Get one SynapseSession * const synapseSession = await prisma.synapseSession.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__SynapseSessionClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first SynapseSession 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 {SynapseSessionFindFirstOrThrowArgs} args - Arguments to find a SynapseSession * @example * // Get one SynapseSession * const synapseSession = await prisma.synapseSession.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__SynapseSessionClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more SynapseSessions 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 {SynapseSessionFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all SynapseSessions * const synapseSessions = await prisma.synapseSession.findMany() * * // Get first 10 SynapseSessions * const synapseSessions = await prisma.synapseSession.findMany({ take: 10 }) * * // Only select the `sessionId` * const synapseSessionWithSessionIdOnly = await prisma.synapseSession.findMany({ select: { sessionId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a SynapseSession. * @param {SynapseSessionCreateArgs} args - Arguments to create a SynapseSession. * @example * // Create one SynapseSession * const SynapseSession = await prisma.synapseSession.create({ * data: { * // ... data to create a SynapseSession * } * }) * */ create(args: SelectSubset>): Prisma__SynapseSessionClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many SynapseSessions. * @param {SynapseSessionCreateManyArgs} args - Arguments to create many SynapseSessions. * @example * // Create many SynapseSessions * const synapseSession = await prisma.synapseSession.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many SynapseSessions and returns the data saved in the database. * @param {SynapseSessionCreateManyAndReturnArgs} args - Arguments to create many SynapseSessions. * @example * // Create many SynapseSessions * const synapseSession = await prisma.synapseSession.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many SynapseSessions and only return the `sessionId` * const synapseSessionWithSessionIdOnly = await prisma.synapseSession.createManyAndReturn({ * select: { sessionId: 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", GlobalOmitOptions>> /** * Delete a SynapseSession. * @param {SynapseSessionDeleteArgs} args - Arguments to delete one SynapseSession. * @example * // Delete one SynapseSession * const SynapseSession = await prisma.synapseSession.delete({ * where: { * // ... filter to delete one SynapseSession * } * }) * */ delete(args: SelectSubset>): Prisma__SynapseSessionClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one SynapseSession. * @param {SynapseSessionUpdateArgs} args - Arguments to update one SynapseSession. * @example * // Update one SynapseSession * const synapseSession = await prisma.synapseSession.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__SynapseSessionClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more SynapseSessions. * @param {SynapseSessionDeleteManyArgs} args - Arguments to filter SynapseSessions to delete. * @example * // Delete a few SynapseSessions * const { count } = await prisma.synapseSession.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SynapseSessions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SynapseSessionUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many SynapseSessions * const synapseSession = await prisma.synapseSession.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SynapseSessions and returns the data updated in the database. * @param {SynapseSessionUpdateManyAndReturnArgs} args - Arguments to update many SynapseSessions. * @example * // Update many SynapseSessions * const synapseSession = await prisma.synapseSession.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more SynapseSessions and only return the `sessionId` * const synapseSessionWithSessionIdOnly = await prisma.synapseSession.updateManyAndReturn({ * select: { sessionId: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one SynapseSession. * @param {SynapseSessionUpsertArgs} args - Arguments to update or create a SynapseSession. * @example * // Update or create a SynapseSession * const synapseSession = await prisma.synapseSession.upsert({ * create: { * // ... data to create a SynapseSession * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the SynapseSession we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__SynapseSessionClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of SynapseSessions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SynapseSessionCountArgs} args - Arguments to filter SynapseSessions to count. * @example * // Count the number of SynapseSessions * const count = await prisma.synapseSession.count({ * where: { * // ... the filter for the SynapseSessions 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 SynapseSession. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SynapseSessionAggregateArgs} 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 SynapseSession. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SynapseSessionGroupByArgs} 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 SynapseSessionGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: SynapseSessionGroupByArgs['orderBy'] } : { orderBy?: SynapseSessionGroupByArgs['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 ? GetSynapseSessionGroupByPayload : Prisma.PrismaPromise /** * Fields of the SynapseSession model */ readonly fields: SynapseSessionFieldRefs; } /** * The delegate class that acts as a "Promise-like" for SynapseSession. * 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__SynapseSessionClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $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 SynapseSession model */ interface SynapseSessionFieldRefs { readonly sessionId: FieldRef<"SynapseSession", 'String'> readonly agentId: FieldRef<"SynapseSession", 'String'> readonly workspaceId: FieldRef<"SynapseSession", 'String'> readonly taskContext: FieldRef<"SynapseSession", 'String'> readonly taskTokens: FieldRef<"SynapseSession", 'String'> readonly taskEmbedding: FieldRef<"SynapseSession", 'Bytes'> readonly ttlMs: FieldRef<"SynapseSession", 'BigInt'> readonly createdAt: FieldRef<"SynapseSession", 'BigInt'> readonly expiresAt: FieldRef<"SynapseSession", 'BigInt'> readonly accessHistoryLimit: FieldRef<"SynapseSession", 'Int'> readonly bufferConfig: FieldRef<"SynapseSession", 'String'> readonly bufferSnapshot: FieldRef<"SynapseSession", 'String'> readonly updatedAt: FieldRef<"SynapseSession", 'BigInt'> } // Custom InputTypes /** * SynapseSession findUnique */ export type SynapseSessionFindUniqueArgs = { /** * Select specific fields to fetch from the SynapseSession */ select?: SynapseSessionSelect | null /** * Omit specific fields from the SynapseSession */ omit?: SynapseSessionOmit | null /** * Filter, which SynapseSession to fetch. */ where: SynapseSessionWhereUniqueInput } /** * SynapseSession findUniqueOrThrow */ export type SynapseSessionFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the SynapseSession */ select?: SynapseSessionSelect | null /** * Omit specific fields from the SynapseSession */ omit?: SynapseSessionOmit | null /** * Filter, which SynapseSession to fetch. */ where: SynapseSessionWhereUniqueInput } /** * SynapseSession findFirst */ export type SynapseSessionFindFirstArgs = { /** * Select specific fields to fetch from the SynapseSession */ select?: SynapseSessionSelect | null /** * Omit specific fields from the SynapseSession */ omit?: SynapseSessionOmit | null /** * Filter, which SynapseSession to fetch. */ where?: SynapseSessionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SynapseSessions to fetch. */ orderBy?: SynapseSessionOrderByWithRelationInput | SynapseSessionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SynapseSessions. */ cursor?: SynapseSessionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SynapseSessions 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` SynapseSessions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SynapseSessions. */ distinct?: SynapseSessionScalarFieldEnum | SynapseSessionScalarFieldEnum[] } /** * SynapseSession findFirstOrThrow */ export type SynapseSessionFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the SynapseSession */ select?: SynapseSessionSelect | null /** * Omit specific fields from the SynapseSession */ omit?: SynapseSessionOmit | null /** * Filter, which SynapseSession to fetch. */ where?: SynapseSessionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SynapseSessions to fetch. */ orderBy?: SynapseSessionOrderByWithRelationInput | SynapseSessionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SynapseSessions. */ cursor?: SynapseSessionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SynapseSessions 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` SynapseSessions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SynapseSessions. */ distinct?: SynapseSessionScalarFieldEnum | SynapseSessionScalarFieldEnum[] } /** * SynapseSession findMany */ export type SynapseSessionFindManyArgs = { /** * Select specific fields to fetch from the SynapseSession */ select?: SynapseSessionSelect | null /** * Omit specific fields from the SynapseSession */ omit?: SynapseSessionOmit | null /** * Filter, which SynapseSessions to fetch. */ where?: SynapseSessionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SynapseSessions to fetch. */ orderBy?: SynapseSessionOrderByWithRelationInput | SynapseSessionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing SynapseSessions. */ cursor?: SynapseSessionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SynapseSessions 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` SynapseSessions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SynapseSessions. */ distinct?: SynapseSessionScalarFieldEnum | SynapseSessionScalarFieldEnum[] } /** * SynapseSession create */ export type SynapseSessionCreateArgs = { /** * Select specific fields to fetch from the SynapseSession */ select?: SynapseSessionSelect | null /** * Omit specific fields from the SynapseSession */ omit?: SynapseSessionOmit | null /** * The data needed to create a SynapseSession. */ data: XOR } /** * SynapseSession createMany */ export type SynapseSessionCreateManyArgs = { /** * The data used to create many SynapseSessions. */ data: SynapseSessionCreateManyInput | SynapseSessionCreateManyInput[] skipDuplicates?: boolean } /** * SynapseSession createManyAndReturn */ export type SynapseSessionCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the SynapseSession */ select?: SynapseSessionSelectCreateManyAndReturn | null /** * Omit specific fields from the SynapseSession */ omit?: SynapseSessionOmit | null /** * The data used to create many SynapseSessions. */ data: SynapseSessionCreateManyInput | SynapseSessionCreateManyInput[] skipDuplicates?: boolean } /** * SynapseSession update */ export type SynapseSessionUpdateArgs = { /** * Select specific fields to fetch from the SynapseSession */ select?: SynapseSessionSelect | null /** * Omit specific fields from the SynapseSession */ omit?: SynapseSessionOmit | null /** * The data needed to update a SynapseSession. */ data: XOR /** * Choose, which SynapseSession to update. */ where: SynapseSessionWhereUniqueInput } /** * SynapseSession updateMany */ export type SynapseSessionUpdateManyArgs = { /** * The data used to update SynapseSessions. */ data: XOR /** * Filter which SynapseSessions to update */ where?: SynapseSessionWhereInput /** * Limit how many SynapseSessions to update. */ limit?: number } /** * SynapseSession updateManyAndReturn */ export type SynapseSessionUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the SynapseSession */ select?: SynapseSessionSelectUpdateManyAndReturn | null /** * Omit specific fields from the SynapseSession */ omit?: SynapseSessionOmit | null /** * The data used to update SynapseSessions. */ data: XOR /** * Filter which SynapseSessions to update */ where?: SynapseSessionWhereInput /** * Limit how many SynapseSessions to update. */ limit?: number } /** * SynapseSession upsert */ export type SynapseSessionUpsertArgs = { /** * Select specific fields to fetch from the SynapseSession */ select?: SynapseSessionSelect | null /** * Omit specific fields from the SynapseSession */ omit?: SynapseSessionOmit | null /** * The filter to search for the SynapseSession to update in case it exists. */ where: SynapseSessionWhereUniqueInput /** * In case the SynapseSession found by the `where` argument doesn't exist, create a new SynapseSession with this data. */ create: XOR /** * In case the SynapseSession was found with the provided `where` argument, update it with this data. */ update: XOR } /** * SynapseSession delete */ export type SynapseSessionDeleteArgs = { /** * Select specific fields to fetch from the SynapseSession */ select?: SynapseSessionSelect | null /** * Omit specific fields from the SynapseSession */ omit?: SynapseSessionOmit | null /** * Filter which SynapseSession to delete. */ where: SynapseSessionWhereUniqueInput } /** * SynapseSession deleteMany */ export type SynapseSessionDeleteManyArgs = { /** * Filter which SynapseSessions to delete */ where?: SynapseSessionWhereInput /** * Limit how many SynapseSessions to delete. */ limit?: number } /** * SynapseSession without action */ export type SynapseSessionDefaultArgs = { /** * Select specific fields to fetch from the SynapseSession */ select?: SynapseSessionSelect | null /** * Omit specific fields from the SynapseSession */ omit?: SynapseSessionOmit | null } /** * Model SynapseAccessHistory */ export type AggregateSynapseAccessHistory = { _count: SynapseAccessHistoryCountAggregateOutputType | null _avg: SynapseAccessHistoryAvgAggregateOutputType | null _sum: SynapseAccessHistorySumAggregateOutputType | null _min: SynapseAccessHistoryMinAggregateOutputType | null _max: SynapseAccessHistoryMaxAggregateOutputType | null } export type SynapseAccessHistoryAvgAggregateOutputType = { accessCount: number | null lastAccessedAt: number | null } export type SynapseAccessHistorySumAggregateOutputType = { accessCount: number | null lastAccessedAt: bigint | null } export type SynapseAccessHistoryMinAggregateOutputType = { sessionId: string | null memoryId: string | null accessCount: number | null lastAccessedAt: bigint | null } export type SynapseAccessHistoryMaxAggregateOutputType = { sessionId: string | null memoryId: string | null accessCount: number | null lastAccessedAt: bigint | null } export type SynapseAccessHistoryCountAggregateOutputType = { sessionId: number memoryId: number accessCount: number lastAccessedAt: number _all: number } export type SynapseAccessHistoryAvgAggregateInputType = { accessCount?: true lastAccessedAt?: true } export type SynapseAccessHistorySumAggregateInputType = { accessCount?: true lastAccessedAt?: true } export type SynapseAccessHistoryMinAggregateInputType = { sessionId?: true memoryId?: true accessCount?: true lastAccessedAt?: true } export type SynapseAccessHistoryMaxAggregateInputType = { sessionId?: true memoryId?: true accessCount?: true lastAccessedAt?: true } export type SynapseAccessHistoryCountAggregateInputType = { sessionId?: true memoryId?: true accessCount?: true lastAccessedAt?: true _all?: true } export type SynapseAccessHistoryAggregateArgs = { /** * Filter which SynapseAccessHistory to aggregate. */ where?: SynapseAccessHistoryWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SynapseAccessHistories to fetch. */ orderBy?: SynapseAccessHistoryOrderByWithRelationInput | SynapseAccessHistoryOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: SynapseAccessHistoryWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SynapseAccessHistories 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` SynapseAccessHistories. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned SynapseAccessHistories **/ _count?: true | SynapseAccessHistoryCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: SynapseAccessHistoryAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: SynapseAccessHistorySumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SynapseAccessHistoryMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SynapseAccessHistoryMaxAggregateInputType } export type GetSynapseAccessHistoryAggregateType = { [P in keyof T & keyof AggregateSynapseAccessHistory]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type SynapseAccessHistoryGroupByArgs = { where?: SynapseAccessHistoryWhereInput orderBy?: SynapseAccessHistoryOrderByWithAggregationInput | SynapseAccessHistoryOrderByWithAggregationInput[] by: SynapseAccessHistoryScalarFieldEnum[] | SynapseAccessHistoryScalarFieldEnum having?: SynapseAccessHistoryScalarWhereWithAggregatesInput take?: number skip?: number _count?: SynapseAccessHistoryCountAggregateInputType | true _avg?: SynapseAccessHistoryAvgAggregateInputType _sum?: SynapseAccessHistorySumAggregateInputType _min?: SynapseAccessHistoryMinAggregateInputType _max?: SynapseAccessHistoryMaxAggregateInputType } export type SynapseAccessHistoryGroupByOutputType = { sessionId: string memoryId: string accessCount: number lastAccessedAt: bigint _count: SynapseAccessHistoryCountAggregateOutputType | null _avg: SynapseAccessHistoryAvgAggregateOutputType | null _sum: SynapseAccessHistorySumAggregateOutputType | null _min: SynapseAccessHistoryMinAggregateOutputType | null _max: SynapseAccessHistoryMaxAggregateOutputType | null } type GetSynapseAccessHistoryGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof SynapseAccessHistoryGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type SynapseAccessHistorySelect = $Extensions.GetSelect<{ sessionId?: boolean memoryId?: boolean accessCount?: boolean lastAccessedAt?: boolean }, ExtArgs["result"]["synapseAccessHistory"]> export type SynapseAccessHistorySelectCreateManyAndReturn = $Extensions.GetSelect<{ sessionId?: boolean memoryId?: boolean accessCount?: boolean lastAccessedAt?: boolean }, ExtArgs["result"]["synapseAccessHistory"]> export type SynapseAccessHistorySelectUpdateManyAndReturn = $Extensions.GetSelect<{ sessionId?: boolean memoryId?: boolean accessCount?: boolean lastAccessedAt?: boolean }, ExtArgs["result"]["synapseAccessHistory"]> export type SynapseAccessHistorySelectScalar = { sessionId?: boolean memoryId?: boolean accessCount?: boolean lastAccessedAt?: boolean } export type SynapseAccessHistoryOmit = $Extensions.GetOmit<"sessionId" | "memoryId" | "accessCount" | "lastAccessedAt", ExtArgs["result"]["synapseAccessHistory"]> export type $SynapseAccessHistoryPayload = { name: "SynapseAccessHistory" objects: {} scalars: $Extensions.GetPayloadResult<{ sessionId: string memoryId: string accessCount: number lastAccessedAt: bigint }, ExtArgs["result"]["synapseAccessHistory"]> composites: {} } type SynapseAccessHistoryGetPayload = $Result.GetResult type SynapseAccessHistoryCountArgs = Omit & { select?: SynapseAccessHistoryCountAggregateInputType | true } export interface SynapseAccessHistoryDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['SynapseAccessHistory'], meta: { name: 'SynapseAccessHistory' } } /** * Find zero or one SynapseAccessHistory that matches the filter. * @param {SynapseAccessHistoryFindUniqueArgs} args - Arguments to find a SynapseAccessHistory * @example * // Get one SynapseAccessHistory * const synapseAccessHistory = await prisma.synapseAccessHistory.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__SynapseAccessHistoryClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one SynapseAccessHistory that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SynapseAccessHistoryFindUniqueOrThrowArgs} args - Arguments to find a SynapseAccessHistory * @example * // Get one SynapseAccessHistory * const synapseAccessHistory = await prisma.synapseAccessHistory.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__SynapseAccessHistoryClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first SynapseAccessHistory 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 {SynapseAccessHistoryFindFirstArgs} args - Arguments to find a SynapseAccessHistory * @example * // Get one SynapseAccessHistory * const synapseAccessHistory = await prisma.synapseAccessHistory.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__SynapseAccessHistoryClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first SynapseAccessHistory 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 {SynapseAccessHistoryFindFirstOrThrowArgs} args - Arguments to find a SynapseAccessHistory * @example * // Get one SynapseAccessHistory * const synapseAccessHistory = await prisma.synapseAccessHistory.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__SynapseAccessHistoryClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more SynapseAccessHistories 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 {SynapseAccessHistoryFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all SynapseAccessHistories * const synapseAccessHistories = await prisma.synapseAccessHistory.findMany() * * // Get first 10 SynapseAccessHistories * const synapseAccessHistories = await prisma.synapseAccessHistory.findMany({ take: 10 }) * * // Only select the `sessionId` * const synapseAccessHistoryWithSessionIdOnly = await prisma.synapseAccessHistory.findMany({ select: { sessionId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a SynapseAccessHistory. * @param {SynapseAccessHistoryCreateArgs} args - Arguments to create a SynapseAccessHistory. * @example * // Create one SynapseAccessHistory * const SynapseAccessHistory = await prisma.synapseAccessHistory.create({ * data: { * // ... data to create a SynapseAccessHistory * } * }) * */ create(args: SelectSubset>): Prisma__SynapseAccessHistoryClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many SynapseAccessHistories. * @param {SynapseAccessHistoryCreateManyArgs} args - Arguments to create many SynapseAccessHistories. * @example * // Create many SynapseAccessHistories * const synapseAccessHistory = await prisma.synapseAccessHistory.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many SynapseAccessHistories and returns the data saved in the database. * @param {SynapseAccessHistoryCreateManyAndReturnArgs} args - Arguments to create many SynapseAccessHistories. * @example * // Create many SynapseAccessHistories * const synapseAccessHistory = await prisma.synapseAccessHistory.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many SynapseAccessHistories and only return the `sessionId` * const synapseAccessHistoryWithSessionIdOnly = await prisma.synapseAccessHistory.createManyAndReturn({ * select: { sessionId: 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", GlobalOmitOptions>> /** * Delete a SynapseAccessHistory. * @param {SynapseAccessHistoryDeleteArgs} args - Arguments to delete one SynapseAccessHistory. * @example * // Delete one SynapseAccessHistory * const SynapseAccessHistory = await prisma.synapseAccessHistory.delete({ * where: { * // ... filter to delete one SynapseAccessHistory * } * }) * */ delete(args: SelectSubset>): Prisma__SynapseAccessHistoryClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one SynapseAccessHistory. * @param {SynapseAccessHistoryUpdateArgs} args - Arguments to update one SynapseAccessHistory. * @example * // Update one SynapseAccessHistory * const synapseAccessHistory = await prisma.synapseAccessHistory.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__SynapseAccessHistoryClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more SynapseAccessHistories. * @param {SynapseAccessHistoryDeleteManyArgs} args - Arguments to filter SynapseAccessHistories to delete. * @example * // Delete a few SynapseAccessHistories * const { count } = await prisma.synapseAccessHistory.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SynapseAccessHistories. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SynapseAccessHistoryUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many SynapseAccessHistories * const synapseAccessHistory = await prisma.synapseAccessHistory.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SynapseAccessHistories and returns the data updated in the database. * @param {SynapseAccessHistoryUpdateManyAndReturnArgs} args - Arguments to update many SynapseAccessHistories. * @example * // Update many SynapseAccessHistories * const synapseAccessHistory = await prisma.synapseAccessHistory.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more SynapseAccessHistories and only return the `sessionId` * const synapseAccessHistoryWithSessionIdOnly = await prisma.synapseAccessHistory.updateManyAndReturn({ * select: { sessionId: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one SynapseAccessHistory. * @param {SynapseAccessHistoryUpsertArgs} args - Arguments to update or create a SynapseAccessHistory. * @example * // Update or create a SynapseAccessHistory * const synapseAccessHistory = await prisma.synapseAccessHistory.upsert({ * create: { * // ... data to create a SynapseAccessHistory * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the SynapseAccessHistory we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__SynapseAccessHistoryClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of SynapseAccessHistories. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SynapseAccessHistoryCountArgs} args - Arguments to filter SynapseAccessHistories to count. * @example * // Count the number of SynapseAccessHistories * const count = await prisma.synapseAccessHistory.count({ * where: { * // ... the filter for the SynapseAccessHistories 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 SynapseAccessHistory. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SynapseAccessHistoryAggregateArgs} 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 SynapseAccessHistory. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SynapseAccessHistoryGroupByArgs} 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 SynapseAccessHistoryGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: SynapseAccessHistoryGroupByArgs['orderBy'] } : { orderBy?: SynapseAccessHistoryGroupByArgs['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 ? GetSynapseAccessHistoryGroupByPayload : Prisma.PrismaPromise /** * Fields of the SynapseAccessHistory model */ readonly fields: SynapseAccessHistoryFieldRefs; } /** * The delegate class that acts as a "Promise-like" for SynapseAccessHistory. * 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__SynapseAccessHistoryClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $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 SynapseAccessHistory model */ interface SynapseAccessHistoryFieldRefs { readonly sessionId: FieldRef<"SynapseAccessHistory", 'String'> readonly memoryId: FieldRef<"SynapseAccessHistory", 'String'> readonly accessCount: FieldRef<"SynapseAccessHistory", 'Int'> readonly lastAccessedAt: FieldRef<"SynapseAccessHistory", 'BigInt'> } // Custom InputTypes /** * SynapseAccessHistory findUnique */ export type SynapseAccessHistoryFindUniqueArgs = { /** * Select specific fields to fetch from the SynapseAccessHistory */ select?: SynapseAccessHistorySelect | null /** * Omit specific fields from the SynapseAccessHistory */ omit?: SynapseAccessHistoryOmit | null /** * Filter, which SynapseAccessHistory to fetch. */ where: SynapseAccessHistoryWhereUniqueInput } /** * SynapseAccessHistory findUniqueOrThrow */ export type SynapseAccessHistoryFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the SynapseAccessHistory */ select?: SynapseAccessHistorySelect | null /** * Omit specific fields from the SynapseAccessHistory */ omit?: SynapseAccessHistoryOmit | null /** * Filter, which SynapseAccessHistory to fetch. */ where: SynapseAccessHistoryWhereUniqueInput } /** * SynapseAccessHistory findFirst */ export type SynapseAccessHistoryFindFirstArgs = { /** * Select specific fields to fetch from the SynapseAccessHistory */ select?: SynapseAccessHistorySelect | null /** * Omit specific fields from the SynapseAccessHistory */ omit?: SynapseAccessHistoryOmit | null /** * Filter, which SynapseAccessHistory to fetch. */ where?: SynapseAccessHistoryWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SynapseAccessHistories to fetch. */ orderBy?: SynapseAccessHistoryOrderByWithRelationInput | SynapseAccessHistoryOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SynapseAccessHistories. */ cursor?: SynapseAccessHistoryWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SynapseAccessHistories 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` SynapseAccessHistories. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SynapseAccessHistories. */ distinct?: SynapseAccessHistoryScalarFieldEnum | SynapseAccessHistoryScalarFieldEnum[] } /** * SynapseAccessHistory findFirstOrThrow */ export type SynapseAccessHistoryFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the SynapseAccessHistory */ select?: SynapseAccessHistorySelect | null /** * Omit specific fields from the SynapseAccessHistory */ omit?: SynapseAccessHistoryOmit | null /** * Filter, which SynapseAccessHistory to fetch. */ where?: SynapseAccessHistoryWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SynapseAccessHistories to fetch. */ orderBy?: SynapseAccessHistoryOrderByWithRelationInput | SynapseAccessHistoryOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SynapseAccessHistories. */ cursor?: SynapseAccessHistoryWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SynapseAccessHistories 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` SynapseAccessHistories. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SynapseAccessHistories. */ distinct?: SynapseAccessHistoryScalarFieldEnum | SynapseAccessHistoryScalarFieldEnum[] } /** * SynapseAccessHistory findMany */ export type SynapseAccessHistoryFindManyArgs = { /** * Select specific fields to fetch from the SynapseAccessHistory */ select?: SynapseAccessHistorySelect | null /** * Omit specific fields from the SynapseAccessHistory */ omit?: SynapseAccessHistoryOmit | null /** * Filter, which SynapseAccessHistories to fetch. */ where?: SynapseAccessHistoryWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SynapseAccessHistories to fetch. */ orderBy?: SynapseAccessHistoryOrderByWithRelationInput | SynapseAccessHistoryOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing SynapseAccessHistories. */ cursor?: SynapseAccessHistoryWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SynapseAccessHistories 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` SynapseAccessHistories. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SynapseAccessHistories. */ distinct?: SynapseAccessHistoryScalarFieldEnum | SynapseAccessHistoryScalarFieldEnum[] } /** * SynapseAccessHistory create */ export type SynapseAccessHistoryCreateArgs = { /** * Select specific fields to fetch from the SynapseAccessHistory */ select?: SynapseAccessHistorySelect | null /** * Omit specific fields from the SynapseAccessHistory */ omit?: SynapseAccessHistoryOmit | null /** * The data needed to create a SynapseAccessHistory. */ data: XOR } /** * SynapseAccessHistory createMany */ export type SynapseAccessHistoryCreateManyArgs = { /** * The data used to create many SynapseAccessHistories. */ data: SynapseAccessHistoryCreateManyInput | SynapseAccessHistoryCreateManyInput[] skipDuplicates?: boolean } /** * SynapseAccessHistory createManyAndReturn */ export type SynapseAccessHistoryCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the SynapseAccessHistory */ select?: SynapseAccessHistorySelectCreateManyAndReturn | null /** * Omit specific fields from the SynapseAccessHistory */ omit?: SynapseAccessHistoryOmit | null /** * The data used to create many SynapseAccessHistories. */ data: SynapseAccessHistoryCreateManyInput | SynapseAccessHistoryCreateManyInput[] skipDuplicates?: boolean } /** * SynapseAccessHistory update */ export type SynapseAccessHistoryUpdateArgs = { /** * Select specific fields to fetch from the SynapseAccessHistory */ select?: SynapseAccessHistorySelect | null /** * Omit specific fields from the SynapseAccessHistory */ omit?: SynapseAccessHistoryOmit | null /** * The data needed to update a SynapseAccessHistory. */ data: XOR /** * Choose, which SynapseAccessHistory to update. */ where: SynapseAccessHistoryWhereUniqueInput } /** * SynapseAccessHistory updateMany */ export type SynapseAccessHistoryUpdateManyArgs = { /** * The data used to update SynapseAccessHistories. */ data: XOR /** * Filter which SynapseAccessHistories to update */ where?: SynapseAccessHistoryWhereInput /** * Limit how many SynapseAccessHistories to update. */ limit?: number } /** * SynapseAccessHistory updateManyAndReturn */ export type SynapseAccessHistoryUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the SynapseAccessHistory */ select?: SynapseAccessHistorySelectUpdateManyAndReturn | null /** * Omit specific fields from the SynapseAccessHistory */ omit?: SynapseAccessHistoryOmit | null /** * The data used to update SynapseAccessHistories. */ data: XOR /** * Filter which SynapseAccessHistories to update */ where?: SynapseAccessHistoryWhereInput /** * Limit how many SynapseAccessHistories to update. */ limit?: number } /** * SynapseAccessHistory upsert */ export type SynapseAccessHistoryUpsertArgs = { /** * Select specific fields to fetch from the SynapseAccessHistory */ select?: SynapseAccessHistorySelect | null /** * Omit specific fields from the SynapseAccessHistory */ omit?: SynapseAccessHistoryOmit | null /** * The filter to search for the SynapseAccessHistory to update in case it exists. */ where: SynapseAccessHistoryWhereUniqueInput /** * In case the SynapseAccessHistory found by the `where` argument doesn't exist, create a new SynapseAccessHistory with this data. */ create: XOR /** * In case the SynapseAccessHistory was found with the provided `where` argument, update it with this data. */ update: XOR } /** * SynapseAccessHistory delete */ export type SynapseAccessHistoryDeleteArgs = { /** * Select specific fields to fetch from the SynapseAccessHistory */ select?: SynapseAccessHistorySelect | null /** * Omit specific fields from the SynapseAccessHistory */ omit?: SynapseAccessHistoryOmit | null /** * Filter which SynapseAccessHistory to delete. */ where: SynapseAccessHistoryWhereUniqueInput } /** * SynapseAccessHistory deleteMany */ export type SynapseAccessHistoryDeleteManyArgs = { /** * Filter which SynapseAccessHistories to delete */ where?: SynapseAccessHistoryWhereInput /** * Limit how many SynapseAccessHistories to delete. */ limit?: number } /** * SynapseAccessHistory without action */ export type SynapseAccessHistoryDefaultArgs = { /** * Select specific fields to fetch from the SynapseAccessHistory */ select?: SynapseAccessHistorySelect | null /** * Omit specific fields from the SynapseAccessHistory */ omit?: SynapseAccessHistoryOmit | null } /** * Model Checkpoint */ export type AggregateCheckpoint = { _count: CheckpointCountAggregateOutputType | null _avg: CheckpointAvgAggregateOutputType | null _sum: CheckpointSumAggregateOutputType | null _min: CheckpointMinAggregateOutputType | null _max: CheckpointMaxAggregateOutputType | null } export type CheckpointAvgAggregateOutputType = { stateSchemaVersion: number | null createdAt: number | null expiresAt: number | null } export type CheckpointSumAggregateOutputType = { stateSchemaVersion: number | null createdAt: bigint | null expiresAt: bigint | null } export type CheckpointMinAggregateOutputType = { id: string | null taskId: string | null taskDescription: string | null agentId: string | null projectId: string | null state: Bytes | null stateSchemaVersion: number | null memoryIds: string | null fileChanges: string | null checkpointType: string | null parentCheckpointId: string | null createdAt: bigint | null expiresAt: bigint | null } export type CheckpointMaxAggregateOutputType = { id: string | null taskId: string | null taskDescription: string | null agentId: string | null projectId: string | null state: Bytes | null stateSchemaVersion: number | null memoryIds: string | null fileChanges: string | null checkpointType: string | null parentCheckpointId: string | null createdAt: bigint | null expiresAt: bigint | null } export type CheckpointCountAggregateOutputType = { id: number taskId: number taskDescription: number agentId: number projectId: number state: number stateSchemaVersion: number memoryIds: number fileChanges: number checkpointType: number parentCheckpointId: number createdAt: number expiresAt: number _all: number } export type CheckpointAvgAggregateInputType = { stateSchemaVersion?: true createdAt?: true expiresAt?: true } export type CheckpointSumAggregateInputType = { stateSchemaVersion?: true createdAt?: true expiresAt?: true } export type CheckpointMinAggregateInputType = { id?: true taskId?: true taskDescription?: true agentId?: true projectId?: true state?: true stateSchemaVersion?: true memoryIds?: true fileChanges?: true checkpointType?: true parentCheckpointId?: true createdAt?: true expiresAt?: true } export type CheckpointMaxAggregateInputType = { id?: true taskId?: true taskDescription?: true agentId?: true projectId?: true state?: true stateSchemaVersion?: true memoryIds?: true fileChanges?: true checkpointType?: true parentCheckpointId?: true createdAt?: true expiresAt?: true } export type CheckpointCountAggregateInputType = { id?: true taskId?: true taskDescription?: true agentId?: true projectId?: true state?: true stateSchemaVersion?: true memoryIds?: true fileChanges?: true checkpointType?: true parentCheckpointId?: true createdAt?: true expiresAt?: true _all?: true } export type CheckpointAggregateArgs = { /** * Filter which Checkpoint to aggregate. */ where?: CheckpointWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Checkpoints to fetch. */ orderBy?: CheckpointOrderByWithRelationInput | CheckpointOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: CheckpointWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Checkpoints 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` Checkpoints. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Checkpoints **/ _count?: true | CheckpointCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: CheckpointAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: CheckpointSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: CheckpointMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: CheckpointMaxAggregateInputType } export type GetCheckpointAggregateType = { [P in keyof T & keyof AggregateCheckpoint]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type CheckpointGroupByArgs = { where?: CheckpointWhereInput orderBy?: CheckpointOrderByWithAggregationInput | CheckpointOrderByWithAggregationInput[] by: CheckpointScalarFieldEnum[] | CheckpointScalarFieldEnum having?: CheckpointScalarWhereWithAggregatesInput take?: number skip?: number _count?: CheckpointCountAggregateInputType | true _avg?: CheckpointAvgAggregateInputType _sum?: CheckpointSumAggregateInputType _min?: CheckpointMinAggregateInputType _max?: CheckpointMaxAggregateInputType } export type CheckpointGroupByOutputType = { id: string taskId: string taskDescription: string | null agentId: string | null projectId: string | null state: Bytes stateSchemaVersion: number memoryIds: string | null fileChanges: string | null checkpointType: string parentCheckpointId: string | null createdAt: bigint expiresAt: bigint | null _count: CheckpointCountAggregateOutputType | null _avg: CheckpointAvgAggregateOutputType | null _sum: CheckpointSumAggregateOutputType | null _min: CheckpointMinAggregateOutputType | null _max: CheckpointMaxAggregateOutputType | null } type GetCheckpointGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof CheckpointGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type CheckpointSelect = $Extensions.GetSelect<{ id?: boolean taskId?: boolean taskDescription?: boolean agentId?: boolean projectId?: boolean state?: boolean stateSchemaVersion?: boolean memoryIds?: boolean fileChanges?: boolean checkpointType?: boolean parentCheckpointId?: boolean createdAt?: boolean expiresAt?: boolean }, ExtArgs["result"]["checkpoint"]> export type CheckpointSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean taskId?: boolean taskDescription?: boolean agentId?: boolean projectId?: boolean state?: boolean stateSchemaVersion?: boolean memoryIds?: boolean fileChanges?: boolean checkpointType?: boolean parentCheckpointId?: boolean createdAt?: boolean expiresAt?: boolean }, ExtArgs["result"]["checkpoint"]> export type CheckpointSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean taskId?: boolean taskDescription?: boolean agentId?: boolean projectId?: boolean state?: boolean stateSchemaVersion?: boolean memoryIds?: boolean fileChanges?: boolean checkpointType?: boolean parentCheckpointId?: boolean createdAt?: boolean expiresAt?: boolean }, ExtArgs["result"]["checkpoint"]> export type CheckpointSelectScalar = { id?: boolean taskId?: boolean taskDescription?: boolean agentId?: boolean projectId?: boolean state?: boolean stateSchemaVersion?: boolean memoryIds?: boolean fileChanges?: boolean checkpointType?: boolean parentCheckpointId?: boolean createdAt?: boolean expiresAt?: boolean } export type CheckpointOmit = $Extensions.GetOmit<"id" | "taskId" | "taskDescription" | "agentId" | "projectId" | "state" | "stateSchemaVersion" | "memoryIds" | "fileChanges" | "checkpointType" | "parentCheckpointId" | "createdAt" | "expiresAt", ExtArgs["result"]["checkpoint"]> export type $CheckpointPayload = { name: "Checkpoint" objects: {} scalars: $Extensions.GetPayloadResult<{ id: string taskId: string taskDescription: string | null agentId: string | null projectId: string | null state: Prisma.Bytes stateSchemaVersion: number memoryIds: string | null fileChanges: string | null checkpointType: string parentCheckpointId: string | null createdAt: bigint expiresAt: bigint | null }, ExtArgs["result"]["checkpoint"]> composites: {} } type CheckpointGetPayload = $Result.GetResult type CheckpointCountArgs = Omit & { select?: CheckpointCountAggregateInputType | true } export interface CheckpointDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Checkpoint'], meta: { name: 'Checkpoint' } } /** * Find zero or one Checkpoint that matches the filter. * @param {CheckpointFindUniqueArgs} args - Arguments to find a Checkpoint * @example * // Get one Checkpoint * const checkpoint = await prisma.checkpoint.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__CheckpointClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Checkpoint that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {CheckpointFindUniqueOrThrowArgs} args - Arguments to find a Checkpoint * @example * // Get one Checkpoint * const checkpoint = await prisma.checkpoint.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__CheckpointClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Checkpoint 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 {CheckpointFindFirstArgs} args - Arguments to find a Checkpoint * @example * // Get one Checkpoint * const checkpoint = await prisma.checkpoint.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__CheckpointClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Checkpoint 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 {CheckpointFindFirstOrThrowArgs} args - Arguments to find a Checkpoint * @example * // Get one Checkpoint * const checkpoint = await prisma.checkpoint.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__CheckpointClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Checkpoints 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 {CheckpointFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Checkpoints * const checkpoints = await prisma.checkpoint.findMany() * * // Get first 10 Checkpoints * const checkpoints = await prisma.checkpoint.findMany({ take: 10 }) * * // Only select the `id` * const checkpointWithIdOnly = await prisma.checkpoint.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Checkpoint. * @param {CheckpointCreateArgs} args - Arguments to create a Checkpoint. * @example * // Create one Checkpoint * const Checkpoint = await prisma.checkpoint.create({ * data: { * // ... data to create a Checkpoint * } * }) * */ create(args: SelectSubset>): Prisma__CheckpointClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Checkpoints. * @param {CheckpointCreateManyArgs} args - Arguments to create many Checkpoints. * @example * // Create many Checkpoints * const checkpoint = await prisma.checkpoint.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Checkpoints and returns the data saved in the database. * @param {CheckpointCreateManyAndReturnArgs} args - Arguments to create many Checkpoints. * @example * // Create many Checkpoints * const checkpoint = await prisma.checkpoint.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Checkpoints and only return the `id` * const checkpointWithIdOnly = await prisma.checkpoint.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", GlobalOmitOptions>> /** * Delete a Checkpoint. * @param {CheckpointDeleteArgs} args - Arguments to delete one Checkpoint. * @example * // Delete one Checkpoint * const Checkpoint = await prisma.checkpoint.delete({ * where: { * // ... filter to delete one Checkpoint * } * }) * */ delete(args: SelectSubset>): Prisma__CheckpointClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Checkpoint. * @param {CheckpointUpdateArgs} args - Arguments to update one Checkpoint. * @example * // Update one Checkpoint * const checkpoint = await prisma.checkpoint.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__CheckpointClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Checkpoints. * @param {CheckpointDeleteManyArgs} args - Arguments to filter Checkpoints to delete. * @example * // Delete a few Checkpoints * const { count } = await prisma.checkpoint.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Checkpoints. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CheckpointUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Checkpoints * const checkpoint = await prisma.checkpoint.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Checkpoints and returns the data updated in the database. * @param {CheckpointUpdateManyAndReturnArgs} args - Arguments to update many Checkpoints. * @example * // Update many Checkpoints * const checkpoint = await prisma.checkpoint.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Checkpoints and only return the `id` * const checkpointWithIdOnly = await prisma.checkpoint.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one Checkpoint. * @param {CheckpointUpsertArgs} args - Arguments to update or create a Checkpoint. * @example * // Update or create a Checkpoint * const checkpoint = await prisma.checkpoint.upsert({ * create: { * // ... data to create a Checkpoint * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Checkpoint we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__CheckpointClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Checkpoints. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CheckpointCountArgs} args - Arguments to filter Checkpoints to count. * @example * // Count the number of Checkpoints * const count = await prisma.checkpoint.count({ * where: { * // ... the filter for the Checkpoints 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 Checkpoint. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CheckpointAggregateArgs} 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 Checkpoint. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CheckpointGroupByArgs} 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 CheckpointGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: CheckpointGroupByArgs['orderBy'] } : { orderBy?: CheckpointGroupByArgs['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 ? GetCheckpointGroupByPayload : Prisma.PrismaPromise /** * Fields of the Checkpoint model */ readonly fields: CheckpointFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Checkpoint. * 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__CheckpointClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $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 Checkpoint model */ interface CheckpointFieldRefs { readonly id: FieldRef<"Checkpoint", 'String'> readonly taskId: FieldRef<"Checkpoint", 'String'> readonly taskDescription: FieldRef<"Checkpoint", 'String'> readonly agentId: FieldRef<"Checkpoint", 'String'> readonly projectId: FieldRef<"Checkpoint", 'String'> readonly state: FieldRef<"Checkpoint", 'Bytes'> readonly stateSchemaVersion: FieldRef<"Checkpoint", 'Int'> readonly memoryIds: FieldRef<"Checkpoint", 'String'> readonly fileChanges: FieldRef<"Checkpoint", 'String'> readonly checkpointType: FieldRef<"Checkpoint", 'String'> readonly parentCheckpointId: FieldRef<"Checkpoint", 'String'> readonly createdAt: FieldRef<"Checkpoint", 'BigInt'> readonly expiresAt: FieldRef<"Checkpoint", 'BigInt'> } // Custom InputTypes /** * Checkpoint findUnique */ export type CheckpointFindUniqueArgs = { /** * Select specific fields to fetch from the Checkpoint */ select?: CheckpointSelect | null /** * Omit specific fields from the Checkpoint */ omit?: CheckpointOmit | null /** * Filter, which Checkpoint to fetch. */ where: CheckpointWhereUniqueInput } /** * Checkpoint findUniqueOrThrow */ export type CheckpointFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Checkpoint */ select?: CheckpointSelect | null /** * Omit specific fields from the Checkpoint */ omit?: CheckpointOmit | null /** * Filter, which Checkpoint to fetch. */ where: CheckpointWhereUniqueInput } /** * Checkpoint findFirst */ export type CheckpointFindFirstArgs = { /** * Select specific fields to fetch from the Checkpoint */ select?: CheckpointSelect | null /** * Omit specific fields from the Checkpoint */ omit?: CheckpointOmit | null /** * Filter, which Checkpoint to fetch. */ where?: CheckpointWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Checkpoints to fetch. */ orderBy?: CheckpointOrderByWithRelationInput | CheckpointOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Checkpoints. */ cursor?: CheckpointWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Checkpoints 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` Checkpoints. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Checkpoints. */ distinct?: CheckpointScalarFieldEnum | CheckpointScalarFieldEnum[] } /** * Checkpoint findFirstOrThrow */ export type CheckpointFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Checkpoint */ select?: CheckpointSelect | null /** * Omit specific fields from the Checkpoint */ omit?: CheckpointOmit | null /** * Filter, which Checkpoint to fetch. */ where?: CheckpointWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Checkpoints to fetch. */ orderBy?: CheckpointOrderByWithRelationInput | CheckpointOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Checkpoints. */ cursor?: CheckpointWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Checkpoints 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` Checkpoints. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Checkpoints. */ distinct?: CheckpointScalarFieldEnum | CheckpointScalarFieldEnum[] } /** * Checkpoint findMany */ export type CheckpointFindManyArgs = { /** * Select specific fields to fetch from the Checkpoint */ select?: CheckpointSelect | null /** * Omit specific fields from the Checkpoint */ omit?: CheckpointOmit | null /** * Filter, which Checkpoints to fetch. */ where?: CheckpointWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Checkpoints to fetch. */ orderBy?: CheckpointOrderByWithRelationInput | CheckpointOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Checkpoints. */ cursor?: CheckpointWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Checkpoints 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` Checkpoints. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Checkpoints. */ distinct?: CheckpointScalarFieldEnum | CheckpointScalarFieldEnum[] } /** * Checkpoint create */ export type CheckpointCreateArgs = { /** * Select specific fields to fetch from the Checkpoint */ select?: CheckpointSelect | null /** * Omit specific fields from the Checkpoint */ omit?: CheckpointOmit | null /** * The data needed to create a Checkpoint. */ data: XOR } /** * Checkpoint createMany */ export type CheckpointCreateManyArgs = { /** * The data used to create many Checkpoints. */ data: CheckpointCreateManyInput | CheckpointCreateManyInput[] skipDuplicates?: boolean } /** * Checkpoint createManyAndReturn */ export type CheckpointCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Checkpoint */ select?: CheckpointSelectCreateManyAndReturn | null /** * Omit specific fields from the Checkpoint */ omit?: CheckpointOmit | null /** * The data used to create many Checkpoints. */ data: CheckpointCreateManyInput | CheckpointCreateManyInput[] skipDuplicates?: boolean } /** * Checkpoint update */ export type CheckpointUpdateArgs = { /** * Select specific fields to fetch from the Checkpoint */ select?: CheckpointSelect | null /** * Omit specific fields from the Checkpoint */ omit?: CheckpointOmit | null /** * The data needed to update a Checkpoint. */ data: XOR /** * Choose, which Checkpoint to update. */ where: CheckpointWhereUniqueInput } /** * Checkpoint updateMany */ export type CheckpointUpdateManyArgs = { /** * The data used to update Checkpoints. */ data: XOR /** * Filter which Checkpoints to update */ where?: CheckpointWhereInput /** * Limit how many Checkpoints to update. */ limit?: number } /** * Checkpoint updateManyAndReturn */ export type CheckpointUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Checkpoint */ select?: CheckpointSelectUpdateManyAndReturn | null /** * Omit specific fields from the Checkpoint */ omit?: CheckpointOmit | null /** * The data used to update Checkpoints. */ data: XOR /** * Filter which Checkpoints to update */ where?: CheckpointWhereInput /** * Limit how many Checkpoints to update. */ limit?: number } /** * Checkpoint upsert */ export type CheckpointUpsertArgs = { /** * Select specific fields to fetch from the Checkpoint */ select?: CheckpointSelect | null /** * Omit specific fields from the Checkpoint */ omit?: CheckpointOmit | null /** * The filter to search for the Checkpoint to update in case it exists. */ where: CheckpointWhereUniqueInput /** * In case the Checkpoint found by the `where` argument doesn't exist, create a new Checkpoint with this data. */ create: XOR /** * In case the Checkpoint was found with the provided `where` argument, update it with this data. */ update: XOR } /** * Checkpoint delete */ export type CheckpointDeleteArgs = { /** * Select specific fields to fetch from the Checkpoint */ select?: CheckpointSelect | null /** * Omit specific fields from the Checkpoint */ omit?: CheckpointOmit | null /** * Filter which Checkpoint to delete. */ where: CheckpointWhereUniqueInput } /** * Checkpoint deleteMany */ export type CheckpointDeleteManyArgs = { /** * Filter which Checkpoints to delete */ where?: CheckpointWhereInput /** * Limit how many Checkpoints to delete. */ limit?: number } /** * Checkpoint without action */ export type CheckpointDefaultArgs = { /** * Select specific fields to fetch from the Checkpoint */ select?: CheckpointSelect | null /** * Omit specific fields from the Checkpoint */ omit?: CheckpointOmit | null } /** * Enums */ export const TransactionIsolationLevel: { ReadUncommitted: 'ReadUncommitted', ReadCommitted: 'ReadCommitted', RepeatableRead: 'RepeatableRead', Serializable: 'Serializable' }; export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel] export const MemoryScalarFieldEnum: { id: 'id', content: 'content', type: 'type', level: 'level', userId: 'userId', sessionId: 'sessionId', projectId: 'projectId', agentId: 'agentId', importance: 'importance', tags: 'tags', embedding: 'embedding', metadata: 'metadata', createdAt: 'createdAt', updatedAt: 'updatedAt', accessCount: 'accessCount', lastAccessed: 'lastAccessed', pinned: 'pinned', deletedAt: 'deletedAt' }; export type MemoryScalarFieldEnum = (typeof MemoryScalarFieldEnum)[keyof typeof MemoryScalarFieldEnum] export const ProjectScalarFieldEnum: { id: 'id', projectId: 'projectId', path: 'path', documentCount: 'documentCount', totalSize: 'totalSize', lastIndexed: 'lastIndexed', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type ProjectScalarFieldEnum = (typeof ProjectScalarFieldEnum)[keyof typeof ProjectScalarFieldEnum] export const DocumentScalarFieldEnum: { id: 'id', projectId: 'projectId', filePath: 'filePath', fileType: 'fileType', size: 'size', indexedAt: 'indexedAt' }; export type DocumentScalarFieldEnum = (typeof DocumentScalarFieldEnum)[keyof typeof DocumentScalarFieldEnum] export const SearchQueryScalarFieldEnum: { id: 'id', query: 'query', projectId: 'projectId', resultsCount: 'resultsCount', duration: 'duration', cacheHit: 'cacheHit', timestamp: 'timestamp' }; export type SearchQueryScalarFieldEnum = (typeof SearchQueryScalarFieldEnum)[keyof typeof SearchQueryScalarFieldEnum] export const CacheStatsScalarFieldEnum: { id: 'id', projectId: 'projectId', queryHash: 'queryHash', hitCount: 'hitCount', createdAt: 'createdAt', lastHitAt: 'lastHitAt' }; export type CacheStatsScalarFieldEnum = (typeof CacheStatsScalarFieldEnum)[keyof typeof CacheStatsScalarFieldEnum] export const WorkspaceScalarFieldEnum: { projectId: 'projectId', projectPath: 'projectPath', displayName: 'displayName', status: 'status', lastIndexedAt: 'lastIndexedAt', lastError: 'lastError', filesCount: 'filesCount', chunksCount: 'chunksCount', symbolsCount: 'symbolsCount', activeGraphGenerationId: 'activeGraphGenerationId', pendingGraphGenerationId: 'pendingGraphGenerationId', graphLeaseToken: 'graphLeaseToken', graphLeaseExpiresAt: 'graphLeaseExpiresAt', graphLeaseHeartbeatAt: 'graphLeaseHeartbeatAt', activeFilesCount: 'activeFilesCount', activeDefinitionsCount: 'activeDefinitionsCount', activeReferencesCount: 'activeReferencesCount', activeImportsCount: 'activeImportsCount', activeCentralityCount: 'activeCentralityCount', activeDiagnosticsCount: 'activeDiagnosticsCount', activeRecoveredCount: 'activeRecoveredCount', activeHardFailuresCount: 'activeHardFailuresCount', activeStaleFilesCount: 'activeStaleFilesCount', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type WorkspaceScalarFieldEnum = (typeof WorkspaceScalarFieldEnum)[keyof typeof WorkspaceScalarFieldEnum] export const GraphGenerationScalarFieldEnum: { id: 'id', projectId: 'projectId', status: 'status', fingerprint: 'fingerprint', inputSnapshotHash: 'inputSnapshotHash', expectedActiveId: 'expectedActiveId', leaseToken: 'leaseToken', leaseExpiresAt: 'leaseExpiresAt', expectedFilesCount: 'expectedFilesCount', completedFilesCount: 'completedFilesCount', filesCount: 'filesCount', definitionsCount: 'definitionsCount', referencesCount: 'referencesCount', importsCount: 'importsCount', centralityCount: 'centralityCount', diagnosticsCount: 'diagnosticsCount', recoveredCount: 'recoveredCount', hardFailuresCount: 'hardFailuresCount', staleFilesCount: 'staleFilesCount', failureReason: 'failureReason', startedAt: 'startedAt', completedAt: 'completedAt', activatedAt: 'activatedAt', supersededAt: 'supersededAt' }; export type GraphGenerationScalarFieldEnum = (typeof GraphGenerationScalarFieldEnum)[keyof typeof GraphGenerationScalarFieldEnum] export const SymbolFileScalarFieldEnum: { projectId: 'projectId', generationId: 'generationId', relativePath: 'relativePath', contentHash: 'contentHash', mtime: 'mtime', size: 'size', indexedAt: 'indexedAt', symbolCount: 'symbolCount', chunkCount: 'chunkCount', language: 'language', dialect: 'dialect', grammarVersion: 'grammarVersion', queryPackVersion: 'queryPackVersion', resolverVersion: 'resolverVersion', parserStatus: 'parserStatus', parserErrorCount: 'parserErrorCount', diagnostics: 'diagnostics', isStale: 'isStale', lastKnownGoodGenerationId: 'lastKnownGoodGenerationId', lastSuccessfulAt: 'lastSuccessfulAt' }; export type SymbolFileScalarFieldEnum = (typeof SymbolFileScalarFieldEnum)[keyof typeof SymbolFileScalarFieldEnum] export const SymbolDefinitionScalarFieldEnum: { id: 'id', projectId: 'projectId', generationId: 'generationId', filePath: 'filePath', name: 'name', kind: 'kind', lineStart: 'lineStart', lineEnd: 'lineEnd', exported: 'exported', docComment: 'docComment', indexedAt: 'indexedAt', qualifiedName: 'qualifiedName', canonicalSignature: 'canonicalSignature', signatureHash: 'signatureHash', legacyFqn: 'legacyFqn', sourceSpan: 'sourceSpan' }; export type SymbolDefinitionScalarFieldEnum = (typeof SymbolDefinitionScalarFieldEnum)[keyof typeof SymbolDefinitionScalarFieldEnum] export const SymbolReferenceScalarFieldEnum: { id: 'id', projectId: 'projectId', generationId: 'generationId', fromFile: 'fromFile', fromLine: 'fromLine', symbolName: 'symbolName', targetFqn: 'targetFqn', refKind: 'refKind', meta: 'meta', sourceSpan: 'sourceSpan' }; export type SymbolReferenceScalarFieldEnum = (typeof SymbolReferenceScalarFieldEnum)[keyof typeof SymbolReferenceScalarFieldEnum] export const SymbolImportScalarFieldEnum: { id: 'id', projectId: 'projectId', generationId: 'generationId', fromFile: 'fromFile', toFile: 'toFile', specifier: 'specifier', importedNames: 'importedNames', isExternal: 'isExternal', isTypeOnly: 'isTypeOnly' }; export type SymbolImportScalarFieldEnum = (typeof SymbolImportScalarFieldEnum)[keyof typeof SymbolImportScalarFieldEnum] export const SymbolCentralityScalarFieldEnum: { projectId: 'projectId', generationId: 'generationId', filePath: 'filePath', score: 'score', updatedAt: 'updatedAt' }; export type SymbolCentralityScalarFieldEnum = (typeof SymbolCentralityScalarFieldEnum)[keyof typeof SymbolCentralityScalarFieldEnum] export const MemoryEdgeScalarFieldEnum: { id: 'id', fromId: 'fromId', toId: 'toId', edgeType: 'edgeType', weight: 'weight', metadata: 'metadata', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type MemoryEdgeScalarFieldEnum = (typeof MemoryEdgeScalarFieldEnum)[keyof typeof MemoryEdgeScalarFieldEnum] export const ObservationScalarFieldEnum: { id: 'id', projectId: 'projectId', sessionId: 'sessionId', source: 'source', category: 'category', payloadJson: 'payloadJson', importance: 'importance', createdAt: 'createdAt' }; export type ObservationScalarFieldEnum = (typeof ObservationScalarFieldEnum)[keyof typeof ObservationScalarFieldEnum] export const HandoffScalarFieldEnum: { id: 'id', projectId: 'projectId', sourceSessionId: 'sourceSessionId', targetAgent: 'targetAgent', summary: 'summary', openQuestionsJson: 'openQuestionsJson', nextStepsJson: 'nextStepsJson', filesJson: 'filesJson', status: 'status', createdAt: 'createdAt', acceptedAt: 'acceptedAt' }; export type HandoffScalarFieldEnum = (typeof HandoffScalarFieldEnum)[keyof typeof HandoffScalarFieldEnum] export const ProposalScalarFieldEnum: { id: 'id', projectId: 'projectId', kind: 'kind', targetMemoryId: 'targetMemoryId', payloadJson: 'payloadJson', rationale: 'rationale', status: 'status', createdAt: 'createdAt', decidedAt: 'decidedAt' }; export type ProposalScalarFieldEnum = (typeof ProposalScalarFieldEnum)[keyof typeof ProposalScalarFieldEnum] export const EmbeddingCacheScalarFieldEnum: { textHash: 'textHash', embedding: 'embedding', model: 'model', createdAt: 'createdAt', accessedAt: 'accessedAt', hitCount: 'hitCount' }; export type EmbeddingCacheScalarFieldEnum = (typeof EmbeddingCacheScalarFieldEnum)[keyof typeof EmbeddingCacheScalarFieldEnum] export const VectorDocument1024ScalarFieldEnum: { id: 'id', projectId: 'projectId', content: 'content', metadata: 'metadata', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type VectorDocument1024ScalarFieldEnum = (typeof VectorDocument1024ScalarFieldEnum)[keyof typeof VectorDocument1024ScalarFieldEnum] export const VectorDocument1536ScalarFieldEnum: { id: 'id', projectId: 'projectId', content: 'content', metadata: 'metadata', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type VectorDocument1536ScalarFieldEnum = (typeof VectorDocument1536ScalarFieldEnum)[keyof typeof VectorDocument1536ScalarFieldEnum] export const VectorDocument3072ScalarFieldEnum: { id: 'id', projectId: 'projectId', content: 'content', metadata: 'metadata', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type VectorDocument3072ScalarFieldEnum = (typeof VectorDocument3072ScalarFieldEnum)[keyof typeof VectorDocument3072ScalarFieldEnum] export const VectorDocumentLegacyScalarFieldEnum: { id: 'id', projectId: 'projectId', content: 'content', metadata: 'metadata', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type VectorDocumentLegacyScalarFieldEnum = (typeof VectorDocumentLegacyScalarFieldEnum)[keyof typeof VectorDocumentLegacyScalarFieldEnum] export const VectorDocument4096ScalarFieldEnum: { id: 'id', projectId: 'projectId', content: 'content', metadata: 'metadata', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type VectorDocument4096ScalarFieldEnum = (typeof VectorDocument4096ScalarFieldEnum)[keyof typeof VectorDocument4096ScalarFieldEnum] export const IndexJobScalarFieldEnum: { jobId: 'jobId', projectId: 'projectId', projectPath: 'projectPath', status: 'status', current: 'current', total: 'total', percentage: 'percentage', filesIndexed: 'filesIndexed', chunksIndexed: 'chunksIndexed', errors: 'errors', duration: 'duration', error: 'error', createdAt: 'createdAt', startedAt: 'startedAt', completedAt: 'completedAt', heartbeatAt: 'heartbeatAt', activatedGraphGenerationId: 'activatedGraphGenerationId', parserDiagnosticsCount: 'parserDiagnosticsCount', parserRecoveredFiles: 'parserRecoveredFiles', parserHardFailureFiles: 'parserHardFailureFiles', parserStaleFiles: 'parserStaleFiles', parserLanguageCounts: 'parserLanguageCounts' }; export type IndexJobScalarFieldEnum = (typeof IndexJobScalarFieldEnum)[keyof typeof IndexJobScalarFieldEnum] export const ScheduledJobScalarFieldEnum: { id: 'id', name: 'name', jobKind: 'jobKind', scheduleType: 'scheduleType', intervalMs: 'intervalMs', cron: 'cron', nextRunAt: 'nextRunAt', lastRunAt: 'lastRunAt', enabled: 'enabled', payload: 'payload' }; export type ScheduledJobScalarFieldEnum = (typeof ScheduledJobScalarFieldEnum)[keyof typeof ScheduledJobScalarFieldEnum] export const SynapseSessionScalarFieldEnum: { sessionId: 'sessionId', agentId: 'agentId', workspaceId: 'workspaceId', taskContext: 'taskContext', taskTokens: 'taskTokens', taskEmbedding: 'taskEmbedding', ttlMs: 'ttlMs', createdAt: 'createdAt', expiresAt: 'expiresAt', accessHistoryLimit: 'accessHistoryLimit', bufferConfig: 'bufferConfig', bufferSnapshot: 'bufferSnapshot', updatedAt: 'updatedAt' }; export type SynapseSessionScalarFieldEnum = (typeof SynapseSessionScalarFieldEnum)[keyof typeof SynapseSessionScalarFieldEnum] export const SynapseAccessHistoryScalarFieldEnum: { sessionId: 'sessionId', memoryId: 'memoryId', accessCount: 'accessCount', lastAccessedAt: 'lastAccessedAt' }; export type SynapseAccessHistoryScalarFieldEnum = (typeof SynapseAccessHistoryScalarFieldEnum)[keyof typeof SynapseAccessHistoryScalarFieldEnum] export const CheckpointScalarFieldEnum: { id: 'id', taskId: 'taskId', taskDescription: 'taskDescription', agentId: 'agentId', projectId: 'projectId', state: 'state', stateSchemaVersion: 'stateSchemaVersion', memoryIds: 'memoryIds', fileChanges: 'fileChanges', checkpointType: 'checkpointType', parentCheckpointId: 'parentCheckpointId', createdAt: 'createdAt', expiresAt: 'expiresAt' }; export type CheckpointScalarFieldEnum = (typeof CheckpointScalarFieldEnum)[keyof typeof CheckpointScalarFieldEnum] export const SortOrder: { asc: 'asc', desc: 'desc' }; export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder] export const NullableJsonNullValueInput: { DbNull: typeof DbNull, JsonNull: typeof JsonNull }; export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput] export const JsonNullValueInput: { JsonNull: typeof JsonNull }; export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput] export const QueryMode: { default: 'default', insensitive: 'insensitive' }; export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode] export const JsonNullValueFilter: { DbNull: typeof DbNull, JsonNull: typeof JsonNull, AnyNull: typeof AnyNull }; export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter] 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 '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 'Float' */ export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'> /** * Reference to a field of type 'Float[]' */ export type ListFloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float[]'> /** * Reference to a field of type 'Bytes' */ export type BytesFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Bytes'> /** * Reference to a field of type 'Bytes[]' */ export type ListBytesFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Bytes[]'> /** * Reference to a field of type 'Json' */ export type JsonFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Json'> /** * Reference to a field of type 'QueryMode' */ export type EnumQueryModeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'QueryMode'> /** * 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 'Boolean' */ export type BooleanFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Boolean'> /** * Reference to a field of type 'BigInt' */ export type BigIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'BigInt'> /** * Reference to a field of type 'BigInt[]' */ export type ListBigIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'BigInt[]'> /** * Deep Input Types */ export type MemoryWhereInput = { AND?: MemoryWhereInput | MemoryWhereInput[] OR?: MemoryWhereInput[] NOT?: MemoryWhereInput | MemoryWhereInput[] id?: StringFilter<"Memory"> | string content?: StringFilter<"Memory"> | string type?: StringFilter<"Memory"> | string level?: IntFilter<"Memory"> | number userId?: StringNullableFilter<"Memory"> | string | null sessionId?: StringNullableFilter<"Memory"> | string | null projectId?: StringNullableFilter<"Memory"> | string | null agentId?: StringNullableFilter<"Memory"> | string | null importance?: FloatFilter<"Memory"> | number tags?: StringNullableListFilter<"Memory"> embedding?: BytesNullableFilter<"Memory"> | Bytes | null metadata?: JsonNullableFilter<"Memory"> createdAt?: DateTimeFilter<"Memory"> | Date | string updatedAt?: DateTimeFilter<"Memory"> | Date | string accessCount?: IntFilter<"Memory"> | number lastAccessed?: DateTimeNullableFilter<"Memory"> | Date | string | null pinned?: BoolFilter<"Memory"> | boolean deletedAt?: DateTimeNullableFilter<"Memory"> | Date | string | null edgesFrom?: MemoryEdgeListRelationFilter edgesTo?: MemoryEdgeListRelationFilter } export type MemoryOrderByWithRelationInput = { id?: SortOrder content?: SortOrder type?: SortOrder level?: SortOrder userId?: SortOrderInput | SortOrder sessionId?: SortOrderInput | SortOrder projectId?: SortOrderInput | SortOrder agentId?: SortOrderInput | SortOrder importance?: SortOrder tags?: SortOrder embedding?: SortOrderInput | SortOrder metadata?: SortOrderInput | SortOrder createdAt?: SortOrder updatedAt?: SortOrder accessCount?: SortOrder lastAccessed?: SortOrderInput | SortOrder pinned?: SortOrder deletedAt?: SortOrderInput | SortOrder edgesFrom?: MemoryEdgeOrderByRelationAggregateInput edgesTo?: MemoryEdgeOrderByRelationAggregateInput } export type MemoryWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: MemoryWhereInput | MemoryWhereInput[] OR?: MemoryWhereInput[] NOT?: MemoryWhereInput | MemoryWhereInput[] content?: StringFilter<"Memory"> | string type?: StringFilter<"Memory"> | string level?: IntFilter<"Memory"> | number userId?: StringNullableFilter<"Memory"> | string | null sessionId?: StringNullableFilter<"Memory"> | string | null projectId?: StringNullableFilter<"Memory"> | string | null agentId?: StringNullableFilter<"Memory"> | string | null importance?: FloatFilter<"Memory"> | number tags?: StringNullableListFilter<"Memory"> embedding?: BytesNullableFilter<"Memory"> | Bytes | null metadata?: JsonNullableFilter<"Memory"> createdAt?: DateTimeFilter<"Memory"> | Date | string updatedAt?: DateTimeFilter<"Memory"> | Date | string accessCount?: IntFilter<"Memory"> | number lastAccessed?: DateTimeNullableFilter<"Memory"> | Date | string | null pinned?: BoolFilter<"Memory"> | boolean deletedAt?: DateTimeNullableFilter<"Memory"> | Date | string | null edgesFrom?: MemoryEdgeListRelationFilter edgesTo?: MemoryEdgeListRelationFilter }, "id"> export type MemoryOrderByWithAggregationInput = { id?: SortOrder content?: SortOrder type?: SortOrder level?: SortOrder userId?: SortOrderInput | SortOrder sessionId?: SortOrderInput | SortOrder projectId?: SortOrderInput | SortOrder agentId?: SortOrderInput | SortOrder importance?: SortOrder tags?: SortOrder embedding?: SortOrderInput | SortOrder metadata?: SortOrderInput | SortOrder createdAt?: SortOrder updatedAt?: SortOrder accessCount?: SortOrder lastAccessed?: SortOrderInput | SortOrder pinned?: SortOrder deletedAt?: SortOrderInput | SortOrder _count?: MemoryCountOrderByAggregateInput _avg?: MemoryAvgOrderByAggregateInput _max?: MemoryMaxOrderByAggregateInput _min?: MemoryMinOrderByAggregateInput _sum?: MemorySumOrderByAggregateInput } export type MemoryScalarWhereWithAggregatesInput = { AND?: MemoryScalarWhereWithAggregatesInput | MemoryScalarWhereWithAggregatesInput[] OR?: MemoryScalarWhereWithAggregatesInput[] NOT?: MemoryScalarWhereWithAggregatesInput | MemoryScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Memory"> | string content?: StringWithAggregatesFilter<"Memory"> | string type?: StringWithAggregatesFilter<"Memory"> | string level?: IntWithAggregatesFilter<"Memory"> | number userId?: StringNullableWithAggregatesFilter<"Memory"> | string | null sessionId?: StringNullableWithAggregatesFilter<"Memory"> | string | null projectId?: StringNullableWithAggregatesFilter<"Memory"> | string | null agentId?: StringNullableWithAggregatesFilter<"Memory"> | string | null importance?: FloatWithAggregatesFilter<"Memory"> | number tags?: StringNullableListFilter<"Memory"> embedding?: BytesNullableWithAggregatesFilter<"Memory"> | Bytes | null metadata?: JsonNullableWithAggregatesFilter<"Memory"> createdAt?: DateTimeWithAggregatesFilter<"Memory"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"Memory"> | Date | string accessCount?: IntWithAggregatesFilter<"Memory"> | number lastAccessed?: DateTimeNullableWithAggregatesFilter<"Memory"> | Date | string | null pinned?: BoolWithAggregatesFilter<"Memory"> | boolean deletedAt?: DateTimeNullableWithAggregatesFilter<"Memory"> | Date | string | null } export type ProjectWhereInput = { AND?: ProjectWhereInput | ProjectWhereInput[] OR?: ProjectWhereInput[] NOT?: ProjectWhereInput | ProjectWhereInput[] id?: StringFilter<"Project"> | string projectId?: StringFilter<"Project"> | string path?: StringFilter<"Project"> | string documentCount?: IntFilter<"Project"> | number totalSize?: IntFilter<"Project"> | number lastIndexed?: DateTimeNullableFilter<"Project"> | Date | string | null createdAt?: DateTimeFilter<"Project"> | Date | string updatedAt?: DateTimeFilter<"Project"> | Date | string documents?: DocumentListRelationFilter } export type ProjectOrderByWithRelationInput = { id?: SortOrder projectId?: SortOrder path?: SortOrder documentCount?: SortOrder totalSize?: SortOrder lastIndexed?: SortOrderInput | SortOrder createdAt?: SortOrder updatedAt?: SortOrder documents?: DocumentOrderByRelationAggregateInput } export type ProjectWhereUniqueInput = Prisma.AtLeast<{ id?: string projectId?: string AND?: ProjectWhereInput | ProjectWhereInput[] OR?: ProjectWhereInput[] NOT?: ProjectWhereInput | ProjectWhereInput[] path?: StringFilter<"Project"> | string documentCount?: IntFilter<"Project"> | number totalSize?: IntFilter<"Project"> | number lastIndexed?: DateTimeNullableFilter<"Project"> | Date | string | null createdAt?: DateTimeFilter<"Project"> | Date | string updatedAt?: DateTimeFilter<"Project"> | Date | string documents?: DocumentListRelationFilter }, "id" | "projectId"> export type ProjectOrderByWithAggregationInput = { id?: SortOrder projectId?: SortOrder path?: SortOrder documentCount?: SortOrder totalSize?: SortOrder lastIndexed?: SortOrderInput | SortOrder createdAt?: SortOrder updatedAt?: SortOrder _count?: ProjectCountOrderByAggregateInput _avg?: ProjectAvgOrderByAggregateInput _max?: ProjectMaxOrderByAggregateInput _min?: ProjectMinOrderByAggregateInput _sum?: ProjectSumOrderByAggregateInput } export type ProjectScalarWhereWithAggregatesInput = { AND?: ProjectScalarWhereWithAggregatesInput | ProjectScalarWhereWithAggregatesInput[] OR?: ProjectScalarWhereWithAggregatesInput[] NOT?: ProjectScalarWhereWithAggregatesInput | ProjectScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Project"> | string projectId?: StringWithAggregatesFilter<"Project"> | string path?: StringWithAggregatesFilter<"Project"> | string documentCount?: IntWithAggregatesFilter<"Project"> | number totalSize?: IntWithAggregatesFilter<"Project"> | number lastIndexed?: DateTimeNullableWithAggregatesFilter<"Project"> | Date | string | null createdAt?: DateTimeWithAggregatesFilter<"Project"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"Project"> | Date | string } export type DocumentWhereInput = { AND?: DocumentWhereInput | DocumentWhereInput[] OR?: DocumentWhereInput[] NOT?: DocumentWhereInput | DocumentWhereInput[] id?: StringFilter<"Document"> | string projectId?: StringFilter<"Document"> | string filePath?: StringFilter<"Document"> | string fileType?: StringNullableFilter<"Document"> | string | null size?: IntFilter<"Document"> | number indexedAt?: DateTimeFilter<"Document"> | Date | string project?: XOR } export type DocumentOrderByWithRelationInput = { id?: SortOrder projectId?: SortOrder filePath?: SortOrder fileType?: SortOrderInput | SortOrder size?: SortOrder indexedAt?: SortOrder project?: ProjectOrderByWithRelationInput } export type DocumentWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: DocumentWhereInput | DocumentWhereInput[] OR?: DocumentWhereInput[] NOT?: DocumentWhereInput | DocumentWhereInput[] projectId?: StringFilter<"Document"> | string filePath?: StringFilter<"Document"> | string fileType?: StringNullableFilter<"Document"> | string | null size?: IntFilter<"Document"> | number indexedAt?: DateTimeFilter<"Document"> | Date | string project?: XOR }, "id"> export type DocumentOrderByWithAggregationInput = { id?: SortOrder projectId?: SortOrder filePath?: SortOrder fileType?: SortOrderInput | SortOrder size?: SortOrder indexedAt?: SortOrder _count?: DocumentCountOrderByAggregateInput _avg?: DocumentAvgOrderByAggregateInput _max?: DocumentMaxOrderByAggregateInput _min?: DocumentMinOrderByAggregateInput _sum?: DocumentSumOrderByAggregateInput } export type DocumentScalarWhereWithAggregatesInput = { AND?: DocumentScalarWhereWithAggregatesInput | DocumentScalarWhereWithAggregatesInput[] OR?: DocumentScalarWhereWithAggregatesInput[] NOT?: DocumentScalarWhereWithAggregatesInput | DocumentScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Document"> | string projectId?: StringWithAggregatesFilter<"Document"> | string filePath?: StringWithAggregatesFilter<"Document"> | string fileType?: StringNullableWithAggregatesFilter<"Document"> | string | null size?: IntWithAggregatesFilter<"Document"> | number indexedAt?: DateTimeWithAggregatesFilter<"Document"> | Date | string } export type SearchQueryWhereInput = { AND?: SearchQueryWhereInput | SearchQueryWhereInput[] OR?: SearchQueryWhereInput[] NOT?: SearchQueryWhereInput | SearchQueryWhereInput[] id?: StringFilter<"SearchQuery"> | string query?: StringFilter<"SearchQuery"> | string projectId?: StringNullableFilter<"SearchQuery"> | string | null resultsCount?: IntFilter<"SearchQuery"> | number duration?: IntFilter<"SearchQuery"> | number cacheHit?: BoolFilter<"SearchQuery"> | boolean timestamp?: DateTimeFilter<"SearchQuery"> | Date | string } export type SearchQueryOrderByWithRelationInput = { id?: SortOrder query?: SortOrder projectId?: SortOrderInput | SortOrder resultsCount?: SortOrder duration?: SortOrder cacheHit?: SortOrder timestamp?: SortOrder } export type SearchQueryWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: SearchQueryWhereInput | SearchQueryWhereInput[] OR?: SearchQueryWhereInput[] NOT?: SearchQueryWhereInput | SearchQueryWhereInput[] query?: StringFilter<"SearchQuery"> | string projectId?: StringNullableFilter<"SearchQuery"> | string | null resultsCount?: IntFilter<"SearchQuery"> | number duration?: IntFilter<"SearchQuery"> | number cacheHit?: BoolFilter<"SearchQuery"> | boolean timestamp?: DateTimeFilter<"SearchQuery"> | Date | string }, "id"> export type SearchQueryOrderByWithAggregationInput = { id?: SortOrder query?: SortOrder projectId?: SortOrderInput | SortOrder resultsCount?: SortOrder duration?: SortOrder cacheHit?: SortOrder timestamp?: SortOrder _count?: SearchQueryCountOrderByAggregateInput _avg?: SearchQueryAvgOrderByAggregateInput _max?: SearchQueryMaxOrderByAggregateInput _min?: SearchQueryMinOrderByAggregateInput _sum?: SearchQuerySumOrderByAggregateInput } export type SearchQueryScalarWhereWithAggregatesInput = { AND?: SearchQueryScalarWhereWithAggregatesInput | SearchQueryScalarWhereWithAggregatesInput[] OR?: SearchQueryScalarWhereWithAggregatesInput[] NOT?: SearchQueryScalarWhereWithAggregatesInput | SearchQueryScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"SearchQuery"> | string query?: StringWithAggregatesFilter<"SearchQuery"> | string projectId?: StringNullableWithAggregatesFilter<"SearchQuery"> | string | null resultsCount?: IntWithAggregatesFilter<"SearchQuery"> | number duration?: IntWithAggregatesFilter<"SearchQuery"> | number cacheHit?: BoolWithAggregatesFilter<"SearchQuery"> | boolean timestamp?: DateTimeWithAggregatesFilter<"SearchQuery"> | Date | string } export type CacheStatsWhereInput = { AND?: CacheStatsWhereInput | CacheStatsWhereInput[] OR?: CacheStatsWhereInput[] NOT?: CacheStatsWhereInput | CacheStatsWhereInput[] id?: StringFilter<"CacheStats"> | string projectId?: StringFilter<"CacheStats"> | string queryHash?: StringFilter<"CacheStats"> | string hitCount?: IntFilter<"CacheStats"> | number createdAt?: DateTimeFilter<"CacheStats"> | Date | string lastHitAt?: DateTimeFilter<"CacheStats"> | Date | string } export type CacheStatsOrderByWithRelationInput = { id?: SortOrder projectId?: SortOrder queryHash?: SortOrder hitCount?: SortOrder createdAt?: SortOrder lastHitAt?: SortOrder } export type CacheStatsWhereUniqueInput = Prisma.AtLeast<{ id?: string projectId_queryHash?: CacheStatsProjectIdQueryHashCompoundUniqueInput AND?: CacheStatsWhereInput | CacheStatsWhereInput[] OR?: CacheStatsWhereInput[] NOT?: CacheStatsWhereInput | CacheStatsWhereInput[] projectId?: StringFilter<"CacheStats"> | string queryHash?: StringFilter<"CacheStats"> | string hitCount?: IntFilter<"CacheStats"> | number createdAt?: DateTimeFilter<"CacheStats"> | Date | string lastHitAt?: DateTimeFilter<"CacheStats"> | Date | string }, "id" | "projectId_queryHash"> export type CacheStatsOrderByWithAggregationInput = { id?: SortOrder projectId?: SortOrder queryHash?: SortOrder hitCount?: SortOrder createdAt?: SortOrder lastHitAt?: SortOrder _count?: CacheStatsCountOrderByAggregateInput _avg?: CacheStatsAvgOrderByAggregateInput _max?: CacheStatsMaxOrderByAggregateInput _min?: CacheStatsMinOrderByAggregateInput _sum?: CacheStatsSumOrderByAggregateInput } export type CacheStatsScalarWhereWithAggregatesInput = { AND?: CacheStatsScalarWhereWithAggregatesInput | CacheStatsScalarWhereWithAggregatesInput[] OR?: CacheStatsScalarWhereWithAggregatesInput[] NOT?: CacheStatsScalarWhereWithAggregatesInput | CacheStatsScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"CacheStats"> | string projectId?: StringWithAggregatesFilter<"CacheStats"> | string queryHash?: StringWithAggregatesFilter<"CacheStats"> | string hitCount?: IntWithAggregatesFilter<"CacheStats"> | number createdAt?: DateTimeWithAggregatesFilter<"CacheStats"> | Date | string lastHitAt?: DateTimeWithAggregatesFilter<"CacheStats"> | Date | string } export type WorkspaceWhereInput = { AND?: WorkspaceWhereInput | WorkspaceWhereInput[] OR?: WorkspaceWhereInput[] NOT?: WorkspaceWhereInput | WorkspaceWhereInput[] projectId?: StringFilter<"Workspace"> | string projectPath?: StringFilter<"Workspace"> | string displayName?: StringNullableFilter<"Workspace"> | string | null status?: StringFilter<"Workspace"> | string lastIndexedAt?: DateTimeNullableFilter<"Workspace"> | Date | string | null lastError?: StringNullableFilter<"Workspace"> | string | null filesCount?: IntFilter<"Workspace"> | number chunksCount?: IntFilter<"Workspace"> | number symbolsCount?: IntFilter<"Workspace"> | number activeGraphGenerationId?: StringNullableFilter<"Workspace"> | string | null pendingGraphGenerationId?: StringNullableFilter<"Workspace"> | string | null graphLeaseToken?: StringNullableFilter<"Workspace"> | string | null graphLeaseExpiresAt?: DateTimeNullableFilter<"Workspace"> | Date | string | null graphLeaseHeartbeatAt?: DateTimeNullableFilter<"Workspace"> | Date | string | null activeFilesCount?: IntFilter<"Workspace"> | number activeDefinitionsCount?: IntFilter<"Workspace"> | number activeReferencesCount?: IntFilter<"Workspace"> | number activeImportsCount?: IntFilter<"Workspace"> | number activeCentralityCount?: IntFilter<"Workspace"> | number activeDiagnosticsCount?: IntFilter<"Workspace"> | number activeRecoveredCount?: IntFilter<"Workspace"> | number activeHardFailuresCount?: IntFilter<"Workspace"> | number activeStaleFilesCount?: IntFilter<"Workspace"> | number createdAt?: DateTimeFilter<"Workspace"> | Date | string updatedAt?: DateTimeFilter<"Workspace"> | Date | string files?: SymbolFileListRelationFilter definitions?: SymbolDefinitionListRelationFilter references?: SymbolReferenceListRelationFilter imports?: SymbolImportListRelationFilter centralities?: SymbolCentralityListRelationFilter graphGenerations?: GraphGenerationListRelationFilter activeGraphGeneration?: XOR | null pendingGraphGeneration?: XOR | null } export type WorkspaceOrderByWithRelationInput = { projectId?: SortOrder projectPath?: SortOrder displayName?: SortOrderInput | SortOrder status?: SortOrder lastIndexedAt?: SortOrderInput | SortOrder lastError?: SortOrderInput | SortOrder filesCount?: SortOrder chunksCount?: SortOrder symbolsCount?: SortOrder activeGraphGenerationId?: SortOrderInput | SortOrder pendingGraphGenerationId?: SortOrderInput | SortOrder graphLeaseToken?: SortOrderInput | SortOrder graphLeaseExpiresAt?: SortOrderInput | SortOrder graphLeaseHeartbeatAt?: SortOrderInput | SortOrder activeFilesCount?: SortOrder activeDefinitionsCount?: SortOrder activeReferencesCount?: SortOrder activeImportsCount?: SortOrder activeCentralityCount?: SortOrder activeDiagnosticsCount?: SortOrder activeRecoveredCount?: SortOrder activeHardFailuresCount?: SortOrder activeStaleFilesCount?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder files?: SymbolFileOrderByRelationAggregateInput definitions?: SymbolDefinitionOrderByRelationAggregateInput references?: SymbolReferenceOrderByRelationAggregateInput imports?: SymbolImportOrderByRelationAggregateInput centralities?: SymbolCentralityOrderByRelationAggregateInput graphGenerations?: GraphGenerationOrderByRelationAggregateInput activeGraphGeneration?: GraphGenerationOrderByWithRelationInput pendingGraphGeneration?: GraphGenerationOrderByWithRelationInput } export type WorkspaceWhereUniqueInput = Prisma.AtLeast<{ projectId?: string AND?: WorkspaceWhereInput | WorkspaceWhereInput[] OR?: WorkspaceWhereInput[] NOT?: WorkspaceWhereInput | WorkspaceWhereInput[] projectPath?: StringFilter<"Workspace"> | string displayName?: StringNullableFilter<"Workspace"> | string | null status?: StringFilter<"Workspace"> | string lastIndexedAt?: DateTimeNullableFilter<"Workspace"> | Date | string | null lastError?: StringNullableFilter<"Workspace"> | string | null filesCount?: IntFilter<"Workspace"> | number chunksCount?: IntFilter<"Workspace"> | number symbolsCount?: IntFilter<"Workspace"> | number activeGraphGenerationId?: StringNullableFilter<"Workspace"> | string | null pendingGraphGenerationId?: StringNullableFilter<"Workspace"> | string | null graphLeaseToken?: StringNullableFilter<"Workspace"> | string | null graphLeaseExpiresAt?: DateTimeNullableFilter<"Workspace"> | Date | string | null graphLeaseHeartbeatAt?: DateTimeNullableFilter<"Workspace"> | Date | string | null activeFilesCount?: IntFilter<"Workspace"> | number activeDefinitionsCount?: IntFilter<"Workspace"> | number activeReferencesCount?: IntFilter<"Workspace"> | number activeImportsCount?: IntFilter<"Workspace"> | number activeCentralityCount?: IntFilter<"Workspace"> | number activeDiagnosticsCount?: IntFilter<"Workspace"> | number activeRecoveredCount?: IntFilter<"Workspace"> | number activeHardFailuresCount?: IntFilter<"Workspace"> | number activeStaleFilesCount?: IntFilter<"Workspace"> | number createdAt?: DateTimeFilter<"Workspace"> | Date | string updatedAt?: DateTimeFilter<"Workspace"> | Date | string files?: SymbolFileListRelationFilter definitions?: SymbolDefinitionListRelationFilter references?: SymbolReferenceListRelationFilter imports?: SymbolImportListRelationFilter centralities?: SymbolCentralityListRelationFilter graphGenerations?: GraphGenerationListRelationFilter activeGraphGeneration?: XOR | null pendingGraphGeneration?: XOR | null }, "projectId"> export type WorkspaceOrderByWithAggregationInput = { projectId?: SortOrder projectPath?: SortOrder displayName?: SortOrderInput | SortOrder status?: SortOrder lastIndexedAt?: SortOrderInput | SortOrder lastError?: SortOrderInput | SortOrder filesCount?: SortOrder chunksCount?: SortOrder symbolsCount?: SortOrder activeGraphGenerationId?: SortOrderInput | SortOrder pendingGraphGenerationId?: SortOrderInput | SortOrder graphLeaseToken?: SortOrderInput | SortOrder graphLeaseExpiresAt?: SortOrderInput | SortOrder graphLeaseHeartbeatAt?: SortOrderInput | SortOrder activeFilesCount?: SortOrder activeDefinitionsCount?: SortOrder activeReferencesCount?: SortOrder activeImportsCount?: SortOrder activeCentralityCount?: SortOrder activeDiagnosticsCount?: SortOrder activeRecoveredCount?: SortOrder activeHardFailuresCount?: SortOrder activeStaleFilesCount?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder _count?: WorkspaceCountOrderByAggregateInput _avg?: WorkspaceAvgOrderByAggregateInput _max?: WorkspaceMaxOrderByAggregateInput _min?: WorkspaceMinOrderByAggregateInput _sum?: WorkspaceSumOrderByAggregateInput } export type WorkspaceScalarWhereWithAggregatesInput = { AND?: WorkspaceScalarWhereWithAggregatesInput | WorkspaceScalarWhereWithAggregatesInput[] OR?: WorkspaceScalarWhereWithAggregatesInput[] NOT?: WorkspaceScalarWhereWithAggregatesInput | WorkspaceScalarWhereWithAggregatesInput[] projectId?: StringWithAggregatesFilter<"Workspace"> | string projectPath?: StringWithAggregatesFilter<"Workspace"> | string displayName?: StringNullableWithAggregatesFilter<"Workspace"> | string | null status?: StringWithAggregatesFilter<"Workspace"> | string lastIndexedAt?: DateTimeNullableWithAggregatesFilter<"Workspace"> | Date | string | null lastError?: StringNullableWithAggregatesFilter<"Workspace"> | string | null filesCount?: IntWithAggregatesFilter<"Workspace"> | number chunksCount?: IntWithAggregatesFilter<"Workspace"> | number symbolsCount?: IntWithAggregatesFilter<"Workspace"> | number activeGraphGenerationId?: StringNullableWithAggregatesFilter<"Workspace"> | string | null pendingGraphGenerationId?: StringNullableWithAggregatesFilter<"Workspace"> | string | null graphLeaseToken?: StringNullableWithAggregatesFilter<"Workspace"> | string | null graphLeaseExpiresAt?: DateTimeNullableWithAggregatesFilter<"Workspace"> | Date | string | null graphLeaseHeartbeatAt?: DateTimeNullableWithAggregatesFilter<"Workspace"> | Date | string | null activeFilesCount?: IntWithAggregatesFilter<"Workspace"> | number activeDefinitionsCount?: IntWithAggregatesFilter<"Workspace"> | number activeReferencesCount?: IntWithAggregatesFilter<"Workspace"> | number activeImportsCount?: IntWithAggregatesFilter<"Workspace"> | number activeCentralityCount?: IntWithAggregatesFilter<"Workspace"> | number activeDiagnosticsCount?: IntWithAggregatesFilter<"Workspace"> | number activeRecoveredCount?: IntWithAggregatesFilter<"Workspace"> | number activeHardFailuresCount?: IntWithAggregatesFilter<"Workspace"> | number activeStaleFilesCount?: IntWithAggregatesFilter<"Workspace"> | number createdAt?: DateTimeWithAggregatesFilter<"Workspace"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"Workspace"> | Date | string } export type GraphGenerationWhereInput = { AND?: GraphGenerationWhereInput | GraphGenerationWhereInput[] OR?: GraphGenerationWhereInput[] NOT?: GraphGenerationWhereInput | GraphGenerationWhereInput[] id?: StringFilter<"GraphGeneration"> | string projectId?: StringFilter<"GraphGeneration"> | string status?: StringFilter<"GraphGeneration"> | string fingerprint?: StringFilter<"GraphGeneration"> | string inputSnapshotHash?: StringFilter<"GraphGeneration"> | string expectedActiveId?: StringNullableFilter<"GraphGeneration"> | string | null leaseToken?: StringNullableFilter<"GraphGeneration"> | string | null leaseExpiresAt?: DateTimeNullableFilter<"GraphGeneration"> | Date | string | null expectedFilesCount?: IntFilter<"GraphGeneration"> | number completedFilesCount?: IntFilter<"GraphGeneration"> | number filesCount?: IntFilter<"GraphGeneration"> | number definitionsCount?: IntFilter<"GraphGeneration"> | number referencesCount?: IntFilter<"GraphGeneration"> | number importsCount?: IntFilter<"GraphGeneration"> | number centralityCount?: IntFilter<"GraphGeneration"> | number diagnosticsCount?: IntFilter<"GraphGeneration"> | number recoveredCount?: IntFilter<"GraphGeneration"> | number hardFailuresCount?: IntFilter<"GraphGeneration"> | number staleFilesCount?: IntFilter<"GraphGeneration"> | number failureReason?: StringNullableFilter<"GraphGeneration"> | string | null startedAt?: DateTimeFilter<"GraphGeneration"> | Date | string completedAt?: DateTimeNullableFilter<"GraphGeneration"> | Date | string | null activatedAt?: DateTimeNullableFilter<"GraphGeneration"> | Date | string | null supersededAt?: DateTimeNullableFilter<"GraphGeneration"> | Date | string | null workspace?: XOR files?: SymbolFileListRelationFilter definitions?: SymbolDefinitionListRelationFilter references?: SymbolReferenceListRelationFilter imports?: SymbolImportListRelationFilter centralities?: SymbolCentralityListRelationFilter activeForWorkspaces?: WorkspaceListRelationFilter pendingForWorkspaces?: WorkspaceListRelationFilter } export type GraphGenerationOrderByWithRelationInput = { id?: SortOrder projectId?: SortOrder status?: SortOrder fingerprint?: SortOrder inputSnapshotHash?: SortOrder expectedActiveId?: SortOrderInput | SortOrder leaseToken?: SortOrderInput | SortOrder leaseExpiresAt?: SortOrderInput | SortOrder expectedFilesCount?: SortOrder completedFilesCount?: SortOrder filesCount?: SortOrder definitionsCount?: SortOrder referencesCount?: SortOrder importsCount?: SortOrder centralityCount?: SortOrder diagnosticsCount?: SortOrder recoveredCount?: SortOrder hardFailuresCount?: SortOrder staleFilesCount?: SortOrder failureReason?: SortOrderInput | SortOrder startedAt?: SortOrder completedAt?: SortOrderInput | SortOrder activatedAt?: SortOrderInput | SortOrder supersededAt?: SortOrderInput | SortOrder workspace?: WorkspaceOrderByWithRelationInput files?: SymbolFileOrderByRelationAggregateInput definitions?: SymbolDefinitionOrderByRelationAggregateInput references?: SymbolReferenceOrderByRelationAggregateInput imports?: SymbolImportOrderByRelationAggregateInput centralities?: SymbolCentralityOrderByRelationAggregateInput activeForWorkspaces?: WorkspaceOrderByRelationAggregateInput pendingForWorkspaces?: WorkspaceOrderByRelationAggregateInput } export type GraphGenerationWhereUniqueInput = Prisma.AtLeast<{ id?: string projectId_id?: GraphGenerationProjectIdIdCompoundUniqueInput AND?: GraphGenerationWhereInput | GraphGenerationWhereInput[] OR?: GraphGenerationWhereInput[] NOT?: GraphGenerationWhereInput | GraphGenerationWhereInput[] projectId?: StringFilter<"GraphGeneration"> | string status?: StringFilter<"GraphGeneration"> | string fingerprint?: StringFilter<"GraphGeneration"> | string inputSnapshotHash?: StringFilter<"GraphGeneration"> | string expectedActiveId?: StringNullableFilter<"GraphGeneration"> | string | null leaseToken?: StringNullableFilter<"GraphGeneration"> | string | null leaseExpiresAt?: DateTimeNullableFilter<"GraphGeneration"> | Date | string | null expectedFilesCount?: IntFilter<"GraphGeneration"> | number completedFilesCount?: IntFilter<"GraphGeneration"> | number filesCount?: IntFilter<"GraphGeneration"> | number definitionsCount?: IntFilter<"GraphGeneration"> | number referencesCount?: IntFilter<"GraphGeneration"> | number importsCount?: IntFilter<"GraphGeneration"> | number centralityCount?: IntFilter<"GraphGeneration"> | number diagnosticsCount?: IntFilter<"GraphGeneration"> | number recoveredCount?: IntFilter<"GraphGeneration"> | number hardFailuresCount?: IntFilter<"GraphGeneration"> | number staleFilesCount?: IntFilter<"GraphGeneration"> | number failureReason?: StringNullableFilter<"GraphGeneration"> | string | null startedAt?: DateTimeFilter<"GraphGeneration"> | Date | string completedAt?: DateTimeNullableFilter<"GraphGeneration"> | Date | string | null activatedAt?: DateTimeNullableFilter<"GraphGeneration"> | Date | string | null supersededAt?: DateTimeNullableFilter<"GraphGeneration"> | Date | string | null workspace?: XOR files?: SymbolFileListRelationFilter definitions?: SymbolDefinitionListRelationFilter references?: SymbolReferenceListRelationFilter imports?: SymbolImportListRelationFilter centralities?: SymbolCentralityListRelationFilter activeForWorkspaces?: WorkspaceListRelationFilter pendingForWorkspaces?: WorkspaceListRelationFilter }, "id" | "projectId_id"> export type GraphGenerationOrderByWithAggregationInput = { id?: SortOrder projectId?: SortOrder status?: SortOrder fingerprint?: SortOrder inputSnapshotHash?: SortOrder expectedActiveId?: SortOrderInput | SortOrder leaseToken?: SortOrderInput | SortOrder leaseExpiresAt?: SortOrderInput | SortOrder expectedFilesCount?: SortOrder completedFilesCount?: SortOrder filesCount?: SortOrder definitionsCount?: SortOrder referencesCount?: SortOrder importsCount?: SortOrder centralityCount?: SortOrder diagnosticsCount?: SortOrder recoveredCount?: SortOrder hardFailuresCount?: SortOrder staleFilesCount?: SortOrder failureReason?: SortOrderInput | SortOrder startedAt?: SortOrder completedAt?: SortOrderInput | SortOrder activatedAt?: SortOrderInput | SortOrder supersededAt?: SortOrderInput | SortOrder _count?: GraphGenerationCountOrderByAggregateInput _avg?: GraphGenerationAvgOrderByAggregateInput _max?: GraphGenerationMaxOrderByAggregateInput _min?: GraphGenerationMinOrderByAggregateInput _sum?: GraphGenerationSumOrderByAggregateInput } export type GraphGenerationScalarWhereWithAggregatesInput = { AND?: GraphGenerationScalarWhereWithAggregatesInput | GraphGenerationScalarWhereWithAggregatesInput[] OR?: GraphGenerationScalarWhereWithAggregatesInput[] NOT?: GraphGenerationScalarWhereWithAggregatesInput | GraphGenerationScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"GraphGeneration"> | string projectId?: StringWithAggregatesFilter<"GraphGeneration"> | string status?: StringWithAggregatesFilter<"GraphGeneration"> | string fingerprint?: StringWithAggregatesFilter<"GraphGeneration"> | string inputSnapshotHash?: StringWithAggregatesFilter<"GraphGeneration"> | string expectedActiveId?: StringNullableWithAggregatesFilter<"GraphGeneration"> | string | null leaseToken?: StringNullableWithAggregatesFilter<"GraphGeneration"> | string | null leaseExpiresAt?: DateTimeNullableWithAggregatesFilter<"GraphGeneration"> | Date | string | null expectedFilesCount?: IntWithAggregatesFilter<"GraphGeneration"> | number completedFilesCount?: IntWithAggregatesFilter<"GraphGeneration"> | number filesCount?: IntWithAggregatesFilter<"GraphGeneration"> | number definitionsCount?: IntWithAggregatesFilter<"GraphGeneration"> | number referencesCount?: IntWithAggregatesFilter<"GraphGeneration"> | number importsCount?: IntWithAggregatesFilter<"GraphGeneration"> | number centralityCount?: IntWithAggregatesFilter<"GraphGeneration"> | number diagnosticsCount?: IntWithAggregatesFilter<"GraphGeneration"> | number recoveredCount?: IntWithAggregatesFilter<"GraphGeneration"> | number hardFailuresCount?: IntWithAggregatesFilter<"GraphGeneration"> | number staleFilesCount?: IntWithAggregatesFilter<"GraphGeneration"> | number failureReason?: StringNullableWithAggregatesFilter<"GraphGeneration"> | string | null startedAt?: DateTimeWithAggregatesFilter<"GraphGeneration"> | Date | string completedAt?: DateTimeNullableWithAggregatesFilter<"GraphGeneration"> | Date | string | null activatedAt?: DateTimeNullableWithAggregatesFilter<"GraphGeneration"> | Date | string | null supersededAt?: DateTimeNullableWithAggregatesFilter<"GraphGeneration"> | Date | string | null } export type SymbolFileWhereInput = { AND?: SymbolFileWhereInput | SymbolFileWhereInput[] OR?: SymbolFileWhereInput[] NOT?: SymbolFileWhereInput | SymbolFileWhereInput[] projectId?: StringFilter<"SymbolFile"> | string generationId?: StringFilter<"SymbolFile"> | string relativePath?: StringFilter<"SymbolFile"> | string contentHash?: StringFilter<"SymbolFile"> | string mtime?: BigIntFilter<"SymbolFile"> | bigint | number size?: IntFilter<"SymbolFile"> | number indexedAt?: DateTimeFilter<"SymbolFile"> | Date | string symbolCount?: IntFilter<"SymbolFile"> | number chunkCount?: IntFilter<"SymbolFile"> | number language?: StringNullableFilter<"SymbolFile"> | string | null dialect?: StringNullableFilter<"SymbolFile"> | string | null grammarVersion?: StringNullableFilter<"SymbolFile"> | string | null queryPackVersion?: StringNullableFilter<"SymbolFile"> | string | null resolverVersion?: StringNullableFilter<"SymbolFile"> | string | null parserStatus?: StringFilter<"SymbolFile"> | string parserErrorCount?: IntFilter<"SymbolFile"> | number diagnostics?: JsonFilter<"SymbolFile"> isStale?: BoolFilter<"SymbolFile"> | boolean lastKnownGoodGenerationId?: StringNullableFilter<"SymbolFile"> | string | null lastSuccessfulAt?: DateTimeNullableFilter<"SymbolFile"> | Date | string | null workspace?: XOR generation?: XOR } export type SymbolFileOrderByWithRelationInput = { projectId?: SortOrder generationId?: SortOrder relativePath?: SortOrder contentHash?: SortOrder mtime?: SortOrder size?: SortOrder indexedAt?: SortOrder symbolCount?: SortOrder chunkCount?: SortOrder language?: SortOrderInput | SortOrder dialect?: SortOrderInput | SortOrder grammarVersion?: SortOrderInput | SortOrder queryPackVersion?: SortOrderInput | SortOrder resolverVersion?: SortOrderInput | SortOrder parserStatus?: SortOrder parserErrorCount?: SortOrder diagnostics?: SortOrder isStale?: SortOrder lastKnownGoodGenerationId?: SortOrderInput | SortOrder lastSuccessfulAt?: SortOrderInput | SortOrder workspace?: WorkspaceOrderByWithRelationInput generation?: GraphGenerationOrderByWithRelationInput } export type SymbolFileWhereUniqueInput = Prisma.AtLeast<{ projectId_generationId_relativePath?: SymbolFileProjectIdGenerationIdRelativePathCompoundUniqueInput AND?: SymbolFileWhereInput | SymbolFileWhereInput[] OR?: SymbolFileWhereInput[] NOT?: SymbolFileWhereInput | SymbolFileWhereInput[] projectId?: StringFilter<"SymbolFile"> | string generationId?: StringFilter<"SymbolFile"> | string relativePath?: StringFilter<"SymbolFile"> | string contentHash?: StringFilter<"SymbolFile"> | string mtime?: BigIntFilter<"SymbolFile"> | bigint | number size?: IntFilter<"SymbolFile"> | number indexedAt?: DateTimeFilter<"SymbolFile"> | Date | string symbolCount?: IntFilter<"SymbolFile"> | number chunkCount?: IntFilter<"SymbolFile"> | number language?: StringNullableFilter<"SymbolFile"> | string | null dialect?: StringNullableFilter<"SymbolFile"> | string | null grammarVersion?: StringNullableFilter<"SymbolFile"> | string | null queryPackVersion?: StringNullableFilter<"SymbolFile"> | string | null resolverVersion?: StringNullableFilter<"SymbolFile"> | string | null parserStatus?: StringFilter<"SymbolFile"> | string parserErrorCount?: IntFilter<"SymbolFile"> | number diagnostics?: JsonFilter<"SymbolFile"> isStale?: BoolFilter<"SymbolFile"> | boolean lastKnownGoodGenerationId?: StringNullableFilter<"SymbolFile"> | string | null lastSuccessfulAt?: DateTimeNullableFilter<"SymbolFile"> | Date | string | null workspace?: XOR generation?: XOR }, "projectId_generationId_relativePath"> export type SymbolFileOrderByWithAggregationInput = { projectId?: SortOrder generationId?: SortOrder relativePath?: SortOrder contentHash?: SortOrder mtime?: SortOrder size?: SortOrder indexedAt?: SortOrder symbolCount?: SortOrder chunkCount?: SortOrder language?: SortOrderInput | SortOrder dialect?: SortOrderInput | SortOrder grammarVersion?: SortOrderInput | SortOrder queryPackVersion?: SortOrderInput | SortOrder resolverVersion?: SortOrderInput | SortOrder parserStatus?: SortOrder parserErrorCount?: SortOrder diagnostics?: SortOrder isStale?: SortOrder lastKnownGoodGenerationId?: SortOrderInput | SortOrder lastSuccessfulAt?: SortOrderInput | SortOrder _count?: SymbolFileCountOrderByAggregateInput _avg?: SymbolFileAvgOrderByAggregateInput _max?: SymbolFileMaxOrderByAggregateInput _min?: SymbolFileMinOrderByAggregateInput _sum?: SymbolFileSumOrderByAggregateInput } export type SymbolFileScalarWhereWithAggregatesInput = { AND?: SymbolFileScalarWhereWithAggregatesInput | SymbolFileScalarWhereWithAggregatesInput[] OR?: SymbolFileScalarWhereWithAggregatesInput[] NOT?: SymbolFileScalarWhereWithAggregatesInput | SymbolFileScalarWhereWithAggregatesInput[] projectId?: StringWithAggregatesFilter<"SymbolFile"> | string generationId?: StringWithAggregatesFilter<"SymbolFile"> | string relativePath?: StringWithAggregatesFilter<"SymbolFile"> | string contentHash?: StringWithAggregatesFilter<"SymbolFile"> | string mtime?: BigIntWithAggregatesFilter<"SymbolFile"> | bigint | number size?: IntWithAggregatesFilter<"SymbolFile"> | number indexedAt?: DateTimeWithAggregatesFilter<"SymbolFile"> | Date | string symbolCount?: IntWithAggregatesFilter<"SymbolFile"> | number chunkCount?: IntWithAggregatesFilter<"SymbolFile"> | number language?: StringNullableWithAggregatesFilter<"SymbolFile"> | string | null dialect?: StringNullableWithAggregatesFilter<"SymbolFile"> | string | null grammarVersion?: StringNullableWithAggregatesFilter<"SymbolFile"> | string | null queryPackVersion?: StringNullableWithAggregatesFilter<"SymbolFile"> | string | null resolverVersion?: StringNullableWithAggregatesFilter<"SymbolFile"> | string | null parserStatus?: StringWithAggregatesFilter<"SymbolFile"> | string parserErrorCount?: IntWithAggregatesFilter<"SymbolFile"> | number diagnostics?: JsonWithAggregatesFilter<"SymbolFile"> isStale?: BoolWithAggregatesFilter<"SymbolFile"> | boolean lastKnownGoodGenerationId?: StringNullableWithAggregatesFilter<"SymbolFile"> | string | null lastSuccessfulAt?: DateTimeNullableWithAggregatesFilter<"SymbolFile"> | Date | string | null } export type SymbolDefinitionWhereInput = { AND?: SymbolDefinitionWhereInput | SymbolDefinitionWhereInput[] OR?: SymbolDefinitionWhereInput[] NOT?: SymbolDefinitionWhereInput | SymbolDefinitionWhereInput[] id?: StringFilter<"SymbolDefinition"> | string projectId?: StringFilter<"SymbolDefinition"> | string generationId?: StringFilter<"SymbolDefinition"> | string filePath?: StringFilter<"SymbolDefinition"> | string name?: StringFilter<"SymbolDefinition"> | string kind?: StringFilter<"SymbolDefinition"> | string lineStart?: IntFilter<"SymbolDefinition"> | number lineEnd?: IntFilter<"SymbolDefinition"> | number exported?: BoolFilter<"SymbolDefinition"> | boolean docComment?: StringNullableFilter<"SymbolDefinition"> | string | null indexedAt?: DateTimeFilter<"SymbolDefinition"> | Date | string qualifiedName?: StringFilter<"SymbolDefinition"> | string canonicalSignature?: StringNullableFilter<"SymbolDefinition"> | string | null signatureHash?: StringNullableFilter<"SymbolDefinition"> | string | null legacyFqn?: StringFilter<"SymbolDefinition"> | string sourceSpan?: JsonNullableFilter<"SymbolDefinition"> workspace?: XOR generation?: XOR } export type SymbolDefinitionOrderByWithRelationInput = { id?: SortOrder projectId?: SortOrder generationId?: SortOrder filePath?: SortOrder name?: SortOrder kind?: SortOrder lineStart?: SortOrder lineEnd?: SortOrder exported?: SortOrder docComment?: SortOrderInput | SortOrder indexedAt?: SortOrder qualifiedName?: SortOrder canonicalSignature?: SortOrderInput | SortOrder signatureHash?: SortOrderInput | SortOrder legacyFqn?: SortOrder sourceSpan?: SortOrderInput | SortOrder workspace?: WorkspaceOrderByWithRelationInput generation?: GraphGenerationOrderByWithRelationInput } export type SymbolDefinitionWhereUniqueInput = Prisma.AtLeast<{ projectId_generationId_id?: SymbolDefinitionProjectIdGenerationIdIdCompoundUniqueInput AND?: SymbolDefinitionWhereInput | SymbolDefinitionWhereInput[] OR?: SymbolDefinitionWhereInput[] NOT?: SymbolDefinitionWhereInput | SymbolDefinitionWhereInput[] id?: StringFilter<"SymbolDefinition"> | string projectId?: StringFilter<"SymbolDefinition"> | string generationId?: StringFilter<"SymbolDefinition"> | string filePath?: StringFilter<"SymbolDefinition"> | string name?: StringFilter<"SymbolDefinition"> | string kind?: StringFilter<"SymbolDefinition"> | string lineStart?: IntFilter<"SymbolDefinition"> | number lineEnd?: IntFilter<"SymbolDefinition"> | number exported?: BoolFilter<"SymbolDefinition"> | boolean docComment?: StringNullableFilter<"SymbolDefinition"> | string | null indexedAt?: DateTimeFilter<"SymbolDefinition"> | Date | string qualifiedName?: StringFilter<"SymbolDefinition"> | string canonicalSignature?: StringNullableFilter<"SymbolDefinition"> | string | null signatureHash?: StringNullableFilter<"SymbolDefinition"> | string | null legacyFqn?: StringFilter<"SymbolDefinition"> | string sourceSpan?: JsonNullableFilter<"SymbolDefinition"> workspace?: XOR generation?: XOR }, "projectId_generationId_id"> export type SymbolDefinitionOrderByWithAggregationInput = { id?: SortOrder projectId?: SortOrder generationId?: SortOrder filePath?: SortOrder name?: SortOrder kind?: SortOrder lineStart?: SortOrder lineEnd?: SortOrder exported?: SortOrder docComment?: SortOrderInput | SortOrder indexedAt?: SortOrder qualifiedName?: SortOrder canonicalSignature?: SortOrderInput | SortOrder signatureHash?: SortOrderInput | SortOrder legacyFqn?: SortOrder sourceSpan?: SortOrderInput | SortOrder _count?: SymbolDefinitionCountOrderByAggregateInput _avg?: SymbolDefinitionAvgOrderByAggregateInput _max?: SymbolDefinitionMaxOrderByAggregateInput _min?: SymbolDefinitionMinOrderByAggregateInput _sum?: SymbolDefinitionSumOrderByAggregateInput } export type SymbolDefinitionScalarWhereWithAggregatesInput = { AND?: SymbolDefinitionScalarWhereWithAggregatesInput | SymbolDefinitionScalarWhereWithAggregatesInput[] OR?: SymbolDefinitionScalarWhereWithAggregatesInput[] NOT?: SymbolDefinitionScalarWhereWithAggregatesInput | SymbolDefinitionScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"SymbolDefinition"> | string projectId?: StringWithAggregatesFilter<"SymbolDefinition"> | string generationId?: StringWithAggregatesFilter<"SymbolDefinition"> | string filePath?: StringWithAggregatesFilter<"SymbolDefinition"> | string name?: StringWithAggregatesFilter<"SymbolDefinition"> | string kind?: StringWithAggregatesFilter<"SymbolDefinition"> | string lineStart?: IntWithAggregatesFilter<"SymbolDefinition"> | number lineEnd?: IntWithAggregatesFilter<"SymbolDefinition"> | number exported?: BoolWithAggregatesFilter<"SymbolDefinition"> | boolean docComment?: StringNullableWithAggregatesFilter<"SymbolDefinition"> | string | null indexedAt?: DateTimeWithAggregatesFilter<"SymbolDefinition"> | Date | string qualifiedName?: StringWithAggregatesFilter<"SymbolDefinition"> | string canonicalSignature?: StringNullableWithAggregatesFilter<"SymbolDefinition"> | string | null signatureHash?: StringNullableWithAggregatesFilter<"SymbolDefinition"> | string | null legacyFqn?: StringWithAggregatesFilter<"SymbolDefinition"> | string sourceSpan?: JsonNullableWithAggregatesFilter<"SymbolDefinition"> } export type SymbolReferenceWhereInput = { AND?: SymbolReferenceWhereInput | SymbolReferenceWhereInput[] OR?: SymbolReferenceWhereInput[] NOT?: SymbolReferenceWhereInput | SymbolReferenceWhereInput[] id?: IntFilter<"SymbolReference"> | number projectId?: StringFilter<"SymbolReference"> | string generationId?: StringFilter<"SymbolReference"> | string fromFile?: StringFilter<"SymbolReference"> | string fromLine?: IntFilter<"SymbolReference"> | number symbolName?: StringFilter<"SymbolReference"> | string targetFqn?: StringNullableFilter<"SymbolReference"> | string | null refKind?: StringFilter<"SymbolReference"> | string meta?: JsonNullableFilter<"SymbolReference"> sourceSpan?: JsonNullableFilter<"SymbolReference"> workspace?: XOR generation?: XOR } export type SymbolReferenceOrderByWithRelationInput = { id?: SortOrder projectId?: SortOrder generationId?: SortOrder fromFile?: SortOrder fromLine?: SortOrder symbolName?: SortOrder targetFqn?: SortOrderInput | SortOrder refKind?: SortOrder meta?: SortOrderInput | SortOrder sourceSpan?: SortOrderInput | SortOrder workspace?: WorkspaceOrderByWithRelationInput generation?: GraphGenerationOrderByWithRelationInput } export type SymbolReferenceWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: SymbolReferenceWhereInput | SymbolReferenceWhereInput[] OR?: SymbolReferenceWhereInput[] NOT?: SymbolReferenceWhereInput | SymbolReferenceWhereInput[] projectId?: StringFilter<"SymbolReference"> | string generationId?: StringFilter<"SymbolReference"> | string fromFile?: StringFilter<"SymbolReference"> | string fromLine?: IntFilter<"SymbolReference"> | number symbolName?: StringFilter<"SymbolReference"> | string targetFqn?: StringNullableFilter<"SymbolReference"> | string | null refKind?: StringFilter<"SymbolReference"> | string meta?: JsonNullableFilter<"SymbolReference"> sourceSpan?: JsonNullableFilter<"SymbolReference"> workspace?: XOR generation?: XOR }, "id"> export type SymbolReferenceOrderByWithAggregationInput = { id?: SortOrder projectId?: SortOrder generationId?: SortOrder fromFile?: SortOrder fromLine?: SortOrder symbolName?: SortOrder targetFqn?: SortOrderInput | SortOrder refKind?: SortOrder meta?: SortOrderInput | SortOrder sourceSpan?: SortOrderInput | SortOrder _count?: SymbolReferenceCountOrderByAggregateInput _avg?: SymbolReferenceAvgOrderByAggregateInput _max?: SymbolReferenceMaxOrderByAggregateInput _min?: SymbolReferenceMinOrderByAggregateInput _sum?: SymbolReferenceSumOrderByAggregateInput } export type SymbolReferenceScalarWhereWithAggregatesInput = { AND?: SymbolReferenceScalarWhereWithAggregatesInput | SymbolReferenceScalarWhereWithAggregatesInput[] OR?: SymbolReferenceScalarWhereWithAggregatesInput[] NOT?: SymbolReferenceScalarWhereWithAggregatesInput | SymbolReferenceScalarWhereWithAggregatesInput[] id?: IntWithAggregatesFilter<"SymbolReference"> | number projectId?: StringWithAggregatesFilter<"SymbolReference"> | string generationId?: StringWithAggregatesFilter<"SymbolReference"> | string fromFile?: StringWithAggregatesFilter<"SymbolReference"> | string fromLine?: IntWithAggregatesFilter<"SymbolReference"> | number symbolName?: StringWithAggregatesFilter<"SymbolReference"> | string targetFqn?: StringNullableWithAggregatesFilter<"SymbolReference"> | string | null refKind?: StringWithAggregatesFilter<"SymbolReference"> | string meta?: JsonNullableWithAggregatesFilter<"SymbolReference"> sourceSpan?: JsonNullableWithAggregatesFilter<"SymbolReference"> } export type SymbolImportWhereInput = { AND?: SymbolImportWhereInput | SymbolImportWhereInput[] OR?: SymbolImportWhereInput[] NOT?: SymbolImportWhereInput | SymbolImportWhereInput[] id?: IntFilter<"SymbolImport"> | number projectId?: StringFilter<"SymbolImport"> | string generationId?: StringFilter<"SymbolImport"> | string fromFile?: StringFilter<"SymbolImport"> | string toFile?: StringNullableFilter<"SymbolImport"> | string | null specifier?: StringFilter<"SymbolImport"> | string importedNames?: StringNullableListFilter<"SymbolImport"> isExternal?: BoolFilter<"SymbolImport"> | boolean isTypeOnly?: BoolFilter<"SymbolImport"> | boolean workspace?: XOR generation?: XOR } export type SymbolImportOrderByWithRelationInput = { id?: SortOrder projectId?: SortOrder generationId?: SortOrder fromFile?: SortOrder toFile?: SortOrderInput | SortOrder specifier?: SortOrder importedNames?: SortOrder isExternal?: SortOrder isTypeOnly?: SortOrder workspace?: WorkspaceOrderByWithRelationInput generation?: GraphGenerationOrderByWithRelationInput } export type SymbolImportWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: SymbolImportWhereInput | SymbolImportWhereInput[] OR?: SymbolImportWhereInput[] NOT?: SymbolImportWhereInput | SymbolImportWhereInput[] projectId?: StringFilter<"SymbolImport"> | string generationId?: StringFilter<"SymbolImport"> | string fromFile?: StringFilter<"SymbolImport"> | string toFile?: StringNullableFilter<"SymbolImport"> | string | null specifier?: StringFilter<"SymbolImport"> | string importedNames?: StringNullableListFilter<"SymbolImport"> isExternal?: BoolFilter<"SymbolImport"> | boolean isTypeOnly?: BoolFilter<"SymbolImport"> | boolean workspace?: XOR generation?: XOR }, "id"> export type SymbolImportOrderByWithAggregationInput = { id?: SortOrder projectId?: SortOrder generationId?: SortOrder fromFile?: SortOrder toFile?: SortOrderInput | SortOrder specifier?: SortOrder importedNames?: SortOrder isExternal?: SortOrder isTypeOnly?: SortOrder _count?: SymbolImportCountOrderByAggregateInput _avg?: SymbolImportAvgOrderByAggregateInput _max?: SymbolImportMaxOrderByAggregateInput _min?: SymbolImportMinOrderByAggregateInput _sum?: SymbolImportSumOrderByAggregateInput } export type SymbolImportScalarWhereWithAggregatesInput = { AND?: SymbolImportScalarWhereWithAggregatesInput | SymbolImportScalarWhereWithAggregatesInput[] OR?: SymbolImportScalarWhereWithAggregatesInput[] NOT?: SymbolImportScalarWhereWithAggregatesInput | SymbolImportScalarWhereWithAggregatesInput[] id?: IntWithAggregatesFilter<"SymbolImport"> | number projectId?: StringWithAggregatesFilter<"SymbolImport"> | string generationId?: StringWithAggregatesFilter<"SymbolImport"> | string fromFile?: StringWithAggregatesFilter<"SymbolImport"> | string toFile?: StringNullableWithAggregatesFilter<"SymbolImport"> | string | null specifier?: StringWithAggregatesFilter<"SymbolImport"> | string importedNames?: StringNullableListFilter<"SymbolImport"> isExternal?: BoolWithAggregatesFilter<"SymbolImport"> | boolean isTypeOnly?: BoolWithAggregatesFilter<"SymbolImport"> | boolean } export type SymbolCentralityWhereInput = { AND?: SymbolCentralityWhereInput | SymbolCentralityWhereInput[] OR?: SymbolCentralityWhereInput[] NOT?: SymbolCentralityWhereInput | SymbolCentralityWhereInput[] projectId?: StringFilter<"SymbolCentrality"> | string generationId?: StringFilter<"SymbolCentrality"> | string filePath?: StringFilter<"SymbolCentrality"> | string score?: FloatFilter<"SymbolCentrality"> | number updatedAt?: DateTimeFilter<"SymbolCentrality"> | Date | string workspace?: XOR generation?: XOR } export type SymbolCentralityOrderByWithRelationInput = { projectId?: SortOrder generationId?: SortOrder filePath?: SortOrder score?: SortOrder updatedAt?: SortOrder workspace?: WorkspaceOrderByWithRelationInput generation?: GraphGenerationOrderByWithRelationInput } export type SymbolCentralityWhereUniqueInput = Prisma.AtLeast<{ projectId_generationId_filePath?: SymbolCentralityProjectIdGenerationIdFilePathCompoundUniqueInput AND?: SymbolCentralityWhereInput | SymbolCentralityWhereInput[] OR?: SymbolCentralityWhereInput[] NOT?: SymbolCentralityWhereInput | SymbolCentralityWhereInput[] projectId?: StringFilter<"SymbolCentrality"> | string generationId?: StringFilter<"SymbolCentrality"> | string filePath?: StringFilter<"SymbolCentrality"> | string score?: FloatFilter<"SymbolCentrality"> | number updatedAt?: DateTimeFilter<"SymbolCentrality"> | Date | string workspace?: XOR generation?: XOR }, "projectId_generationId_filePath"> export type SymbolCentralityOrderByWithAggregationInput = { projectId?: SortOrder generationId?: SortOrder filePath?: SortOrder score?: SortOrder updatedAt?: SortOrder _count?: SymbolCentralityCountOrderByAggregateInput _avg?: SymbolCentralityAvgOrderByAggregateInput _max?: SymbolCentralityMaxOrderByAggregateInput _min?: SymbolCentralityMinOrderByAggregateInput _sum?: SymbolCentralitySumOrderByAggregateInput } export type SymbolCentralityScalarWhereWithAggregatesInput = { AND?: SymbolCentralityScalarWhereWithAggregatesInput | SymbolCentralityScalarWhereWithAggregatesInput[] OR?: SymbolCentralityScalarWhereWithAggregatesInput[] NOT?: SymbolCentralityScalarWhereWithAggregatesInput | SymbolCentralityScalarWhereWithAggregatesInput[] projectId?: StringWithAggregatesFilter<"SymbolCentrality"> | string generationId?: StringWithAggregatesFilter<"SymbolCentrality"> | string filePath?: StringWithAggregatesFilter<"SymbolCentrality"> | string score?: FloatWithAggregatesFilter<"SymbolCentrality"> | number updatedAt?: DateTimeWithAggregatesFilter<"SymbolCentrality"> | Date | string } export type MemoryEdgeWhereInput = { AND?: MemoryEdgeWhereInput | MemoryEdgeWhereInput[] OR?: MemoryEdgeWhereInput[] NOT?: MemoryEdgeWhereInput | MemoryEdgeWhereInput[] id?: IntFilter<"MemoryEdge"> | number fromId?: StringFilter<"MemoryEdge"> | string toId?: StringFilter<"MemoryEdge"> | string edgeType?: StringFilter<"MemoryEdge"> | string weight?: FloatFilter<"MemoryEdge"> | number metadata?: JsonNullableFilter<"MemoryEdge"> createdAt?: DateTimeFilter<"MemoryEdge"> | Date | string updatedAt?: DateTimeFilter<"MemoryEdge"> | Date | string fromMemory?: XOR toMemory?: XOR } export type MemoryEdgeOrderByWithRelationInput = { id?: SortOrder fromId?: SortOrder toId?: SortOrder edgeType?: SortOrder weight?: SortOrder metadata?: SortOrderInput | SortOrder createdAt?: SortOrder updatedAt?: SortOrder fromMemory?: MemoryOrderByWithRelationInput toMemory?: MemoryOrderByWithRelationInput } export type MemoryEdgeWhereUniqueInput = Prisma.AtLeast<{ id?: number fromId_toId_edgeType?: MemoryEdgeFromIdToIdEdgeTypeCompoundUniqueInput AND?: MemoryEdgeWhereInput | MemoryEdgeWhereInput[] OR?: MemoryEdgeWhereInput[] NOT?: MemoryEdgeWhereInput | MemoryEdgeWhereInput[] fromId?: StringFilter<"MemoryEdge"> | string toId?: StringFilter<"MemoryEdge"> | string edgeType?: StringFilter<"MemoryEdge"> | string weight?: FloatFilter<"MemoryEdge"> | number metadata?: JsonNullableFilter<"MemoryEdge"> createdAt?: DateTimeFilter<"MemoryEdge"> | Date | string updatedAt?: DateTimeFilter<"MemoryEdge"> | Date | string fromMemory?: XOR toMemory?: XOR }, "id" | "fromId_toId_edgeType"> export type MemoryEdgeOrderByWithAggregationInput = { id?: SortOrder fromId?: SortOrder toId?: SortOrder edgeType?: SortOrder weight?: SortOrder metadata?: SortOrderInput | SortOrder createdAt?: SortOrder updatedAt?: SortOrder _count?: MemoryEdgeCountOrderByAggregateInput _avg?: MemoryEdgeAvgOrderByAggregateInput _max?: MemoryEdgeMaxOrderByAggregateInput _min?: MemoryEdgeMinOrderByAggregateInput _sum?: MemoryEdgeSumOrderByAggregateInput } export type MemoryEdgeScalarWhereWithAggregatesInput = { AND?: MemoryEdgeScalarWhereWithAggregatesInput | MemoryEdgeScalarWhereWithAggregatesInput[] OR?: MemoryEdgeScalarWhereWithAggregatesInput[] NOT?: MemoryEdgeScalarWhereWithAggregatesInput | MemoryEdgeScalarWhereWithAggregatesInput[] id?: IntWithAggregatesFilter<"MemoryEdge"> | number fromId?: StringWithAggregatesFilter<"MemoryEdge"> | string toId?: StringWithAggregatesFilter<"MemoryEdge"> | string edgeType?: StringWithAggregatesFilter<"MemoryEdge"> | string weight?: FloatWithAggregatesFilter<"MemoryEdge"> | number metadata?: JsonNullableWithAggregatesFilter<"MemoryEdge"> createdAt?: DateTimeWithAggregatesFilter<"MemoryEdge"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"MemoryEdge"> | Date | string } export type ObservationWhereInput = { AND?: ObservationWhereInput | ObservationWhereInput[] OR?: ObservationWhereInput[] NOT?: ObservationWhereInput | ObservationWhereInput[] id?: StringFilter<"Observation"> | string projectId?: StringFilter<"Observation"> | string sessionId?: StringNullableFilter<"Observation"> | string | null source?: StringFilter<"Observation"> | string category?: StringNullableFilter<"Observation"> | string | null payloadJson?: StringFilter<"Observation"> | string importance?: FloatFilter<"Observation"> | number createdAt?: DateTimeFilter<"Observation"> | Date | string } export type ObservationOrderByWithRelationInput = { id?: SortOrder projectId?: SortOrder sessionId?: SortOrderInput | SortOrder source?: SortOrder category?: SortOrderInput | SortOrder payloadJson?: SortOrder importance?: SortOrder createdAt?: SortOrder } export type ObservationWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: ObservationWhereInput | ObservationWhereInput[] OR?: ObservationWhereInput[] NOT?: ObservationWhereInput | ObservationWhereInput[] projectId?: StringFilter<"Observation"> | string sessionId?: StringNullableFilter<"Observation"> | string | null source?: StringFilter<"Observation"> | string category?: StringNullableFilter<"Observation"> | string | null payloadJson?: StringFilter<"Observation"> | string importance?: FloatFilter<"Observation"> | number createdAt?: DateTimeFilter<"Observation"> | Date | string }, "id"> export type ObservationOrderByWithAggregationInput = { id?: SortOrder projectId?: SortOrder sessionId?: SortOrderInput | SortOrder source?: SortOrder category?: SortOrderInput | SortOrder payloadJson?: SortOrder importance?: SortOrder createdAt?: SortOrder _count?: ObservationCountOrderByAggregateInput _avg?: ObservationAvgOrderByAggregateInput _max?: ObservationMaxOrderByAggregateInput _min?: ObservationMinOrderByAggregateInput _sum?: ObservationSumOrderByAggregateInput } export type ObservationScalarWhereWithAggregatesInput = { AND?: ObservationScalarWhereWithAggregatesInput | ObservationScalarWhereWithAggregatesInput[] OR?: ObservationScalarWhereWithAggregatesInput[] NOT?: ObservationScalarWhereWithAggregatesInput | ObservationScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Observation"> | string projectId?: StringWithAggregatesFilter<"Observation"> | string sessionId?: StringNullableWithAggregatesFilter<"Observation"> | string | null source?: StringWithAggregatesFilter<"Observation"> | string category?: StringNullableWithAggregatesFilter<"Observation"> | string | null payloadJson?: StringWithAggregatesFilter<"Observation"> | string importance?: FloatWithAggregatesFilter<"Observation"> | number createdAt?: DateTimeWithAggregatesFilter<"Observation"> | Date | string } export type HandoffWhereInput = { AND?: HandoffWhereInput | HandoffWhereInput[] OR?: HandoffWhereInput[] NOT?: HandoffWhereInput | HandoffWhereInput[] id?: StringFilter<"Handoff"> | string projectId?: StringFilter<"Handoff"> | string sourceSessionId?: StringNullableFilter<"Handoff"> | string | null targetAgent?: StringNullableFilter<"Handoff"> | string | null summary?: StringFilter<"Handoff"> | string openQuestionsJson?: StringFilter<"Handoff"> | string nextStepsJson?: StringFilter<"Handoff"> | string filesJson?: StringFilter<"Handoff"> | string status?: StringFilter<"Handoff"> | string createdAt?: DateTimeFilter<"Handoff"> | Date | string acceptedAt?: DateTimeNullableFilter<"Handoff"> | Date | string | null } export type HandoffOrderByWithRelationInput = { id?: SortOrder projectId?: SortOrder sourceSessionId?: SortOrderInput | SortOrder targetAgent?: SortOrderInput | SortOrder summary?: SortOrder openQuestionsJson?: SortOrder nextStepsJson?: SortOrder filesJson?: SortOrder status?: SortOrder createdAt?: SortOrder acceptedAt?: SortOrderInput | SortOrder } export type HandoffWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: HandoffWhereInput | HandoffWhereInput[] OR?: HandoffWhereInput[] NOT?: HandoffWhereInput | HandoffWhereInput[] projectId?: StringFilter<"Handoff"> | string sourceSessionId?: StringNullableFilter<"Handoff"> | string | null targetAgent?: StringNullableFilter<"Handoff"> | string | null summary?: StringFilter<"Handoff"> | string openQuestionsJson?: StringFilter<"Handoff"> | string nextStepsJson?: StringFilter<"Handoff"> | string filesJson?: StringFilter<"Handoff"> | string status?: StringFilter<"Handoff"> | string createdAt?: DateTimeFilter<"Handoff"> | Date | string acceptedAt?: DateTimeNullableFilter<"Handoff"> | Date | string | null }, "id"> export type HandoffOrderByWithAggregationInput = { id?: SortOrder projectId?: SortOrder sourceSessionId?: SortOrderInput | SortOrder targetAgent?: SortOrderInput | SortOrder summary?: SortOrder openQuestionsJson?: SortOrder nextStepsJson?: SortOrder filesJson?: SortOrder status?: SortOrder createdAt?: SortOrder acceptedAt?: SortOrderInput | SortOrder _count?: HandoffCountOrderByAggregateInput _max?: HandoffMaxOrderByAggregateInput _min?: HandoffMinOrderByAggregateInput } export type HandoffScalarWhereWithAggregatesInput = { AND?: HandoffScalarWhereWithAggregatesInput | HandoffScalarWhereWithAggregatesInput[] OR?: HandoffScalarWhereWithAggregatesInput[] NOT?: HandoffScalarWhereWithAggregatesInput | HandoffScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Handoff"> | string projectId?: StringWithAggregatesFilter<"Handoff"> | string sourceSessionId?: StringNullableWithAggregatesFilter<"Handoff"> | string | null targetAgent?: StringNullableWithAggregatesFilter<"Handoff"> | string | null summary?: StringWithAggregatesFilter<"Handoff"> | string openQuestionsJson?: StringWithAggregatesFilter<"Handoff"> | string nextStepsJson?: StringWithAggregatesFilter<"Handoff"> | string filesJson?: StringWithAggregatesFilter<"Handoff"> | string status?: StringWithAggregatesFilter<"Handoff"> | string createdAt?: DateTimeWithAggregatesFilter<"Handoff"> | Date | string acceptedAt?: DateTimeNullableWithAggregatesFilter<"Handoff"> | Date | string | null } export type ProposalWhereInput = { AND?: ProposalWhereInput | ProposalWhereInput[] OR?: ProposalWhereInput[] NOT?: ProposalWhereInput | ProposalWhereInput[] id?: StringFilter<"Proposal"> | string projectId?: StringFilter<"Proposal"> | string kind?: StringFilter<"Proposal"> | string targetMemoryId?: StringNullableFilter<"Proposal"> | string | null payloadJson?: StringFilter<"Proposal"> | string rationale?: StringFilter<"Proposal"> | string status?: StringFilter<"Proposal"> | string createdAt?: DateTimeFilter<"Proposal"> | Date | string decidedAt?: DateTimeNullableFilter<"Proposal"> | Date | string | null } export type ProposalOrderByWithRelationInput = { id?: SortOrder projectId?: SortOrder kind?: SortOrder targetMemoryId?: SortOrderInput | SortOrder payloadJson?: SortOrder rationale?: SortOrder status?: SortOrder createdAt?: SortOrder decidedAt?: SortOrderInput | SortOrder } export type ProposalWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: ProposalWhereInput | ProposalWhereInput[] OR?: ProposalWhereInput[] NOT?: ProposalWhereInput | ProposalWhereInput[] projectId?: StringFilter<"Proposal"> | string kind?: StringFilter<"Proposal"> | string targetMemoryId?: StringNullableFilter<"Proposal"> | string | null payloadJson?: StringFilter<"Proposal"> | string rationale?: StringFilter<"Proposal"> | string status?: StringFilter<"Proposal"> | string createdAt?: DateTimeFilter<"Proposal"> | Date | string decidedAt?: DateTimeNullableFilter<"Proposal"> | Date | string | null }, "id"> export type ProposalOrderByWithAggregationInput = { id?: SortOrder projectId?: SortOrder kind?: SortOrder targetMemoryId?: SortOrderInput | SortOrder payloadJson?: SortOrder rationale?: SortOrder status?: SortOrder createdAt?: SortOrder decidedAt?: SortOrderInput | SortOrder _count?: ProposalCountOrderByAggregateInput _max?: ProposalMaxOrderByAggregateInput _min?: ProposalMinOrderByAggregateInput } export type ProposalScalarWhereWithAggregatesInput = { AND?: ProposalScalarWhereWithAggregatesInput | ProposalScalarWhereWithAggregatesInput[] OR?: ProposalScalarWhereWithAggregatesInput[] NOT?: ProposalScalarWhereWithAggregatesInput | ProposalScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Proposal"> | string projectId?: StringWithAggregatesFilter<"Proposal"> | string kind?: StringWithAggregatesFilter<"Proposal"> | string targetMemoryId?: StringNullableWithAggregatesFilter<"Proposal"> | string | null payloadJson?: StringWithAggregatesFilter<"Proposal"> | string rationale?: StringWithAggregatesFilter<"Proposal"> | string status?: StringWithAggregatesFilter<"Proposal"> | string createdAt?: DateTimeWithAggregatesFilter<"Proposal"> | Date | string decidedAt?: DateTimeNullableWithAggregatesFilter<"Proposal"> | Date | string | null } export type EmbeddingCacheWhereInput = { AND?: EmbeddingCacheWhereInput | EmbeddingCacheWhereInput[] OR?: EmbeddingCacheWhereInput[] NOT?: EmbeddingCacheWhereInput | EmbeddingCacheWhereInput[] textHash?: StringFilter<"EmbeddingCache"> | string embedding?: BytesFilter<"EmbeddingCache"> | Bytes model?: StringFilter<"EmbeddingCache"> | string createdAt?: DateTimeFilter<"EmbeddingCache"> | Date | string accessedAt?: DateTimeFilter<"EmbeddingCache"> | Date | string hitCount?: IntFilter<"EmbeddingCache"> | number } export type EmbeddingCacheOrderByWithRelationInput = { textHash?: SortOrder embedding?: SortOrder model?: SortOrder createdAt?: SortOrder accessedAt?: SortOrder hitCount?: SortOrder } export type EmbeddingCacheWhereUniqueInput = Prisma.AtLeast<{ textHash?: string AND?: EmbeddingCacheWhereInput | EmbeddingCacheWhereInput[] OR?: EmbeddingCacheWhereInput[] NOT?: EmbeddingCacheWhereInput | EmbeddingCacheWhereInput[] embedding?: BytesFilter<"EmbeddingCache"> | Bytes model?: StringFilter<"EmbeddingCache"> | string createdAt?: DateTimeFilter<"EmbeddingCache"> | Date | string accessedAt?: DateTimeFilter<"EmbeddingCache"> | Date | string hitCount?: IntFilter<"EmbeddingCache"> | number }, "textHash"> export type EmbeddingCacheOrderByWithAggregationInput = { textHash?: SortOrder embedding?: SortOrder model?: SortOrder createdAt?: SortOrder accessedAt?: SortOrder hitCount?: SortOrder _count?: EmbeddingCacheCountOrderByAggregateInput _avg?: EmbeddingCacheAvgOrderByAggregateInput _max?: EmbeddingCacheMaxOrderByAggregateInput _min?: EmbeddingCacheMinOrderByAggregateInput _sum?: EmbeddingCacheSumOrderByAggregateInput } export type EmbeddingCacheScalarWhereWithAggregatesInput = { AND?: EmbeddingCacheScalarWhereWithAggregatesInput | EmbeddingCacheScalarWhereWithAggregatesInput[] OR?: EmbeddingCacheScalarWhereWithAggregatesInput[] NOT?: EmbeddingCacheScalarWhereWithAggregatesInput | EmbeddingCacheScalarWhereWithAggregatesInput[] textHash?: StringWithAggregatesFilter<"EmbeddingCache"> | string embedding?: BytesWithAggregatesFilter<"EmbeddingCache"> | Bytes model?: StringWithAggregatesFilter<"EmbeddingCache"> | string createdAt?: DateTimeWithAggregatesFilter<"EmbeddingCache"> | Date | string accessedAt?: DateTimeWithAggregatesFilter<"EmbeddingCache"> | Date | string hitCount?: IntWithAggregatesFilter<"EmbeddingCache"> | number } export type VectorDocument1024WhereInput = { AND?: VectorDocument1024WhereInput | VectorDocument1024WhereInput[] OR?: VectorDocument1024WhereInput[] NOT?: VectorDocument1024WhereInput | VectorDocument1024WhereInput[] id?: StringFilter<"VectorDocument1024"> | string projectId?: StringFilter<"VectorDocument1024"> | string content?: StringFilter<"VectorDocument1024"> | string metadata?: JsonFilter<"VectorDocument1024"> createdAt?: DateTimeFilter<"VectorDocument1024"> | Date | string updatedAt?: DateTimeFilter<"VectorDocument1024"> | Date | string } export type VectorDocument1024OrderByWithRelationInput = { id?: SortOrder projectId?: SortOrder content?: SortOrder metadata?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type VectorDocument1024WhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: VectorDocument1024WhereInput | VectorDocument1024WhereInput[] OR?: VectorDocument1024WhereInput[] NOT?: VectorDocument1024WhereInput | VectorDocument1024WhereInput[] projectId?: StringFilter<"VectorDocument1024"> | string content?: StringFilter<"VectorDocument1024"> | string metadata?: JsonFilter<"VectorDocument1024"> createdAt?: DateTimeFilter<"VectorDocument1024"> | Date | string updatedAt?: DateTimeFilter<"VectorDocument1024"> | Date | string }, "id"> export type VectorDocument1024OrderByWithAggregationInput = { id?: SortOrder projectId?: SortOrder content?: SortOrder metadata?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder _count?: VectorDocument1024CountOrderByAggregateInput _max?: VectorDocument1024MaxOrderByAggregateInput _min?: VectorDocument1024MinOrderByAggregateInput } export type VectorDocument1024ScalarWhereWithAggregatesInput = { AND?: VectorDocument1024ScalarWhereWithAggregatesInput | VectorDocument1024ScalarWhereWithAggregatesInput[] OR?: VectorDocument1024ScalarWhereWithAggregatesInput[] NOT?: VectorDocument1024ScalarWhereWithAggregatesInput | VectorDocument1024ScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"VectorDocument1024"> | string projectId?: StringWithAggregatesFilter<"VectorDocument1024"> | string content?: StringWithAggregatesFilter<"VectorDocument1024"> | string metadata?: JsonWithAggregatesFilter<"VectorDocument1024"> createdAt?: DateTimeWithAggregatesFilter<"VectorDocument1024"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"VectorDocument1024"> | Date | string } export type VectorDocument1536WhereInput = { AND?: VectorDocument1536WhereInput | VectorDocument1536WhereInput[] OR?: VectorDocument1536WhereInput[] NOT?: VectorDocument1536WhereInput | VectorDocument1536WhereInput[] id?: StringFilter<"VectorDocument1536"> | string projectId?: StringFilter<"VectorDocument1536"> | string content?: StringFilter<"VectorDocument1536"> | string metadata?: JsonFilter<"VectorDocument1536"> createdAt?: DateTimeFilter<"VectorDocument1536"> | Date | string updatedAt?: DateTimeFilter<"VectorDocument1536"> | Date | string } export type VectorDocument1536OrderByWithRelationInput = { id?: SortOrder projectId?: SortOrder content?: SortOrder metadata?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type VectorDocument1536WhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: VectorDocument1536WhereInput | VectorDocument1536WhereInput[] OR?: VectorDocument1536WhereInput[] NOT?: VectorDocument1536WhereInput | VectorDocument1536WhereInput[] projectId?: StringFilter<"VectorDocument1536"> | string content?: StringFilter<"VectorDocument1536"> | string metadata?: JsonFilter<"VectorDocument1536"> createdAt?: DateTimeFilter<"VectorDocument1536"> | Date | string updatedAt?: DateTimeFilter<"VectorDocument1536"> | Date | string }, "id"> export type VectorDocument1536OrderByWithAggregationInput = { id?: SortOrder projectId?: SortOrder content?: SortOrder metadata?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder _count?: VectorDocument1536CountOrderByAggregateInput _max?: VectorDocument1536MaxOrderByAggregateInput _min?: VectorDocument1536MinOrderByAggregateInput } export type VectorDocument1536ScalarWhereWithAggregatesInput = { AND?: VectorDocument1536ScalarWhereWithAggregatesInput | VectorDocument1536ScalarWhereWithAggregatesInput[] OR?: VectorDocument1536ScalarWhereWithAggregatesInput[] NOT?: VectorDocument1536ScalarWhereWithAggregatesInput | VectorDocument1536ScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"VectorDocument1536"> | string projectId?: StringWithAggregatesFilter<"VectorDocument1536"> | string content?: StringWithAggregatesFilter<"VectorDocument1536"> | string metadata?: JsonWithAggregatesFilter<"VectorDocument1536"> createdAt?: DateTimeWithAggregatesFilter<"VectorDocument1536"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"VectorDocument1536"> | Date | string } export type VectorDocument3072WhereInput = { AND?: VectorDocument3072WhereInput | VectorDocument3072WhereInput[] OR?: VectorDocument3072WhereInput[] NOT?: VectorDocument3072WhereInput | VectorDocument3072WhereInput[] id?: StringFilter<"VectorDocument3072"> | string projectId?: StringFilter<"VectorDocument3072"> | string content?: StringFilter<"VectorDocument3072"> | string metadata?: JsonFilter<"VectorDocument3072"> createdAt?: DateTimeFilter<"VectorDocument3072"> | Date | string updatedAt?: DateTimeFilter<"VectorDocument3072"> | Date | string } export type VectorDocument3072OrderByWithRelationInput = { id?: SortOrder projectId?: SortOrder content?: SortOrder metadata?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type VectorDocument3072WhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: VectorDocument3072WhereInput | VectorDocument3072WhereInput[] OR?: VectorDocument3072WhereInput[] NOT?: VectorDocument3072WhereInput | VectorDocument3072WhereInput[] projectId?: StringFilter<"VectorDocument3072"> | string content?: StringFilter<"VectorDocument3072"> | string metadata?: JsonFilter<"VectorDocument3072"> createdAt?: DateTimeFilter<"VectorDocument3072"> | Date | string updatedAt?: DateTimeFilter<"VectorDocument3072"> | Date | string }, "id"> export type VectorDocument3072OrderByWithAggregationInput = { id?: SortOrder projectId?: SortOrder content?: SortOrder metadata?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder _count?: VectorDocument3072CountOrderByAggregateInput _max?: VectorDocument3072MaxOrderByAggregateInput _min?: VectorDocument3072MinOrderByAggregateInput } export type VectorDocument3072ScalarWhereWithAggregatesInput = { AND?: VectorDocument3072ScalarWhereWithAggregatesInput | VectorDocument3072ScalarWhereWithAggregatesInput[] OR?: VectorDocument3072ScalarWhereWithAggregatesInput[] NOT?: VectorDocument3072ScalarWhereWithAggregatesInput | VectorDocument3072ScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"VectorDocument3072"> | string projectId?: StringWithAggregatesFilter<"VectorDocument3072"> | string content?: StringWithAggregatesFilter<"VectorDocument3072"> | string metadata?: JsonWithAggregatesFilter<"VectorDocument3072"> createdAt?: DateTimeWithAggregatesFilter<"VectorDocument3072"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"VectorDocument3072"> | Date | string } export type VectorDocumentLegacyWhereInput = { AND?: VectorDocumentLegacyWhereInput | VectorDocumentLegacyWhereInput[] OR?: VectorDocumentLegacyWhereInput[] NOT?: VectorDocumentLegacyWhereInput | VectorDocumentLegacyWhereInput[] id?: StringFilter<"VectorDocumentLegacy"> | string projectId?: StringFilter<"VectorDocumentLegacy"> | string content?: StringFilter<"VectorDocumentLegacy"> | string metadata?: JsonFilter<"VectorDocumentLegacy"> createdAt?: DateTimeFilter<"VectorDocumentLegacy"> | Date | string updatedAt?: DateTimeFilter<"VectorDocumentLegacy"> | Date | string } export type VectorDocumentLegacyOrderByWithRelationInput = { id?: SortOrder projectId?: SortOrder content?: SortOrder metadata?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type VectorDocumentLegacyWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: VectorDocumentLegacyWhereInput | VectorDocumentLegacyWhereInput[] OR?: VectorDocumentLegacyWhereInput[] NOT?: VectorDocumentLegacyWhereInput | VectorDocumentLegacyWhereInput[] projectId?: StringFilter<"VectorDocumentLegacy"> | string content?: StringFilter<"VectorDocumentLegacy"> | string metadata?: JsonFilter<"VectorDocumentLegacy"> createdAt?: DateTimeFilter<"VectorDocumentLegacy"> | Date | string updatedAt?: DateTimeFilter<"VectorDocumentLegacy"> | Date | string }, "id"> export type VectorDocumentLegacyOrderByWithAggregationInput = { id?: SortOrder projectId?: SortOrder content?: SortOrder metadata?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder _count?: VectorDocumentLegacyCountOrderByAggregateInput _max?: VectorDocumentLegacyMaxOrderByAggregateInput _min?: VectorDocumentLegacyMinOrderByAggregateInput } export type VectorDocumentLegacyScalarWhereWithAggregatesInput = { AND?: VectorDocumentLegacyScalarWhereWithAggregatesInput | VectorDocumentLegacyScalarWhereWithAggregatesInput[] OR?: VectorDocumentLegacyScalarWhereWithAggregatesInput[] NOT?: VectorDocumentLegacyScalarWhereWithAggregatesInput | VectorDocumentLegacyScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"VectorDocumentLegacy"> | string projectId?: StringWithAggregatesFilter<"VectorDocumentLegacy"> | string content?: StringWithAggregatesFilter<"VectorDocumentLegacy"> | string metadata?: JsonWithAggregatesFilter<"VectorDocumentLegacy"> createdAt?: DateTimeWithAggregatesFilter<"VectorDocumentLegacy"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"VectorDocumentLegacy"> | Date | string } export type VectorDocument4096WhereInput = { AND?: VectorDocument4096WhereInput | VectorDocument4096WhereInput[] OR?: VectorDocument4096WhereInput[] NOT?: VectorDocument4096WhereInput | VectorDocument4096WhereInput[] id?: StringFilter<"VectorDocument4096"> | string projectId?: StringFilter<"VectorDocument4096"> | string content?: StringFilter<"VectorDocument4096"> | string metadata?: JsonFilter<"VectorDocument4096"> createdAt?: DateTimeFilter<"VectorDocument4096"> | Date | string updatedAt?: DateTimeFilter<"VectorDocument4096"> | Date | string } export type VectorDocument4096OrderByWithRelationInput = { id?: SortOrder projectId?: SortOrder content?: SortOrder metadata?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type VectorDocument4096WhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: VectorDocument4096WhereInput | VectorDocument4096WhereInput[] OR?: VectorDocument4096WhereInput[] NOT?: VectorDocument4096WhereInput | VectorDocument4096WhereInput[] projectId?: StringFilter<"VectorDocument4096"> | string content?: StringFilter<"VectorDocument4096"> | string metadata?: JsonFilter<"VectorDocument4096"> createdAt?: DateTimeFilter<"VectorDocument4096"> | Date | string updatedAt?: DateTimeFilter<"VectorDocument4096"> | Date | string }, "id"> export type VectorDocument4096OrderByWithAggregationInput = { id?: SortOrder projectId?: SortOrder content?: SortOrder metadata?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder _count?: VectorDocument4096CountOrderByAggregateInput _max?: VectorDocument4096MaxOrderByAggregateInput _min?: VectorDocument4096MinOrderByAggregateInput } export type VectorDocument4096ScalarWhereWithAggregatesInput = { AND?: VectorDocument4096ScalarWhereWithAggregatesInput | VectorDocument4096ScalarWhereWithAggregatesInput[] OR?: VectorDocument4096ScalarWhereWithAggregatesInput[] NOT?: VectorDocument4096ScalarWhereWithAggregatesInput | VectorDocument4096ScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"VectorDocument4096"> | string projectId?: StringWithAggregatesFilter<"VectorDocument4096"> | string content?: StringWithAggregatesFilter<"VectorDocument4096"> | string metadata?: JsonWithAggregatesFilter<"VectorDocument4096"> createdAt?: DateTimeWithAggregatesFilter<"VectorDocument4096"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"VectorDocument4096"> | Date | string } export type IndexJobWhereInput = { AND?: IndexJobWhereInput | IndexJobWhereInput[] OR?: IndexJobWhereInput[] NOT?: IndexJobWhereInput | IndexJobWhereInput[] jobId?: StringFilter<"IndexJob"> | string projectId?: StringFilter<"IndexJob"> | string projectPath?: StringFilter<"IndexJob"> | string status?: StringFilter<"IndexJob"> | string current?: IntFilter<"IndexJob"> | number total?: IntFilter<"IndexJob"> | number percentage?: IntFilter<"IndexJob"> | number filesIndexed?: IntNullableFilter<"IndexJob"> | number | null chunksIndexed?: IntNullableFilter<"IndexJob"> | number | null errors?: IntNullableFilter<"IndexJob"> | number | null duration?: IntNullableFilter<"IndexJob"> | number | null error?: StringNullableFilter<"IndexJob"> | string | null createdAt?: BigIntFilter<"IndexJob"> | bigint | number startedAt?: BigIntNullableFilter<"IndexJob"> | bigint | number | null completedAt?: BigIntNullableFilter<"IndexJob"> | bigint | number | null heartbeatAt?: BigIntNullableFilter<"IndexJob"> | bigint | number | null activatedGraphGenerationId?: StringNullableFilter<"IndexJob"> | string | null parserDiagnosticsCount?: IntNullableFilter<"IndexJob"> | number | null parserRecoveredFiles?: IntNullableFilter<"IndexJob"> | number | null parserHardFailureFiles?: IntNullableFilter<"IndexJob"> | number | null parserStaleFiles?: IntNullableFilter<"IndexJob"> | number | null parserLanguageCounts?: JsonNullableFilter<"IndexJob"> } export type IndexJobOrderByWithRelationInput = { jobId?: SortOrder projectId?: SortOrder projectPath?: SortOrder status?: SortOrder current?: SortOrder total?: SortOrder percentage?: SortOrder filesIndexed?: SortOrderInput | SortOrder chunksIndexed?: SortOrderInput | SortOrder errors?: SortOrderInput | SortOrder duration?: SortOrderInput | SortOrder error?: SortOrderInput | SortOrder createdAt?: SortOrder startedAt?: SortOrderInput | SortOrder completedAt?: SortOrderInput | SortOrder heartbeatAt?: SortOrderInput | SortOrder activatedGraphGenerationId?: SortOrderInput | SortOrder parserDiagnosticsCount?: SortOrderInput | SortOrder parserRecoveredFiles?: SortOrderInput | SortOrder parserHardFailureFiles?: SortOrderInput | SortOrder parserStaleFiles?: SortOrderInput | SortOrder parserLanguageCounts?: SortOrderInput | SortOrder } export type IndexJobWhereUniqueInput = Prisma.AtLeast<{ jobId?: string AND?: IndexJobWhereInput | IndexJobWhereInput[] OR?: IndexJobWhereInput[] NOT?: IndexJobWhereInput | IndexJobWhereInput[] projectId?: StringFilter<"IndexJob"> | string projectPath?: StringFilter<"IndexJob"> | string status?: StringFilter<"IndexJob"> | string current?: IntFilter<"IndexJob"> | number total?: IntFilter<"IndexJob"> | number percentage?: IntFilter<"IndexJob"> | number filesIndexed?: IntNullableFilter<"IndexJob"> | number | null chunksIndexed?: IntNullableFilter<"IndexJob"> | number | null errors?: IntNullableFilter<"IndexJob"> | number | null duration?: IntNullableFilter<"IndexJob"> | number | null error?: StringNullableFilter<"IndexJob"> | string | null createdAt?: BigIntFilter<"IndexJob"> | bigint | number startedAt?: BigIntNullableFilter<"IndexJob"> | bigint | number | null completedAt?: BigIntNullableFilter<"IndexJob"> | bigint | number | null heartbeatAt?: BigIntNullableFilter<"IndexJob"> | bigint | number | null activatedGraphGenerationId?: StringNullableFilter<"IndexJob"> | string | null parserDiagnosticsCount?: IntNullableFilter<"IndexJob"> | number | null parserRecoveredFiles?: IntNullableFilter<"IndexJob"> | number | null parserHardFailureFiles?: IntNullableFilter<"IndexJob"> | number | null parserStaleFiles?: IntNullableFilter<"IndexJob"> | number | null parserLanguageCounts?: JsonNullableFilter<"IndexJob"> }, "jobId"> export type IndexJobOrderByWithAggregationInput = { jobId?: SortOrder projectId?: SortOrder projectPath?: SortOrder status?: SortOrder current?: SortOrder total?: SortOrder percentage?: SortOrder filesIndexed?: SortOrderInput | SortOrder chunksIndexed?: SortOrderInput | SortOrder errors?: SortOrderInput | SortOrder duration?: SortOrderInput | SortOrder error?: SortOrderInput | SortOrder createdAt?: SortOrder startedAt?: SortOrderInput | SortOrder completedAt?: SortOrderInput | SortOrder heartbeatAt?: SortOrderInput | SortOrder activatedGraphGenerationId?: SortOrderInput | SortOrder parserDiagnosticsCount?: SortOrderInput | SortOrder parserRecoveredFiles?: SortOrderInput | SortOrder parserHardFailureFiles?: SortOrderInput | SortOrder parserStaleFiles?: SortOrderInput | SortOrder parserLanguageCounts?: SortOrderInput | SortOrder _count?: IndexJobCountOrderByAggregateInput _avg?: IndexJobAvgOrderByAggregateInput _max?: IndexJobMaxOrderByAggregateInput _min?: IndexJobMinOrderByAggregateInput _sum?: IndexJobSumOrderByAggregateInput } export type IndexJobScalarWhereWithAggregatesInput = { AND?: IndexJobScalarWhereWithAggregatesInput | IndexJobScalarWhereWithAggregatesInput[] OR?: IndexJobScalarWhereWithAggregatesInput[] NOT?: IndexJobScalarWhereWithAggregatesInput | IndexJobScalarWhereWithAggregatesInput[] jobId?: StringWithAggregatesFilter<"IndexJob"> | string projectId?: StringWithAggregatesFilter<"IndexJob"> | string projectPath?: StringWithAggregatesFilter<"IndexJob"> | string status?: StringWithAggregatesFilter<"IndexJob"> | string current?: IntWithAggregatesFilter<"IndexJob"> | number total?: IntWithAggregatesFilter<"IndexJob"> | number percentage?: IntWithAggregatesFilter<"IndexJob"> | number filesIndexed?: IntNullableWithAggregatesFilter<"IndexJob"> | number | null chunksIndexed?: IntNullableWithAggregatesFilter<"IndexJob"> | number | null errors?: IntNullableWithAggregatesFilter<"IndexJob"> | number | null duration?: IntNullableWithAggregatesFilter<"IndexJob"> | number | null error?: StringNullableWithAggregatesFilter<"IndexJob"> | string | null createdAt?: BigIntWithAggregatesFilter<"IndexJob"> | bigint | number startedAt?: BigIntNullableWithAggregatesFilter<"IndexJob"> | bigint | number | null completedAt?: BigIntNullableWithAggregatesFilter<"IndexJob"> | bigint | number | null heartbeatAt?: BigIntNullableWithAggregatesFilter<"IndexJob"> | bigint | number | null activatedGraphGenerationId?: StringNullableWithAggregatesFilter<"IndexJob"> | string | null parserDiagnosticsCount?: IntNullableWithAggregatesFilter<"IndexJob"> | number | null parserRecoveredFiles?: IntNullableWithAggregatesFilter<"IndexJob"> | number | null parserHardFailureFiles?: IntNullableWithAggregatesFilter<"IndexJob"> | number | null parserStaleFiles?: IntNullableWithAggregatesFilter<"IndexJob"> | number | null parserLanguageCounts?: JsonNullableWithAggregatesFilter<"IndexJob"> } export type ScheduledJobWhereInput = { AND?: ScheduledJobWhereInput | ScheduledJobWhereInput[] OR?: ScheduledJobWhereInput[] NOT?: ScheduledJobWhereInput | ScheduledJobWhereInput[] id?: StringFilter<"ScheduledJob"> | string name?: StringFilter<"ScheduledJob"> | string jobKind?: StringFilter<"ScheduledJob"> | string scheduleType?: StringFilter<"ScheduledJob"> | string intervalMs?: BigIntNullableFilter<"ScheduledJob"> | bigint | number | null cron?: StringNullableFilter<"ScheduledJob"> | string | null nextRunAt?: BigIntFilter<"ScheduledJob"> | bigint | number lastRunAt?: BigIntFilter<"ScheduledJob"> | bigint | number enabled?: IntFilter<"ScheduledJob"> | number payload?: StringNullableFilter<"ScheduledJob"> | string | null } export type ScheduledJobOrderByWithRelationInput = { id?: SortOrder name?: SortOrder jobKind?: SortOrder scheduleType?: SortOrder intervalMs?: SortOrderInput | SortOrder cron?: SortOrderInput | SortOrder nextRunAt?: SortOrder lastRunAt?: SortOrder enabled?: SortOrder payload?: SortOrderInput | SortOrder } export type ScheduledJobWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: ScheduledJobWhereInput | ScheduledJobWhereInput[] OR?: ScheduledJobWhereInput[] NOT?: ScheduledJobWhereInput | ScheduledJobWhereInput[] name?: StringFilter<"ScheduledJob"> | string jobKind?: StringFilter<"ScheduledJob"> | string scheduleType?: StringFilter<"ScheduledJob"> | string intervalMs?: BigIntNullableFilter<"ScheduledJob"> | bigint | number | null cron?: StringNullableFilter<"ScheduledJob"> | string | null nextRunAt?: BigIntFilter<"ScheduledJob"> | bigint | number lastRunAt?: BigIntFilter<"ScheduledJob"> | bigint | number enabled?: IntFilter<"ScheduledJob"> | number payload?: StringNullableFilter<"ScheduledJob"> | string | null }, "id"> export type ScheduledJobOrderByWithAggregationInput = { id?: SortOrder name?: SortOrder jobKind?: SortOrder scheduleType?: SortOrder intervalMs?: SortOrderInput | SortOrder cron?: SortOrderInput | SortOrder nextRunAt?: SortOrder lastRunAt?: SortOrder enabled?: SortOrder payload?: SortOrderInput | SortOrder _count?: ScheduledJobCountOrderByAggregateInput _avg?: ScheduledJobAvgOrderByAggregateInput _max?: ScheduledJobMaxOrderByAggregateInput _min?: ScheduledJobMinOrderByAggregateInput _sum?: ScheduledJobSumOrderByAggregateInput } export type ScheduledJobScalarWhereWithAggregatesInput = { AND?: ScheduledJobScalarWhereWithAggregatesInput | ScheduledJobScalarWhereWithAggregatesInput[] OR?: ScheduledJobScalarWhereWithAggregatesInput[] NOT?: ScheduledJobScalarWhereWithAggregatesInput | ScheduledJobScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"ScheduledJob"> | string name?: StringWithAggregatesFilter<"ScheduledJob"> | string jobKind?: StringWithAggregatesFilter<"ScheduledJob"> | string scheduleType?: StringWithAggregatesFilter<"ScheduledJob"> | string intervalMs?: BigIntNullableWithAggregatesFilter<"ScheduledJob"> | bigint | number | null cron?: StringNullableWithAggregatesFilter<"ScheduledJob"> | string | null nextRunAt?: BigIntWithAggregatesFilter<"ScheduledJob"> | bigint | number lastRunAt?: BigIntWithAggregatesFilter<"ScheduledJob"> | bigint | number enabled?: IntWithAggregatesFilter<"ScheduledJob"> | number payload?: StringNullableWithAggregatesFilter<"ScheduledJob"> | string | null } export type SynapseSessionWhereInput = { AND?: SynapseSessionWhereInput | SynapseSessionWhereInput[] OR?: SynapseSessionWhereInput[] NOT?: SynapseSessionWhereInput | SynapseSessionWhereInput[] sessionId?: StringFilter<"SynapseSession"> | string agentId?: StringFilter<"SynapseSession"> | string workspaceId?: StringNullableFilter<"SynapseSession"> | string | null taskContext?: StringNullableFilter<"SynapseSession"> | string | null taskTokens?: StringNullableFilter<"SynapseSession"> | string | null taskEmbedding?: BytesNullableFilter<"SynapseSession"> | Bytes | null ttlMs?: BigIntFilter<"SynapseSession"> | bigint | number createdAt?: BigIntFilter<"SynapseSession"> | bigint | number expiresAt?: BigIntFilter<"SynapseSession"> | bigint | number accessHistoryLimit?: IntFilter<"SynapseSession"> | number bufferConfig?: StringNullableFilter<"SynapseSession"> | string | null bufferSnapshot?: StringNullableFilter<"SynapseSession"> | string | null updatedAt?: BigIntFilter<"SynapseSession"> | bigint | number } export type SynapseSessionOrderByWithRelationInput = { sessionId?: SortOrder agentId?: SortOrder workspaceId?: SortOrderInput | SortOrder taskContext?: SortOrderInput | SortOrder taskTokens?: SortOrderInput | SortOrder taskEmbedding?: SortOrderInput | SortOrder ttlMs?: SortOrder createdAt?: SortOrder expiresAt?: SortOrder accessHistoryLimit?: SortOrder bufferConfig?: SortOrderInput | SortOrder bufferSnapshot?: SortOrderInput | SortOrder updatedAt?: SortOrder } export type SynapseSessionWhereUniqueInput = Prisma.AtLeast<{ sessionId?: string AND?: SynapseSessionWhereInput | SynapseSessionWhereInput[] OR?: SynapseSessionWhereInput[] NOT?: SynapseSessionWhereInput | SynapseSessionWhereInput[] agentId?: StringFilter<"SynapseSession"> | string workspaceId?: StringNullableFilter<"SynapseSession"> | string | null taskContext?: StringNullableFilter<"SynapseSession"> | string | null taskTokens?: StringNullableFilter<"SynapseSession"> | string | null taskEmbedding?: BytesNullableFilter<"SynapseSession"> | Bytes | null ttlMs?: BigIntFilter<"SynapseSession"> | bigint | number createdAt?: BigIntFilter<"SynapseSession"> | bigint | number expiresAt?: BigIntFilter<"SynapseSession"> | bigint | number accessHistoryLimit?: IntFilter<"SynapseSession"> | number bufferConfig?: StringNullableFilter<"SynapseSession"> | string | null bufferSnapshot?: StringNullableFilter<"SynapseSession"> | string | null updatedAt?: BigIntFilter<"SynapseSession"> | bigint | number }, "sessionId"> export type SynapseSessionOrderByWithAggregationInput = { sessionId?: SortOrder agentId?: SortOrder workspaceId?: SortOrderInput | SortOrder taskContext?: SortOrderInput | SortOrder taskTokens?: SortOrderInput | SortOrder taskEmbedding?: SortOrderInput | SortOrder ttlMs?: SortOrder createdAt?: SortOrder expiresAt?: SortOrder accessHistoryLimit?: SortOrder bufferConfig?: SortOrderInput | SortOrder bufferSnapshot?: SortOrderInput | SortOrder updatedAt?: SortOrder _count?: SynapseSessionCountOrderByAggregateInput _avg?: SynapseSessionAvgOrderByAggregateInput _max?: SynapseSessionMaxOrderByAggregateInput _min?: SynapseSessionMinOrderByAggregateInput _sum?: SynapseSessionSumOrderByAggregateInput } export type SynapseSessionScalarWhereWithAggregatesInput = { AND?: SynapseSessionScalarWhereWithAggregatesInput | SynapseSessionScalarWhereWithAggregatesInput[] OR?: SynapseSessionScalarWhereWithAggregatesInput[] NOT?: SynapseSessionScalarWhereWithAggregatesInput | SynapseSessionScalarWhereWithAggregatesInput[] sessionId?: StringWithAggregatesFilter<"SynapseSession"> | string agentId?: StringWithAggregatesFilter<"SynapseSession"> | string workspaceId?: StringNullableWithAggregatesFilter<"SynapseSession"> | string | null taskContext?: StringNullableWithAggregatesFilter<"SynapseSession"> | string | null taskTokens?: StringNullableWithAggregatesFilter<"SynapseSession"> | string | null taskEmbedding?: BytesNullableWithAggregatesFilter<"SynapseSession"> | Bytes | null ttlMs?: BigIntWithAggregatesFilter<"SynapseSession"> | bigint | number createdAt?: BigIntWithAggregatesFilter<"SynapseSession"> | bigint | number expiresAt?: BigIntWithAggregatesFilter<"SynapseSession"> | bigint | number accessHistoryLimit?: IntWithAggregatesFilter<"SynapseSession"> | number bufferConfig?: StringNullableWithAggregatesFilter<"SynapseSession"> | string | null bufferSnapshot?: StringNullableWithAggregatesFilter<"SynapseSession"> | string | null updatedAt?: BigIntWithAggregatesFilter<"SynapseSession"> | bigint | number } export type SynapseAccessHistoryWhereInput = { AND?: SynapseAccessHistoryWhereInput | SynapseAccessHistoryWhereInput[] OR?: SynapseAccessHistoryWhereInput[] NOT?: SynapseAccessHistoryWhereInput | SynapseAccessHistoryWhereInput[] sessionId?: StringFilter<"SynapseAccessHistory"> | string memoryId?: StringFilter<"SynapseAccessHistory"> | string accessCount?: IntFilter<"SynapseAccessHistory"> | number lastAccessedAt?: BigIntFilter<"SynapseAccessHistory"> | bigint | number } export type SynapseAccessHistoryOrderByWithRelationInput = { sessionId?: SortOrder memoryId?: SortOrder accessCount?: SortOrder lastAccessedAt?: SortOrder } export type SynapseAccessHistoryWhereUniqueInput = Prisma.AtLeast<{ sessionId_memoryId?: SynapseAccessHistorySessionIdMemoryIdCompoundUniqueInput AND?: SynapseAccessHistoryWhereInput | SynapseAccessHistoryWhereInput[] OR?: SynapseAccessHistoryWhereInput[] NOT?: SynapseAccessHistoryWhereInput | SynapseAccessHistoryWhereInput[] sessionId?: StringFilter<"SynapseAccessHistory"> | string memoryId?: StringFilter<"SynapseAccessHistory"> | string accessCount?: IntFilter<"SynapseAccessHistory"> | number lastAccessedAt?: BigIntFilter<"SynapseAccessHistory"> | bigint | number }, "sessionId_memoryId"> export type SynapseAccessHistoryOrderByWithAggregationInput = { sessionId?: SortOrder memoryId?: SortOrder accessCount?: SortOrder lastAccessedAt?: SortOrder _count?: SynapseAccessHistoryCountOrderByAggregateInput _avg?: SynapseAccessHistoryAvgOrderByAggregateInput _max?: SynapseAccessHistoryMaxOrderByAggregateInput _min?: SynapseAccessHistoryMinOrderByAggregateInput _sum?: SynapseAccessHistorySumOrderByAggregateInput } export type SynapseAccessHistoryScalarWhereWithAggregatesInput = { AND?: SynapseAccessHistoryScalarWhereWithAggregatesInput | SynapseAccessHistoryScalarWhereWithAggregatesInput[] OR?: SynapseAccessHistoryScalarWhereWithAggregatesInput[] NOT?: SynapseAccessHistoryScalarWhereWithAggregatesInput | SynapseAccessHistoryScalarWhereWithAggregatesInput[] sessionId?: StringWithAggregatesFilter<"SynapseAccessHistory"> | string memoryId?: StringWithAggregatesFilter<"SynapseAccessHistory"> | string accessCount?: IntWithAggregatesFilter<"SynapseAccessHistory"> | number lastAccessedAt?: BigIntWithAggregatesFilter<"SynapseAccessHistory"> | bigint | number } export type CheckpointWhereInput = { AND?: CheckpointWhereInput | CheckpointWhereInput[] OR?: CheckpointWhereInput[] NOT?: CheckpointWhereInput | CheckpointWhereInput[] id?: StringFilter<"Checkpoint"> | string taskId?: StringFilter<"Checkpoint"> | string taskDescription?: StringNullableFilter<"Checkpoint"> | string | null agentId?: StringNullableFilter<"Checkpoint"> | string | null projectId?: StringNullableFilter<"Checkpoint"> | string | null state?: BytesFilter<"Checkpoint"> | Bytes stateSchemaVersion?: IntFilter<"Checkpoint"> | number memoryIds?: StringNullableFilter<"Checkpoint"> | string | null fileChanges?: StringNullableFilter<"Checkpoint"> | string | null checkpointType?: StringFilter<"Checkpoint"> | string parentCheckpointId?: StringNullableFilter<"Checkpoint"> | string | null createdAt?: BigIntFilter<"Checkpoint"> | bigint | number expiresAt?: BigIntNullableFilter<"Checkpoint"> | bigint | number | null } export type CheckpointOrderByWithRelationInput = { id?: SortOrder taskId?: SortOrder taskDescription?: SortOrderInput | SortOrder agentId?: SortOrderInput | SortOrder projectId?: SortOrderInput | SortOrder state?: SortOrder stateSchemaVersion?: SortOrder memoryIds?: SortOrderInput | SortOrder fileChanges?: SortOrderInput | SortOrder checkpointType?: SortOrder parentCheckpointId?: SortOrderInput | SortOrder createdAt?: SortOrder expiresAt?: SortOrderInput | SortOrder } export type CheckpointWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: CheckpointWhereInput | CheckpointWhereInput[] OR?: CheckpointWhereInput[] NOT?: CheckpointWhereInput | CheckpointWhereInput[] taskId?: StringFilter<"Checkpoint"> | string taskDescription?: StringNullableFilter<"Checkpoint"> | string | null agentId?: StringNullableFilter<"Checkpoint"> | string | null projectId?: StringNullableFilter<"Checkpoint"> | string | null state?: BytesFilter<"Checkpoint"> | Bytes stateSchemaVersion?: IntFilter<"Checkpoint"> | number memoryIds?: StringNullableFilter<"Checkpoint"> | string | null fileChanges?: StringNullableFilter<"Checkpoint"> | string | null checkpointType?: StringFilter<"Checkpoint"> | string parentCheckpointId?: StringNullableFilter<"Checkpoint"> | string | null createdAt?: BigIntFilter<"Checkpoint"> | bigint | number expiresAt?: BigIntNullableFilter<"Checkpoint"> | bigint | number | null }, "id"> export type CheckpointOrderByWithAggregationInput = { id?: SortOrder taskId?: SortOrder taskDescription?: SortOrderInput | SortOrder agentId?: SortOrderInput | SortOrder projectId?: SortOrderInput | SortOrder state?: SortOrder stateSchemaVersion?: SortOrder memoryIds?: SortOrderInput | SortOrder fileChanges?: SortOrderInput | SortOrder checkpointType?: SortOrder parentCheckpointId?: SortOrderInput | SortOrder createdAt?: SortOrder expiresAt?: SortOrderInput | SortOrder _count?: CheckpointCountOrderByAggregateInput _avg?: CheckpointAvgOrderByAggregateInput _max?: CheckpointMaxOrderByAggregateInput _min?: CheckpointMinOrderByAggregateInput _sum?: CheckpointSumOrderByAggregateInput } export type CheckpointScalarWhereWithAggregatesInput = { AND?: CheckpointScalarWhereWithAggregatesInput | CheckpointScalarWhereWithAggregatesInput[] OR?: CheckpointScalarWhereWithAggregatesInput[] NOT?: CheckpointScalarWhereWithAggregatesInput | CheckpointScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Checkpoint"> | string taskId?: StringWithAggregatesFilter<"Checkpoint"> | string taskDescription?: StringNullableWithAggregatesFilter<"Checkpoint"> | string | null agentId?: StringNullableWithAggregatesFilter<"Checkpoint"> | string | null projectId?: StringNullableWithAggregatesFilter<"Checkpoint"> | string | null state?: BytesWithAggregatesFilter<"Checkpoint"> | Bytes stateSchemaVersion?: IntWithAggregatesFilter<"Checkpoint"> | number memoryIds?: StringNullableWithAggregatesFilter<"Checkpoint"> | string | null fileChanges?: StringNullableWithAggregatesFilter<"Checkpoint"> | string | null checkpointType?: StringWithAggregatesFilter<"Checkpoint"> | string parentCheckpointId?: StringNullableWithAggregatesFilter<"Checkpoint"> | string | null createdAt?: BigIntWithAggregatesFilter<"Checkpoint"> | bigint | number expiresAt?: BigIntNullableWithAggregatesFilter<"Checkpoint"> | bigint | number | null } export type MemoryCreateInput = { id: string content: string type: string level: number userId?: string | null sessionId?: string | null projectId?: string | null agentId?: string | null importance?: number tags?: MemoryCreatetagsInput | string[] embedding?: Bytes | null metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string accessCount?: number lastAccessed?: Date | string | null pinned?: boolean deletedAt?: Date | string | null edgesFrom?: MemoryEdgeCreateNestedManyWithoutFromMemoryInput edgesTo?: MemoryEdgeCreateNestedManyWithoutToMemoryInput } export type MemoryUncheckedCreateInput = { id: string content: string type: string level: number userId?: string | null sessionId?: string | null projectId?: string | null agentId?: string | null importance?: number tags?: MemoryCreatetagsInput | string[] embedding?: Bytes | null metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string accessCount?: number lastAccessed?: Date | string | null pinned?: boolean deletedAt?: Date | string | null edgesFrom?: MemoryEdgeUncheckedCreateNestedManyWithoutFromMemoryInput edgesTo?: MemoryEdgeUncheckedCreateNestedManyWithoutToMemoryInput } export type MemoryUpdateInput = { id?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string type?: StringFieldUpdateOperationsInput | string level?: IntFieldUpdateOperationsInput | number userId?: NullableStringFieldUpdateOperationsInput | string | null sessionId?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null agentId?: NullableStringFieldUpdateOperationsInput | string | null importance?: FloatFieldUpdateOperationsInput | number tags?: MemoryUpdatetagsInput | string[] embedding?: NullableBytesFieldUpdateOperationsInput | Bytes | null metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessCount?: IntFieldUpdateOperationsInput | number lastAccessed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null pinned?: BoolFieldUpdateOperationsInput | boolean deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null edgesFrom?: MemoryEdgeUpdateManyWithoutFromMemoryNestedInput edgesTo?: MemoryEdgeUpdateManyWithoutToMemoryNestedInput } export type MemoryUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string type?: StringFieldUpdateOperationsInput | string level?: IntFieldUpdateOperationsInput | number userId?: NullableStringFieldUpdateOperationsInput | string | null sessionId?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null agentId?: NullableStringFieldUpdateOperationsInput | string | null importance?: FloatFieldUpdateOperationsInput | number tags?: MemoryUpdatetagsInput | string[] embedding?: NullableBytesFieldUpdateOperationsInput | Bytes | null metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessCount?: IntFieldUpdateOperationsInput | number lastAccessed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null pinned?: BoolFieldUpdateOperationsInput | boolean deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null edgesFrom?: MemoryEdgeUncheckedUpdateManyWithoutFromMemoryNestedInput edgesTo?: MemoryEdgeUncheckedUpdateManyWithoutToMemoryNestedInput } export type MemoryCreateManyInput = { id: string content: string type: string level: number userId?: string | null sessionId?: string | null projectId?: string | null agentId?: string | null importance?: number tags?: MemoryCreatetagsInput | string[] embedding?: Bytes | null metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string accessCount?: number lastAccessed?: Date | string | null pinned?: boolean deletedAt?: Date | string | null } export type MemoryUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string type?: StringFieldUpdateOperationsInput | string level?: IntFieldUpdateOperationsInput | number userId?: NullableStringFieldUpdateOperationsInput | string | null sessionId?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null agentId?: NullableStringFieldUpdateOperationsInput | string | null importance?: FloatFieldUpdateOperationsInput | number tags?: MemoryUpdatetagsInput | string[] embedding?: NullableBytesFieldUpdateOperationsInput | Bytes | null metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessCount?: IntFieldUpdateOperationsInput | number lastAccessed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null pinned?: BoolFieldUpdateOperationsInput | boolean deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type MemoryUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string type?: StringFieldUpdateOperationsInput | string level?: IntFieldUpdateOperationsInput | number userId?: NullableStringFieldUpdateOperationsInput | string | null sessionId?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null agentId?: NullableStringFieldUpdateOperationsInput | string | null importance?: FloatFieldUpdateOperationsInput | number tags?: MemoryUpdatetagsInput | string[] embedding?: NullableBytesFieldUpdateOperationsInput | Bytes | null metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessCount?: IntFieldUpdateOperationsInput | number lastAccessed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null pinned?: BoolFieldUpdateOperationsInput | boolean deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type ProjectCreateInput = { id?: string projectId: string path: string documentCount?: number totalSize?: number lastIndexed?: Date | string | null createdAt?: Date | string updatedAt?: Date | string documents?: DocumentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateInput = { id?: string projectId: string path: string documentCount?: number totalSize?: number lastIndexed?: Date | string | null createdAt?: Date | string updatedAt?: Date | string documents?: DocumentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string path?: StringFieldUpdateOperationsInput | string documentCount?: IntFieldUpdateOperationsInput | number totalSize?: IntFieldUpdateOperationsInput | number lastIndexed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string documents?: DocumentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string path?: StringFieldUpdateOperationsInput | string documentCount?: IntFieldUpdateOperationsInput | number totalSize?: IntFieldUpdateOperationsInput | number lastIndexed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string documents?: DocumentUncheckedUpdateManyWithoutProjectNestedInput } export type ProjectCreateManyInput = { id?: string projectId: string path: string documentCount?: number totalSize?: number lastIndexed?: Date | string | null createdAt?: Date | string updatedAt?: Date | string } export type ProjectUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string path?: StringFieldUpdateOperationsInput | string documentCount?: IntFieldUpdateOperationsInput | number totalSize?: IntFieldUpdateOperationsInput | number lastIndexed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ProjectUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string path?: StringFieldUpdateOperationsInput | string documentCount?: IntFieldUpdateOperationsInput | number totalSize?: IntFieldUpdateOperationsInput | number lastIndexed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type DocumentCreateInput = { id?: string filePath: string fileType?: string | null size?: number indexedAt: Date | string project: ProjectCreateNestedOneWithoutDocumentsInput } export type DocumentUncheckedCreateInput = { id?: string projectId: string filePath: string fileType?: string | null size?: number indexedAt: Date | string } export type DocumentUpdateInput = { id?: StringFieldUpdateOperationsInput | string filePath?: StringFieldUpdateOperationsInput | string fileType?: NullableStringFieldUpdateOperationsInput | string | null size?: IntFieldUpdateOperationsInput | number indexedAt?: DateTimeFieldUpdateOperationsInput | Date | string project?: ProjectUpdateOneRequiredWithoutDocumentsNestedInput } export type DocumentUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string filePath?: StringFieldUpdateOperationsInput | string fileType?: NullableStringFieldUpdateOperationsInput | string | null size?: IntFieldUpdateOperationsInput | number indexedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type DocumentCreateManyInput = { id?: string projectId: string filePath: string fileType?: string | null size?: number indexedAt: Date | string } export type DocumentUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string filePath?: StringFieldUpdateOperationsInput | string fileType?: NullableStringFieldUpdateOperationsInput | string | null size?: IntFieldUpdateOperationsInput | number indexedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type DocumentUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string filePath?: StringFieldUpdateOperationsInput | string fileType?: NullableStringFieldUpdateOperationsInput | string | null size?: IntFieldUpdateOperationsInput | number indexedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type SearchQueryCreateInput = { id?: string query: string projectId?: string | null resultsCount?: number duration: number cacheHit?: boolean timestamp?: Date | string } export type SearchQueryUncheckedCreateInput = { id?: string query: string projectId?: string | null resultsCount?: number duration: number cacheHit?: boolean timestamp?: Date | string } export type SearchQueryUpdateInput = { id?: StringFieldUpdateOperationsInput | string query?: StringFieldUpdateOperationsInput | string projectId?: NullableStringFieldUpdateOperationsInput | string | null resultsCount?: IntFieldUpdateOperationsInput | number duration?: IntFieldUpdateOperationsInput | number cacheHit?: BoolFieldUpdateOperationsInput | boolean timestamp?: DateTimeFieldUpdateOperationsInput | Date | string } export type SearchQueryUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string query?: StringFieldUpdateOperationsInput | string projectId?: NullableStringFieldUpdateOperationsInput | string | null resultsCount?: IntFieldUpdateOperationsInput | number duration?: IntFieldUpdateOperationsInput | number cacheHit?: BoolFieldUpdateOperationsInput | boolean timestamp?: DateTimeFieldUpdateOperationsInput | Date | string } export type SearchQueryCreateManyInput = { id?: string query: string projectId?: string | null resultsCount?: number duration: number cacheHit?: boolean timestamp?: Date | string } export type SearchQueryUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string query?: StringFieldUpdateOperationsInput | string projectId?: NullableStringFieldUpdateOperationsInput | string | null resultsCount?: IntFieldUpdateOperationsInput | number duration?: IntFieldUpdateOperationsInput | number cacheHit?: BoolFieldUpdateOperationsInput | boolean timestamp?: DateTimeFieldUpdateOperationsInput | Date | string } export type SearchQueryUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string query?: StringFieldUpdateOperationsInput | string projectId?: NullableStringFieldUpdateOperationsInput | string | null resultsCount?: IntFieldUpdateOperationsInput | number duration?: IntFieldUpdateOperationsInput | number cacheHit?: BoolFieldUpdateOperationsInput | boolean timestamp?: DateTimeFieldUpdateOperationsInput | Date | string } export type CacheStatsCreateInput = { id?: string projectId: string queryHash: string hitCount?: number createdAt?: Date | string lastHitAt?: Date | string } export type CacheStatsUncheckedCreateInput = { id?: string projectId: string queryHash: string hitCount?: number createdAt?: Date | string lastHitAt?: Date | string } export type CacheStatsUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string queryHash?: StringFieldUpdateOperationsInput | string hitCount?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string lastHitAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type CacheStatsUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string queryHash?: StringFieldUpdateOperationsInput | string hitCount?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string lastHitAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type CacheStatsCreateManyInput = { id?: string projectId: string queryHash: string hitCount?: number createdAt?: Date | string lastHitAt?: Date | string } export type CacheStatsUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string queryHash?: StringFieldUpdateOperationsInput | string hitCount?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string lastHitAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type CacheStatsUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string queryHash?: StringFieldUpdateOperationsInput | string hitCount?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string lastHitAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type WorkspaceCreateInput = { projectPath: string displayName?: string | null status?: string lastIndexedAt?: Date | string | null lastError?: string | null filesCount?: number chunksCount?: number symbolsCount?: number graphLeaseToken?: string | null graphLeaseExpiresAt?: Date | string | null graphLeaseHeartbeatAt?: Date | string | null activeFilesCount?: number activeDefinitionsCount?: number activeReferencesCount?: number activeImportsCount?: number activeCentralityCount?: number activeDiagnosticsCount?: number activeRecoveredCount?: number activeHardFailuresCount?: number activeStaleFilesCount?: number createdAt?: Date | string updatedAt?: Date | string files?: SymbolFileCreateNestedManyWithoutWorkspaceInput definitions?: SymbolDefinitionCreateNestedManyWithoutWorkspaceInput references?: SymbolReferenceCreateNestedManyWithoutWorkspaceInput imports?: SymbolImportCreateNestedManyWithoutWorkspaceInput centralities?: SymbolCentralityCreateNestedManyWithoutWorkspaceInput graphGenerations?: GraphGenerationCreateNestedManyWithoutWorkspaceInput activeGraphGeneration?: GraphGenerationCreateNestedOneWithoutActiveForWorkspacesInput pendingGraphGeneration?: GraphGenerationCreateNestedOneWithoutPendingForWorkspacesInput } export type WorkspaceUncheckedCreateInput = { projectId: string projectPath: string displayName?: string | null status?: string lastIndexedAt?: Date | string | null lastError?: string | null filesCount?: number chunksCount?: number symbolsCount?: number activeGraphGenerationId?: string | null pendingGraphGenerationId?: string | null graphLeaseToken?: string | null graphLeaseExpiresAt?: Date | string | null graphLeaseHeartbeatAt?: Date | string | null activeFilesCount?: number activeDefinitionsCount?: number activeReferencesCount?: number activeImportsCount?: number activeCentralityCount?: number activeDiagnosticsCount?: number activeRecoveredCount?: number activeHardFailuresCount?: number activeStaleFilesCount?: number createdAt?: Date | string updatedAt?: Date | string files?: SymbolFileUncheckedCreateNestedManyWithoutWorkspaceInput definitions?: SymbolDefinitionUncheckedCreateNestedManyWithoutWorkspaceInput references?: SymbolReferenceUncheckedCreateNestedManyWithoutWorkspaceInput imports?: SymbolImportUncheckedCreateNestedManyWithoutWorkspaceInput centralities?: SymbolCentralityUncheckedCreateNestedManyWithoutWorkspaceInput graphGenerations?: GraphGenerationUncheckedCreateNestedManyWithoutWorkspaceInput } export type WorkspaceUpdateInput = { projectPath?: StringFieldUpdateOperationsInput | string displayName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string lastIndexedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastError?: NullableStringFieldUpdateOperationsInput | string | null filesCount?: IntFieldUpdateOperationsInput | number chunksCount?: IntFieldUpdateOperationsInput | number symbolsCount?: IntFieldUpdateOperationsInput | number graphLeaseToken?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null graphLeaseHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activeFilesCount?: IntFieldUpdateOperationsInput | number activeDefinitionsCount?: IntFieldUpdateOperationsInput | number activeReferencesCount?: IntFieldUpdateOperationsInput | number activeImportsCount?: IntFieldUpdateOperationsInput | number activeCentralityCount?: IntFieldUpdateOperationsInput | number activeDiagnosticsCount?: IntFieldUpdateOperationsInput | number activeRecoveredCount?: IntFieldUpdateOperationsInput | number activeHardFailuresCount?: IntFieldUpdateOperationsInput | number activeStaleFilesCount?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string files?: SymbolFileUpdateManyWithoutWorkspaceNestedInput definitions?: SymbolDefinitionUpdateManyWithoutWorkspaceNestedInput references?: SymbolReferenceUpdateManyWithoutWorkspaceNestedInput imports?: SymbolImportUpdateManyWithoutWorkspaceNestedInput centralities?: SymbolCentralityUpdateManyWithoutWorkspaceNestedInput graphGenerations?: GraphGenerationUpdateManyWithoutWorkspaceNestedInput activeGraphGeneration?: GraphGenerationUpdateOneWithoutActiveForWorkspacesNestedInput pendingGraphGeneration?: GraphGenerationUpdateOneWithoutPendingForWorkspacesNestedInput } export type WorkspaceUncheckedUpdateInput = { projectId?: StringFieldUpdateOperationsInput | string projectPath?: StringFieldUpdateOperationsInput | string displayName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string lastIndexedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastError?: NullableStringFieldUpdateOperationsInput | string | null filesCount?: IntFieldUpdateOperationsInput | number chunksCount?: IntFieldUpdateOperationsInput | number symbolsCount?: IntFieldUpdateOperationsInput | number activeGraphGenerationId?: NullableStringFieldUpdateOperationsInput | string | null pendingGraphGenerationId?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseToken?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null graphLeaseHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activeFilesCount?: IntFieldUpdateOperationsInput | number activeDefinitionsCount?: IntFieldUpdateOperationsInput | number activeReferencesCount?: IntFieldUpdateOperationsInput | number activeImportsCount?: IntFieldUpdateOperationsInput | number activeCentralityCount?: IntFieldUpdateOperationsInput | number activeDiagnosticsCount?: IntFieldUpdateOperationsInput | number activeRecoveredCount?: IntFieldUpdateOperationsInput | number activeHardFailuresCount?: IntFieldUpdateOperationsInput | number activeStaleFilesCount?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string files?: SymbolFileUncheckedUpdateManyWithoutWorkspaceNestedInput definitions?: SymbolDefinitionUncheckedUpdateManyWithoutWorkspaceNestedInput references?: SymbolReferenceUncheckedUpdateManyWithoutWorkspaceNestedInput imports?: SymbolImportUncheckedUpdateManyWithoutWorkspaceNestedInput centralities?: SymbolCentralityUncheckedUpdateManyWithoutWorkspaceNestedInput graphGenerations?: GraphGenerationUncheckedUpdateManyWithoutWorkspaceNestedInput } export type WorkspaceCreateManyInput = { projectId: string projectPath: string displayName?: string | null status?: string lastIndexedAt?: Date | string | null lastError?: string | null filesCount?: number chunksCount?: number symbolsCount?: number activeGraphGenerationId?: string | null pendingGraphGenerationId?: string | null graphLeaseToken?: string | null graphLeaseExpiresAt?: Date | string | null graphLeaseHeartbeatAt?: Date | string | null activeFilesCount?: number activeDefinitionsCount?: number activeReferencesCount?: number activeImportsCount?: number activeCentralityCount?: number activeDiagnosticsCount?: number activeRecoveredCount?: number activeHardFailuresCount?: number activeStaleFilesCount?: number createdAt?: Date | string updatedAt?: Date | string } export type WorkspaceUpdateManyMutationInput = { projectPath?: StringFieldUpdateOperationsInput | string displayName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string lastIndexedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastError?: NullableStringFieldUpdateOperationsInput | string | null filesCount?: IntFieldUpdateOperationsInput | number chunksCount?: IntFieldUpdateOperationsInput | number symbolsCount?: IntFieldUpdateOperationsInput | number graphLeaseToken?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null graphLeaseHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activeFilesCount?: IntFieldUpdateOperationsInput | number activeDefinitionsCount?: IntFieldUpdateOperationsInput | number activeReferencesCount?: IntFieldUpdateOperationsInput | number activeImportsCount?: IntFieldUpdateOperationsInput | number activeCentralityCount?: IntFieldUpdateOperationsInput | number activeDiagnosticsCount?: IntFieldUpdateOperationsInput | number activeRecoveredCount?: IntFieldUpdateOperationsInput | number activeHardFailuresCount?: IntFieldUpdateOperationsInput | number activeStaleFilesCount?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type WorkspaceUncheckedUpdateManyInput = { projectId?: StringFieldUpdateOperationsInput | string projectPath?: StringFieldUpdateOperationsInput | string displayName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string lastIndexedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastError?: NullableStringFieldUpdateOperationsInput | string | null filesCount?: IntFieldUpdateOperationsInput | number chunksCount?: IntFieldUpdateOperationsInput | number symbolsCount?: IntFieldUpdateOperationsInput | number activeGraphGenerationId?: NullableStringFieldUpdateOperationsInput | string | null pendingGraphGenerationId?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseToken?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null graphLeaseHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activeFilesCount?: IntFieldUpdateOperationsInput | number activeDefinitionsCount?: IntFieldUpdateOperationsInput | number activeReferencesCount?: IntFieldUpdateOperationsInput | number activeImportsCount?: IntFieldUpdateOperationsInput | number activeCentralityCount?: IntFieldUpdateOperationsInput | number activeDiagnosticsCount?: IntFieldUpdateOperationsInput | number activeRecoveredCount?: IntFieldUpdateOperationsInput | number activeHardFailuresCount?: IntFieldUpdateOperationsInput | number activeStaleFilesCount?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type GraphGenerationCreateInput = { id: string status?: string fingerprint: string inputSnapshotHash: string expectedActiveId?: string | null leaseToken?: string | null leaseExpiresAt?: Date | string | null expectedFilesCount?: number completedFilesCount?: number filesCount?: number definitionsCount?: number referencesCount?: number importsCount?: number centralityCount?: number diagnosticsCount?: number recoveredCount?: number hardFailuresCount?: number staleFilesCount?: number failureReason?: string | null startedAt?: Date | string completedAt?: Date | string | null activatedAt?: Date | string | null supersededAt?: Date | string | null workspace: WorkspaceCreateNestedOneWithoutGraphGenerationsInput files?: SymbolFileCreateNestedManyWithoutGenerationInput definitions?: SymbolDefinitionCreateNestedManyWithoutGenerationInput references?: SymbolReferenceCreateNestedManyWithoutGenerationInput imports?: SymbolImportCreateNestedManyWithoutGenerationInput centralities?: SymbolCentralityCreateNestedManyWithoutGenerationInput activeForWorkspaces?: WorkspaceCreateNestedManyWithoutActiveGraphGenerationInput pendingForWorkspaces?: WorkspaceCreateNestedManyWithoutPendingGraphGenerationInput } export type GraphGenerationUncheckedCreateInput = { id: string projectId: string status?: string fingerprint: string inputSnapshotHash: string expectedActiveId?: string | null leaseToken?: string | null leaseExpiresAt?: Date | string | null expectedFilesCount?: number completedFilesCount?: number filesCount?: number definitionsCount?: number referencesCount?: number importsCount?: number centralityCount?: number diagnosticsCount?: number recoveredCount?: number hardFailuresCount?: number staleFilesCount?: number failureReason?: string | null startedAt?: Date | string completedAt?: Date | string | null activatedAt?: Date | string | null supersededAt?: Date | string | null files?: SymbolFileUncheckedCreateNestedManyWithoutGenerationInput definitions?: SymbolDefinitionUncheckedCreateNestedManyWithoutGenerationInput references?: SymbolReferenceUncheckedCreateNestedManyWithoutGenerationInput imports?: SymbolImportUncheckedCreateNestedManyWithoutGenerationInput centralities?: SymbolCentralityUncheckedCreateNestedManyWithoutGenerationInput activeForWorkspaces?: WorkspaceUncheckedCreateNestedManyWithoutActiveGraphGenerationInput pendingForWorkspaces?: WorkspaceUncheckedCreateNestedManyWithoutPendingGraphGenerationInput } export type GraphGenerationUpdateInput = { id?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string fingerprint?: StringFieldUpdateOperationsInput | string inputSnapshotHash?: StringFieldUpdateOperationsInput | string expectedActiveId?: NullableStringFieldUpdateOperationsInput | string | null leaseToken?: NullableStringFieldUpdateOperationsInput | string | null leaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expectedFilesCount?: IntFieldUpdateOperationsInput | number completedFilesCount?: IntFieldUpdateOperationsInput | number filesCount?: IntFieldUpdateOperationsInput | number definitionsCount?: IntFieldUpdateOperationsInput | number referencesCount?: IntFieldUpdateOperationsInput | number importsCount?: IntFieldUpdateOperationsInput | number centralityCount?: IntFieldUpdateOperationsInput | number diagnosticsCount?: IntFieldUpdateOperationsInput | number recoveredCount?: IntFieldUpdateOperationsInput | number hardFailuresCount?: IntFieldUpdateOperationsInput | number staleFilesCount?: IntFieldUpdateOperationsInput | number failureReason?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null supersededAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null workspace?: WorkspaceUpdateOneRequiredWithoutGraphGenerationsNestedInput files?: SymbolFileUpdateManyWithoutGenerationNestedInput definitions?: SymbolDefinitionUpdateManyWithoutGenerationNestedInput references?: SymbolReferenceUpdateManyWithoutGenerationNestedInput imports?: SymbolImportUpdateManyWithoutGenerationNestedInput centralities?: SymbolCentralityUpdateManyWithoutGenerationNestedInput activeForWorkspaces?: WorkspaceUpdateManyWithoutActiveGraphGenerationNestedInput pendingForWorkspaces?: WorkspaceUpdateManyWithoutPendingGraphGenerationNestedInput } export type GraphGenerationUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string fingerprint?: StringFieldUpdateOperationsInput | string inputSnapshotHash?: StringFieldUpdateOperationsInput | string expectedActiveId?: NullableStringFieldUpdateOperationsInput | string | null leaseToken?: NullableStringFieldUpdateOperationsInput | string | null leaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expectedFilesCount?: IntFieldUpdateOperationsInput | number completedFilesCount?: IntFieldUpdateOperationsInput | number filesCount?: IntFieldUpdateOperationsInput | number definitionsCount?: IntFieldUpdateOperationsInput | number referencesCount?: IntFieldUpdateOperationsInput | number importsCount?: IntFieldUpdateOperationsInput | number centralityCount?: IntFieldUpdateOperationsInput | number diagnosticsCount?: IntFieldUpdateOperationsInput | number recoveredCount?: IntFieldUpdateOperationsInput | number hardFailuresCount?: IntFieldUpdateOperationsInput | number staleFilesCount?: IntFieldUpdateOperationsInput | number failureReason?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null supersededAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null files?: SymbolFileUncheckedUpdateManyWithoutGenerationNestedInput definitions?: SymbolDefinitionUncheckedUpdateManyWithoutGenerationNestedInput references?: SymbolReferenceUncheckedUpdateManyWithoutGenerationNestedInput imports?: SymbolImportUncheckedUpdateManyWithoutGenerationNestedInput centralities?: SymbolCentralityUncheckedUpdateManyWithoutGenerationNestedInput activeForWorkspaces?: WorkspaceUncheckedUpdateManyWithoutActiveGraphGenerationNestedInput pendingForWorkspaces?: WorkspaceUncheckedUpdateManyWithoutPendingGraphGenerationNestedInput } export type GraphGenerationCreateManyInput = { id: string projectId: string status?: string fingerprint: string inputSnapshotHash: string expectedActiveId?: string | null leaseToken?: string | null leaseExpiresAt?: Date | string | null expectedFilesCount?: number completedFilesCount?: number filesCount?: number definitionsCount?: number referencesCount?: number importsCount?: number centralityCount?: number diagnosticsCount?: number recoveredCount?: number hardFailuresCount?: number staleFilesCount?: number failureReason?: string | null startedAt?: Date | string completedAt?: Date | string | null activatedAt?: Date | string | null supersededAt?: Date | string | null } export type GraphGenerationUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string fingerprint?: StringFieldUpdateOperationsInput | string inputSnapshotHash?: StringFieldUpdateOperationsInput | string expectedActiveId?: NullableStringFieldUpdateOperationsInput | string | null leaseToken?: NullableStringFieldUpdateOperationsInput | string | null leaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expectedFilesCount?: IntFieldUpdateOperationsInput | number completedFilesCount?: IntFieldUpdateOperationsInput | number filesCount?: IntFieldUpdateOperationsInput | number definitionsCount?: IntFieldUpdateOperationsInput | number referencesCount?: IntFieldUpdateOperationsInput | number importsCount?: IntFieldUpdateOperationsInput | number centralityCount?: IntFieldUpdateOperationsInput | number diagnosticsCount?: IntFieldUpdateOperationsInput | number recoveredCount?: IntFieldUpdateOperationsInput | number hardFailuresCount?: IntFieldUpdateOperationsInput | number staleFilesCount?: IntFieldUpdateOperationsInput | number failureReason?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null supersededAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type GraphGenerationUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string fingerprint?: StringFieldUpdateOperationsInput | string inputSnapshotHash?: StringFieldUpdateOperationsInput | string expectedActiveId?: NullableStringFieldUpdateOperationsInput | string | null leaseToken?: NullableStringFieldUpdateOperationsInput | string | null leaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expectedFilesCount?: IntFieldUpdateOperationsInput | number completedFilesCount?: IntFieldUpdateOperationsInput | number filesCount?: IntFieldUpdateOperationsInput | number definitionsCount?: IntFieldUpdateOperationsInput | number referencesCount?: IntFieldUpdateOperationsInput | number importsCount?: IntFieldUpdateOperationsInput | number centralityCount?: IntFieldUpdateOperationsInput | number diagnosticsCount?: IntFieldUpdateOperationsInput | number recoveredCount?: IntFieldUpdateOperationsInput | number hardFailuresCount?: IntFieldUpdateOperationsInput | number staleFilesCount?: IntFieldUpdateOperationsInput | number failureReason?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null supersededAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type SymbolFileCreateInput = { relativePath: string contentHash: string mtime: bigint | number size?: number indexedAt: Date | string symbolCount?: number chunkCount?: number language?: string | null dialect?: string | null grammarVersion?: string | null queryPackVersion?: string | null resolverVersion?: string | null parserStatus?: string parserErrorCount?: number diagnostics?: JsonNullValueInput | InputJsonValue isStale?: boolean lastKnownGoodGenerationId?: string | null lastSuccessfulAt?: Date | string | null workspace: WorkspaceCreateNestedOneWithoutFilesInput generation: GraphGenerationCreateNestedOneWithoutFilesInput } export type SymbolFileUncheckedCreateInput = { projectId: string generationId: string relativePath: string contentHash: string mtime: bigint | number size?: number indexedAt: Date | string symbolCount?: number chunkCount?: number language?: string | null dialect?: string | null grammarVersion?: string | null queryPackVersion?: string | null resolverVersion?: string | null parserStatus?: string parserErrorCount?: number diagnostics?: JsonNullValueInput | InputJsonValue isStale?: boolean lastKnownGoodGenerationId?: string | null lastSuccessfulAt?: Date | string | null } export type SymbolFileUpdateInput = { relativePath?: StringFieldUpdateOperationsInput | string contentHash?: StringFieldUpdateOperationsInput | string mtime?: BigIntFieldUpdateOperationsInput | bigint | number size?: IntFieldUpdateOperationsInput | number indexedAt?: DateTimeFieldUpdateOperationsInput | Date | string symbolCount?: IntFieldUpdateOperationsInput | number chunkCount?: IntFieldUpdateOperationsInput | number language?: NullableStringFieldUpdateOperationsInput | string | null dialect?: NullableStringFieldUpdateOperationsInput | string | null grammarVersion?: NullableStringFieldUpdateOperationsInput | string | null queryPackVersion?: NullableStringFieldUpdateOperationsInput | string | null resolverVersion?: NullableStringFieldUpdateOperationsInput | string | null parserStatus?: StringFieldUpdateOperationsInput | string parserErrorCount?: IntFieldUpdateOperationsInput | number diagnostics?: JsonNullValueInput | InputJsonValue isStale?: BoolFieldUpdateOperationsInput | boolean lastKnownGoodGenerationId?: NullableStringFieldUpdateOperationsInput | string | null lastSuccessfulAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null workspace?: WorkspaceUpdateOneRequiredWithoutFilesNestedInput generation?: GraphGenerationUpdateOneRequiredWithoutFilesNestedInput } export type SymbolFileUncheckedUpdateInput = { projectId?: StringFieldUpdateOperationsInput | string generationId?: StringFieldUpdateOperationsInput | string relativePath?: StringFieldUpdateOperationsInput | string contentHash?: StringFieldUpdateOperationsInput | string mtime?: BigIntFieldUpdateOperationsInput | bigint | number size?: IntFieldUpdateOperationsInput | number indexedAt?: DateTimeFieldUpdateOperationsInput | Date | string symbolCount?: IntFieldUpdateOperationsInput | number chunkCount?: IntFieldUpdateOperationsInput | number language?: NullableStringFieldUpdateOperationsInput | string | null dialect?: NullableStringFieldUpdateOperationsInput | string | null grammarVersion?: NullableStringFieldUpdateOperationsInput | string | null queryPackVersion?: NullableStringFieldUpdateOperationsInput | string | null resolverVersion?: NullableStringFieldUpdateOperationsInput | string | null parserStatus?: StringFieldUpdateOperationsInput | string parserErrorCount?: IntFieldUpdateOperationsInput | number diagnostics?: JsonNullValueInput | InputJsonValue isStale?: BoolFieldUpdateOperationsInput | boolean lastKnownGoodGenerationId?: NullableStringFieldUpdateOperationsInput | string | null lastSuccessfulAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type SymbolFileCreateManyInput = { projectId: string generationId: string relativePath: string contentHash: string mtime: bigint | number size?: number indexedAt: Date | string symbolCount?: number chunkCount?: number language?: string | null dialect?: string | null grammarVersion?: string | null queryPackVersion?: string | null resolverVersion?: string | null parserStatus?: string parserErrorCount?: number diagnostics?: JsonNullValueInput | InputJsonValue isStale?: boolean lastKnownGoodGenerationId?: string | null lastSuccessfulAt?: Date | string | null } export type SymbolFileUpdateManyMutationInput = { relativePath?: StringFieldUpdateOperationsInput | string contentHash?: StringFieldUpdateOperationsInput | string mtime?: BigIntFieldUpdateOperationsInput | bigint | number size?: IntFieldUpdateOperationsInput | number indexedAt?: DateTimeFieldUpdateOperationsInput | Date | string symbolCount?: IntFieldUpdateOperationsInput | number chunkCount?: IntFieldUpdateOperationsInput | number language?: NullableStringFieldUpdateOperationsInput | string | null dialect?: NullableStringFieldUpdateOperationsInput | string | null grammarVersion?: NullableStringFieldUpdateOperationsInput | string | null queryPackVersion?: NullableStringFieldUpdateOperationsInput | string | null resolverVersion?: NullableStringFieldUpdateOperationsInput | string | null parserStatus?: StringFieldUpdateOperationsInput | string parserErrorCount?: IntFieldUpdateOperationsInput | number diagnostics?: JsonNullValueInput | InputJsonValue isStale?: BoolFieldUpdateOperationsInput | boolean lastKnownGoodGenerationId?: NullableStringFieldUpdateOperationsInput | string | null lastSuccessfulAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type SymbolFileUncheckedUpdateManyInput = { projectId?: StringFieldUpdateOperationsInput | string generationId?: StringFieldUpdateOperationsInput | string relativePath?: StringFieldUpdateOperationsInput | string contentHash?: StringFieldUpdateOperationsInput | string mtime?: BigIntFieldUpdateOperationsInput | bigint | number size?: IntFieldUpdateOperationsInput | number indexedAt?: DateTimeFieldUpdateOperationsInput | Date | string symbolCount?: IntFieldUpdateOperationsInput | number chunkCount?: IntFieldUpdateOperationsInput | number language?: NullableStringFieldUpdateOperationsInput | string | null dialect?: NullableStringFieldUpdateOperationsInput | string | null grammarVersion?: NullableStringFieldUpdateOperationsInput | string | null queryPackVersion?: NullableStringFieldUpdateOperationsInput | string | null resolverVersion?: NullableStringFieldUpdateOperationsInput | string | null parserStatus?: StringFieldUpdateOperationsInput | string parserErrorCount?: IntFieldUpdateOperationsInput | number diagnostics?: JsonNullValueInput | InputJsonValue isStale?: BoolFieldUpdateOperationsInput | boolean lastKnownGoodGenerationId?: NullableStringFieldUpdateOperationsInput | string | null lastSuccessfulAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type SymbolDefinitionCreateInput = { id: string filePath: string name: string kind: string lineStart: number lineEnd: number exported?: boolean docComment?: string | null indexedAt: Date | string qualifiedName: string canonicalSignature?: string | null signatureHash?: string | null legacyFqn: string sourceSpan?: NullableJsonNullValueInput | InputJsonValue workspace: WorkspaceCreateNestedOneWithoutDefinitionsInput generation: GraphGenerationCreateNestedOneWithoutDefinitionsInput } export type SymbolDefinitionUncheckedCreateInput = { id: string projectId: string generationId: string filePath: string name: string kind: string lineStart: number lineEnd: number exported?: boolean docComment?: string | null indexedAt: Date | string qualifiedName: string canonicalSignature?: string | null signatureHash?: string | null legacyFqn: string sourceSpan?: NullableJsonNullValueInput | InputJsonValue } export type SymbolDefinitionUpdateInput = { id?: StringFieldUpdateOperationsInput | string filePath?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string kind?: StringFieldUpdateOperationsInput | string lineStart?: IntFieldUpdateOperationsInput | number lineEnd?: IntFieldUpdateOperationsInput | number exported?: BoolFieldUpdateOperationsInput | boolean docComment?: NullableStringFieldUpdateOperationsInput | string | null indexedAt?: DateTimeFieldUpdateOperationsInput | Date | string qualifiedName?: StringFieldUpdateOperationsInput | string canonicalSignature?: NullableStringFieldUpdateOperationsInput | string | null signatureHash?: NullableStringFieldUpdateOperationsInput | string | null legacyFqn?: StringFieldUpdateOperationsInput | string sourceSpan?: NullableJsonNullValueInput | InputJsonValue workspace?: WorkspaceUpdateOneRequiredWithoutDefinitionsNestedInput generation?: GraphGenerationUpdateOneRequiredWithoutDefinitionsNestedInput } export type SymbolDefinitionUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string generationId?: StringFieldUpdateOperationsInput | string filePath?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string kind?: StringFieldUpdateOperationsInput | string lineStart?: IntFieldUpdateOperationsInput | number lineEnd?: IntFieldUpdateOperationsInput | number exported?: BoolFieldUpdateOperationsInput | boolean docComment?: NullableStringFieldUpdateOperationsInput | string | null indexedAt?: DateTimeFieldUpdateOperationsInput | Date | string qualifiedName?: StringFieldUpdateOperationsInput | string canonicalSignature?: NullableStringFieldUpdateOperationsInput | string | null signatureHash?: NullableStringFieldUpdateOperationsInput | string | null legacyFqn?: StringFieldUpdateOperationsInput | string sourceSpan?: NullableJsonNullValueInput | InputJsonValue } export type SymbolDefinitionCreateManyInput = { id: string projectId: string generationId: string filePath: string name: string kind: string lineStart: number lineEnd: number exported?: boolean docComment?: string | null indexedAt: Date | string qualifiedName: string canonicalSignature?: string | null signatureHash?: string | null legacyFqn: string sourceSpan?: NullableJsonNullValueInput | InputJsonValue } export type SymbolDefinitionUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string filePath?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string kind?: StringFieldUpdateOperationsInput | string lineStart?: IntFieldUpdateOperationsInput | number lineEnd?: IntFieldUpdateOperationsInput | number exported?: BoolFieldUpdateOperationsInput | boolean docComment?: NullableStringFieldUpdateOperationsInput | string | null indexedAt?: DateTimeFieldUpdateOperationsInput | Date | string qualifiedName?: StringFieldUpdateOperationsInput | string canonicalSignature?: NullableStringFieldUpdateOperationsInput | string | null signatureHash?: NullableStringFieldUpdateOperationsInput | string | null legacyFqn?: StringFieldUpdateOperationsInput | string sourceSpan?: NullableJsonNullValueInput | InputJsonValue } export type SymbolDefinitionUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string generationId?: StringFieldUpdateOperationsInput | string filePath?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string kind?: StringFieldUpdateOperationsInput | string lineStart?: IntFieldUpdateOperationsInput | number lineEnd?: IntFieldUpdateOperationsInput | number exported?: BoolFieldUpdateOperationsInput | boolean docComment?: NullableStringFieldUpdateOperationsInput | string | null indexedAt?: DateTimeFieldUpdateOperationsInput | Date | string qualifiedName?: StringFieldUpdateOperationsInput | string canonicalSignature?: NullableStringFieldUpdateOperationsInput | string | null signatureHash?: NullableStringFieldUpdateOperationsInput | string | null legacyFqn?: StringFieldUpdateOperationsInput | string sourceSpan?: NullableJsonNullValueInput | InputJsonValue } export type SymbolReferenceCreateInput = { fromFile: string fromLine: number symbolName: string targetFqn?: string | null refKind: string meta?: NullableJsonNullValueInput | InputJsonValue sourceSpan?: NullableJsonNullValueInput | InputJsonValue workspace: WorkspaceCreateNestedOneWithoutReferencesInput generation: GraphGenerationCreateNestedOneWithoutReferencesInput } export type SymbolReferenceUncheckedCreateInput = { id?: number projectId: string generationId: string fromFile: string fromLine: number symbolName: string targetFqn?: string | null refKind: string meta?: NullableJsonNullValueInput | InputJsonValue sourceSpan?: NullableJsonNullValueInput | InputJsonValue } export type SymbolReferenceUpdateInput = { fromFile?: StringFieldUpdateOperationsInput | string fromLine?: IntFieldUpdateOperationsInput | number symbolName?: StringFieldUpdateOperationsInput | string targetFqn?: NullableStringFieldUpdateOperationsInput | string | null refKind?: StringFieldUpdateOperationsInput | string meta?: NullableJsonNullValueInput | InputJsonValue sourceSpan?: NullableJsonNullValueInput | InputJsonValue workspace?: WorkspaceUpdateOneRequiredWithoutReferencesNestedInput generation?: GraphGenerationUpdateOneRequiredWithoutReferencesNestedInput } export type SymbolReferenceUncheckedUpdateInput = { id?: IntFieldUpdateOperationsInput | number projectId?: StringFieldUpdateOperationsInput | string generationId?: StringFieldUpdateOperationsInput | string fromFile?: StringFieldUpdateOperationsInput | string fromLine?: IntFieldUpdateOperationsInput | number symbolName?: StringFieldUpdateOperationsInput | string targetFqn?: NullableStringFieldUpdateOperationsInput | string | null refKind?: StringFieldUpdateOperationsInput | string meta?: NullableJsonNullValueInput | InputJsonValue sourceSpan?: NullableJsonNullValueInput | InputJsonValue } export type SymbolReferenceCreateManyInput = { id?: number projectId: string generationId: string fromFile: string fromLine: number symbolName: string targetFqn?: string | null refKind: string meta?: NullableJsonNullValueInput | InputJsonValue sourceSpan?: NullableJsonNullValueInput | InputJsonValue } export type SymbolReferenceUpdateManyMutationInput = { fromFile?: StringFieldUpdateOperationsInput | string fromLine?: IntFieldUpdateOperationsInput | number symbolName?: StringFieldUpdateOperationsInput | string targetFqn?: NullableStringFieldUpdateOperationsInput | string | null refKind?: StringFieldUpdateOperationsInput | string meta?: NullableJsonNullValueInput | InputJsonValue sourceSpan?: NullableJsonNullValueInput | InputJsonValue } export type SymbolReferenceUncheckedUpdateManyInput = { id?: IntFieldUpdateOperationsInput | number projectId?: StringFieldUpdateOperationsInput | string generationId?: StringFieldUpdateOperationsInput | string fromFile?: StringFieldUpdateOperationsInput | string fromLine?: IntFieldUpdateOperationsInput | number symbolName?: StringFieldUpdateOperationsInput | string targetFqn?: NullableStringFieldUpdateOperationsInput | string | null refKind?: StringFieldUpdateOperationsInput | string meta?: NullableJsonNullValueInput | InputJsonValue sourceSpan?: NullableJsonNullValueInput | InputJsonValue } export type SymbolImportCreateInput = { fromFile: string toFile?: string | null specifier: string importedNames?: SymbolImportCreateimportedNamesInput | string[] isExternal?: boolean isTypeOnly?: boolean workspace: WorkspaceCreateNestedOneWithoutImportsInput generation: GraphGenerationCreateNestedOneWithoutImportsInput } export type SymbolImportUncheckedCreateInput = { id?: number projectId: string generationId: string fromFile: string toFile?: string | null specifier: string importedNames?: SymbolImportCreateimportedNamesInput | string[] isExternal?: boolean isTypeOnly?: boolean } export type SymbolImportUpdateInput = { fromFile?: StringFieldUpdateOperationsInput | string toFile?: NullableStringFieldUpdateOperationsInput | string | null specifier?: StringFieldUpdateOperationsInput | string importedNames?: SymbolImportUpdateimportedNamesInput | string[] isExternal?: BoolFieldUpdateOperationsInput | boolean isTypeOnly?: BoolFieldUpdateOperationsInput | boolean workspace?: WorkspaceUpdateOneRequiredWithoutImportsNestedInput generation?: GraphGenerationUpdateOneRequiredWithoutImportsNestedInput } export type SymbolImportUncheckedUpdateInput = { id?: IntFieldUpdateOperationsInput | number projectId?: StringFieldUpdateOperationsInput | string generationId?: StringFieldUpdateOperationsInput | string fromFile?: StringFieldUpdateOperationsInput | string toFile?: NullableStringFieldUpdateOperationsInput | string | null specifier?: StringFieldUpdateOperationsInput | string importedNames?: SymbolImportUpdateimportedNamesInput | string[] isExternal?: BoolFieldUpdateOperationsInput | boolean isTypeOnly?: BoolFieldUpdateOperationsInput | boolean } export type SymbolImportCreateManyInput = { id?: number projectId: string generationId: string fromFile: string toFile?: string | null specifier: string importedNames?: SymbolImportCreateimportedNamesInput | string[] isExternal?: boolean isTypeOnly?: boolean } export type SymbolImportUpdateManyMutationInput = { fromFile?: StringFieldUpdateOperationsInput | string toFile?: NullableStringFieldUpdateOperationsInput | string | null specifier?: StringFieldUpdateOperationsInput | string importedNames?: SymbolImportUpdateimportedNamesInput | string[] isExternal?: BoolFieldUpdateOperationsInput | boolean isTypeOnly?: BoolFieldUpdateOperationsInput | boolean } export type SymbolImportUncheckedUpdateManyInput = { id?: IntFieldUpdateOperationsInput | number projectId?: StringFieldUpdateOperationsInput | string generationId?: StringFieldUpdateOperationsInput | string fromFile?: StringFieldUpdateOperationsInput | string toFile?: NullableStringFieldUpdateOperationsInput | string | null specifier?: StringFieldUpdateOperationsInput | string importedNames?: SymbolImportUpdateimportedNamesInput | string[] isExternal?: BoolFieldUpdateOperationsInput | boolean isTypeOnly?: BoolFieldUpdateOperationsInput | boolean } export type SymbolCentralityCreateInput = { filePath: string score?: number updatedAt: Date | string workspace: WorkspaceCreateNestedOneWithoutCentralitiesInput generation: GraphGenerationCreateNestedOneWithoutCentralitiesInput } export type SymbolCentralityUncheckedCreateInput = { projectId: string generationId: string filePath: string score?: number updatedAt: Date | string } export type SymbolCentralityUpdateInput = { filePath?: StringFieldUpdateOperationsInput | string score?: FloatFieldUpdateOperationsInput | number updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string workspace?: WorkspaceUpdateOneRequiredWithoutCentralitiesNestedInput generation?: GraphGenerationUpdateOneRequiredWithoutCentralitiesNestedInput } export type SymbolCentralityUncheckedUpdateInput = { projectId?: StringFieldUpdateOperationsInput | string generationId?: StringFieldUpdateOperationsInput | string filePath?: StringFieldUpdateOperationsInput | string score?: FloatFieldUpdateOperationsInput | number updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type SymbolCentralityCreateManyInput = { projectId: string generationId: string filePath: string score?: number updatedAt: Date | string } export type SymbolCentralityUpdateManyMutationInput = { filePath?: StringFieldUpdateOperationsInput | string score?: FloatFieldUpdateOperationsInput | number updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type SymbolCentralityUncheckedUpdateManyInput = { projectId?: StringFieldUpdateOperationsInput | string generationId?: StringFieldUpdateOperationsInput | string filePath?: StringFieldUpdateOperationsInput | string score?: FloatFieldUpdateOperationsInput | number updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type MemoryEdgeCreateInput = { edgeType: string weight?: number metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string fromMemory: MemoryCreateNestedOneWithoutEdgesFromInput toMemory: MemoryCreateNestedOneWithoutEdgesToInput } export type MemoryEdgeUncheckedCreateInput = { id?: number fromId: string toId: string edgeType: string weight?: number metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string } export type MemoryEdgeUpdateInput = { edgeType?: StringFieldUpdateOperationsInput | string weight?: FloatFieldUpdateOperationsInput | number metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string fromMemory?: MemoryUpdateOneRequiredWithoutEdgesFromNestedInput toMemory?: MemoryUpdateOneRequiredWithoutEdgesToNestedInput } export type MemoryEdgeUncheckedUpdateInput = { id?: IntFieldUpdateOperationsInput | number fromId?: StringFieldUpdateOperationsInput | string toId?: StringFieldUpdateOperationsInput | string edgeType?: StringFieldUpdateOperationsInput | string weight?: FloatFieldUpdateOperationsInput | number metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type MemoryEdgeCreateManyInput = { id?: number fromId: string toId: string edgeType: string weight?: number metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string } export type MemoryEdgeUpdateManyMutationInput = { edgeType?: StringFieldUpdateOperationsInput | string weight?: FloatFieldUpdateOperationsInput | number metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type MemoryEdgeUncheckedUpdateManyInput = { id?: IntFieldUpdateOperationsInput | number fromId?: StringFieldUpdateOperationsInput | string toId?: StringFieldUpdateOperationsInput | string edgeType?: StringFieldUpdateOperationsInput | string weight?: FloatFieldUpdateOperationsInput | number metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ObservationCreateInput = { id: string projectId: string sessionId?: string | null source: string category?: string | null payloadJson: string importance: number createdAt?: Date | string } export type ObservationUncheckedCreateInput = { id: string projectId: string sessionId?: string | null source: string category?: string | null payloadJson: string importance: number createdAt?: Date | string } export type ObservationUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string sessionId?: NullableStringFieldUpdateOperationsInput | string | null source?: StringFieldUpdateOperationsInput | string category?: NullableStringFieldUpdateOperationsInput | string | null payloadJson?: StringFieldUpdateOperationsInput | string importance?: FloatFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ObservationUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string sessionId?: NullableStringFieldUpdateOperationsInput | string | null source?: StringFieldUpdateOperationsInput | string category?: NullableStringFieldUpdateOperationsInput | string | null payloadJson?: StringFieldUpdateOperationsInput | string importance?: FloatFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ObservationCreateManyInput = { id: string projectId: string sessionId?: string | null source: string category?: string | null payloadJson: string importance: number createdAt?: Date | string } export type ObservationUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string sessionId?: NullableStringFieldUpdateOperationsInput | string | null source?: StringFieldUpdateOperationsInput | string category?: NullableStringFieldUpdateOperationsInput | string | null payloadJson?: StringFieldUpdateOperationsInput | string importance?: FloatFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ObservationUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string sessionId?: NullableStringFieldUpdateOperationsInput | string | null source?: StringFieldUpdateOperationsInput | string category?: NullableStringFieldUpdateOperationsInput | string | null payloadJson?: StringFieldUpdateOperationsInput | string importance?: FloatFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type HandoffCreateInput = { id: string projectId: string sourceSessionId?: string | null targetAgent?: string | null summary?: string openQuestionsJson?: string nextStepsJson?: string filesJson?: string status?: string createdAt?: Date | string acceptedAt?: Date | string | null } export type HandoffUncheckedCreateInput = { id: string projectId: string sourceSessionId?: string | null targetAgent?: string | null summary?: string openQuestionsJson?: string nextStepsJson?: string filesJson?: string status?: string createdAt?: Date | string acceptedAt?: Date | string | null } export type HandoffUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string sourceSessionId?: NullableStringFieldUpdateOperationsInput | string | null targetAgent?: NullableStringFieldUpdateOperationsInput | string | null summary?: StringFieldUpdateOperationsInput | string openQuestionsJson?: StringFieldUpdateOperationsInput | string nextStepsJson?: StringFieldUpdateOperationsInput | string filesJson?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string acceptedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type HandoffUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string sourceSessionId?: NullableStringFieldUpdateOperationsInput | string | null targetAgent?: NullableStringFieldUpdateOperationsInput | string | null summary?: StringFieldUpdateOperationsInput | string openQuestionsJson?: StringFieldUpdateOperationsInput | string nextStepsJson?: StringFieldUpdateOperationsInput | string filesJson?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string acceptedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type HandoffCreateManyInput = { id: string projectId: string sourceSessionId?: string | null targetAgent?: string | null summary?: string openQuestionsJson?: string nextStepsJson?: string filesJson?: string status?: string createdAt?: Date | string acceptedAt?: Date | string | null } export type HandoffUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string sourceSessionId?: NullableStringFieldUpdateOperationsInput | string | null targetAgent?: NullableStringFieldUpdateOperationsInput | string | null summary?: StringFieldUpdateOperationsInput | string openQuestionsJson?: StringFieldUpdateOperationsInput | string nextStepsJson?: StringFieldUpdateOperationsInput | string filesJson?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string acceptedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type HandoffUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string sourceSessionId?: NullableStringFieldUpdateOperationsInput | string | null targetAgent?: NullableStringFieldUpdateOperationsInput | string | null summary?: StringFieldUpdateOperationsInput | string openQuestionsJson?: StringFieldUpdateOperationsInput | string nextStepsJson?: StringFieldUpdateOperationsInput | string filesJson?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string acceptedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type ProposalCreateInput = { id: string projectId: string kind: string targetMemoryId?: string | null payloadJson: string rationale?: string status?: string createdAt?: Date | string decidedAt?: Date | string | null } export type ProposalUncheckedCreateInput = { id: string projectId: string kind: string targetMemoryId?: string | null payloadJson: string rationale?: string status?: string createdAt?: Date | string decidedAt?: Date | string | null } export type ProposalUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string kind?: StringFieldUpdateOperationsInput | string targetMemoryId?: NullableStringFieldUpdateOperationsInput | string | null payloadJson?: StringFieldUpdateOperationsInput | string rationale?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string decidedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type ProposalUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string kind?: StringFieldUpdateOperationsInput | string targetMemoryId?: NullableStringFieldUpdateOperationsInput | string | null payloadJson?: StringFieldUpdateOperationsInput | string rationale?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string decidedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type ProposalCreateManyInput = { id: string projectId: string kind: string targetMemoryId?: string | null payloadJson: string rationale?: string status?: string createdAt?: Date | string decidedAt?: Date | string | null } export type ProposalUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string kind?: StringFieldUpdateOperationsInput | string targetMemoryId?: NullableStringFieldUpdateOperationsInput | string | null payloadJson?: StringFieldUpdateOperationsInput | string rationale?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string decidedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type ProposalUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string kind?: StringFieldUpdateOperationsInput | string targetMemoryId?: NullableStringFieldUpdateOperationsInput | string | null payloadJson?: StringFieldUpdateOperationsInput | string rationale?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string decidedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type EmbeddingCacheCreateInput = { textHash: string embedding: Bytes model?: string createdAt?: Date | string accessedAt?: Date | string hitCount?: number } export type EmbeddingCacheUncheckedCreateInput = { textHash: string embedding: Bytes model?: string createdAt?: Date | string accessedAt?: Date | string hitCount?: number } export type EmbeddingCacheUpdateInput = { textHash?: StringFieldUpdateOperationsInput | string embedding?: BytesFieldUpdateOperationsInput | Bytes model?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string accessedAt?: DateTimeFieldUpdateOperationsInput | Date | string hitCount?: IntFieldUpdateOperationsInput | number } export type EmbeddingCacheUncheckedUpdateInput = { textHash?: StringFieldUpdateOperationsInput | string embedding?: BytesFieldUpdateOperationsInput | Bytes model?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string accessedAt?: DateTimeFieldUpdateOperationsInput | Date | string hitCount?: IntFieldUpdateOperationsInput | number } export type EmbeddingCacheCreateManyInput = { textHash: string embedding: Bytes model?: string createdAt?: Date | string accessedAt?: Date | string hitCount?: number } export type EmbeddingCacheUpdateManyMutationInput = { textHash?: StringFieldUpdateOperationsInput | string embedding?: BytesFieldUpdateOperationsInput | Bytes model?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string accessedAt?: DateTimeFieldUpdateOperationsInput | Date | string hitCount?: IntFieldUpdateOperationsInput | number } export type EmbeddingCacheUncheckedUpdateManyInput = { textHash?: StringFieldUpdateOperationsInput | string embedding?: BytesFieldUpdateOperationsInput | Bytes model?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string accessedAt?: DateTimeFieldUpdateOperationsInput | Date | string hitCount?: IntFieldUpdateOperationsInput | number } export type VectorDocument1024CreateInput = { id: string projectId: string content: string metadata?: JsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string } export type VectorDocument1024UncheckedCreateInput = { id: string projectId: string content: string metadata?: JsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string } export type VectorDocument1024UpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string metadata?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type VectorDocument1024UncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string metadata?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type VectorDocument1024CreateManyInput = { id: string projectId: string content: string metadata?: JsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string } export type VectorDocument1024UpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string metadata?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type VectorDocument1024UncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string metadata?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type VectorDocument1536CreateInput = { id: string projectId: string content: string metadata?: JsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string } export type VectorDocument1536UncheckedCreateInput = { id: string projectId: string content: string metadata?: JsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string } export type VectorDocument1536UpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string metadata?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type VectorDocument1536UncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string metadata?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type VectorDocument1536CreateManyInput = { id: string projectId: string content: string metadata?: JsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string } export type VectorDocument1536UpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string metadata?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type VectorDocument1536UncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string metadata?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type VectorDocument3072CreateInput = { id: string projectId: string content: string metadata?: JsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string } export type VectorDocument3072UncheckedCreateInput = { id: string projectId: string content: string metadata?: JsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string } export type VectorDocument3072UpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string metadata?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type VectorDocument3072UncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string metadata?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type VectorDocument3072CreateManyInput = { id: string projectId: string content: string metadata?: JsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string } export type VectorDocument3072UpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string metadata?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type VectorDocument3072UncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string metadata?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type VectorDocumentLegacyCreateInput = { id: string projectId: string content: string metadata?: JsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string } export type VectorDocumentLegacyUncheckedCreateInput = { id: string projectId: string content: string metadata?: JsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string } export type VectorDocumentLegacyUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string metadata?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type VectorDocumentLegacyUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string metadata?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type VectorDocumentLegacyCreateManyInput = { id: string projectId: string content: string metadata?: JsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string } export type VectorDocumentLegacyUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string metadata?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type VectorDocumentLegacyUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string metadata?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type VectorDocument4096CreateInput = { id: string projectId: string content: string metadata?: JsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string } export type VectorDocument4096UncheckedCreateInput = { id: string projectId: string content: string metadata?: JsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string } export type VectorDocument4096UpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string metadata?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type VectorDocument4096UncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string metadata?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type VectorDocument4096CreateManyInput = { id: string projectId: string content: string metadata?: JsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string } export type VectorDocument4096UpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string metadata?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type VectorDocument4096UncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string metadata?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type IndexJobCreateInput = { jobId: string projectId: string projectPath: string status: string current?: number total?: number percentage?: number filesIndexed?: number | null chunksIndexed?: number | null errors?: number | null duration?: number | null error?: string | null createdAt: bigint | number startedAt?: bigint | number | null completedAt?: bigint | number | null heartbeatAt?: bigint | number | null activatedGraphGenerationId?: string | null parserDiagnosticsCount?: number | null parserRecoveredFiles?: number | null parserHardFailureFiles?: number | null parserStaleFiles?: number | null parserLanguageCounts?: NullableJsonNullValueInput | InputJsonValue } export type IndexJobUncheckedCreateInput = { jobId: string projectId: string projectPath: string status: string current?: number total?: number percentage?: number filesIndexed?: number | null chunksIndexed?: number | null errors?: number | null duration?: number | null error?: string | null createdAt: bigint | number startedAt?: bigint | number | null completedAt?: bigint | number | null heartbeatAt?: bigint | number | null activatedGraphGenerationId?: string | null parserDiagnosticsCount?: number | null parserRecoveredFiles?: number | null parserHardFailureFiles?: number | null parserStaleFiles?: number | null parserLanguageCounts?: NullableJsonNullValueInput | InputJsonValue } export type IndexJobUpdateInput = { jobId?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string projectPath?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string current?: IntFieldUpdateOperationsInput | number total?: IntFieldUpdateOperationsInput | number percentage?: IntFieldUpdateOperationsInput | number filesIndexed?: NullableIntFieldUpdateOperationsInput | number | null chunksIndexed?: NullableIntFieldUpdateOperationsInput | number | null errors?: NullableIntFieldUpdateOperationsInput | number | null duration?: NullableIntFieldUpdateOperationsInput | number | null error?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: BigIntFieldUpdateOperationsInput | bigint | number startedAt?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null completedAt?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null heartbeatAt?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null activatedGraphGenerationId?: NullableStringFieldUpdateOperationsInput | string | null parserDiagnosticsCount?: NullableIntFieldUpdateOperationsInput | number | null parserRecoveredFiles?: NullableIntFieldUpdateOperationsInput | number | null parserHardFailureFiles?: NullableIntFieldUpdateOperationsInput | number | null parserStaleFiles?: NullableIntFieldUpdateOperationsInput | number | null parserLanguageCounts?: NullableJsonNullValueInput | InputJsonValue } export type IndexJobUncheckedUpdateInput = { jobId?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string projectPath?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string current?: IntFieldUpdateOperationsInput | number total?: IntFieldUpdateOperationsInput | number percentage?: IntFieldUpdateOperationsInput | number filesIndexed?: NullableIntFieldUpdateOperationsInput | number | null chunksIndexed?: NullableIntFieldUpdateOperationsInput | number | null errors?: NullableIntFieldUpdateOperationsInput | number | null duration?: NullableIntFieldUpdateOperationsInput | number | null error?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: BigIntFieldUpdateOperationsInput | bigint | number startedAt?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null completedAt?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null heartbeatAt?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null activatedGraphGenerationId?: NullableStringFieldUpdateOperationsInput | string | null parserDiagnosticsCount?: NullableIntFieldUpdateOperationsInput | number | null parserRecoveredFiles?: NullableIntFieldUpdateOperationsInput | number | null parserHardFailureFiles?: NullableIntFieldUpdateOperationsInput | number | null parserStaleFiles?: NullableIntFieldUpdateOperationsInput | number | null parserLanguageCounts?: NullableJsonNullValueInput | InputJsonValue } export type IndexJobCreateManyInput = { jobId: string projectId: string projectPath: string status: string current?: number total?: number percentage?: number filesIndexed?: number | null chunksIndexed?: number | null errors?: number | null duration?: number | null error?: string | null createdAt: bigint | number startedAt?: bigint | number | null completedAt?: bigint | number | null heartbeatAt?: bigint | number | null activatedGraphGenerationId?: string | null parserDiagnosticsCount?: number | null parserRecoveredFiles?: number | null parserHardFailureFiles?: number | null parserStaleFiles?: number | null parserLanguageCounts?: NullableJsonNullValueInput | InputJsonValue } export type IndexJobUpdateManyMutationInput = { jobId?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string projectPath?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string current?: IntFieldUpdateOperationsInput | number total?: IntFieldUpdateOperationsInput | number percentage?: IntFieldUpdateOperationsInput | number filesIndexed?: NullableIntFieldUpdateOperationsInput | number | null chunksIndexed?: NullableIntFieldUpdateOperationsInput | number | null errors?: NullableIntFieldUpdateOperationsInput | number | null duration?: NullableIntFieldUpdateOperationsInput | number | null error?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: BigIntFieldUpdateOperationsInput | bigint | number startedAt?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null completedAt?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null heartbeatAt?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null activatedGraphGenerationId?: NullableStringFieldUpdateOperationsInput | string | null parserDiagnosticsCount?: NullableIntFieldUpdateOperationsInput | number | null parserRecoveredFiles?: NullableIntFieldUpdateOperationsInput | number | null parserHardFailureFiles?: NullableIntFieldUpdateOperationsInput | number | null parserStaleFiles?: NullableIntFieldUpdateOperationsInput | number | null parserLanguageCounts?: NullableJsonNullValueInput | InputJsonValue } export type IndexJobUncheckedUpdateManyInput = { jobId?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string projectPath?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string current?: IntFieldUpdateOperationsInput | number total?: IntFieldUpdateOperationsInput | number percentage?: IntFieldUpdateOperationsInput | number filesIndexed?: NullableIntFieldUpdateOperationsInput | number | null chunksIndexed?: NullableIntFieldUpdateOperationsInput | number | null errors?: NullableIntFieldUpdateOperationsInput | number | null duration?: NullableIntFieldUpdateOperationsInput | number | null error?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: BigIntFieldUpdateOperationsInput | bigint | number startedAt?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null completedAt?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null heartbeatAt?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null activatedGraphGenerationId?: NullableStringFieldUpdateOperationsInput | string | null parserDiagnosticsCount?: NullableIntFieldUpdateOperationsInput | number | null parserRecoveredFiles?: NullableIntFieldUpdateOperationsInput | number | null parserHardFailureFiles?: NullableIntFieldUpdateOperationsInput | number | null parserStaleFiles?: NullableIntFieldUpdateOperationsInput | number | null parserLanguageCounts?: NullableJsonNullValueInput | InputJsonValue } export type ScheduledJobCreateInput = { id: string name: string jobKind: string scheduleType: string intervalMs?: bigint | number | null cron?: string | null nextRunAt: bigint | number lastRunAt?: bigint | number enabled?: number payload?: string | null } export type ScheduledJobUncheckedCreateInput = { id: string name: string jobKind: string scheduleType: string intervalMs?: bigint | number | null cron?: string | null nextRunAt: bigint | number lastRunAt?: bigint | number enabled?: number payload?: string | null } export type ScheduledJobUpdateInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string jobKind?: StringFieldUpdateOperationsInput | string scheduleType?: StringFieldUpdateOperationsInput | string intervalMs?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null cron?: NullableStringFieldUpdateOperationsInput | string | null nextRunAt?: BigIntFieldUpdateOperationsInput | bigint | number lastRunAt?: BigIntFieldUpdateOperationsInput | bigint | number enabled?: IntFieldUpdateOperationsInput | number payload?: NullableStringFieldUpdateOperationsInput | string | null } export type ScheduledJobUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string jobKind?: StringFieldUpdateOperationsInput | string scheduleType?: StringFieldUpdateOperationsInput | string intervalMs?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null cron?: NullableStringFieldUpdateOperationsInput | string | null nextRunAt?: BigIntFieldUpdateOperationsInput | bigint | number lastRunAt?: BigIntFieldUpdateOperationsInput | bigint | number enabled?: IntFieldUpdateOperationsInput | number payload?: NullableStringFieldUpdateOperationsInput | string | null } export type ScheduledJobCreateManyInput = { id: string name: string jobKind: string scheduleType: string intervalMs?: bigint | number | null cron?: string | null nextRunAt: bigint | number lastRunAt?: bigint | number enabled?: number payload?: string | null } export type ScheduledJobUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string jobKind?: StringFieldUpdateOperationsInput | string scheduleType?: StringFieldUpdateOperationsInput | string intervalMs?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null cron?: NullableStringFieldUpdateOperationsInput | string | null nextRunAt?: BigIntFieldUpdateOperationsInput | bigint | number lastRunAt?: BigIntFieldUpdateOperationsInput | bigint | number enabled?: IntFieldUpdateOperationsInput | number payload?: NullableStringFieldUpdateOperationsInput | string | null } export type ScheduledJobUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string jobKind?: StringFieldUpdateOperationsInput | string scheduleType?: StringFieldUpdateOperationsInput | string intervalMs?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null cron?: NullableStringFieldUpdateOperationsInput | string | null nextRunAt?: BigIntFieldUpdateOperationsInput | bigint | number lastRunAt?: BigIntFieldUpdateOperationsInput | bigint | number enabled?: IntFieldUpdateOperationsInput | number payload?: NullableStringFieldUpdateOperationsInput | string | null } export type SynapseSessionCreateInput = { sessionId: string agentId: string workspaceId?: string | null taskContext?: string | null taskTokens?: string | null taskEmbedding?: Bytes | null ttlMs: bigint | number createdAt: bigint | number expiresAt: bigint | number accessHistoryLimit: number bufferConfig?: string | null bufferSnapshot?: string | null updatedAt: bigint | number } export type SynapseSessionUncheckedCreateInput = { sessionId: string agentId: string workspaceId?: string | null taskContext?: string | null taskTokens?: string | null taskEmbedding?: Bytes | null ttlMs: bigint | number createdAt: bigint | number expiresAt: bigint | number accessHistoryLimit: number bufferConfig?: string | null bufferSnapshot?: string | null updatedAt: bigint | number } export type SynapseSessionUpdateInput = { sessionId?: StringFieldUpdateOperationsInput | string agentId?: StringFieldUpdateOperationsInput | string workspaceId?: NullableStringFieldUpdateOperationsInput | string | null taskContext?: NullableStringFieldUpdateOperationsInput | string | null taskTokens?: NullableStringFieldUpdateOperationsInput | string | null taskEmbedding?: NullableBytesFieldUpdateOperationsInput | Bytes | null ttlMs?: BigIntFieldUpdateOperationsInput | bigint | number createdAt?: BigIntFieldUpdateOperationsInput | bigint | number expiresAt?: BigIntFieldUpdateOperationsInput | bigint | number accessHistoryLimit?: IntFieldUpdateOperationsInput | number bufferConfig?: NullableStringFieldUpdateOperationsInput | string | null bufferSnapshot?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: BigIntFieldUpdateOperationsInput | bigint | number } export type SynapseSessionUncheckedUpdateInput = { sessionId?: StringFieldUpdateOperationsInput | string agentId?: StringFieldUpdateOperationsInput | string workspaceId?: NullableStringFieldUpdateOperationsInput | string | null taskContext?: NullableStringFieldUpdateOperationsInput | string | null taskTokens?: NullableStringFieldUpdateOperationsInput | string | null taskEmbedding?: NullableBytesFieldUpdateOperationsInput | Bytes | null ttlMs?: BigIntFieldUpdateOperationsInput | bigint | number createdAt?: BigIntFieldUpdateOperationsInput | bigint | number expiresAt?: BigIntFieldUpdateOperationsInput | bigint | number accessHistoryLimit?: IntFieldUpdateOperationsInput | number bufferConfig?: NullableStringFieldUpdateOperationsInput | string | null bufferSnapshot?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: BigIntFieldUpdateOperationsInput | bigint | number } export type SynapseSessionCreateManyInput = { sessionId: string agentId: string workspaceId?: string | null taskContext?: string | null taskTokens?: string | null taskEmbedding?: Bytes | null ttlMs: bigint | number createdAt: bigint | number expiresAt: bigint | number accessHistoryLimit: number bufferConfig?: string | null bufferSnapshot?: string | null updatedAt: bigint | number } export type SynapseSessionUpdateManyMutationInput = { sessionId?: StringFieldUpdateOperationsInput | string agentId?: StringFieldUpdateOperationsInput | string workspaceId?: NullableStringFieldUpdateOperationsInput | string | null taskContext?: NullableStringFieldUpdateOperationsInput | string | null taskTokens?: NullableStringFieldUpdateOperationsInput | string | null taskEmbedding?: NullableBytesFieldUpdateOperationsInput | Bytes | null ttlMs?: BigIntFieldUpdateOperationsInput | bigint | number createdAt?: BigIntFieldUpdateOperationsInput | bigint | number expiresAt?: BigIntFieldUpdateOperationsInput | bigint | number accessHistoryLimit?: IntFieldUpdateOperationsInput | number bufferConfig?: NullableStringFieldUpdateOperationsInput | string | null bufferSnapshot?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: BigIntFieldUpdateOperationsInput | bigint | number } export type SynapseSessionUncheckedUpdateManyInput = { sessionId?: StringFieldUpdateOperationsInput | string agentId?: StringFieldUpdateOperationsInput | string workspaceId?: NullableStringFieldUpdateOperationsInput | string | null taskContext?: NullableStringFieldUpdateOperationsInput | string | null taskTokens?: NullableStringFieldUpdateOperationsInput | string | null taskEmbedding?: NullableBytesFieldUpdateOperationsInput | Bytes | null ttlMs?: BigIntFieldUpdateOperationsInput | bigint | number createdAt?: BigIntFieldUpdateOperationsInput | bigint | number expiresAt?: BigIntFieldUpdateOperationsInput | bigint | number accessHistoryLimit?: IntFieldUpdateOperationsInput | number bufferConfig?: NullableStringFieldUpdateOperationsInput | string | null bufferSnapshot?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: BigIntFieldUpdateOperationsInput | bigint | number } export type SynapseAccessHistoryCreateInput = { sessionId: string memoryId: string accessCount?: number lastAccessedAt: bigint | number } export type SynapseAccessHistoryUncheckedCreateInput = { sessionId: string memoryId: string accessCount?: number lastAccessedAt: bigint | number } export type SynapseAccessHistoryUpdateInput = { sessionId?: StringFieldUpdateOperationsInput | string memoryId?: StringFieldUpdateOperationsInput | string accessCount?: IntFieldUpdateOperationsInput | number lastAccessedAt?: BigIntFieldUpdateOperationsInput | bigint | number } export type SynapseAccessHistoryUncheckedUpdateInput = { sessionId?: StringFieldUpdateOperationsInput | string memoryId?: StringFieldUpdateOperationsInput | string accessCount?: IntFieldUpdateOperationsInput | number lastAccessedAt?: BigIntFieldUpdateOperationsInput | bigint | number } export type SynapseAccessHistoryCreateManyInput = { sessionId: string memoryId: string accessCount?: number lastAccessedAt: bigint | number } export type SynapseAccessHistoryUpdateManyMutationInput = { sessionId?: StringFieldUpdateOperationsInput | string memoryId?: StringFieldUpdateOperationsInput | string accessCount?: IntFieldUpdateOperationsInput | number lastAccessedAt?: BigIntFieldUpdateOperationsInput | bigint | number } export type SynapseAccessHistoryUncheckedUpdateManyInput = { sessionId?: StringFieldUpdateOperationsInput | string memoryId?: StringFieldUpdateOperationsInput | string accessCount?: IntFieldUpdateOperationsInput | number lastAccessedAt?: BigIntFieldUpdateOperationsInput | bigint | number } export type CheckpointCreateInput = { id: string taskId: string taskDescription?: string | null agentId?: string | null projectId?: string | null state: Bytes stateSchemaVersion?: number memoryIds?: string | null fileChanges?: string | null checkpointType: string parentCheckpointId?: string | null createdAt: bigint | number expiresAt?: bigint | number | null } export type CheckpointUncheckedCreateInput = { id: string taskId: string taskDescription?: string | null agentId?: string | null projectId?: string | null state: Bytes stateSchemaVersion?: number memoryIds?: string | null fileChanges?: string | null checkpointType: string parentCheckpointId?: string | null createdAt: bigint | number expiresAt?: bigint | number | null } export type CheckpointUpdateInput = { id?: StringFieldUpdateOperationsInput | string taskId?: StringFieldUpdateOperationsInput | string taskDescription?: NullableStringFieldUpdateOperationsInput | string | null agentId?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null state?: BytesFieldUpdateOperationsInput | Bytes stateSchemaVersion?: IntFieldUpdateOperationsInput | number memoryIds?: NullableStringFieldUpdateOperationsInput | string | null fileChanges?: NullableStringFieldUpdateOperationsInput | string | null checkpointType?: StringFieldUpdateOperationsInput | string parentCheckpointId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: BigIntFieldUpdateOperationsInput | bigint | number expiresAt?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null } export type CheckpointUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string taskId?: StringFieldUpdateOperationsInput | string taskDescription?: NullableStringFieldUpdateOperationsInput | string | null agentId?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null state?: BytesFieldUpdateOperationsInput | Bytes stateSchemaVersion?: IntFieldUpdateOperationsInput | number memoryIds?: NullableStringFieldUpdateOperationsInput | string | null fileChanges?: NullableStringFieldUpdateOperationsInput | string | null checkpointType?: StringFieldUpdateOperationsInput | string parentCheckpointId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: BigIntFieldUpdateOperationsInput | bigint | number expiresAt?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null } export type CheckpointCreateManyInput = { id: string taskId: string taskDescription?: string | null agentId?: string | null projectId?: string | null state: Bytes stateSchemaVersion?: number memoryIds?: string | null fileChanges?: string | null checkpointType: string parentCheckpointId?: string | null createdAt: bigint | number expiresAt?: bigint | number | null } export type CheckpointUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string taskId?: StringFieldUpdateOperationsInput | string taskDescription?: NullableStringFieldUpdateOperationsInput | string | null agentId?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null state?: BytesFieldUpdateOperationsInput | Bytes stateSchemaVersion?: IntFieldUpdateOperationsInput | number memoryIds?: NullableStringFieldUpdateOperationsInput | string | null fileChanges?: NullableStringFieldUpdateOperationsInput | string | null checkpointType?: StringFieldUpdateOperationsInput | string parentCheckpointId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: BigIntFieldUpdateOperationsInput | bigint | number expiresAt?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null } export type CheckpointUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string taskId?: StringFieldUpdateOperationsInput | string taskDescription?: NullableStringFieldUpdateOperationsInput | string | null agentId?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null state?: BytesFieldUpdateOperationsInput | Bytes stateSchemaVersion?: IntFieldUpdateOperationsInput | number memoryIds?: NullableStringFieldUpdateOperationsInput | string | null fileChanges?: NullableStringFieldUpdateOperationsInput | string | null checkpointType?: StringFieldUpdateOperationsInput | string parentCheckpointId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: BigIntFieldUpdateOperationsInput | bigint | number expiresAt?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null } 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 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 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 FloatFilter<$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 StringNullableListFilter<$PrismaModel = never> = { equals?: string[] | ListStringFieldRefInput<$PrismaModel> | null has?: string | StringFieldRefInput<$PrismaModel> | null hasEvery?: string[] | ListStringFieldRefInput<$PrismaModel> hasSome?: string[] | ListStringFieldRefInput<$PrismaModel> isEmpty?: boolean } export type BytesNullableFilter<$PrismaModel = never> = { equals?: Bytes | BytesFieldRefInput<$PrismaModel> | null in?: Bytes[] | ListBytesFieldRefInput<$PrismaModel> | null notIn?: Bytes[] | ListBytesFieldRefInput<$PrismaModel> | null not?: NestedBytesNullableFilter<$PrismaModel> | Bytes | null } export type JsonNullableFilter<$PrismaModel = never> = | PatchUndefined< Either>, Exclude>, 'path'>>, Required> > | OptionalFlat>, 'path'>> export type JsonNullableFilterBase<$PrismaModel = never> = { equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter path?: string[] mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel> string_contains?: string | StringFieldRefInput<$PrismaModel> string_starts_with?: string | StringFieldRefInput<$PrismaModel> string_ends_with?: string | StringFieldRefInput<$PrismaModel> array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter } 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 DateTimeNullableFilter<$PrismaModel = never> = { equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> not?: NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null } export type BoolFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> not?: NestedBoolFilter<$PrismaModel> | boolean } export type MemoryEdgeListRelationFilter = { every?: MemoryEdgeWhereInput some?: MemoryEdgeWhereInput none?: MemoryEdgeWhereInput } export type SortOrderInput = { sort: SortOrder nulls?: NullsOrder } export type MemoryEdgeOrderByRelationAggregateInput = { _count?: SortOrder } export type MemoryCountOrderByAggregateInput = { id?: SortOrder content?: SortOrder type?: SortOrder level?: SortOrder userId?: SortOrder sessionId?: SortOrder projectId?: SortOrder agentId?: SortOrder importance?: SortOrder tags?: SortOrder embedding?: SortOrder metadata?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder accessCount?: SortOrder lastAccessed?: SortOrder pinned?: SortOrder deletedAt?: SortOrder } export type MemoryAvgOrderByAggregateInput = { level?: SortOrder importance?: SortOrder accessCount?: SortOrder } export type MemoryMaxOrderByAggregateInput = { id?: SortOrder content?: SortOrder type?: SortOrder level?: SortOrder userId?: SortOrder sessionId?: SortOrder projectId?: SortOrder agentId?: SortOrder importance?: SortOrder embedding?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder accessCount?: SortOrder lastAccessed?: SortOrder pinned?: SortOrder deletedAt?: SortOrder } export type MemoryMinOrderByAggregateInput = { id?: SortOrder content?: SortOrder type?: SortOrder level?: SortOrder userId?: SortOrder sessionId?: SortOrder projectId?: SortOrder agentId?: SortOrder importance?: SortOrder embedding?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder accessCount?: SortOrder lastAccessed?: SortOrder pinned?: SortOrder deletedAt?: SortOrder } export type MemorySumOrderByAggregateInput = { level?: SortOrder importance?: SortOrder accessCount?: 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 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 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 FloatWithAggregatesFilter<$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?: NestedFloatWithAggregatesFilter<$PrismaModel> | number _count?: NestedIntFilter<$PrismaModel> _avg?: NestedFloatFilter<$PrismaModel> _sum?: NestedFloatFilter<$PrismaModel> _min?: NestedFloatFilter<$PrismaModel> _max?: NestedFloatFilter<$PrismaModel> } export type BytesNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: Bytes | BytesFieldRefInput<$PrismaModel> | null in?: Bytes[] | ListBytesFieldRefInput<$PrismaModel> | null notIn?: Bytes[] | ListBytesFieldRefInput<$PrismaModel> | null not?: NestedBytesNullableWithAggregatesFilter<$PrismaModel> | Bytes | null _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedBytesNullableFilter<$PrismaModel> _max?: NestedBytesNullableFilter<$PrismaModel> } export type JsonNullableWithAggregatesFilter<$PrismaModel = never> = | PatchUndefined< Either>, Exclude>, 'path'>>, Required> > | OptionalFlat>, 'path'>> export type JsonNullableWithAggregatesFilterBase<$PrismaModel = never> = { equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter path?: string[] mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel> string_contains?: string | StringFieldRefInput<$PrismaModel> string_starts_with?: string | StringFieldRefInput<$PrismaModel> string_ends_with?: string | StringFieldRefInput<$PrismaModel> array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedJsonNullableFilter<$PrismaModel> _max?: NestedJsonNullableFilter<$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 DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> not?: NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedDateTimeNullableFilter<$PrismaModel> _max?: NestedDateTimeNullableFilter<$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 DocumentListRelationFilter = { every?: DocumentWhereInput some?: DocumentWhereInput none?: DocumentWhereInput } export type DocumentOrderByRelationAggregateInput = { _count?: SortOrder } export type ProjectCountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder path?: SortOrder documentCount?: SortOrder totalSize?: SortOrder lastIndexed?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type ProjectAvgOrderByAggregateInput = { documentCount?: SortOrder totalSize?: SortOrder } export type ProjectMaxOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder path?: SortOrder documentCount?: SortOrder totalSize?: SortOrder lastIndexed?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type ProjectMinOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder path?: SortOrder documentCount?: SortOrder totalSize?: SortOrder lastIndexed?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type ProjectSumOrderByAggregateInput = { documentCount?: SortOrder totalSize?: SortOrder } export type ProjectScalarRelationFilter = { is?: ProjectWhereInput isNot?: ProjectWhereInput } export type DocumentCountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder filePath?: SortOrder fileType?: SortOrder size?: SortOrder indexedAt?: SortOrder } export type DocumentAvgOrderByAggregateInput = { size?: SortOrder } export type DocumentMaxOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder filePath?: SortOrder fileType?: SortOrder size?: SortOrder indexedAt?: SortOrder } export type DocumentMinOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder filePath?: SortOrder fileType?: SortOrder size?: SortOrder indexedAt?: SortOrder } export type DocumentSumOrderByAggregateInput = { size?: SortOrder } export type SearchQueryCountOrderByAggregateInput = { id?: SortOrder query?: SortOrder projectId?: SortOrder resultsCount?: SortOrder duration?: SortOrder cacheHit?: SortOrder timestamp?: SortOrder } export type SearchQueryAvgOrderByAggregateInput = { resultsCount?: SortOrder duration?: SortOrder } export type SearchQueryMaxOrderByAggregateInput = { id?: SortOrder query?: SortOrder projectId?: SortOrder resultsCount?: SortOrder duration?: SortOrder cacheHit?: SortOrder timestamp?: SortOrder } export type SearchQueryMinOrderByAggregateInput = { id?: SortOrder query?: SortOrder projectId?: SortOrder resultsCount?: SortOrder duration?: SortOrder cacheHit?: SortOrder timestamp?: SortOrder } export type SearchQuerySumOrderByAggregateInput = { resultsCount?: SortOrder duration?: SortOrder } export type CacheStatsProjectIdQueryHashCompoundUniqueInput = { projectId: string queryHash: string } export type CacheStatsCountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder queryHash?: SortOrder hitCount?: SortOrder createdAt?: SortOrder lastHitAt?: SortOrder } export type CacheStatsAvgOrderByAggregateInput = { hitCount?: SortOrder } export type CacheStatsMaxOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder queryHash?: SortOrder hitCount?: SortOrder createdAt?: SortOrder lastHitAt?: SortOrder } export type CacheStatsMinOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder queryHash?: SortOrder hitCount?: SortOrder createdAt?: SortOrder lastHitAt?: SortOrder } export type CacheStatsSumOrderByAggregateInput = { hitCount?: SortOrder } export type SymbolFileListRelationFilter = { every?: SymbolFileWhereInput some?: SymbolFileWhereInput none?: SymbolFileWhereInput } export type SymbolDefinitionListRelationFilter = { every?: SymbolDefinitionWhereInput some?: SymbolDefinitionWhereInput none?: SymbolDefinitionWhereInput } export type SymbolReferenceListRelationFilter = { every?: SymbolReferenceWhereInput some?: SymbolReferenceWhereInput none?: SymbolReferenceWhereInput } export type SymbolImportListRelationFilter = { every?: SymbolImportWhereInput some?: SymbolImportWhereInput none?: SymbolImportWhereInput } export type SymbolCentralityListRelationFilter = { every?: SymbolCentralityWhereInput some?: SymbolCentralityWhereInput none?: SymbolCentralityWhereInput } export type GraphGenerationListRelationFilter = { every?: GraphGenerationWhereInput some?: GraphGenerationWhereInput none?: GraphGenerationWhereInput } export type GraphGenerationNullableScalarRelationFilter = { is?: GraphGenerationWhereInput | null isNot?: GraphGenerationWhereInput | null } export type SymbolFileOrderByRelationAggregateInput = { _count?: SortOrder } export type SymbolDefinitionOrderByRelationAggregateInput = { _count?: SortOrder } export type SymbolReferenceOrderByRelationAggregateInput = { _count?: SortOrder } export type SymbolImportOrderByRelationAggregateInput = { _count?: SortOrder } export type SymbolCentralityOrderByRelationAggregateInput = { _count?: SortOrder } export type GraphGenerationOrderByRelationAggregateInput = { _count?: SortOrder } export type WorkspaceCountOrderByAggregateInput = { projectId?: SortOrder projectPath?: SortOrder displayName?: SortOrder status?: SortOrder lastIndexedAt?: SortOrder lastError?: SortOrder filesCount?: SortOrder chunksCount?: SortOrder symbolsCount?: SortOrder activeGraphGenerationId?: SortOrder pendingGraphGenerationId?: SortOrder graphLeaseToken?: SortOrder graphLeaseExpiresAt?: SortOrder graphLeaseHeartbeatAt?: SortOrder activeFilesCount?: SortOrder activeDefinitionsCount?: SortOrder activeReferencesCount?: SortOrder activeImportsCount?: SortOrder activeCentralityCount?: SortOrder activeDiagnosticsCount?: SortOrder activeRecoveredCount?: SortOrder activeHardFailuresCount?: SortOrder activeStaleFilesCount?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type WorkspaceAvgOrderByAggregateInput = { filesCount?: SortOrder chunksCount?: SortOrder symbolsCount?: SortOrder activeFilesCount?: SortOrder activeDefinitionsCount?: SortOrder activeReferencesCount?: SortOrder activeImportsCount?: SortOrder activeCentralityCount?: SortOrder activeDiagnosticsCount?: SortOrder activeRecoveredCount?: SortOrder activeHardFailuresCount?: SortOrder activeStaleFilesCount?: SortOrder } export type WorkspaceMaxOrderByAggregateInput = { projectId?: SortOrder projectPath?: SortOrder displayName?: SortOrder status?: SortOrder lastIndexedAt?: SortOrder lastError?: SortOrder filesCount?: SortOrder chunksCount?: SortOrder symbolsCount?: SortOrder activeGraphGenerationId?: SortOrder pendingGraphGenerationId?: SortOrder graphLeaseToken?: SortOrder graphLeaseExpiresAt?: SortOrder graphLeaseHeartbeatAt?: SortOrder activeFilesCount?: SortOrder activeDefinitionsCount?: SortOrder activeReferencesCount?: SortOrder activeImportsCount?: SortOrder activeCentralityCount?: SortOrder activeDiagnosticsCount?: SortOrder activeRecoveredCount?: SortOrder activeHardFailuresCount?: SortOrder activeStaleFilesCount?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type WorkspaceMinOrderByAggregateInput = { projectId?: SortOrder projectPath?: SortOrder displayName?: SortOrder status?: SortOrder lastIndexedAt?: SortOrder lastError?: SortOrder filesCount?: SortOrder chunksCount?: SortOrder symbolsCount?: SortOrder activeGraphGenerationId?: SortOrder pendingGraphGenerationId?: SortOrder graphLeaseToken?: SortOrder graphLeaseExpiresAt?: SortOrder graphLeaseHeartbeatAt?: SortOrder activeFilesCount?: SortOrder activeDefinitionsCount?: SortOrder activeReferencesCount?: SortOrder activeImportsCount?: SortOrder activeCentralityCount?: SortOrder activeDiagnosticsCount?: SortOrder activeRecoveredCount?: SortOrder activeHardFailuresCount?: SortOrder activeStaleFilesCount?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type WorkspaceSumOrderByAggregateInput = { filesCount?: SortOrder chunksCount?: SortOrder symbolsCount?: SortOrder activeFilesCount?: SortOrder activeDefinitionsCount?: SortOrder activeReferencesCount?: SortOrder activeImportsCount?: SortOrder activeCentralityCount?: SortOrder activeDiagnosticsCount?: SortOrder activeRecoveredCount?: SortOrder activeHardFailuresCount?: SortOrder activeStaleFilesCount?: SortOrder } export type WorkspaceScalarRelationFilter = { is?: WorkspaceWhereInput isNot?: WorkspaceWhereInput } export type WorkspaceListRelationFilter = { every?: WorkspaceWhereInput some?: WorkspaceWhereInput none?: WorkspaceWhereInput } export type WorkspaceOrderByRelationAggregateInput = { _count?: SortOrder } export type GraphGenerationProjectIdIdCompoundUniqueInput = { projectId: string id: string } export type GraphGenerationCountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder status?: SortOrder fingerprint?: SortOrder inputSnapshotHash?: SortOrder expectedActiveId?: SortOrder leaseToken?: SortOrder leaseExpiresAt?: SortOrder expectedFilesCount?: SortOrder completedFilesCount?: SortOrder filesCount?: SortOrder definitionsCount?: SortOrder referencesCount?: SortOrder importsCount?: SortOrder centralityCount?: SortOrder diagnosticsCount?: SortOrder recoveredCount?: SortOrder hardFailuresCount?: SortOrder staleFilesCount?: SortOrder failureReason?: SortOrder startedAt?: SortOrder completedAt?: SortOrder activatedAt?: SortOrder supersededAt?: SortOrder } export type GraphGenerationAvgOrderByAggregateInput = { expectedFilesCount?: SortOrder completedFilesCount?: SortOrder filesCount?: SortOrder definitionsCount?: SortOrder referencesCount?: SortOrder importsCount?: SortOrder centralityCount?: SortOrder diagnosticsCount?: SortOrder recoveredCount?: SortOrder hardFailuresCount?: SortOrder staleFilesCount?: SortOrder } export type GraphGenerationMaxOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder status?: SortOrder fingerprint?: SortOrder inputSnapshotHash?: SortOrder expectedActiveId?: SortOrder leaseToken?: SortOrder leaseExpiresAt?: SortOrder expectedFilesCount?: SortOrder completedFilesCount?: SortOrder filesCount?: SortOrder definitionsCount?: SortOrder referencesCount?: SortOrder importsCount?: SortOrder centralityCount?: SortOrder diagnosticsCount?: SortOrder recoveredCount?: SortOrder hardFailuresCount?: SortOrder staleFilesCount?: SortOrder failureReason?: SortOrder startedAt?: SortOrder completedAt?: SortOrder activatedAt?: SortOrder supersededAt?: SortOrder } export type GraphGenerationMinOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder status?: SortOrder fingerprint?: SortOrder inputSnapshotHash?: SortOrder expectedActiveId?: SortOrder leaseToken?: SortOrder leaseExpiresAt?: SortOrder expectedFilesCount?: SortOrder completedFilesCount?: SortOrder filesCount?: SortOrder definitionsCount?: SortOrder referencesCount?: SortOrder importsCount?: SortOrder centralityCount?: SortOrder diagnosticsCount?: SortOrder recoveredCount?: SortOrder hardFailuresCount?: SortOrder staleFilesCount?: SortOrder failureReason?: SortOrder startedAt?: SortOrder completedAt?: SortOrder activatedAt?: SortOrder supersededAt?: SortOrder } export type GraphGenerationSumOrderByAggregateInput = { expectedFilesCount?: SortOrder completedFilesCount?: SortOrder filesCount?: SortOrder definitionsCount?: SortOrder referencesCount?: SortOrder importsCount?: SortOrder centralityCount?: SortOrder diagnosticsCount?: SortOrder recoveredCount?: SortOrder hardFailuresCount?: SortOrder staleFilesCount?: SortOrder } export type BigIntFilter<$PrismaModel = never> = { equals?: bigint | number | BigIntFieldRefInput<$PrismaModel> in?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel> notIn?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel> lt?: bigint | number | BigIntFieldRefInput<$PrismaModel> lte?: bigint | number | BigIntFieldRefInput<$PrismaModel> gt?: bigint | number | BigIntFieldRefInput<$PrismaModel> gte?: bigint | number | BigIntFieldRefInput<$PrismaModel> not?: NestedBigIntFilter<$PrismaModel> | bigint | number } export type JsonFilter<$PrismaModel = never> = | PatchUndefined< Either>, Exclude>, 'path'>>, Required> > | OptionalFlat>, 'path'>> export type JsonFilterBase<$PrismaModel = never> = { equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter path?: string[] mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel> string_contains?: string | StringFieldRefInput<$PrismaModel> string_starts_with?: string | StringFieldRefInput<$PrismaModel> string_ends_with?: string | StringFieldRefInput<$PrismaModel> array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter } export type GraphGenerationScalarRelationFilter = { is?: GraphGenerationWhereInput isNot?: GraphGenerationWhereInput } export type SymbolFileProjectIdGenerationIdRelativePathCompoundUniqueInput = { projectId: string generationId: string relativePath: string } export type SymbolFileCountOrderByAggregateInput = { projectId?: SortOrder generationId?: SortOrder relativePath?: SortOrder contentHash?: SortOrder mtime?: SortOrder size?: SortOrder indexedAt?: SortOrder symbolCount?: SortOrder chunkCount?: SortOrder language?: SortOrder dialect?: SortOrder grammarVersion?: SortOrder queryPackVersion?: SortOrder resolverVersion?: SortOrder parserStatus?: SortOrder parserErrorCount?: SortOrder diagnostics?: SortOrder isStale?: SortOrder lastKnownGoodGenerationId?: SortOrder lastSuccessfulAt?: SortOrder } export type SymbolFileAvgOrderByAggregateInput = { mtime?: SortOrder size?: SortOrder symbolCount?: SortOrder chunkCount?: SortOrder parserErrorCount?: SortOrder } export type SymbolFileMaxOrderByAggregateInput = { projectId?: SortOrder generationId?: SortOrder relativePath?: SortOrder contentHash?: SortOrder mtime?: SortOrder size?: SortOrder indexedAt?: SortOrder symbolCount?: SortOrder chunkCount?: SortOrder language?: SortOrder dialect?: SortOrder grammarVersion?: SortOrder queryPackVersion?: SortOrder resolverVersion?: SortOrder parserStatus?: SortOrder parserErrorCount?: SortOrder isStale?: SortOrder lastKnownGoodGenerationId?: SortOrder lastSuccessfulAt?: SortOrder } export type SymbolFileMinOrderByAggregateInput = { projectId?: SortOrder generationId?: SortOrder relativePath?: SortOrder contentHash?: SortOrder mtime?: SortOrder size?: SortOrder indexedAt?: SortOrder symbolCount?: SortOrder chunkCount?: SortOrder language?: SortOrder dialect?: SortOrder grammarVersion?: SortOrder queryPackVersion?: SortOrder resolverVersion?: SortOrder parserStatus?: SortOrder parserErrorCount?: SortOrder isStale?: SortOrder lastKnownGoodGenerationId?: SortOrder lastSuccessfulAt?: SortOrder } export type SymbolFileSumOrderByAggregateInput = { mtime?: SortOrder size?: SortOrder symbolCount?: SortOrder chunkCount?: SortOrder parserErrorCount?: SortOrder } export type BigIntWithAggregatesFilter<$PrismaModel = never> = { equals?: bigint | number | BigIntFieldRefInput<$PrismaModel> in?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel> notIn?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel> lt?: bigint | number | BigIntFieldRefInput<$PrismaModel> lte?: bigint | number | BigIntFieldRefInput<$PrismaModel> gt?: bigint | number | BigIntFieldRefInput<$PrismaModel> gte?: bigint | number | BigIntFieldRefInput<$PrismaModel> not?: NestedBigIntWithAggregatesFilter<$PrismaModel> | bigint | number _count?: NestedIntFilter<$PrismaModel> _avg?: NestedFloatFilter<$PrismaModel> _sum?: NestedBigIntFilter<$PrismaModel> _min?: NestedBigIntFilter<$PrismaModel> _max?: NestedBigIntFilter<$PrismaModel> } export type JsonWithAggregatesFilter<$PrismaModel = never> = | PatchUndefined< Either>, Exclude>, 'path'>>, Required> > | OptionalFlat>, 'path'>> export type JsonWithAggregatesFilterBase<$PrismaModel = never> = { equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter path?: string[] mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel> string_contains?: string | StringFieldRefInput<$PrismaModel> string_starts_with?: string | StringFieldRefInput<$PrismaModel> string_ends_with?: string | StringFieldRefInput<$PrismaModel> array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter _count?: NestedIntFilter<$PrismaModel> _min?: NestedJsonFilter<$PrismaModel> _max?: NestedJsonFilter<$PrismaModel> } export type SymbolDefinitionProjectIdGenerationIdIdCompoundUniqueInput = { projectId: string generationId: string id: string } export type SymbolDefinitionCountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder generationId?: SortOrder filePath?: SortOrder name?: SortOrder kind?: SortOrder lineStart?: SortOrder lineEnd?: SortOrder exported?: SortOrder docComment?: SortOrder indexedAt?: SortOrder qualifiedName?: SortOrder canonicalSignature?: SortOrder signatureHash?: SortOrder legacyFqn?: SortOrder sourceSpan?: SortOrder } export type SymbolDefinitionAvgOrderByAggregateInput = { lineStart?: SortOrder lineEnd?: SortOrder } export type SymbolDefinitionMaxOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder generationId?: SortOrder filePath?: SortOrder name?: SortOrder kind?: SortOrder lineStart?: SortOrder lineEnd?: SortOrder exported?: SortOrder docComment?: SortOrder indexedAt?: SortOrder qualifiedName?: SortOrder canonicalSignature?: SortOrder signatureHash?: SortOrder legacyFqn?: SortOrder } export type SymbolDefinitionMinOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder generationId?: SortOrder filePath?: SortOrder name?: SortOrder kind?: SortOrder lineStart?: SortOrder lineEnd?: SortOrder exported?: SortOrder docComment?: SortOrder indexedAt?: SortOrder qualifiedName?: SortOrder canonicalSignature?: SortOrder signatureHash?: SortOrder legacyFqn?: SortOrder } export type SymbolDefinitionSumOrderByAggregateInput = { lineStart?: SortOrder lineEnd?: SortOrder } export type SymbolReferenceCountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder generationId?: SortOrder fromFile?: SortOrder fromLine?: SortOrder symbolName?: SortOrder targetFqn?: SortOrder refKind?: SortOrder meta?: SortOrder sourceSpan?: SortOrder } export type SymbolReferenceAvgOrderByAggregateInput = { id?: SortOrder fromLine?: SortOrder } export type SymbolReferenceMaxOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder generationId?: SortOrder fromFile?: SortOrder fromLine?: SortOrder symbolName?: SortOrder targetFqn?: SortOrder refKind?: SortOrder } export type SymbolReferenceMinOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder generationId?: SortOrder fromFile?: SortOrder fromLine?: SortOrder symbolName?: SortOrder targetFqn?: SortOrder refKind?: SortOrder } export type SymbolReferenceSumOrderByAggregateInput = { id?: SortOrder fromLine?: SortOrder } export type SymbolImportCountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder generationId?: SortOrder fromFile?: SortOrder toFile?: SortOrder specifier?: SortOrder importedNames?: SortOrder isExternal?: SortOrder isTypeOnly?: SortOrder } export type SymbolImportAvgOrderByAggregateInput = { id?: SortOrder } export type SymbolImportMaxOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder generationId?: SortOrder fromFile?: SortOrder toFile?: SortOrder specifier?: SortOrder isExternal?: SortOrder isTypeOnly?: SortOrder } export type SymbolImportMinOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder generationId?: SortOrder fromFile?: SortOrder toFile?: SortOrder specifier?: SortOrder isExternal?: SortOrder isTypeOnly?: SortOrder } export type SymbolImportSumOrderByAggregateInput = { id?: SortOrder } export type SymbolCentralityProjectIdGenerationIdFilePathCompoundUniqueInput = { projectId: string generationId: string filePath: string } export type SymbolCentralityCountOrderByAggregateInput = { projectId?: SortOrder generationId?: SortOrder filePath?: SortOrder score?: SortOrder updatedAt?: SortOrder } export type SymbolCentralityAvgOrderByAggregateInput = { score?: SortOrder } export type SymbolCentralityMaxOrderByAggregateInput = { projectId?: SortOrder generationId?: SortOrder filePath?: SortOrder score?: SortOrder updatedAt?: SortOrder } export type SymbolCentralityMinOrderByAggregateInput = { projectId?: SortOrder generationId?: SortOrder filePath?: SortOrder score?: SortOrder updatedAt?: SortOrder } export type SymbolCentralitySumOrderByAggregateInput = { score?: SortOrder } export type MemoryScalarRelationFilter = { is?: MemoryWhereInput isNot?: MemoryWhereInput } export type MemoryEdgeFromIdToIdEdgeTypeCompoundUniqueInput = { fromId: string toId: string edgeType: string } export type MemoryEdgeCountOrderByAggregateInput = { id?: SortOrder fromId?: SortOrder toId?: SortOrder edgeType?: SortOrder weight?: SortOrder metadata?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type MemoryEdgeAvgOrderByAggregateInput = { id?: SortOrder weight?: SortOrder } export type MemoryEdgeMaxOrderByAggregateInput = { id?: SortOrder fromId?: SortOrder toId?: SortOrder edgeType?: SortOrder weight?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type MemoryEdgeMinOrderByAggregateInput = { id?: SortOrder fromId?: SortOrder toId?: SortOrder edgeType?: SortOrder weight?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type MemoryEdgeSumOrderByAggregateInput = { id?: SortOrder weight?: SortOrder } export type ObservationCountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder sessionId?: SortOrder source?: SortOrder category?: SortOrder payloadJson?: SortOrder importance?: SortOrder createdAt?: SortOrder } export type ObservationAvgOrderByAggregateInput = { importance?: SortOrder } export type ObservationMaxOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder sessionId?: SortOrder source?: SortOrder category?: SortOrder payloadJson?: SortOrder importance?: SortOrder createdAt?: SortOrder } export type ObservationMinOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder sessionId?: SortOrder source?: SortOrder category?: SortOrder payloadJson?: SortOrder importance?: SortOrder createdAt?: SortOrder } export type ObservationSumOrderByAggregateInput = { importance?: SortOrder } export type HandoffCountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder sourceSessionId?: SortOrder targetAgent?: SortOrder summary?: SortOrder openQuestionsJson?: SortOrder nextStepsJson?: SortOrder filesJson?: SortOrder status?: SortOrder createdAt?: SortOrder acceptedAt?: SortOrder } export type HandoffMaxOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder sourceSessionId?: SortOrder targetAgent?: SortOrder summary?: SortOrder openQuestionsJson?: SortOrder nextStepsJson?: SortOrder filesJson?: SortOrder status?: SortOrder createdAt?: SortOrder acceptedAt?: SortOrder } export type HandoffMinOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder sourceSessionId?: SortOrder targetAgent?: SortOrder summary?: SortOrder openQuestionsJson?: SortOrder nextStepsJson?: SortOrder filesJson?: SortOrder status?: SortOrder createdAt?: SortOrder acceptedAt?: SortOrder } export type ProposalCountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder kind?: SortOrder targetMemoryId?: SortOrder payloadJson?: SortOrder rationale?: SortOrder status?: SortOrder createdAt?: SortOrder decidedAt?: SortOrder } export type ProposalMaxOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder kind?: SortOrder targetMemoryId?: SortOrder payloadJson?: SortOrder rationale?: SortOrder status?: SortOrder createdAt?: SortOrder decidedAt?: SortOrder } export type ProposalMinOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder kind?: SortOrder targetMemoryId?: SortOrder payloadJson?: SortOrder rationale?: SortOrder status?: SortOrder createdAt?: SortOrder decidedAt?: SortOrder } export type BytesFilter<$PrismaModel = never> = { equals?: Bytes | BytesFieldRefInput<$PrismaModel> in?: Bytes[] | ListBytesFieldRefInput<$PrismaModel> notIn?: Bytes[] | ListBytesFieldRefInput<$PrismaModel> not?: NestedBytesFilter<$PrismaModel> | Bytes } export type EmbeddingCacheCountOrderByAggregateInput = { textHash?: SortOrder embedding?: SortOrder model?: SortOrder createdAt?: SortOrder accessedAt?: SortOrder hitCount?: SortOrder } export type EmbeddingCacheAvgOrderByAggregateInput = { hitCount?: SortOrder } export type EmbeddingCacheMaxOrderByAggregateInput = { textHash?: SortOrder embedding?: SortOrder model?: SortOrder createdAt?: SortOrder accessedAt?: SortOrder hitCount?: SortOrder } export type EmbeddingCacheMinOrderByAggregateInput = { textHash?: SortOrder embedding?: SortOrder model?: SortOrder createdAt?: SortOrder accessedAt?: SortOrder hitCount?: SortOrder } export type EmbeddingCacheSumOrderByAggregateInput = { hitCount?: SortOrder } export type BytesWithAggregatesFilter<$PrismaModel = never> = { equals?: Bytes | BytesFieldRefInput<$PrismaModel> in?: Bytes[] | ListBytesFieldRefInput<$PrismaModel> notIn?: Bytes[] | ListBytesFieldRefInput<$PrismaModel> not?: NestedBytesWithAggregatesFilter<$PrismaModel> | Bytes _count?: NestedIntFilter<$PrismaModel> _min?: NestedBytesFilter<$PrismaModel> _max?: NestedBytesFilter<$PrismaModel> } export type VectorDocument1024CountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder content?: SortOrder metadata?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type VectorDocument1024MaxOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder content?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type VectorDocument1024MinOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder content?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type VectorDocument1536CountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder content?: SortOrder metadata?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type VectorDocument1536MaxOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder content?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type VectorDocument1536MinOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder content?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type VectorDocument3072CountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder content?: SortOrder metadata?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type VectorDocument3072MaxOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder content?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type VectorDocument3072MinOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder content?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type VectorDocumentLegacyCountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder content?: SortOrder metadata?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type VectorDocumentLegacyMaxOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder content?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type VectorDocumentLegacyMinOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder content?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type VectorDocument4096CountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder content?: SortOrder metadata?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type VectorDocument4096MaxOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder content?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type VectorDocument4096MinOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder content?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type IntNullableFilter<$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 BigIntNullableFilter<$PrismaModel = never> = { equals?: bigint | number | BigIntFieldRefInput<$PrismaModel> | null in?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel> | null notIn?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel> | null lt?: bigint | number | BigIntFieldRefInput<$PrismaModel> lte?: bigint | number | BigIntFieldRefInput<$PrismaModel> gt?: bigint | number | BigIntFieldRefInput<$PrismaModel> gte?: bigint | number | BigIntFieldRefInput<$PrismaModel> not?: NestedBigIntNullableFilter<$PrismaModel> | bigint | number | null } export type IndexJobCountOrderByAggregateInput = { jobId?: SortOrder projectId?: SortOrder projectPath?: SortOrder status?: SortOrder current?: SortOrder total?: SortOrder percentage?: SortOrder filesIndexed?: SortOrder chunksIndexed?: SortOrder errors?: SortOrder duration?: SortOrder error?: SortOrder createdAt?: SortOrder startedAt?: SortOrder completedAt?: SortOrder heartbeatAt?: SortOrder activatedGraphGenerationId?: SortOrder parserDiagnosticsCount?: SortOrder parserRecoveredFiles?: SortOrder parserHardFailureFiles?: SortOrder parserStaleFiles?: SortOrder parserLanguageCounts?: SortOrder } export type IndexJobAvgOrderByAggregateInput = { current?: SortOrder total?: SortOrder percentage?: SortOrder filesIndexed?: SortOrder chunksIndexed?: SortOrder errors?: SortOrder duration?: SortOrder createdAt?: SortOrder startedAt?: SortOrder completedAt?: SortOrder heartbeatAt?: SortOrder parserDiagnosticsCount?: SortOrder parserRecoveredFiles?: SortOrder parserHardFailureFiles?: SortOrder parserStaleFiles?: SortOrder } export type IndexJobMaxOrderByAggregateInput = { jobId?: SortOrder projectId?: SortOrder projectPath?: SortOrder status?: SortOrder current?: SortOrder total?: SortOrder percentage?: SortOrder filesIndexed?: SortOrder chunksIndexed?: SortOrder errors?: SortOrder duration?: SortOrder error?: SortOrder createdAt?: SortOrder startedAt?: SortOrder completedAt?: SortOrder heartbeatAt?: SortOrder activatedGraphGenerationId?: SortOrder parserDiagnosticsCount?: SortOrder parserRecoveredFiles?: SortOrder parserHardFailureFiles?: SortOrder parserStaleFiles?: SortOrder } export type IndexJobMinOrderByAggregateInput = { jobId?: SortOrder projectId?: SortOrder projectPath?: SortOrder status?: SortOrder current?: SortOrder total?: SortOrder percentage?: SortOrder filesIndexed?: SortOrder chunksIndexed?: SortOrder errors?: SortOrder duration?: SortOrder error?: SortOrder createdAt?: SortOrder startedAt?: SortOrder completedAt?: SortOrder heartbeatAt?: SortOrder activatedGraphGenerationId?: SortOrder parserDiagnosticsCount?: SortOrder parserRecoveredFiles?: SortOrder parserHardFailureFiles?: SortOrder parserStaleFiles?: SortOrder } export type IndexJobSumOrderByAggregateInput = { current?: SortOrder total?: SortOrder percentage?: SortOrder filesIndexed?: SortOrder chunksIndexed?: SortOrder errors?: SortOrder duration?: SortOrder createdAt?: SortOrder startedAt?: SortOrder completedAt?: SortOrder heartbeatAt?: SortOrder parserDiagnosticsCount?: SortOrder parserRecoveredFiles?: SortOrder parserHardFailureFiles?: SortOrder parserStaleFiles?: SortOrder } export type IntNullableWithAggregatesFilter<$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?: NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null _count?: NestedIntNullableFilter<$PrismaModel> _avg?: NestedFloatNullableFilter<$PrismaModel> _sum?: NestedIntNullableFilter<$PrismaModel> _min?: NestedIntNullableFilter<$PrismaModel> _max?: NestedIntNullableFilter<$PrismaModel> } export type BigIntNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: bigint | number | BigIntFieldRefInput<$PrismaModel> | null in?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel> | null notIn?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel> | null lt?: bigint | number | BigIntFieldRefInput<$PrismaModel> lte?: bigint | number | BigIntFieldRefInput<$PrismaModel> gt?: bigint | number | BigIntFieldRefInput<$PrismaModel> gte?: bigint | number | BigIntFieldRefInput<$PrismaModel> not?: NestedBigIntNullableWithAggregatesFilter<$PrismaModel> | bigint | number | null _count?: NestedIntNullableFilter<$PrismaModel> _avg?: NestedFloatNullableFilter<$PrismaModel> _sum?: NestedBigIntNullableFilter<$PrismaModel> _min?: NestedBigIntNullableFilter<$PrismaModel> _max?: NestedBigIntNullableFilter<$PrismaModel> } export type ScheduledJobCountOrderByAggregateInput = { id?: SortOrder name?: SortOrder jobKind?: SortOrder scheduleType?: SortOrder intervalMs?: SortOrder cron?: SortOrder nextRunAt?: SortOrder lastRunAt?: SortOrder enabled?: SortOrder payload?: SortOrder } export type ScheduledJobAvgOrderByAggregateInput = { intervalMs?: SortOrder nextRunAt?: SortOrder lastRunAt?: SortOrder enabled?: SortOrder } export type ScheduledJobMaxOrderByAggregateInput = { id?: SortOrder name?: SortOrder jobKind?: SortOrder scheduleType?: SortOrder intervalMs?: SortOrder cron?: SortOrder nextRunAt?: SortOrder lastRunAt?: SortOrder enabled?: SortOrder payload?: SortOrder } export type ScheduledJobMinOrderByAggregateInput = { id?: SortOrder name?: SortOrder jobKind?: SortOrder scheduleType?: SortOrder intervalMs?: SortOrder cron?: SortOrder nextRunAt?: SortOrder lastRunAt?: SortOrder enabled?: SortOrder payload?: SortOrder } export type ScheduledJobSumOrderByAggregateInput = { intervalMs?: SortOrder nextRunAt?: SortOrder lastRunAt?: SortOrder enabled?: SortOrder } export type SynapseSessionCountOrderByAggregateInput = { sessionId?: SortOrder agentId?: SortOrder workspaceId?: SortOrder taskContext?: SortOrder taskTokens?: SortOrder taskEmbedding?: SortOrder ttlMs?: SortOrder createdAt?: SortOrder expiresAt?: SortOrder accessHistoryLimit?: SortOrder bufferConfig?: SortOrder bufferSnapshot?: SortOrder updatedAt?: SortOrder } export type SynapseSessionAvgOrderByAggregateInput = { ttlMs?: SortOrder createdAt?: SortOrder expiresAt?: SortOrder accessHistoryLimit?: SortOrder updatedAt?: SortOrder } export type SynapseSessionMaxOrderByAggregateInput = { sessionId?: SortOrder agentId?: SortOrder workspaceId?: SortOrder taskContext?: SortOrder taskTokens?: SortOrder taskEmbedding?: SortOrder ttlMs?: SortOrder createdAt?: SortOrder expiresAt?: SortOrder accessHistoryLimit?: SortOrder bufferConfig?: SortOrder bufferSnapshot?: SortOrder updatedAt?: SortOrder } export type SynapseSessionMinOrderByAggregateInput = { sessionId?: SortOrder agentId?: SortOrder workspaceId?: SortOrder taskContext?: SortOrder taskTokens?: SortOrder taskEmbedding?: SortOrder ttlMs?: SortOrder createdAt?: SortOrder expiresAt?: SortOrder accessHistoryLimit?: SortOrder bufferConfig?: SortOrder bufferSnapshot?: SortOrder updatedAt?: SortOrder } export type SynapseSessionSumOrderByAggregateInput = { ttlMs?: SortOrder createdAt?: SortOrder expiresAt?: SortOrder accessHistoryLimit?: SortOrder updatedAt?: SortOrder } export type SynapseAccessHistorySessionIdMemoryIdCompoundUniqueInput = { sessionId: string memoryId: string } export type SynapseAccessHistoryCountOrderByAggregateInput = { sessionId?: SortOrder memoryId?: SortOrder accessCount?: SortOrder lastAccessedAt?: SortOrder } export type SynapseAccessHistoryAvgOrderByAggregateInput = { accessCount?: SortOrder lastAccessedAt?: SortOrder } export type SynapseAccessHistoryMaxOrderByAggregateInput = { sessionId?: SortOrder memoryId?: SortOrder accessCount?: SortOrder lastAccessedAt?: SortOrder } export type SynapseAccessHistoryMinOrderByAggregateInput = { sessionId?: SortOrder memoryId?: SortOrder accessCount?: SortOrder lastAccessedAt?: SortOrder } export type SynapseAccessHistorySumOrderByAggregateInput = { accessCount?: SortOrder lastAccessedAt?: SortOrder } export type CheckpointCountOrderByAggregateInput = { id?: SortOrder taskId?: SortOrder taskDescription?: SortOrder agentId?: SortOrder projectId?: SortOrder state?: SortOrder stateSchemaVersion?: SortOrder memoryIds?: SortOrder fileChanges?: SortOrder checkpointType?: SortOrder parentCheckpointId?: SortOrder createdAt?: SortOrder expiresAt?: SortOrder } export type CheckpointAvgOrderByAggregateInput = { stateSchemaVersion?: SortOrder createdAt?: SortOrder expiresAt?: SortOrder } export type CheckpointMaxOrderByAggregateInput = { id?: SortOrder taskId?: SortOrder taskDescription?: SortOrder agentId?: SortOrder projectId?: SortOrder state?: SortOrder stateSchemaVersion?: SortOrder memoryIds?: SortOrder fileChanges?: SortOrder checkpointType?: SortOrder parentCheckpointId?: SortOrder createdAt?: SortOrder expiresAt?: SortOrder } export type CheckpointMinOrderByAggregateInput = { id?: SortOrder taskId?: SortOrder taskDescription?: SortOrder agentId?: SortOrder projectId?: SortOrder state?: SortOrder stateSchemaVersion?: SortOrder memoryIds?: SortOrder fileChanges?: SortOrder checkpointType?: SortOrder parentCheckpointId?: SortOrder createdAt?: SortOrder expiresAt?: SortOrder } export type CheckpointSumOrderByAggregateInput = { stateSchemaVersion?: SortOrder createdAt?: SortOrder expiresAt?: SortOrder } export type MemoryCreatetagsInput = { set: string[] } export type MemoryEdgeCreateNestedManyWithoutFromMemoryInput = { create?: XOR | MemoryEdgeCreateWithoutFromMemoryInput[] | MemoryEdgeUncheckedCreateWithoutFromMemoryInput[] connectOrCreate?: MemoryEdgeCreateOrConnectWithoutFromMemoryInput | MemoryEdgeCreateOrConnectWithoutFromMemoryInput[] createMany?: MemoryEdgeCreateManyFromMemoryInputEnvelope connect?: MemoryEdgeWhereUniqueInput | MemoryEdgeWhereUniqueInput[] } export type MemoryEdgeCreateNestedManyWithoutToMemoryInput = { create?: XOR | MemoryEdgeCreateWithoutToMemoryInput[] | MemoryEdgeUncheckedCreateWithoutToMemoryInput[] connectOrCreate?: MemoryEdgeCreateOrConnectWithoutToMemoryInput | MemoryEdgeCreateOrConnectWithoutToMemoryInput[] createMany?: MemoryEdgeCreateManyToMemoryInputEnvelope connect?: MemoryEdgeWhereUniqueInput | MemoryEdgeWhereUniqueInput[] } export type MemoryEdgeUncheckedCreateNestedManyWithoutFromMemoryInput = { create?: XOR | MemoryEdgeCreateWithoutFromMemoryInput[] | MemoryEdgeUncheckedCreateWithoutFromMemoryInput[] connectOrCreate?: MemoryEdgeCreateOrConnectWithoutFromMemoryInput | MemoryEdgeCreateOrConnectWithoutFromMemoryInput[] createMany?: MemoryEdgeCreateManyFromMemoryInputEnvelope connect?: MemoryEdgeWhereUniqueInput | MemoryEdgeWhereUniqueInput[] } export type MemoryEdgeUncheckedCreateNestedManyWithoutToMemoryInput = { create?: XOR | MemoryEdgeCreateWithoutToMemoryInput[] | MemoryEdgeUncheckedCreateWithoutToMemoryInput[] connectOrCreate?: MemoryEdgeCreateOrConnectWithoutToMemoryInput | MemoryEdgeCreateOrConnectWithoutToMemoryInput[] createMany?: MemoryEdgeCreateManyToMemoryInputEnvelope connect?: MemoryEdgeWhereUniqueInput | MemoryEdgeWhereUniqueInput[] } export type StringFieldUpdateOperationsInput = { set?: string } export type IntFieldUpdateOperationsInput = { set?: number increment?: number decrement?: number multiply?: number divide?: number } export type NullableStringFieldUpdateOperationsInput = { set?: string | null } export type FloatFieldUpdateOperationsInput = { set?: number increment?: number decrement?: number multiply?: number divide?: number } export type MemoryUpdatetagsInput = { set?: string[] push?: string | string[] } export type NullableBytesFieldUpdateOperationsInput = { set?: Bytes | null } export type DateTimeFieldUpdateOperationsInput = { set?: Date | string } export type NullableDateTimeFieldUpdateOperationsInput = { set?: Date | string | null } export type BoolFieldUpdateOperationsInput = { set?: boolean } export type MemoryEdgeUpdateManyWithoutFromMemoryNestedInput = { create?: XOR | MemoryEdgeCreateWithoutFromMemoryInput[] | MemoryEdgeUncheckedCreateWithoutFromMemoryInput[] connectOrCreate?: MemoryEdgeCreateOrConnectWithoutFromMemoryInput | MemoryEdgeCreateOrConnectWithoutFromMemoryInput[] upsert?: MemoryEdgeUpsertWithWhereUniqueWithoutFromMemoryInput | MemoryEdgeUpsertWithWhereUniqueWithoutFromMemoryInput[] createMany?: MemoryEdgeCreateManyFromMemoryInputEnvelope set?: MemoryEdgeWhereUniqueInput | MemoryEdgeWhereUniqueInput[] disconnect?: MemoryEdgeWhereUniqueInput | MemoryEdgeWhereUniqueInput[] delete?: MemoryEdgeWhereUniqueInput | MemoryEdgeWhereUniqueInput[] connect?: MemoryEdgeWhereUniqueInput | MemoryEdgeWhereUniqueInput[] update?: MemoryEdgeUpdateWithWhereUniqueWithoutFromMemoryInput | MemoryEdgeUpdateWithWhereUniqueWithoutFromMemoryInput[] updateMany?: MemoryEdgeUpdateManyWithWhereWithoutFromMemoryInput | MemoryEdgeUpdateManyWithWhereWithoutFromMemoryInput[] deleteMany?: MemoryEdgeScalarWhereInput | MemoryEdgeScalarWhereInput[] } export type MemoryEdgeUpdateManyWithoutToMemoryNestedInput = { create?: XOR | MemoryEdgeCreateWithoutToMemoryInput[] | MemoryEdgeUncheckedCreateWithoutToMemoryInput[] connectOrCreate?: MemoryEdgeCreateOrConnectWithoutToMemoryInput | MemoryEdgeCreateOrConnectWithoutToMemoryInput[] upsert?: MemoryEdgeUpsertWithWhereUniqueWithoutToMemoryInput | MemoryEdgeUpsertWithWhereUniqueWithoutToMemoryInput[] createMany?: MemoryEdgeCreateManyToMemoryInputEnvelope set?: MemoryEdgeWhereUniqueInput | MemoryEdgeWhereUniqueInput[] disconnect?: MemoryEdgeWhereUniqueInput | MemoryEdgeWhereUniqueInput[] delete?: MemoryEdgeWhereUniqueInput | MemoryEdgeWhereUniqueInput[] connect?: MemoryEdgeWhereUniqueInput | MemoryEdgeWhereUniqueInput[] update?: MemoryEdgeUpdateWithWhereUniqueWithoutToMemoryInput | MemoryEdgeUpdateWithWhereUniqueWithoutToMemoryInput[] updateMany?: MemoryEdgeUpdateManyWithWhereWithoutToMemoryInput | MemoryEdgeUpdateManyWithWhereWithoutToMemoryInput[] deleteMany?: MemoryEdgeScalarWhereInput | MemoryEdgeScalarWhereInput[] } export type MemoryEdgeUncheckedUpdateManyWithoutFromMemoryNestedInput = { create?: XOR | MemoryEdgeCreateWithoutFromMemoryInput[] | MemoryEdgeUncheckedCreateWithoutFromMemoryInput[] connectOrCreate?: MemoryEdgeCreateOrConnectWithoutFromMemoryInput | MemoryEdgeCreateOrConnectWithoutFromMemoryInput[] upsert?: MemoryEdgeUpsertWithWhereUniqueWithoutFromMemoryInput | MemoryEdgeUpsertWithWhereUniqueWithoutFromMemoryInput[] createMany?: MemoryEdgeCreateManyFromMemoryInputEnvelope set?: MemoryEdgeWhereUniqueInput | MemoryEdgeWhereUniqueInput[] disconnect?: MemoryEdgeWhereUniqueInput | MemoryEdgeWhereUniqueInput[] delete?: MemoryEdgeWhereUniqueInput | MemoryEdgeWhereUniqueInput[] connect?: MemoryEdgeWhereUniqueInput | MemoryEdgeWhereUniqueInput[] update?: MemoryEdgeUpdateWithWhereUniqueWithoutFromMemoryInput | MemoryEdgeUpdateWithWhereUniqueWithoutFromMemoryInput[] updateMany?: MemoryEdgeUpdateManyWithWhereWithoutFromMemoryInput | MemoryEdgeUpdateManyWithWhereWithoutFromMemoryInput[] deleteMany?: MemoryEdgeScalarWhereInput | MemoryEdgeScalarWhereInput[] } export type MemoryEdgeUncheckedUpdateManyWithoutToMemoryNestedInput = { create?: XOR | MemoryEdgeCreateWithoutToMemoryInput[] | MemoryEdgeUncheckedCreateWithoutToMemoryInput[] connectOrCreate?: MemoryEdgeCreateOrConnectWithoutToMemoryInput | MemoryEdgeCreateOrConnectWithoutToMemoryInput[] upsert?: MemoryEdgeUpsertWithWhereUniqueWithoutToMemoryInput | MemoryEdgeUpsertWithWhereUniqueWithoutToMemoryInput[] createMany?: MemoryEdgeCreateManyToMemoryInputEnvelope set?: MemoryEdgeWhereUniqueInput | MemoryEdgeWhereUniqueInput[] disconnect?: MemoryEdgeWhereUniqueInput | MemoryEdgeWhereUniqueInput[] delete?: MemoryEdgeWhereUniqueInput | MemoryEdgeWhereUniqueInput[] connect?: MemoryEdgeWhereUniqueInput | MemoryEdgeWhereUniqueInput[] update?: MemoryEdgeUpdateWithWhereUniqueWithoutToMemoryInput | MemoryEdgeUpdateWithWhereUniqueWithoutToMemoryInput[] updateMany?: MemoryEdgeUpdateManyWithWhereWithoutToMemoryInput | MemoryEdgeUpdateManyWithWhereWithoutToMemoryInput[] deleteMany?: MemoryEdgeScalarWhereInput | MemoryEdgeScalarWhereInput[] } export type DocumentCreateNestedManyWithoutProjectInput = { create?: XOR | DocumentCreateWithoutProjectInput[] | DocumentUncheckedCreateWithoutProjectInput[] connectOrCreate?: DocumentCreateOrConnectWithoutProjectInput | DocumentCreateOrConnectWithoutProjectInput[] createMany?: DocumentCreateManyProjectInputEnvelope connect?: DocumentWhereUniqueInput | DocumentWhereUniqueInput[] } export type DocumentUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | DocumentCreateWithoutProjectInput[] | DocumentUncheckedCreateWithoutProjectInput[] connectOrCreate?: DocumentCreateOrConnectWithoutProjectInput | DocumentCreateOrConnectWithoutProjectInput[] createMany?: DocumentCreateManyProjectInputEnvelope connect?: DocumentWhereUniqueInput | DocumentWhereUniqueInput[] } export type DocumentUpdateManyWithoutProjectNestedInput = { create?: XOR | DocumentCreateWithoutProjectInput[] | DocumentUncheckedCreateWithoutProjectInput[] connectOrCreate?: DocumentCreateOrConnectWithoutProjectInput | DocumentCreateOrConnectWithoutProjectInput[] upsert?: DocumentUpsertWithWhereUniqueWithoutProjectInput | DocumentUpsertWithWhereUniqueWithoutProjectInput[] createMany?: DocumentCreateManyProjectInputEnvelope set?: DocumentWhereUniqueInput | DocumentWhereUniqueInput[] disconnect?: DocumentWhereUniqueInput | DocumentWhereUniqueInput[] delete?: DocumentWhereUniqueInput | DocumentWhereUniqueInput[] connect?: DocumentWhereUniqueInput | DocumentWhereUniqueInput[] update?: DocumentUpdateWithWhereUniqueWithoutProjectInput | DocumentUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: DocumentUpdateManyWithWhereWithoutProjectInput | DocumentUpdateManyWithWhereWithoutProjectInput[] deleteMany?: DocumentScalarWhereInput | DocumentScalarWhereInput[] } export type DocumentUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | DocumentCreateWithoutProjectInput[] | DocumentUncheckedCreateWithoutProjectInput[] connectOrCreate?: DocumentCreateOrConnectWithoutProjectInput | DocumentCreateOrConnectWithoutProjectInput[] upsert?: DocumentUpsertWithWhereUniqueWithoutProjectInput | DocumentUpsertWithWhereUniqueWithoutProjectInput[] createMany?: DocumentCreateManyProjectInputEnvelope set?: DocumentWhereUniqueInput | DocumentWhereUniqueInput[] disconnect?: DocumentWhereUniqueInput | DocumentWhereUniqueInput[] delete?: DocumentWhereUniqueInput | DocumentWhereUniqueInput[] connect?: DocumentWhereUniqueInput | DocumentWhereUniqueInput[] update?: DocumentUpdateWithWhereUniqueWithoutProjectInput | DocumentUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: DocumentUpdateManyWithWhereWithoutProjectInput | DocumentUpdateManyWithWhereWithoutProjectInput[] deleteMany?: DocumentScalarWhereInput | DocumentScalarWhereInput[] } export type ProjectCreateNestedOneWithoutDocumentsInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutDocumentsInput connect?: ProjectWhereUniqueInput } export type ProjectUpdateOneRequiredWithoutDocumentsNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutDocumentsInput upsert?: ProjectUpsertWithoutDocumentsInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutDocumentsInput> } export type SymbolFileCreateNestedManyWithoutWorkspaceInput = { create?: XOR | SymbolFileCreateWithoutWorkspaceInput[] | SymbolFileUncheckedCreateWithoutWorkspaceInput[] connectOrCreate?: SymbolFileCreateOrConnectWithoutWorkspaceInput | SymbolFileCreateOrConnectWithoutWorkspaceInput[] createMany?: SymbolFileCreateManyWorkspaceInputEnvelope connect?: SymbolFileWhereUniqueInput | SymbolFileWhereUniqueInput[] } export type SymbolDefinitionCreateNestedManyWithoutWorkspaceInput = { create?: XOR | SymbolDefinitionCreateWithoutWorkspaceInput[] | SymbolDefinitionUncheckedCreateWithoutWorkspaceInput[] connectOrCreate?: SymbolDefinitionCreateOrConnectWithoutWorkspaceInput | SymbolDefinitionCreateOrConnectWithoutWorkspaceInput[] createMany?: SymbolDefinitionCreateManyWorkspaceInputEnvelope connect?: SymbolDefinitionWhereUniqueInput | SymbolDefinitionWhereUniqueInput[] } export type SymbolReferenceCreateNestedManyWithoutWorkspaceInput = { create?: XOR | SymbolReferenceCreateWithoutWorkspaceInput[] | SymbolReferenceUncheckedCreateWithoutWorkspaceInput[] connectOrCreate?: SymbolReferenceCreateOrConnectWithoutWorkspaceInput | SymbolReferenceCreateOrConnectWithoutWorkspaceInput[] createMany?: SymbolReferenceCreateManyWorkspaceInputEnvelope connect?: SymbolReferenceWhereUniqueInput | SymbolReferenceWhereUniqueInput[] } export type SymbolImportCreateNestedManyWithoutWorkspaceInput = { create?: XOR | SymbolImportCreateWithoutWorkspaceInput[] | SymbolImportUncheckedCreateWithoutWorkspaceInput[] connectOrCreate?: SymbolImportCreateOrConnectWithoutWorkspaceInput | SymbolImportCreateOrConnectWithoutWorkspaceInput[] createMany?: SymbolImportCreateManyWorkspaceInputEnvelope connect?: SymbolImportWhereUniqueInput | SymbolImportWhereUniqueInput[] } export type SymbolCentralityCreateNestedManyWithoutWorkspaceInput = { create?: XOR | SymbolCentralityCreateWithoutWorkspaceInput[] | SymbolCentralityUncheckedCreateWithoutWorkspaceInput[] connectOrCreate?: SymbolCentralityCreateOrConnectWithoutWorkspaceInput | SymbolCentralityCreateOrConnectWithoutWorkspaceInput[] createMany?: SymbolCentralityCreateManyWorkspaceInputEnvelope connect?: SymbolCentralityWhereUniqueInput | SymbolCentralityWhereUniqueInput[] } export type GraphGenerationCreateNestedManyWithoutWorkspaceInput = { create?: XOR | GraphGenerationCreateWithoutWorkspaceInput[] | GraphGenerationUncheckedCreateWithoutWorkspaceInput[] connectOrCreate?: GraphGenerationCreateOrConnectWithoutWorkspaceInput | GraphGenerationCreateOrConnectWithoutWorkspaceInput[] createMany?: GraphGenerationCreateManyWorkspaceInputEnvelope connect?: GraphGenerationWhereUniqueInput | GraphGenerationWhereUniqueInput[] } export type GraphGenerationCreateNestedOneWithoutActiveForWorkspacesInput = { create?: XOR connectOrCreate?: GraphGenerationCreateOrConnectWithoutActiveForWorkspacesInput connect?: GraphGenerationWhereUniqueInput } export type GraphGenerationCreateNestedOneWithoutPendingForWorkspacesInput = { create?: XOR connectOrCreate?: GraphGenerationCreateOrConnectWithoutPendingForWorkspacesInput connect?: GraphGenerationWhereUniqueInput } export type SymbolFileUncheckedCreateNestedManyWithoutWorkspaceInput = { create?: XOR | SymbolFileCreateWithoutWorkspaceInput[] | SymbolFileUncheckedCreateWithoutWorkspaceInput[] connectOrCreate?: SymbolFileCreateOrConnectWithoutWorkspaceInput | SymbolFileCreateOrConnectWithoutWorkspaceInput[] createMany?: SymbolFileCreateManyWorkspaceInputEnvelope connect?: SymbolFileWhereUniqueInput | SymbolFileWhereUniqueInput[] } export type SymbolDefinitionUncheckedCreateNestedManyWithoutWorkspaceInput = { create?: XOR | SymbolDefinitionCreateWithoutWorkspaceInput[] | SymbolDefinitionUncheckedCreateWithoutWorkspaceInput[] connectOrCreate?: SymbolDefinitionCreateOrConnectWithoutWorkspaceInput | SymbolDefinitionCreateOrConnectWithoutWorkspaceInput[] createMany?: SymbolDefinitionCreateManyWorkspaceInputEnvelope connect?: SymbolDefinitionWhereUniqueInput | SymbolDefinitionWhereUniqueInput[] } export type SymbolReferenceUncheckedCreateNestedManyWithoutWorkspaceInput = { create?: XOR | SymbolReferenceCreateWithoutWorkspaceInput[] | SymbolReferenceUncheckedCreateWithoutWorkspaceInput[] connectOrCreate?: SymbolReferenceCreateOrConnectWithoutWorkspaceInput | SymbolReferenceCreateOrConnectWithoutWorkspaceInput[] createMany?: SymbolReferenceCreateManyWorkspaceInputEnvelope connect?: SymbolReferenceWhereUniqueInput | SymbolReferenceWhereUniqueInput[] } export type SymbolImportUncheckedCreateNestedManyWithoutWorkspaceInput = { create?: XOR | SymbolImportCreateWithoutWorkspaceInput[] | SymbolImportUncheckedCreateWithoutWorkspaceInput[] connectOrCreate?: SymbolImportCreateOrConnectWithoutWorkspaceInput | SymbolImportCreateOrConnectWithoutWorkspaceInput[] createMany?: SymbolImportCreateManyWorkspaceInputEnvelope connect?: SymbolImportWhereUniqueInput | SymbolImportWhereUniqueInput[] } export type SymbolCentralityUncheckedCreateNestedManyWithoutWorkspaceInput = { create?: XOR | SymbolCentralityCreateWithoutWorkspaceInput[] | SymbolCentralityUncheckedCreateWithoutWorkspaceInput[] connectOrCreate?: SymbolCentralityCreateOrConnectWithoutWorkspaceInput | SymbolCentralityCreateOrConnectWithoutWorkspaceInput[] createMany?: SymbolCentralityCreateManyWorkspaceInputEnvelope connect?: SymbolCentralityWhereUniqueInput | SymbolCentralityWhereUniqueInput[] } export type GraphGenerationUncheckedCreateNestedManyWithoutWorkspaceInput = { create?: XOR | GraphGenerationCreateWithoutWorkspaceInput[] | GraphGenerationUncheckedCreateWithoutWorkspaceInput[] connectOrCreate?: GraphGenerationCreateOrConnectWithoutWorkspaceInput | GraphGenerationCreateOrConnectWithoutWorkspaceInput[] createMany?: GraphGenerationCreateManyWorkspaceInputEnvelope connect?: GraphGenerationWhereUniqueInput | GraphGenerationWhereUniqueInput[] } export type SymbolFileUpdateManyWithoutWorkspaceNestedInput = { create?: XOR | SymbolFileCreateWithoutWorkspaceInput[] | SymbolFileUncheckedCreateWithoutWorkspaceInput[] connectOrCreate?: SymbolFileCreateOrConnectWithoutWorkspaceInput | SymbolFileCreateOrConnectWithoutWorkspaceInput[] upsert?: SymbolFileUpsertWithWhereUniqueWithoutWorkspaceInput | SymbolFileUpsertWithWhereUniqueWithoutWorkspaceInput[] createMany?: SymbolFileCreateManyWorkspaceInputEnvelope set?: SymbolFileWhereUniqueInput | SymbolFileWhereUniqueInput[] disconnect?: SymbolFileWhereUniqueInput | SymbolFileWhereUniqueInput[] delete?: SymbolFileWhereUniqueInput | SymbolFileWhereUniqueInput[] connect?: SymbolFileWhereUniqueInput | SymbolFileWhereUniqueInput[] update?: SymbolFileUpdateWithWhereUniqueWithoutWorkspaceInput | SymbolFileUpdateWithWhereUniqueWithoutWorkspaceInput[] updateMany?: SymbolFileUpdateManyWithWhereWithoutWorkspaceInput | SymbolFileUpdateManyWithWhereWithoutWorkspaceInput[] deleteMany?: SymbolFileScalarWhereInput | SymbolFileScalarWhereInput[] } export type SymbolDefinitionUpdateManyWithoutWorkspaceNestedInput = { create?: XOR | SymbolDefinitionCreateWithoutWorkspaceInput[] | SymbolDefinitionUncheckedCreateWithoutWorkspaceInput[] connectOrCreate?: SymbolDefinitionCreateOrConnectWithoutWorkspaceInput | SymbolDefinitionCreateOrConnectWithoutWorkspaceInput[] upsert?: SymbolDefinitionUpsertWithWhereUniqueWithoutWorkspaceInput | SymbolDefinitionUpsertWithWhereUniqueWithoutWorkspaceInput[] createMany?: SymbolDefinitionCreateManyWorkspaceInputEnvelope set?: SymbolDefinitionWhereUniqueInput | SymbolDefinitionWhereUniqueInput[] disconnect?: SymbolDefinitionWhereUniqueInput | SymbolDefinitionWhereUniqueInput[] delete?: SymbolDefinitionWhereUniqueInput | SymbolDefinitionWhereUniqueInput[] connect?: SymbolDefinitionWhereUniqueInput | SymbolDefinitionWhereUniqueInput[] update?: SymbolDefinitionUpdateWithWhereUniqueWithoutWorkspaceInput | SymbolDefinitionUpdateWithWhereUniqueWithoutWorkspaceInput[] updateMany?: SymbolDefinitionUpdateManyWithWhereWithoutWorkspaceInput | SymbolDefinitionUpdateManyWithWhereWithoutWorkspaceInput[] deleteMany?: SymbolDefinitionScalarWhereInput | SymbolDefinitionScalarWhereInput[] } export type SymbolReferenceUpdateManyWithoutWorkspaceNestedInput = { create?: XOR | SymbolReferenceCreateWithoutWorkspaceInput[] | SymbolReferenceUncheckedCreateWithoutWorkspaceInput[] connectOrCreate?: SymbolReferenceCreateOrConnectWithoutWorkspaceInput | SymbolReferenceCreateOrConnectWithoutWorkspaceInput[] upsert?: SymbolReferenceUpsertWithWhereUniqueWithoutWorkspaceInput | SymbolReferenceUpsertWithWhereUniqueWithoutWorkspaceInput[] createMany?: SymbolReferenceCreateManyWorkspaceInputEnvelope set?: SymbolReferenceWhereUniqueInput | SymbolReferenceWhereUniqueInput[] disconnect?: SymbolReferenceWhereUniqueInput | SymbolReferenceWhereUniqueInput[] delete?: SymbolReferenceWhereUniqueInput | SymbolReferenceWhereUniqueInput[] connect?: SymbolReferenceWhereUniqueInput | SymbolReferenceWhereUniqueInput[] update?: SymbolReferenceUpdateWithWhereUniqueWithoutWorkspaceInput | SymbolReferenceUpdateWithWhereUniqueWithoutWorkspaceInput[] updateMany?: SymbolReferenceUpdateManyWithWhereWithoutWorkspaceInput | SymbolReferenceUpdateManyWithWhereWithoutWorkspaceInput[] deleteMany?: SymbolReferenceScalarWhereInput | SymbolReferenceScalarWhereInput[] } export type SymbolImportUpdateManyWithoutWorkspaceNestedInput = { create?: XOR | SymbolImportCreateWithoutWorkspaceInput[] | SymbolImportUncheckedCreateWithoutWorkspaceInput[] connectOrCreate?: SymbolImportCreateOrConnectWithoutWorkspaceInput | SymbolImportCreateOrConnectWithoutWorkspaceInput[] upsert?: SymbolImportUpsertWithWhereUniqueWithoutWorkspaceInput | SymbolImportUpsertWithWhereUniqueWithoutWorkspaceInput[] createMany?: SymbolImportCreateManyWorkspaceInputEnvelope set?: SymbolImportWhereUniqueInput | SymbolImportWhereUniqueInput[] disconnect?: SymbolImportWhereUniqueInput | SymbolImportWhereUniqueInput[] delete?: SymbolImportWhereUniqueInput | SymbolImportWhereUniqueInput[] connect?: SymbolImportWhereUniqueInput | SymbolImportWhereUniqueInput[] update?: SymbolImportUpdateWithWhereUniqueWithoutWorkspaceInput | SymbolImportUpdateWithWhereUniqueWithoutWorkspaceInput[] updateMany?: SymbolImportUpdateManyWithWhereWithoutWorkspaceInput | SymbolImportUpdateManyWithWhereWithoutWorkspaceInput[] deleteMany?: SymbolImportScalarWhereInput | SymbolImportScalarWhereInput[] } export type SymbolCentralityUpdateManyWithoutWorkspaceNestedInput = { create?: XOR | SymbolCentralityCreateWithoutWorkspaceInput[] | SymbolCentralityUncheckedCreateWithoutWorkspaceInput[] connectOrCreate?: SymbolCentralityCreateOrConnectWithoutWorkspaceInput | SymbolCentralityCreateOrConnectWithoutWorkspaceInput[] upsert?: SymbolCentralityUpsertWithWhereUniqueWithoutWorkspaceInput | SymbolCentralityUpsertWithWhereUniqueWithoutWorkspaceInput[] createMany?: SymbolCentralityCreateManyWorkspaceInputEnvelope set?: SymbolCentralityWhereUniqueInput | SymbolCentralityWhereUniqueInput[] disconnect?: SymbolCentralityWhereUniqueInput | SymbolCentralityWhereUniqueInput[] delete?: SymbolCentralityWhereUniqueInput | SymbolCentralityWhereUniqueInput[] connect?: SymbolCentralityWhereUniqueInput | SymbolCentralityWhereUniqueInput[] update?: SymbolCentralityUpdateWithWhereUniqueWithoutWorkspaceInput | SymbolCentralityUpdateWithWhereUniqueWithoutWorkspaceInput[] updateMany?: SymbolCentralityUpdateManyWithWhereWithoutWorkspaceInput | SymbolCentralityUpdateManyWithWhereWithoutWorkspaceInput[] deleteMany?: SymbolCentralityScalarWhereInput | SymbolCentralityScalarWhereInput[] } export type GraphGenerationUpdateManyWithoutWorkspaceNestedInput = { create?: XOR | GraphGenerationCreateWithoutWorkspaceInput[] | GraphGenerationUncheckedCreateWithoutWorkspaceInput[] connectOrCreate?: GraphGenerationCreateOrConnectWithoutWorkspaceInput | GraphGenerationCreateOrConnectWithoutWorkspaceInput[] upsert?: GraphGenerationUpsertWithWhereUniqueWithoutWorkspaceInput | GraphGenerationUpsertWithWhereUniqueWithoutWorkspaceInput[] createMany?: GraphGenerationCreateManyWorkspaceInputEnvelope set?: GraphGenerationWhereUniqueInput | GraphGenerationWhereUniqueInput[] disconnect?: GraphGenerationWhereUniqueInput | GraphGenerationWhereUniqueInput[] delete?: GraphGenerationWhereUniqueInput | GraphGenerationWhereUniqueInput[] connect?: GraphGenerationWhereUniqueInput | GraphGenerationWhereUniqueInput[] update?: GraphGenerationUpdateWithWhereUniqueWithoutWorkspaceInput | GraphGenerationUpdateWithWhereUniqueWithoutWorkspaceInput[] updateMany?: GraphGenerationUpdateManyWithWhereWithoutWorkspaceInput | GraphGenerationUpdateManyWithWhereWithoutWorkspaceInput[] deleteMany?: GraphGenerationScalarWhereInput | GraphGenerationScalarWhereInput[] } export type GraphGenerationUpdateOneWithoutActiveForWorkspacesNestedInput = { create?: XOR connectOrCreate?: GraphGenerationCreateOrConnectWithoutActiveForWorkspacesInput upsert?: GraphGenerationUpsertWithoutActiveForWorkspacesInput disconnect?: GraphGenerationWhereInput | boolean delete?: GraphGenerationWhereInput | boolean connect?: GraphGenerationWhereUniqueInput update?: XOR, GraphGenerationUncheckedUpdateWithoutActiveForWorkspacesInput> } export type GraphGenerationUpdateOneWithoutPendingForWorkspacesNestedInput = { create?: XOR connectOrCreate?: GraphGenerationCreateOrConnectWithoutPendingForWorkspacesInput upsert?: GraphGenerationUpsertWithoutPendingForWorkspacesInput disconnect?: GraphGenerationWhereInput | boolean delete?: GraphGenerationWhereInput | boolean connect?: GraphGenerationWhereUniqueInput update?: XOR, GraphGenerationUncheckedUpdateWithoutPendingForWorkspacesInput> } export type SymbolFileUncheckedUpdateManyWithoutWorkspaceNestedInput = { create?: XOR | SymbolFileCreateWithoutWorkspaceInput[] | SymbolFileUncheckedCreateWithoutWorkspaceInput[] connectOrCreate?: SymbolFileCreateOrConnectWithoutWorkspaceInput | SymbolFileCreateOrConnectWithoutWorkspaceInput[] upsert?: SymbolFileUpsertWithWhereUniqueWithoutWorkspaceInput | SymbolFileUpsertWithWhereUniqueWithoutWorkspaceInput[] createMany?: SymbolFileCreateManyWorkspaceInputEnvelope set?: SymbolFileWhereUniqueInput | SymbolFileWhereUniqueInput[] disconnect?: SymbolFileWhereUniqueInput | SymbolFileWhereUniqueInput[] delete?: SymbolFileWhereUniqueInput | SymbolFileWhereUniqueInput[] connect?: SymbolFileWhereUniqueInput | SymbolFileWhereUniqueInput[] update?: SymbolFileUpdateWithWhereUniqueWithoutWorkspaceInput | SymbolFileUpdateWithWhereUniqueWithoutWorkspaceInput[] updateMany?: SymbolFileUpdateManyWithWhereWithoutWorkspaceInput | SymbolFileUpdateManyWithWhereWithoutWorkspaceInput[] deleteMany?: SymbolFileScalarWhereInput | SymbolFileScalarWhereInput[] } export type SymbolDefinitionUncheckedUpdateManyWithoutWorkspaceNestedInput = { create?: XOR | SymbolDefinitionCreateWithoutWorkspaceInput[] | SymbolDefinitionUncheckedCreateWithoutWorkspaceInput[] connectOrCreate?: SymbolDefinitionCreateOrConnectWithoutWorkspaceInput | SymbolDefinitionCreateOrConnectWithoutWorkspaceInput[] upsert?: SymbolDefinitionUpsertWithWhereUniqueWithoutWorkspaceInput | SymbolDefinitionUpsertWithWhereUniqueWithoutWorkspaceInput[] createMany?: SymbolDefinitionCreateManyWorkspaceInputEnvelope set?: SymbolDefinitionWhereUniqueInput | SymbolDefinitionWhereUniqueInput[] disconnect?: SymbolDefinitionWhereUniqueInput | SymbolDefinitionWhereUniqueInput[] delete?: SymbolDefinitionWhereUniqueInput | SymbolDefinitionWhereUniqueInput[] connect?: SymbolDefinitionWhereUniqueInput | SymbolDefinitionWhereUniqueInput[] update?: SymbolDefinitionUpdateWithWhereUniqueWithoutWorkspaceInput | SymbolDefinitionUpdateWithWhereUniqueWithoutWorkspaceInput[] updateMany?: SymbolDefinitionUpdateManyWithWhereWithoutWorkspaceInput | SymbolDefinitionUpdateManyWithWhereWithoutWorkspaceInput[] deleteMany?: SymbolDefinitionScalarWhereInput | SymbolDefinitionScalarWhereInput[] } export type SymbolReferenceUncheckedUpdateManyWithoutWorkspaceNestedInput = { create?: XOR | SymbolReferenceCreateWithoutWorkspaceInput[] | SymbolReferenceUncheckedCreateWithoutWorkspaceInput[] connectOrCreate?: SymbolReferenceCreateOrConnectWithoutWorkspaceInput | SymbolReferenceCreateOrConnectWithoutWorkspaceInput[] upsert?: SymbolReferenceUpsertWithWhereUniqueWithoutWorkspaceInput | SymbolReferenceUpsertWithWhereUniqueWithoutWorkspaceInput[] createMany?: SymbolReferenceCreateManyWorkspaceInputEnvelope set?: SymbolReferenceWhereUniqueInput | SymbolReferenceWhereUniqueInput[] disconnect?: SymbolReferenceWhereUniqueInput | SymbolReferenceWhereUniqueInput[] delete?: SymbolReferenceWhereUniqueInput | SymbolReferenceWhereUniqueInput[] connect?: SymbolReferenceWhereUniqueInput | SymbolReferenceWhereUniqueInput[] update?: SymbolReferenceUpdateWithWhereUniqueWithoutWorkspaceInput | SymbolReferenceUpdateWithWhereUniqueWithoutWorkspaceInput[] updateMany?: SymbolReferenceUpdateManyWithWhereWithoutWorkspaceInput | SymbolReferenceUpdateManyWithWhereWithoutWorkspaceInput[] deleteMany?: SymbolReferenceScalarWhereInput | SymbolReferenceScalarWhereInput[] } export type SymbolImportUncheckedUpdateManyWithoutWorkspaceNestedInput = { create?: XOR | SymbolImportCreateWithoutWorkspaceInput[] | SymbolImportUncheckedCreateWithoutWorkspaceInput[] connectOrCreate?: SymbolImportCreateOrConnectWithoutWorkspaceInput | SymbolImportCreateOrConnectWithoutWorkspaceInput[] upsert?: SymbolImportUpsertWithWhereUniqueWithoutWorkspaceInput | SymbolImportUpsertWithWhereUniqueWithoutWorkspaceInput[] createMany?: SymbolImportCreateManyWorkspaceInputEnvelope set?: SymbolImportWhereUniqueInput | SymbolImportWhereUniqueInput[] disconnect?: SymbolImportWhereUniqueInput | SymbolImportWhereUniqueInput[] delete?: SymbolImportWhereUniqueInput | SymbolImportWhereUniqueInput[] connect?: SymbolImportWhereUniqueInput | SymbolImportWhereUniqueInput[] update?: SymbolImportUpdateWithWhereUniqueWithoutWorkspaceInput | SymbolImportUpdateWithWhereUniqueWithoutWorkspaceInput[] updateMany?: SymbolImportUpdateManyWithWhereWithoutWorkspaceInput | SymbolImportUpdateManyWithWhereWithoutWorkspaceInput[] deleteMany?: SymbolImportScalarWhereInput | SymbolImportScalarWhereInput[] } export type SymbolCentralityUncheckedUpdateManyWithoutWorkspaceNestedInput = { create?: XOR | SymbolCentralityCreateWithoutWorkspaceInput[] | SymbolCentralityUncheckedCreateWithoutWorkspaceInput[] connectOrCreate?: SymbolCentralityCreateOrConnectWithoutWorkspaceInput | SymbolCentralityCreateOrConnectWithoutWorkspaceInput[] upsert?: SymbolCentralityUpsertWithWhereUniqueWithoutWorkspaceInput | SymbolCentralityUpsertWithWhereUniqueWithoutWorkspaceInput[] createMany?: SymbolCentralityCreateManyWorkspaceInputEnvelope set?: SymbolCentralityWhereUniqueInput | SymbolCentralityWhereUniqueInput[] disconnect?: SymbolCentralityWhereUniqueInput | SymbolCentralityWhereUniqueInput[] delete?: SymbolCentralityWhereUniqueInput | SymbolCentralityWhereUniqueInput[] connect?: SymbolCentralityWhereUniqueInput | SymbolCentralityWhereUniqueInput[] update?: SymbolCentralityUpdateWithWhereUniqueWithoutWorkspaceInput | SymbolCentralityUpdateWithWhereUniqueWithoutWorkspaceInput[] updateMany?: SymbolCentralityUpdateManyWithWhereWithoutWorkspaceInput | SymbolCentralityUpdateManyWithWhereWithoutWorkspaceInput[] deleteMany?: SymbolCentralityScalarWhereInput | SymbolCentralityScalarWhereInput[] } export type GraphGenerationUncheckedUpdateManyWithoutWorkspaceNestedInput = { create?: XOR | GraphGenerationCreateWithoutWorkspaceInput[] | GraphGenerationUncheckedCreateWithoutWorkspaceInput[] connectOrCreate?: GraphGenerationCreateOrConnectWithoutWorkspaceInput | GraphGenerationCreateOrConnectWithoutWorkspaceInput[] upsert?: GraphGenerationUpsertWithWhereUniqueWithoutWorkspaceInput | GraphGenerationUpsertWithWhereUniqueWithoutWorkspaceInput[] createMany?: GraphGenerationCreateManyWorkspaceInputEnvelope set?: GraphGenerationWhereUniqueInput | GraphGenerationWhereUniqueInput[] disconnect?: GraphGenerationWhereUniqueInput | GraphGenerationWhereUniqueInput[] delete?: GraphGenerationWhereUniqueInput | GraphGenerationWhereUniqueInput[] connect?: GraphGenerationWhereUniqueInput | GraphGenerationWhereUniqueInput[] update?: GraphGenerationUpdateWithWhereUniqueWithoutWorkspaceInput | GraphGenerationUpdateWithWhereUniqueWithoutWorkspaceInput[] updateMany?: GraphGenerationUpdateManyWithWhereWithoutWorkspaceInput | GraphGenerationUpdateManyWithWhereWithoutWorkspaceInput[] deleteMany?: GraphGenerationScalarWhereInput | GraphGenerationScalarWhereInput[] } export type WorkspaceCreateNestedOneWithoutGraphGenerationsInput = { create?: XOR connectOrCreate?: WorkspaceCreateOrConnectWithoutGraphGenerationsInput connect?: WorkspaceWhereUniqueInput } export type SymbolFileCreateNestedManyWithoutGenerationInput = { create?: XOR | SymbolFileCreateWithoutGenerationInput[] | SymbolFileUncheckedCreateWithoutGenerationInput[] connectOrCreate?: SymbolFileCreateOrConnectWithoutGenerationInput | SymbolFileCreateOrConnectWithoutGenerationInput[] createMany?: SymbolFileCreateManyGenerationInputEnvelope connect?: SymbolFileWhereUniqueInput | SymbolFileWhereUniqueInput[] } export type SymbolDefinitionCreateNestedManyWithoutGenerationInput = { create?: XOR | SymbolDefinitionCreateWithoutGenerationInput[] | SymbolDefinitionUncheckedCreateWithoutGenerationInput[] connectOrCreate?: SymbolDefinitionCreateOrConnectWithoutGenerationInput | SymbolDefinitionCreateOrConnectWithoutGenerationInput[] createMany?: SymbolDefinitionCreateManyGenerationInputEnvelope connect?: SymbolDefinitionWhereUniqueInput | SymbolDefinitionWhereUniqueInput[] } export type SymbolReferenceCreateNestedManyWithoutGenerationInput = { create?: XOR | SymbolReferenceCreateWithoutGenerationInput[] | SymbolReferenceUncheckedCreateWithoutGenerationInput[] connectOrCreate?: SymbolReferenceCreateOrConnectWithoutGenerationInput | SymbolReferenceCreateOrConnectWithoutGenerationInput[] createMany?: SymbolReferenceCreateManyGenerationInputEnvelope connect?: SymbolReferenceWhereUniqueInput | SymbolReferenceWhereUniqueInput[] } export type SymbolImportCreateNestedManyWithoutGenerationInput = { create?: XOR | SymbolImportCreateWithoutGenerationInput[] | SymbolImportUncheckedCreateWithoutGenerationInput[] connectOrCreate?: SymbolImportCreateOrConnectWithoutGenerationInput | SymbolImportCreateOrConnectWithoutGenerationInput[] createMany?: SymbolImportCreateManyGenerationInputEnvelope connect?: SymbolImportWhereUniqueInput | SymbolImportWhereUniqueInput[] } export type SymbolCentralityCreateNestedManyWithoutGenerationInput = { create?: XOR | SymbolCentralityCreateWithoutGenerationInput[] | SymbolCentralityUncheckedCreateWithoutGenerationInput[] connectOrCreate?: SymbolCentralityCreateOrConnectWithoutGenerationInput | SymbolCentralityCreateOrConnectWithoutGenerationInput[] createMany?: SymbolCentralityCreateManyGenerationInputEnvelope connect?: SymbolCentralityWhereUniqueInput | SymbolCentralityWhereUniqueInput[] } export type WorkspaceCreateNestedManyWithoutActiveGraphGenerationInput = { create?: XOR | WorkspaceCreateWithoutActiveGraphGenerationInput[] | WorkspaceUncheckedCreateWithoutActiveGraphGenerationInput[] connectOrCreate?: WorkspaceCreateOrConnectWithoutActiveGraphGenerationInput | WorkspaceCreateOrConnectWithoutActiveGraphGenerationInput[] createMany?: WorkspaceCreateManyActiveGraphGenerationInputEnvelope connect?: WorkspaceWhereUniqueInput | WorkspaceWhereUniqueInput[] } export type WorkspaceCreateNestedManyWithoutPendingGraphGenerationInput = { create?: XOR | WorkspaceCreateWithoutPendingGraphGenerationInput[] | WorkspaceUncheckedCreateWithoutPendingGraphGenerationInput[] connectOrCreate?: WorkspaceCreateOrConnectWithoutPendingGraphGenerationInput | WorkspaceCreateOrConnectWithoutPendingGraphGenerationInput[] createMany?: WorkspaceCreateManyPendingGraphGenerationInputEnvelope connect?: WorkspaceWhereUniqueInput | WorkspaceWhereUniqueInput[] } export type SymbolFileUncheckedCreateNestedManyWithoutGenerationInput = { create?: XOR | SymbolFileCreateWithoutGenerationInput[] | SymbolFileUncheckedCreateWithoutGenerationInput[] connectOrCreate?: SymbolFileCreateOrConnectWithoutGenerationInput | SymbolFileCreateOrConnectWithoutGenerationInput[] createMany?: SymbolFileCreateManyGenerationInputEnvelope connect?: SymbolFileWhereUniqueInput | SymbolFileWhereUniqueInput[] } export type SymbolDefinitionUncheckedCreateNestedManyWithoutGenerationInput = { create?: XOR | SymbolDefinitionCreateWithoutGenerationInput[] | SymbolDefinitionUncheckedCreateWithoutGenerationInput[] connectOrCreate?: SymbolDefinitionCreateOrConnectWithoutGenerationInput | SymbolDefinitionCreateOrConnectWithoutGenerationInput[] createMany?: SymbolDefinitionCreateManyGenerationInputEnvelope connect?: SymbolDefinitionWhereUniqueInput | SymbolDefinitionWhereUniqueInput[] } export type SymbolReferenceUncheckedCreateNestedManyWithoutGenerationInput = { create?: XOR | SymbolReferenceCreateWithoutGenerationInput[] | SymbolReferenceUncheckedCreateWithoutGenerationInput[] connectOrCreate?: SymbolReferenceCreateOrConnectWithoutGenerationInput | SymbolReferenceCreateOrConnectWithoutGenerationInput[] createMany?: SymbolReferenceCreateManyGenerationInputEnvelope connect?: SymbolReferenceWhereUniqueInput | SymbolReferenceWhereUniqueInput[] } export type SymbolImportUncheckedCreateNestedManyWithoutGenerationInput = { create?: XOR | SymbolImportCreateWithoutGenerationInput[] | SymbolImportUncheckedCreateWithoutGenerationInput[] connectOrCreate?: SymbolImportCreateOrConnectWithoutGenerationInput | SymbolImportCreateOrConnectWithoutGenerationInput[] createMany?: SymbolImportCreateManyGenerationInputEnvelope connect?: SymbolImportWhereUniqueInput | SymbolImportWhereUniqueInput[] } export type SymbolCentralityUncheckedCreateNestedManyWithoutGenerationInput = { create?: XOR | SymbolCentralityCreateWithoutGenerationInput[] | SymbolCentralityUncheckedCreateWithoutGenerationInput[] connectOrCreate?: SymbolCentralityCreateOrConnectWithoutGenerationInput | SymbolCentralityCreateOrConnectWithoutGenerationInput[] createMany?: SymbolCentralityCreateManyGenerationInputEnvelope connect?: SymbolCentralityWhereUniqueInput | SymbolCentralityWhereUniqueInput[] } export type WorkspaceUncheckedCreateNestedManyWithoutActiveGraphGenerationInput = { create?: XOR | WorkspaceCreateWithoutActiveGraphGenerationInput[] | WorkspaceUncheckedCreateWithoutActiveGraphGenerationInput[] connectOrCreate?: WorkspaceCreateOrConnectWithoutActiveGraphGenerationInput | WorkspaceCreateOrConnectWithoutActiveGraphGenerationInput[] createMany?: WorkspaceCreateManyActiveGraphGenerationInputEnvelope connect?: WorkspaceWhereUniqueInput | WorkspaceWhereUniqueInput[] } export type WorkspaceUncheckedCreateNestedManyWithoutPendingGraphGenerationInput = { create?: XOR | WorkspaceCreateWithoutPendingGraphGenerationInput[] | WorkspaceUncheckedCreateWithoutPendingGraphGenerationInput[] connectOrCreate?: WorkspaceCreateOrConnectWithoutPendingGraphGenerationInput | WorkspaceCreateOrConnectWithoutPendingGraphGenerationInput[] createMany?: WorkspaceCreateManyPendingGraphGenerationInputEnvelope connect?: WorkspaceWhereUniqueInput | WorkspaceWhereUniqueInput[] } export type WorkspaceUpdateOneRequiredWithoutGraphGenerationsNestedInput = { create?: XOR connectOrCreate?: WorkspaceCreateOrConnectWithoutGraphGenerationsInput upsert?: WorkspaceUpsertWithoutGraphGenerationsInput connect?: WorkspaceWhereUniqueInput update?: XOR, WorkspaceUncheckedUpdateWithoutGraphGenerationsInput> } export type SymbolFileUpdateManyWithoutGenerationNestedInput = { create?: XOR | SymbolFileCreateWithoutGenerationInput[] | SymbolFileUncheckedCreateWithoutGenerationInput[] connectOrCreate?: SymbolFileCreateOrConnectWithoutGenerationInput | SymbolFileCreateOrConnectWithoutGenerationInput[] upsert?: SymbolFileUpsertWithWhereUniqueWithoutGenerationInput | SymbolFileUpsertWithWhereUniqueWithoutGenerationInput[] createMany?: SymbolFileCreateManyGenerationInputEnvelope set?: SymbolFileWhereUniqueInput | SymbolFileWhereUniqueInput[] disconnect?: SymbolFileWhereUniqueInput | SymbolFileWhereUniqueInput[] delete?: SymbolFileWhereUniqueInput | SymbolFileWhereUniqueInput[] connect?: SymbolFileWhereUniqueInput | SymbolFileWhereUniqueInput[] update?: SymbolFileUpdateWithWhereUniqueWithoutGenerationInput | SymbolFileUpdateWithWhereUniqueWithoutGenerationInput[] updateMany?: SymbolFileUpdateManyWithWhereWithoutGenerationInput | SymbolFileUpdateManyWithWhereWithoutGenerationInput[] deleteMany?: SymbolFileScalarWhereInput | SymbolFileScalarWhereInput[] } export type SymbolDefinitionUpdateManyWithoutGenerationNestedInput = { create?: XOR | SymbolDefinitionCreateWithoutGenerationInput[] | SymbolDefinitionUncheckedCreateWithoutGenerationInput[] connectOrCreate?: SymbolDefinitionCreateOrConnectWithoutGenerationInput | SymbolDefinitionCreateOrConnectWithoutGenerationInput[] upsert?: SymbolDefinitionUpsertWithWhereUniqueWithoutGenerationInput | SymbolDefinitionUpsertWithWhereUniqueWithoutGenerationInput[] createMany?: SymbolDefinitionCreateManyGenerationInputEnvelope set?: SymbolDefinitionWhereUniqueInput | SymbolDefinitionWhereUniqueInput[] disconnect?: SymbolDefinitionWhereUniqueInput | SymbolDefinitionWhereUniqueInput[] delete?: SymbolDefinitionWhereUniqueInput | SymbolDefinitionWhereUniqueInput[] connect?: SymbolDefinitionWhereUniqueInput | SymbolDefinitionWhereUniqueInput[] update?: SymbolDefinitionUpdateWithWhereUniqueWithoutGenerationInput | SymbolDefinitionUpdateWithWhereUniqueWithoutGenerationInput[] updateMany?: SymbolDefinitionUpdateManyWithWhereWithoutGenerationInput | SymbolDefinitionUpdateManyWithWhereWithoutGenerationInput[] deleteMany?: SymbolDefinitionScalarWhereInput | SymbolDefinitionScalarWhereInput[] } export type SymbolReferenceUpdateManyWithoutGenerationNestedInput = { create?: XOR | SymbolReferenceCreateWithoutGenerationInput[] | SymbolReferenceUncheckedCreateWithoutGenerationInput[] connectOrCreate?: SymbolReferenceCreateOrConnectWithoutGenerationInput | SymbolReferenceCreateOrConnectWithoutGenerationInput[] upsert?: SymbolReferenceUpsertWithWhereUniqueWithoutGenerationInput | SymbolReferenceUpsertWithWhereUniqueWithoutGenerationInput[] createMany?: SymbolReferenceCreateManyGenerationInputEnvelope set?: SymbolReferenceWhereUniqueInput | SymbolReferenceWhereUniqueInput[] disconnect?: SymbolReferenceWhereUniqueInput | SymbolReferenceWhereUniqueInput[] delete?: SymbolReferenceWhereUniqueInput | SymbolReferenceWhereUniqueInput[] connect?: SymbolReferenceWhereUniqueInput | SymbolReferenceWhereUniqueInput[] update?: SymbolReferenceUpdateWithWhereUniqueWithoutGenerationInput | SymbolReferenceUpdateWithWhereUniqueWithoutGenerationInput[] updateMany?: SymbolReferenceUpdateManyWithWhereWithoutGenerationInput | SymbolReferenceUpdateManyWithWhereWithoutGenerationInput[] deleteMany?: SymbolReferenceScalarWhereInput | SymbolReferenceScalarWhereInput[] } export type SymbolImportUpdateManyWithoutGenerationNestedInput = { create?: XOR | SymbolImportCreateWithoutGenerationInput[] | SymbolImportUncheckedCreateWithoutGenerationInput[] connectOrCreate?: SymbolImportCreateOrConnectWithoutGenerationInput | SymbolImportCreateOrConnectWithoutGenerationInput[] upsert?: SymbolImportUpsertWithWhereUniqueWithoutGenerationInput | SymbolImportUpsertWithWhereUniqueWithoutGenerationInput[] createMany?: SymbolImportCreateManyGenerationInputEnvelope set?: SymbolImportWhereUniqueInput | SymbolImportWhereUniqueInput[] disconnect?: SymbolImportWhereUniqueInput | SymbolImportWhereUniqueInput[] delete?: SymbolImportWhereUniqueInput | SymbolImportWhereUniqueInput[] connect?: SymbolImportWhereUniqueInput | SymbolImportWhereUniqueInput[] update?: SymbolImportUpdateWithWhereUniqueWithoutGenerationInput | SymbolImportUpdateWithWhereUniqueWithoutGenerationInput[] updateMany?: SymbolImportUpdateManyWithWhereWithoutGenerationInput | SymbolImportUpdateManyWithWhereWithoutGenerationInput[] deleteMany?: SymbolImportScalarWhereInput | SymbolImportScalarWhereInput[] } export type SymbolCentralityUpdateManyWithoutGenerationNestedInput = { create?: XOR | SymbolCentralityCreateWithoutGenerationInput[] | SymbolCentralityUncheckedCreateWithoutGenerationInput[] connectOrCreate?: SymbolCentralityCreateOrConnectWithoutGenerationInput | SymbolCentralityCreateOrConnectWithoutGenerationInput[] upsert?: SymbolCentralityUpsertWithWhereUniqueWithoutGenerationInput | SymbolCentralityUpsertWithWhereUniqueWithoutGenerationInput[] createMany?: SymbolCentralityCreateManyGenerationInputEnvelope set?: SymbolCentralityWhereUniqueInput | SymbolCentralityWhereUniqueInput[] disconnect?: SymbolCentralityWhereUniqueInput | SymbolCentralityWhereUniqueInput[] delete?: SymbolCentralityWhereUniqueInput | SymbolCentralityWhereUniqueInput[] connect?: SymbolCentralityWhereUniqueInput | SymbolCentralityWhereUniqueInput[] update?: SymbolCentralityUpdateWithWhereUniqueWithoutGenerationInput | SymbolCentralityUpdateWithWhereUniqueWithoutGenerationInput[] updateMany?: SymbolCentralityUpdateManyWithWhereWithoutGenerationInput | SymbolCentralityUpdateManyWithWhereWithoutGenerationInput[] deleteMany?: SymbolCentralityScalarWhereInput | SymbolCentralityScalarWhereInput[] } export type WorkspaceUpdateManyWithoutActiveGraphGenerationNestedInput = { create?: XOR | WorkspaceCreateWithoutActiveGraphGenerationInput[] | WorkspaceUncheckedCreateWithoutActiveGraphGenerationInput[] connectOrCreate?: WorkspaceCreateOrConnectWithoutActiveGraphGenerationInput | WorkspaceCreateOrConnectWithoutActiveGraphGenerationInput[] upsert?: WorkspaceUpsertWithWhereUniqueWithoutActiveGraphGenerationInput | WorkspaceUpsertWithWhereUniqueWithoutActiveGraphGenerationInput[] createMany?: WorkspaceCreateManyActiveGraphGenerationInputEnvelope set?: WorkspaceWhereUniqueInput | WorkspaceWhereUniqueInput[] disconnect?: WorkspaceWhereUniqueInput | WorkspaceWhereUniqueInput[] delete?: WorkspaceWhereUniqueInput | WorkspaceWhereUniqueInput[] connect?: WorkspaceWhereUniqueInput | WorkspaceWhereUniqueInput[] update?: WorkspaceUpdateWithWhereUniqueWithoutActiveGraphGenerationInput | WorkspaceUpdateWithWhereUniqueWithoutActiveGraphGenerationInput[] updateMany?: WorkspaceUpdateManyWithWhereWithoutActiveGraphGenerationInput | WorkspaceUpdateManyWithWhereWithoutActiveGraphGenerationInput[] deleteMany?: WorkspaceScalarWhereInput | WorkspaceScalarWhereInput[] } export type WorkspaceUpdateManyWithoutPendingGraphGenerationNestedInput = { create?: XOR | WorkspaceCreateWithoutPendingGraphGenerationInput[] | WorkspaceUncheckedCreateWithoutPendingGraphGenerationInput[] connectOrCreate?: WorkspaceCreateOrConnectWithoutPendingGraphGenerationInput | WorkspaceCreateOrConnectWithoutPendingGraphGenerationInput[] upsert?: WorkspaceUpsertWithWhereUniqueWithoutPendingGraphGenerationInput | WorkspaceUpsertWithWhereUniqueWithoutPendingGraphGenerationInput[] createMany?: WorkspaceCreateManyPendingGraphGenerationInputEnvelope set?: WorkspaceWhereUniqueInput | WorkspaceWhereUniqueInput[] disconnect?: WorkspaceWhereUniqueInput | WorkspaceWhereUniqueInput[] delete?: WorkspaceWhereUniqueInput | WorkspaceWhereUniqueInput[] connect?: WorkspaceWhereUniqueInput | WorkspaceWhereUniqueInput[] update?: WorkspaceUpdateWithWhereUniqueWithoutPendingGraphGenerationInput | WorkspaceUpdateWithWhereUniqueWithoutPendingGraphGenerationInput[] updateMany?: WorkspaceUpdateManyWithWhereWithoutPendingGraphGenerationInput | WorkspaceUpdateManyWithWhereWithoutPendingGraphGenerationInput[] deleteMany?: WorkspaceScalarWhereInput | WorkspaceScalarWhereInput[] } export type SymbolFileUncheckedUpdateManyWithoutGenerationNestedInput = { create?: XOR | SymbolFileCreateWithoutGenerationInput[] | SymbolFileUncheckedCreateWithoutGenerationInput[] connectOrCreate?: SymbolFileCreateOrConnectWithoutGenerationInput | SymbolFileCreateOrConnectWithoutGenerationInput[] upsert?: SymbolFileUpsertWithWhereUniqueWithoutGenerationInput | SymbolFileUpsertWithWhereUniqueWithoutGenerationInput[] createMany?: SymbolFileCreateManyGenerationInputEnvelope set?: SymbolFileWhereUniqueInput | SymbolFileWhereUniqueInput[] disconnect?: SymbolFileWhereUniqueInput | SymbolFileWhereUniqueInput[] delete?: SymbolFileWhereUniqueInput | SymbolFileWhereUniqueInput[] connect?: SymbolFileWhereUniqueInput | SymbolFileWhereUniqueInput[] update?: SymbolFileUpdateWithWhereUniqueWithoutGenerationInput | SymbolFileUpdateWithWhereUniqueWithoutGenerationInput[] updateMany?: SymbolFileUpdateManyWithWhereWithoutGenerationInput | SymbolFileUpdateManyWithWhereWithoutGenerationInput[] deleteMany?: SymbolFileScalarWhereInput | SymbolFileScalarWhereInput[] } export type SymbolDefinitionUncheckedUpdateManyWithoutGenerationNestedInput = { create?: XOR | SymbolDefinitionCreateWithoutGenerationInput[] | SymbolDefinitionUncheckedCreateWithoutGenerationInput[] connectOrCreate?: SymbolDefinitionCreateOrConnectWithoutGenerationInput | SymbolDefinitionCreateOrConnectWithoutGenerationInput[] upsert?: SymbolDefinitionUpsertWithWhereUniqueWithoutGenerationInput | SymbolDefinitionUpsertWithWhereUniqueWithoutGenerationInput[] createMany?: SymbolDefinitionCreateManyGenerationInputEnvelope set?: SymbolDefinitionWhereUniqueInput | SymbolDefinitionWhereUniqueInput[] disconnect?: SymbolDefinitionWhereUniqueInput | SymbolDefinitionWhereUniqueInput[] delete?: SymbolDefinitionWhereUniqueInput | SymbolDefinitionWhereUniqueInput[] connect?: SymbolDefinitionWhereUniqueInput | SymbolDefinitionWhereUniqueInput[] update?: SymbolDefinitionUpdateWithWhereUniqueWithoutGenerationInput | SymbolDefinitionUpdateWithWhereUniqueWithoutGenerationInput[] updateMany?: SymbolDefinitionUpdateManyWithWhereWithoutGenerationInput | SymbolDefinitionUpdateManyWithWhereWithoutGenerationInput[] deleteMany?: SymbolDefinitionScalarWhereInput | SymbolDefinitionScalarWhereInput[] } export type SymbolReferenceUncheckedUpdateManyWithoutGenerationNestedInput = { create?: XOR | SymbolReferenceCreateWithoutGenerationInput[] | SymbolReferenceUncheckedCreateWithoutGenerationInput[] connectOrCreate?: SymbolReferenceCreateOrConnectWithoutGenerationInput | SymbolReferenceCreateOrConnectWithoutGenerationInput[] upsert?: SymbolReferenceUpsertWithWhereUniqueWithoutGenerationInput | SymbolReferenceUpsertWithWhereUniqueWithoutGenerationInput[] createMany?: SymbolReferenceCreateManyGenerationInputEnvelope set?: SymbolReferenceWhereUniqueInput | SymbolReferenceWhereUniqueInput[] disconnect?: SymbolReferenceWhereUniqueInput | SymbolReferenceWhereUniqueInput[] delete?: SymbolReferenceWhereUniqueInput | SymbolReferenceWhereUniqueInput[] connect?: SymbolReferenceWhereUniqueInput | SymbolReferenceWhereUniqueInput[] update?: SymbolReferenceUpdateWithWhereUniqueWithoutGenerationInput | SymbolReferenceUpdateWithWhereUniqueWithoutGenerationInput[] updateMany?: SymbolReferenceUpdateManyWithWhereWithoutGenerationInput | SymbolReferenceUpdateManyWithWhereWithoutGenerationInput[] deleteMany?: SymbolReferenceScalarWhereInput | SymbolReferenceScalarWhereInput[] } export type SymbolImportUncheckedUpdateManyWithoutGenerationNestedInput = { create?: XOR | SymbolImportCreateWithoutGenerationInput[] | SymbolImportUncheckedCreateWithoutGenerationInput[] connectOrCreate?: SymbolImportCreateOrConnectWithoutGenerationInput | SymbolImportCreateOrConnectWithoutGenerationInput[] upsert?: SymbolImportUpsertWithWhereUniqueWithoutGenerationInput | SymbolImportUpsertWithWhereUniqueWithoutGenerationInput[] createMany?: SymbolImportCreateManyGenerationInputEnvelope set?: SymbolImportWhereUniqueInput | SymbolImportWhereUniqueInput[] disconnect?: SymbolImportWhereUniqueInput | SymbolImportWhereUniqueInput[] delete?: SymbolImportWhereUniqueInput | SymbolImportWhereUniqueInput[] connect?: SymbolImportWhereUniqueInput | SymbolImportWhereUniqueInput[] update?: SymbolImportUpdateWithWhereUniqueWithoutGenerationInput | SymbolImportUpdateWithWhereUniqueWithoutGenerationInput[] updateMany?: SymbolImportUpdateManyWithWhereWithoutGenerationInput | SymbolImportUpdateManyWithWhereWithoutGenerationInput[] deleteMany?: SymbolImportScalarWhereInput | SymbolImportScalarWhereInput[] } export type SymbolCentralityUncheckedUpdateManyWithoutGenerationNestedInput = { create?: XOR | SymbolCentralityCreateWithoutGenerationInput[] | SymbolCentralityUncheckedCreateWithoutGenerationInput[] connectOrCreate?: SymbolCentralityCreateOrConnectWithoutGenerationInput | SymbolCentralityCreateOrConnectWithoutGenerationInput[] upsert?: SymbolCentralityUpsertWithWhereUniqueWithoutGenerationInput | SymbolCentralityUpsertWithWhereUniqueWithoutGenerationInput[] createMany?: SymbolCentralityCreateManyGenerationInputEnvelope set?: SymbolCentralityWhereUniqueInput | SymbolCentralityWhereUniqueInput[] disconnect?: SymbolCentralityWhereUniqueInput | SymbolCentralityWhereUniqueInput[] delete?: SymbolCentralityWhereUniqueInput | SymbolCentralityWhereUniqueInput[] connect?: SymbolCentralityWhereUniqueInput | SymbolCentralityWhereUniqueInput[] update?: SymbolCentralityUpdateWithWhereUniqueWithoutGenerationInput | SymbolCentralityUpdateWithWhereUniqueWithoutGenerationInput[] updateMany?: SymbolCentralityUpdateManyWithWhereWithoutGenerationInput | SymbolCentralityUpdateManyWithWhereWithoutGenerationInput[] deleteMany?: SymbolCentralityScalarWhereInput | SymbolCentralityScalarWhereInput[] } export type WorkspaceUncheckedUpdateManyWithoutActiveGraphGenerationNestedInput = { create?: XOR | WorkspaceCreateWithoutActiveGraphGenerationInput[] | WorkspaceUncheckedCreateWithoutActiveGraphGenerationInput[] connectOrCreate?: WorkspaceCreateOrConnectWithoutActiveGraphGenerationInput | WorkspaceCreateOrConnectWithoutActiveGraphGenerationInput[] upsert?: WorkspaceUpsertWithWhereUniqueWithoutActiveGraphGenerationInput | WorkspaceUpsertWithWhereUniqueWithoutActiveGraphGenerationInput[] createMany?: WorkspaceCreateManyActiveGraphGenerationInputEnvelope set?: WorkspaceWhereUniqueInput | WorkspaceWhereUniqueInput[] disconnect?: WorkspaceWhereUniqueInput | WorkspaceWhereUniqueInput[] delete?: WorkspaceWhereUniqueInput | WorkspaceWhereUniqueInput[] connect?: WorkspaceWhereUniqueInput | WorkspaceWhereUniqueInput[] update?: WorkspaceUpdateWithWhereUniqueWithoutActiveGraphGenerationInput | WorkspaceUpdateWithWhereUniqueWithoutActiveGraphGenerationInput[] updateMany?: WorkspaceUpdateManyWithWhereWithoutActiveGraphGenerationInput | WorkspaceUpdateManyWithWhereWithoutActiveGraphGenerationInput[] deleteMany?: WorkspaceScalarWhereInput | WorkspaceScalarWhereInput[] } export type WorkspaceUncheckedUpdateManyWithoutPendingGraphGenerationNestedInput = { create?: XOR | WorkspaceCreateWithoutPendingGraphGenerationInput[] | WorkspaceUncheckedCreateWithoutPendingGraphGenerationInput[] connectOrCreate?: WorkspaceCreateOrConnectWithoutPendingGraphGenerationInput | WorkspaceCreateOrConnectWithoutPendingGraphGenerationInput[] upsert?: WorkspaceUpsertWithWhereUniqueWithoutPendingGraphGenerationInput | WorkspaceUpsertWithWhereUniqueWithoutPendingGraphGenerationInput[] createMany?: WorkspaceCreateManyPendingGraphGenerationInputEnvelope set?: WorkspaceWhereUniqueInput | WorkspaceWhereUniqueInput[] disconnect?: WorkspaceWhereUniqueInput | WorkspaceWhereUniqueInput[] delete?: WorkspaceWhereUniqueInput | WorkspaceWhereUniqueInput[] connect?: WorkspaceWhereUniqueInput | WorkspaceWhereUniqueInput[] update?: WorkspaceUpdateWithWhereUniqueWithoutPendingGraphGenerationInput | WorkspaceUpdateWithWhereUniqueWithoutPendingGraphGenerationInput[] updateMany?: WorkspaceUpdateManyWithWhereWithoutPendingGraphGenerationInput | WorkspaceUpdateManyWithWhereWithoutPendingGraphGenerationInput[] deleteMany?: WorkspaceScalarWhereInput | WorkspaceScalarWhereInput[] } export type WorkspaceCreateNestedOneWithoutFilesInput = { create?: XOR connectOrCreate?: WorkspaceCreateOrConnectWithoutFilesInput connect?: WorkspaceWhereUniqueInput } export type GraphGenerationCreateNestedOneWithoutFilesInput = { create?: XOR connectOrCreate?: GraphGenerationCreateOrConnectWithoutFilesInput connect?: GraphGenerationWhereUniqueInput } export type BigIntFieldUpdateOperationsInput = { set?: bigint | number increment?: bigint | number decrement?: bigint | number multiply?: bigint | number divide?: bigint | number } export type WorkspaceUpdateOneRequiredWithoutFilesNestedInput = { create?: XOR connectOrCreate?: WorkspaceCreateOrConnectWithoutFilesInput upsert?: WorkspaceUpsertWithoutFilesInput connect?: WorkspaceWhereUniqueInput update?: XOR, WorkspaceUncheckedUpdateWithoutFilesInput> } export type GraphGenerationUpdateOneRequiredWithoutFilesNestedInput = { create?: XOR connectOrCreate?: GraphGenerationCreateOrConnectWithoutFilesInput upsert?: GraphGenerationUpsertWithoutFilesInput connect?: GraphGenerationWhereUniqueInput update?: XOR, GraphGenerationUncheckedUpdateWithoutFilesInput> } export type WorkspaceCreateNestedOneWithoutDefinitionsInput = { create?: XOR connectOrCreate?: WorkspaceCreateOrConnectWithoutDefinitionsInput connect?: WorkspaceWhereUniqueInput } export type GraphGenerationCreateNestedOneWithoutDefinitionsInput = { create?: XOR connectOrCreate?: GraphGenerationCreateOrConnectWithoutDefinitionsInput connect?: GraphGenerationWhereUniqueInput } export type WorkspaceUpdateOneRequiredWithoutDefinitionsNestedInput = { create?: XOR connectOrCreate?: WorkspaceCreateOrConnectWithoutDefinitionsInput upsert?: WorkspaceUpsertWithoutDefinitionsInput connect?: WorkspaceWhereUniqueInput update?: XOR, WorkspaceUncheckedUpdateWithoutDefinitionsInput> } export type GraphGenerationUpdateOneRequiredWithoutDefinitionsNestedInput = { create?: XOR connectOrCreate?: GraphGenerationCreateOrConnectWithoutDefinitionsInput upsert?: GraphGenerationUpsertWithoutDefinitionsInput connect?: GraphGenerationWhereUniqueInput update?: XOR, GraphGenerationUncheckedUpdateWithoutDefinitionsInput> } export type WorkspaceCreateNestedOneWithoutReferencesInput = { create?: XOR connectOrCreate?: WorkspaceCreateOrConnectWithoutReferencesInput connect?: WorkspaceWhereUniqueInput } export type GraphGenerationCreateNestedOneWithoutReferencesInput = { create?: XOR connectOrCreate?: GraphGenerationCreateOrConnectWithoutReferencesInput connect?: GraphGenerationWhereUniqueInput } export type WorkspaceUpdateOneRequiredWithoutReferencesNestedInput = { create?: XOR connectOrCreate?: WorkspaceCreateOrConnectWithoutReferencesInput upsert?: WorkspaceUpsertWithoutReferencesInput connect?: WorkspaceWhereUniqueInput update?: XOR, WorkspaceUncheckedUpdateWithoutReferencesInput> } export type GraphGenerationUpdateOneRequiredWithoutReferencesNestedInput = { create?: XOR connectOrCreate?: GraphGenerationCreateOrConnectWithoutReferencesInput upsert?: GraphGenerationUpsertWithoutReferencesInput connect?: GraphGenerationWhereUniqueInput update?: XOR, GraphGenerationUncheckedUpdateWithoutReferencesInput> } export type SymbolImportCreateimportedNamesInput = { set: string[] } export type WorkspaceCreateNestedOneWithoutImportsInput = { create?: XOR connectOrCreate?: WorkspaceCreateOrConnectWithoutImportsInput connect?: WorkspaceWhereUniqueInput } export type GraphGenerationCreateNestedOneWithoutImportsInput = { create?: XOR connectOrCreate?: GraphGenerationCreateOrConnectWithoutImportsInput connect?: GraphGenerationWhereUniqueInput } export type SymbolImportUpdateimportedNamesInput = { set?: string[] push?: string | string[] } export type WorkspaceUpdateOneRequiredWithoutImportsNestedInput = { create?: XOR connectOrCreate?: WorkspaceCreateOrConnectWithoutImportsInput upsert?: WorkspaceUpsertWithoutImportsInput connect?: WorkspaceWhereUniqueInput update?: XOR, WorkspaceUncheckedUpdateWithoutImportsInput> } export type GraphGenerationUpdateOneRequiredWithoutImportsNestedInput = { create?: XOR connectOrCreate?: GraphGenerationCreateOrConnectWithoutImportsInput upsert?: GraphGenerationUpsertWithoutImportsInput connect?: GraphGenerationWhereUniqueInput update?: XOR, GraphGenerationUncheckedUpdateWithoutImportsInput> } export type WorkspaceCreateNestedOneWithoutCentralitiesInput = { create?: XOR connectOrCreate?: WorkspaceCreateOrConnectWithoutCentralitiesInput connect?: WorkspaceWhereUniqueInput } export type GraphGenerationCreateNestedOneWithoutCentralitiesInput = { create?: XOR connectOrCreate?: GraphGenerationCreateOrConnectWithoutCentralitiesInput connect?: GraphGenerationWhereUniqueInput } export type WorkspaceUpdateOneRequiredWithoutCentralitiesNestedInput = { create?: XOR connectOrCreate?: WorkspaceCreateOrConnectWithoutCentralitiesInput upsert?: WorkspaceUpsertWithoutCentralitiesInput connect?: WorkspaceWhereUniqueInput update?: XOR, WorkspaceUncheckedUpdateWithoutCentralitiesInput> } export type GraphGenerationUpdateOneRequiredWithoutCentralitiesNestedInput = { create?: XOR connectOrCreate?: GraphGenerationCreateOrConnectWithoutCentralitiesInput upsert?: GraphGenerationUpsertWithoutCentralitiesInput connect?: GraphGenerationWhereUniqueInput update?: XOR, GraphGenerationUncheckedUpdateWithoutCentralitiesInput> } export type MemoryCreateNestedOneWithoutEdgesFromInput = { create?: XOR connectOrCreate?: MemoryCreateOrConnectWithoutEdgesFromInput connect?: MemoryWhereUniqueInput } export type MemoryCreateNestedOneWithoutEdgesToInput = { create?: XOR connectOrCreate?: MemoryCreateOrConnectWithoutEdgesToInput connect?: MemoryWhereUniqueInput } export type MemoryUpdateOneRequiredWithoutEdgesFromNestedInput = { create?: XOR connectOrCreate?: MemoryCreateOrConnectWithoutEdgesFromInput upsert?: MemoryUpsertWithoutEdgesFromInput connect?: MemoryWhereUniqueInput update?: XOR, MemoryUncheckedUpdateWithoutEdgesFromInput> } export type MemoryUpdateOneRequiredWithoutEdgesToNestedInput = { create?: XOR connectOrCreate?: MemoryCreateOrConnectWithoutEdgesToInput upsert?: MemoryUpsertWithoutEdgesToInput connect?: MemoryWhereUniqueInput update?: XOR, MemoryUncheckedUpdateWithoutEdgesToInput> } export type BytesFieldUpdateOperationsInput = { set?: Bytes } export type NullableIntFieldUpdateOperationsInput = { set?: number | null increment?: number decrement?: number multiply?: number divide?: number } export type NullableBigIntFieldUpdateOperationsInput = { set?: bigint | number | null increment?: bigint | number decrement?: bigint | number multiply?: bigint | number divide?: bigint | number } 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 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 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 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 NestedBytesNullableFilter<$PrismaModel = never> = { equals?: Bytes | BytesFieldRefInput<$PrismaModel> | null in?: Bytes[] | ListBytesFieldRefInput<$PrismaModel> | null notIn?: Bytes[] | ListBytesFieldRefInput<$PrismaModel> | null not?: NestedBytesNullableFilter<$PrismaModel> | Bytes | null } 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 NestedDateTimeNullableFilter<$PrismaModel = never> = { equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> not?: NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null } export type NestedBoolFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> not?: NestedBoolFilter<$PrismaModel> | boolean } 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 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 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 NestedFloatWithAggregatesFilter<$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?: NestedFloatWithAggregatesFilter<$PrismaModel> | number _count?: NestedIntFilter<$PrismaModel> _avg?: NestedFloatFilter<$PrismaModel> _sum?: NestedFloatFilter<$PrismaModel> _min?: NestedFloatFilter<$PrismaModel> _max?: NestedFloatFilter<$PrismaModel> } export type NestedBytesNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: Bytes | BytesFieldRefInput<$PrismaModel> | null in?: Bytes[] | ListBytesFieldRefInput<$PrismaModel> | null notIn?: Bytes[] | ListBytesFieldRefInput<$PrismaModel> | null not?: NestedBytesNullableWithAggregatesFilter<$PrismaModel> | Bytes | null _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedBytesNullableFilter<$PrismaModel> _max?: NestedBytesNullableFilter<$PrismaModel> } export type NestedJsonNullableFilter<$PrismaModel = never> = | PatchUndefined< Either>, Exclude>, 'path'>>, Required> > | OptionalFlat>, 'path'>> export type NestedJsonNullableFilterBase<$PrismaModel = never> = { equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter path?: string[] mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel> string_contains?: string | StringFieldRefInput<$PrismaModel> string_starts_with?: string | StringFieldRefInput<$PrismaModel> string_ends_with?: string | StringFieldRefInput<$PrismaModel> array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter } 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 NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> not?: NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedDateTimeNullableFilter<$PrismaModel> _max?: NestedDateTimeNullableFilter<$PrismaModel> } export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean _count?: NestedIntFilter<$PrismaModel> _min?: NestedBoolFilter<$PrismaModel> _max?: NestedBoolFilter<$PrismaModel> } export type NestedBigIntFilter<$PrismaModel = never> = { equals?: bigint | number | BigIntFieldRefInput<$PrismaModel> in?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel> notIn?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel> lt?: bigint | number | BigIntFieldRefInput<$PrismaModel> lte?: bigint | number | BigIntFieldRefInput<$PrismaModel> gt?: bigint | number | BigIntFieldRefInput<$PrismaModel> gte?: bigint | number | BigIntFieldRefInput<$PrismaModel> not?: NestedBigIntFilter<$PrismaModel> | bigint | number } export type NestedBigIntWithAggregatesFilter<$PrismaModel = never> = { equals?: bigint | number | BigIntFieldRefInput<$PrismaModel> in?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel> notIn?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel> lt?: bigint | number | BigIntFieldRefInput<$PrismaModel> lte?: bigint | number | BigIntFieldRefInput<$PrismaModel> gt?: bigint | number | BigIntFieldRefInput<$PrismaModel> gte?: bigint | number | BigIntFieldRefInput<$PrismaModel> not?: NestedBigIntWithAggregatesFilter<$PrismaModel> | bigint | number _count?: NestedIntFilter<$PrismaModel> _avg?: NestedFloatFilter<$PrismaModel> _sum?: NestedBigIntFilter<$PrismaModel> _min?: NestedBigIntFilter<$PrismaModel> _max?: NestedBigIntFilter<$PrismaModel> } export type NestedJsonFilter<$PrismaModel = never> = | PatchUndefined< Either>, Exclude>, 'path'>>, Required> > | OptionalFlat>, 'path'>> export type NestedJsonFilterBase<$PrismaModel = never> = { equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter path?: string[] mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel> string_contains?: string | StringFieldRefInput<$PrismaModel> string_starts_with?: string | StringFieldRefInput<$PrismaModel> string_ends_with?: string | StringFieldRefInput<$PrismaModel> array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter } export type NestedBytesFilter<$PrismaModel = never> = { equals?: Bytes | BytesFieldRefInput<$PrismaModel> in?: Bytes[] | ListBytesFieldRefInput<$PrismaModel> notIn?: Bytes[] | ListBytesFieldRefInput<$PrismaModel> not?: NestedBytesFilter<$PrismaModel> | Bytes } export type NestedBytesWithAggregatesFilter<$PrismaModel = never> = { equals?: Bytes | BytesFieldRefInput<$PrismaModel> in?: Bytes[] | ListBytesFieldRefInput<$PrismaModel> notIn?: Bytes[] | ListBytesFieldRefInput<$PrismaModel> not?: NestedBytesWithAggregatesFilter<$PrismaModel> | Bytes _count?: NestedIntFilter<$PrismaModel> _min?: NestedBytesFilter<$PrismaModel> _max?: NestedBytesFilter<$PrismaModel> } export type NestedBigIntNullableFilter<$PrismaModel = never> = { equals?: bigint | number | BigIntFieldRefInput<$PrismaModel> | null in?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel> | null notIn?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel> | null lt?: bigint | number | BigIntFieldRefInput<$PrismaModel> lte?: bigint | number | BigIntFieldRefInput<$PrismaModel> gt?: bigint | number | BigIntFieldRefInput<$PrismaModel> gte?: bigint | number | BigIntFieldRefInput<$PrismaModel> not?: NestedBigIntNullableFilter<$PrismaModel> | bigint | number | null } export type NestedIntNullableWithAggregatesFilter<$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?: NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null _count?: NestedIntNullableFilter<$PrismaModel> _avg?: NestedFloatNullableFilter<$PrismaModel> _sum?: NestedIntNullableFilter<$PrismaModel> _min?: NestedIntNullableFilter<$PrismaModel> _max?: NestedIntNullableFilter<$PrismaModel> } export type NestedFloatNullableFilter<$PrismaModel = never> = { equals?: number | FloatFieldRefInput<$PrismaModel> | null in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> | null lt?: number | FloatFieldRefInput<$PrismaModel> lte?: number | FloatFieldRefInput<$PrismaModel> gt?: number | FloatFieldRefInput<$PrismaModel> gte?: number | FloatFieldRefInput<$PrismaModel> not?: NestedFloatNullableFilter<$PrismaModel> | number | null } export type NestedBigIntNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: bigint | number | BigIntFieldRefInput<$PrismaModel> | null in?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel> | null notIn?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel> | null lt?: bigint | number | BigIntFieldRefInput<$PrismaModel> lte?: bigint | number | BigIntFieldRefInput<$PrismaModel> gt?: bigint | number | BigIntFieldRefInput<$PrismaModel> gte?: bigint | number | BigIntFieldRefInput<$PrismaModel> not?: NestedBigIntNullableWithAggregatesFilter<$PrismaModel> | bigint | number | null _count?: NestedIntNullableFilter<$PrismaModel> _avg?: NestedFloatNullableFilter<$PrismaModel> _sum?: NestedBigIntNullableFilter<$PrismaModel> _min?: NestedBigIntNullableFilter<$PrismaModel> _max?: NestedBigIntNullableFilter<$PrismaModel> } export type MemoryEdgeCreateWithoutFromMemoryInput = { edgeType: string weight?: number metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string toMemory: MemoryCreateNestedOneWithoutEdgesToInput } export type MemoryEdgeUncheckedCreateWithoutFromMemoryInput = { id?: number toId: string edgeType: string weight?: number metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string } export type MemoryEdgeCreateOrConnectWithoutFromMemoryInput = { where: MemoryEdgeWhereUniqueInput create: XOR } export type MemoryEdgeCreateManyFromMemoryInputEnvelope = { data: MemoryEdgeCreateManyFromMemoryInput | MemoryEdgeCreateManyFromMemoryInput[] skipDuplicates?: boolean } export type MemoryEdgeCreateWithoutToMemoryInput = { edgeType: string weight?: number metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string fromMemory: MemoryCreateNestedOneWithoutEdgesFromInput } export type MemoryEdgeUncheckedCreateWithoutToMemoryInput = { id?: number fromId: string edgeType: string weight?: number metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string } export type MemoryEdgeCreateOrConnectWithoutToMemoryInput = { where: MemoryEdgeWhereUniqueInput create: XOR } export type MemoryEdgeCreateManyToMemoryInputEnvelope = { data: MemoryEdgeCreateManyToMemoryInput | MemoryEdgeCreateManyToMemoryInput[] skipDuplicates?: boolean } export type MemoryEdgeUpsertWithWhereUniqueWithoutFromMemoryInput = { where: MemoryEdgeWhereUniqueInput update: XOR create: XOR } export type MemoryEdgeUpdateWithWhereUniqueWithoutFromMemoryInput = { where: MemoryEdgeWhereUniqueInput data: XOR } export type MemoryEdgeUpdateManyWithWhereWithoutFromMemoryInput = { where: MemoryEdgeScalarWhereInput data: XOR } export type MemoryEdgeScalarWhereInput = { AND?: MemoryEdgeScalarWhereInput | MemoryEdgeScalarWhereInput[] OR?: MemoryEdgeScalarWhereInput[] NOT?: MemoryEdgeScalarWhereInput | MemoryEdgeScalarWhereInput[] id?: IntFilter<"MemoryEdge"> | number fromId?: StringFilter<"MemoryEdge"> | string toId?: StringFilter<"MemoryEdge"> | string edgeType?: StringFilter<"MemoryEdge"> | string weight?: FloatFilter<"MemoryEdge"> | number metadata?: JsonNullableFilter<"MemoryEdge"> createdAt?: DateTimeFilter<"MemoryEdge"> | Date | string updatedAt?: DateTimeFilter<"MemoryEdge"> | Date | string } export type MemoryEdgeUpsertWithWhereUniqueWithoutToMemoryInput = { where: MemoryEdgeWhereUniqueInput update: XOR create: XOR } export type MemoryEdgeUpdateWithWhereUniqueWithoutToMemoryInput = { where: MemoryEdgeWhereUniqueInput data: XOR } export type MemoryEdgeUpdateManyWithWhereWithoutToMemoryInput = { where: MemoryEdgeScalarWhereInput data: XOR } export type DocumentCreateWithoutProjectInput = { id?: string filePath: string fileType?: string | null size?: number indexedAt: Date | string } export type DocumentUncheckedCreateWithoutProjectInput = { id?: string filePath: string fileType?: string | null size?: number indexedAt: Date | string } export type DocumentCreateOrConnectWithoutProjectInput = { where: DocumentWhereUniqueInput create: XOR } export type DocumentCreateManyProjectInputEnvelope = { data: DocumentCreateManyProjectInput | DocumentCreateManyProjectInput[] skipDuplicates?: boolean } export type DocumentUpsertWithWhereUniqueWithoutProjectInput = { where: DocumentWhereUniqueInput update: XOR create: XOR } export type DocumentUpdateWithWhereUniqueWithoutProjectInput = { where: DocumentWhereUniqueInput data: XOR } export type DocumentUpdateManyWithWhereWithoutProjectInput = { where: DocumentScalarWhereInput data: XOR } export type DocumentScalarWhereInput = { AND?: DocumentScalarWhereInput | DocumentScalarWhereInput[] OR?: DocumentScalarWhereInput[] NOT?: DocumentScalarWhereInput | DocumentScalarWhereInput[] id?: StringFilter<"Document"> | string projectId?: StringFilter<"Document"> | string filePath?: StringFilter<"Document"> | string fileType?: StringNullableFilter<"Document"> | string | null size?: IntFilter<"Document"> | number indexedAt?: DateTimeFilter<"Document"> | Date | string } export type ProjectCreateWithoutDocumentsInput = { id?: string projectId: string path: string documentCount?: number totalSize?: number lastIndexed?: Date | string | null createdAt?: Date | string updatedAt?: Date | string } export type ProjectUncheckedCreateWithoutDocumentsInput = { id?: string projectId: string path: string documentCount?: number totalSize?: number lastIndexed?: Date | string | null createdAt?: Date | string updatedAt?: Date | string } export type ProjectCreateOrConnectWithoutDocumentsInput = { where: ProjectWhereUniqueInput create: XOR } export type ProjectUpsertWithoutDocumentsInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutDocumentsInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutDocumentsInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string path?: StringFieldUpdateOperationsInput | string documentCount?: IntFieldUpdateOperationsInput | number totalSize?: IntFieldUpdateOperationsInput | number lastIndexed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ProjectUncheckedUpdateWithoutDocumentsInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string path?: StringFieldUpdateOperationsInput | string documentCount?: IntFieldUpdateOperationsInput | number totalSize?: IntFieldUpdateOperationsInput | number lastIndexed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type SymbolFileCreateWithoutWorkspaceInput = { relativePath: string contentHash: string mtime: bigint | number size?: number indexedAt: Date | string symbolCount?: number chunkCount?: number language?: string | null dialect?: string | null grammarVersion?: string | null queryPackVersion?: string | null resolverVersion?: string | null parserStatus?: string parserErrorCount?: number diagnostics?: JsonNullValueInput | InputJsonValue isStale?: boolean lastKnownGoodGenerationId?: string | null lastSuccessfulAt?: Date | string | null generation: GraphGenerationCreateNestedOneWithoutFilesInput } export type SymbolFileUncheckedCreateWithoutWorkspaceInput = { generationId: string relativePath: string contentHash: string mtime: bigint | number size?: number indexedAt: Date | string symbolCount?: number chunkCount?: number language?: string | null dialect?: string | null grammarVersion?: string | null queryPackVersion?: string | null resolverVersion?: string | null parserStatus?: string parserErrorCount?: number diagnostics?: JsonNullValueInput | InputJsonValue isStale?: boolean lastKnownGoodGenerationId?: string | null lastSuccessfulAt?: Date | string | null } export type SymbolFileCreateOrConnectWithoutWorkspaceInput = { where: SymbolFileWhereUniqueInput create: XOR } export type SymbolFileCreateManyWorkspaceInputEnvelope = { data: SymbolFileCreateManyWorkspaceInput | SymbolFileCreateManyWorkspaceInput[] skipDuplicates?: boolean } export type SymbolDefinitionCreateWithoutWorkspaceInput = { id: string filePath: string name: string kind: string lineStart: number lineEnd: number exported?: boolean docComment?: string | null indexedAt: Date | string qualifiedName: string canonicalSignature?: string | null signatureHash?: string | null legacyFqn: string sourceSpan?: NullableJsonNullValueInput | InputJsonValue generation: GraphGenerationCreateNestedOneWithoutDefinitionsInput } export type SymbolDefinitionUncheckedCreateWithoutWorkspaceInput = { id: string generationId: string filePath: string name: string kind: string lineStart: number lineEnd: number exported?: boolean docComment?: string | null indexedAt: Date | string qualifiedName: string canonicalSignature?: string | null signatureHash?: string | null legacyFqn: string sourceSpan?: NullableJsonNullValueInput | InputJsonValue } export type SymbolDefinitionCreateOrConnectWithoutWorkspaceInput = { where: SymbolDefinitionWhereUniqueInput create: XOR } export type SymbolDefinitionCreateManyWorkspaceInputEnvelope = { data: SymbolDefinitionCreateManyWorkspaceInput | SymbolDefinitionCreateManyWorkspaceInput[] skipDuplicates?: boolean } export type SymbolReferenceCreateWithoutWorkspaceInput = { fromFile: string fromLine: number symbolName: string targetFqn?: string | null refKind: string meta?: NullableJsonNullValueInput | InputJsonValue sourceSpan?: NullableJsonNullValueInput | InputJsonValue generation: GraphGenerationCreateNestedOneWithoutReferencesInput } export type SymbolReferenceUncheckedCreateWithoutWorkspaceInput = { id?: number generationId: string fromFile: string fromLine: number symbolName: string targetFqn?: string | null refKind: string meta?: NullableJsonNullValueInput | InputJsonValue sourceSpan?: NullableJsonNullValueInput | InputJsonValue } export type SymbolReferenceCreateOrConnectWithoutWorkspaceInput = { where: SymbolReferenceWhereUniqueInput create: XOR } export type SymbolReferenceCreateManyWorkspaceInputEnvelope = { data: SymbolReferenceCreateManyWorkspaceInput | SymbolReferenceCreateManyWorkspaceInput[] skipDuplicates?: boolean } export type SymbolImportCreateWithoutWorkspaceInput = { fromFile: string toFile?: string | null specifier: string importedNames?: SymbolImportCreateimportedNamesInput | string[] isExternal?: boolean isTypeOnly?: boolean generation: GraphGenerationCreateNestedOneWithoutImportsInput } export type SymbolImportUncheckedCreateWithoutWorkspaceInput = { id?: number generationId: string fromFile: string toFile?: string | null specifier: string importedNames?: SymbolImportCreateimportedNamesInput | string[] isExternal?: boolean isTypeOnly?: boolean } export type SymbolImportCreateOrConnectWithoutWorkspaceInput = { where: SymbolImportWhereUniqueInput create: XOR } export type SymbolImportCreateManyWorkspaceInputEnvelope = { data: SymbolImportCreateManyWorkspaceInput | SymbolImportCreateManyWorkspaceInput[] skipDuplicates?: boolean } export type SymbolCentralityCreateWithoutWorkspaceInput = { filePath: string score?: number updatedAt: Date | string generation: GraphGenerationCreateNestedOneWithoutCentralitiesInput } export type SymbolCentralityUncheckedCreateWithoutWorkspaceInput = { generationId: string filePath: string score?: number updatedAt: Date | string } export type SymbolCentralityCreateOrConnectWithoutWorkspaceInput = { where: SymbolCentralityWhereUniqueInput create: XOR } export type SymbolCentralityCreateManyWorkspaceInputEnvelope = { data: SymbolCentralityCreateManyWorkspaceInput | SymbolCentralityCreateManyWorkspaceInput[] skipDuplicates?: boolean } export type GraphGenerationCreateWithoutWorkspaceInput = { id: string status?: string fingerprint: string inputSnapshotHash: string expectedActiveId?: string | null leaseToken?: string | null leaseExpiresAt?: Date | string | null expectedFilesCount?: number completedFilesCount?: number filesCount?: number definitionsCount?: number referencesCount?: number importsCount?: number centralityCount?: number diagnosticsCount?: number recoveredCount?: number hardFailuresCount?: number staleFilesCount?: number failureReason?: string | null startedAt?: Date | string completedAt?: Date | string | null activatedAt?: Date | string | null supersededAt?: Date | string | null files?: SymbolFileCreateNestedManyWithoutGenerationInput definitions?: SymbolDefinitionCreateNestedManyWithoutGenerationInput references?: SymbolReferenceCreateNestedManyWithoutGenerationInput imports?: SymbolImportCreateNestedManyWithoutGenerationInput centralities?: SymbolCentralityCreateNestedManyWithoutGenerationInput activeForWorkspaces?: WorkspaceCreateNestedManyWithoutActiveGraphGenerationInput pendingForWorkspaces?: WorkspaceCreateNestedManyWithoutPendingGraphGenerationInput } export type GraphGenerationUncheckedCreateWithoutWorkspaceInput = { id: string status?: string fingerprint: string inputSnapshotHash: string expectedActiveId?: string | null leaseToken?: string | null leaseExpiresAt?: Date | string | null expectedFilesCount?: number completedFilesCount?: number filesCount?: number definitionsCount?: number referencesCount?: number importsCount?: number centralityCount?: number diagnosticsCount?: number recoveredCount?: number hardFailuresCount?: number staleFilesCount?: number failureReason?: string | null startedAt?: Date | string completedAt?: Date | string | null activatedAt?: Date | string | null supersededAt?: Date | string | null files?: SymbolFileUncheckedCreateNestedManyWithoutGenerationInput definitions?: SymbolDefinitionUncheckedCreateNestedManyWithoutGenerationInput references?: SymbolReferenceUncheckedCreateNestedManyWithoutGenerationInput imports?: SymbolImportUncheckedCreateNestedManyWithoutGenerationInput centralities?: SymbolCentralityUncheckedCreateNestedManyWithoutGenerationInput activeForWorkspaces?: WorkspaceUncheckedCreateNestedManyWithoutActiveGraphGenerationInput pendingForWorkspaces?: WorkspaceUncheckedCreateNestedManyWithoutPendingGraphGenerationInput } export type GraphGenerationCreateOrConnectWithoutWorkspaceInput = { where: GraphGenerationWhereUniqueInput create: XOR } export type GraphGenerationCreateManyWorkspaceInputEnvelope = { data: GraphGenerationCreateManyWorkspaceInput | GraphGenerationCreateManyWorkspaceInput[] skipDuplicates?: boolean } export type GraphGenerationCreateWithoutActiveForWorkspacesInput = { id: string status?: string fingerprint: string inputSnapshotHash: string expectedActiveId?: string | null leaseToken?: string | null leaseExpiresAt?: Date | string | null expectedFilesCount?: number completedFilesCount?: number filesCount?: number definitionsCount?: number referencesCount?: number importsCount?: number centralityCount?: number diagnosticsCount?: number recoveredCount?: number hardFailuresCount?: number staleFilesCount?: number failureReason?: string | null startedAt?: Date | string completedAt?: Date | string | null activatedAt?: Date | string | null supersededAt?: Date | string | null workspace: WorkspaceCreateNestedOneWithoutGraphGenerationsInput files?: SymbolFileCreateNestedManyWithoutGenerationInput definitions?: SymbolDefinitionCreateNestedManyWithoutGenerationInput references?: SymbolReferenceCreateNestedManyWithoutGenerationInput imports?: SymbolImportCreateNestedManyWithoutGenerationInput centralities?: SymbolCentralityCreateNestedManyWithoutGenerationInput pendingForWorkspaces?: WorkspaceCreateNestedManyWithoutPendingGraphGenerationInput } export type GraphGenerationUncheckedCreateWithoutActiveForWorkspacesInput = { id: string projectId: string status?: string fingerprint: string inputSnapshotHash: string expectedActiveId?: string | null leaseToken?: string | null leaseExpiresAt?: Date | string | null expectedFilesCount?: number completedFilesCount?: number filesCount?: number definitionsCount?: number referencesCount?: number importsCount?: number centralityCount?: number diagnosticsCount?: number recoveredCount?: number hardFailuresCount?: number staleFilesCount?: number failureReason?: string | null startedAt?: Date | string completedAt?: Date | string | null activatedAt?: Date | string | null supersededAt?: Date | string | null files?: SymbolFileUncheckedCreateNestedManyWithoutGenerationInput definitions?: SymbolDefinitionUncheckedCreateNestedManyWithoutGenerationInput references?: SymbolReferenceUncheckedCreateNestedManyWithoutGenerationInput imports?: SymbolImportUncheckedCreateNestedManyWithoutGenerationInput centralities?: SymbolCentralityUncheckedCreateNestedManyWithoutGenerationInput pendingForWorkspaces?: WorkspaceUncheckedCreateNestedManyWithoutPendingGraphGenerationInput } export type GraphGenerationCreateOrConnectWithoutActiveForWorkspacesInput = { where: GraphGenerationWhereUniqueInput create: XOR } export type GraphGenerationCreateWithoutPendingForWorkspacesInput = { id: string status?: string fingerprint: string inputSnapshotHash: string expectedActiveId?: string | null leaseToken?: string | null leaseExpiresAt?: Date | string | null expectedFilesCount?: number completedFilesCount?: number filesCount?: number definitionsCount?: number referencesCount?: number importsCount?: number centralityCount?: number diagnosticsCount?: number recoveredCount?: number hardFailuresCount?: number staleFilesCount?: number failureReason?: string | null startedAt?: Date | string completedAt?: Date | string | null activatedAt?: Date | string | null supersededAt?: Date | string | null workspace: WorkspaceCreateNestedOneWithoutGraphGenerationsInput files?: SymbolFileCreateNestedManyWithoutGenerationInput definitions?: SymbolDefinitionCreateNestedManyWithoutGenerationInput references?: SymbolReferenceCreateNestedManyWithoutGenerationInput imports?: SymbolImportCreateNestedManyWithoutGenerationInput centralities?: SymbolCentralityCreateNestedManyWithoutGenerationInput activeForWorkspaces?: WorkspaceCreateNestedManyWithoutActiveGraphGenerationInput } export type GraphGenerationUncheckedCreateWithoutPendingForWorkspacesInput = { id: string projectId: string status?: string fingerprint: string inputSnapshotHash: string expectedActiveId?: string | null leaseToken?: string | null leaseExpiresAt?: Date | string | null expectedFilesCount?: number completedFilesCount?: number filesCount?: number definitionsCount?: number referencesCount?: number importsCount?: number centralityCount?: number diagnosticsCount?: number recoveredCount?: number hardFailuresCount?: number staleFilesCount?: number failureReason?: string | null startedAt?: Date | string completedAt?: Date | string | null activatedAt?: Date | string | null supersededAt?: Date | string | null files?: SymbolFileUncheckedCreateNestedManyWithoutGenerationInput definitions?: SymbolDefinitionUncheckedCreateNestedManyWithoutGenerationInput references?: SymbolReferenceUncheckedCreateNestedManyWithoutGenerationInput imports?: SymbolImportUncheckedCreateNestedManyWithoutGenerationInput centralities?: SymbolCentralityUncheckedCreateNestedManyWithoutGenerationInput activeForWorkspaces?: WorkspaceUncheckedCreateNestedManyWithoutActiveGraphGenerationInput } export type GraphGenerationCreateOrConnectWithoutPendingForWorkspacesInput = { where: GraphGenerationWhereUniqueInput create: XOR } export type SymbolFileUpsertWithWhereUniqueWithoutWorkspaceInput = { where: SymbolFileWhereUniqueInput update: XOR create: XOR } export type SymbolFileUpdateWithWhereUniqueWithoutWorkspaceInput = { where: SymbolFileWhereUniqueInput data: XOR } export type SymbolFileUpdateManyWithWhereWithoutWorkspaceInput = { where: SymbolFileScalarWhereInput data: XOR } export type SymbolFileScalarWhereInput = { AND?: SymbolFileScalarWhereInput | SymbolFileScalarWhereInput[] OR?: SymbolFileScalarWhereInput[] NOT?: SymbolFileScalarWhereInput | SymbolFileScalarWhereInput[] projectId?: StringFilter<"SymbolFile"> | string generationId?: StringFilter<"SymbolFile"> | string relativePath?: StringFilter<"SymbolFile"> | string contentHash?: StringFilter<"SymbolFile"> | string mtime?: BigIntFilter<"SymbolFile"> | bigint | number size?: IntFilter<"SymbolFile"> | number indexedAt?: DateTimeFilter<"SymbolFile"> | Date | string symbolCount?: IntFilter<"SymbolFile"> | number chunkCount?: IntFilter<"SymbolFile"> | number language?: StringNullableFilter<"SymbolFile"> | string | null dialect?: StringNullableFilter<"SymbolFile"> | string | null grammarVersion?: StringNullableFilter<"SymbolFile"> | string | null queryPackVersion?: StringNullableFilter<"SymbolFile"> | string | null resolverVersion?: StringNullableFilter<"SymbolFile"> | string | null parserStatus?: StringFilter<"SymbolFile"> | string parserErrorCount?: IntFilter<"SymbolFile"> | number diagnostics?: JsonFilter<"SymbolFile"> isStale?: BoolFilter<"SymbolFile"> | boolean lastKnownGoodGenerationId?: StringNullableFilter<"SymbolFile"> | string | null lastSuccessfulAt?: DateTimeNullableFilter<"SymbolFile"> | Date | string | null } export type SymbolDefinitionUpsertWithWhereUniqueWithoutWorkspaceInput = { where: SymbolDefinitionWhereUniqueInput update: XOR create: XOR } export type SymbolDefinitionUpdateWithWhereUniqueWithoutWorkspaceInput = { where: SymbolDefinitionWhereUniqueInput data: XOR } export type SymbolDefinitionUpdateManyWithWhereWithoutWorkspaceInput = { where: SymbolDefinitionScalarWhereInput data: XOR } export type SymbolDefinitionScalarWhereInput = { AND?: SymbolDefinitionScalarWhereInput | SymbolDefinitionScalarWhereInput[] OR?: SymbolDefinitionScalarWhereInput[] NOT?: SymbolDefinitionScalarWhereInput | SymbolDefinitionScalarWhereInput[] id?: StringFilter<"SymbolDefinition"> | string projectId?: StringFilter<"SymbolDefinition"> | string generationId?: StringFilter<"SymbolDefinition"> | string filePath?: StringFilter<"SymbolDefinition"> | string name?: StringFilter<"SymbolDefinition"> | string kind?: StringFilter<"SymbolDefinition"> | string lineStart?: IntFilter<"SymbolDefinition"> | number lineEnd?: IntFilter<"SymbolDefinition"> | number exported?: BoolFilter<"SymbolDefinition"> | boolean docComment?: StringNullableFilter<"SymbolDefinition"> | string | null indexedAt?: DateTimeFilter<"SymbolDefinition"> | Date | string qualifiedName?: StringFilter<"SymbolDefinition"> | string canonicalSignature?: StringNullableFilter<"SymbolDefinition"> | string | null signatureHash?: StringNullableFilter<"SymbolDefinition"> | string | null legacyFqn?: StringFilter<"SymbolDefinition"> | string sourceSpan?: JsonNullableFilter<"SymbolDefinition"> } export type SymbolReferenceUpsertWithWhereUniqueWithoutWorkspaceInput = { where: SymbolReferenceWhereUniqueInput update: XOR create: XOR } export type SymbolReferenceUpdateWithWhereUniqueWithoutWorkspaceInput = { where: SymbolReferenceWhereUniqueInput data: XOR } export type SymbolReferenceUpdateManyWithWhereWithoutWorkspaceInput = { where: SymbolReferenceScalarWhereInput data: XOR } export type SymbolReferenceScalarWhereInput = { AND?: SymbolReferenceScalarWhereInput | SymbolReferenceScalarWhereInput[] OR?: SymbolReferenceScalarWhereInput[] NOT?: SymbolReferenceScalarWhereInput | SymbolReferenceScalarWhereInput[] id?: IntFilter<"SymbolReference"> | number projectId?: StringFilter<"SymbolReference"> | string generationId?: StringFilter<"SymbolReference"> | string fromFile?: StringFilter<"SymbolReference"> | string fromLine?: IntFilter<"SymbolReference"> | number symbolName?: StringFilter<"SymbolReference"> | string targetFqn?: StringNullableFilter<"SymbolReference"> | string | null refKind?: StringFilter<"SymbolReference"> | string meta?: JsonNullableFilter<"SymbolReference"> sourceSpan?: JsonNullableFilter<"SymbolReference"> } export type SymbolImportUpsertWithWhereUniqueWithoutWorkspaceInput = { where: SymbolImportWhereUniqueInput update: XOR create: XOR } export type SymbolImportUpdateWithWhereUniqueWithoutWorkspaceInput = { where: SymbolImportWhereUniqueInput data: XOR } export type SymbolImportUpdateManyWithWhereWithoutWorkspaceInput = { where: SymbolImportScalarWhereInput data: XOR } export type SymbolImportScalarWhereInput = { AND?: SymbolImportScalarWhereInput | SymbolImportScalarWhereInput[] OR?: SymbolImportScalarWhereInput[] NOT?: SymbolImportScalarWhereInput | SymbolImportScalarWhereInput[] id?: IntFilter<"SymbolImport"> | number projectId?: StringFilter<"SymbolImport"> | string generationId?: StringFilter<"SymbolImport"> | string fromFile?: StringFilter<"SymbolImport"> | string toFile?: StringNullableFilter<"SymbolImport"> | string | null specifier?: StringFilter<"SymbolImport"> | string importedNames?: StringNullableListFilter<"SymbolImport"> isExternal?: BoolFilter<"SymbolImport"> | boolean isTypeOnly?: BoolFilter<"SymbolImport"> | boolean } export type SymbolCentralityUpsertWithWhereUniqueWithoutWorkspaceInput = { where: SymbolCentralityWhereUniqueInput update: XOR create: XOR } export type SymbolCentralityUpdateWithWhereUniqueWithoutWorkspaceInput = { where: SymbolCentralityWhereUniqueInput data: XOR } export type SymbolCentralityUpdateManyWithWhereWithoutWorkspaceInput = { where: SymbolCentralityScalarWhereInput data: XOR } export type SymbolCentralityScalarWhereInput = { AND?: SymbolCentralityScalarWhereInput | SymbolCentralityScalarWhereInput[] OR?: SymbolCentralityScalarWhereInput[] NOT?: SymbolCentralityScalarWhereInput | SymbolCentralityScalarWhereInput[] projectId?: StringFilter<"SymbolCentrality"> | string generationId?: StringFilter<"SymbolCentrality"> | string filePath?: StringFilter<"SymbolCentrality"> | string score?: FloatFilter<"SymbolCentrality"> | number updatedAt?: DateTimeFilter<"SymbolCentrality"> | Date | string } export type GraphGenerationUpsertWithWhereUniqueWithoutWorkspaceInput = { where: GraphGenerationWhereUniqueInput update: XOR create: XOR } export type GraphGenerationUpdateWithWhereUniqueWithoutWorkspaceInput = { where: GraphGenerationWhereUniqueInput data: XOR } export type GraphGenerationUpdateManyWithWhereWithoutWorkspaceInput = { where: GraphGenerationScalarWhereInput data: XOR } export type GraphGenerationScalarWhereInput = { AND?: GraphGenerationScalarWhereInput | GraphGenerationScalarWhereInput[] OR?: GraphGenerationScalarWhereInput[] NOT?: GraphGenerationScalarWhereInput | GraphGenerationScalarWhereInput[] id?: StringFilter<"GraphGeneration"> | string projectId?: StringFilter<"GraphGeneration"> | string status?: StringFilter<"GraphGeneration"> | string fingerprint?: StringFilter<"GraphGeneration"> | string inputSnapshotHash?: StringFilter<"GraphGeneration"> | string expectedActiveId?: StringNullableFilter<"GraphGeneration"> | string | null leaseToken?: StringNullableFilter<"GraphGeneration"> | string | null leaseExpiresAt?: DateTimeNullableFilter<"GraphGeneration"> | Date | string | null expectedFilesCount?: IntFilter<"GraphGeneration"> | number completedFilesCount?: IntFilter<"GraphGeneration"> | number filesCount?: IntFilter<"GraphGeneration"> | number definitionsCount?: IntFilter<"GraphGeneration"> | number referencesCount?: IntFilter<"GraphGeneration"> | number importsCount?: IntFilter<"GraphGeneration"> | number centralityCount?: IntFilter<"GraphGeneration"> | number diagnosticsCount?: IntFilter<"GraphGeneration"> | number recoveredCount?: IntFilter<"GraphGeneration"> | number hardFailuresCount?: IntFilter<"GraphGeneration"> | number staleFilesCount?: IntFilter<"GraphGeneration"> | number failureReason?: StringNullableFilter<"GraphGeneration"> | string | null startedAt?: DateTimeFilter<"GraphGeneration"> | Date | string completedAt?: DateTimeNullableFilter<"GraphGeneration"> | Date | string | null activatedAt?: DateTimeNullableFilter<"GraphGeneration"> | Date | string | null supersededAt?: DateTimeNullableFilter<"GraphGeneration"> | Date | string | null } export type GraphGenerationUpsertWithoutActiveForWorkspacesInput = { update: XOR create: XOR where?: GraphGenerationWhereInput } export type GraphGenerationUpdateToOneWithWhereWithoutActiveForWorkspacesInput = { where?: GraphGenerationWhereInput data: XOR } export type GraphGenerationUpdateWithoutActiveForWorkspacesInput = { id?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string fingerprint?: StringFieldUpdateOperationsInput | string inputSnapshotHash?: StringFieldUpdateOperationsInput | string expectedActiveId?: NullableStringFieldUpdateOperationsInput | string | null leaseToken?: NullableStringFieldUpdateOperationsInput | string | null leaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expectedFilesCount?: IntFieldUpdateOperationsInput | number completedFilesCount?: IntFieldUpdateOperationsInput | number filesCount?: IntFieldUpdateOperationsInput | number definitionsCount?: IntFieldUpdateOperationsInput | number referencesCount?: IntFieldUpdateOperationsInput | number importsCount?: IntFieldUpdateOperationsInput | number centralityCount?: IntFieldUpdateOperationsInput | number diagnosticsCount?: IntFieldUpdateOperationsInput | number recoveredCount?: IntFieldUpdateOperationsInput | number hardFailuresCount?: IntFieldUpdateOperationsInput | number staleFilesCount?: IntFieldUpdateOperationsInput | number failureReason?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null supersededAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null workspace?: WorkspaceUpdateOneRequiredWithoutGraphGenerationsNestedInput files?: SymbolFileUpdateManyWithoutGenerationNestedInput definitions?: SymbolDefinitionUpdateManyWithoutGenerationNestedInput references?: SymbolReferenceUpdateManyWithoutGenerationNestedInput imports?: SymbolImportUpdateManyWithoutGenerationNestedInput centralities?: SymbolCentralityUpdateManyWithoutGenerationNestedInput pendingForWorkspaces?: WorkspaceUpdateManyWithoutPendingGraphGenerationNestedInput } export type GraphGenerationUncheckedUpdateWithoutActiveForWorkspacesInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string fingerprint?: StringFieldUpdateOperationsInput | string inputSnapshotHash?: StringFieldUpdateOperationsInput | string expectedActiveId?: NullableStringFieldUpdateOperationsInput | string | null leaseToken?: NullableStringFieldUpdateOperationsInput | string | null leaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expectedFilesCount?: IntFieldUpdateOperationsInput | number completedFilesCount?: IntFieldUpdateOperationsInput | number filesCount?: IntFieldUpdateOperationsInput | number definitionsCount?: IntFieldUpdateOperationsInput | number referencesCount?: IntFieldUpdateOperationsInput | number importsCount?: IntFieldUpdateOperationsInput | number centralityCount?: IntFieldUpdateOperationsInput | number diagnosticsCount?: IntFieldUpdateOperationsInput | number recoveredCount?: IntFieldUpdateOperationsInput | number hardFailuresCount?: IntFieldUpdateOperationsInput | number staleFilesCount?: IntFieldUpdateOperationsInput | number failureReason?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null supersededAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null files?: SymbolFileUncheckedUpdateManyWithoutGenerationNestedInput definitions?: SymbolDefinitionUncheckedUpdateManyWithoutGenerationNestedInput references?: SymbolReferenceUncheckedUpdateManyWithoutGenerationNestedInput imports?: SymbolImportUncheckedUpdateManyWithoutGenerationNestedInput centralities?: SymbolCentralityUncheckedUpdateManyWithoutGenerationNestedInput pendingForWorkspaces?: WorkspaceUncheckedUpdateManyWithoutPendingGraphGenerationNestedInput } export type GraphGenerationUpsertWithoutPendingForWorkspacesInput = { update: XOR create: XOR where?: GraphGenerationWhereInput } export type GraphGenerationUpdateToOneWithWhereWithoutPendingForWorkspacesInput = { where?: GraphGenerationWhereInput data: XOR } export type GraphGenerationUpdateWithoutPendingForWorkspacesInput = { id?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string fingerprint?: StringFieldUpdateOperationsInput | string inputSnapshotHash?: StringFieldUpdateOperationsInput | string expectedActiveId?: NullableStringFieldUpdateOperationsInput | string | null leaseToken?: NullableStringFieldUpdateOperationsInput | string | null leaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expectedFilesCount?: IntFieldUpdateOperationsInput | number completedFilesCount?: IntFieldUpdateOperationsInput | number filesCount?: IntFieldUpdateOperationsInput | number definitionsCount?: IntFieldUpdateOperationsInput | number referencesCount?: IntFieldUpdateOperationsInput | number importsCount?: IntFieldUpdateOperationsInput | number centralityCount?: IntFieldUpdateOperationsInput | number diagnosticsCount?: IntFieldUpdateOperationsInput | number recoveredCount?: IntFieldUpdateOperationsInput | number hardFailuresCount?: IntFieldUpdateOperationsInput | number staleFilesCount?: IntFieldUpdateOperationsInput | number failureReason?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null supersededAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null workspace?: WorkspaceUpdateOneRequiredWithoutGraphGenerationsNestedInput files?: SymbolFileUpdateManyWithoutGenerationNestedInput definitions?: SymbolDefinitionUpdateManyWithoutGenerationNestedInput references?: SymbolReferenceUpdateManyWithoutGenerationNestedInput imports?: SymbolImportUpdateManyWithoutGenerationNestedInput centralities?: SymbolCentralityUpdateManyWithoutGenerationNestedInput activeForWorkspaces?: WorkspaceUpdateManyWithoutActiveGraphGenerationNestedInput } export type GraphGenerationUncheckedUpdateWithoutPendingForWorkspacesInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string fingerprint?: StringFieldUpdateOperationsInput | string inputSnapshotHash?: StringFieldUpdateOperationsInput | string expectedActiveId?: NullableStringFieldUpdateOperationsInput | string | null leaseToken?: NullableStringFieldUpdateOperationsInput | string | null leaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expectedFilesCount?: IntFieldUpdateOperationsInput | number completedFilesCount?: IntFieldUpdateOperationsInput | number filesCount?: IntFieldUpdateOperationsInput | number definitionsCount?: IntFieldUpdateOperationsInput | number referencesCount?: IntFieldUpdateOperationsInput | number importsCount?: IntFieldUpdateOperationsInput | number centralityCount?: IntFieldUpdateOperationsInput | number diagnosticsCount?: IntFieldUpdateOperationsInput | number recoveredCount?: IntFieldUpdateOperationsInput | number hardFailuresCount?: IntFieldUpdateOperationsInput | number staleFilesCount?: IntFieldUpdateOperationsInput | number failureReason?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null supersededAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null files?: SymbolFileUncheckedUpdateManyWithoutGenerationNestedInput definitions?: SymbolDefinitionUncheckedUpdateManyWithoutGenerationNestedInput references?: SymbolReferenceUncheckedUpdateManyWithoutGenerationNestedInput imports?: SymbolImportUncheckedUpdateManyWithoutGenerationNestedInput centralities?: SymbolCentralityUncheckedUpdateManyWithoutGenerationNestedInput activeForWorkspaces?: WorkspaceUncheckedUpdateManyWithoutActiveGraphGenerationNestedInput } export type WorkspaceCreateWithoutGraphGenerationsInput = { projectPath: string displayName?: string | null status?: string lastIndexedAt?: Date | string | null lastError?: string | null filesCount?: number chunksCount?: number symbolsCount?: number graphLeaseToken?: string | null graphLeaseExpiresAt?: Date | string | null graphLeaseHeartbeatAt?: Date | string | null activeFilesCount?: number activeDefinitionsCount?: number activeReferencesCount?: number activeImportsCount?: number activeCentralityCount?: number activeDiagnosticsCount?: number activeRecoveredCount?: number activeHardFailuresCount?: number activeStaleFilesCount?: number createdAt?: Date | string updatedAt?: Date | string files?: SymbolFileCreateNestedManyWithoutWorkspaceInput definitions?: SymbolDefinitionCreateNestedManyWithoutWorkspaceInput references?: SymbolReferenceCreateNestedManyWithoutWorkspaceInput imports?: SymbolImportCreateNestedManyWithoutWorkspaceInput centralities?: SymbolCentralityCreateNestedManyWithoutWorkspaceInput activeGraphGeneration?: GraphGenerationCreateNestedOneWithoutActiveForWorkspacesInput pendingGraphGeneration?: GraphGenerationCreateNestedOneWithoutPendingForWorkspacesInput } export type WorkspaceUncheckedCreateWithoutGraphGenerationsInput = { projectId: string projectPath: string displayName?: string | null status?: string lastIndexedAt?: Date | string | null lastError?: string | null filesCount?: number chunksCount?: number symbolsCount?: number activeGraphGenerationId?: string | null pendingGraphGenerationId?: string | null graphLeaseToken?: string | null graphLeaseExpiresAt?: Date | string | null graphLeaseHeartbeatAt?: Date | string | null activeFilesCount?: number activeDefinitionsCount?: number activeReferencesCount?: number activeImportsCount?: number activeCentralityCount?: number activeDiagnosticsCount?: number activeRecoveredCount?: number activeHardFailuresCount?: number activeStaleFilesCount?: number createdAt?: Date | string updatedAt?: Date | string files?: SymbolFileUncheckedCreateNestedManyWithoutWorkspaceInput definitions?: SymbolDefinitionUncheckedCreateNestedManyWithoutWorkspaceInput references?: SymbolReferenceUncheckedCreateNestedManyWithoutWorkspaceInput imports?: SymbolImportUncheckedCreateNestedManyWithoutWorkspaceInput centralities?: SymbolCentralityUncheckedCreateNestedManyWithoutWorkspaceInput } export type WorkspaceCreateOrConnectWithoutGraphGenerationsInput = { where: WorkspaceWhereUniqueInput create: XOR } export type SymbolFileCreateWithoutGenerationInput = { relativePath: string contentHash: string mtime: bigint | number size?: number indexedAt: Date | string symbolCount?: number chunkCount?: number language?: string | null dialect?: string | null grammarVersion?: string | null queryPackVersion?: string | null resolverVersion?: string | null parserStatus?: string parserErrorCount?: number diagnostics?: JsonNullValueInput | InputJsonValue isStale?: boolean lastKnownGoodGenerationId?: string | null lastSuccessfulAt?: Date | string | null workspace: WorkspaceCreateNestedOneWithoutFilesInput } export type SymbolFileUncheckedCreateWithoutGenerationInput = { relativePath: string contentHash: string mtime: bigint | number size?: number indexedAt: Date | string symbolCount?: number chunkCount?: number language?: string | null dialect?: string | null grammarVersion?: string | null queryPackVersion?: string | null resolverVersion?: string | null parserStatus?: string parserErrorCount?: number diagnostics?: JsonNullValueInput | InputJsonValue isStale?: boolean lastKnownGoodGenerationId?: string | null lastSuccessfulAt?: Date | string | null } export type SymbolFileCreateOrConnectWithoutGenerationInput = { where: SymbolFileWhereUniqueInput create: XOR } export type SymbolFileCreateManyGenerationInputEnvelope = { data: SymbolFileCreateManyGenerationInput | SymbolFileCreateManyGenerationInput[] skipDuplicates?: boolean } export type SymbolDefinitionCreateWithoutGenerationInput = { id: string filePath: string name: string kind: string lineStart: number lineEnd: number exported?: boolean docComment?: string | null indexedAt: Date | string qualifiedName: string canonicalSignature?: string | null signatureHash?: string | null legacyFqn: string sourceSpan?: NullableJsonNullValueInput | InputJsonValue workspace: WorkspaceCreateNestedOneWithoutDefinitionsInput } export type SymbolDefinitionUncheckedCreateWithoutGenerationInput = { id: string filePath: string name: string kind: string lineStart: number lineEnd: number exported?: boolean docComment?: string | null indexedAt: Date | string qualifiedName: string canonicalSignature?: string | null signatureHash?: string | null legacyFqn: string sourceSpan?: NullableJsonNullValueInput | InputJsonValue } export type SymbolDefinitionCreateOrConnectWithoutGenerationInput = { where: SymbolDefinitionWhereUniqueInput create: XOR } export type SymbolDefinitionCreateManyGenerationInputEnvelope = { data: SymbolDefinitionCreateManyGenerationInput | SymbolDefinitionCreateManyGenerationInput[] skipDuplicates?: boolean } export type SymbolReferenceCreateWithoutGenerationInput = { fromFile: string fromLine: number symbolName: string targetFqn?: string | null refKind: string meta?: NullableJsonNullValueInput | InputJsonValue sourceSpan?: NullableJsonNullValueInput | InputJsonValue workspace: WorkspaceCreateNestedOneWithoutReferencesInput } export type SymbolReferenceUncheckedCreateWithoutGenerationInput = { id?: number fromFile: string fromLine: number symbolName: string targetFqn?: string | null refKind: string meta?: NullableJsonNullValueInput | InputJsonValue sourceSpan?: NullableJsonNullValueInput | InputJsonValue } export type SymbolReferenceCreateOrConnectWithoutGenerationInput = { where: SymbolReferenceWhereUniqueInput create: XOR } export type SymbolReferenceCreateManyGenerationInputEnvelope = { data: SymbolReferenceCreateManyGenerationInput | SymbolReferenceCreateManyGenerationInput[] skipDuplicates?: boolean } export type SymbolImportCreateWithoutGenerationInput = { fromFile: string toFile?: string | null specifier: string importedNames?: SymbolImportCreateimportedNamesInput | string[] isExternal?: boolean isTypeOnly?: boolean workspace: WorkspaceCreateNestedOneWithoutImportsInput } export type SymbolImportUncheckedCreateWithoutGenerationInput = { id?: number fromFile: string toFile?: string | null specifier: string importedNames?: SymbolImportCreateimportedNamesInput | string[] isExternal?: boolean isTypeOnly?: boolean } export type SymbolImportCreateOrConnectWithoutGenerationInput = { where: SymbolImportWhereUniqueInput create: XOR } export type SymbolImportCreateManyGenerationInputEnvelope = { data: SymbolImportCreateManyGenerationInput | SymbolImportCreateManyGenerationInput[] skipDuplicates?: boolean } export type SymbolCentralityCreateWithoutGenerationInput = { filePath: string score?: number updatedAt: Date | string workspace: WorkspaceCreateNestedOneWithoutCentralitiesInput } export type SymbolCentralityUncheckedCreateWithoutGenerationInput = { filePath: string score?: number updatedAt: Date | string } export type SymbolCentralityCreateOrConnectWithoutGenerationInput = { where: SymbolCentralityWhereUniqueInput create: XOR } export type SymbolCentralityCreateManyGenerationInputEnvelope = { data: SymbolCentralityCreateManyGenerationInput | SymbolCentralityCreateManyGenerationInput[] skipDuplicates?: boolean } export type WorkspaceCreateWithoutActiveGraphGenerationInput = { projectPath: string displayName?: string | null status?: string lastIndexedAt?: Date | string | null lastError?: string | null filesCount?: number chunksCount?: number symbolsCount?: number graphLeaseToken?: string | null graphLeaseExpiresAt?: Date | string | null graphLeaseHeartbeatAt?: Date | string | null activeFilesCount?: number activeDefinitionsCount?: number activeReferencesCount?: number activeImportsCount?: number activeCentralityCount?: number activeDiagnosticsCount?: number activeRecoveredCount?: number activeHardFailuresCount?: number activeStaleFilesCount?: number createdAt?: Date | string updatedAt?: Date | string files?: SymbolFileCreateNestedManyWithoutWorkspaceInput definitions?: SymbolDefinitionCreateNestedManyWithoutWorkspaceInput references?: SymbolReferenceCreateNestedManyWithoutWorkspaceInput imports?: SymbolImportCreateNestedManyWithoutWorkspaceInput centralities?: SymbolCentralityCreateNestedManyWithoutWorkspaceInput graphGenerations?: GraphGenerationCreateNestedManyWithoutWorkspaceInput pendingGraphGeneration?: GraphGenerationCreateNestedOneWithoutPendingForWorkspacesInput } export type WorkspaceUncheckedCreateWithoutActiveGraphGenerationInput = { projectPath: string displayName?: string | null status?: string lastIndexedAt?: Date | string | null lastError?: string | null filesCount?: number chunksCount?: number symbolsCount?: number pendingGraphGenerationId?: string | null graphLeaseToken?: string | null graphLeaseExpiresAt?: Date | string | null graphLeaseHeartbeatAt?: Date | string | null activeFilesCount?: number activeDefinitionsCount?: number activeReferencesCount?: number activeImportsCount?: number activeCentralityCount?: number activeDiagnosticsCount?: number activeRecoveredCount?: number activeHardFailuresCount?: number activeStaleFilesCount?: number createdAt?: Date | string updatedAt?: Date | string files?: SymbolFileUncheckedCreateNestedManyWithoutWorkspaceInput definitions?: SymbolDefinitionUncheckedCreateNestedManyWithoutWorkspaceInput references?: SymbolReferenceUncheckedCreateNestedManyWithoutWorkspaceInput imports?: SymbolImportUncheckedCreateNestedManyWithoutWorkspaceInput centralities?: SymbolCentralityUncheckedCreateNestedManyWithoutWorkspaceInput graphGenerations?: GraphGenerationUncheckedCreateNestedManyWithoutWorkspaceInput } export type WorkspaceCreateOrConnectWithoutActiveGraphGenerationInput = { where: WorkspaceWhereUniqueInput create: XOR } export type WorkspaceCreateManyActiveGraphGenerationInputEnvelope = { data: WorkspaceCreateManyActiveGraphGenerationInput | WorkspaceCreateManyActiveGraphGenerationInput[] skipDuplicates?: boolean } export type WorkspaceCreateWithoutPendingGraphGenerationInput = { projectPath: string displayName?: string | null status?: string lastIndexedAt?: Date | string | null lastError?: string | null filesCount?: number chunksCount?: number symbolsCount?: number graphLeaseToken?: string | null graphLeaseExpiresAt?: Date | string | null graphLeaseHeartbeatAt?: Date | string | null activeFilesCount?: number activeDefinitionsCount?: number activeReferencesCount?: number activeImportsCount?: number activeCentralityCount?: number activeDiagnosticsCount?: number activeRecoveredCount?: number activeHardFailuresCount?: number activeStaleFilesCount?: number createdAt?: Date | string updatedAt?: Date | string files?: SymbolFileCreateNestedManyWithoutWorkspaceInput definitions?: SymbolDefinitionCreateNestedManyWithoutWorkspaceInput references?: SymbolReferenceCreateNestedManyWithoutWorkspaceInput imports?: SymbolImportCreateNestedManyWithoutWorkspaceInput centralities?: SymbolCentralityCreateNestedManyWithoutWorkspaceInput graphGenerations?: GraphGenerationCreateNestedManyWithoutWorkspaceInput activeGraphGeneration?: GraphGenerationCreateNestedOneWithoutActiveForWorkspacesInput } export type WorkspaceUncheckedCreateWithoutPendingGraphGenerationInput = { projectPath: string displayName?: string | null status?: string lastIndexedAt?: Date | string | null lastError?: string | null filesCount?: number chunksCount?: number symbolsCount?: number activeGraphGenerationId?: string | null graphLeaseToken?: string | null graphLeaseExpiresAt?: Date | string | null graphLeaseHeartbeatAt?: Date | string | null activeFilesCount?: number activeDefinitionsCount?: number activeReferencesCount?: number activeImportsCount?: number activeCentralityCount?: number activeDiagnosticsCount?: number activeRecoveredCount?: number activeHardFailuresCount?: number activeStaleFilesCount?: number createdAt?: Date | string updatedAt?: Date | string files?: SymbolFileUncheckedCreateNestedManyWithoutWorkspaceInput definitions?: SymbolDefinitionUncheckedCreateNestedManyWithoutWorkspaceInput references?: SymbolReferenceUncheckedCreateNestedManyWithoutWorkspaceInput imports?: SymbolImportUncheckedCreateNestedManyWithoutWorkspaceInput centralities?: SymbolCentralityUncheckedCreateNestedManyWithoutWorkspaceInput graphGenerations?: GraphGenerationUncheckedCreateNestedManyWithoutWorkspaceInput } export type WorkspaceCreateOrConnectWithoutPendingGraphGenerationInput = { where: WorkspaceWhereUniqueInput create: XOR } export type WorkspaceCreateManyPendingGraphGenerationInputEnvelope = { data: WorkspaceCreateManyPendingGraphGenerationInput | WorkspaceCreateManyPendingGraphGenerationInput[] skipDuplicates?: boolean } export type WorkspaceUpsertWithoutGraphGenerationsInput = { update: XOR create: XOR where?: WorkspaceWhereInput } export type WorkspaceUpdateToOneWithWhereWithoutGraphGenerationsInput = { where?: WorkspaceWhereInput data: XOR } export type WorkspaceUpdateWithoutGraphGenerationsInput = { projectPath?: StringFieldUpdateOperationsInput | string displayName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string lastIndexedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastError?: NullableStringFieldUpdateOperationsInput | string | null filesCount?: IntFieldUpdateOperationsInput | number chunksCount?: IntFieldUpdateOperationsInput | number symbolsCount?: IntFieldUpdateOperationsInput | number graphLeaseToken?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null graphLeaseHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activeFilesCount?: IntFieldUpdateOperationsInput | number activeDefinitionsCount?: IntFieldUpdateOperationsInput | number activeReferencesCount?: IntFieldUpdateOperationsInput | number activeImportsCount?: IntFieldUpdateOperationsInput | number activeCentralityCount?: IntFieldUpdateOperationsInput | number activeDiagnosticsCount?: IntFieldUpdateOperationsInput | number activeRecoveredCount?: IntFieldUpdateOperationsInput | number activeHardFailuresCount?: IntFieldUpdateOperationsInput | number activeStaleFilesCount?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string files?: SymbolFileUpdateManyWithoutWorkspaceNestedInput definitions?: SymbolDefinitionUpdateManyWithoutWorkspaceNestedInput references?: SymbolReferenceUpdateManyWithoutWorkspaceNestedInput imports?: SymbolImportUpdateManyWithoutWorkspaceNestedInput centralities?: SymbolCentralityUpdateManyWithoutWorkspaceNestedInput activeGraphGeneration?: GraphGenerationUpdateOneWithoutActiveForWorkspacesNestedInput pendingGraphGeneration?: GraphGenerationUpdateOneWithoutPendingForWorkspacesNestedInput } export type WorkspaceUncheckedUpdateWithoutGraphGenerationsInput = { projectId?: StringFieldUpdateOperationsInput | string projectPath?: StringFieldUpdateOperationsInput | string displayName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string lastIndexedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastError?: NullableStringFieldUpdateOperationsInput | string | null filesCount?: IntFieldUpdateOperationsInput | number chunksCount?: IntFieldUpdateOperationsInput | number symbolsCount?: IntFieldUpdateOperationsInput | number activeGraphGenerationId?: NullableStringFieldUpdateOperationsInput | string | null pendingGraphGenerationId?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseToken?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null graphLeaseHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activeFilesCount?: IntFieldUpdateOperationsInput | number activeDefinitionsCount?: IntFieldUpdateOperationsInput | number activeReferencesCount?: IntFieldUpdateOperationsInput | number activeImportsCount?: IntFieldUpdateOperationsInput | number activeCentralityCount?: IntFieldUpdateOperationsInput | number activeDiagnosticsCount?: IntFieldUpdateOperationsInput | number activeRecoveredCount?: IntFieldUpdateOperationsInput | number activeHardFailuresCount?: IntFieldUpdateOperationsInput | number activeStaleFilesCount?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string files?: SymbolFileUncheckedUpdateManyWithoutWorkspaceNestedInput definitions?: SymbolDefinitionUncheckedUpdateManyWithoutWorkspaceNestedInput references?: SymbolReferenceUncheckedUpdateManyWithoutWorkspaceNestedInput imports?: SymbolImportUncheckedUpdateManyWithoutWorkspaceNestedInput centralities?: SymbolCentralityUncheckedUpdateManyWithoutWorkspaceNestedInput } export type SymbolFileUpsertWithWhereUniqueWithoutGenerationInput = { where: SymbolFileWhereUniqueInput update: XOR create: XOR } export type SymbolFileUpdateWithWhereUniqueWithoutGenerationInput = { where: SymbolFileWhereUniqueInput data: XOR } export type SymbolFileUpdateManyWithWhereWithoutGenerationInput = { where: SymbolFileScalarWhereInput data: XOR } export type SymbolDefinitionUpsertWithWhereUniqueWithoutGenerationInput = { where: SymbolDefinitionWhereUniqueInput update: XOR create: XOR } export type SymbolDefinitionUpdateWithWhereUniqueWithoutGenerationInput = { where: SymbolDefinitionWhereUniqueInput data: XOR } export type SymbolDefinitionUpdateManyWithWhereWithoutGenerationInput = { where: SymbolDefinitionScalarWhereInput data: XOR } export type SymbolReferenceUpsertWithWhereUniqueWithoutGenerationInput = { where: SymbolReferenceWhereUniqueInput update: XOR create: XOR } export type SymbolReferenceUpdateWithWhereUniqueWithoutGenerationInput = { where: SymbolReferenceWhereUniqueInput data: XOR } export type SymbolReferenceUpdateManyWithWhereWithoutGenerationInput = { where: SymbolReferenceScalarWhereInput data: XOR } export type SymbolImportUpsertWithWhereUniqueWithoutGenerationInput = { where: SymbolImportWhereUniqueInput update: XOR create: XOR } export type SymbolImportUpdateWithWhereUniqueWithoutGenerationInput = { where: SymbolImportWhereUniqueInput data: XOR } export type SymbolImportUpdateManyWithWhereWithoutGenerationInput = { where: SymbolImportScalarWhereInput data: XOR } export type SymbolCentralityUpsertWithWhereUniqueWithoutGenerationInput = { where: SymbolCentralityWhereUniqueInput update: XOR create: XOR } export type SymbolCentralityUpdateWithWhereUniqueWithoutGenerationInput = { where: SymbolCentralityWhereUniqueInput data: XOR } export type SymbolCentralityUpdateManyWithWhereWithoutGenerationInput = { where: SymbolCentralityScalarWhereInput data: XOR } export type WorkspaceUpsertWithWhereUniqueWithoutActiveGraphGenerationInput = { where: WorkspaceWhereUniqueInput update: XOR create: XOR } export type WorkspaceUpdateWithWhereUniqueWithoutActiveGraphGenerationInput = { where: WorkspaceWhereUniqueInput data: XOR } export type WorkspaceUpdateManyWithWhereWithoutActiveGraphGenerationInput = { where: WorkspaceScalarWhereInput data: XOR } export type WorkspaceScalarWhereInput = { AND?: WorkspaceScalarWhereInput | WorkspaceScalarWhereInput[] OR?: WorkspaceScalarWhereInput[] NOT?: WorkspaceScalarWhereInput | WorkspaceScalarWhereInput[] projectId?: StringFilter<"Workspace"> | string projectPath?: StringFilter<"Workspace"> | string displayName?: StringNullableFilter<"Workspace"> | string | null status?: StringFilter<"Workspace"> | string lastIndexedAt?: DateTimeNullableFilter<"Workspace"> | Date | string | null lastError?: StringNullableFilter<"Workspace"> | string | null filesCount?: IntFilter<"Workspace"> | number chunksCount?: IntFilter<"Workspace"> | number symbolsCount?: IntFilter<"Workspace"> | number activeGraphGenerationId?: StringNullableFilter<"Workspace"> | string | null pendingGraphGenerationId?: StringNullableFilter<"Workspace"> | string | null graphLeaseToken?: StringNullableFilter<"Workspace"> | string | null graphLeaseExpiresAt?: DateTimeNullableFilter<"Workspace"> | Date | string | null graphLeaseHeartbeatAt?: DateTimeNullableFilter<"Workspace"> | Date | string | null activeFilesCount?: IntFilter<"Workspace"> | number activeDefinitionsCount?: IntFilter<"Workspace"> | number activeReferencesCount?: IntFilter<"Workspace"> | number activeImportsCount?: IntFilter<"Workspace"> | number activeCentralityCount?: IntFilter<"Workspace"> | number activeDiagnosticsCount?: IntFilter<"Workspace"> | number activeRecoveredCount?: IntFilter<"Workspace"> | number activeHardFailuresCount?: IntFilter<"Workspace"> | number activeStaleFilesCount?: IntFilter<"Workspace"> | number createdAt?: DateTimeFilter<"Workspace"> | Date | string updatedAt?: DateTimeFilter<"Workspace"> | Date | string } export type WorkspaceUpsertWithWhereUniqueWithoutPendingGraphGenerationInput = { where: WorkspaceWhereUniqueInput update: XOR create: XOR } export type WorkspaceUpdateWithWhereUniqueWithoutPendingGraphGenerationInput = { where: WorkspaceWhereUniqueInput data: XOR } export type WorkspaceUpdateManyWithWhereWithoutPendingGraphGenerationInput = { where: WorkspaceScalarWhereInput data: XOR } export type WorkspaceCreateWithoutFilesInput = { projectPath: string displayName?: string | null status?: string lastIndexedAt?: Date | string | null lastError?: string | null filesCount?: number chunksCount?: number symbolsCount?: number graphLeaseToken?: string | null graphLeaseExpiresAt?: Date | string | null graphLeaseHeartbeatAt?: Date | string | null activeFilesCount?: number activeDefinitionsCount?: number activeReferencesCount?: number activeImportsCount?: number activeCentralityCount?: number activeDiagnosticsCount?: number activeRecoveredCount?: number activeHardFailuresCount?: number activeStaleFilesCount?: number createdAt?: Date | string updatedAt?: Date | string definitions?: SymbolDefinitionCreateNestedManyWithoutWorkspaceInput references?: SymbolReferenceCreateNestedManyWithoutWorkspaceInput imports?: SymbolImportCreateNestedManyWithoutWorkspaceInput centralities?: SymbolCentralityCreateNestedManyWithoutWorkspaceInput graphGenerations?: GraphGenerationCreateNestedManyWithoutWorkspaceInput activeGraphGeneration?: GraphGenerationCreateNestedOneWithoutActiveForWorkspacesInput pendingGraphGeneration?: GraphGenerationCreateNestedOneWithoutPendingForWorkspacesInput } export type WorkspaceUncheckedCreateWithoutFilesInput = { projectId: string projectPath: string displayName?: string | null status?: string lastIndexedAt?: Date | string | null lastError?: string | null filesCount?: number chunksCount?: number symbolsCount?: number activeGraphGenerationId?: string | null pendingGraphGenerationId?: string | null graphLeaseToken?: string | null graphLeaseExpiresAt?: Date | string | null graphLeaseHeartbeatAt?: Date | string | null activeFilesCount?: number activeDefinitionsCount?: number activeReferencesCount?: number activeImportsCount?: number activeCentralityCount?: number activeDiagnosticsCount?: number activeRecoveredCount?: number activeHardFailuresCount?: number activeStaleFilesCount?: number createdAt?: Date | string updatedAt?: Date | string definitions?: SymbolDefinitionUncheckedCreateNestedManyWithoutWorkspaceInput references?: SymbolReferenceUncheckedCreateNestedManyWithoutWorkspaceInput imports?: SymbolImportUncheckedCreateNestedManyWithoutWorkspaceInput centralities?: SymbolCentralityUncheckedCreateNestedManyWithoutWorkspaceInput graphGenerations?: GraphGenerationUncheckedCreateNestedManyWithoutWorkspaceInput } export type WorkspaceCreateOrConnectWithoutFilesInput = { where: WorkspaceWhereUniqueInput create: XOR } export type GraphGenerationCreateWithoutFilesInput = { id: string status?: string fingerprint: string inputSnapshotHash: string expectedActiveId?: string | null leaseToken?: string | null leaseExpiresAt?: Date | string | null expectedFilesCount?: number completedFilesCount?: number filesCount?: number definitionsCount?: number referencesCount?: number importsCount?: number centralityCount?: number diagnosticsCount?: number recoveredCount?: number hardFailuresCount?: number staleFilesCount?: number failureReason?: string | null startedAt?: Date | string completedAt?: Date | string | null activatedAt?: Date | string | null supersededAt?: Date | string | null workspace: WorkspaceCreateNestedOneWithoutGraphGenerationsInput definitions?: SymbolDefinitionCreateNestedManyWithoutGenerationInput references?: SymbolReferenceCreateNestedManyWithoutGenerationInput imports?: SymbolImportCreateNestedManyWithoutGenerationInput centralities?: SymbolCentralityCreateNestedManyWithoutGenerationInput activeForWorkspaces?: WorkspaceCreateNestedManyWithoutActiveGraphGenerationInput pendingForWorkspaces?: WorkspaceCreateNestedManyWithoutPendingGraphGenerationInput } export type GraphGenerationUncheckedCreateWithoutFilesInput = { id: string projectId: string status?: string fingerprint: string inputSnapshotHash: string expectedActiveId?: string | null leaseToken?: string | null leaseExpiresAt?: Date | string | null expectedFilesCount?: number completedFilesCount?: number filesCount?: number definitionsCount?: number referencesCount?: number importsCount?: number centralityCount?: number diagnosticsCount?: number recoveredCount?: number hardFailuresCount?: number staleFilesCount?: number failureReason?: string | null startedAt?: Date | string completedAt?: Date | string | null activatedAt?: Date | string | null supersededAt?: Date | string | null definitions?: SymbolDefinitionUncheckedCreateNestedManyWithoutGenerationInput references?: SymbolReferenceUncheckedCreateNestedManyWithoutGenerationInput imports?: SymbolImportUncheckedCreateNestedManyWithoutGenerationInput centralities?: SymbolCentralityUncheckedCreateNestedManyWithoutGenerationInput activeForWorkspaces?: WorkspaceUncheckedCreateNestedManyWithoutActiveGraphGenerationInput pendingForWorkspaces?: WorkspaceUncheckedCreateNestedManyWithoutPendingGraphGenerationInput } export type GraphGenerationCreateOrConnectWithoutFilesInput = { where: GraphGenerationWhereUniqueInput create: XOR } export type WorkspaceUpsertWithoutFilesInput = { update: XOR create: XOR where?: WorkspaceWhereInput } export type WorkspaceUpdateToOneWithWhereWithoutFilesInput = { where?: WorkspaceWhereInput data: XOR } export type WorkspaceUpdateWithoutFilesInput = { projectPath?: StringFieldUpdateOperationsInput | string displayName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string lastIndexedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastError?: NullableStringFieldUpdateOperationsInput | string | null filesCount?: IntFieldUpdateOperationsInput | number chunksCount?: IntFieldUpdateOperationsInput | number symbolsCount?: IntFieldUpdateOperationsInput | number graphLeaseToken?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null graphLeaseHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activeFilesCount?: IntFieldUpdateOperationsInput | number activeDefinitionsCount?: IntFieldUpdateOperationsInput | number activeReferencesCount?: IntFieldUpdateOperationsInput | number activeImportsCount?: IntFieldUpdateOperationsInput | number activeCentralityCount?: IntFieldUpdateOperationsInput | number activeDiagnosticsCount?: IntFieldUpdateOperationsInput | number activeRecoveredCount?: IntFieldUpdateOperationsInput | number activeHardFailuresCount?: IntFieldUpdateOperationsInput | number activeStaleFilesCount?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string definitions?: SymbolDefinitionUpdateManyWithoutWorkspaceNestedInput references?: SymbolReferenceUpdateManyWithoutWorkspaceNestedInput imports?: SymbolImportUpdateManyWithoutWorkspaceNestedInput centralities?: SymbolCentralityUpdateManyWithoutWorkspaceNestedInput graphGenerations?: GraphGenerationUpdateManyWithoutWorkspaceNestedInput activeGraphGeneration?: GraphGenerationUpdateOneWithoutActiveForWorkspacesNestedInput pendingGraphGeneration?: GraphGenerationUpdateOneWithoutPendingForWorkspacesNestedInput } export type WorkspaceUncheckedUpdateWithoutFilesInput = { projectId?: StringFieldUpdateOperationsInput | string projectPath?: StringFieldUpdateOperationsInput | string displayName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string lastIndexedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastError?: NullableStringFieldUpdateOperationsInput | string | null filesCount?: IntFieldUpdateOperationsInput | number chunksCount?: IntFieldUpdateOperationsInput | number symbolsCount?: IntFieldUpdateOperationsInput | number activeGraphGenerationId?: NullableStringFieldUpdateOperationsInput | string | null pendingGraphGenerationId?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseToken?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null graphLeaseHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activeFilesCount?: IntFieldUpdateOperationsInput | number activeDefinitionsCount?: IntFieldUpdateOperationsInput | number activeReferencesCount?: IntFieldUpdateOperationsInput | number activeImportsCount?: IntFieldUpdateOperationsInput | number activeCentralityCount?: IntFieldUpdateOperationsInput | number activeDiagnosticsCount?: IntFieldUpdateOperationsInput | number activeRecoveredCount?: IntFieldUpdateOperationsInput | number activeHardFailuresCount?: IntFieldUpdateOperationsInput | number activeStaleFilesCount?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string definitions?: SymbolDefinitionUncheckedUpdateManyWithoutWorkspaceNestedInput references?: SymbolReferenceUncheckedUpdateManyWithoutWorkspaceNestedInput imports?: SymbolImportUncheckedUpdateManyWithoutWorkspaceNestedInput centralities?: SymbolCentralityUncheckedUpdateManyWithoutWorkspaceNestedInput graphGenerations?: GraphGenerationUncheckedUpdateManyWithoutWorkspaceNestedInput } export type GraphGenerationUpsertWithoutFilesInput = { update: XOR create: XOR where?: GraphGenerationWhereInput } export type GraphGenerationUpdateToOneWithWhereWithoutFilesInput = { where?: GraphGenerationWhereInput data: XOR } export type GraphGenerationUpdateWithoutFilesInput = { id?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string fingerprint?: StringFieldUpdateOperationsInput | string inputSnapshotHash?: StringFieldUpdateOperationsInput | string expectedActiveId?: NullableStringFieldUpdateOperationsInput | string | null leaseToken?: NullableStringFieldUpdateOperationsInput | string | null leaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expectedFilesCount?: IntFieldUpdateOperationsInput | number completedFilesCount?: IntFieldUpdateOperationsInput | number filesCount?: IntFieldUpdateOperationsInput | number definitionsCount?: IntFieldUpdateOperationsInput | number referencesCount?: IntFieldUpdateOperationsInput | number importsCount?: IntFieldUpdateOperationsInput | number centralityCount?: IntFieldUpdateOperationsInput | number diagnosticsCount?: IntFieldUpdateOperationsInput | number recoveredCount?: IntFieldUpdateOperationsInput | number hardFailuresCount?: IntFieldUpdateOperationsInput | number staleFilesCount?: IntFieldUpdateOperationsInput | number failureReason?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null supersededAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null workspace?: WorkspaceUpdateOneRequiredWithoutGraphGenerationsNestedInput definitions?: SymbolDefinitionUpdateManyWithoutGenerationNestedInput references?: SymbolReferenceUpdateManyWithoutGenerationNestedInput imports?: SymbolImportUpdateManyWithoutGenerationNestedInput centralities?: SymbolCentralityUpdateManyWithoutGenerationNestedInput activeForWorkspaces?: WorkspaceUpdateManyWithoutActiveGraphGenerationNestedInput pendingForWorkspaces?: WorkspaceUpdateManyWithoutPendingGraphGenerationNestedInput } export type GraphGenerationUncheckedUpdateWithoutFilesInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string fingerprint?: StringFieldUpdateOperationsInput | string inputSnapshotHash?: StringFieldUpdateOperationsInput | string expectedActiveId?: NullableStringFieldUpdateOperationsInput | string | null leaseToken?: NullableStringFieldUpdateOperationsInput | string | null leaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expectedFilesCount?: IntFieldUpdateOperationsInput | number completedFilesCount?: IntFieldUpdateOperationsInput | number filesCount?: IntFieldUpdateOperationsInput | number definitionsCount?: IntFieldUpdateOperationsInput | number referencesCount?: IntFieldUpdateOperationsInput | number importsCount?: IntFieldUpdateOperationsInput | number centralityCount?: IntFieldUpdateOperationsInput | number diagnosticsCount?: IntFieldUpdateOperationsInput | number recoveredCount?: IntFieldUpdateOperationsInput | number hardFailuresCount?: IntFieldUpdateOperationsInput | number staleFilesCount?: IntFieldUpdateOperationsInput | number failureReason?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null supersededAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null definitions?: SymbolDefinitionUncheckedUpdateManyWithoutGenerationNestedInput references?: SymbolReferenceUncheckedUpdateManyWithoutGenerationNestedInput imports?: SymbolImportUncheckedUpdateManyWithoutGenerationNestedInput centralities?: SymbolCentralityUncheckedUpdateManyWithoutGenerationNestedInput activeForWorkspaces?: WorkspaceUncheckedUpdateManyWithoutActiveGraphGenerationNestedInput pendingForWorkspaces?: WorkspaceUncheckedUpdateManyWithoutPendingGraphGenerationNestedInput } export type WorkspaceCreateWithoutDefinitionsInput = { projectPath: string displayName?: string | null status?: string lastIndexedAt?: Date | string | null lastError?: string | null filesCount?: number chunksCount?: number symbolsCount?: number graphLeaseToken?: string | null graphLeaseExpiresAt?: Date | string | null graphLeaseHeartbeatAt?: Date | string | null activeFilesCount?: number activeDefinitionsCount?: number activeReferencesCount?: number activeImportsCount?: number activeCentralityCount?: number activeDiagnosticsCount?: number activeRecoveredCount?: number activeHardFailuresCount?: number activeStaleFilesCount?: number createdAt?: Date | string updatedAt?: Date | string files?: SymbolFileCreateNestedManyWithoutWorkspaceInput references?: SymbolReferenceCreateNestedManyWithoutWorkspaceInput imports?: SymbolImportCreateNestedManyWithoutWorkspaceInput centralities?: SymbolCentralityCreateNestedManyWithoutWorkspaceInput graphGenerations?: GraphGenerationCreateNestedManyWithoutWorkspaceInput activeGraphGeneration?: GraphGenerationCreateNestedOneWithoutActiveForWorkspacesInput pendingGraphGeneration?: GraphGenerationCreateNestedOneWithoutPendingForWorkspacesInput } export type WorkspaceUncheckedCreateWithoutDefinitionsInput = { projectId: string projectPath: string displayName?: string | null status?: string lastIndexedAt?: Date | string | null lastError?: string | null filesCount?: number chunksCount?: number symbolsCount?: number activeGraphGenerationId?: string | null pendingGraphGenerationId?: string | null graphLeaseToken?: string | null graphLeaseExpiresAt?: Date | string | null graphLeaseHeartbeatAt?: Date | string | null activeFilesCount?: number activeDefinitionsCount?: number activeReferencesCount?: number activeImportsCount?: number activeCentralityCount?: number activeDiagnosticsCount?: number activeRecoveredCount?: number activeHardFailuresCount?: number activeStaleFilesCount?: number createdAt?: Date | string updatedAt?: Date | string files?: SymbolFileUncheckedCreateNestedManyWithoutWorkspaceInput references?: SymbolReferenceUncheckedCreateNestedManyWithoutWorkspaceInput imports?: SymbolImportUncheckedCreateNestedManyWithoutWorkspaceInput centralities?: SymbolCentralityUncheckedCreateNestedManyWithoutWorkspaceInput graphGenerations?: GraphGenerationUncheckedCreateNestedManyWithoutWorkspaceInput } export type WorkspaceCreateOrConnectWithoutDefinitionsInput = { where: WorkspaceWhereUniqueInput create: XOR } export type GraphGenerationCreateWithoutDefinitionsInput = { id: string status?: string fingerprint: string inputSnapshotHash: string expectedActiveId?: string | null leaseToken?: string | null leaseExpiresAt?: Date | string | null expectedFilesCount?: number completedFilesCount?: number filesCount?: number definitionsCount?: number referencesCount?: number importsCount?: number centralityCount?: number diagnosticsCount?: number recoveredCount?: number hardFailuresCount?: number staleFilesCount?: number failureReason?: string | null startedAt?: Date | string completedAt?: Date | string | null activatedAt?: Date | string | null supersededAt?: Date | string | null workspace: WorkspaceCreateNestedOneWithoutGraphGenerationsInput files?: SymbolFileCreateNestedManyWithoutGenerationInput references?: SymbolReferenceCreateNestedManyWithoutGenerationInput imports?: SymbolImportCreateNestedManyWithoutGenerationInput centralities?: SymbolCentralityCreateNestedManyWithoutGenerationInput activeForWorkspaces?: WorkspaceCreateNestedManyWithoutActiveGraphGenerationInput pendingForWorkspaces?: WorkspaceCreateNestedManyWithoutPendingGraphGenerationInput } export type GraphGenerationUncheckedCreateWithoutDefinitionsInput = { id: string projectId: string status?: string fingerprint: string inputSnapshotHash: string expectedActiveId?: string | null leaseToken?: string | null leaseExpiresAt?: Date | string | null expectedFilesCount?: number completedFilesCount?: number filesCount?: number definitionsCount?: number referencesCount?: number importsCount?: number centralityCount?: number diagnosticsCount?: number recoveredCount?: number hardFailuresCount?: number staleFilesCount?: number failureReason?: string | null startedAt?: Date | string completedAt?: Date | string | null activatedAt?: Date | string | null supersededAt?: Date | string | null files?: SymbolFileUncheckedCreateNestedManyWithoutGenerationInput references?: SymbolReferenceUncheckedCreateNestedManyWithoutGenerationInput imports?: SymbolImportUncheckedCreateNestedManyWithoutGenerationInput centralities?: SymbolCentralityUncheckedCreateNestedManyWithoutGenerationInput activeForWorkspaces?: WorkspaceUncheckedCreateNestedManyWithoutActiveGraphGenerationInput pendingForWorkspaces?: WorkspaceUncheckedCreateNestedManyWithoutPendingGraphGenerationInput } export type GraphGenerationCreateOrConnectWithoutDefinitionsInput = { where: GraphGenerationWhereUniqueInput create: XOR } export type WorkspaceUpsertWithoutDefinitionsInput = { update: XOR create: XOR where?: WorkspaceWhereInput } export type WorkspaceUpdateToOneWithWhereWithoutDefinitionsInput = { where?: WorkspaceWhereInput data: XOR } export type WorkspaceUpdateWithoutDefinitionsInput = { projectPath?: StringFieldUpdateOperationsInput | string displayName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string lastIndexedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastError?: NullableStringFieldUpdateOperationsInput | string | null filesCount?: IntFieldUpdateOperationsInput | number chunksCount?: IntFieldUpdateOperationsInput | number symbolsCount?: IntFieldUpdateOperationsInput | number graphLeaseToken?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null graphLeaseHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activeFilesCount?: IntFieldUpdateOperationsInput | number activeDefinitionsCount?: IntFieldUpdateOperationsInput | number activeReferencesCount?: IntFieldUpdateOperationsInput | number activeImportsCount?: IntFieldUpdateOperationsInput | number activeCentralityCount?: IntFieldUpdateOperationsInput | number activeDiagnosticsCount?: IntFieldUpdateOperationsInput | number activeRecoveredCount?: IntFieldUpdateOperationsInput | number activeHardFailuresCount?: IntFieldUpdateOperationsInput | number activeStaleFilesCount?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string files?: SymbolFileUpdateManyWithoutWorkspaceNestedInput references?: SymbolReferenceUpdateManyWithoutWorkspaceNestedInput imports?: SymbolImportUpdateManyWithoutWorkspaceNestedInput centralities?: SymbolCentralityUpdateManyWithoutWorkspaceNestedInput graphGenerations?: GraphGenerationUpdateManyWithoutWorkspaceNestedInput activeGraphGeneration?: GraphGenerationUpdateOneWithoutActiveForWorkspacesNestedInput pendingGraphGeneration?: GraphGenerationUpdateOneWithoutPendingForWorkspacesNestedInput } export type WorkspaceUncheckedUpdateWithoutDefinitionsInput = { projectId?: StringFieldUpdateOperationsInput | string projectPath?: StringFieldUpdateOperationsInput | string displayName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string lastIndexedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastError?: NullableStringFieldUpdateOperationsInput | string | null filesCount?: IntFieldUpdateOperationsInput | number chunksCount?: IntFieldUpdateOperationsInput | number symbolsCount?: IntFieldUpdateOperationsInput | number activeGraphGenerationId?: NullableStringFieldUpdateOperationsInput | string | null pendingGraphGenerationId?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseToken?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null graphLeaseHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activeFilesCount?: IntFieldUpdateOperationsInput | number activeDefinitionsCount?: IntFieldUpdateOperationsInput | number activeReferencesCount?: IntFieldUpdateOperationsInput | number activeImportsCount?: IntFieldUpdateOperationsInput | number activeCentralityCount?: IntFieldUpdateOperationsInput | number activeDiagnosticsCount?: IntFieldUpdateOperationsInput | number activeRecoveredCount?: IntFieldUpdateOperationsInput | number activeHardFailuresCount?: IntFieldUpdateOperationsInput | number activeStaleFilesCount?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string files?: SymbolFileUncheckedUpdateManyWithoutWorkspaceNestedInput references?: SymbolReferenceUncheckedUpdateManyWithoutWorkspaceNestedInput imports?: SymbolImportUncheckedUpdateManyWithoutWorkspaceNestedInput centralities?: SymbolCentralityUncheckedUpdateManyWithoutWorkspaceNestedInput graphGenerations?: GraphGenerationUncheckedUpdateManyWithoutWorkspaceNestedInput } export type GraphGenerationUpsertWithoutDefinitionsInput = { update: XOR create: XOR where?: GraphGenerationWhereInput } export type GraphGenerationUpdateToOneWithWhereWithoutDefinitionsInput = { where?: GraphGenerationWhereInput data: XOR } export type GraphGenerationUpdateWithoutDefinitionsInput = { id?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string fingerprint?: StringFieldUpdateOperationsInput | string inputSnapshotHash?: StringFieldUpdateOperationsInput | string expectedActiveId?: NullableStringFieldUpdateOperationsInput | string | null leaseToken?: NullableStringFieldUpdateOperationsInput | string | null leaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expectedFilesCount?: IntFieldUpdateOperationsInput | number completedFilesCount?: IntFieldUpdateOperationsInput | number filesCount?: IntFieldUpdateOperationsInput | number definitionsCount?: IntFieldUpdateOperationsInput | number referencesCount?: IntFieldUpdateOperationsInput | number importsCount?: IntFieldUpdateOperationsInput | number centralityCount?: IntFieldUpdateOperationsInput | number diagnosticsCount?: IntFieldUpdateOperationsInput | number recoveredCount?: IntFieldUpdateOperationsInput | number hardFailuresCount?: IntFieldUpdateOperationsInput | number staleFilesCount?: IntFieldUpdateOperationsInput | number failureReason?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null supersededAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null workspace?: WorkspaceUpdateOneRequiredWithoutGraphGenerationsNestedInput files?: SymbolFileUpdateManyWithoutGenerationNestedInput references?: SymbolReferenceUpdateManyWithoutGenerationNestedInput imports?: SymbolImportUpdateManyWithoutGenerationNestedInput centralities?: SymbolCentralityUpdateManyWithoutGenerationNestedInput activeForWorkspaces?: WorkspaceUpdateManyWithoutActiveGraphGenerationNestedInput pendingForWorkspaces?: WorkspaceUpdateManyWithoutPendingGraphGenerationNestedInput } export type GraphGenerationUncheckedUpdateWithoutDefinitionsInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string fingerprint?: StringFieldUpdateOperationsInput | string inputSnapshotHash?: StringFieldUpdateOperationsInput | string expectedActiveId?: NullableStringFieldUpdateOperationsInput | string | null leaseToken?: NullableStringFieldUpdateOperationsInput | string | null leaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expectedFilesCount?: IntFieldUpdateOperationsInput | number completedFilesCount?: IntFieldUpdateOperationsInput | number filesCount?: IntFieldUpdateOperationsInput | number definitionsCount?: IntFieldUpdateOperationsInput | number referencesCount?: IntFieldUpdateOperationsInput | number importsCount?: IntFieldUpdateOperationsInput | number centralityCount?: IntFieldUpdateOperationsInput | number diagnosticsCount?: IntFieldUpdateOperationsInput | number recoveredCount?: IntFieldUpdateOperationsInput | number hardFailuresCount?: IntFieldUpdateOperationsInput | number staleFilesCount?: IntFieldUpdateOperationsInput | number failureReason?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null supersededAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null files?: SymbolFileUncheckedUpdateManyWithoutGenerationNestedInput references?: SymbolReferenceUncheckedUpdateManyWithoutGenerationNestedInput imports?: SymbolImportUncheckedUpdateManyWithoutGenerationNestedInput centralities?: SymbolCentralityUncheckedUpdateManyWithoutGenerationNestedInput activeForWorkspaces?: WorkspaceUncheckedUpdateManyWithoutActiveGraphGenerationNestedInput pendingForWorkspaces?: WorkspaceUncheckedUpdateManyWithoutPendingGraphGenerationNestedInput } export type WorkspaceCreateWithoutReferencesInput = { projectPath: string displayName?: string | null status?: string lastIndexedAt?: Date | string | null lastError?: string | null filesCount?: number chunksCount?: number symbolsCount?: number graphLeaseToken?: string | null graphLeaseExpiresAt?: Date | string | null graphLeaseHeartbeatAt?: Date | string | null activeFilesCount?: number activeDefinitionsCount?: number activeReferencesCount?: number activeImportsCount?: number activeCentralityCount?: number activeDiagnosticsCount?: number activeRecoveredCount?: number activeHardFailuresCount?: number activeStaleFilesCount?: number createdAt?: Date | string updatedAt?: Date | string files?: SymbolFileCreateNestedManyWithoutWorkspaceInput definitions?: SymbolDefinitionCreateNestedManyWithoutWorkspaceInput imports?: SymbolImportCreateNestedManyWithoutWorkspaceInput centralities?: SymbolCentralityCreateNestedManyWithoutWorkspaceInput graphGenerations?: GraphGenerationCreateNestedManyWithoutWorkspaceInput activeGraphGeneration?: GraphGenerationCreateNestedOneWithoutActiveForWorkspacesInput pendingGraphGeneration?: GraphGenerationCreateNestedOneWithoutPendingForWorkspacesInput } export type WorkspaceUncheckedCreateWithoutReferencesInput = { projectId: string projectPath: string displayName?: string | null status?: string lastIndexedAt?: Date | string | null lastError?: string | null filesCount?: number chunksCount?: number symbolsCount?: number activeGraphGenerationId?: string | null pendingGraphGenerationId?: string | null graphLeaseToken?: string | null graphLeaseExpiresAt?: Date | string | null graphLeaseHeartbeatAt?: Date | string | null activeFilesCount?: number activeDefinitionsCount?: number activeReferencesCount?: number activeImportsCount?: number activeCentralityCount?: number activeDiagnosticsCount?: number activeRecoveredCount?: number activeHardFailuresCount?: number activeStaleFilesCount?: number createdAt?: Date | string updatedAt?: Date | string files?: SymbolFileUncheckedCreateNestedManyWithoutWorkspaceInput definitions?: SymbolDefinitionUncheckedCreateNestedManyWithoutWorkspaceInput imports?: SymbolImportUncheckedCreateNestedManyWithoutWorkspaceInput centralities?: SymbolCentralityUncheckedCreateNestedManyWithoutWorkspaceInput graphGenerations?: GraphGenerationUncheckedCreateNestedManyWithoutWorkspaceInput } export type WorkspaceCreateOrConnectWithoutReferencesInput = { where: WorkspaceWhereUniqueInput create: XOR } export type GraphGenerationCreateWithoutReferencesInput = { id: string status?: string fingerprint: string inputSnapshotHash: string expectedActiveId?: string | null leaseToken?: string | null leaseExpiresAt?: Date | string | null expectedFilesCount?: number completedFilesCount?: number filesCount?: number definitionsCount?: number referencesCount?: number importsCount?: number centralityCount?: number diagnosticsCount?: number recoveredCount?: number hardFailuresCount?: number staleFilesCount?: number failureReason?: string | null startedAt?: Date | string completedAt?: Date | string | null activatedAt?: Date | string | null supersededAt?: Date | string | null workspace: WorkspaceCreateNestedOneWithoutGraphGenerationsInput files?: SymbolFileCreateNestedManyWithoutGenerationInput definitions?: SymbolDefinitionCreateNestedManyWithoutGenerationInput imports?: SymbolImportCreateNestedManyWithoutGenerationInput centralities?: SymbolCentralityCreateNestedManyWithoutGenerationInput activeForWorkspaces?: WorkspaceCreateNestedManyWithoutActiveGraphGenerationInput pendingForWorkspaces?: WorkspaceCreateNestedManyWithoutPendingGraphGenerationInput } export type GraphGenerationUncheckedCreateWithoutReferencesInput = { id: string projectId: string status?: string fingerprint: string inputSnapshotHash: string expectedActiveId?: string | null leaseToken?: string | null leaseExpiresAt?: Date | string | null expectedFilesCount?: number completedFilesCount?: number filesCount?: number definitionsCount?: number referencesCount?: number importsCount?: number centralityCount?: number diagnosticsCount?: number recoveredCount?: number hardFailuresCount?: number staleFilesCount?: number failureReason?: string | null startedAt?: Date | string completedAt?: Date | string | null activatedAt?: Date | string | null supersededAt?: Date | string | null files?: SymbolFileUncheckedCreateNestedManyWithoutGenerationInput definitions?: SymbolDefinitionUncheckedCreateNestedManyWithoutGenerationInput imports?: SymbolImportUncheckedCreateNestedManyWithoutGenerationInput centralities?: SymbolCentralityUncheckedCreateNestedManyWithoutGenerationInput activeForWorkspaces?: WorkspaceUncheckedCreateNestedManyWithoutActiveGraphGenerationInput pendingForWorkspaces?: WorkspaceUncheckedCreateNestedManyWithoutPendingGraphGenerationInput } export type GraphGenerationCreateOrConnectWithoutReferencesInput = { where: GraphGenerationWhereUniqueInput create: XOR } export type WorkspaceUpsertWithoutReferencesInput = { update: XOR create: XOR where?: WorkspaceWhereInput } export type WorkspaceUpdateToOneWithWhereWithoutReferencesInput = { where?: WorkspaceWhereInput data: XOR } export type WorkspaceUpdateWithoutReferencesInput = { projectPath?: StringFieldUpdateOperationsInput | string displayName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string lastIndexedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastError?: NullableStringFieldUpdateOperationsInput | string | null filesCount?: IntFieldUpdateOperationsInput | number chunksCount?: IntFieldUpdateOperationsInput | number symbolsCount?: IntFieldUpdateOperationsInput | number graphLeaseToken?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null graphLeaseHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activeFilesCount?: IntFieldUpdateOperationsInput | number activeDefinitionsCount?: IntFieldUpdateOperationsInput | number activeReferencesCount?: IntFieldUpdateOperationsInput | number activeImportsCount?: IntFieldUpdateOperationsInput | number activeCentralityCount?: IntFieldUpdateOperationsInput | number activeDiagnosticsCount?: IntFieldUpdateOperationsInput | number activeRecoveredCount?: IntFieldUpdateOperationsInput | number activeHardFailuresCount?: IntFieldUpdateOperationsInput | number activeStaleFilesCount?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string files?: SymbolFileUpdateManyWithoutWorkspaceNestedInput definitions?: SymbolDefinitionUpdateManyWithoutWorkspaceNestedInput imports?: SymbolImportUpdateManyWithoutWorkspaceNestedInput centralities?: SymbolCentralityUpdateManyWithoutWorkspaceNestedInput graphGenerations?: GraphGenerationUpdateManyWithoutWorkspaceNestedInput activeGraphGeneration?: GraphGenerationUpdateOneWithoutActiveForWorkspacesNestedInput pendingGraphGeneration?: GraphGenerationUpdateOneWithoutPendingForWorkspacesNestedInput } export type WorkspaceUncheckedUpdateWithoutReferencesInput = { projectId?: StringFieldUpdateOperationsInput | string projectPath?: StringFieldUpdateOperationsInput | string displayName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string lastIndexedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastError?: NullableStringFieldUpdateOperationsInput | string | null filesCount?: IntFieldUpdateOperationsInput | number chunksCount?: IntFieldUpdateOperationsInput | number symbolsCount?: IntFieldUpdateOperationsInput | number activeGraphGenerationId?: NullableStringFieldUpdateOperationsInput | string | null pendingGraphGenerationId?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseToken?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null graphLeaseHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activeFilesCount?: IntFieldUpdateOperationsInput | number activeDefinitionsCount?: IntFieldUpdateOperationsInput | number activeReferencesCount?: IntFieldUpdateOperationsInput | number activeImportsCount?: IntFieldUpdateOperationsInput | number activeCentralityCount?: IntFieldUpdateOperationsInput | number activeDiagnosticsCount?: IntFieldUpdateOperationsInput | number activeRecoveredCount?: IntFieldUpdateOperationsInput | number activeHardFailuresCount?: IntFieldUpdateOperationsInput | number activeStaleFilesCount?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string files?: SymbolFileUncheckedUpdateManyWithoutWorkspaceNestedInput definitions?: SymbolDefinitionUncheckedUpdateManyWithoutWorkspaceNestedInput imports?: SymbolImportUncheckedUpdateManyWithoutWorkspaceNestedInput centralities?: SymbolCentralityUncheckedUpdateManyWithoutWorkspaceNestedInput graphGenerations?: GraphGenerationUncheckedUpdateManyWithoutWorkspaceNestedInput } export type GraphGenerationUpsertWithoutReferencesInput = { update: XOR create: XOR where?: GraphGenerationWhereInput } export type GraphGenerationUpdateToOneWithWhereWithoutReferencesInput = { where?: GraphGenerationWhereInput data: XOR } export type GraphGenerationUpdateWithoutReferencesInput = { id?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string fingerprint?: StringFieldUpdateOperationsInput | string inputSnapshotHash?: StringFieldUpdateOperationsInput | string expectedActiveId?: NullableStringFieldUpdateOperationsInput | string | null leaseToken?: NullableStringFieldUpdateOperationsInput | string | null leaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expectedFilesCount?: IntFieldUpdateOperationsInput | number completedFilesCount?: IntFieldUpdateOperationsInput | number filesCount?: IntFieldUpdateOperationsInput | number definitionsCount?: IntFieldUpdateOperationsInput | number referencesCount?: IntFieldUpdateOperationsInput | number importsCount?: IntFieldUpdateOperationsInput | number centralityCount?: IntFieldUpdateOperationsInput | number diagnosticsCount?: IntFieldUpdateOperationsInput | number recoveredCount?: IntFieldUpdateOperationsInput | number hardFailuresCount?: IntFieldUpdateOperationsInput | number staleFilesCount?: IntFieldUpdateOperationsInput | number failureReason?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null supersededAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null workspace?: WorkspaceUpdateOneRequiredWithoutGraphGenerationsNestedInput files?: SymbolFileUpdateManyWithoutGenerationNestedInput definitions?: SymbolDefinitionUpdateManyWithoutGenerationNestedInput imports?: SymbolImportUpdateManyWithoutGenerationNestedInput centralities?: SymbolCentralityUpdateManyWithoutGenerationNestedInput activeForWorkspaces?: WorkspaceUpdateManyWithoutActiveGraphGenerationNestedInput pendingForWorkspaces?: WorkspaceUpdateManyWithoutPendingGraphGenerationNestedInput } export type GraphGenerationUncheckedUpdateWithoutReferencesInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string fingerprint?: StringFieldUpdateOperationsInput | string inputSnapshotHash?: StringFieldUpdateOperationsInput | string expectedActiveId?: NullableStringFieldUpdateOperationsInput | string | null leaseToken?: NullableStringFieldUpdateOperationsInput | string | null leaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expectedFilesCount?: IntFieldUpdateOperationsInput | number completedFilesCount?: IntFieldUpdateOperationsInput | number filesCount?: IntFieldUpdateOperationsInput | number definitionsCount?: IntFieldUpdateOperationsInput | number referencesCount?: IntFieldUpdateOperationsInput | number importsCount?: IntFieldUpdateOperationsInput | number centralityCount?: IntFieldUpdateOperationsInput | number diagnosticsCount?: IntFieldUpdateOperationsInput | number recoveredCount?: IntFieldUpdateOperationsInput | number hardFailuresCount?: IntFieldUpdateOperationsInput | number staleFilesCount?: IntFieldUpdateOperationsInput | number failureReason?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null supersededAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null files?: SymbolFileUncheckedUpdateManyWithoutGenerationNestedInput definitions?: SymbolDefinitionUncheckedUpdateManyWithoutGenerationNestedInput imports?: SymbolImportUncheckedUpdateManyWithoutGenerationNestedInput centralities?: SymbolCentralityUncheckedUpdateManyWithoutGenerationNestedInput activeForWorkspaces?: WorkspaceUncheckedUpdateManyWithoutActiveGraphGenerationNestedInput pendingForWorkspaces?: WorkspaceUncheckedUpdateManyWithoutPendingGraphGenerationNestedInput } export type WorkspaceCreateWithoutImportsInput = { projectPath: string displayName?: string | null status?: string lastIndexedAt?: Date | string | null lastError?: string | null filesCount?: number chunksCount?: number symbolsCount?: number graphLeaseToken?: string | null graphLeaseExpiresAt?: Date | string | null graphLeaseHeartbeatAt?: Date | string | null activeFilesCount?: number activeDefinitionsCount?: number activeReferencesCount?: number activeImportsCount?: number activeCentralityCount?: number activeDiagnosticsCount?: number activeRecoveredCount?: number activeHardFailuresCount?: number activeStaleFilesCount?: number createdAt?: Date | string updatedAt?: Date | string files?: SymbolFileCreateNestedManyWithoutWorkspaceInput definitions?: SymbolDefinitionCreateNestedManyWithoutWorkspaceInput references?: SymbolReferenceCreateNestedManyWithoutWorkspaceInput centralities?: SymbolCentralityCreateNestedManyWithoutWorkspaceInput graphGenerations?: GraphGenerationCreateNestedManyWithoutWorkspaceInput activeGraphGeneration?: GraphGenerationCreateNestedOneWithoutActiveForWorkspacesInput pendingGraphGeneration?: GraphGenerationCreateNestedOneWithoutPendingForWorkspacesInput } export type WorkspaceUncheckedCreateWithoutImportsInput = { projectId: string projectPath: string displayName?: string | null status?: string lastIndexedAt?: Date | string | null lastError?: string | null filesCount?: number chunksCount?: number symbolsCount?: number activeGraphGenerationId?: string | null pendingGraphGenerationId?: string | null graphLeaseToken?: string | null graphLeaseExpiresAt?: Date | string | null graphLeaseHeartbeatAt?: Date | string | null activeFilesCount?: number activeDefinitionsCount?: number activeReferencesCount?: number activeImportsCount?: number activeCentralityCount?: number activeDiagnosticsCount?: number activeRecoveredCount?: number activeHardFailuresCount?: number activeStaleFilesCount?: number createdAt?: Date | string updatedAt?: Date | string files?: SymbolFileUncheckedCreateNestedManyWithoutWorkspaceInput definitions?: SymbolDefinitionUncheckedCreateNestedManyWithoutWorkspaceInput references?: SymbolReferenceUncheckedCreateNestedManyWithoutWorkspaceInput centralities?: SymbolCentralityUncheckedCreateNestedManyWithoutWorkspaceInput graphGenerations?: GraphGenerationUncheckedCreateNestedManyWithoutWorkspaceInput } export type WorkspaceCreateOrConnectWithoutImportsInput = { where: WorkspaceWhereUniqueInput create: XOR } export type GraphGenerationCreateWithoutImportsInput = { id: string status?: string fingerprint: string inputSnapshotHash: string expectedActiveId?: string | null leaseToken?: string | null leaseExpiresAt?: Date | string | null expectedFilesCount?: number completedFilesCount?: number filesCount?: number definitionsCount?: number referencesCount?: number importsCount?: number centralityCount?: number diagnosticsCount?: number recoveredCount?: number hardFailuresCount?: number staleFilesCount?: number failureReason?: string | null startedAt?: Date | string completedAt?: Date | string | null activatedAt?: Date | string | null supersededAt?: Date | string | null workspace: WorkspaceCreateNestedOneWithoutGraphGenerationsInput files?: SymbolFileCreateNestedManyWithoutGenerationInput definitions?: SymbolDefinitionCreateNestedManyWithoutGenerationInput references?: SymbolReferenceCreateNestedManyWithoutGenerationInput centralities?: SymbolCentralityCreateNestedManyWithoutGenerationInput activeForWorkspaces?: WorkspaceCreateNestedManyWithoutActiveGraphGenerationInput pendingForWorkspaces?: WorkspaceCreateNestedManyWithoutPendingGraphGenerationInput } export type GraphGenerationUncheckedCreateWithoutImportsInput = { id: string projectId: string status?: string fingerprint: string inputSnapshotHash: string expectedActiveId?: string | null leaseToken?: string | null leaseExpiresAt?: Date | string | null expectedFilesCount?: number completedFilesCount?: number filesCount?: number definitionsCount?: number referencesCount?: number importsCount?: number centralityCount?: number diagnosticsCount?: number recoveredCount?: number hardFailuresCount?: number staleFilesCount?: number failureReason?: string | null startedAt?: Date | string completedAt?: Date | string | null activatedAt?: Date | string | null supersededAt?: Date | string | null files?: SymbolFileUncheckedCreateNestedManyWithoutGenerationInput definitions?: SymbolDefinitionUncheckedCreateNestedManyWithoutGenerationInput references?: SymbolReferenceUncheckedCreateNestedManyWithoutGenerationInput centralities?: SymbolCentralityUncheckedCreateNestedManyWithoutGenerationInput activeForWorkspaces?: WorkspaceUncheckedCreateNestedManyWithoutActiveGraphGenerationInput pendingForWorkspaces?: WorkspaceUncheckedCreateNestedManyWithoutPendingGraphGenerationInput } export type GraphGenerationCreateOrConnectWithoutImportsInput = { where: GraphGenerationWhereUniqueInput create: XOR } export type WorkspaceUpsertWithoutImportsInput = { update: XOR create: XOR where?: WorkspaceWhereInput } export type WorkspaceUpdateToOneWithWhereWithoutImportsInput = { where?: WorkspaceWhereInput data: XOR } export type WorkspaceUpdateWithoutImportsInput = { projectPath?: StringFieldUpdateOperationsInput | string displayName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string lastIndexedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastError?: NullableStringFieldUpdateOperationsInput | string | null filesCount?: IntFieldUpdateOperationsInput | number chunksCount?: IntFieldUpdateOperationsInput | number symbolsCount?: IntFieldUpdateOperationsInput | number graphLeaseToken?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null graphLeaseHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activeFilesCount?: IntFieldUpdateOperationsInput | number activeDefinitionsCount?: IntFieldUpdateOperationsInput | number activeReferencesCount?: IntFieldUpdateOperationsInput | number activeImportsCount?: IntFieldUpdateOperationsInput | number activeCentralityCount?: IntFieldUpdateOperationsInput | number activeDiagnosticsCount?: IntFieldUpdateOperationsInput | number activeRecoveredCount?: IntFieldUpdateOperationsInput | number activeHardFailuresCount?: IntFieldUpdateOperationsInput | number activeStaleFilesCount?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string files?: SymbolFileUpdateManyWithoutWorkspaceNestedInput definitions?: SymbolDefinitionUpdateManyWithoutWorkspaceNestedInput references?: SymbolReferenceUpdateManyWithoutWorkspaceNestedInput centralities?: SymbolCentralityUpdateManyWithoutWorkspaceNestedInput graphGenerations?: GraphGenerationUpdateManyWithoutWorkspaceNestedInput activeGraphGeneration?: GraphGenerationUpdateOneWithoutActiveForWorkspacesNestedInput pendingGraphGeneration?: GraphGenerationUpdateOneWithoutPendingForWorkspacesNestedInput } export type WorkspaceUncheckedUpdateWithoutImportsInput = { projectId?: StringFieldUpdateOperationsInput | string projectPath?: StringFieldUpdateOperationsInput | string displayName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string lastIndexedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastError?: NullableStringFieldUpdateOperationsInput | string | null filesCount?: IntFieldUpdateOperationsInput | number chunksCount?: IntFieldUpdateOperationsInput | number symbolsCount?: IntFieldUpdateOperationsInput | number activeGraphGenerationId?: NullableStringFieldUpdateOperationsInput | string | null pendingGraphGenerationId?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseToken?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null graphLeaseHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activeFilesCount?: IntFieldUpdateOperationsInput | number activeDefinitionsCount?: IntFieldUpdateOperationsInput | number activeReferencesCount?: IntFieldUpdateOperationsInput | number activeImportsCount?: IntFieldUpdateOperationsInput | number activeCentralityCount?: IntFieldUpdateOperationsInput | number activeDiagnosticsCount?: IntFieldUpdateOperationsInput | number activeRecoveredCount?: IntFieldUpdateOperationsInput | number activeHardFailuresCount?: IntFieldUpdateOperationsInput | number activeStaleFilesCount?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string files?: SymbolFileUncheckedUpdateManyWithoutWorkspaceNestedInput definitions?: SymbolDefinitionUncheckedUpdateManyWithoutWorkspaceNestedInput references?: SymbolReferenceUncheckedUpdateManyWithoutWorkspaceNestedInput centralities?: SymbolCentralityUncheckedUpdateManyWithoutWorkspaceNestedInput graphGenerations?: GraphGenerationUncheckedUpdateManyWithoutWorkspaceNestedInput } export type GraphGenerationUpsertWithoutImportsInput = { update: XOR create: XOR where?: GraphGenerationWhereInput } export type GraphGenerationUpdateToOneWithWhereWithoutImportsInput = { where?: GraphGenerationWhereInput data: XOR } export type GraphGenerationUpdateWithoutImportsInput = { id?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string fingerprint?: StringFieldUpdateOperationsInput | string inputSnapshotHash?: StringFieldUpdateOperationsInput | string expectedActiveId?: NullableStringFieldUpdateOperationsInput | string | null leaseToken?: NullableStringFieldUpdateOperationsInput | string | null leaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expectedFilesCount?: IntFieldUpdateOperationsInput | number completedFilesCount?: IntFieldUpdateOperationsInput | number filesCount?: IntFieldUpdateOperationsInput | number definitionsCount?: IntFieldUpdateOperationsInput | number referencesCount?: IntFieldUpdateOperationsInput | number importsCount?: IntFieldUpdateOperationsInput | number centralityCount?: IntFieldUpdateOperationsInput | number diagnosticsCount?: IntFieldUpdateOperationsInput | number recoveredCount?: IntFieldUpdateOperationsInput | number hardFailuresCount?: IntFieldUpdateOperationsInput | number staleFilesCount?: IntFieldUpdateOperationsInput | number failureReason?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null supersededAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null workspace?: WorkspaceUpdateOneRequiredWithoutGraphGenerationsNestedInput files?: SymbolFileUpdateManyWithoutGenerationNestedInput definitions?: SymbolDefinitionUpdateManyWithoutGenerationNestedInput references?: SymbolReferenceUpdateManyWithoutGenerationNestedInput centralities?: SymbolCentralityUpdateManyWithoutGenerationNestedInput activeForWorkspaces?: WorkspaceUpdateManyWithoutActiveGraphGenerationNestedInput pendingForWorkspaces?: WorkspaceUpdateManyWithoutPendingGraphGenerationNestedInput } export type GraphGenerationUncheckedUpdateWithoutImportsInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string fingerprint?: StringFieldUpdateOperationsInput | string inputSnapshotHash?: StringFieldUpdateOperationsInput | string expectedActiveId?: NullableStringFieldUpdateOperationsInput | string | null leaseToken?: NullableStringFieldUpdateOperationsInput | string | null leaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expectedFilesCount?: IntFieldUpdateOperationsInput | number completedFilesCount?: IntFieldUpdateOperationsInput | number filesCount?: IntFieldUpdateOperationsInput | number definitionsCount?: IntFieldUpdateOperationsInput | number referencesCount?: IntFieldUpdateOperationsInput | number importsCount?: IntFieldUpdateOperationsInput | number centralityCount?: IntFieldUpdateOperationsInput | number diagnosticsCount?: IntFieldUpdateOperationsInput | number recoveredCount?: IntFieldUpdateOperationsInput | number hardFailuresCount?: IntFieldUpdateOperationsInput | number staleFilesCount?: IntFieldUpdateOperationsInput | number failureReason?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null supersededAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null files?: SymbolFileUncheckedUpdateManyWithoutGenerationNestedInput definitions?: SymbolDefinitionUncheckedUpdateManyWithoutGenerationNestedInput references?: SymbolReferenceUncheckedUpdateManyWithoutGenerationNestedInput centralities?: SymbolCentralityUncheckedUpdateManyWithoutGenerationNestedInput activeForWorkspaces?: WorkspaceUncheckedUpdateManyWithoutActiveGraphGenerationNestedInput pendingForWorkspaces?: WorkspaceUncheckedUpdateManyWithoutPendingGraphGenerationNestedInput } export type WorkspaceCreateWithoutCentralitiesInput = { projectPath: string displayName?: string | null status?: string lastIndexedAt?: Date | string | null lastError?: string | null filesCount?: number chunksCount?: number symbolsCount?: number graphLeaseToken?: string | null graphLeaseExpiresAt?: Date | string | null graphLeaseHeartbeatAt?: Date | string | null activeFilesCount?: number activeDefinitionsCount?: number activeReferencesCount?: number activeImportsCount?: number activeCentralityCount?: number activeDiagnosticsCount?: number activeRecoveredCount?: number activeHardFailuresCount?: number activeStaleFilesCount?: number createdAt?: Date | string updatedAt?: Date | string files?: SymbolFileCreateNestedManyWithoutWorkspaceInput definitions?: SymbolDefinitionCreateNestedManyWithoutWorkspaceInput references?: SymbolReferenceCreateNestedManyWithoutWorkspaceInput imports?: SymbolImportCreateNestedManyWithoutWorkspaceInput graphGenerations?: GraphGenerationCreateNestedManyWithoutWorkspaceInput activeGraphGeneration?: GraphGenerationCreateNestedOneWithoutActiveForWorkspacesInput pendingGraphGeneration?: GraphGenerationCreateNestedOneWithoutPendingForWorkspacesInput } export type WorkspaceUncheckedCreateWithoutCentralitiesInput = { projectId: string projectPath: string displayName?: string | null status?: string lastIndexedAt?: Date | string | null lastError?: string | null filesCount?: number chunksCount?: number symbolsCount?: number activeGraphGenerationId?: string | null pendingGraphGenerationId?: string | null graphLeaseToken?: string | null graphLeaseExpiresAt?: Date | string | null graphLeaseHeartbeatAt?: Date | string | null activeFilesCount?: number activeDefinitionsCount?: number activeReferencesCount?: number activeImportsCount?: number activeCentralityCount?: number activeDiagnosticsCount?: number activeRecoveredCount?: number activeHardFailuresCount?: number activeStaleFilesCount?: number createdAt?: Date | string updatedAt?: Date | string files?: SymbolFileUncheckedCreateNestedManyWithoutWorkspaceInput definitions?: SymbolDefinitionUncheckedCreateNestedManyWithoutWorkspaceInput references?: SymbolReferenceUncheckedCreateNestedManyWithoutWorkspaceInput imports?: SymbolImportUncheckedCreateNestedManyWithoutWorkspaceInput graphGenerations?: GraphGenerationUncheckedCreateNestedManyWithoutWorkspaceInput } export type WorkspaceCreateOrConnectWithoutCentralitiesInput = { where: WorkspaceWhereUniqueInput create: XOR } export type GraphGenerationCreateWithoutCentralitiesInput = { id: string status?: string fingerprint: string inputSnapshotHash: string expectedActiveId?: string | null leaseToken?: string | null leaseExpiresAt?: Date | string | null expectedFilesCount?: number completedFilesCount?: number filesCount?: number definitionsCount?: number referencesCount?: number importsCount?: number centralityCount?: number diagnosticsCount?: number recoveredCount?: number hardFailuresCount?: number staleFilesCount?: number failureReason?: string | null startedAt?: Date | string completedAt?: Date | string | null activatedAt?: Date | string | null supersededAt?: Date | string | null workspace: WorkspaceCreateNestedOneWithoutGraphGenerationsInput files?: SymbolFileCreateNestedManyWithoutGenerationInput definitions?: SymbolDefinitionCreateNestedManyWithoutGenerationInput references?: SymbolReferenceCreateNestedManyWithoutGenerationInput imports?: SymbolImportCreateNestedManyWithoutGenerationInput activeForWorkspaces?: WorkspaceCreateNestedManyWithoutActiveGraphGenerationInput pendingForWorkspaces?: WorkspaceCreateNestedManyWithoutPendingGraphGenerationInput } export type GraphGenerationUncheckedCreateWithoutCentralitiesInput = { id: string projectId: string status?: string fingerprint: string inputSnapshotHash: string expectedActiveId?: string | null leaseToken?: string | null leaseExpiresAt?: Date | string | null expectedFilesCount?: number completedFilesCount?: number filesCount?: number definitionsCount?: number referencesCount?: number importsCount?: number centralityCount?: number diagnosticsCount?: number recoveredCount?: number hardFailuresCount?: number staleFilesCount?: number failureReason?: string | null startedAt?: Date | string completedAt?: Date | string | null activatedAt?: Date | string | null supersededAt?: Date | string | null files?: SymbolFileUncheckedCreateNestedManyWithoutGenerationInput definitions?: SymbolDefinitionUncheckedCreateNestedManyWithoutGenerationInput references?: SymbolReferenceUncheckedCreateNestedManyWithoutGenerationInput imports?: SymbolImportUncheckedCreateNestedManyWithoutGenerationInput activeForWorkspaces?: WorkspaceUncheckedCreateNestedManyWithoutActiveGraphGenerationInput pendingForWorkspaces?: WorkspaceUncheckedCreateNestedManyWithoutPendingGraphGenerationInput } export type GraphGenerationCreateOrConnectWithoutCentralitiesInput = { where: GraphGenerationWhereUniqueInput create: XOR } export type WorkspaceUpsertWithoutCentralitiesInput = { update: XOR create: XOR where?: WorkspaceWhereInput } export type WorkspaceUpdateToOneWithWhereWithoutCentralitiesInput = { where?: WorkspaceWhereInput data: XOR } export type WorkspaceUpdateWithoutCentralitiesInput = { projectPath?: StringFieldUpdateOperationsInput | string displayName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string lastIndexedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastError?: NullableStringFieldUpdateOperationsInput | string | null filesCount?: IntFieldUpdateOperationsInput | number chunksCount?: IntFieldUpdateOperationsInput | number symbolsCount?: IntFieldUpdateOperationsInput | number graphLeaseToken?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null graphLeaseHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activeFilesCount?: IntFieldUpdateOperationsInput | number activeDefinitionsCount?: IntFieldUpdateOperationsInput | number activeReferencesCount?: IntFieldUpdateOperationsInput | number activeImportsCount?: IntFieldUpdateOperationsInput | number activeCentralityCount?: IntFieldUpdateOperationsInput | number activeDiagnosticsCount?: IntFieldUpdateOperationsInput | number activeRecoveredCount?: IntFieldUpdateOperationsInput | number activeHardFailuresCount?: IntFieldUpdateOperationsInput | number activeStaleFilesCount?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string files?: SymbolFileUpdateManyWithoutWorkspaceNestedInput definitions?: SymbolDefinitionUpdateManyWithoutWorkspaceNestedInput references?: SymbolReferenceUpdateManyWithoutWorkspaceNestedInput imports?: SymbolImportUpdateManyWithoutWorkspaceNestedInput graphGenerations?: GraphGenerationUpdateManyWithoutWorkspaceNestedInput activeGraphGeneration?: GraphGenerationUpdateOneWithoutActiveForWorkspacesNestedInput pendingGraphGeneration?: GraphGenerationUpdateOneWithoutPendingForWorkspacesNestedInput } export type WorkspaceUncheckedUpdateWithoutCentralitiesInput = { projectId?: StringFieldUpdateOperationsInput | string projectPath?: StringFieldUpdateOperationsInput | string displayName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string lastIndexedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastError?: NullableStringFieldUpdateOperationsInput | string | null filesCount?: IntFieldUpdateOperationsInput | number chunksCount?: IntFieldUpdateOperationsInput | number symbolsCount?: IntFieldUpdateOperationsInput | number activeGraphGenerationId?: NullableStringFieldUpdateOperationsInput | string | null pendingGraphGenerationId?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseToken?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null graphLeaseHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activeFilesCount?: IntFieldUpdateOperationsInput | number activeDefinitionsCount?: IntFieldUpdateOperationsInput | number activeReferencesCount?: IntFieldUpdateOperationsInput | number activeImportsCount?: IntFieldUpdateOperationsInput | number activeCentralityCount?: IntFieldUpdateOperationsInput | number activeDiagnosticsCount?: IntFieldUpdateOperationsInput | number activeRecoveredCount?: IntFieldUpdateOperationsInput | number activeHardFailuresCount?: IntFieldUpdateOperationsInput | number activeStaleFilesCount?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string files?: SymbolFileUncheckedUpdateManyWithoutWorkspaceNestedInput definitions?: SymbolDefinitionUncheckedUpdateManyWithoutWorkspaceNestedInput references?: SymbolReferenceUncheckedUpdateManyWithoutWorkspaceNestedInput imports?: SymbolImportUncheckedUpdateManyWithoutWorkspaceNestedInput graphGenerations?: GraphGenerationUncheckedUpdateManyWithoutWorkspaceNestedInput } export type GraphGenerationUpsertWithoutCentralitiesInput = { update: XOR create: XOR where?: GraphGenerationWhereInput } export type GraphGenerationUpdateToOneWithWhereWithoutCentralitiesInput = { where?: GraphGenerationWhereInput data: XOR } export type GraphGenerationUpdateWithoutCentralitiesInput = { id?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string fingerprint?: StringFieldUpdateOperationsInput | string inputSnapshotHash?: StringFieldUpdateOperationsInput | string expectedActiveId?: NullableStringFieldUpdateOperationsInput | string | null leaseToken?: NullableStringFieldUpdateOperationsInput | string | null leaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expectedFilesCount?: IntFieldUpdateOperationsInput | number completedFilesCount?: IntFieldUpdateOperationsInput | number filesCount?: IntFieldUpdateOperationsInput | number definitionsCount?: IntFieldUpdateOperationsInput | number referencesCount?: IntFieldUpdateOperationsInput | number importsCount?: IntFieldUpdateOperationsInput | number centralityCount?: IntFieldUpdateOperationsInput | number diagnosticsCount?: IntFieldUpdateOperationsInput | number recoveredCount?: IntFieldUpdateOperationsInput | number hardFailuresCount?: IntFieldUpdateOperationsInput | number staleFilesCount?: IntFieldUpdateOperationsInput | number failureReason?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null supersededAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null workspace?: WorkspaceUpdateOneRequiredWithoutGraphGenerationsNestedInput files?: SymbolFileUpdateManyWithoutGenerationNestedInput definitions?: SymbolDefinitionUpdateManyWithoutGenerationNestedInput references?: SymbolReferenceUpdateManyWithoutGenerationNestedInput imports?: SymbolImportUpdateManyWithoutGenerationNestedInput activeForWorkspaces?: WorkspaceUpdateManyWithoutActiveGraphGenerationNestedInput pendingForWorkspaces?: WorkspaceUpdateManyWithoutPendingGraphGenerationNestedInput } export type GraphGenerationUncheckedUpdateWithoutCentralitiesInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string fingerprint?: StringFieldUpdateOperationsInput | string inputSnapshotHash?: StringFieldUpdateOperationsInput | string expectedActiveId?: NullableStringFieldUpdateOperationsInput | string | null leaseToken?: NullableStringFieldUpdateOperationsInput | string | null leaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expectedFilesCount?: IntFieldUpdateOperationsInput | number completedFilesCount?: IntFieldUpdateOperationsInput | number filesCount?: IntFieldUpdateOperationsInput | number definitionsCount?: IntFieldUpdateOperationsInput | number referencesCount?: IntFieldUpdateOperationsInput | number importsCount?: IntFieldUpdateOperationsInput | number centralityCount?: IntFieldUpdateOperationsInput | number diagnosticsCount?: IntFieldUpdateOperationsInput | number recoveredCount?: IntFieldUpdateOperationsInput | number hardFailuresCount?: IntFieldUpdateOperationsInput | number staleFilesCount?: IntFieldUpdateOperationsInput | number failureReason?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null supersededAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null files?: SymbolFileUncheckedUpdateManyWithoutGenerationNestedInput definitions?: SymbolDefinitionUncheckedUpdateManyWithoutGenerationNestedInput references?: SymbolReferenceUncheckedUpdateManyWithoutGenerationNestedInput imports?: SymbolImportUncheckedUpdateManyWithoutGenerationNestedInput activeForWorkspaces?: WorkspaceUncheckedUpdateManyWithoutActiveGraphGenerationNestedInput pendingForWorkspaces?: WorkspaceUncheckedUpdateManyWithoutPendingGraphGenerationNestedInput } export type MemoryCreateWithoutEdgesFromInput = { id: string content: string type: string level: number userId?: string | null sessionId?: string | null projectId?: string | null agentId?: string | null importance?: number tags?: MemoryCreatetagsInput | string[] embedding?: Bytes | null metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string accessCount?: number lastAccessed?: Date | string | null pinned?: boolean deletedAt?: Date | string | null edgesTo?: MemoryEdgeCreateNestedManyWithoutToMemoryInput } export type MemoryUncheckedCreateWithoutEdgesFromInput = { id: string content: string type: string level: number userId?: string | null sessionId?: string | null projectId?: string | null agentId?: string | null importance?: number tags?: MemoryCreatetagsInput | string[] embedding?: Bytes | null metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string accessCount?: number lastAccessed?: Date | string | null pinned?: boolean deletedAt?: Date | string | null edgesTo?: MemoryEdgeUncheckedCreateNestedManyWithoutToMemoryInput } export type MemoryCreateOrConnectWithoutEdgesFromInput = { where: MemoryWhereUniqueInput create: XOR } export type MemoryCreateWithoutEdgesToInput = { id: string content: string type: string level: number userId?: string | null sessionId?: string | null projectId?: string | null agentId?: string | null importance?: number tags?: MemoryCreatetagsInput | string[] embedding?: Bytes | null metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string accessCount?: number lastAccessed?: Date | string | null pinned?: boolean deletedAt?: Date | string | null edgesFrom?: MemoryEdgeCreateNestedManyWithoutFromMemoryInput } export type MemoryUncheckedCreateWithoutEdgesToInput = { id: string content: string type: string level: number userId?: string | null sessionId?: string | null projectId?: string | null agentId?: string | null importance?: number tags?: MemoryCreatetagsInput | string[] embedding?: Bytes | null metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string accessCount?: number lastAccessed?: Date | string | null pinned?: boolean deletedAt?: Date | string | null edgesFrom?: MemoryEdgeUncheckedCreateNestedManyWithoutFromMemoryInput } export type MemoryCreateOrConnectWithoutEdgesToInput = { where: MemoryWhereUniqueInput create: XOR } export type MemoryUpsertWithoutEdgesFromInput = { update: XOR create: XOR where?: MemoryWhereInput } export type MemoryUpdateToOneWithWhereWithoutEdgesFromInput = { where?: MemoryWhereInput data: XOR } export type MemoryUpdateWithoutEdgesFromInput = { id?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string type?: StringFieldUpdateOperationsInput | string level?: IntFieldUpdateOperationsInput | number userId?: NullableStringFieldUpdateOperationsInput | string | null sessionId?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null agentId?: NullableStringFieldUpdateOperationsInput | string | null importance?: FloatFieldUpdateOperationsInput | number tags?: MemoryUpdatetagsInput | string[] embedding?: NullableBytesFieldUpdateOperationsInput | Bytes | null metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessCount?: IntFieldUpdateOperationsInput | number lastAccessed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null pinned?: BoolFieldUpdateOperationsInput | boolean deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null edgesTo?: MemoryEdgeUpdateManyWithoutToMemoryNestedInput } export type MemoryUncheckedUpdateWithoutEdgesFromInput = { id?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string type?: StringFieldUpdateOperationsInput | string level?: IntFieldUpdateOperationsInput | number userId?: NullableStringFieldUpdateOperationsInput | string | null sessionId?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null agentId?: NullableStringFieldUpdateOperationsInput | string | null importance?: FloatFieldUpdateOperationsInput | number tags?: MemoryUpdatetagsInput | string[] embedding?: NullableBytesFieldUpdateOperationsInput | Bytes | null metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessCount?: IntFieldUpdateOperationsInput | number lastAccessed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null pinned?: BoolFieldUpdateOperationsInput | boolean deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null edgesTo?: MemoryEdgeUncheckedUpdateManyWithoutToMemoryNestedInput } export type MemoryUpsertWithoutEdgesToInput = { update: XOR create: XOR where?: MemoryWhereInput } export type MemoryUpdateToOneWithWhereWithoutEdgesToInput = { where?: MemoryWhereInput data: XOR } export type MemoryUpdateWithoutEdgesToInput = { id?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string type?: StringFieldUpdateOperationsInput | string level?: IntFieldUpdateOperationsInput | number userId?: NullableStringFieldUpdateOperationsInput | string | null sessionId?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null agentId?: NullableStringFieldUpdateOperationsInput | string | null importance?: FloatFieldUpdateOperationsInput | number tags?: MemoryUpdatetagsInput | string[] embedding?: NullableBytesFieldUpdateOperationsInput | Bytes | null metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessCount?: IntFieldUpdateOperationsInput | number lastAccessed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null pinned?: BoolFieldUpdateOperationsInput | boolean deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null edgesFrom?: MemoryEdgeUpdateManyWithoutFromMemoryNestedInput } export type MemoryUncheckedUpdateWithoutEdgesToInput = { id?: StringFieldUpdateOperationsInput | string content?: StringFieldUpdateOperationsInput | string type?: StringFieldUpdateOperationsInput | string level?: IntFieldUpdateOperationsInput | number userId?: NullableStringFieldUpdateOperationsInput | string | null sessionId?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null agentId?: NullableStringFieldUpdateOperationsInput | string | null importance?: FloatFieldUpdateOperationsInput | number tags?: MemoryUpdatetagsInput | string[] embedding?: NullableBytesFieldUpdateOperationsInput | Bytes | null metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessCount?: IntFieldUpdateOperationsInput | number lastAccessed?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null pinned?: BoolFieldUpdateOperationsInput | boolean deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null edgesFrom?: MemoryEdgeUncheckedUpdateManyWithoutFromMemoryNestedInput } export type MemoryEdgeCreateManyFromMemoryInput = { id?: number toId: string edgeType: string weight?: number metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string } export type MemoryEdgeCreateManyToMemoryInput = { id?: number fromId: string edgeType: string weight?: number metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string } export type MemoryEdgeUpdateWithoutFromMemoryInput = { edgeType?: StringFieldUpdateOperationsInput | string weight?: FloatFieldUpdateOperationsInput | number metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string toMemory?: MemoryUpdateOneRequiredWithoutEdgesToNestedInput } export type MemoryEdgeUncheckedUpdateWithoutFromMemoryInput = { id?: IntFieldUpdateOperationsInput | number toId?: StringFieldUpdateOperationsInput | string edgeType?: StringFieldUpdateOperationsInput | string weight?: FloatFieldUpdateOperationsInput | number metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type MemoryEdgeUncheckedUpdateManyWithoutFromMemoryInput = { id?: IntFieldUpdateOperationsInput | number toId?: StringFieldUpdateOperationsInput | string edgeType?: StringFieldUpdateOperationsInput | string weight?: FloatFieldUpdateOperationsInput | number metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type MemoryEdgeUpdateWithoutToMemoryInput = { edgeType?: StringFieldUpdateOperationsInput | string weight?: FloatFieldUpdateOperationsInput | number metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string fromMemory?: MemoryUpdateOneRequiredWithoutEdgesFromNestedInput } export type MemoryEdgeUncheckedUpdateWithoutToMemoryInput = { id?: IntFieldUpdateOperationsInput | number fromId?: StringFieldUpdateOperationsInput | string edgeType?: StringFieldUpdateOperationsInput | string weight?: FloatFieldUpdateOperationsInput | number metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type MemoryEdgeUncheckedUpdateManyWithoutToMemoryInput = { id?: IntFieldUpdateOperationsInput | number fromId?: StringFieldUpdateOperationsInput | string edgeType?: StringFieldUpdateOperationsInput | string weight?: FloatFieldUpdateOperationsInput | number metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type DocumentCreateManyProjectInput = { id?: string filePath: string fileType?: string | null size?: number indexedAt: Date | string } export type DocumentUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string filePath?: StringFieldUpdateOperationsInput | string fileType?: NullableStringFieldUpdateOperationsInput | string | null size?: IntFieldUpdateOperationsInput | number indexedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type DocumentUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string filePath?: StringFieldUpdateOperationsInput | string fileType?: NullableStringFieldUpdateOperationsInput | string | null size?: IntFieldUpdateOperationsInput | number indexedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type DocumentUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string filePath?: StringFieldUpdateOperationsInput | string fileType?: NullableStringFieldUpdateOperationsInput | string | null size?: IntFieldUpdateOperationsInput | number indexedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type SymbolFileCreateManyWorkspaceInput = { generationId: string relativePath: string contentHash: string mtime: bigint | number size?: number indexedAt: Date | string symbolCount?: number chunkCount?: number language?: string | null dialect?: string | null grammarVersion?: string | null queryPackVersion?: string | null resolverVersion?: string | null parserStatus?: string parserErrorCount?: number diagnostics?: JsonNullValueInput | InputJsonValue isStale?: boolean lastKnownGoodGenerationId?: string | null lastSuccessfulAt?: Date | string | null } export type SymbolDefinitionCreateManyWorkspaceInput = { id: string generationId: string filePath: string name: string kind: string lineStart: number lineEnd: number exported?: boolean docComment?: string | null indexedAt: Date | string qualifiedName: string canonicalSignature?: string | null signatureHash?: string | null legacyFqn: string sourceSpan?: NullableJsonNullValueInput | InputJsonValue } export type SymbolReferenceCreateManyWorkspaceInput = { id?: number generationId: string fromFile: string fromLine: number symbolName: string targetFqn?: string | null refKind: string meta?: NullableJsonNullValueInput | InputJsonValue sourceSpan?: NullableJsonNullValueInput | InputJsonValue } export type SymbolImportCreateManyWorkspaceInput = { id?: number generationId: string fromFile: string toFile?: string | null specifier: string importedNames?: SymbolImportCreateimportedNamesInput | string[] isExternal?: boolean isTypeOnly?: boolean } export type SymbolCentralityCreateManyWorkspaceInput = { generationId: string filePath: string score?: number updatedAt: Date | string } export type GraphGenerationCreateManyWorkspaceInput = { id: string status?: string fingerprint: string inputSnapshotHash: string expectedActiveId?: string | null leaseToken?: string | null leaseExpiresAt?: Date | string | null expectedFilesCount?: number completedFilesCount?: number filesCount?: number definitionsCount?: number referencesCount?: number importsCount?: number centralityCount?: number diagnosticsCount?: number recoveredCount?: number hardFailuresCount?: number staleFilesCount?: number failureReason?: string | null startedAt?: Date | string completedAt?: Date | string | null activatedAt?: Date | string | null supersededAt?: Date | string | null } export type SymbolFileUpdateWithoutWorkspaceInput = { relativePath?: StringFieldUpdateOperationsInput | string contentHash?: StringFieldUpdateOperationsInput | string mtime?: BigIntFieldUpdateOperationsInput | bigint | number size?: IntFieldUpdateOperationsInput | number indexedAt?: DateTimeFieldUpdateOperationsInput | Date | string symbolCount?: IntFieldUpdateOperationsInput | number chunkCount?: IntFieldUpdateOperationsInput | number language?: NullableStringFieldUpdateOperationsInput | string | null dialect?: NullableStringFieldUpdateOperationsInput | string | null grammarVersion?: NullableStringFieldUpdateOperationsInput | string | null queryPackVersion?: NullableStringFieldUpdateOperationsInput | string | null resolverVersion?: NullableStringFieldUpdateOperationsInput | string | null parserStatus?: StringFieldUpdateOperationsInput | string parserErrorCount?: IntFieldUpdateOperationsInput | number diagnostics?: JsonNullValueInput | InputJsonValue isStale?: BoolFieldUpdateOperationsInput | boolean lastKnownGoodGenerationId?: NullableStringFieldUpdateOperationsInput | string | null lastSuccessfulAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null generation?: GraphGenerationUpdateOneRequiredWithoutFilesNestedInput } export type SymbolFileUncheckedUpdateWithoutWorkspaceInput = { generationId?: StringFieldUpdateOperationsInput | string relativePath?: StringFieldUpdateOperationsInput | string contentHash?: StringFieldUpdateOperationsInput | string mtime?: BigIntFieldUpdateOperationsInput | bigint | number size?: IntFieldUpdateOperationsInput | number indexedAt?: DateTimeFieldUpdateOperationsInput | Date | string symbolCount?: IntFieldUpdateOperationsInput | number chunkCount?: IntFieldUpdateOperationsInput | number language?: NullableStringFieldUpdateOperationsInput | string | null dialect?: NullableStringFieldUpdateOperationsInput | string | null grammarVersion?: NullableStringFieldUpdateOperationsInput | string | null queryPackVersion?: NullableStringFieldUpdateOperationsInput | string | null resolverVersion?: NullableStringFieldUpdateOperationsInput | string | null parserStatus?: StringFieldUpdateOperationsInput | string parserErrorCount?: IntFieldUpdateOperationsInput | number diagnostics?: JsonNullValueInput | InputJsonValue isStale?: BoolFieldUpdateOperationsInput | boolean lastKnownGoodGenerationId?: NullableStringFieldUpdateOperationsInput | string | null lastSuccessfulAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type SymbolFileUncheckedUpdateManyWithoutWorkspaceInput = { generationId?: StringFieldUpdateOperationsInput | string relativePath?: StringFieldUpdateOperationsInput | string contentHash?: StringFieldUpdateOperationsInput | string mtime?: BigIntFieldUpdateOperationsInput | bigint | number size?: IntFieldUpdateOperationsInput | number indexedAt?: DateTimeFieldUpdateOperationsInput | Date | string symbolCount?: IntFieldUpdateOperationsInput | number chunkCount?: IntFieldUpdateOperationsInput | number language?: NullableStringFieldUpdateOperationsInput | string | null dialect?: NullableStringFieldUpdateOperationsInput | string | null grammarVersion?: NullableStringFieldUpdateOperationsInput | string | null queryPackVersion?: NullableStringFieldUpdateOperationsInput | string | null resolverVersion?: NullableStringFieldUpdateOperationsInput | string | null parserStatus?: StringFieldUpdateOperationsInput | string parserErrorCount?: IntFieldUpdateOperationsInput | number diagnostics?: JsonNullValueInput | InputJsonValue isStale?: BoolFieldUpdateOperationsInput | boolean lastKnownGoodGenerationId?: NullableStringFieldUpdateOperationsInput | string | null lastSuccessfulAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type SymbolDefinitionUpdateWithoutWorkspaceInput = { id?: StringFieldUpdateOperationsInput | string filePath?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string kind?: StringFieldUpdateOperationsInput | string lineStart?: IntFieldUpdateOperationsInput | number lineEnd?: IntFieldUpdateOperationsInput | number exported?: BoolFieldUpdateOperationsInput | boolean docComment?: NullableStringFieldUpdateOperationsInput | string | null indexedAt?: DateTimeFieldUpdateOperationsInput | Date | string qualifiedName?: StringFieldUpdateOperationsInput | string canonicalSignature?: NullableStringFieldUpdateOperationsInput | string | null signatureHash?: NullableStringFieldUpdateOperationsInput | string | null legacyFqn?: StringFieldUpdateOperationsInput | string sourceSpan?: NullableJsonNullValueInput | InputJsonValue generation?: GraphGenerationUpdateOneRequiredWithoutDefinitionsNestedInput } export type SymbolDefinitionUncheckedUpdateWithoutWorkspaceInput = { id?: StringFieldUpdateOperationsInput | string generationId?: StringFieldUpdateOperationsInput | string filePath?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string kind?: StringFieldUpdateOperationsInput | string lineStart?: IntFieldUpdateOperationsInput | number lineEnd?: IntFieldUpdateOperationsInput | number exported?: BoolFieldUpdateOperationsInput | boolean docComment?: NullableStringFieldUpdateOperationsInput | string | null indexedAt?: DateTimeFieldUpdateOperationsInput | Date | string qualifiedName?: StringFieldUpdateOperationsInput | string canonicalSignature?: NullableStringFieldUpdateOperationsInput | string | null signatureHash?: NullableStringFieldUpdateOperationsInput | string | null legacyFqn?: StringFieldUpdateOperationsInput | string sourceSpan?: NullableJsonNullValueInput | InputJsonValue } export type SymbolDefinitionUncheckedUpdateManyWithoutWorkspaceInput = { id?: StringFieldUpdateOperationsInput | string generationId?: StringFieldUpdateOperationsInput | string filePath?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string kind?: StringFieldUpdateOperationsInput | string lineStart?: IntFieldUpdateOperationsInput | number lineEnd?: IntFieldUpdateOperationsInput | number exported?: BoolFieldUpdateOperationsInput | boolean docComment?: NullableStringFieldUpdateOperationsInput | string | null indexedAt?: DateTimeFieldUpdateOperationsInput | Date | string qualifiedName?: StringFieldUpdateOperationsInput | string canonicalSignature?: NullableStringFieldUpdateOperationsInput | string | null signatureHash?: NullableStringFieldUpdateOperationsInput | string | null legacyFqn?: StringFieldUpdateOperationsInput | string sourceSpan?: NullableJsonNullValueInput | InputJsonValue } export type SymbolReferenceUpdateWithoutWorkspaceInput = { fromFile?: StringFieldUpdateOperationsInput | string fromLine?: IntFieldUpdateOperationsInput | number symbolName?: StringFieldUpdateOperationsInput | string targetFqn?: NullableStringFieldUpdateOperationsInput | string | null refKind?: StringFieldUpdateOperationsInput | string meta?: NullableJsonNullValueInput | InputJsonValue sourceSpan?: NullableJsonNullValueInput | InputJsonValue generation?: GraphGenerationUpdateOneRequiredWithoutReferencesNestedInput } export type SymbolReferenceUncheckedUpdateWithoutWorkspaceInput = { id?: IntFieldUpdateOperationsInput | number generationId?: StringFieldUpdateOperationsInput | string fromFile?: StringFieldUpdateOperationsInput | string fromLine?: IntFieldUpdateOperationsInput | number symbolName?: StringFieldUpdateOperationsInput | string targetFqn?: NullableStringFieldUpdateOperationsInput | string | null refKind?: StringFieldUpdateOperationsInput | string meta?: NullableJsonNullValueInput | InputJsonValue sourceSpan?: NullableJsonNullValueInput | InputJsonValue } export type SymbolReferenceUncheckedUpdateManyWithoutWorkspaceInput = { id?: IntFieldUpdateOperationsInput | number generationId?: StringFieldUpdateOperationsInput | string fromFile?: StringFieldUpdateOperationsInput | string fromLine?: IntFieldUpdateOperationsInput | number symbolName?: StringFieldUpdateOperationsInput | string targetFqn?: NullableStringFieldUpdateOperationsInput | string | null refKind?: StringFieldUpdateOperationsInput | string meta?: NullableJsonNullValueInput | InputJsonValue sourceSpan?: NullableJsonNullValueInput | InputJsonValue } export type SymbolImportUpdateWithoutWorkspaceInput = { fromFile?: StringFieldUpdateOperationsInput | string toFile?: NullableStringFieldUpdateOperationsInput | string | null specifier?: StringFieldUpdateOperationsInput | string importedNames?: SymbolImportUpdateimportedNamesInput | string[] isExternal?: BoolFieldUpdateOperationsInput | boolean isTypeOnly?: BoolFieldUpdateOperationsInput | boolean generation?: GraphGenerationUpdateOneRequiredWithoutImportsNestedInput } export type SymbolImportUncheckedUpdateWithoutWorkspaceInput = { id?: IntFieldUpdateOperationsInput | number generationId?: StringFieldUpdateOperationsInput | string fromFile?: StringFieldUpdateOperationsInput | string toFile?: NullableStringFieldUpdateOperationsInput | string | null specifier?: StringFieldUpdateOperationsInput | string importedNames?: SymbolImportUpdateimportedNamesInput | string[] isExternal?: BoolFieldUpdateOperationsInput | boolean isTypeOnly?: BoolFieldUpdateOperationsInput | boolean } export type SymbolImportUncheckedUpdateManyWithoutWorkspaceInput = { id?: IntFieldUpdateOperationsInput | number generationId?: StringFieldUpdateOperationsInput | string fromFile?: StringFieldUpdateOperationsInput | string toFile?: NullableStringFieldUpdateOperationsInput | string | null specifier?: StringFieldUpdateOperationsInput | string importedNames?: SymbolImportUpdateimportedNamesInput | string[] isExternal?: BoolFieldUpdateOperationsInput | boolean isTypeOnly?: BoolFieldUpdateOperationsInput | boolean } export type SymbolCentralityUpdateWithoutWorkspaceInput = { filePath?: StringFieldUpdateOperationsInput | string score?: FloatFieldUpdateOperationsInput | number updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string generation?: GraphGenerationUpdateOneRequiredWithoutCentralitiesNestedInput } export type SymbolCentralityUncheckedUpdateWithoutWorkspaceInput = { generationId?: StringFieldUpdateOperationsInput | string filePath?: StringFieldUpdateOperationsInput | string score?: FloatFieldUpdateOperationsInput | number updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type SymbolCentralityUncheckedUpdateManyWithoutWorkspaceInput = { generationId?: StringFieldUpdateOperationsInput | string filePath?: StringFieldUpdateOperationsInput | string score?: FloatFieldUpdateOperationsInput | number updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type GraphGenerationUpdateWithoutWorkspaceInput = { id?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string fingerprint?: StringFieldUpdateOperationsInput | string inputSnapshotHash?: StringFieldUpdateOperationsInput | string expectedActiveId?: NullableStringFieldUpdateOperationsInput | string | null leaseToken?: NullableStringFieldUpdateOperationsInput | string | null leaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expectedFilesCount?: IntFieldUpdateOperationsInput | number completedFilesCount?: IntFieldUpdateOperationsInput | number filesCount?: IntFieldUpdateOperationsInput | number definitionsCount?: IntFieldUpdateOperationsInput | number referencesCount?: IntFieldUpdateOperationsInput | number importsCount?: IntFieldUpdateOperationsInput | number centralityCount?: IntFieldUpdateOperationsInput | number diagnosticsCount?: IntFieldUpdateOperationsInput | number recoveredCount?: IntFieldUpdateOperationsInput | number hardFailuresCount?: IntFieldUpdateOperationsInput | number staleFilesCount?: IntFieldUpdateOperationsInput | number failureReason?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null supersededAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null files?: SymbolFileUpdateManyWithoutGenerationNestedInput definitions?: SymbolDefinitionUpdateManyWithoutGenerationNestedInput references?: SymbolReferenceUpdateManyWithoutGenerationNestedInput imports?: SymbolImportUpdateManyWithoutGenerationNestedInput centralities?: SymbolCentralityUpdateManyWithoutGenerationNestedInput activeForWorkspaces?: WorkspaceUpdateManyWithoutActiveGraphGenerationNestedInput pendingForWorkspaces?: WorkspaceUpdateManyWithoutPendingGraphGenerationNestedInput } export type GraphGenerationUncheckedUpdateWithoutWorkspaceInput = { id?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string fingerprint?: StringFieldUpdateOperationsInput | string inputSnapshotHash?: StringFieldUpdateOperationsInput | string expectedActiveId?: NullableStringFieldUpdateOperationsInput | string | null leaseToken?: NullableStringFieldUpdateOperationsInput | string | null leaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expectedFilesCount?: IntFieldUpdateOperationsInput | number completedFilesCount?: IntFieldUpdateOperationsInput | number filesCount?: IntFieldUpdateOperationsInput | number definitionsCount?: IntFieldUpdateOperationsInput | number referencesCount?: IntFieldUpdateOperationsInput | number importsCount?: IntFieldUpdateOperationsInput | number centralityCount?: IntFieldUpdateOperationsInput | number diagnosticsCount?: IntFieldUpdateOperationsInput | number recoveredCount?: IntFieldUpdateOperationsInput | number hardFailuresCount?: IntFieldUpdateOperationsInput | number staleFilesCount?: IntFieldUpdateOperationsInput | number failureReason?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null supersededAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null files?: SymbolFileUncheckedUpdateManyWithoutGenerationNestedInput definitions?: SymbolDefinitionUncheckedUpdateManyWithoutGenerationNestedInput references?: SymbolReferenceUncheckedUpdateManyWithoutGenerationNestedInput imports?: SymbolImportUncheckedUpdateManyWithoutGenerationNestedInput centralities?: SymbolCentralityUncheckedUpdateManyWithoutGenerationNestedInput activeForWorkspaces?: WorkspaceUncheckedUpdateManyWithoutActiveGraphGenerationNestedInput pendingForWorkspaces?: WorkspaceUncheckedUpdateManyWithoutPendingGraphGenerationNestedInput } export type GraphGenerationUncheckedUpdateManyWithoutWorkspaceInput = { id?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string fingerprint?: StringFieldUpdateOperationsInput | string inputSnapshotHash?: StringFieldUpdateOperationsInput | string expectedActiveId?: NullableStringFieldUpdateOperationsInput | string | null leaseToken?: NullableStringFieldUpdateOperationsInput | string | null leaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expectedFilesCount?: IntFieldUpdateOperationsInput | number completedFilesCount?: IntFieldUpdateOperationsInput | number filesCount?: IntFieldUpdateOperationsInput | number definitionsCount?: IntFieldUpdateOperationsInput | number referencesCount?: IntFieldUpdateOperationsInput | number importsCount?: IntFieldUpdateOperationsInput | number centralityCount?: IntFieldUpdateOperationsInput | number diagnosticsCount?: IntFieldUpdateOperationsInput | number recoveredCount?: IntFieldUpdateOperationsInput | number hardFailuresCount?: IntFieldUpdateOperationsInput | number staleFilesCount?: IntFieldUpdateOperationsInput | number failureReason?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null supersededAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type SymbolFileCreateManyGenerationInput = { relativePath: string contentHash: string mtime: bigint | number size?: number indexedAt: Date | string symbolCount?: number chunkCount?: number language?: string | null dialect?: string | null grammarVersion?: string | null queryPackVersion?: string | null resolverVersion?: string | null parserStatus?: string parserErrorCount?: number diagnostics?: JsonNullValueInput | InputJsonValue isStale?: boolean lastKnownGoodGenerationId?: string | null lastSuccessfulAt?: Date | string | null } export type SymbolDefinitionCreateManyGenerationInput = { id: string filePath: string name: string kind: string lineStart: number lineEnd: number exported?: boolean docComment?: string | null indexedAt: Date | string qualifiedName: string canonicalSignature?: string | null signatureHash?: string | null legacyFqn: string sourceSpan?: NullableJsonNullValueInput | InputJsonValue } export type SymbolReferenceCreateManyGenerationInput = { id?: number fromFile: string fromLine: number symbolName: string targetFqn?: string | null refKind: string meta?: NullableJsonNullValueInput | InputJsonValue sourceSpan?: NullableJsonNullValueInput | InputJsonValue } export type SymbolImportCreateManyGenerationInput = { id?: number fromFile: string toFile?: string | null specifier: string importedNames?: SymbolImportCreateimportedNamesInput | string[] isExternal?: boolean isTypeOnly?: boolean } export type SymbolCentralityCreateManyGenerationInput = { filePath: string score?: number updatedAt: Date | string } export type WorkspaceCreateManyActiveGraphGenerationInput = { projectPath: string displayName?: string | null status?: string lastIndexedAt?: Date | string | null lastError?: string | null filesCount?: number chunksCount?: number symbolsCount?: number pendingGraphGenerationId?: string | null graphLeaseToken?: string | null graphLeaseExpiresAt?: Date | string | null graphLeaseHeartbeatAt?: Date | string | null activeFilesCount?: number activeDefinitionsCount?: number activeReferencesCount?: number activeImportsCount?: number activeCentralityCount?: number activeDiagnosticsCount?: number activeRecoveredCount?: number activeHardFailuresCount?: number activeStaleFilesCount?: number createdAt?: Date | string updatedAt?: Date | string } export type WorkspaceCreateManyPendingGraphGenerationInput = { projectPath: string displayName?: string | null status?: string lastIndexedAt?: Date | string | null lastError?: string | null filesCount?: number chunksCount?: number symbolsCount?: number activeGraphGenerationId?: string | null graphLeaseToken?: string | null graphLeaseExpiresAt?: Date | string | null graphLeaseHeartbeatAt?: Date | string | null activeFilesCount?: number activeDefinitionsCount?: number activeReferencesCount?: number activeImportsCount?: number activeCentralityCount?: number activeDiagnosticsCount?: number activeRecoveredCount?: number activeHardFailuresCount?: number activeStaleFilesCount?: number createdAt?: Date | string updatedAt?: Date | string } export type SymbolFileUpdateWithoutGenerationInput = { relativePath?: StringFieldUpdateOperationsInput | string contentHash?: StringFieldUpdateOperationsInput | string mtime?: BigIntFieldUpdateOperationsInput | bigint | number size?: IntFieldUpdateOperationsInput | number indexedAt?: DateTimeFieldUpdateOperationsInput | Date | string symbolCount?: IntFieldUpdateOperationsInput | number chunkCount?: IntFieldUpdateOperationsInput | number language?: NullableStringFieldUpdateOperationsInput | string | null dialect?: NullableStringFieldUpdateOperationsInput | string | null grammarVersion?: NullableStringFieldUpdateOperationsInput | string | null queryPackVersion?: NullableStringFieldUpdateOperationsInput | string | null resolverVersion?: NullableStringFieldUpdateOperationsInput | string | null parserStatus?: StringFieldUpdateOperationsInput | string parserErrorCount?: IntFieldUpdateOperationsInput | number diagnostics?: JsonNullValueInput | InputJsonValue isStale?: BoolFieldUpdateOperationsInput | boolean lastKnownGoodGenerationId?: NullableStringFieldUpdateOperationsInput | string | null lastSuccessfulAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null workspace?: WorkspaceUpdateOneRequiredWithoutFilesNestedInput } export type SymbolFileUncheckedUpdateWithoutGenerationInput = { relativePath?: StringFieldUpdateOperationsInput | string contentHash?: StringFieldUpdateOperationsInput | string mtime?: BigIntFieldUpdateOperationsInput | bigint | number size?: IntFieldUpdateOperationsInput | number indexedAt?: DateTimeFieldUpdateOperationsInput | Date | string symbolCount?: IntFieldUpdateOperationsInput | number chunkCount?: IntFieldUpdateOperationsInput | number language?: NullableStringFieldUpdateOperationsInput | string | null dialect?: NullableStringFieldUpdateOperationsInput | string | null grammarVersion?: NullableStringFieldUpdateOperationsInput | string | null queryPackVersion?: NullableStringFieldUpdateOperationsInput | string | null resolverVersion?: NullableStringFieldUpdateOperationsInput | string | null parserStatus?: StringFieldUpdateOperationsInput | string parserErrorCount?: IntFieldUpdateOperationsInput | number diagnostics?: JsonNullValueInput | InputJsonValue isStale?: BoolFieldUpdateOperationsInput | boolean lastKnownGoodGenerationId?: NullableStringFieldUpdateOperationsInput | string | null lastSuccessfulAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type SymbolFileUncheckedUpdateManyWithoutGenerationInput = { relativePath?: StringFieldUpdateOperationsInput | string contentHash?: StringFieldUpdateOperationsInput | string mtime?: BigIntFieldUpdateOperationsInput | bigint | number size?: IntFieldUpdateOperationsInput | number indexedAt?: DateTimeFieldUpdateOperationsInput | Date | string symbolCount?: IntFieldUpdateOperationsInput | number chunkCount?: IntFieldUpdateOperationsInput | number language?: NullableStringFieldUpdateOperationsInput | string | null dialect?: NullableStringFieldUpdateOperationsInput | string | null grammarVersion?: NullableStringFieldUpdateOperationsInput | string | null queryPackVersion?: NullableStringFieldUpdateOperationsInput | string | null resolverVersion?: NullableStringFieldUpdateOperationsInput | string | null parserStatus?: StringFieldUpdateOperationsInput | string parserErrorCount?: IntFieldUpdateOperationsInput | number diagnostics?: JsonNullValueInput | InputJsonValue isStale?: BoolFieldUpdateOperationsInput | boolean lastKnownGoodGenerationId?: NullableStringFieldUpdateOperationsInput | string | null lastSuccessfulAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type SymbolDefinitionUpdateWithoutGenerationInput = { id?: StringFieldUpdateOperationsInput | string filePath?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string kind?: StringFieldUpdateOperationsInput | string lineStart?: IntFieldUpdateOperationsInput | number lineEnd?: IntFieldUpdateOperationsInput | number exported?: BoolFieldUpdateOperationsInput | boolean docComment?: NullableStringFieldUpdateOperationsInput | string | null indexedAt?: DateTimeFieldUpdateOperationsInput | Date | string qualifiedName?: StringFieldUpdateOperationsInput | string canonicalSignature?: NullableStringFieldUpdateOperationsInput | string | null signatureHash?: NullableStringFieldUpdateOperationsInput | string | null legacyFqn?: StringFieldUpdateOperationsInput | string sourceSpan?: NullableJsonNullValueInput | InputJsonValue workspace?: WorkspaceUpdateOneRequiredWithoutDefinitionsNestedInput } export type SymbolDefinitionUncheckedUpdateWithoutGenerationInput = { id?: StringFieldUpdateOperationsInput | string filePath?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string kind?: StringFieldUpdateOperationsInput | string lineStart?: IntFieldUpdateOperationsInput | number lineEnd?: IntFieldUpdateOperationsInput | number exported?: BoolFieldUpdateOperationsInput | boolean docComment?: NullableStringFieldUpdateOperationsInput | string | null indexedAt?: DateTimeFieldUpdateOperationsInput | Date | string qualifiedName?: StringFieldUpdateOperationsInput | string canonicalSignature?: NullableStringFieldUpdateOperationsInput | string | null signatureHash?: NullableStringFieldUpdateOperationsInput | string | null legacyFqn?: StringFieldUpdateOperationsInput | string sourceSpan?: NullableJsonNullValueInput | InputJsonValue } export type SymbolDefinitionUncheckedUpdateManyWithoutGenerationInput = { id?: StringFieldUpdateOperationsInput | string filePath?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string kind?: StringFieldUpdateOperationsInput | string lineStart?: IntFieldUpdateOperationsInput | number lineEnd?: IntFieldUpdateOperationsInput | number exported?: BoolFieldUpdateOperationsInput | boolean docComment?: NullableStringFieldUpdateOperationsInput | string | null indexedAt?: DateTimeFieldUpdateOperationsInput | Date | string qualifiedName?: StringFieldUpdateOperationsInput | string canonicalSignature?: NullableStringFieldUpdateOperationsInput | string | null signatureHash?: NullableStringFieldUpdateOperationsInput | string | null legacyFqn?: StringFieldUpdateOperationsInput | string sourceSpan?: NullableJsonNullValueInput | InputJsonValue } export type SymbolReferenceUpdateWithoutGenerationInput = { fromFile?: StringFieldUpdateOperationsInput | string fromLine?: IntFieldUpdateOperationsInput | number symbolName?: StringFieldUpdateOperationsInput | string targetFqn?: NullableStringFieldUpdateOperationsInput | string | null refKind?: StringFieldUpdateOperationsInput | string meta?: NullableJsonNullValueInput | InputJsonValue sourceSpan?: NullableJsonNullValueInput | InputJsonValue workspace?: WorkspaceUpdateOneRequiredWithoutReferencesNestedInput } export type SymbolReferenceUncheckedUpdateWithoutGenerationInput = { id?: IntFieldUpdateOperationsInput | number fromFile?: StringFieldUpdateOperationsInput | string fromLine?: IntFieldUpdateOperationsInput | number symbolName?: StringFieldUpdateOperationsInput | string targetFqn?: NullableStringFieldUpdateOperationsInput | string | null refKind?: StringFieldUpdateOperationsInput | string meta?: NullableJsonNullValueInput | InputJsonValue sourceSpan?: NullableJsonNullValueInput | InputJsonValue } export type SymbolReferenceUncheckedUpdateManyWithoutGenerationInput = { id?: IntFieldUpdateOperationsInput | number fromFile?: StringFieldUpdateOperationsInput | string fromLine?: IntFieldUpdateOperationsInput | number symbolName?: StringFieldUpdateOperationsInput | string targetFqn?: NullableStringFieldUpdateOperationsInput | string | null refKind?: StringFieldUpdateOperationsInput | string meta?: NullableJsonNullValueInput | InputJsonValue sourceSpan?: NullableJsonNullValueInput | InputJsonValue } export type SymbolImportUpdateWithoutGenerationInput = { fromFile?: StringFieldUpdateOperationsInput | string toFile?: NullableStringFieldUpdateOperationsInput | string | null specifier?: StringFieldUpdateOperationsInput | string importedNames?: SymbolImportUpdateimportedNamesInput | string[] isExternal?: BoolFieldUpdateOperationsInput | boolean isTypeOnly?: BoolFieldUpdateOperationsInput | boolean workspace?: WorkspaceUpdateOneRequiredWithoutImportsNestedInput } export type SymbolImportUncheckedUpdateWithoutGenerationInput = { id?: IntFieldUpdateOperationsInput | number fromFile?: StringFieldUpdateOperationsInput | string toFile?: NullableStringFieldUpdateOperationsInput | string | null specifier?: StringFieldUpdateOperationsInput | string importedNames?: SymbolImportUpdateimportedNamesInput | string[] isExternal?: BoolFieldUpdateOperationsInput | boolean isTypeOnly?: BoolFieldUpdateOperationsInput | boolean } export type SymbolImportUncheckedUpdateManyWithoutGenerationInput = { id?: IntFieldUpdateOperationsInput | number fromFile?: StringFieldUpdateOperationsInput | string toFile?: NullableStringFieldUpdateOperationsInput | string | null specifier?: StringFieldUpdateOperationsInput | string importedNames?: SymbolImportUpdateimportedNamesInput | string[] isExternal?: BoolFieldUpdateOperationsInput | boolean isTypeOnly?: BoolFieldUpdateOperationsInput | boolean } export type SymbolCentralityUpdateWithoutGenerationInput = { filePath?: StringFieldUpdateOperationsInput | string score?: FloatFieldUpdateOperationsInput | number updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string workspace?: WorkspaceUpdateOneRequiredWithoutCentralitiesNestedInput } export type SymbolCentralityUncheckedUpdateWithoutGenerationInput = { filePath?: StringFieldUpdateOperationsInput | string score?: FloatFieldUpdateOperationsInput | number updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type SymbolCentralityUncheckedUpdateManyWithoutGenerationInput = { filePath?: StringFieldUpdateOperationsInput | string score?: FloatFieldUpdateOperationsInput | number updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type WorkspaceUpdateWithoutActiveGraphGenerationInput = { projectPath?: StringFieldUpdateOperationsInput | string displayName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string lastIndexedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastError?: NullableStringFieldUpdateOperationsInput | string | null filesCount?: IntFieldUpdateOperationsInput | number chunksCount?: IntFieldUpdateOperationsInput | number symbolsCount?: IntFieldUpdateOperationsInput | number graphLeaseToken?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null graphLeaseHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activeFilesCount?: IntFieldUpdateOperationsInput | number activeDefinitionsCount?: IntFieldUpdateOperationsInput | number activeReferencesCount?: IntFieldUpdateOperationsInput | number activeImportsCount?: IntFieldUpdateOperationsInput | number activeCentralityCount?: IntFieldUpdateOperationsInput | number activeDiagnosticsCount?: IntFieldUpdateOperationsInput | number activeRecoveredCount?: IntFieldUpdateOperationsInput | number activeHardFailuresCount?: IntFieldUpdateOperationsInput | number activeStaleFilesCount?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string files?: SymbolFileUpdateManyWithoutWorkspaceNestedInput definitions?: SymbolDefinitionUpdateManyWithoutWorkspaceNestedInput references?: SymbolReferenceUpdateManyWithoutWorkspaceNestedInput imports?: SymbolImportUpdateManyWithoutWorkspaceNestedInput centralities?: SymbolCentralityUpdateManyWithoutWorkspaceNestedInput graphGenerations?: GraphGenerationUpdateManyWithoutWorkspaceNestedInput pendingGraphGeneration?: GraphGenerationUpdateOneWithoutPendingForWorkspacesNestedInput } export type WorkspaceUncheckedUpdateWithoutActiveGraphGenerationInput = { projectPath?: StringFieldUpdateOperationsInput | string displayName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string lastIndexedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastError?: NullableStringFieldUpdateOperationsInput | string | null filesCount?: IntFieldUpdateOperationsInput | number chunksCount?: IntFieldUpdateOperationsInput | number symbolsCount?: IntFieldUpdateOperationsInput | number pendingGraphGenerationId?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseToken?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null graphLeaseHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activeFilesCount?: IntFieldUpdateOperationsInput | number activeDefinitionsCount?: IntFieldUpdateOperationsInput | number activeReferencesCount?: IntFieldUpdateOperationsInput | number activeImportsCount?: IntFieldUpdateOperationsInput | number activeCentralityCount?: IntFieldUpdateOperationsInput | number activeDiagnosticsCount?: IntFieldUpdateOperationsInput | number activeRecoveredCount?: IntFieldUpdateOperationsInput | number activeHardFailuresCount?: IntFieldUpdateOperationsInput | number activeStaleFilesCount?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string files?: SymbolFileUncheckedUpdateManyWithoutWorkspaceNestedInput definitions?: SymbolDefinitionUncheckedUpdateManyWithoutWorkspaceNestedInput references?: SymbolReferenceUncheckedUpdateManyWithoutWorkspaceNestedInput imports?: SymbolImportUncheckedUpdateManyWithoutWorkspaceNestedInput centralities?: SymbolCentralityUncheckedUpdateManyWithoutWorkspaceNestedInput graphGenerations?: GraphGenerationUncheckedUpdateManyWithoutWorkspaceNestedInput } export type WorkspaceUncheckedUpdateManyWithoutActiveGraphGenerationInput = { projectPath?: StringFieldUpdateOperationsInput | string displayName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string lastIndexedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastError?: NullableStringFieldUpdateOperationsInput | string | null filesCount?: IntFieldUpdateOperationsInput | number chunksCount?: IntFieldUpdateOperationsInput | number symbolsCount?: IntFieldUpdateOperationsInput | number pendingGraphGenerationId?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseToken?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null graphLeaseHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activeFilesCount?: IntFieldUpdateOperationsInput | number activeDefinitionsCount?: IntFieldUpdateOperationsInput | number activeReferencesCount?: IntFieldUpdateOperationsInput | number activeImportsCount?: IntFieldUpdateOperationsInput | number activeCentralityCount?: IntFieldUpdateOperationsInput | number activeDiagnosticsCount?: IntFieldUpdateOperationsInput | number activeRecoveredCount?: IntFieldUpdateOperationsInput | number activeHardFailuresCount?: IntFieldUpdateOperationsInput | number activeStaleFilesCount?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type WorkspaceUpdateWithoutPendingGraphGenerationInput = { projectPath?: StringFieldUpdateOperationsInput | string displayName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string lastIndexedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastError?: NullableStringFieldUpdateOperationsInput | string | null filesCount?: IntFieldUpdateOperationsInput | number chunksCount?: IntFieldUpdateOperationsInput | number symbolsCount?: IntFieldUpdateOperationsInput | number graphLeaseToken?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null graphLeaseHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activeFilesCount?: IntFieldUpdateOperationsInput | number activeDefinitionsCount?: IntFieldUpdateOperationsInput | number activeReferencesCount?: IntFieldUpdateOperationsInput | number activeImportsCount?: IntFieldUpdateOperationsInput | number activeCentralityCount?: IntFieldUpdateOperationsInput | number activeDiagnosticsCount?: IntFieldUpdateOperationsInput | number activeRecoveredCount?: IntFieldUpdateOperationsInput | number activeHardFailuresCount?: IntFieldUpdateOperationsInput | number activeStaleFilesCount?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string files?: SymbolFileUpdateManyWithoutWorkspaceNestedInput definitions?: SymbolDefinitionUpdateManyWithoutWorkspaceNestedInput references?: SymbolReferenceUpdateManyWithoutWorkspaceNestedInput imports?: SymbolImportUpdateManyWithoutWorkspaceNestedInput centralities?: SymbolCentralityUpdateManyWithoutWorkspaceNestedInput graphGenerations?: GraphGenerationUpdateManyWithoutWorkspaceNestedInput activeGraphGeneration?: GraphGenerationUpdateOneWithoutActiveForWorkspacesNestedInput } export type WorkspaceUncheckedUpdateWithoutPendingGraphGenerationInput = { projectPath?: StringFieldUpdateOperationsInput | string displayName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string lastIndexedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastError?: NullableStringFieldUpdateOperationsInput | string | null filesCount?: IntFieldUpdateOperationsInput | number chunksCount?: IntFieldUpdateOperationsInput | number symbolsCount?: IntFieldUpdateOperationsInput | number activeGraphGenerationId?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseToken?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null graphLeaseHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activeFilesCount?: IntFieldUpdateOperationsInput | number activeDefinitionsCount?: IntFieldUpdateOperationsInput | number activeReferencesCount?: IntFieldUpdateOperationsInput | number activeImportsCount?: IntFieldUpdateOperationsInput | number activeCentralityCount?: IntFieldUpdateOperationsInput | number activeDiagnosticsCount?: IntFieldUpdateOperationsInput | number activeRecoveredCount?: IntFieldUpdateOperationsInput | number activeHardFailuresCount?: IntFieldUpdateOperationsInput | number activeStaleFilesCount?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string files?: SymbolFileUncheckedUpdateManyWithoutWorkspaceNestedInput definitions?: SymbolDefinitionUncheckedUpdateManyWithoutWorkspaceNestedInput references?: SymbolReferenceUncheckedUpdateManyWithoutWorkspaceNestedInput imports?: SymbolImportUncheckedUpdateManyWithoutWorkspaceNestedInput centralities?: SymbolCentralityUncheckedUpdateManyWithoutWorkspaceNestedInput graphGenerations?: GraphGenerationUncheckedUpdateManyWithoutWorkspaceNestedInput } export type WorkspaceUncheckedUpdateManyWithoutPendingGraphGenerationInput = { projectPath?: StringFieldUpdateOperationsInput | string displayName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string lastIndexedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastError?: NullableStringFieldUpdateOperationsInput | string | null filesCount?: IntFieldUpdateOperationsInput | number chunksCount?: IntFieldUpdateOperationsInput | number symbolsCount?: IntFieldUpdateOperationsInput | number activeGraphGenerationId?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseToken?: NullableStringFieldUpdateOperationsInput | string | null graphLeaseExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null graphLeaseHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null activeFilesCount?: IntFieldUpdateOperationsInput | number activeDefinitionsCount?: IntFieldUpdateOperationsInput | number activeReferencesCount?: IntFieldUpdateOperationsInput | number activeImportsCount?: IntFieldUpdateOperationsInput | number activeCentralityCount?: IntFieldUpdateOperationsInput | number activeDiagnosticsCount?: IntFieldUpdateOperationsInput | number activeRecoveredCount?: IntFieldUpdateOperationsInput | number activeHardFailuresCount?: IntFieldUpdateOperationsInput | number activeStaleFilesCount?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } /** * Batch Payload for updateMany & deleteMany & createMany */ export type BatchPayload = { count: number } /** * DMMF */ export const dmmf: runtime.BaseDMMF }