Add numbers to JobTypes (and type documentation)

This commit is contained in:
2024-10-20 01:08:22 +02:00
parent 27f823cfeb
commit a88b85e599
2 changed files with 13 additions and 3 deletions

View File

@ -21,7 +21,7 @@
"links": string[][],
"year": int,
"originalLanguage": string,
"releaseStatus": ReleaseStatus,
"releaseStatus": ReleaseStatus, see ReleaseStatus
"folderName": string,
"publicationId": string,
"internalId": string,
@ -53,7 +53,7 @@
## Job
```
{
jobType: number,
jobType: number, see JobType
mangaInternalId: string,
translatedLanguage: string,
progressToken: ProgressToken,
@ -67,6 +67,16 @@
}
```
## JobType
```
{
DownloadChapterJob = 0,
DownloadNewChaptersJob = 1,
UpdateMetaDataJob = 2,
MonitorManga = 3
}
```
## ProgressToken
```
{