wot-typescript-definitions
Advanced tools
Comparing version
@@ -200,2 +200,9 @@ import { Observable } from 'rxjs/Observable'; | ||
events: { [key: string]: ThingEvent }; | ||
// next API | ||
// XXX add additional 'options' field to allow for uriVariables et cetera | ||
readProperty(propertyName: string): Promise<any>; | ||
readAllProperties(): Promise<object>; | ||
readMultipleProperties(propertyNames: [string]): Promise<object>; | ||
// XXX add more | ||
} | ||
@@ -232,7 +239,2 @@ | ||
export interface ConsumedThing extends ThingInstance { | ||
// TODO add additional 'options' field to allow for uriVariables et cetera | ||
readProperty(propertyName: string): Promise<any>; | ||
readAllProperties(): Promise<object>; | ||
readMultipleProperties(propertyNames: [string]): Promise<object>; | ||
// XXX add more | ||
} | ||
@@ -239,0 +241,0 @@ |
{ | ||
"name": "wot-typescript-definitions", | ||
"version": "0.7.0-NEXT-SNAPSHOT.1", | ||
"version": "0.7.0-NEXT-SNAPSHOT.2", | ||
"description": "TypeScript definitions for the W3C WoT Scripting API", | ||
@@ -5,0 +5,0 @@ "author": "W3C Web of Things Working Group", |
19609
0.09%427
0.23%