UNPKG

@iobroker/js-controller-common-db

Version:

The Library contains the common utils for the ioBroker controller which can be used by db classes too, as they do not rely on the db (circular dependencies).

15 lines 607 B
type SharedDatabaseOptions = ioBroker.ObjectsDatabaseOptions | ioBroker.StatesDatabaseOptions; interface DefaultRedisInterviewOptions<TConfig extends SharedDatabaseOptions> { /** Database type */ type: 'objects' | 'states'; /** Prefilled config */ config: TConfig; } /** * The default redis interview shared between objects and states * * @param options config and type information */ export declare function defaultRedisInterview<TConfig extends SharedDatabaseOptions>(options: DefaultRedisInterviewOptions<TConfig>): Promise<TConfig>; export {}; //# sourceMappingURL=interview.d.ts.map