commit bdc884f4952055d61e4c441a15d86b0bc43cd18c Author: Quixos Template Publisher Date: Sat Jan 1 00:00:00 2000 +0000 Export template source from 7b08d0d6603c1bb7951ac35572d3a3e24d1cfad9:quixos-instance/interfaces/presentation-state diff --git a/.quixos-template-source.json b/.quixos-template-source.json new file mode 100644 index 0000000..e9f6108 --- /dev/null +++ b/.quixos-template-source.json @@ -0,0 +1,4 @@ +{ + "monorepoCommit": "7b08d0d6603c1bb7951ac35572d3a3e24d1cfad9", + "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..bfb26da --- /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 "7b08d0d6603c1bb7951ac35572d3a3e24d1cfad9"; } + interface PresentationSubject source { repository "https://repos.quixos.org/quixos-studio/interface-presentation-subject.git"; commit "26b1dc891485fa268570718bf283f440691654a7"; } +}