JSPM

@slimio/tsd

0.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q25363F
  • License MIT

SlimIO TypeScript definition

Package Exports

  • @slimio/tsd

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@slimio/tsd) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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