feat: migrate the ranking page #199
Annotations
10 errors
|
lint:
server/api/search/_search.ts#L220
Property 'topic' does not exist on type '{ id: number; content: string; created: Date; floor: number; edited: Date | null; updated: Date; user_id: number; topic_id: number; }'.
|
|
lint:
server/api/search/_search.ts#L203
Object literal may only specify known properties, and 'target_user' does not exist in type 'topic_replyInclude<DefaultArgs>'.
|
|
lint:
server/api/search/_search.ts#L135
Type '{ gid: number; name: { 'en-us': string; 'ja-jp': string; 'zh-cn': string; 'zh-tw': string; }; banner: string; user: { id: number; name: string; avatar: string; }; contentLimit: string; view: number; likeCount: number; resourceUpdateTime: Date; platform: string[]; language: string[]; }[]' is not assignable to type 'GalgameCard[]'.
|
|
lint:
server/api/search/_search.ts#L60
Property 'update_time' does not exist on type '{ section: { topic_section: { name: string; }; }[]; user: { id: number; name: string; avatar: string; }; _count: { comment: number; like: number; reply: number; }; } & { title: string; id: number; content: string; ... 9 more ...; user_id: number; }'. Did you mean 'upvote_time'?
|
|
lint:
server/api/search/_search.ts#L56
Type '{ id: number; title: string; view: number; updateTime: any; tag: string[]; section: string[]; user: { id: number; name: string; avatar: string; }; status: number; upvoteTime: Date | null; likeCount: number; replyCount: number; commentCount: number; }[]' is not assignable to type 'HomeTopic[]'.
|
|
lint:
server/api/home/message.get.ts#L35
Type '{ user: { id: number; name: string; avatar: string; }; link: string; type: string; content: string; created: Date; }[]' is not assignable to type 'KunActivity[]'.
|
|
lint:
server/api/galgame/[gid]/series.get.ts#L37
Type '{ id: number; name: string; description: string; galgame: { id: number; banner: string; name_en_us: string; name_ja_jp: string; name_zh_cn: string; name_zh_tw: string; }[]; } | null' is not assignable to type 'GalgameSeries | null'.
|
|
lint:
server/api/galgame/[gid]/index.get.ts#L133
Type '{ id: number; name: string; description: string; galgame: { id: number; banner: string; name_en_us: string; name_ja_jp: string; name_zh_cn: string; name_zh_tw: string; }[]; } | null' is not assignable to type 'GalgameSeries | null'.
|
|
lint:
server/api/activity/index.get.ts#L37
Type '{ user: { id: number; name: string; avatar: string; }; link: string; type: string; content: string; created: Date; }[]' is not assignable to type 'KunActivity[]'.
|
|
lint:
plugins/kunFetchApi.ts#L13
Property 'uid' does not exist on type 'Store<"KUNGalgameUser", UserStore, {}, { setUserInfo(user: LoginResponseData): void; }>'.
|