tachiyomi-extensions-inspector/webUI/react/src/typings.d.ts
2021-03-14 23:57:33 +03:30

49 lines
921 B
TypeScript

/* 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/. */
interface IExtension {
name: string
lang: string
versionName: string
iconUrl: string
installed: boolean
apkName: string
pkgName: string
}
interface ISource {
id: string
name: string
lang: string
iconUrl: string
supportsLatest: boolean
history: any
}
interface IManga {
id: number
sourceId?: string
title: string
thumbnailUrl: string
inLibrary?: boolean
}
interface IChapter {
id: number
url: string
name: string
date_upload: number
chapter_number: number
scanlator: String
mangaId: number
pageCount: number
}
interface ICategory {
id: number
order: number
name: String
isLanding: boolean
}