Skip to content

Commit

Permalink
refactor: remove own definitions
Browse files Browse the repository at this point in the history
like VersionInfo,  ExpectedResponse, and Link
  • Loading branch information
danielpeintner committed May 5, 2022
1 parent 687fc05 commit d46badc
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions packages/td-tools/src/thing-description.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,6 @@ export interface ThingInteraction {
[key: string]: any;
}

export class ExpectedResponse implements ExpectedResponse {
contentType?: string;
}

/** Implements the Interaction Form description */
export class Form implements Form {
href: string;
Expand All @@ -84,18 +80,6 @@ export class Form implements Form {
}
}

/** Carries version information about the TD instance. If required, additional version information such as firmware and hardware version (term definitions outside of the TD namespace) can be extended here. */
export interface VersionInfo {
instance?: string;
}

export interface Link {
href: string;
rel?: string | Array<string>;
type?: string; // media type hint, no media type parameters
anchor?: string;
}

export interface ExpectedResponse {
contentType?: string;
}
Expand Down

0 comments on commit d46badc

Please sign in to comment.