Skip to main content

RemoteManifestResponse

Type Alias RemoteManifestResponse 

Source
pub type RemoteManifestResponse = ModuleManifest;

Aliased Type§

pub struct RemoteManifestResponse {
    pub name: String,
    pub story_display: Vec<StoryDisplayDescriptor>,
    pub admin: Option<AdminSurface>,
    pub http_routes: Vec<ModuleHttpRoute>,
    pub runtime: Option<RuntimeSurface>,
    pub events: Option<EventSurface>,
    pub lifecycle: Option<LifecycleSurface>,
    pub console: Vec<ConsoleSurface>,
    pub console_slots: Vec<ConsoleSlot>,
    pub console_contributions: Vec<ConsoleContribution>,
    pub capabilities: Vec<String>,
    pub dependencies: Vec<String>,
}

Fields§

§name: String

Stable module name, e.g. "identity".

§story_display: Vec<StoryDisplayDescriptor>

Console story-display metadata.

§admin: Option<AdminSurface>

Admin surface: Some(AdminSurface::Schema(_)) for schema-driven CRUD, future custom surfaces for richer module admin UI, or None for modules with no admin surface (e.g. notifications).

§http_routes: Vec<ModuleHttpRoute>

Declared module-owned HTTP routes. These are metadata only until a loading-source-specific mount/proxy protocol exists.

§runtime: Option<RuntimeSurface>

Declared runtime behavior. These entries are manifest data only; source bindings decide how to register executable behavior.

§events: Option<EventSurface>

Declared event subscriptions. These entries are manifest data only; source bindings decide how to register executable behavior.

§lifecycle: Option<LifecycleSurface>

Declared lifecycle work. The host validates and schedules these entries; modules do not receive arbitrary startup callbacks.

§console: Vec<ConsoleSurface>

Declared Runtime Console surfaces provided by trusted frontend packages.

§console_slots: Vec<ConsoleSlot>

Declared Runtime Console extension slots owned by host or module surfaces.

§console_contributions: Vec<ConsoleContribution>

Declared Runtime Console slot contributions attached to host or module-owned surfaces.

§capabilities: Vec<String>

RESERVED SEAM — capabilities the module declares (perms/tenancy).

§dependencies: Vec<String>

Other modules this module requires to be installed first.