Merge pull request #3024 from omnivore-app/integratoin

improvement on integrations
This commit is contained in:
Hongbo Wu
2023-11-03 17:20:17 +08:00
committed by GitHub
40 changed files with 1238 additions and 912 deletions

View File

@ -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
}