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 1f50f3c46f
commit b6ac11f80c
8 changed files with 98 additions and 154 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