Export template source from 6474fe2323dd3e4aae2e5c53c490f9b5d92f4f3c:quixos-instance/interfaces/event-stream
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"monorepoCommit": "6474fe2323dd3e4aae2e5c53c490f9b5d92f4f3c",
|
||||
"sourcePath": "quixos-instance/interfaces/event-stream"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
// Required server support; a checked installed implementation may additionally predict locally.
|
||||
interface EventStream<value Payload> 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<uint64> {
|
||||
get id "events:head:get" execution snapshot;
|
||||
}
|
||||
operation readPage id "events:read-page" : record {after:optional<string>;limit:uint32;}
|
||||
-> record {entries:list<record {publication:string;position:uint64;payload:Payload;}>;next:optional<string>;asOfHead:optional<uint64>;} {
|
||||
call id "events:read-page:call" execution snapshot;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
quixos-lock version 1 {
|
||||
quixos source { repository "https://gitea.internal.quixos.org/quixos/quixos.git"; commit "6474fe2323dd3e4aae2e5c53c490f9b5d92f4f3c"; }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user