UNPKG

@constructorfleet/ultimate-govee

Version:

Library for interacting with Govee devices written in Typescript.

42 lines 2.37 kB
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.IoTChannelModule = void 0; const common_1 = require("@nestjs/common"); const cqrs_1 = require("@nestjs/cqrs"); const _ultimate_govee_data_1 = require("../../../data"); const handlers_1 = require("./handlers"); const iot_channel_service_1 = require("./iot-channel.service"); const iot_channel_controller_1 = require("./iot-channel.controller"); const iot_channel_config_received_handler_1 = require("./handlers/iot-channel-config-received.handler"); const iot_channel_providers_1 = require("./iot-channel.providers"); const iot_channel_types_1 = require("./iot-channel.types"); let IoTChannelModule = class IoTChannelModule extends iot_channel_types_1.ConfigurableModuleClass { }; exports.IoTChannelModule = IoTChannelModule; exports.IoTChannelModule = IoTChannelModule = __decorate([ (0, common_1.Module)({ imports: [cqrs_1.CqrsModule, _ultimate_govee_data_1.IoTModule], controllers: [iot_channel_controller_1.IoTChannelController], providers: [ iot_channel_providers_1.IoTChannelConfigEnabledProvider, handlers_1.ConfigureIoTChannelCommandHandler, handlers_1.IoTSubscribeCommandHandler, iot_channel_config_received_handler_1.IoTChannelConfigReceivedEventHandler, iot_channel_service_1.IoTChannelService, ], exports: [ handlers_1.ConfigureIoTChannelCommandHandler, handlers_1.IoTSubscribeCommandHandler, iot_channel_config_received_handler_1.IoTChannelConfigReceivedEventHandler, iot_channel_service_1.IoTChannelService, iot_channel_types_1.MODULE_OPTIONS_TOKEN, ], }) ], IoTChannelModule); //# sourceMappingURL=iot-channel.module.js.map