auron
Version:
Interact with your ATProto labeler from your terminal
18 lines (15 loc) • 417 B
text/typescript
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>;