Root object used for interacting with the "Simple Blog Example" API.
mutation functions for executing raw GraphQL queries and mutations, as well as
connection, which implements the transport layer if you need access to that.
Namespaced object for accessing models via the Gadget internal APIs, which provide lower level and higher privileged operations directly against the database. Useful for maintenance operations like migrations or correcting broken data, and for implementing the high level actions.
Returns an object of model API identifiers to
Get a new direct upload token for file uploads to directly to cloud storage. See https://docs.gadget.dev/guides/storing-files#direct-uploads-using-tokens for more information
url to upload one file to, and a token for that file to pass back to Gadget as an action input.
Run an arbitrary GraphQL mutation.
Run an arbitrary GraphQL query.
Start a transaction against the Gadget backend which will atomically commit (or rollback).
Generated using TypeDoc