// Generated by @pikku/cli — do not edit by hand. // Run `pikku db migrate` to refresh. import type { ColumnType } from 'kysely' export type Generated = T extends ColumnType ? ColumnType : ColumnType export type Private = T & { readonly __classification__?: 'private' } export type Pii = T & { readonly __classification__?: 'pii' } export type Secret = T & { readonly __classification__?: 'secret' } export type Uuid = string export interface Account { id: ColumnType, string, string> accountId: ColumnType, string, string> providerId: ColumnType, string, string> userId: ColumnType, string, string> accessToken: ColumnType | null, string | null, string | null> refreshToken: ColumnType | null, string | null, string | null> idToken: ColumnType | null, string | null, string | null> accessTokenExpiresAt: ColumnType | null, string | null, string | null> refreshTokenExpiresAt: ColumnType | null, string | null, string | null> scope: ColumnType | null, string | null, string | null> password: ColumnType | null, string | null, string | null> createdAt: ColumnType, string, string> updatedAt: ColumnType, string, string> } export interface Audit { auditId: ColumnType, string | undefined, string> occurredAt: ColumnType, string | undefined, string> type: ColumnType, string, string> source: ColumnType, string | undefined, string> outcome: ColumnType | null, string | null, string | null> functionId: ColumnType | null, string | null, string | null> wireType: ColumnType | null, string | null, string | null> traceId: ColumnType | null, string | null, string | null> transactionId: ColumnType | null, string | null, string | null> queryId: ColumnType | null, string | null, string | null> actorUserId: ColumnType | null, string | null, string | null> actorOrgId: ColumnType | null, string | null, string | null> tables: ColumnType | null, string | null, string | null> changedCols: ColumnType | null, string | null, string | null> event: ColumnType | null, string | null, string | null> old: ColumnType | null, string | null, string | null> data: ColumnType | null, string | null, string | null> } export interface MessageState { id: ColumnType, number | undefined, number> message: ColumnType, string, string> updatedAt: ColumnType, string | undefined, string> updatedByUserId: ColumnType | null, string | null, string | null> } export interface Session { id: ColumnType, string, string> expiresAt: ColumnType, string, string> token: ColumnType, string, string> createdAt: ColumnType, string, string> updatedAt: ColumnType, string, string> ipAddress: ColumnType | null, string | null, string | null> userAgent: ColumnType | null, string | null, string | null> userId: ColumnType, string, string> } export interface User { id: ColumnType, string, string> name: ColumnType, string, string> email: ColumnType, string, string> emailVerified: ColumnType, number, number> image: ColumnType | null, string | null, string | null> createdAt: ColumnType, string, string> updatedAt: ColumnType, string, string> } export interface Verification { id: ColumnType, string, string> identifier: ColumnType, string, string> value: ColumnType, string, string> expiresAt: ColumnType, string, string> createdAt: ColumnType, string, string> updatedAt: ColumnType, string, string> } export interface DB { account: Account audit: Audit messageState: MessageState session: Session user: User verification: Verification }