UNPKG

@constructorfleet/ultimate-govee

Version:

Library for interacting with Govee devices written in Typescript.

18 lines 1 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RestChannelConfigAuthProvider = exports.InjectAuth = exports.RestChannelConfigAuthKey = exports.RestChannelConfigEnabledProvider = exports.InjectEnabled = exports.RestChannelConfigEnabledKey = void 0; const common_1 = require("@nestjs/common"); const rest_channel_types_1 = require("./rest-channel.types"); exports.RestChannelConfigEnabledKey = 'Config.RestChannel.Enabled'; exports.InjectEnabled = (0, common_1.Inject)(exports.RestChannelConfigEnabledKey); exports.RestChannelConfigEnabledProvider = { provide: exports.RestChannelConfigEnabledKey, useValue: true, }; exports.RestChannelConfigAuthKey = 'Config.RestChannel.Auth'; exports.InjectAuth = (0, common_1.Inject)(exports.RestChannelConfigAuthKey); exports.RestChannelConfigAuthProvider = { provide: exports.RestChannelConfigAuthKey, useExisting: rest_channel_types_1.MODULE_OPTIONS_TOKEN, }; //# sourceMappingURL=rest-channel.providers.js.map