diff --git a/backend/src/models/mini_data_lake/cert_scans.ts b/backend/src/models/mini_data_lake/cert_scans.ts index 47c78626..84f9013a 100644 --- a/backend/src/models/mini_data_lake/cert_scans.ts +++ b/backend/src/models/mini_data_lake/cert_scans.ts @@ -35,7 +35,7 @@ export class CertScan extends BaseEntity { }) pem: string | null; - @Column({nullable: true}) + @Column({ nullable: true }) sctExists: boolean; @Column({ nullable: true, type: 'timestamp' }) diff --git a/backend/src/models/mini_data_lake/contacts.ts b/backend/src/models/mini_data_lake/contacts.ts index c778eec9..0636c24f 100644 --- a/backend/src/models/mini_data_lake/contacts.ts +++ b/backend/src/models/mini_data_lake/contacts.ts @@ -41,7 +41,7 @@ export class Contact extends BaseEntity { }) type: string | null; - @Column({nullable: true}) + @Column({ nullable: true }) retired: boolean; @ManyToMany((type) => Organization, (org) => org.contacts, { diff --git a/backend/src/models/mini_data_lake/host_scans.ts b/backend/src/models/mini_data_lake/host_scans.ts index c059463a..4694c49b 100644 --- a/backend/src/models/mini_data_lake/host_scans.ts +++ b/backend/src/models/mini_data_lake/host_scans.ts @@ -51,7 +51,7 @@ export class HostScan extends BaseEntity { }) hostname: string | null; - @Column({nullable: true}) + @Column({ nullable: true }) latest: boolean; @Column({ diff --git a/backend/src/models/mini_data_lake/hosts.ts b/backend/src/models/mini_data_lake/hosts.ts index 65c00e6f..a7c62e9c 100644 --- a/backend/src/models/mini_data_lake/hosts.ts +++ b/backend/src/models/mini_data_lake/hosts.ts @@ -81,7 +81,7 @@ export class Host extends BaseEntity { }) currStage: string | null; - @Column({nullable: true}) + @Column({ nullable: true }) hostLive: boolean; @Column({ diff --git a/backend/src/models/mini_data_lake/kevs.ts b/backend/src/models/mini_data_lake/kevs.ts index 18c40962..7fe11357 100644 --- a/backend/src/models/mini_data_lake/kevs.ts +++ b/backend/src/models/mini_data_lake/kevs.ts @@ -23,7 +23,7 @@ export class Kev extends BaseEntity { }) cve: string | null; - @Column({nullable: true}) + @Column({ nullable: true }) knownRansomware: boolean; @OneToMany((type) => Ticket, (ticket) => ticket.kev, { diff --git a/backend/src/models/mini_data_lake/precert_scans.ts b/backend/src/models/mini_data_lake/precert_scans.ts index bbcc7172..5f0bf572 100644 --- a/backend/src/models/mini_data_lake/precert_scans.ts +++ b/backend/src/models/mini_data_lake/precert_scans.ts @@ -35,7 +35,7 @@ export class PrecertScan extends BaseEntity { }) pem: string | null; - @Column({nullable: true}) + @Column({ nullable: true }) sctExists: boolean; @Column({ nullable: true, type: 'timestamp' }) diff --git a/backend/src/models/mini_data_lake/reports.ts b/backend/src/models/mini_data_lake/reports.ts index bee312a2..72ccf09a 100644 --- a/backend/src/models/mini_data_lake/reports.ts +++ b/backend/src/models/mini_data_lake/reports.ts @@ -20,7 +20,7 @@ export class Report extends BaseEntity { @Column({ nullable: true, type: 'timestamp' }) createdTimestamp: Date | null; - @Column("varchar", { array: true, default: []}) + @Column('varchar', { array: true, default: [] }) reportTypes: string[]; @ManyToOne((type) => Snapshot, (snapshot) => snapshot.reports, { diff --git a/backend/src/models/mini_data_lake/requests.ts b/backend/src/models/mini_data_lake/requests.ts index 3daf2d51..56a270f5 100644 --- a/backend/src/models/mini_data_lake/requests.ts +++ b/backend/src/models/mini_data_lake/requests.ts @@ -59,7 +59,7 @@ export class Request extends BaseEntity { @Column({ nullable: true }) retired: boolean; - @Column("varchar", { array: true, default: []}) + @Column('varchar', { array: true, default: [] }) reportTypes: string[]; @Column({ diff --git a/backend/src/models/mini_data_lake/snapshots.ts b/backend/src/models/mini_data_lake/snapshots.ts index f2ec32f6..9e0ec128 100644 --- a/backend/src/models/mini_data_lake/snapshots.ts +++ b/backend/src/models/mini_data_lake/snapshots.ts @@ -50,10 +50,10 @@ export class Snapshot extends BaseEntity { @Column({ nullable: true, type: 'timestamp' }) updatedTimestamp: Date | null; - @Column({nullable: true}) + @Column({ nullable: true }) latest: boolean; - @Column("varchar", { array: true, default: []}) + @Column('varchar', { array: true, default: [] }) networks: string[]; @ManyToOne((type) => Organization, (org) => org.snapshots, { diff --git a/backend/src/models/mini_data_lake/tickets.ts b/backend/src/models/mini_data_lake/tickets.ts index e031b634..81d59eea 100644 --- a/backend/src/models/mini_data_lake/tickets.ts +++ b/backend/src/models/mini_data_lake/tickets.ts @@ -77,7 +77,7 @@ export class Ticket extends BaseEntity { }) vprScore: number | null; - @Column({nullable: true}) + @Column({ nullable: true }) falsePositive: boolean; @Column({ diff --git a/backend/src/models/mini_data_lake/trustymail_scans.ts b/backend/src/models/mini_data_lake/trustymail_scans.ts index 230f1a88..9a602c60 100644 --- a/backend/src/models/mini_data_lake/trustymail_scans.ts +++ b/backend/src/models/mini_data_lake/trustymail_scans.ts @@ -68,7 +68,7 @@ export class TrustymailScan extends BaseEntity { }) dmarcResultsBaseDomain: string | null; - @Column({nullable: true}) + @Column({ nullable: true }) domainSupportsSmtp: boolean; @Column({ @@ -77,7 +77,7 @@ export class TrustymailScan extends BaseEntity { }) domainSupportsSmtpResults: string | null; - @Column({nullable: true}) + @Column({ nullable: true }) domainSupportsStarttls: boolean; @Column({ diff --git a/backend/src/models/mini_data_lake/vuln_scans.ts b/backend/src/models/mini_data_lake/vuln_scans.ts index b505f064..59abd88a 100644 --- a/backend/src/models/mini_data_lake/vuln_scans.ts +++ b/backend/src/models/mini_data_lake/vuln_scans.ts @@ -111,7 +111,7 @@ export class VulnScan extends BaseEntity { }) ip: Ip; - @Column({nullable: true}) + @Column({ nullable: true }) latest: boolean; @Column({