Basic tasks frontend view

Update app-frame.component.ts
This commit is contained in:
Michael Shamoon
2022-05-23 00:32:39 -07:00
parent 990fc5195a
commit 77b6c9dbaa
8 changed files with 93 additions and 141 deletions

View File

@@ -1,25 +1,9 @@
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
task_id: string
q_task_id: string
name: string