mhome-app-facade-api 1.39.2

Canonical public App Facade protocol for MeowLink clients
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Public App Facade entry points for the shared Artifact protocol.

pub use artifact_api::{
    DeleteArtifactRequest, ImportArtifactRequest, PutArtifactRequest, PutArtifactResponse,
    ResolveArtifactRequest, ResolveArtifactResponse,
};

/// Resolve an Artifact through the MeowLink-facing App Facade.
pub const RESOLVE_TARGET: &str = "/app/artifact/resolve";

pub const PUT_TARGET: &str = "/app/artifact/put";
pub const IMPORT_TARGET: &str = "/app/artifact/import";

pub const DELETE_TARGET: &str = "/app/artifact/delete";

pub const REQUEST_TARGETS: &[&str] = &[RESOLVE_TARGET, PUT_TARGET, IMPORT_TARGET, DELETE_TARGET];