wasmer_registry/
types.rs

1/// Payload for publishing a new Deploy app.
2#[derive(Clone, Debug)]
3pub struct PublishDeployAppRawVars {
4    /// Name for the app.
5    /// If not specified a random name will be generated.
6    pub name: Option<String>,
7
8    /// The namespace to deploy the app to.
9    ///
10    /// If not specified the app will be deployed under the current users
11    /// namespace.
12    pub namespace: Option<String>,
13
14    /// The raw DeployV1 configuration.
15    pub config: serde_json::Value,
16}
17
18/// Data for a deployed app.
19#[derive(Clone, Debug)]
20pub struct PublishDeployAppOutput {
21    pub app_id: String,
22    pub app_name: String,
23    pub version_id: String,
24    pub version_name: String,
25    pub owner_name: String,
26}
27
28#[derive(Clone, Debug)]
29pub struct NewNonceOutput {
30    pub auth_url: String,
31}