@slimio/tsd
v0.2.0
Published
SlimIO TypeScript definition
Downloads
1
Readme
tsd
SlimIO TypeScript definition
Getting started
This package is available in the Node Package Repository and can be easily installed with npm or yarn.
$ npm i @slimio/tsd -DUsage example
Include the ref in your project d.ts files !
/// <reference types="@slimio/tsd" />Members
interfaces
interface RawEntity {
name: string;
description: string;
descriptors?: {
[key: string]: string;
};
parent?: number;
}interface RawIdentityCard {
unit: string;
entityId: number;
description?: string;
max?: number;
interval?: number;
}interface RawAlarm {
message: string;
entityId: number;
correlateKey: string;
severity: number;
}enum
enum AlarmSeverity {
Critical,
Major,
Minor
}types
type CID = string;License
MIT
