blob: 818820cf51b27cd908f17fef457fc537e4bfd693 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
import {GlobunetUser} from 'globunet-angular/core';
export class UserPreferences {
ous: {showGrid: boolean};
theme: string;
language: string;
layout: string;
isSidebarLeftExpandOnOver: boolean;
isSidebarLeftMini: boolean;
sidebarRightSkin: string;
constructor() {
this.ous = {
showGrid: true
};
this.theme = 'blue';
this.language = 'es';
this.layout = '';
this.isSidebarLeftExpandOnOver = false;
this.isSidebarLeftMini = true;
this.sidebarRightSkin = 'dark';
}
}
export class User extends GlobunetUser {
preferences?: UserPreferences;
constructor() {
super();
this.preferences = new UserPreferences();
}
}
|