/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * WARNING: This is an internal file that is subject to change! * * 🛑 Under no circumstances should you import this file directly! 🛑 * * All exports from this file are wrapped under a `Prisma` namespace object in the browser.ts file. * While this enables partial backward compatibility, it is not part of the stable public API. * * If you are looking for your Models, Enums, and Input Types, please import them from the respective * model files in the `model` directory! */ import * as runtime from "@prisma/client/runtime/index-browser" export type * from '../models' export type * from './prismaNamespace' export const Decimal = runtime.Decimal export const NullTypes = { DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull), JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull), AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull), } /** * 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 = runtime.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 = runtime.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 = runtime.AnyNull export const ModelName = { Session: 'Session', MessageUsage: 'MessageUsage', Image: 'Image', SyncLog: 'SyncLog', Report: 'Report', SessionAnalysis: 'SessionAnalysis' } as const export type ModelName = (typeof ModelName)[keyof typeof ModelName] /* * Enums */ export const TransactionIsolationLevel = runtime.makeStrictEnum({ Serializable: 'Serializable' } as const) export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel] export const SessionScalarFieldEnum = { id: 'id', sessionId: 'sessionId', project: 'project', projectPath: 'projectPath', startTime: 'startTime', endTime: 'endTime', durationMinutes: 'durationMinutes', userMessages: 'userMessages', assistantMessages: 'assistantMessages', totalMessages: 'totalMessages', inputTokens: 'inputTokens', outputTokens: 'outputTokens', cacheCreationTokens: 'cacheCreationTokens', cacheReadTokens: 'cacheReadTokens', totalTokens: 'totalTokens', costUSD: 'costUSD', model: 'model', toolCallsTotal: 'toolCallsTotal', toolCallsJson: 'toolCallsJson', skillCallsJson: 'skillCallsJson', messageTimestamps: 'messageTimestamps', apiErrors: 'apiErrors', rateLimitErrors: 'rateLimitErrors', userInterruptions: 'userInterruptions', permissionModesJson: 'permissionModesJson', systemPromptEdits: 'systemPromptEdits', cliVersion: 'cliVersion', modelCountsJson: 'modelCountsJson', createdAt: 'createdAt' } as const export type SessionScalarFieldEnum = (typeof SessionScalarFieldEnum)[keyof typeof SessionScalarFieldEnum] export const MessageUsageScalarFieldEnum = { id: 'id', sessionId: 'sessionId', messageId: 'messageId', requestId: 'requestId', model: 'model', speed: 'speed', timestamp: 'timestamp', date: 'date', inputTokens: 'inputTokens', outputTokens: 'outputTokens', cacheCreationTokens: 'cacheCreationTokens', cacheReadTokens: 'cacheReadTokens', costUSD: 'costUSD', createdAt: 'createdAt' } as const export type MessageUsageScalarFieldEnum = (typeof MessageUsageScalarFieldEnum)[keyof typeof MessageUsageScalarFieldEnum] export const ImageScalarFieldEnum = { id: 'id', sessionId: 'sessionId', messageId: 'messageId', filename: 'filename', mediaType: 'mediaType', sizeBytes: 'sizeBytes', timestamp: 'timestamp', role: 'role', createdAt: 'createdAt' } as const export type ImageScalarFieldEnum = (typeof ImageScalarFieldEnum)[keyof typeof ImageScalarFieldEnum] export const SyncLogScalarFieldEnum = { id: 'id', syncedAt: 'syncedAt', filesProcessed: 'filesProcessed', sessionsAdded: 'sessionsAdded', sessionsSkipped: 'sessionsSkipped' } as const export type SyncLogScalarFieldEnum = (typeof SyncLogScalarFieldEnum)[keyof typeof SyncLogScalarFieldEnum] export const ReportScalarFieldEnum = { id: 'id', title: 'title', generatedAt: 'generatedAt', contentJson: 'contentJson', sessionCount: 'sessionCount', createdAt: 'createdAt' } as const export type ReportScalarFieldEnum = (typeof ReportScalarFieldEnum)[keyof typeof ReportScalarFieldEnum] export const SessionAnalysisScalarFieldEnum = { id: 'id', sessionId: 'sessionId', model: 'model', classifications: 'classifications', totalMessages: 'totalMessages', inputTokens: 'inputTokens', outputTokens: 'outputTokens', costUSD: 'costUSD', analyzedAt: 'analyzedAt' } as const export type SessionAnalysisScalarFieldEnum = (typeof SessionAnalysisScalarFieldEnum)[keyof typeof SessionAnalysisScalarFieldEnum] export const SortOrder = { asc: 'asc', desc: 'desc' } as const export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]