flybrain/services/bridge/src/names.ts
acamilo 660c3cf00d
Some checks failed
ci / node 22 (test + typecheck) (push) Has been cancelled
ci / rust stable (cargo test --workspace --release) (push) Has been cancelled
ci / infra/tests/lint.sh (push) Has been cancelled
ci / playwright apps/stage (allowed to fail) (push) Has been cancelled
flybrain v0.4.0: public tree (history retained privately)
2026-09-21 15:09:46 +00:00

10 lines
598 B
TypeScript

/**
* Re-export of the single display-name validation chokepoint.
*
* The real implementation lives in `packages/feed/src/names.ts` (`@flybrain/feed`) so that
* flystage and flybridge both validate viewer names the same way — see
* `docs/design/stage-bridge.md` section C, "How viewer names reach the ticker". This module
* exists only so bridge code can `import { validateDisplayName } from './names'` like every
* other local module, without every call site reaching across the workspace boundary by hand.
*/
export { FALLBACK_DISPLAY_NAME, validateDisplayName } from '@flybrain/feed';