@intuitionrobotics/user-account 0.42.72 → 0.42.73

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": "@intuitionrobotics/user-account",
3
- "version": "0.42.72",
3
+ "version": "0.42.73",
4
4
  "description": "User Account",
5
5
  "keywords": [
6
6
  "IR",
package/shared/api.d.ts CHANGED
@@ -10,13 +10,18 @@ export declare enum FrontType {
10
10
  Web = "web",
11
11
  App = "app"
12
12
  }
13
- export declare type DB_Session = {
13
+ export declare type BaseSession = {
14
14
  userId: string;
15
- sessionId: string;
16
15
  timestamp: number;
17
16
  frontType?: FrontType;
18
17
  version?: string;
19
18
  };
19
+ export declare type DB_Session = BaseSession & {
20
+ sessionId: string;
21
+ };
22
+ export declare type UI_Session = BaseSession & {
23
+ isExpired: boolean;
24
+ };
20
25
  export declare type Response_Auth = UI_Account & {
21
26
  jwt: string;
22
27
  sessionId: string;
@@ -53,12 +58,6 @@ export declare type UI_Account = {
53
58
  email: string;
54
59
  _id: string;
55
60
  };
56
- export declare type UI_Session = {
57
- userId: string;
58
- timestamp: number;
59
- isExpired: boolean;
60
- frontType?: FrontType;
61
- };
62
61
  export declare type Response_ListAccounts = {
63
62
  accounts: UI_Account[];
64
63
  };
package/shared/api.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/main/shared/api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAOU,QAAA,mBAAmB,GAAG,cAAc,CAAC;AACrC,QAAA,eAAe,GAAG,SAAS,CAAC;AAE5B,QAAA,gBAAgB,GAAG,WAAW,CAAC;AAC/B,QAAA,cAAc,GAAG,KAAK,CAAC;AACvB,QAAA,oBAAoB,GAAG,2BAAmB,CAAC;AAC3C,QAAA,sBAAsB,GAAG,aAAa,CAAC;AACvC,QAAA,qBAAqB,GAAG,cAAc,CAAC;AAEpD,IAAY,SAGX;AAHD,WAAY,SAAS;IACpB,wBAAW,CAAA;IACX,wBAAW,CAAA;AACZ,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB"}
1
+ {"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/main/shared/api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAIU,QAAA,mBAAmB,GAAG,cAAc,CAAC;AACrC,QAAA,eAAe,GAAG,SAAS,CAAC;AAE5B,QAAA,gBAAgB,GAAG,WAAW,CAAC;AAC/B,QAAA,cAAc,GAAG,KAAK,CAAC;AACvB,QAAA,oBAAoB,GAAG,2BAAmB,CAAC;AAC3C,QAAA,sBAAsB,GAAG,aAAa,CAAC;AACvC,QAAA,qBAAqB,GAAG,cAAc,CAAC;AAEpD,IAAY,SAGX;AAHD,WAAY,SAAS;IACjB,wBAAW,CAAA;IACX,wBAAW,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB"}