@steedos/service-core-objects 3.0.0-beta.83 → 3.0.0-beta.85
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.
|
@@ -113,6 +113,12 @@
|
|
|
113
113
|
tenantId,
|
|
114
114
|
authToken,
|
|
115
115
|
},
|
|
116
|
+
global: {
|
|
117
|
+
userId: userId,
|
|
118
|
+
spaceId: tenantId,
|
|
119
|
+
user: <%- JSON.stringify(userSession) %>,
|
|
120
|
+
now: new Date(),
|
|
121
|
+
}
|
|
116
122
|
},
|
|
117
123
|
};
|
|
118
124
|
|
|
@@ -148,7 +154,12 @@
|
|
|
148
154
|
schema.data.context.userId = userId;
|
|
149
155
|
schema.data.context.authToken = authToken;
|
|
150
156
|
schema.data.context.user = <%- JSON.stringify(userSession) %>;
|
|
151
|
-
|
|
157
|
+
schema.data.global = {
|
|
158
|
+
userId: userId,
|
|
159
|
+
spaceId: tenantId,
|
|
160
|
+
user: <%- JSON.stringify(userSession) %>,
|
|
161
|
+
now: new Date(),
|
|
162
|
+
}
|
|
152
163
|
// if (objectName && pageType === "record") {
|
|
153
164
|
// const record = await axios.get(
|
|
154
165
|
// `${rootUrl}/api/v4/${objectName}?$orderby=modified&$top=1`,
|
|
@@ -183,11 +194,13 @@
|
|
|
183
194
|
);
|
|
184
195
|
if (schema.data && typeof schema.data.context === 'object' ) {
|
|
185
196
|
delete schema.data.context
|
|
197
|
+
delete schema.data.global
|
|
186
198
|
}
|
|
187
199
|
|
|
188
200
|
try {
|
|
189
201
|
delete schema.data.recordId;
|
|
190
202
|
delete schema.data.objectName;
|
|
203
|
+
delete schema.data.global
|
|
191
204
|
} catch (error) {
|
|
192
205
|
|
|
193
206
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
name: admin_bull_dashboard
|
|
2
|
+
desktop: true
|
|
3
|
+
icon: dashboard
|
|
4
|
+
is_new_window: true
|
|
5
|
+
label: Bull Dashboard
|
|
6
|
+
mobile: true
|
|
7
|
+
permissions:
|
|
8
|
+
- permission: 'off'
|
|
9
|
+
permission_set: user
|
|
10
|
+
- permission: 'off'
|
|
11
|
+
permission_set: customer
|
|
12
|
+
- permission: 'off'
|
|
13
|
+
permission_set: supplier
|
|
14
|
+
- permission: 'on'
|
|
15
|
+
permission_set: admin
|
|
16
|
+
- permission: 'off'
|
|
17
|
+
permission_set: organization_admin
|
|
18
|
+
- permission: 'off'
|
|
19
|
+
permission_set: workflow_admin
|
|
20
|
+
type: url
|
|
21
|
+
url: /bull-jobs/dashboard/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/service-core-objects",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.85",
|
|
4
4
|
"main": "package.service.js",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
"steedos"
|
|
11
11
|
],
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@steedos/service-package-loader": "3.0.0-beta.
|
|
13
|
+
"@steedos/service-package-loader": "3.0.0-beta.85",
|
|
14
14
|
"json2xls": "^0.1.2",
|
|
15
15
|
"lodash": "^4.17.21"
|
|
16
16
|
},
|
|
17
17
|
"description": "steedos package",
|
|
18
18
|
"repository": {},
|
|
19
19
|
"license": "MIT",
|
|
20
|
-
"gitHead": "
|
|
20
|
+
"gitHead": "f09514d1c8dcec1656ec83cb3237008c2eb9bc3c"
|
|
21
21
|
}
|