Generate typed asynchronous service capability bindings
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
type Summary = record { text: string; basedOn: string; };
|
||||
interface DocumentData id "async:document-data" revision "async:document-data@1" {
|
||||
queryable value content id "async:content" : string {
|
||||
get id "async:content:get" execution snapshot targets [browser, server];
|
||||
}
|
||||
queryable value summary id "async:summary" : Summary {
|
||||
get id "async:summary:get" execution snapshot targets [browser, server];
|
||||
set id "async:summary:set" execution transaction targets [browser, server];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user