Client
A Client is used to connect to a specific Project by using an API Key. Clients are created using theTriggerClient
class.
Adaptors
Adaptors allows Clients to receive data from the Trigger API. They do this by creating an API endpoint that data can be received at and transforming data into the expected format. Each platform has one or more adaptors, see the guides below:Platform | Adaptor |
---|---|
Next.js | createPagesRoute() |
Next.js | createAppRoute() |
NestJS | TriggerDevModule |
Astro | createAstroRoute() |
Remix | createRemixRoute() |
Sveltekit | createSvelteRoute() |
Express | Coming soon |