chayns-api 3.6.2 → 3.6.3
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.
|
@@ -45,7 +45,7 @@ class AppWrapper {
|
|
|
45
45
|
return undefined;
|
|
46
46
|
}
|
|
47
47
|
mapOldApiToNew(retVal) {
|
|
48
|
-
var _window, _window2, _AppInfo$TappSelected;
|
|
48
|
+
var _window, _window2, _AppUser$UACGroups$ma, _AppUser$UACGroups, _AppInfo$TappSelected;
|
|
49
49
|
const {
|
|
50
50
|
AppInfo,
|
|
51
51
|
AppUser,
|
|
@@ -138,7 +138,9 @@ class AppWrapper {
|
|
|
138
138
|
userId: userId,
|
|
139
139
|
personId: AppUser.PersonID,
|
|
140
140
|
isAnonymous: AppUser.IsAnonymous,
|
|
141
|
-
uacGroups:
|
|
141
|
+
uacGroups: (_AppUser$UACGroups$ma = (_AppUser$UACGroups = AppUser.UACGroups) === null || _AppUser$UACGroups === void 0 ? void 0 : _AppUser$UACGroups.map(group => ({
|
|
142
|
+
id: group.GroupID
|
|
143
|
+
}))) !== null && _AppUser$UACGroups$ma !== void 0 ? _AppUser$UACGroups$ma : []
|
|
142
144
|
},
|
|
143
145
|
customData: null,
|
|
144
146
|
isAdminModeActive: AppUser.AdminMode,
|
|
@@ -32,7 +32,7 @@ export class AppWrapper {
|
|
|
32
32
|
return undefined;
|
|
33
33
|
}
|
|
34
34
|
mapOldApiToNew(retVal) {
|
|
35
|
-
var _window, _window2, _AppInfo$TappSelected;
|
|
35
|
+
var _window, _window2, _AppUser$UACGroups$ma, _AppUser$UACGroups, _AppInfo$TappSelected;
|
|
36
36
|
const {
|
|
37
37
|
AppInfo,
|
|
38
38
|
AppUser,
|
|
@@ -125,7 +125,9 @@ export class AppWrapper {
|
|
|
125
125
|
userId: userId,
|
|
126
126
|
personId: AppUser.PersonID,
|
|
127
127
|
isAnonymous: AppUser.IsAnonymous,
|
|
128
|
-
uacGroups:
|
|
128
|
+
uacGroups: (_AppUser$UACGroups$ma = (_AppUser$UACGroups = AppUser.UACGroups) === null || _AppUser$UACGroups === void 0 ? void 0 : _AppUser$UACGroups.map(group => ({
|
|
129
|
+
id: group.GroupID
|
|
130
|
+
}))) !== null && _AppUser$UACGroups$ma !== void 0 ? _AppUser$UACGroups$ma : []
|
|
129
131
|
},
|
|
130
132
|
customData: null,
|
|
131
133
|
isAdminModeActive: AppUser.AdminMode,
|