@mindline/sync 1.0.15 → 1.0.17

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/index.js CHANGED
@@ -21,6 +21,7 @@ export class User {
21
21
  this.companyDomain = "";
22
22
  this.associatedWorkspaces = {};
23
23
  this.workspaceIDs = "";
24
+ this.session = "";
24
25
  }
25
26
  }
26
27
 
@@ -125,7 +126,6 @@ import workspaces from "./workspaces.json";
125
126
  // retrieve Workspace(s), User(s), Target(s), Config(s) given logged in user
126
127
  export function InitGet(user, ii)
127
128
  {
128
- debugger;
129
129
  // for now, just get hardcoded data from JSON
130
130
  var usersString = JSON.stringify(users);
131
131
  var targetsString = JSON.stringify(targets);
@@ -137,7 +137,6 @@ export function InitGet(user, ii)
137
137
  ii.cs = deserializeArray(Config, configsString);
138
138
  ii.ws = deserializeArray(Workspace, workspacesString);
139
139
  if(!ii.initWorkspaceIDs()) return false;
140
- debugger;
141
140
  } catch (e) {
142
141
  debugger;
143
142
  return false;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mindline/sync",
3
3
  "type": "module",
4
- "version": "1.0.15",
4
+ "version": "1.0.17",
5
5
  "description": "sync is a node.js package encapsulating javscript classes required for configuring Mindline sync service.",
6
6
  "exports": "./index.js",
7
7
  "scripts": {
package/sync.d.ts CHANGED
@@ -13,6 +13,7 @@ declare module "@mindline/sync" {
13
13
  companyDomain: string; // findTenantInformationByTenantId TODO: process changes to company name
14
14
  associatedWorkspaces: string[];
15
15
  workspaceIDs: string;
16
+ session: string;
16
17
  }
17
18
 
18
19
  // target (Azure AD tenant, AD domain, Google workspace)
package/users.json CHANGED
@@ -7,7 +7,8 @@
7
7
  "tid": "7f4567b8-f9a9-4ad3-9cb5-ef16a80e5744",
8
8
  "companyName": "Mindline1",
9
9
  "companyDomain": "mindline1.onmicrosoft.com",
10
- "associatedWorkspaces": [ "1", "2", "3" ]
10
+ "associatedWorkspaces": [ "1", "2", "3" ],
11
+ "session": "Sign In"
11
12
  },
12
13
  {
13
14
  "oid": "e5a42d0c-4fa5-4a65-8d9b-90f989ecae9b",
@@ -17,7 +18,8 @@
17
18
  "tid": "df9c2e0a-f6fe-43bb-a155-d51f66dffe0e",
18
19
  "companyName": "Mindline2",
19
20
  "companyDomain": "mindline2.onmicrosoft.com",
20
- "associatedWorkspaces": [ "1" ]
21
+ "associatedWorkspaces": [ "1" ],
22
+ "session": "Sign In"
21
23
  },
22
24
  {
23
25
  "oid": "1",
@@ -27,7 +29,8 @@
27
29
  "tid": "1",
28
30
  "companyName": "WhoIAm",
29
31
  "companyDomain": "whoiam.onmicrosoft.com",
30
- "associatedWorkspaces": [ "2" ]
32
+ "associatedWorkspaces": [ "2" ],
33
+ "session": "Sign In"
31
34
  },
32
35
  {
33
36
  "oid": "2",
@@ -37,7 +40,8 @@
37
40
  "tid": "2",
38
41
  "companyName": "Grit Sofware",
39
42
  "companyDomain": "gritsoftware.onmicrosoft.com",
40
- "associatedWorkspaces": [ "2" ]
43
+ "associatedWorkspaces": [ "2" ],
44
+ "session": "Sign In"
41
45
  },
42
46
  {
43
47
  "oid": "3",
@@ -47,7 +51,8 @@
47
51
  "tid": "3",
48
52
  "companyName": "Google",
49
53
  "companyDomain": "google.onmicrosoft.com",
50
- "associatedWorkspaces": [ "3" ]
54
+ "associatedWorkspaces": [ "3" ],
55
+ "session": "Sign In"
51
56
  },
52
57
  {
53
58
  "oid": "4",
@@ -57,6 +62,7 @@
57
62
  "tid": "4",
58
63
  "companyName": "Trackman Golf",
59
64
  "companyDomain": "trackman.onmicrosoft.com",
60
- "associatedWorkspaces": [ "3" ]
65
+ "associatedWorkspaces": [ "3" ],
66
+ "session": "Sign In"
61
67
  }
62
68
  ]