midas/sdk/netlify
Types
pub type App {
App(client_id: String, redirect_uri: String)
}
Constructors
-
App(client_id: String, redirect_uri: String)
Functions
pub fn auth_redirect(
redirect: Uri,
) -> Result(#(String, String, String), String)
pub fn authenticate(app: App) -> Effect(String)
pub fn deploy_site(
token: String,
site_id: String,
files: List(#(String, BitArray)),
) -> Effect(String)
pub fn list_sites(token: String) -> Effect(List(Site))
pub fn list_sites_request(token: String) -> Request(BitArray)
pub fn list_sites_response(
response: Response(BitArray),
) -> Result(List(Site), Snag)