2
0
Tranga/docs/Types.md

89 lines
1.3 KiB
Markdown
Raw Normal View History

## Connector
```
{
"name": string,
"SupportedLanguages": string[],
2024-10-18 00:48:58 +02:00
"BaseUris": string[]
}
```
## Manga
```
2024-04-19 21:23:15 +02:00
{
2024-10-18 00:29:29 +02:00
"sortName": string,
"authors": string[],
"altTitles": string[][],
"description": string,
"tags": string[],
"coverUrl": string,
"coverFileNameInCache": string,
"links": string[][],
"year": int,
"originalLanguage": string,
"releaseStatus": int,
"folderName": string,
"publicationId": string,
"internalId": string,
"ignoreChaptersBelow": number,
"latestChapterDownloaded": number,
"latestChapterAvailable": number,
2024-10-18 00:29:29 +02:00
"websiteUrl": string,
"mangaConnector": Connector
2024-04-19 21:23:15 +02:00
}
```
## Chapter
```
2024-04-19 21:23:15 +02:00
{
}
```
## Job
```
2024-04-19 21:23:15 +02:00
{
jobType: number,
mangaInternalId: string,
translatedLanguage: string,
progressToken: ProgressToken,
recurring: boolean,
recurrenceTime: string,
lastExecution: Date,
nextExecution: Date,
id: string,
parentJobId: string | null,
mangaConnector: Connector
2024-04-19 21:23:15 +02:00
}
```
## ProgressToken
```
2024-04-19 21:23:15 +02:00
{
cancellationRequested: boolean,
increments: number,
incrementsCompleted: number,
progress: number,
lastUpdate: Date,
executionStarted: Date,
timeRemaining: Date,
state: number
2024-04-19 21:23:15 +02:00
}
```
## Settings
```
2024-04-19 21:23:15 +02:00
{
}
```
## LibraryConnector
```
2024-04-19 21:23:15 +02:00
{
}
```
## NotificationConnector
```
2024-04-19 21:23:15 +02:00
{
}
```