commit ae943a2a0d16bce64141613f911be54b657c0b60 Author: Quixos Template Publisher Date: Sat Jan 1 00:00:00 2000 +0000 Export template source from bb884973127a7ae3795981e31d2836f620d6be4c:quixos-instance/interfaces/web-studio-display-target diff --git a/.quixos-template-source.json b/.quixos-template-source.json new file mode 100644 index 0000000..811a32d --- /dev/null +++ b/.quixos-template-source.json @@ -0,0 +1,4 @@ +{ + "monorepoCommit": "bb884973127a7ae3795981e31d2836f620d6be4c", + "sourcePath": "quixos-instance/interfaces/web-studio-display-target" +} diff --git a/interface.qx b/interface.qx new file mode 100644 index 0000000..e948961 --- /dev/null +++ b/interface.qx @@ -0,0 +1,13 @@ +import interface PresentationMount; +import interface WebStudioPresentable; +type Assignment = record {subject:interface-ref;presentation:string;presentationMount:optional>;}; +type Observed = record {generation:uint32;sequence:uint32;status:string;error:string;}; +type DisplayState = record {label:string;generation:uint32;presentation:optional;observed:optional;}; +interface WebStudioDisplayTarget id "interface:org.quixos.web-studio.display-target" revision "interface:org.quixos.web-studio.display-target@1" { + queryable value nonce id "display:nonce" : string {get id "display:nonce:get" execution snapshot;} + queryable value status id "display:state" : DisplayState {get id "display:state:get" execution snapshot;} + queryable relation subject id "display:subject" : optional-one interface WebStudioPresentable {resolve id "display:subject:resolve" execution snapshot;} + queryable relation presentationMount id "display:presentation-mount" : optional-one interface PresentationMount {resolve id "display:presentation-mount:resolve" execution snapshot;} + operation assign id "display:assign" : optional -> uint32 {call id "display:assign:call" execution transaction;} + operation acknowledge id "display:acknowledge" : Observed -> bool {call id "display:acknowledge:call" execution transaction;} +} diff --git a/quixos.lock b/quixos.lock new file mode 100644 index 0000000..fd61150 --- /dev/null +++ b/quixos.lock @@ -0,0 +1,5 @@ +quixos-lock version 1 { + quixos source { repository "https://gitea.internal.quixos.org/quixos/quixos.git"; commit "bb884973127a7ae3795981e31d2836f620d6be4c"; } + interface PresentationMount source { repository "https://repos.quixos.org/quixos-studio/interface-presentation-mount.git"; commit "30566340643355d8509bf116c2c3d91f09173d98"; } + interface WebStudioPresentable source { repository "https://repos.quixos.org/quixos-studio/interface-web-studio-presentable.git"; commit "f7b38219572810912fad596c7e4a33903209f71b"; } +}