* checkpoint

* server compiles again

* fmt

* checkpoint

* last one out, get the lights

* euston station

* like, mostly good. I'm under the ocean right now.

* fix: some nonsense AI stuff

* fix: new eslint rules, and cleanup imports across the board

* feat: folder slug rewrite, email logic change, too

* fix: register must use txn not db

* checkpoint
This commit is contained in:
zk
2026-04-20 23:11:16 +01:00
committed by GitHub
parent edda03e916
commit 2bc4c3a628
1073 changed files with 52259 additions and 56015 deletions
+2 -1
View File
@@ -9,7 +9,8 @@
"build": "tsgo -b",
"start": "tsgo -b && node js/main.js",
"typecheck": "tsgo --noEmit",
"bench": "vitest bench --passWithNoTests"
"test": "vitest",
"bench": "vitest bench"
},
"dependencies": {
"kysely": "catalog:"
@@ -1,6 +1,7 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { default as Game } from './Game';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.bms_course_lookup */
@@ -14,7 +15,7 @@ export default interface BmsCourseLookupTable {
set: ColumnType<string, string, string>;
playtype: ColumnType<string, string, string>;
game: ColumnType<Game, Game, Game>;
value: ColumnType<string, string, string>;
}
+1 -1
View File
@@ -19,7 +19,7 @@ export default interface FolderTable {
title: ColumnType<string, string, string>;
slug: ColumnType<string | null, string | null, string | null>;
slug: ColumnType<string, string, string>;
where: ColumnType<string, string, string>;
@@ -10,6 +10,8 @@ export default interface TableFolderTable {
table_id: ColumnType<table_id, table_id, table_id>;
folder_id: ColumnType<folder_id, folder_id, folder_id>;
ordering: ColumnType<number, number, number>;
}
export type TableFolder = Selectable<TableFolderTable>;
-8
View File
@@ -1,8 +0,0 @@
// vitest requires that there is at least one test file in a project.
import { assert, describe, it } from "vitest";
describe("placeholder", () => {
it("should placehold", () => {
assert(true);
});
});
+15
View File
@@ -0,0 +1,15 @@
import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
passWithNoTests: true,
coverage: {
enabled: true,
provider: "v8",
reporter: ["text", "html", "clover", "json", "lcov"],
// Hand-written surface only; generated Kysely types are huge and not meaningfully coverable.
include: ["src/index.ts"],
},
},
});