/** * Hub Resource Definitions * * This module defines enums and constants that categorize and identify different types of * resources in the Hub application. These resource identifiers are used across services, * APIs, and UI components to ensure consistency and avoid hardcoding. * * Includes: * - `HubResource`: All known resource types in the system. * - `FetchableHubResource`: Subset of resources that support external fetching. * - `HUB_RESOURCES`: List of all `HubResource` enum values, used for iteration and validation. */ /** * HubResource * * Enumerates every resource type available within the Hub ecosystem. * These identifiers are used as canonical values across APIs and database records. * The string values are intentionally verbose to remain globally unique and readable. */ export declare enum HubResource { NEWSROOM_NEWS = "newsroom-news", EVENTS_EVENT = "events-event", HACKSCHOOL_COURSE = "hackschool-course", HACKSCHOOL_THREAD = "hackschool-thread", HACKSCHOOL_DOC = "hackschool-doc", DEMO_HIVE_DEMO = "demo-hive-demo", TECH_RADAR_BLIP = "tech-radar-blip", TECH_RADAR_EDITION = "tech-radar-edition", PODCASTS_EPISODE = "podcasts-podcast", BOOKS_BOOK = "books-book", TEAM_MEMBER = "team-member", NEWSLETTER_ISSUE = "newsletter-issue", HUB_IDEA = "hub-idea", HUB_FILE = "hub-file", HUB_QUICK_LINK = "hub-quick-link", HUB_USER = "hub-user", HUB_COMMENT = "hub-comment", HUB_CONFLICT = "hub-conflict", HUB_CHANGELOG = "hub-changelog", ANY = "any" } /** * HUB_RESOURCES * * Array of all `HubResource` values for iteration, validation, and filtering. * This constant is useful for building UIs, validating resource type inputs, * or dynamically resolving logic based on resource types. */ export declare const HUB_RESOURCES: HubResource[];