fix: update constant names for enum values (#213)
* fix: add constant for max enum value length * refactor: rename constants * refactor: remove old value
This commit is contained in:
Родитель
0e657da75f
Коммит
bcb8315df6
|
@ -56,8 +56,8 @@ export function isPrebuilt(entity: EntityBase) {
|
|||
return (entity.entityName === `builtin-${entity.entityType.toLowerCase()}`)
|
||||
}
|
||||
|
||||
export const MAX_ENUM_VALUES = 5
|
||||
export const MAX_ENUM_VALUE_LENGTH = 10
|
||||
export const MAX_ENUM_VALUE_COUNT = 5
|
||||
export const MAX_ENUM_VALUE_NAME_LENGTH = 10
|
||||
|
||||
export interface EnumValue {
|
||||
enumValueId?: string
|
||||
|
|
Загрузка…
Ссылка в новой задаче