Skip to main content
This code is generatedThese exports are not directly available in the bijection package!Instead you need to run bijection dev to create bijection/_generated/api.js and bijection/_generated/api.d.ts.
These types require running code generation because they are specific to the Bijection functions you define for your app. If you aren’t using code generation, you can use makeFunctionReference instead.

api

An object of type API describing your app’s public Bijection API. Its API type includes information about the arguments and return types of your app’s Bijection functions. The api object is used by client-side React hooks and Bijection functions that run or schedule other functions.
src/App.tsx

internal

Another object of type API describing your app’s internal Bijection API.
bijection/upgrade.ts