@constructorfleet/ultimate-govee
Version:
Library for interacting with Govee devices written in Typescript.
16 lines • 665 B
TypeScript
import { ConfigType } from '@nestjs/config';
import { GoveeProductConfig } from './govee-product.config';
import { Product } from './models/product';
export declare class GoveeProductService {
private readonly config;
private readonly persistedProducts;
private readonly logger;
private readonly lock;
private lastUpdate;
private static previousProductMap;
constructor(config: ConfigType<typeof GoveeProductConfig>, persistedProducts: Record<string, Product>);
getProductCategories(): Promise<Record<string, Product>>;
private getApiReponse;
private static parseResponse;
}
//# sourceMappingURL=govee-product.service.d.ts.map