@abtnode/constant
Advanced tools
Comparing version
16
index.js
@@ -159,7 +159,7 @@ const NODE_SERVICES = Object.freeze({ | ||
{ | ||
name: 'query_blockets', | ||
name: 'query_blocklets', | ||
description: 'View store and installed blocklets, including blocklet runtime configuration, domains and urls', | ||
}, | ||
{ | ||
name: 'mutate_blockets', | ||
name: 'mutate_blocklets', | ||
description: 'Perform state changing actions on blocklets, such as install/upgrade/config/start/stop/remove', | ||
@@ -210,3 +210,3 @@ }, | ||
[SERVER_ROLES.GUEST]: [ | ||
'query_blockets', | ||
'query_blocklets', | ||
'query_router', | ||
@@ -222,3 +222,3 @@ 'query_webhook', | ||
SERVER_ROLES.GUEST, | ||
'mutate_blockets', | ||
'mutate_blocklets', | ||
'mutate_router', | ||
@@ -237,3 +237,3 @@ 'mutate_notification', | ||
[SERVER_ROLES.OWNER]: [ROLES.ADMIN], | ||
[SERVER_ROLES.CI]: ['query_blockets', 'mutate_blockets'], | ||
[SERVER_ROLES.CI]: ['query_blocklets', 'mutate_blocklets'], | ||
[SERVER_ROLES.CERTIFICATE]: ['query_certificate', 'mutate_certificate'], | ||
@@ -248,4 +248,4 @@ | ||
// external user | ||
[SERVER_ROLES.EXTERNAL_BLOCKLET_CONTROLLER]: ['query_blockets', 'mutate_blockets'], | ||
[SERVER_ROLES.EXTERNAL_BLOCKLETS_MANAGER]: ['query_blockets', 'mutate_blockets'], | ||
[SERVER_ROLES.EXTERNAL_BLOCKLET_CONTROLLER]: ['query_blocklets', 'mutate_blocklets'], | ||
[SERVER_ROLES.EXTERNAL_BLOCKLETS_MANAGER]: ['query_blocklets', 'mutate_blocklets'], | ||
}), | ||
@@ -303,4 +303,4 @@ }; | ||
VC_TYPE_SERVER_SHARE: 'BlockletServerShareCertificate', | ||
NFT_TYPE_SERVER_OWNERSHIP: 'BlockletServerOwnershipNFT', | ||
NFT_TYPE_SERVER_USAGE_CREDENTIAL: 'BlockletServerUsageCredential', | ||
@@ -307,0 +307,0 @@ NODE_PACKAGE_NAME: '@abtnode/cli', // deprecated in 1.6.0 |
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "1.8.35", | ||
"version": "1.8.36", | ||
"description": "ABT Node constants", | ||
@@ -24,3 +24,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "dd89e7a61dc8cff64302608ad5ab6545dd903daa" | ||
"gitHead": "507e974ce88bad1aa002c593130b32982207f803" | ||
} |
12810
0.16%