@slimio/tsd
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

tsd

V0.2.0 Maintenance MIT

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 -D

Usage example

Include the ref in your project d.ts files !

/// <reference types="@slimio/tsd" />

Members

interfaces

SlimIO.RawEntity
interface RawEntity {
    name: string;
    description: string;
    descriptors?: {
        [key: string]: string;
    };
    parent?: number;
}
SlimIO.RawIdentityCard
interface RawIdentityCard {
    unit: string;
    entityId: number;
    description?: string;
    max?: number;
    interval?: number;
}
SlimIO.RawAlarm
interface RawAlarm {
    message: string;
    entityId: number;
    correlateKey: string;
    severity: number;
}

enum

SlimIO.AlarmSeverity
enum AlarmSeverity {
    Critical,
    Major,
    Minor
}

types

SlimIO.CID
type CID = string;

License

MIT

Package Sidebar

Install

npm i @slimio/tsd

Weekly Downloads

0

Version

0.2.0

License

MIT

Unpacked Size

4.09 kB

Total Files

4

Last publish

Collaborators

  • fraxken
  • alexandre.malaj