mgbuild 1.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,30 @@
1
+ export declare type RecentScrapeList = {
2
+ cover?: string;
3
+ title: string;
4
+ code: string;
5
+ chapters: number[];
6
+ };
7
+ export declare type ScrapedManga = {
8
+ id: number;
9
+ title: string;
10
+ slug: string;
11
+ geek: string;
12
+ description: string;
13
+ cover: string;
14
+ tags: string[];
15
+ available: boolean;
16
+ alternative_name?: string;
17
+ chapters: ScrapedHostChapter[];
18
+ chapter_code?: string;
19
+ };
20
+ export declare type ScrapedHostChapter = {
21
+ id?: string | number;
22
+ number: number;
23
+ title: string;
24
+ geek: string;
25
+ };
26
+ export declare type MangaScrapeList = {
27
+ code: string;
28
+ title: string;
29
+ cover?: string;
30
+ };
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ key: string;
3
+ pt: string;
4
+ en: string;
5
+ es: string;
6
+ }[];
7
+ export default _default;
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ key: string;
3
+ pt: string;
4
+ en: string;
5
+ es: string;
6
+ }[];
7
+ export default _default;
@@ -0,0 +1 @@
1
+ export declare function getHqAndChapters(hq_id: number): Promise<import("./utils").NewHQ>;
@@ -0,0 +1,8 @@
1
+ export interface NewHQChapter {
2
+ hqnow_id: number;
3
+ number: number;
4
+ title: string;
5
+ geek: string;
6
+ pages: string[];
7
+ }
8
+ export declare function getHqChapterById(chapter_id: number): Promise<NewHQChapter>;
@@ -0,0 +1 @@
1
+ export declare function getHqDetails(id: number): Promise<false | import("./utils").NewHQ>;
@@ -0,0 +1,5 @@
1
+ export { getHqChapterById } from "./getHqChapterById";
2
+ export { getHqAndChapters } from "./getHqAndChapters";
3
+ export { listHqIds } from "./listHqIds";
4
+ export { listUpdatedHqs } from "./listUpdatedHqs";
5
+ export { getHqDetails } from "./getHqDetails";
@@ -0,0 +1,5 @@
1
+ interface HQListIdItem {
2
+ id: number;
3
+ }
4
+ export declare function listHqIds(): Promise<HQListIdItem[]>;
5
+ export {};
@@ -0,0 +1,6 @@
1
+ interface UpdatedHQ {
2
+ id: number;
3
+ updatedAt: string;
4
+ }
5
+ export declare function listUpdatedHqs(): Promise<UpdatedHQ[]>;
6
+ export {};
@@ -0,0 +1,46 @@
1
+ export interface HQChapterPictureItem {
2
+ pictureUrl: string;
3
+ }
4
+ export interface HQChapterItem {
5
+ id: number;
6
+ number: string;
7
+ pictures: HQChapterPictureItem[];
8
+ }
9
+ export interface HQItem {
10
+ id: number;
11
+ name: string;
12
+ synopsis: string;
13
+ status: string;
14
+ publisherName: string;
15
+ hqCover: string;
16
+ capitulos: HQChapterItem[];
17
+ }
18
+ export interface NewHQChapter {
19
+ id: number;
20
+ hqnow_id: number;
21
+ number: number;
22
+ number_key?: string;
23
+ title: string;
24
+ geek: string;
25
+ pages: string[];
26
+ previous_id?: number;
27
+ available: boolean;
28
+ manual: boolean;
29
+ }
30
+ export interface NewHQ {
31
+ id: number;
32
+ hqnow_id: number;
33
+ title: string;
34
+ description: string;
35
+ type: string;
36
+ finished: boolean;
37
+ cover?: string;
38
+ slug: string;
39
+ geek: string;
40
+ available: boolean;
41
+ tags: string[];
42
+ chapters: NewHQChapter[];
43
+ manual: boolean;
44
+ }
45
+ export declare function formatHQChapter(chapter: HQChapterItem, hq_id: number): NewHQChapter;
46
+ export declare function formatHQ(hq: HQItem): NewHQ;
package/lib/index.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ export * from "./mgs/md";
2
+ export * from "./hqs";
3
+ export { GeekGen } from "./utils/tools";