Export template source from 122c862dccc4a1825f19cc8d4eb1095e5661f1ea:examples/local-first/interfaces/reading-services
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
interface ReadingServices id "interface:reading:services" revision "interface:reading:services@1" {
|
||||
operation speechStatus id "reading:services:speech-status" : unit -> record {configured:bool;voice:string;} {call id "reading:services:speech-status:call" execution snapshot;}
|
||||
operation configureSpeech id "reading:services:configure-speech" : record {key:optional<string>;voice:string;} -> unit {call id "reading:services:configure-speech:call" execution transaction;}
|
||||
operation speak id "reading:services:speak" : string -> bytes {call id "reading:services:speak:call" execution remote;}
|
||||
operation searchWikipedia id "reading:services:wiki-search" : string -> list<record {title:string;description:string;}> {call id "reading:services:wiki-search:call" execution remote;}
|
||||
operation readWikipedia id "reading:services:wiki-read" : string -> record {title:string;text:string;source:string;url:string;attribution:string;} {call id "reading:services:wiki-read:call" execution remote;}
|
||||
}
|
||||
Reference in New Issue
Block a user