pub trait StopgapApi {
// Required methods
fn deploy(
&mut self,
env: &str,
from_schema: &str,
label: Option<&str>,
prune: bool,
deploy_exports_json: Option<&str>,
) -> Result<i64>;
fn rollback(
&mut self,
env: &str,
steps: i32,
to_id: Option<i64>,
) -> Result<i64>;
fn status(&mut self, env: &str) -> Result<Option<Value>>;
fn deployments(&mut self, env: &str) -> Result<Value>;
fn diff(&mut self, env: &str, from_schema: &str) -> Result<Value>;
}