1
0
mirror of https://github.com/byulmaru/quesdon synced 2024-11-27 14:28:04 +09:00

자잘한거

This commit is contained in:
DW 2019-10-31 21:07:17 +11:00
parent 6ffdf385bf
commit 1e20b4f186
2 changed files with 33 additions and 29 deletions

View File

@ -1,32 +1,34 @@
export interface APIQuestion {
_id: string;
updatedAt: string;
createdAt: string;
user: APIUser;
question: string;
isNSFW: boolean;
likesCount: number;
isDeleted: boolean;
export interface APIQuestion
{
_id: string;
updatedAt: string;
createdAt: string;
user: APIUser;
question: string;
isNSFW: boolean;
likesCount: number;
isDeleted: boolean;
questionUser: APIUser | undefined;
answer: string | undefined;
answeredAt: string | undefined;
questionUser: APIUser | undefined;
answer: string | undefined;
answeredAt: string | undefined;
}
export interface APIUser {
_id: string;
updatedAt: string;
createdAt: string;
name: string;
acct: string;
acctDisplay: string;
avatarUrl: string;
url: string;
allAnon: boolean;
questionBoxName: string | undefined;
description: string | undefined;
hostName: string;
pushbulletEnabled: boolean;
isTwitter: boolean;
stopNewQuestion: boolean;
export interface APIUser
{
_id: string;
updatedAt: string;
createdAt: string;
name: string;
acct: string;
acctDisplay: string;
avatarUrl: string;
url: string;
allAnon: boolean;
questionBoxName: string | undefined;
description: string | undefined;
hostName: string;
pushbulletEnabled: boolean;
isTwitter: boolean;
stopNewQuestion: boolean;
}

View File

@ -64,7 +64,9 @@
"sourceMap": true,
},
"include": [
"src/*.ts",
"src/server/**/*.ts",
"src/common/**/*.ts"
"src/common/**/*.ts",
"src/client/**/*.tsx"
]
}