dt-common-device
Version:
A secure and robust device management library for IoT applications
9 lines (8 loc) • 358 B
TypeScript
import { IProperty, IPropertySettings } from "./IProperty";
export declare class PropertyRepository {
private readonly postgres;
constructor();
getPropertyPreferences(propertyId: string, keys?: string[]): Promise<IPropertySettings | null>;
getProperty(propertyId: string): Promise<IProperty | null>;
getAllProperties(): Promise<any[]>;
}