📄 src/models/generated-src/index.ts
D-OPEN SOVEREIGN
1// AUTO-GENERATED by @the_library/public/models schemaGenerator — run `pnpm generate` to rebuild.
2export * from "./Book.ts";
3export * from "./Person.ts";
4export * from "./Tag.ts";
5
6import { Book } from "./Book.ts";
7import { Person } from "./Person.ts";
8import { Tag } from "./Tag.ts";
9export type ModelClass = { new(json: any, creatorUsername?: string): any; type: number; LoadAsync(id: number, creatorUsername?: string): Promise<any> };
10export const ModelTypes: Record<number, ModelClass> = {
11 [0]: Book,
12 [1]: Person,
13 [2]: Tag,
14};
15