Export template source from 11bc3ae35b0034c113daca4c35d1b341aa31ef70:examples/local-first/interfaces/reading-word

This commit is contained in:
Quixos Template Publisher
2000-01-01 00:00:00 +00:00
commit fd67aa9898
3 changed files with 14 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
import interface ReadingVocabulary;
interface ReadingWord id "interface:reading:word" revision "interface:reading:word@1" {
queryable value text id "reading:word:text" : string {get id "reading:word:text:get" execution snapshot;}
queryable relation vocabulary id "reading:word:vocabulary" : optional-one interface ReadingVocabulary {resolve id "reading:word:vocabulary:resolve" execution snapshot;connect id "reading:word:vocabulary:connect" execution transaction;}
operation forget id "reading:word:forget" : unit -> unit {call id "reading:word:forget:call" execution transaction;}
}