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:
2020-10-27 16:59:24 +05:30
parent cbc2f29e29
commit f8683cf080
32 changed files with 335 additions and 291 deletions

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);
}
}

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);