@abtnode/constant
Advanced tools
Comparing version 1.7.0 to 1.7.1
26
index.js
@@ -60,2 +60,8 @@ const NODE_SERVICES = Object.freeze({ | ||
{ | ||
name: 'blocklet', | ||
title: 'Blocklet', | ||
// passport: true, // TODO enable this when we support access key for manage single blocklet | ||
ci: true, // do not issue this passport to human | ||
}, | ||
{ | ||
name: NODE_SERVICES.AUTH_SERVICE, | ||
@@ -100,2 +106,6 @@ title: 'Auth Service', | ||
{ | ||
name: 'manage_blocklet', | ||
description: 'Manage a single blocklet', | ||
}, | ||
{ | ||
name: 'query_blocklet', | ||
@@ -165,2 +175,3 @@ description: 'View store and installed blocklets, including blocklet runtime configuration, domains and urls', | ||
certificate: ['query_certificate', 'mutate_certificate'], | ||
blocklet: ['query_team', 'mutate_team', 'manage_blocklet'], | ||
}), | ||
@@ -185,2 +196,8 @@ }; | ||
const WHO_CAN_ACCESS = { | ||
OWNER: 'owner', | ||
INVITED: 'invited', | ||
ALL: 'all', | ||
}; | ||
module.exports = Object.freeze({ | ||
@@ -281,7 +298,6 @@ // Blocklet Server | ||
DAY_IN_MS, | ||
DAEMON_MAX_MEM_LIMIT_IN_MB: 600, | ||
PROXY_MAX_MEM_LIMIT_IN_MB: 300, | ||
DAEMON_MAX_MEM_LIMIT_IN_MB: 800, | ||
PROXY_MAX_MEM_LIMIT_IN_MB: 800, | ||
BLOCKLET_MAX_MEM_LIMIT_IN_MB: 300, | ||
CERTIFICATE_EXPIRES_OFFSET: 8 * DAY_IN_MS, | ||
CERTIFICATE_EXPIRES_WARNING_OFFSET: 7 * DAY_IN_MS, | ||
CERTIFICATE_EXPIRES_OFFSET: 10 * DAY_IN_MS, | ||
ROUTING_RULE_TYPES: Object.freeze({ | ||
@@ -314,2 +330,4 @@ NONE: 'none', | ||
EVENTS, | ||
WHO_CAN_ACCESS, | ||
}); |
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "ABT Node constants", | ||
@@ -24,3 +24,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "fc949a5e8a1017fbe17533d3bd78b166c7dad132" | ||
"gitHead": "5d7efb21dd09f90206251fb74601ca37b0ef84bf" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10056
298