Implement typed module contracts and conformance bindings
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import interface Device;
|
||||
external atom Display id "device:display";
|
||||
interface DeviceView id "device-view" revision "device-view@1" {
|
||||
module render id "device-view:render" contract "org.quixos.react.subject-only/1" subject interface Device;
|
||||
}
|
||||
+2
-1
@@ -1,7 +1,8 @@
|
||||
import interface DeviceView;
|
||||
import interface Device;
|
||||
external atom Display id "device:display";
|
||||
package DeviceViewer id "device-viewer" revision "device-viewer@1" {
|
||||
component Status id "component:device:status" subject Device runtime react;
|
||||
module Status id "component:device:status" implements DeviceView.render;
|
||||
query Inputs id "device-viewer:inputs" root Device document "viewer.graphql" operation "Status" {replica;}
|
||||
query View id "device-viewer:view" root Device document "viewer.graphql" operation "Status" {local from Inputs;watch;}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user