refactor(core): Forbid raw enums (no-changelog)

This commit is contained in:
Michael Kret
2023-04-21 14:23:15 +03:00
committed by GitHub
parent da31925083
commit 0e93fe064e
39 changed files with 119 additions and 115 deletions

View File

@@ -18,13 +18,13 @@ export namespace SendInBlueNode {
type BBCEmail = { bbc: Email[] };
type ValidatedEmail = ToEmail | SenderEmail | CCEmail | BBCEmail;
enum OVERRIDE_MAP_VALUES {
const enum OVERRIDE_MAP_VALUES {
'CATEGORY' = 'category',
'NORMAL' = 'boolean',
'TRANSACTIONAL' = 'id',
}
enum OVERRIDE_MAP_TYPE {
const enum OVERRIDE_MAP_TYPE {
'CATEGORY' = 'category',
'NORMAL' = 'normal',
'TRANSACTIONAL' = 'transactional',