@constructorfleet/ultimate-govee
Version:
Library for interacting with Govee devices written in Typescript.
53 lines • 3.16 kB
JavaScript
;
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.BleChannelModule = void 0;
const ble_1 = require("../../../data/ble");
const common_1 = require("@nestjs/common");
const ble_channel_service_1 = require("./ble-channel.service");
const configure_ble_channel_handler_1 = require("./handlers/configure-ble-channel.handler");
const ble_publish_handler_1 = require("./handlers/ble-publish.handler");
const cqrs_1 = require("@nestjs/cqrs");
const ble_record_device_handler_1 = require("./handlers/ble-record-device.handler");
const ble_channel_controller_1 = require("./ble-channel.controller");
const ble_channel_sagas_1 = require("./ble-channel.sagas");
const disable_ble_client_handler_1 = require("./handlers/disable-ble-client.handler");
const enable_ble_client_handler_1 = require("./handlers/enable-ble-client.handler");
const ble_channel_providers_1 = require("./ble-channel.providers");
const ble_channel_const_1 = require("./ble-channel.const");
let BleChannelModule = class BleChannelModule extends ble_channel_const_1.ConfigurableModuleClass {
};
exports.BleChannelModule = BleChannelModule;
exports.BleChannelModule = BleChannelModule = __decorate([
(0, common_1.Module)({
imports: [cqrs_1.CqrsModule, ble_1.BleModule],
controllers: [ble_channel_controller_1.BleChannelController],
providers: [
ble_channel_providers_1.BleChannelConfigDeviceIdsProvider,
ble_channel_providers_1.BleChannelConfigEnabledProvider,
ble_channel_service_1.BleChannelService,
ble_channel_sagas_1.BleChannelSagas,
disable_ble_client_handler_1.DisableBleClientCommandHandler,
enable_ble_client_handler_1.EnableBleClientCommandHandler,
ble_record_device_handler_1.BleRecordDeviceCommandHandler,
configure_ble_channel_handler_1.ConfigureBleChannelCommandHandler,
ble_publish_handler_1.BlePublishCommandHandler,
],
exports: [
ble_channel_service_1.BleChannelService,
ble_channel_sagas_1.BleChannelSagas,
disable_ble_client_handler_1.DisableBleClientCommandHandler,
enable_ble_client_handler_1.EnableBleClientCommandHandler,
ble_record_device_handler_1.BleRecordDeviceCommandHandler,
configure_ble_channel_handler_1.ConfigureBleChannelCommandHandler,
ble_publish_handler_1.BlePublishCommandHandler,
ble_channel_const_1.MODULE_OPTIONS_TOKEN,
],
})
], BleChannelModule);
//# sourceMappingURL=ble-channel.module.js.map