diff --git a/frontend/app/services/UserService.ts b/frontend/app/services/UserService.ts
index 705040eb2..89bffd3fc 100644
--- a/frontend/app/services/UserService.ts
+++ b/frontend/app/services/UserService.ts
@@ -1,5 +1,5 @@
import APIClient from 'App/api_client';
-import { IUser } from 'App/mstore/types/user'
+import User from 'App/mstore/types/user'
export default class UserService {
private client: APIClient;
@@ -24,7 +24,7 @@ export default class UserService {
.then((response: { data: any; }) => response.data || {});
}
- save(user: IUser): Promise {
+ save(user: User): Promise {
const data = user.toSave();
if (user.userId) {
return this.client.put('/client/members/' + user.userId, data)
@@ -88,4 +88,11 @@ export default class UserService {
.then((response: { data: any; }) => response.data || {});
}
+ saveModules(module: any) {
+ return this.client.post('/users/modules', module)
+ .then(r => r.json())
+ .then((response: { data: any; }) => response.data || {})
+ .catch(e => Promise.reject(e))
+ }
+
}
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar1.svg b/frontend/app/svg/avatar/icn_avatar1.svg
new file mode 100644
index 000000000..a834c7a22
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar1.svg
@@ -0,0 +1,48 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar10.svg b/frontend/app/svg/avatar/icn_avatar10.svg
new file mode 100644
index 000000000..dd0db9350
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar10.svg
@@ -0,0 +1,42 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar11.svg b/frontend/app/svg/avatar/icn_avatar11.svg
new file mode 100644
index 000000000..a514e7626
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar11.svg
@@ -0,0 +1,90 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar12.svg b/frontend/app/svg/avatar/icn_avatar12.svg
new file mode 100644
index 000000000..4b32375d6
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar12.svg
@@ -0,0 +1,43 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar13.svg b/frontend/app/svg/avatar/icn_avatar13.svg
new file mode 100644
index 000000000..6a6628833
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar13.svg
@@ -0,0 +1,43 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar14.svg b/frontend/app/svg/avatar/icn_avatar14.svg
new file mode 100644
index 000000000..8c0bddc3b
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar14.svg
@@ -0,0 +1,55 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar15.svg b/frontend/app/svg/avatar/icn_avatar15.svg
new file mode 100644
index 000000000..ca6302afa
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar15.svg
@@ -0,0 +1,47 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar16.svg b/frontend/app/svg/avatar/icn_avatar16.svg
new file mode 100644
index 000000000..a19b3e5b0
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar16.svg
@@ -0,0 +1,52 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar17.svg b/frontend/app/svg/avatar/icn_avatar17.svg
new file mode 100644
index 000000000..e4626578a
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar17.svg
@@ -0,0 +1,44 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar18.svg b/frontend/app/svg/avatar/icn_avatar18.svg
new file mode 100644
index 000000000..49af7f36b
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar18.svg
@@ -0,0 +1,48 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar19.svg b/frontend/app/svg/avatar/icn_avatar19.svg
new file mode 100644
index 000000000..5963b8412
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar19.svg
@@ -0,0 +1,38 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar2.svg b/frontend/app/svg/avatar/icn_avatar2.svg
new file mode 100644
index 000000000..b5191f915
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar2.svg
@@ -0,0 +1,45 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar20.svg b/frontend/app/svg/avatar/icn_avatar20.svg
new file mode 100644
index 000000000..4972e263f
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar20.svg
@@ -0,0 +1,53 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar21.svg b/frontend/app/svg/avatar/icn_avatar21.svg
new file mode 100644
index 000000000..1bf436921
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar21.svg
@@ -0,0 +1,45 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar22.svg b/frontend/app/svg/avatar/icn_avatar22.svg
new file mode 100644
index 000000000..ccb89aebe
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar22.svg
@@ -0,0 +1,47 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar23.svg b/frontend/app/svg/avatar/icn_avatar23.svg
new file mode 100644
index 000000000..727b39982
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar23.svg
@@ -0,0 +1,42 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar24.svg b/frontend/app/svg/avatar/icn_avatar24.svg
new file mode 100644
index 000000000..cc51c0f94
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar24.svg
@@ -0,0 +1,50 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar25.svg b/frontend/app/svg/avatar/icn_avatar25.svg
new file mode 100644
index 000000000..3cbe65771
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar25.svg
@@ -0,0 +1,55 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar26.svg b/frontend/app/svg/avatar/icn_avatar26.svg
new file mode 100644
index 000000000..175dc112c
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar26.svg
@@ -0,0 +1,51 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar27.svg b/frontend/app/svg/avatar/icn_avatar27.svg
new file mode 100644
index 000000000..d55200289
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar27.svg
@@ -0,0 +1,41 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar28.svg b/frontend/app/svg/avatar/icn_avatar28.svg
new file mode 100644
index 000000000..2babfe608
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar28.svg
@@ -0,0 +1,51 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar29.svg b/frontend/app/svg/avatar/icn_avatar29.svg
new file mode 100644
index 000000000..c3e648e8d
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar29.svg
@@ -0,0 +1,82 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar3.svg b/frontend/app/svg/avatar/icn_avatar3.svg
new file mode 100644
index 000000000..afb7e2001
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar3.svg
@@ -0,0 +1,43 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar30.svg b/frontend/app/svg/avatar/icn_avatar30.svg
new file mode 100644
index 000000000..6e281ed95
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar30.svg
@@ -0,0 +1,40 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar31.svg b/frontend/app/svg/avatar/icn_avatar31.svg
new file mode 100644
index 000000000..28e374dab
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar31.svg
@@ -0,0 +1,40 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar32.svg b/frontend/app/svg/avatar/icn_avatar32.svg
new file mode 100644
index 000000000..e7a75d6f5
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar32.svg
@@ -0,0 +1,42 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar4.svg b/frontend/app/svg/avatar/icn_avatar4.svg
new file mode 100644
index 000000000..a1043f9d0
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar4.svg
@@ -0,0 +1,43 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar5.svg b/frontend/app/svg/avatar/icn_avatar5.svg
new file mode 100644
index 000000000..3a3a67279
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar5.svg
@@ -0,0 +1,42 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar6.svg b/frontend/app/svg/avatar/icn_avatar6.svg
new file mode 100644
index 000000000..fd39b98f9
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar6.svg
@@ -0,0 +1,61 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar7.svg b/frontend/app/svg/avatar/icn_avatar7.svg
new file mode 100644
index 000000000..ae8b6a6f5
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar7.svg
@@ -0,0 +1,38 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar8.svg b/frontend/app/svg/avatar/icn_avatar8.svg
new file mode 100644
index 000000000..cedf10093
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar8.svg
@@ -0,0 +1,38 @@
+
\ No newline at end of file
diff --git a/frontend/app/svg/avatar/icn_avatar9.svg b/frontend/app/svg/avatar/icn_avatar9.svg
new file mode 100644
index 000000000..8a15df20f
--- /dev/null
+++ b/frontend/app/svg/avatar/icn_avatar9.svg
@@ -0,0 +1,47 @@
+
\ No newline at end of file
diff --git a/frontend/app/types/account/account.ts b/frontend/app/types/account/account.ts
index 3abc23d84..e06713f98 100644
--- a/frontend/app/types/account/account.ts
+++ b/frontend/app/types/account/account.ts
@@ -14,7 +14,7 @@ export interface IAccount extends IMember {
license: string
expirationDate?: DateTime
permissions: string[]
- modules: string[]
+ settings: any
iceServers: string
hasPassword: boolean
apiKey: string
@@ -34,7 +34,7 @@ export default Member.extend({
license: '',
expirationDate: undefined,
permissions: [],
- modules: ['notes'],
+ settings: {},
iceServers: undefined,
hasPassword: false, // to check if it's SSO
apiKey: undefined,