UNPKG

@constructorfleet/ultimate-govee

Version:

Library for interacting with Govee devices written in Typescript.

43 lines 2.58 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.OpenAPIChannelModule = 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 openapi_channel_service_1 = require("./openapi-channel.service"); const openapi_channel_controller_1 = require("./openapi-channel.controller"); const openapi_channel_config_received_handler_1 = require("./handlers/openapi-channel-config-received.handler"); const openapi_channel_providers_1 = require("./openapi-channel.providers"); const openapi_channel_types_1 = require("./openapi-channel.types"); let OpenAPIChannelModule = class OpenAPIChannelModule extends openapi_channel_types_1.ConfigurableModuleClass { }; exports.OpenAPIChannelModule = OpenAPIChannelModule; exports.OpenAPIChannelModule = OpenAPIChannelModule = __decorate([ (0, common_1.Module)({ imports: [cqrs_1.CqrsModule, _ultimate_govee_data_1.OpenAPIModule], controllers: [openapi_channel_controller_1.OpenAPIChannelController], providers: [ openapi_channel_providers_1.OpenAPIChannelConfigEnabledProvider, handlers_1.ConfigureOpenAPIChannelCommandHandler, handlers_1.OpenAPISubscribeCommandHandler, openapi_channel_config_received_handler_1.OpenAPIChannelConfigReceivedEventHandler, openapi_channel_service_1.OpenApiChannelService, openapi_channel_providers_1.OpenApiTopicProvider, ], exports: [ handlers_1.ConfigureOpenAPIChannelCommandHandler, handlers_1.OpenAPISubscribeCommandHandler, openapi_channel_config_received_handler_1.OpenAPIChannelConfigReceivedEventHandler, openapi_channel_service_1.OpenApiChannelService, openapi_channel_types_1.MODULE_OPTIONS_TOKEN, ], }) ], OpenAPIChannelModule); //# sourceMappingURL=openapi-channel.module.js.map