Starting anew, before I changed to a custom chart
This commit is contained in:
15
server/src/Snapshot.ts
Normal file
15
server/src/Snapshot.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
export interface Snapshot {
|
||||
time: number | string,
|
||||
temp: number,
|
||||
co2: number,
|
||||
humidity: number,
|
||||
id: number,
|
||||
}
|
||||
|
||||
export interface ISOSnapshot extends Snapshot {
|
||||
time: string,
|
||||
}
|
||||
|
||||
export interface UnixTimeSnapshot extends Snapshot {
|
||||
time: number,
|
||||
}
|
||||
Reference in New Issue
Block a user