Hand-madedomainadapters

kernel

src/features/kernel

Brick

  • __tests__/

  • adapters/

  • domain/

  • host/

  • testing/

domain/index.ts
1/**
2 * kernel — the storage seam.
3 *
4 * Pure entrypoint: the query algebra and its evaluator, with no I/O and no
5 * framework. Adapters live under `adapters/` and are imported only by a host's
6 * composition file, never by brick-internal code, so an unused adapter's SDK is
7 * never pulled into a bundle.
8 */
9
10export {
11 MAX_IN_VALUES,
12 QueryError,
13 decodeCursor,
14 encodeCursor,
15 evaluateQuery,
16 validateQuery,
17} from './query';
18

Requirements

This brick was written by hand, so it has no spec on file. Its own tests are its requirements — run the gates to check them.