wot-typescript-definitions
Advanced tools
Comparing version
@@ -145,2 +145,4 @@ export as namespace WoT; | ||
semanticTypes?: [SemanticType]; | ||
/** metadata fields in Property root (same level as 'name') */ | ||
metadata?: SemanticMetadata[]; | ||
/** On read callback */ | ||
@@ -157,5 +159,5 @@ onRead?(oldValue: any): Promise<any>; | ||
/** The inputTypes attribute provides the description of the input arguments. */ | ||
inputTypes?: ValueType[]; | ||
inputType: ValueType; | ||
/** The outputType attribute provides the description of the returned data. */ | ||
outputType?: ValueType; | ||
outputType: ValueType; | ||
/** The action attribute provides a function that defines the Action. */ | ||
@@ -165,2 +167,4 @@ action: Function; | ||
semanticTypes?: [SemanticType]; | ||
/** metadata fields in Action root (same level as 'name') */ | ||
metadata?: SemanticMetadata[]; | ||
} | ||
@@ -175,2 +179,4 @@ | ||
semanticTypes?: [SemanticType]; | ||
/** metadata fields in Event root (same level as 'name') */ | ||
metadata?: SemanticMetadata[]; | ||
} | ||
@@ -177,0 +183,0 @@ |
{ | ||
"name": "wot-typescript-definitions", | ||
"version": "0.4.0-SNAPSHOT.4", | ||
"version": "0.4.0-SNAPSHOT.5", | ||
"description": "Typescript definitions for the WoT scripting API", | ||
@@ -5,0 +5,0 @@ "main": "index.d.ts", |
12579
2.48%207
2.99%