refactor(f4): remove inspection legacy type shims
This commit is contained in:
@@ -23,12 +23,6 @@ export class InspectionVisit extends TimestampedEntity {
|
|||||||
@Column({ type: 'varchar', length: 80 })
|
@Column({ type: 'varchar', length: 80 })
|
||||||
code!: string;
|
code!: string;
|
||||||
|
|
||||||
/**
|
|
||||||
* Compatibilidad TypeScript transitoria con el constructor de Inspecciones.
|
|
||||||
* No es una columna ORM: F4 retiró inspection_visits.title físicamente.
|
|
||||||
*/
|
|
||||||
title?: string;
|
|
||||||
|
|
||||||
@Column({ type: 'text', nullable: true })
|
@Column({ type: 'text', nullable: true })
|
||||||
objective!: string | null;
|
objective!: string | null;
|
||||||
|
|
||||||
@@ -50,12 +44,6 @@ export class InspectionVisit extends TimestampedEntity {
|
|||||||
@Column({ name: 'planned_start_at', type: 'timestamptz', nullable: true })
|
@Column({ name: 'planned_start_at', type: 'timestamptz', nullable: true })
|
||||||
plannedStartAt!: Date | null;
|
plannedStartAt!: Date | null;
|
||||||
|
|
||||||
/**
|
|
||||||
* Compatibilidad TypeScript transitoria con el constructor de Inspecciones.
|
|
||||||
* No es una columna ORM: F4 retiró inspection_visits.planned_end_at físicamente.
|
|
||||||
*/
|
|
||||||
plannedEndAt?: Date | null;
|
|
||||||
|
|
||||||
@Column({ name: 'actual_started_at', type: 'timestamptz', nullable: true })
|
@Column({ name: 'actual_started_at', type: 'timestamptz', nullable: true })
|
||||||
actualStartedAt!: Date | null;
|
actualStartedAt!: Date | null;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user