wot-typescript-definitions
Advanced tools
+10
-0
@@ -106,2 +106,3 @@ export as namespace WoT; | ||
| export interface InteractionOptions { | ||
| formIndex: number; | ||
| uriVariables: object; | ||
@@ -114,3 +115,12 @@ } | ||
| export interface InteractionData { | ||
| data?: DataView; | ||
| mediaType?: string; | ||
| encoding?: string; | ||
| lang?: string; | ||
| dataSchema?: DataSchema; | ||
| } | ||
| export declare type DataSchema = { [key: string]: any; }; | ||
| /** | ||
@@ -117,0 +127,0 @@ * The ExposedThing interface is the server API to operate the Thing that allows defining request handlers, Property, Action, and Event interactions. |
+1
-1
| { | ||
| "name": "wot-typescript-definitions", | ||
| "version": "0.7.1", | ||
| "version": "0.7.2", | ||
| "description": "TypeScript definitions for the W3C WoT Scripting API", | ||
@@ -5,0 +5,0 @@ "author": "W3C Web of Things Working Group", |
8168
3.09%158
6.04%