mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 15:49:10 +00:00
47 lines
567 B
TypeScript
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;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|