// The api(s) this mobile app consumes — mirrors a web app.config.ts's `apis:` // map. The NAME ('app') is the lookup key the hooks bind to: `src/lib/api.ts` // spells it ONCE via `createHooks('app')`, and every screen then // calls `useSubscription('notes.list')` / `useMutation('notes.create')` with no // api name and no hand-written result type. // The `package` resolves the sibling api in this project so codegen can pull its // typed rpc surface (end-to-end types on a phone). Scaffold the api with // `--api=api-backend`. export default { apis: { app: { package: '@{{projectName}}/api' }, }, }