server.ts10 lines · main
| 1 | /** |
| 2 | * Public sub-export: `@briven/cli/server`. |
| 3 | * |
| 4 | * Imported by files under `briven/functions/` in consumer repos. |
| 5 | * Exposes the `Ctx` type (for the first argument of every function) |
| 6 | * plus `query` / `mutation` / `action` helpers that type-check the |
| 7 | * signature. |
| 8 | */ |
| 9 | export type { Ctx } from '@briven/schema'; |
| 10 | export { query, mutation, action } from './server-helpers.js'; |