/** * @module cosmos-constants * * Constants for Polycosmos Cosmos root ibgib and member galaxy soft links. */ export const COSMOS_ATOM = 'cosmos'; export const COSMOS_REL8N_NAME = 'cosmos'; /** * URL-path friendly regex for cosmos names. * Prohibits whitespace and slashes, enforces 1-64 alphanumeric or dash/underscore/dot chars. */ export const COSMOS_NAME_REGEXP = /^[a-zA-Z0-9_\-.]{1,64}$/; /** * Soft-link key on CosmosData_V1 for referencing member galaxies. * Mimics Galaxy soft-link convention '@branch'. */ export const COSMOS_GALAXY_SOFT_LINK_REL8N_NAME = '@galaxy';