Devices have replaced Clients for authentication as well as location using sections.

Printing of reports done.
Main section is now a fixture

User and Devices list gives last login details.
This commit is contained in:
tanshu committed 2020-10-27 16:59:24 +05:30
1 parent cbc2f29e29
commit f8683cf080
32 files changed
+335 -291

No files matched your search

+8
View File
@@ -3,5 +3,13 @@ import { Section } from './section';
export class Device {
id: string;
name: string;
enabled: boolean;
section: Section;
creationDate: string;
lastUser: string;
lastDate?: string;
public constructor(init?: Partial<Device>) {
Object.assign(this, init);
}
}
+2
View File
@@ -11,6 +11,8 @@ export class User {
access_token?: string;
exp?: number;
ver: string;
lastDevice: string;
lastDate?: string;
public constructor(init?: Partial<User>) {
Object.assign(this, init);