mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
add import_item_state to integration entity
This commit is contained in:
parent
9be25fa418
commit
a528692125
1 changed files with 10 additions and 0 deletions
|
|
@ -14,6 +14,13 @@ export enum IntegrationType {
|
|||
Import = 'IMPORT',
|
||||
}
|
||||
|
||||
export enum ImportItemState {
|
||||
UNREAD = 'UNREAD',
|
||||
UNARCHIVED = 'UNARCHIVED',
|
||||
ARCHIVED = 'ARCHIVED',
|
||||
ALL = 'ALL',
|
||||
}
|
||||
|
||||
@Entity({ name: 'integrations' })
|
||||
export class Integration {
|
||||
@PrimaryGeneratedColumn('uuid')
|
||||
|
|
@ -49,4 +56,7 @@ export class Integration {
|
|||
|
||||
@Column('text', { nullable: true })
|
||||
taskName?: string | null
|
||||
|
||||
@Column('enum', { enum: ImportItemState, nullable: true })
|
||||
importItemState?: ImportItemState | null
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue