Add exports to admin
This commit is contained in:
@ -507,23 +507,24 @@ export class Export extends BaseEntity {
|
|||||||
@PrimaryGeneratedColumn('uuid')
|
@PrimaryGeneratedColumn('uuid')
|
||||||
id!: string
|
id!: string
|
||||||
|
|
||||||
@Column('uuid')
|
@JoinColumn({ name: 'user_id' })
|
||||||
userId!: string
|
@ManyToOne(() => User, { eager: true })
|
||||||
|
user!: User
|
||||||
|
|
||||||
@Column('text', { nullable: true })
|
@Column('text', { nullable: true })
|
||||||
taskId?: string
|
task_id?: string
|
||||||
|
|
||||||
@Column('text')
|
@Column('text')
|
||||||
state!: string
|
state!: string
|
||||||
|
|
||||||
@Column('int', { default: 0 })
|
@Column('int', { default: 0 })
|
||||||
totalItems!: number
|
total_items!: number
|
||||||
|
|
||||||
@Column('int', { default: 0 })
|
@Column('int', { default: 0 })
|
||||||
processedItems!: number
|
processed_items!: number
|
||||||
|
|
||||||
@Column('text', { nullable: true })
|
@Column('text', { nullable: true })
|
||||||
signedUrl?: string
|
signed_url?: string
|
||||||
|
|
||||||
@Column({ type: 'timestamp', name: 'created_at' })
|
@Column({ type: 'timestamp', name: 'created_at' })
|
||||||
createdAt!: Date
|
createdAt!: Date
|
||||||
|
|||||||
Reference in New Issue
Block a user