commit 85a9d5809d66631dc566cfcf3604e902af279766 Author: Quixos Template Publisher Date: Sat Jan 1 00:00:00 2000 +0000 Export template source from 488f7e229afed8f03fc3bfa4abe707da0c613460:examples/local-first/interfaces/reading-vocabulary diff --git a/.quixos-template-source.json b/.quixos-template-source.json new file mode 100644 index 0000000..d42cd32 --- /dev/null +++ b/.quixos-template-source.json @@ -0,0 +1,4 @@ +{ + "monorepoCommit": "488f7e229afed8f03fc3bfa4abe707da0c613460", + "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..ded1db0 --- /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 "488f7e229afed8f03fc3bfa4abe707da0c613460"; } + interface ReadingOwner source { repository "https://repos.quixos.org/quixos-local-first-examples/interface-reading-owner.git"; commit "ca870ff6dc5ee7d8cc7f4ad1754e48fcf3f250cf"; } +}