From 9eca85a0712bb846e3ec74466f91cd87bcddf0b5 Mon Sep 17 00:00:00 2001 From: Quixos Template Publisher Date: Sat, 1 Jan 2000 00:00:00 +0000 Subject: [PATCH] Export template source from be30143a326d5d7d7b0cbabea5bc5ac0301ef5b9:quixos-instance/interfaces/web-studio-display-target --- .quixos-template-source.json | 4 ++++ interface.qx | 13 +++++++++++++ quixos.lock | 5 +++++ 3 files changed, 22 insertions(+) create mode 100644 .quixos-template-source.json create mode 100644 interface.qx create mode 100644 quixos.lock diff --git a/.quixos-template-source.json b/.quixos-template-source.json new file mode 100644 index 0000000..4896cdc --- /dev/null +++ b/.quixos-template-source.json @@ -0,0 +1,4 @@ +{ + "monorepoCommit": "be30143a326d5d7d7b0cbabea5bc5ac0301ef5b9", + "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..cb9a6f3 --- /dev/null +++ b/quixos.lock @@ -0,0 +1,5 @@ +quixos-lock version 1 { + quixos source { repository "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos.git"; commit "be30143a326d5d7d7b0cbabea5bc5ac0301ef5b9"; } + 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"; } +}