mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-12 01:08:29 +03:00
more (#53)
* 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:
@@ -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>;
|
||||
}
|
||||
|
||||
@@ -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>;
|
||||
|
||||
@@ -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);
|
||||
});
|
||||
});
|
||||
@@ -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"],
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user