30 lines
1.6 KiB
TypeScript
30 lines
1.6 KiB
TypeScript
/**
|
|
* @ludus/relay — the OPTIONAL league relay.
|
|
*
|
|
* ══════════════════════════════════════════════════════════════════════════
|
|
* THIS DIRECTORY MUST STAY DELETABLE.
|
|
* ══════════════════════════════════════════════════════════════════════════
|
|
*
|
|
* If removing `services/relay` breaks the player, the social layer has stopped
|
|
* being optional and that is a blocker finding (CLAUDE.md §2, `docs/ROADMAP.md`
|
|
* §4 Phase 5 gate). Nothing under `apps/` or `packages/` may import this
|
|
* package, and `test/deletable.test.ts` asserts that by reading the tree rather
|
|
* than by trusting the rule.
|
|
*
|
|
* The dependency runs one way and one way only: this service imports
|
|
* `@ludus/schema` for the submission shape, and never `@ludus/engine`. It holds
|
|
* no opinion about learning — no grading, no scheduling, no XP arithmetic. XP
|
|
* arrives as an integer somebody else computed, and this service's entire
|
|
* relationship with it is a ceiling.
|
|
*/
|
|
export { DEFAULT_RELAY_CONFIG, relayConfig, type RelayConfig } from './config.js';
|
|
export { RelayStore, PARTICIPANT_COLUMNS, type Board, type BoardRow } from './store.js';
|
|
export { checkSubmission, type AcceptedSubmission } from './verify.js';
|
|
export { currentWeekId, isWeekIdShape } from './week.js';
|
|
export {
|
|
relayHandler,
|
|
startRelay,
|
|
type RelayServerOptions,
|
|
type RunningRelay
|
|
} from './server.js';
|