This commit is contained in:
2023-08-18 14:49:45 +00:00
parent 0fda257ca0
commit 17977b4d96
2 changed files with 33 additions and 1 deletions
+3 -1
View File
@@ -1,10 +1,12 @@
import { Schema, model } from 'mongoose';
export type UserIDType = number;
export type validOAuthType = 'KAKAO' | 'NONE';
const validOAuthTypeList: validOAuthType[] = ['KAKAO', 'NONE'];
interface IUser {
_id: number;
_id: UserIDType;
oauthID?: bigint;
id: string;