1
0
mirror of https://github.com/byulmaru/quesdon synced 2024-11-27 22:38:05 +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 { export interface APIQuestion
_id: string; {
updatedAt: string; _id: string;
createdAt: string; updatedAt: string;
user: APIUser; createdAt: string;
question: string; user: APIUser;
isNSFW: boolean; question: string;
likesCount: number; isNSFW: boolean;
isDeleted: boolean; likesCount: number;
isDeleted: boolean;
questionUser: APIUser | undefined; questionUser: APIUser | undefined;
answer: string | undefined; answer: string | undefined;
answeredAt: string | undefined; answeredAt: string | undefined;
} }
export interface APIUser { export interface APIUser
_id: string; {
updatedAt: string; _id: string;
createdAt: string; updatedAt: string;
name: string; createdAt: string;
acct: string; name: string;
acctDisplay: string; acct: string;
avatarUrl: string; acctDisplay: string;
url: string; avatarUrl: string;
allAnon: boolean; url: string;
questionBoxName: string | undefined; allAnon: boolean;
description: string | undefined; questionBoxName: string | undefined;
hostName: string; description: string | undefined;
pushbulletEnabled: boolean; hostName: string;
isTwitter: boolean; pushbulletEnabled: boolean;
stopNewQuestion: boolean; isTwitter: boolean;
stopNewQuestion: boolean;
} }

View File

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