Export template source from 122c862dccc4a1825f19cc8d4eb1095e5661f1ea:examples/local-first/interfaces/reading-job

This commit is contained in:
Quixos Template Publisher
2000-01-01 00:00:00 +00:00
commit 111d1a7441
3 changed files with 35 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
{
"monorepoCommit": "122c862dccc4a1825f19cc8d4eb1095e5661f1ea",
"sourcePath": "examples/local-first/interfaces/reading-job"
}
+22
View File
@@ -0,0 +1,22 @@
import interface ReadingDocument;
import interface ReadingOwner;
import interface ReadingFeature;
import interface ReadingReader;
import interface AgentRequest;
import interface AgentThread;
external atom AgentRequestObject id "atom:org.quixos.agent:request";
external atom AgentThreadObject id "atom:org.quixos.agent:thread";
type JobData = record {key:string;kind:string;featureRevision:uint32;sourceRevision:string;start:uint32;end:uint32;status:string;output:string;error:string;createdAt:string;};
type AgentAdmission = record {accepted:bool;reason:optional<string>;thread:optional<atom-ref<AgentThreadObject>>;request:optional<atom-ref<AgentRequestObject>>;};
interface ReadingJob id "interface:reading:job" revision "interface:reading:job@1" {
queryable relation library id "reading:job:library" : exactly-one interface ReadingOwner {resolve id "reading:job:library:resolve" execution snapshot;}
queryable relation reader id "reading:job:reader" : optional-one interface ReadingReader {resolve id "reading:job:reader:resolve" execution snapshot;}
queryable value configuration id "reading:job:configuration" : string {get id "reading:job:configuration:get" execution snapshot;}
queryable value data id "reading:job:data" : JobData {get id "reading:job:data:get" execution snapshot;}
queryable relation document id "reading:job:document" : optional-one interface ReadingDocument {resolve id "reading:job:document:resolve" execution snapshot;}
queryable relation feature id "reading:job:feature" : optional-one interface ReadingFeature {resolve id "reading:job:feature:resolve" execution snapshot;}
queryable relation request id "reading:job:request" : optional-one atom AgentRequestObject {resolve id "reading:job:request:resolve" execution snapshot;}
queryable relation thread id "reading:job:thread" : optional-one atom AgentThreadObject {resolve id "reading:job:thread:resolve" execution snapshot;}
operation admitted id "reading:job:admitted" : AgentAdmission -> unit {call id "reading:job:admitted:call" execution transaction;}
operation complete id "reading:job:complete" : unit -> unit {call id "reading:job:complete:call" execution transaction;}
}
+9
View File
@@ -0,0 +1,9 @@
quixos-lock version 1 {
quixos source { repository "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos.git"; commit "122c862dccc4a1825f19cc8d4eb1095e5661f1ea"; }
interface ReadingDocument source { repository "https://repos.quixos.org/quixos-local-first-examples/interface-reading-document.git"; commit "544956d30f88e6f65bf10f571e4d09ebbbb77284"; }
interface ReadingOwner source { repository "https://repos.quixos.org/quixos-local-first-examples/interface-reading-owner.git"; commit "ca870ff6dc5ee7d8cc7f4ad1754e48fcf3f250cf"; }
interface ReadingFeature source { repository "https://repos.quixos.org/quixos-local-first-examples/interface-reading-feature.git"; commit "ef2316f66784f4fb9250dadecc09750bcbd6f776"; }
interface ReadingReader source { repository "https://repos.quixos.org/quixos-local-first-examples/interface-reading-reader.git"; commit "2ae966b8b05ea05b05818c2ca3378bd8b3a112cf"; }
interface AgentRequest source { repository "https://repos.quixos.org/quixos-studio/interface-agent-request.git"; commit "d9bb364113d6590770f4733d3a9d42364e3b8806"; }
interface AgentThread source { repository "https://repos.quixos.org/quixos-studio/interface-agent-thread.git"; commit "9d689bbeecfc3321f97bfbaa9adf405eeee89e5c"; }
}