UNPKG

@di-zed/yandex-smart-home

Version:

The Yandex Smart Home skills for the different device types.

44 lines (43 loc) 743 B
/** * @author DiZed Team * @copyright Copyright (c) DiZed Team (https://github.com/di-zed/) */ /** * Registry Interface. */ export default class Registry { /** * The cached data. */ protected data: { [key: string]: any; }; /** * Set the value. * * @param key * @param value * @returns boolean */ set(key: string, value: any): boolean; /** * Get the value. * * @param key * @returns any */ get(key: string): any; /** * Delete the value. * * @param key * @returns boolean */ delete(key: string): boolean; /** * Delete all values. * * @returns boolean */ deleteAll(): boolean; }