Files
suwayomi-material-you-webui/webUI/react/src/typings.d.ts

77 lines
1.3 KiB
TypeScript
Raw Normal View History

2021-01-26 23:32:12 +03:30
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
2020-12-24 16:50:50 +01:00
interface IExtension {
name: string
lang: string
versionName: string
iconUrl: string
2020-12-25 03:08:08 +03:30
installed: boolean
apkName: string
2021-02-04 14:47:27 +03:30
pkgName: string
2020-12-24 16:50:50 +01:00
}
2020-12-25 06:36:34 +03:30
interface ISource {
2020-12-25 22:14:54 +03:30
id: string
2020-12-25 06:36:34 +03:30
name: string
lang: string
iconUrl: string
supportsLatest: boolean
2020-12-25 22:14:54 +03:30
history: any
2020-12-25 06:36:34 +03:30
}
2020-12-25 17:42:22 +01:00
interface IMangaCard {
id: number
title: string
thumbnailUrl: string
}
2020-12-25 17:42:22 +01:00
interface IManga {
2021-01-19 20:20:28 +03:30
id: number
sourceId: string
url: string
2020-12-25 22:14:54 +03:30
title: string
thumbnailUrl: string
artist: string
author: string
description: string
genre: string
status: string
inLibrary: boolean
source: ISource
2020-12-25 17:42:22 +01:00
}
2021-01-19 21:02:57 +03:30
interface IChapter {
2021-01-20 00:04:12 +03:30
id: number
2021-01-19 21:02:57 +03:30
url: string
name: string
2021-01-20 00:04:12 +03:30
date_upload: number
2021-01-19 21:02:57 +03:30
chapter_number: number
scanlator: String
2021-01-20 00:04:12 +03:30
mangaId: number
2021-03-23 03:50:55 +04:30
chapterIndex: number
chapterCount: number
2021-02-04 03:42:30 +03:30
pageCount: number
2021-01-19 21:02:57 +03:30
}
2021-02-20 01:23:52 +03:30
2021-03-23 03:50:55 +04:30
interface IPartialChpter {
pageCount: number
chapterIndex: number
chapterCount: number
}
2021-02-20 01:23:52 +03:30
interface ICategory {
id: number
order: number
name: String
isLanding: boolean
}
2021-03-18 21:46:24 +03:30
interface INavbarOverride {
status: boolean
value: any
}