WIP Progress on skeleton of the Vue app.
This commit is contained in:
40
web/src/models.d.ts
vendored
Normal file
40
web/src/models.d.ts
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
export interface ApiToken {
|
||||
id: string;
|
||||
userId: string;
|
||||
name: string;
|
||||
value?: string;
|
||||
}
|
||||
|
||||
export interface LoginSubmit {
|
||||
email: string;
|
||||
password: string;
|
||||
}
|
||||
|
||||
export interface Measure {
|
||||
id: string;
|
||||
userId: string;
|
||||
slug: string;
|
||||
name: string;
|
||||
description: string;
|
||||
domainSource?: string;
|
||||
domainUnites: string;
|
||||
rangeSource?: string;
|
||||
rangeUnits: string;
|
||||
analysis: string[];
|
||||
}
|
||||
|
||||
export interface Measurement {
|
||||
id: string;
|
||||
measureId: string;
|
||||
value: number;
|
||||
timestamp: Date;
|
||||
extData: object;
|
||||
}
|
||||
|
||||
export interface User {
|
||||
id: string;
|
||||
displayName: string;
|
||||
email: string;
|
||||
isAdmin: boolean;
|
||||
authToken?: string;
|
||||
}
|
Reference in New Issue
Block a user