@abtnode/constant 1.17.2-beta-20251113-233643-ab2254af → 1.17.2-beta-20251114-122922-4319f1ac
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 +8 -0
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -435,6 +435,13 @@ const EVENT_BUS_EVENT = 'event-bus';
|
|
|
435
435
|
|
|
436
436
|
const NAVIGATION_I18N_FIELDS = Object.freeze(['title', 'description', 'link']);
|
|
437
437
|
|
|
438
|
+
// NOTICE: keep sync with @blocklet/constant
|
|
439
|
+
const USER_SESSION_STATUS = {
|
|
440
|
+
ONLINE: 'online',
|
|
441
|
+
OFFLINE: 'offline',
|
|
442
|
+
EXPIRED: 'expired',
|
|
443
|
+
};
|
|
444
|
+
|
|
438
445
|
module.exports = Object.freeze({
|
|
439
446
|
// Blocklet Server
|
|
440
447
|
NODE_MODES: Object.freeze({
|
|
@@ -927,4 +934,5 @@ module.exports = Object.freeze({
|
|
|
927
934
|
'isMaster',
|
|
928
935
|
'status',
|
|
929
936
|
],
|
|
937
|
+
USER_SESSION_STATUS,
|
|
930
938
|
});
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.17.2-beta-
|
|
6
|
+
"version": "1.17.2-beta-20251114-122922-4319f1ac",
|
|
7
7
|
"description": "ABT Node constants",
|
|
8
8
|
"main": "index.js",
|
|
9
9
|
"files": [
|
|
@@ -17,5 +17,5 @@
|
|
|
17
17
|
},
|
|
18
18
|
"author": "polunzh <polunzh@gmail.com> (http://github.com/polunzh)",
|
|
19
19
|
"license": "Apache-2.0",
|
|
20
|
-
"gitHead": "
|
|
20
|
+
"gitHead": "eb484ccabce50c438b8eec1be3738da18cd28f75"
|
|
21
21
|
}
|