2021-03-26 00:47:02 +01:00
|
|
|
/*
|
|
|
|
* 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
|
2021-03-28 22:05:21 +02:00
|
|
|
pkgName: string
|
2020-12-24 16:50:50 +01:00
|
|
|
versionName: string
|
2021-03-28 22:05:21 +02:00
|
|
|
versionCode: number
|
|
|
|
lang: string
|
|
|
|
isNsfw: boolean
|
2020-12-25 00:38:08 +01:00
|
|
|
apkName: string
|
2021-03-28 22:05:21 +02:00
|
|
|
iconUrl: string
|
2021-03-29 00:17:51 +02:00
|
|
|
installed: boolean
|
2021-03-28 22:05:21 +02:00
|
|
|
hasUpdate: boolean
|
2021-03-29 00:17:51 +02:00
|
|
|
obsolete: 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
|
|
|
|
2021-03-17 16:47:03 +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
|
2021-03-17 16:47:03 +01:00
|
|
|
sourceId: string
|
|
|
|
|
|
|
|
url: string
|
2020-12-25 19:44:54 +01:00
|
|
|
title: string
|
|
|
|
thumbnailUrl: string
|
2021-03-17 16:47:03 +01:00
|
|
|
|
|
|
|
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-05-11 16:15:53 +02:00
|
|
|
uploadDate: number
|
|
|
|
chapterNumber: number
|
2021-01-19 18:32:57 +01:00
|
|
|
scanlator: String
|
2021-01-19 21:34:12 +01:00
|
|
|
mangaId: number
|
2021-05-11 16:15:53 +02:00
|
|
|
read: boolean
|
|
|
|
bookmarked: boolean
|
|
|
|
lastPageRead: number
|
2021-05-14 15:01:07 +02:00
|
|
|
index: number
|
2021-03-23 00:20:55 +01:00
|
|
|
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
|
2021-05-14 15:01:07 +02:00
|
|
|
index: number
|
2021-03-23 00:20:55 +01:00
|
|
|
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
|
2021-03-29 00:17:51 +02:00
|
|
|
}
|