oneuptime/Common/Models/ErrorEvent.ts

33 lines
636 B
TypeScript
Raw Normal View History

2022-04-30 10:57:20 +00:00
import { Column, Entity } from 'typeorm';
2022-04-26 20:34:05 +00:00
import BaseModel from './BaseModel';
2022-05-01 12:41:55 +00:00
2022-04-29 21:38:55 +00:00
import ErrorTrackerContainer from './ErrorTrackerContainer';
import Issue from './Issue';
2022-04-27 19:38:55 +00:00
@Entity({
2022-04-30 10:57:20 +00:00
name: 'UserAlerts',
2022-04-27 19:38:55 +00:00
})
2022-04-29 21:38:55 +00:00
export default class Model extends BaseModel {
2022-04-30 10:57:20 +00:00
@Column()
2022-05-18 20:49:52 +00:00
public errorTracker?: ErrorTrackerContainer;
2022-04-30 10:57:20 +00:00
@Column()
2022-05-18 20:49:52 +00:00
public issue?: Issue;
2022-04-29 21:38:55 +00:00
2022-04-30 10:57:20 +00:00
@Column()
2022-05-18 20:49:52 +00:00
public content?: Object;
2022-04-29 21:38:55 +00:00
2022-04-30 10:57:20 +00:00
@Column()
2022-05-18 20:49:52 +00:00
public timeline?: Object;
2022-04-29 21:38:55 +00:00
2022-04-30 10:57:20 +00:00
@Column()
2022-05-18 20:49:52 +00:00
public tags?: Object;
2022-04-29 21:38:55 +00:00
2022-04-30 10:57:20 +00:00
@Column()
2022-05-18 20:49:52 +00:00
public sdk?: Object;
2022-04-26 20:24:24 +00:00
2022-04-30 10:57:20 +00:00
@Column()
2022-05-19 19:41:12 +00:00
public fingerprintHash?: string = undefined;
2022-04-29 21:38:55 +00:00
2022-04-30 10:57:20 +00:00
@Column()
2022-05-18 20:49:52 +00:00
public device?: Object;
2022-04-26 20:34:05 +00:00
}