use crate::prelude::*;
#[newtype(
primitive = "Text",
item(prim = "Text"),
ty(
validator(path = "validator::len::Range", args(1, 40)),
validator(path = "validator::text::case::UpperSnake"),
)
)]
pub struct Constant {}
#[newtype(
primitive = "Text",
item(prim = "Text"),
ty(
validator(path = "validator::len::Range", args(2, 40)),
validator(path = "validator::text::case::Snake"),
)
)]
pub struct Field {}
#[newtype(
primitive = "Text",
item(prim = "Text"),
ty(
validator(path = "validator::len::Range", args(2, 64)),
validator(path = "validator::text::case::Snake"),
)
)]
pub struct Function {}
#[newtype(
primitive = "Text",
item(prim = "Text"),
ty(
validator(path = "validator::len::Range", args(2, 40)),
validator(path = "validator::text::case::Snake"),
)
)]
pub struct Variable {}
#[newtype(
primitive = "Text",
item(prim = "Text"),
ty(
validator(path = "validator::len::Range", args(1, 40)),
validator(path = "validator::text::case::UpperCamel"),
)
)]
pub struct Variant {}