Export template source from 488f7e229afed8f03fc3bfa4abe707da0c613460:examples/local-first/interfaces/reading-vocabulary
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"monorepoCommit": "488f7e229afed8f03fc3bfa4abe707da0c613460",
|
||||||
|
"sourcePath": "examples/local-first/interfaces/reading-vocabulary"
|
||||||
|
}
|
||||||
@@ -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;}
|
||||||
|
}
|
||||||
@@ -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"; }
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user