1export const PROXY_TYPE = {
2 MANAGEMENT: 'MANAGEMENT',
8export const proxyTypeToHuman = proxyType => {
10 case PROXY_TYPE.MANAGEMENT:
12 case PROXY_TYPE.SPAWN:
14 case PROXY_TYPE.TRANSFER:
16 case PROXY_TYPE.VOTING:
19 throw new Error(`Unknown proxyType: ${proxyType}`);
23export const proxyTypeToHumanDescription = proxyType => {
25 case PROXY_TYPE.MANAGEMENT:
26 return 'The management proxy is allowed to manage networking keys.';
27 case PROXY_TYPE.SPAWN:
28 return 'The spawn proxy is allowed to spawn points.';
29 case PROXY_TYPE.TRANSFER:
30 return 'The transfer proxy is allowed to transfer this point.';
31 case PROXY_TYPE.VOTING:
32 return "The voting proxy is allowed to vote on this point's behalf.";
34 throw new Error(`Unknown proxyType: ${proxyType}`);
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list