Skip to main content
bijection/bijection.config.ts default-exports the app tree. Every name in the app is a path in it: tables, labels, roles, releases, secrets, targets, functions, reactions, guards and the subtrees of mounted apps and libraries. No declaration takes a string name.
bijection/bijection.config.ts
  • A function with allow is exposed at its path (notes.add); one without is internal.
  • A reaction (on: every(…), cron(…), route.post(…) or selection.changes) runs wherever it is placed. See Reactions.
  • A mountable app or library is a function from its capabilities to a subtree. Mounting it is calling it at a path. See Mount an app.
bijection check reads this export and writes bijection.lock, the reviewable list of every exposed path with its allow, grave acts and guards. For an in-repository TypeScript frontend, set "browserClient": true. Preparation writes .bijection/_generated/client.ts. Import its typed references and pinned connector from your frontend: