UserLog
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user