import { Kysely } from "kysely";
import { Subject } from "./subject";
import { Repo } from "./repo";
import { Record } from "./record";
import { Profile } from "./profile";
import { Event } from "./event";

// Define the database interface
export interface DatabaseSchema {
  subjects: Subject;
  repos: Repo;
  records: Record;
  profiles: Profile;
  events: Event;
}

export type Database = Kysely<DatabaseSchema>;
