@campxdev/shared 3.0.1 → 3.0.2

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": "@campxdev/shared",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "main": "./exports.ts",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -2,7 +2,24 @@ import { Store } from 'pullstate'
2
2
 
3
3
  export interface IUserStore {
4
4
  username: string
5
- user: any
5
+ user: {
6
+ //User Specific Data
7
+ globalUserId: string
8
+ _id: string
9
+ tenantId: string
10
+ userId: number
11
+ fullName: string
12
+ email: string
13
+ institutionIds: number[]
14
+ isAdminUser: boolean
15
+ isSuperUser: boolean
16
+ photoUrl?: string
17
+ //Employee Specific Data
18
+ employeeId?: string
19
+ designationId?: string
20
+ //Academic Specific Data
21
+ departmentIds?: string[]
22
+ }
6
23
  roles: any[]
7
24
  }
8
25