tachiyomi-extensions-inspector/webUI/react/src/typings.d.ts

84 lines
1.5 KiB
TypeScript
Raw Normal View History

/*
* Copyright (C) Contributors to the Suwayomi project
*
* This Source Code Form is subject to the terms of the Mozilla Public
2021-01-26 21:02:12 +01:00
* 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
pkgName: string
2020-12-24 16:50:50 +01:00
versionName: string
versionCode: number
lang: string
isNsfw: boolean
2020-12-25 00:38:08 +01:00
apkName: string
iconUrl: string
isInstalled: boolean
hasUpdate: boolean
isObsolete: boolean
2020-12-24 16:50:50 +01:00
}
2020-12-25 04:06:34 +01:00
interface ISource {
2020-12-25 19:44:54 +01:00
id: string
2020-12-25 04:06:34 +01:00
name: string
lang: string
iconUrl: string
supportsLatest: boolean
2020-12-25 19:44:54 +01:00
history: any
2020-12-25 04:06:34 +01:00
}
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 17:50:28 +01:00
id: number
sourceId: string
url: string
2020-12-25 19:44:54 +01:00
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 18:32:57 +01:00
interface IChapter {
2021-01-19 21:34:12 +01:00
id: number
2021-01-19 18:32:57 +01:00
url: string
name: string
2021-01-19 21:34:12 +01:00
date_upload: number
2021-01-19 18:32:57 +01:00
chapter_number: number
scanlator: String
2021-01-19 21:34:12 +01:00
mangaId: number
2021-03-23 00:20:55 +01:00
chapterIndex: number
chapterCount: number
2021-02-04 01:12:30 +01:00
pageCount: number
2021-01-19 18:32:57 +01:00
}
2021-02-19 22:53:52 +01:00
2021-03-23 00:20:55 +01:00
interface IPartialChpter {
pageCount: number
chapterIndex: number
chapterCount: number
}
2021-02-19 22:53:52 +01:00
interface ICategory {
id: number
order: number
name: String
isLanding: boolean
}
2021-03-18 19:16:24 +01:00
interface INavbarOverride {
status: boolean
value: any
}