commit bbd53f2eb2807642011ef15dd132d253f6207279 Author: Quixos Template Publisher Date: Sat Jan 1 00:00:00 2000 +0000 Export template source from 11bc3ae35b0034c113daca4c35d1b341aa31ef70:quixos-instance/interfaces/event-stream diff --git a/.quixos-template-source.json b/.quixos-template-source.json new file mode 100644 index 0000000..f11ee92 --- /dev/null +++ b/.quixos-template-source.json @@ -0,0 +1,4 @@ +{ + "monorepoCommit": "11bc3ae35b0034c113daca4c35d1b341aa31ef70", + "sourcePath": "quixos-instance/interfaces/event-stream" +} diff --git a/interface.qx b/interface.qx new file mode 100644 index 0000000..0607317 --- /dev/null +++ b/interface.qx @@ -0,0 +1,13 @@ +// Required server support; a checked installed implementation may additionally predict locally. +interface EventStream id "interface:org.quixos.events:stream" revision "interface:org.quixos.events:stream@1" { + operation publish id "events:publish" : Payload -> record {publication:string;} { + call id "events:publish:call" execution transaction; + } + queryable value head id "events:head" : optional { + get id "events:head:get" execution snapshot; + } + operation readPage id "events:read-page" : record {after:optional;limit:uint32;} + -> record {entries:list;next:optional;asOfHead:optional;} { + call id "events:read-page:call" execution snapshot; + } +} diff --git a/quixos.lock b/quixos.lock new file mode 100644 index 0000000..8a9633b --- /dev/null +++ b/quixos.lock @@ -0,0 +1,4 @@ +quixos-lock version 1 { + quixos source { repository "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos.git"; commit "11bc3ae35b0034c113daca4c35d1b341aa31ef70"; } + +}