All files / core/blong-kopi server.ts

100% Statements 12/12
100% Branches 1/1
100% Functions 0/0
100% Lines 12/12

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 131x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x  
import {realm} from '@feasibleone/blong';
 
/**
 * server.ts — `$subject` realm entry point (server platform).
 *
 * The realm is intentionally minimal: layer folders (`adapter`, `orchestrator`,
 * `meta`, `gateway`, `error`, `server/test`) are auto-discovered. DB access and
 * the subject namespace come from the shared `@feasibleone/blong-server` realm
 * (`srv`), wired by the standalone `index.ts` (or by a suite). Do NOT create a
 * realm-local `adapter/db.ts` or a dispatch orchestrator — reuse blong-server's.
 */
export default realm(() => ({url: import.meta.url}));