mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 16:00:32 +00:00
split out shared entities into separate file
This commit is contained in:
@@ -1,15 +1,4 @@
|
||||
export interface IEntityWithOptionalTimestamp {
|
||||
millisecondsSinceEpoch?: number;
|
||||
}
|
||||
|
||||
export interface IEntityWithId {
|
||||
id: string;
|
||||
}
|
||||
|
||||
export interface ICoordinates {
|
||||
latitude: number;
|
||||
longitude: number;
|
||||
}
|
||||
import { ICoordinates, IEntityWithId, IEntityWithOptionalTimestamp } from "./SharedEntities";
|
||||
|
||||
export interface IRoute extends IEntityWithId, IEntityWithOptionalTimestamp {
|
||||
name: string;
|
||||
|
||||
Reference in New Issue
Block a user