style: run prettier
All checks were successful
TrafficCue Server CI / check (push) Successful in 37s
TrafficCue Server CD / build (push) Successful in 1m34s

This commit is contained in:
2025-09-19 21:54:48 +02:00
parent 03c2e8995b
commit a2f30118ef
2 changed files with 30 additions and 18 deletions

View File

@@ -1,4 +1,10 @@
import { BaseEntity, Column, Entity, ManyToOne, PrimaryGeneratedColumn } from "typeorm";
import {
BaseEntity,
Column,
Entity,
ManyToOne,
PrimaryGeneratedColumn,
} from "typeorm";
import type { User } from "./User";
@Entity()
@@ -7,12 +13,12 @@ export class Hazard extends BaseEntity {
id: string;
@Column({
type: "float"
type: "float",
})
latitude: number;
@Column({
type: "float"
type: "float",
})
longitude: number;
@@ -29,4 +35,4 @@ export class Hazard extends BaseEntity {
@ManyToOne("User", (u: User) => u.hazards)
user: User;
}
}