Files
Suwayomi-Server/webUI/react/src/typings.d.ts
T
Aria Moradi 09d624a4e2 add library
2021-02-13 21:12:18 +03:30

41 lines
801 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
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
}