componentized

component componentized:constants-config@0.1.0

Config values for the wasi:config/store interface, served from a list of key value pairs.

Exports

WIT

package root:component;

world root {
  import componentized:constants/config-values@0.1.0;

  export wasi:config/store@0.2.0-rc.1;
}
The WIT of its dependencies, as it was built against them

This version keeps the parts of its dependencies it uses, as they were when it was built: their indexed versions differ from them, e.g. a pre-release that has since moved, or aren't indexed.

package componentized:constants@0.1.0 {
  interface config-values {
    values: func() -> list<tuple<string, string>>;
  }
}


package wasi:config@0.2.0-rc.1 {
  interface store {
    variant error {
      upstream(string),
      io(string),
    }

    get: func(key: string) -> result<option<string>, error>;

    get-all: func() -> result<list<tuple<string, string>>, error>;
  }
}