From 0f67b94a9726eee1d68fb701f47729dfa0597ee0 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 c72d28d16d236de0e437d14844cca26d78c807ce:quixos-instance/interfaces/presentation-state --- .quixos-template-source.json | 4 ++++ interface.qx | 18 ++++++++++++++++++ quixos.lock | 4 ++++ 3 files changed, 26 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..1896250 --- /dev/null +++ b/.quixos-template-source.json @@ -0,0 +1,4 @@ +{ + "monorepoCommit": "c72d28d16d236de0e437d14844cca26d78c807ce", + "sourcePath": "quixos-instance/interfaces/presentation-state" +} diff --git a/interface.qx b/interface.qx new file mode 100644 index 0000000..263daeb --- /dev/null +++ b/interface.qx @@ -0,0 +1,18 @@ +import interface PresentationSubject; +external interface PresentationMount revision "interface:org.quixos.presentation-mount@1"; +interface PresentationState id "interface:org.quixos.presentation-state" revision "interface:org.quixos.presentation-state@1" { + queryable value occurrence id "state:occurrence" : string { + get id "state:occurrence:get" execution snapshot; + } + queryable relation presentationMount id "state:presentation-mount" : optional-one interface PresentationMount { + resolve id "state:presentation-mount:resolve" execution snapshot; + } + queryable relation parent id "state:parent" : optional-one interface PresentationState { + resolve id "state:parent:resolve" execution snapshot; + } + queryable relation children id "state:children" : many-unique interface PresentationState { resolve id "state:children:resolve" execution snapshot; } + operation attach id "state:attach" : record {presentationMount:interface-ref;parent:optional>;} -> unit {call id "state:attach:call" execution transaction;} + queryable relation source id "state:source" : exactly-one interface PresentationSubject {resolve id "state:source:resolve" execution snapshot;} + operation allocate id "state:allocate" : record {presentationMount:interface-ref;occurrence:string;parent:optional>;} -> interface-ref {call id "state:allocate:call" execution transaction;} + operation copyValues id "state:copy-values" : record {target:interface-ref;mapping:list;target:interface-ref;}>;} -> unit {call id "state:copy-values:call" execution transaction;} +} diff --git a/quixos.lock b/quixos.lock new file mode 100644 index 0000000..99fae74 --- /dev/null +++ b/quixos.lock @@ -0,0 +1,4 @@ +quixos-lock version 1 { + quixos source { repository "https://gitea.internal.quixos.org/quixos/quixos.git"; commit "c72d28d16d236de0e437d14844cca26d78c807ce"; } + interface PresentationSubject source { repository "https://repos.quixos.org/quixos-studio/interface-presentation-subject.git"; commit "26b1dc891485fa268570718bf283f440691654a7"; } +}