feat: add basic webui
This commit is contained in:
5
packages/database/schema/database.ts
Normal file
5
packages/database/schema/database.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import type { PageTable } from './page';
|
||||
|
||||
export interface Database {
|
||||
page: PageTable;
|
||||
}
|
||||
10
packages/database/schema/page.ts
Normal file
10
packages/database/schema/page.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import type { Generated, Insertable, Selectable, Updateable } from 'kysely';
|
||||
|
||||
export interface PageTable {
|
||||
id: Generated<number>;
|
||||
name: string | null;
|
||||
}
|
||||
|
||||
export type Persion = Selectable<PageTable>;
|
||||
export type PersionNew = Insertable<PageTable>;
|
||||
export type PersionUpdate = Updateable<PageTable>;
|
||||
Reference in New Issue
Block a user