Revert "Merge branch 'feature-frontend-task-queue' of github.com:paperless-ngx/paperless-ngx into feature-frontend-task-queue"

This reverts commit 011164bc32, reversing
changes made to 0a43ce9ced.
This commit is contained in:
Michael Shamoon
2022-05-26 21:24:55 -07:00
parent 011164bc32
commit 0e34923114
4 changed files with 133 additions and 75 deletions

View File

@@ -1,9 +1,25 @@
import { ObjectWithId } from './object-with-id'
export enum PaperlessTaskType {
// just file tasks, for now
File = 'file',
}
export enum PaperlessTaskStatus {
Incomplete = 'incomplete',
Complete = 'complete',
Failed = 'failed',
Unknown = 'unknown',
}
export interface PaperlessTask extends ObjectWithId {
type: PaperlessTaskType
status: PaperlessTaskStatus
acknowledged: boolean
q_task_id: string
task_id: string
name: string