The URL to upload a file to.
The Gadget platform error code for this error.
The human facing error message for this error.
The stack for any exception that caused the error. Only available for super users.
The roles that the entity making this API call has been assigned
A list of edges.
Information to aid in pagination.
A cursor for use in pagination
The item at the end of the edge
Currently open platform transaction details, or null if no transaction is open
A list of edges.
Information to aid in pagination.
A cursor for use in pagination
The item at the end of the edge
A list of edges.
Information to aid in pagination.
A cursor for use in pagination
The item at the end of the edge
The apiIdentifier of the field this error occurred on.
The human facing error message for this error.
The Gadget platform error code for this InvalidRecordError.
The human facing error message for this error.
The model of the record which failed validation
The record which failed validation, if available. Returns all the owned fields of the record -- no sub-selections are required or possible. Only available for super users.
The stack for any exception that caused the error
A list of InvalidFieldError objects describing each of the errors encountered on the invalid record.
An object mapping field apiIdentifiers to arrays of validation error message strings for that field, as a JSON object. The object may have keys that don't correspond exactly to field apiIdentifiers if added by validations, and the object may have missing keys if no errors were encountered for that field.
When paginating forwards, the cursor to continue.
When paginating forwards, are there more items?
When paginating backwards, are there more items?
When paginating backwards, the cursor to continue.
A list of edges.
Information to aid in pagination.
A cursor for use in pagination
The item at the end of the edge
Get all the fields for this record. Useful for not having to list out all the fields you want to retrieve, but slower.
The time at which this record was first created. Set once upon record creation and never changed. Managed by Gadget.
The globally unique, unchanging identifier for this record. Assigned and managed by Gadget.
The time at which this record was last changed. Set each time the record is successfully acted upon by an action. Managed by Gadget.
Rendered content as an HTML document
Unrendered content in the extended Markdown syntax
Truncated HTML string that is valid HTML with the appropriate closing tags but limited to a certain length. Suitable for displaying in tables or dense index pages.
The stable identifier for this role. Never changes.
The human readable name for this role. Can be changed.
A list of edges.
Information to aid in pagination.
A cursor for use in pagination
The item at the end of the edge
Get all the fields for this record. Useful for not having to list out all the fields you want to retrieve, but slower.
The time at which this record was first created. Set once upon record creation and never changed. Managed by Gadget.
The globally unique, unchanging identifier for this record. Assigned and managed by Gadget.
The current state this record is in. Changed by invoking actions. Managed by Gadget.
The time at which this record was last changed. Set each time the record is successfully acted upon by an action. Managed by Gadget.
The Gadget platform error code for this error.
The human facing error message for this error.
The stack for any exception that caused the error
A list of edges.
Information to aid in pagination.
A cursor for use in pagination
The item at the end of the edge
Get all the fields for this record. Useful for not having to list out all the fields you want to retrieve, but slower.
The time at which this record was first created. Set once upon record creation and never changed. Managed by Gadget.
The globally unique, unchanging identifier for this record. Assigned and managed by Gadget.
The time at which this record was last changed. Set each time the record is successfully acted upon by an action. Managed by Gadget.
This is the Gadget API client library for:
_ _ | |__ | | ___ __ _ | '_ | |/ _ \ / ` | | |) | | () | (| | |.__/||_/ _, | |/
Built for environment "Development" at version 23 API docs: https://docs.gadget.dev/api/blog Edit this app here: https://blog.gadget.dev/edit
Represents one Post result record in internal api calls. Returns a JSON blob of all the record's fields.
Represents one Session result record in internal api calls. Returns a JSON blob of all the record's fields.
Represents one User result record in internal api calls. Returns a JSON blob of all the record's fields.
Extract a subset of a schema given a selection
type Selection = Select<
{ apple: "red", banana: "yellow", orange: "orange" },
{ apple: true, banana: false }
>; // { apple: "red" }
This is the Gadget API client library for:
_ _ | |__ | | ___ __ _ | '_ | |/ _ \ / ` | | |) | | () | (| | |.__/||_/ _, | |/
Built for environment "Development" at version 23 API docs: https://docs.gadget.dev/api/blog Edit this app here: https://blog.gadget.dev/edit
This is the Gadget API client library for:
_ _ | |__ | | ___ __ _ | '_ | |/ _ \ / ` | | |) | | () | (| | |.__/||_/ _, | |/
Built for environment "Development" at version 23 API docs: https://docs.gadget.dev/api/blog Edit this app here: https://blog.gadget.dev/edit
Generated using TypeDoc
The token to pass to an action to reference the uploaded file.