import interface WebStudioCanvasPlacement; import interface WebStudioPlaceable; import interface WebStudioCanvas; external atom WebStudioCanvasPlacement id "atom:org.quixos.web-studio:canvas-placement"; type Layout=record {x:double;y:double;width:double;height:double;z:int32;}; interface WebStudioCanvasFactory id "interface:org.quixos.web-studio.canvas-factory" revision "interface:org.quixos.web-studio.canvas-factory@1" { static operation create id "member:studio:canvas-factory:create" : record {canvas:interface-ref;seed:Input;presentation:string;layout:Layout;} -> atom-ref { call id "operation:studio:canvas-factory:create" execution transaction; } }