Module constants

Source
Expand description

§Constants, regular expressions, and configuration values

Structs§

RE_DOI
Regex that should match a Digital Object Identifier (DOI)
RE_FAKE_PHONE
Regex that should match a fake phone number (e.g. 555.555.5555)
RE_IMAGE_EXTENSION
Regex that should match an image extension (e.g. .png, .jpg, .jpeg, .svg)
RE_IP6
Regex that should match an IP6 address
RE_PHONE
Regex that should match a phone number (with optional country and area codes)
RE_RAID
Regex that should match a Research Activity Identifier (RAiD)
RE_ROR
Regex that should match a Research Organization Registry (ROR)

Constants§

APPLICATION
Application name
BASE_URL
Base URL for deploying ORNL data
COLOR_PRIMARY
RGB ORNL brand primary color
COLOR_TRANSPARENT
RGB color for transparency
DEFAULT_AFFILIATION
Default affiliation
DEFAULT_GRAPHIC_CAPTION
Default graphic caption
DEFAULT_GRAPHIC_HREF
Default graphic content URL (href)
DISCLAIMER
ORNL disclaimer
MAX_COUNT_APPROACH
Maxumum number of ResearchActivity approaches
MAX_COUNT_CAPABILITIES
Maxumum number of ResearchActivity capabilities
MAX_COUNT_IMPACT
Maxumum number of impact statements
MAX_COUNT_RESEARCH_AREAS
Maximum number of research areas
MAX_LENGTH_APPROACH
Maximum number of characters for an approach statement
MAX_LENGTH_CAPABILIY
Maximum number of characters for a single capability description
MAX_LENGTH_IMAGE_CAPTION
Maximum number of characters for a single image caption
MAX_LENGTH_IMPACT
Maximum number of characters for a single impact description
MAX_LENGTH_RESEARCH_AREA
Maximum number of characters for a single research area description
MAX_LENGTH_RESEARCH_FOCUS
Maximum number of characters for an single research focus description
MAX_LENGTH_SECTION_CHALLENGE
Maximum number of characters for a challenge section
MAX_LENGTH_SECTION_MISSION
Maximum number of characters for a mission section
MAX_LENGTH_SUBTITLE
Maximum number of characters for a subtitle
MAX_LENGTH_TITLE
Maximum number of characters for a title
ORGANIZATION
Organization name
QUALIFIER
Organization qualifier
VALE_RELEASES_URL
URL for Vale releases
VALE_VERSION
Version of Vale to use with ACORN