28 lines
969 B
TypeScript
28 lines
969 B
TypeScript
|
|
export function addRgthree(str: string) {
|
|
return str + ' (rgthree)';
|
|
}
|
|
|
|
export function stripRgthree(str: string) {
|
|
return str.replace(/\s*\(rgthree\)$/, '');
|
|
}
|
|
|
|
export const NodeTypesString = {
|
|
ANY_SWITCH: addRgthree('Any Switch'),
|
|
NODE_MODE_RELAY: addRgthree('Mute / Bypass Relay'),
|
|
NODE_MODE_REPEATER: addRgthree('Mute / Bypass Repeater'),
|
|
FAST_MUTER: addRgthree('Fast Muter'),
|
|
FAST_BYPASSER: addRgthree('Fast Bypasser'),
|
|
FAST_GROUPS_MUTER: addRgthree('Fast Groups Muter'),
|
|
FAST_GROUPS_BYPASSER: addRgthree('Fast Groups Bypasser'),
|
|
FAST_ACTIONS_BUTTON: addRgthree('Fast Actions Button'),
|
|
LABEL: addRgthree('Label'),
|
|
POWER_LORA_LOADER: addRgthree('Power Lora Loader'),
|
|
NODE_COLLECTOR: addRgthree('Node Collector'),
|
|
REROUTE: addRgthree('Reroute'),
|
|
RANDOM_UNMUTER: addRgthree('Random Unmuter'),
|
|
SEED: addRgthree('Seed'),
|
|
BOOKMARK: addRgthree('Bookmark'),
|
|
IMAGE_COMPARER: addRgthree('Image Comparer'),
|
|
}
|