@mindline/sync 1.0.79 → 1.0.81
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/.vs/VSWorkspaceState.json +1 -0
- package/.vs/slnx.sqlite +0 -0
- package/.vs/sync/FileContentIndex/{98d0a3c4-9dfb-4783-bb26-aad0539cb8c0.vsidx → 276340f7-fd14-4764-a505-0cd3f5335b94.vsidx} +0 -0
- package/.vs/sync/v17/.wsuo +0 -0
- package/.vs/sync/v17/DocumentLayout.json +37 -41
- package/index.ts +4 -2
- package/package.json +1 -1
- package/users.json +1 -1
package/.vs/slnx.sqlite
CHANGED
|
Binary file
|
|
Binary file
|
package/.vs/sync/v17/.wsuo
CHANGED
|
Binary file
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
"WorkspaceRootPath": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\",
|
|
4
4
|
"Documents": [
|
|
5
5
|
{
|
|
6
|
-
"AbsoluteMoniker": "D:
|
|
7
|
-
"RelativeMoniker": "D:
|
|
6
|
+
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\package.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}",
|
|
7
|
+
"RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:package.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}"
|
|
8
8
|
},
|
|
9
9
|
{
|
|
10
|
-
"AbsoluteMoniker": "D:
|
|
11
|
-
"RelativeMoniker": "D:
|
|
10
|
+
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\index.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}",
|
|
11
|
+
"RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:index.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}"
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
|
-
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\
|
|
15
|
-
"RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:
|
|
14
|
+
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\users.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}",
|
|
15
|
+
"RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:users.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}"
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\hybridspa.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}",
|
|
@@ -64,8 +64,34 @@
|
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
"DockedWidth": 200,
|
|
67
|
-
"SelectedChildIndex":
|
|
67
|
+
"SelectedChildIndex": 0,
|
|
68
68
|
"Children": [
|
|
69
|
+
{
|
|
70
|
+
"$type": "Document",
|
|
71
|
+
"DocumentIndex": 0,
|
|
72
|
+
"Title": "package.json",
|
|
73
|
+
"DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\package.json",
|
|
74
|
+
"RelativeDocumentMoniker": "package.json",
|
|
75
|
+
"ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\package.json",
|
|
76
|
+
"RelativeToolTip": "package.json",
|
|
77
|
+
"ViewState": "AQIAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
|
|
78
|
+
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001642|",
|
|
79
|
+
"WhenOpened": "2024-11-06T06:24:37.385Z",
|
|
80
|
+
"EditorCaption": ""
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"$type": "Document",
|
|
84
|
+
"DocumentIndex": 2,
|
|
85
|
+
"Title": "users.json",
|
|
86
|
+
"DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\users.json",
|
|
87
|
+
"RelativeDocumentMoniker": "users.json",
|
|
88
|
+
"ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\users.json",
|
|
89
|
+
"RelativeToolTip": "users.json",
|
|
90
|
+
"ViewState": "AQIAAAAAAAAAAAAAAAAAAAUAAAASAAAA",
|
|
91
|
+
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001642|",
|
|
92
|
+
"WhenOpened": "2024-11-05T22:57:19.003Z",
|
|
93
|
+
"EditorCaption": ""
|
|
94
|
+
},
|
|
69
95
|
{
|
|
70
96
|
"$type": "Document",
|
|
71
97
|
"DocumentIndex": 3,
|
|
@@ -74,41 +100,11 @@
|
|
|
74
100
|
"RelativeDocumentMoniker": "hybridspa.ts",
|
|
75
101
|
"ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\hybridspa.ts",
|
|
76
102
|
"RelativeToolTip": "hybridspa.ts",
|
|
77
|
-
"ViewState": "
|
|
78
|
-
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
|
|
79
|
-
"WhenOpened": "2024-05-28T14:16:49.61Z"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"$type": "Document",
|
|
83
|
-
"DocumentIndex": 0,
|
|
84
|
-
"Title": "index.ts",
|
|
85
|
-
"DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\index.ts",
|
|
86
|
-
"RelativeDocumentMoniker": "index.ts",
|
|
87
|
-
"ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\index.ts",
|
|
88
|
-
"RelativeToolTip": "index.ts",
|
|
89
|
-
"ViewState": "AQIAAHABAAAAAAAAAAAAALABAAAfAAAA",
|
|
103
|
+
"ViewState": "AQIAAPgAAAAAAAAAAAAAAFECAAAXAAAA",
|
|
90
104
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
|
|
91
|
-
"WhenOpened": "2024-
|
|
105
|
+
"WhenOpened": "2024-11-04T14:16:26.493Z",
|
|
92
106
|
"EditorCaption": ""
|
|
93
107
|
},
|
|
94
|
-
{
|
|
95
|
-
"$type": "Document",
|
|
96
|
-
"DocumentIndex": 2,
|
|
97
|
-
"Title": "index.d.ts",
|
|
98
|
-
"DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\index.d.ts",
|
|
99
|
-
"RelativeDocumentMoniker": "index.d.ts",
|
|
100
|
-
"ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\index.d.ts",
|
|
101
|
-
"RelativeToolTip": "index.d.ts",
|
|
102
|
-
"ViewState": "AQIAAEQAAAAAAAAAAAAAAE8AAAAOAAAA",
|
|
103
|
-
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
|
|
104
|
-
"WhenOpened": "2024-03-31T03:51:46.193Z"
|
|
105
|
-
}
|
|
106
|
-
]
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"DockedWidth": 200,
|
|
110
|
-
"SelectedChildIndex": 0,
|
|
111
|
-
"Children": [
|
|
112
108
|
{
|
|
113
109
|
"$type": "Document",
|
|
114
110
|
"DocumentIndex": 1,
|
|
@@ -117,9 +113,9 @@
|
|
|
117
113
|
"RelativeDocumentMoniker": "index.ts",
|
|
118
114
|
"ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\index.ts",
|
|
119
115
|
"RelativeToolTip": "index.ts",
|
|
120
|
-
"ViewState": "
|
|
116
|
+
"ViewState": "AQIAAFgBAAAAAAAAAAAuwHMBAAAAAAAA",
|
|
121
117
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
|
|
122
|
-
"WhenOpened": "2024-05-
|
|
118
|
+
"WhenOpened": "2024-05-12T20:20:11.888Z",
|
|
123
119
|
"EditorCaption": ""
|
|
124
120
|
}
|
|
125
121
|
]
|
package/index.ts
CHANGED
|
@@ -139,7 +139,7 @@ export class User {
|
|
|
139
139
|
this.oid = "";
|
|
140
140
|
this.name = "";
|
|
141
141
|
this.mail = "";
|
|
142
|
-
this.authority = "
|
|
142
|
+
this.authority = "";
|
|
143
143
|
this.tid = "";
|
|
144
144
|
this.companyName = "";
|
|
145
145
|
this.companyDomain = "";
|
|
@@ -1544,7 +1544,9 @@ export async function signIn(user: User, tasks: TaskArray): Promise<boolean> {
|
|
|
1544
1544
|
let url: URL = new URL(signinURL);
|
|
1545
1545
|
url.searchParams.append("redirectUri", window.location.origin);
|
|
1546
1546
|
url.searchParams.append("domainHint", "organizations");
|
|
1547
|
-
|
|
1547
|
+
// "1" is the OID that is set by default when reading the user objects from the JSON initialization file.
|
|
1548
|
+
// This means this user has not been created by the admin. If it had been, oid and mail would be the same and not == "1".
|
|
1549
|
+
if (user.oid !== "1") {
|
|
1548
1550
|
url.searchParams.append("loginHint", user.mail);
|
|
1549
1551
|
}
|
|
1550
1552
|
tasks.setTaskStart("initialization", new Date());
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mindline/sync",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.81",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"exports": "./index.ts",
|
|
7
7
|
"description": "sync is a node.js package encapsulating javscript classes required for configuring Mindline sync service.",
|