From 8f325180ca6f4888318fa5d929f90746b9a65fb7 Mon Sep 17 00:00:00 2001 From: Quixos Template Publisher Date: Sat, 1 Jan 2000 00:00:00 +0000 Subject: [PATCH] Export template source from 122c862dccc4a1825f19cc8d4eb1095e5661f1ea:examples/local-first/interfaces/reading-vocabulary --- .quixos-template-source.json | 4 ++++ interface.qx | 9 +++++++++ quixos.lock | 4 ++++ 3 files changed, 17 insertions(+) create mode 100644 .quixos-template-source.json create mode 100644 interface.qx create mode 100644 quixos.lock diff --git a/.quixos-template-source.json b/.quixos-template-source.json new file mode 100644 index 0000000..45e4b31 --- /dev/null +++ b/.quixos-template-source.json @@ -0,0 +1,4 @@ +{ + "monorepoCommit": "122c862dccc4a1825f19cc8d4eb1095e5661f1ea", + "sourcePath": "examples/local-first/interfaces/reading-vocabulary" +} diff --git a/interface.qx b/interface.qx new file mode 100644 index 0000000..cee34da --- /dev/null +++ b/interface.qx @@ -0,0 +1,9 @@ +import interface ReadingOwner; +external atom ReadingWordObject id "atom:reading:word"; +interface ReadingVocabulary id "interface:reading:vocabulary" revision "interface:reading:vocabulary@1" { + queryable value draft id "reading:vocabulary:draft" : record {word:string;} {get id "reading:vocabulary:draft:get" execution snapshot;edit id "reading:vocabulary:draft:edit" execution transaction;} + queryable value name id "reading:vocabulary:name" : string {get id "reading:vocabulary:name:get" execution snapshot;set id "reading:vocabulary:name:set" execution transaction;} + queryable relation library id "reading:vocabulary:library" : exactly-one interface ReadingOwner {resolve id "reading:vocabulary:library:resolve" execution snapshot;} + queryable relation words id "reading:vocabulary:words" : many-unique atom ReadingWordObject {resolve id "reading:vocabulary:words:resolve" execution snapshot;} + operation remember id "reading:vocabulary:remember" : string -> unit {call id "reading:vocabulary:remember:call" execution transaction;} +} diff --git a/quixos.lock b/quixos.lock new file mode 100644 index 0000000..e54183d --- /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 "122c862dccc4a1825f19cc8d4eb1095e5661f1ea"; } + interface ReadingOwner source { repository "https://repos.quixos.org/quixos-local-first-examples/interface-reading-owner.git"; commit "ca870ff6dc5ee7d8cc7f4ad1754e48fcf3f250cf"; } +}