You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 28, 2023. It is now read-only.
/** The ThingInit dictionary contains properties to initialize a Thing */
60
60
exportinterfaceThingInit{
61
61
/** The name attribute represents the user given name of the Thing */
62
-
name: string;// DOMString
62
+
name?: string;// DOMString
63
63
/** The url attribute represents the address of the Thing */
64
-
url: USVString;
64
+
url?: USVString;
65
65
/** The description attribute represents the Thing Description of the Thing */
66
-
description: object;// Dictionary
66
+
description?: object;// Dictionary
67
67
}
68
68
69
69
/** The ConsumedThing interface is a client API for sending requests to servers in order to retrieve or update properties, invoke Actions, and observe properties, Actions and Events. */
/** The name attribute provides the Action name. */
243
246
name: string;
244
247
/** The inputDataDescription attribute provides the description of the input arguments. */
245
-
inputDataDescription: ThingDescription;
248
+
inputDataDescription?: ThingDescription;
246
249
/** The outputDataDescription attribute provides the description of the returned data. */
247
-
outputDataDescription: ThingDescription;
250
+
outputDataDescription?: ThingDescription;
248
251
/** The semanticTypes attribute provides a list of semantic type annotations (e.g. labels, classifications etc) relevant to the Action, represented as SemanticType dictionaries. */
249
-
semanticTypes: [SemanticType];
252
+
semanticTypes?: [SemanticType];
250
253
/** The action attribute provides a function that defines the Action. */
0 commit comments