UNPKG

homebridge-config-ui-x

Version:

A web based management, configuration and control platform for Homebridge

16 lines (15 loc) 699 B
import { MetadataScanner } from '@nestjs/core/metadata-scanner'; import { Observable } from 'rxjs'; import { NestGateway } from './interfaces/nest-gateway.interface'; export interface MessageMappingProperties { message: any; methodName: string; callback: (...args: any[]) => Observable<any> | Promise<any> | any; } export declare class GatewayMetadataExplorer { private readonly metadataScanner; constructor(metadataScanner: MetadataScanner); explore(instance: NestGateway): MessageMappingProperties[]; exploreMethodMetadata(instancePrototype: any, methodName: string): MessageMappingProperties; scanForServerHooks(instance: NestGateway): IterableIterator<string>; }