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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mgtypes",
3
- "version": "1.0.54",
3
+ "version": "1.0.55",
4
4
  "description": "types for mg development",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -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: 'user' | 'admin' | 'medical' | 'fire' | 'security' | 'advertiser' |'mental_health'|'vendor';
24
+ role: 'guest' | 'member' | 'admin' | 'medical' | 'fire' | 'security' | 'advertiser' |'mental_health'|'vendor';
26
25
  userId: number | null;
27
26
  isActiveRole: boolean;
28
27
  }