mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
split out shared entities into separate file
This commit is contained in:
13
src/entities/SharedEntities.ts
Normal file
13
src/entities/SharedEntities.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
export interface IEntityWithOptionalTimestamp {
|
||||
millisecondsSinceEpoch?: number;
|
||||
}
|
||||
|
||||
export interface IEntityWithId {
|
||||
id: string;
|
||||
}
|
||||
|
||||
export interface ICoordinates {
|
||||
latitude: number;
|
||||
longitude: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user