/** * @module index-constants * * Constants for B2tFS repository root index and special ibgib indexing. */ export const B2TFS_GALAXY_ATOM = 'b2tfs_galaxy'; export const B2TFS_GALAXY_REL8N_NAME = 'b2tfs_galaxy'; /** * First-class atom for Universal Galaxy IbGibs. */ export const GALAXY_ATOM = 'galaxy'; export const GALAXY_REL8N_NAME = 'galaxy'; /** * URL-path friendly regex for galaxy names (e.g. 'code-1', 'notes-dev', 'my_galaxy.v1'). * Prohibits whitespace, slashes, and tildes (~), enforces 1-64 characters. */ export const GALAXY_NAME_REGEXP = /^[a-zA-Z0-9_\-.]{1,64}$/; /** * Soft-link keys on GalaxyData_V1 for referencing member branches, items, or topics. */ export const GALAXY_BRANCH_SOFT_LINK_REL8N_NAME = '@branch'; export const GALAXY_ITEM_SOFT_LINK_REL8N_NAME = '@item'; export const GALAXY_TOPIC_SOFT_LINK_REL8N_NAME = '@topic';