Turso.Platform
Configure access to the Turso Platform API.
type alias Connection =
{ httpPermission : Permission
, accessToken : String
, organizationSlug : String
}
A connection to the Turso Platform API for a specific organization.
httpPermission
allows functions using thisConnection
can make HTTP requests.accessToken
value is the Turso API token used to make requests to the organization name specified with theorganizationSlug
value.organiztionSlug
is the name (or slug) of your organization in Turso.