npm workspaces, NodeNext for server

This commit is contained in:
Nathaniel Tampus
2023-02-05 13:49:40 +08:00
parent dc233b2c84
commit bd39cf8c46
49 changed files with 129 additions and 1605 deletions

View File

@@ -1,5 +1,5 @@
import { db } from "..";
import type { User } from "@types";
import { db } from "../index.js";
import type { User } from "@chessu/types";
const create = async (user: User, password: string) => {
if (user.name === "Guest" || user.email === undefined) {