Skip to content

Commit

Permalink
fix: add safe and idempotent to Action
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpeintner committed Jan 15, 2019
1 parent 8407643 commit d80eea9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/td-tools/src/thing-description.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d80eea9

Please sign in to comment.