oneuptime/Common/Models/LighthouseLog.ts
Simon Larsen f0c0715f36
fix
2022-04-29 20:52:23 +01:00

47 lines
567 B
TypeScript

import { Column, Entity, Index } from 'typeorm';
import BaseModel from './BaseModel';
import User from './User';
import Project from './Project';
@Entity({
name: "LighthouseLog"
})
export default class LighthouseLog extends BaseModel{
@Column()
monitor!: Monitor;
@Column()
data!: Object;
@Column()
url!: URL;
@Column()
performance!: Number;
@Column()
accessibility!: Number;
@Column()
bestPractices!: Number;
@Column()
seo!: Number;
@Column()
pwa!: Number;
@Column()
scanning!: Boolean;
}