Export template source from 3e35ba60a9ed74228f72b16c96f88bd932270104:quixos-instance/interfaces/presentation-state

This commit is contained in:
Quixos Template Publisher
2000-01-01 00:00:00 +00:00
commit 1e84ed7ef9
3 changed files with 26 additions and 0 deletions
+18
View File
@@ -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<PresentationMount>;parent:optional<interface-ref<PresentationState>>;} -> 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<PresentationMount>;occurrence:string;parent:optional<interface-ref<PresentationState>>;} -> interface-ref<PresentationState> {call id "state:allocate:call" execution transaction;}
operation copyValues id "state:copy-values" : record {target:interface-ref<PresentationState>;mapping:list<record {source:interface-ref<PresentationState>;target:interface-ref<PresentationState>;}>;} -> unit {call id "state:copy-values:call" execution transaction;}
}