Export template source from e33714a5ca38429d1bdb77a961a14461697944f5:examples/local-first/interfaces/reading-word
This commit is contained in:
@@ -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;}
|
||||
}
|
||||
Reference in New Issue
Block a user