mgtypes 1.0.54 → 1.0.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/Configuration.ts +1 -1
- package/types/User.ts +1 -2
package/package.json
CHANGED
package/types/Configuration.ts
CHANGED
|
@@ -351,8 +351,8 @@ export interface mgStylesConfig {
|
|
|
351
351
|
* Configs for account-specific permissions and features
|
|
352
352
|
*/
|
|
353
353
|
export interface mgProfilesConfig {
|
|
354
|
-
USER: mgProfileConfig;
|
|
355
354
|
GUEST: mgProfileConfig;
|
|
355
|
+
MEMBER: mgProfileConfig;
|
|
356
356
|
ADMIN: mgProfileConfig;
|
|
357
357
|
}
|
|
358
358
|
|
package/types/User.ts
CHANGED
|
@@ -9,7 +9,6 @@ export interface mgUser {
|
|
|
9
9
|
phoneNumber: string | number | null; // TODO:type currently this datum is a string but could/should change to numbers?
|
|
10
10
|
latitude: number | string | null; // same as Content interface
|
|
11
11
|
longitude: number | string | null; // same
|
|
12
|
-
shareLoc: boolean | null;
|
|
13
12
|
birthdate: string | null;
|
|
14
13
|
createdAt: string | null;
|
|
15
14
|
updatedAt: string | null;
|
|
@@ -22,7 +21,7 @@ export interface mgUserRole {
|
|
|
22
21
|
id: number | null;
|
|
23
22
|
createdAt: string | null;
|
|
24
23
|
updatedAt: string | null;
|
|
25
|
-
role: '
|
|
24
|
+
role: 'guest' | 'member' | 'admin' | 'medical' | 'fire' | 'security' | 'advertiser' |'mental_health'|'vendor';
|
|
26
25
|
userId: number | null;
|
|
27
26
|
isActiveRole: boolean;
|
|
28
27
|
}
|