organize imports

This commit is contained in:
Nathaniel Tampus
2023-05-01 15:15:49 +08:00
parent e38420c390
commit da7b4c40a3
25 changed files with 56 additions and 46 deletions

View File

@@ -1,5 +1,5 @@
import { db } from "../index.js";
import type { Game, User } from "@chessu/types";
import { db } from "../index.js";
export const activeGames: Array<Game> = [];

View File

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