mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
refactor: move api response types to ~/models/apiModels
This commit is contained in:
40
src/models/apiModels/anime/timeTable.ts
Normal file
40
src/models/apiModels/anime/timeTable.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
export interface TimetableResult {
|
||||
code: number
|
||||
message: string
|
||||
result: Result[]
|
||||
}
|
||||
|
||||
export interface Result {
|
||||
date: string
|
||||
date_ts: number
|
||||
day_of_week: number
|
||||
episodes: Episode[]
|
||||
is_today: number
|
||||
}
|
||||
|
||||
export interface Episode {
|
||||
cover: string
|
||||
delay: number
|
||||
delay_id: number
|
||||
delay_index: string
|
||||
delay_reason: string
|
||||
enable_vt: boolean
|
||||
ep_cover: string
|
||||
episode_id: number
|
||||
follow: number
|
||||
follows: string
|
||||
icon_font: IconFont
|
||||
plays: string
|
||||
pub_index: string
|
||||
pub_time: string
|
||||
pub_ts: number
|
||||
published: number
|
||||
season_id: number
|
||||
square_cover: string
|
||||
title: string
|
||||
}
|
||||
|
||||
export interface IconFont {
|
||||
name: string
|
||||
text: string
|
||||
}
|
||||
Reference in New Issue
Block a user