Implement typed module contracts and conformance bindings
This commit is contained in:
@@ -46,6 +46,10 @@ pkg.controllers = parseControllerCatalog(
|
||||
[iface, controllerInterface],
|
||||
pkg.checkedQueries,
|
||||
);
|
||||
const viewRole = compileCapabilityResourceSource(await read("DeviceView.qx"), { source, environment });
|
||||
assert.ok(viewRole.ok && viewRole.resource.kind === "interface", JSON.stringify(viewRole.diagnostics));
|
||||
environment.interfaces.set("DeviceView", viewRole.resource.revision);
|
||||
environment.interfaceClosure.push(viewRole.resource.revision);
|
||||
const viewer = compileCapabilityResourceSource(await read("Viewer.qx"), {
|
||||
source: { ...source, repository: "https://example.test/device-viewer.git" },
|
||||
environment,
|
||||
|
||||
Reference in New Issue
Block a user