mirror of
https://github.com/byulmaru/quesdon
synced 2024-11-27 14:28:04 +09:00
자잘한거
This commit is contained in:
parent
6ffdf385bf
commit
1e20b4f186
@ -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;
|
||||
}
|
||||
|
@ -64,7 +64,9 @@
|
||||
"sourceMap": true,
|
||||
},
|
||||
"include": [
|
||||
"src/*.ts",
|
||||
"src/server/**/*.ts",
|
||||
"src/common/**/*.ts"
|
||||
"src/common/**/*.ts",
|
||||
"src/client/**/*.tsx"
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user