Added checks for CLOUD_MODE.

This commit is contained in:
Mike Cao 2023-02-27 20:03:04 -08:00
parent 5657a64c77
commit 3ac560dc0f
24 changed files with 175 additions and 60 deletions

View file

@ -24,6 +24,13 @@ export interface NextApiRequestAuth extends NextApiRequest {
headers: any;
}
export interface User {
id: string;
username: string;
password?: string;
createdAt?: Date;
}
export interface Website {
id: string;
userId: string;