#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub struct WitReturnSchema {
pub world: &'static str,
pub interface: &'static str,
pub func: &'static str,
pub schema_id: &'static str,
pub version: u32,
}
pub const WIT_RETURNS: &[WitReturnSchema] = &[
WitReturnSchema {
world: "greentic:component@0.6.0",
interface: "component-descriptor",
func: "get-component-info",
schema_id: "greentic.component.info@0.6.0",
version: 6,
},
WitReturnSchema {
world: "greentic:component@0.6.0",
interface: "component-descriptor",
func: "describe",
schema_id: "greentic.component.describe@0.6.0",
version: 6,
},
WitReturnSchema {
world: "greentic:component@0.6.0",
interface: "component-qa",
func: "qa-spec",
schema_id: "greentic.component.qa@0.6.0",
version: 6,
},
WitReturnSchema {
world: "greentic:component@0.6.0",
interface: "component-qa",
func: "apply-answers",
schema_id: "greentic.component.config@0.6.0",
version: 6,
},
WitReturnSchema {
world: "greentic:component@0.6.0",
interface: "component-schema",
func: "input-schema",
schema_id: "greentic.component.schema@0.6.0",
version: 6,
},
WitReturnSchema {
world: "greentic:component@0.6.0",
interface: "component-schema",
func: "output-schema",
schema_id: "greentic.component.schema@0.6.0",
version: 6,
},
WitReturnSchema {
world: "greentic:component@0.6.0",
interface: "component-schema",
func: "config-schema",
schema_id: "greentic.component.schema@0.6.0",
version: 6,
},
];