From d80eea9242b81f965fcd15c0fe825dbcdd4cf1d6 Mon Sep 17 00:00:00 2001 From: danielpeintner Date: Tue, 15 Jan 2019 11:16:47 +0100 Subject: [PATCH] fix: add safe and idempotent to Action --- packages/td-tools/src/thing-description.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/td-tools/src/thing-description.ts b/packages/td-tools/src/thing-description.ts index 8417d04d5..5e4db96a5 100644 --- a/packages/td-tools/src/thing-description.ts +++ b/packages/td-tools/src/thing-description.ts @@ -73,6 +73,8 @@ export class ThingProperty extends ThingInteraction implements WoT.PropertyFragm export class ThingAction extends ThingInteraction implements WoT.ActionFragment { input: WoT.DataSchema; output: WoT.DataSchema; + safe: boolean; + idempotent: boolean; } /** Implements the Thing Action description */ export class ThingEvent extends ThingInteraction implements WoT.EventFragment {