dt-common-device
Version: 
A secure and robust device management library for IoT applications
20 lines (19 loc) • 624 B
TypeScript
import { IInternalEvent } from "../events/interfaces/IInternalEvent";
export interface ILogger {
    info(message: string, ...args: any[]): void;
    warn(message: string, ...args: any[]): void;
    error(message: string, ...args: any[]): void;
}
type AllowedSource = "ACCESS_SERVICE" | "ADMIN_SERVICE" | "ENERGY_SERVICE";
export type DeviceConfig = {
    SOURCE: AllowedSource;
    SQS_QUEUE_URL: string;
    DEVICE_SERVICE?: string;
    ADMIN_SERVICE?: string;
    ACCESS_SERVICE?: string;
    ENERGY_SERVICE?: string;
    INTERNAL_EVENT_HANDLER: IInternalEvent;
    LOGGER: ILogger;
    [key: string]: any;
};
export {};