This version of the module is deprecated: This package is deprecated. moonbit-community/proton should be preferred.

    justjavac/proton/extension does not have a README file

    ExtensionAdapterError

    pub(all) suberror ExtensionAdapterError {
    TypedSpecInvalid(extension_id~ : String, detail~ : String)
    } derive(
    Debug
    )

    Failures while adapting a framework extension to the app command runtime.

    ExtensionAdapterError::message

    fn ExtensionAdapterError::message(self : ExtensionAdapterError) -> String

    Extension

    type Extension

    Extension::id

    fn Extension::id(self : Extension) -> String

    Extensions

    type Extensions

    Extensions::items

    fn Extensions::items(self : Extensions) -> Array[Extension]

    Extensions::new

    fn Extensions::new(items : Array[Extension]) -> Extensions

    extensions

    fn extensions(items : Array[Extension]) -> Extensions

    typed

    fn typed(contract :
    ExtensionContract
    , command_routes : Array[
    ContractRoute
    ], register : (
    CommandRegistrar
    ) -> Unit raise, scripts? : Array[String], dependencies? : Array[String], on_destroy? : () -> Unit raise) -> Extension

    Builds an installable extension from typed command descriptors.

    Validation is deferred until application configuration so invalid static extension metadata follows the facade's ordinary adaptation error path.