Is it possible to define enum-like type for string? I know about enums but don't want to use enums in this case, I want to use it as if it's just a string.
type Blog = object
text: string
priority: "low" | "normal" | "high"
echo Blog(text: "something...", priority: "high")