mirror of
https://github.com/C9Glax/tranga.git
synced 2025-06-12 22:47:52 +02:00
Assign numbers to ProgressToken.State
Update type docs
This commit is contained in:
@ -45,7 +45,7 @@
|
||||
}
|
||||
```
|
||||
|
||||
## ReleaseStatus
|
||||
### ReleaseStatus
|
||||
```
|
||||
{
|
||||
Continuing = 0,
|
||||
@ -74,7 +74,7 @@
|
||||
}
|
||||
```
|
||||
|
||||
## JobType
|
||||
### JobType
|
||||
```
|
||||
{
|
||||
DownloadChapterJob = 0,
|
||||
@ -94,7 +94,18 @@
|
||||
"lastUpdate": Date,
|
||||
"executionStarted": Date,
|
||||
"timeRemaining": Date,
|
||||
"state": number
|
||||
"state": number //see ProgressState
|
||||
}
|
||||
```
|
||||
|
||||
### ProgressState
|
||||
```
|
||||
{
|
||||
Running = 0,
|
||||
Complete = 1,
|
||||
Standby = 2,
|
||||
Cancelled = 3,
|
||||
Waiting = 4
|
||||
}
|
||||
```
|
||||
|
||||
@ -129,7 +140,7 @@
|
||||
}
|
||||
```
|
||||
|
||||
## LibraryType
|
||||
### LibraryType
|
||||
```
|
||||
{
|
||||
Komga = 0,
|
||||
@ -149,7 +160,7 @@
|
||||
}
|
||||
```
|
||||
|
||||
## NotificationConnectorType
|
||||
### NotificationConnectorType
|
||||
```
|
||||
{
|
||||
Gotify = 0,
|
||||
|
Reference in New Issue
Block a user