@iobroker/db-objects-redis
Advanced tools
Comparing version 5.0.20-alpha.0-20240420-30d8305f to 5.0.20-alpha.0-20240421-2e8a4aa0
@@ -39,2 +39,7 @@ /// <reference types="@iobroker/types-dev" /> | ||
} | ||
interface Options { | ||
/** The user id for database operations */ | ||
user?: string; | ||
[other: string]: unknown; | ||
} | ||
type CheckFileCallback = (checkFailed: boolean, options?: CallOptions, fileOptions?: { | ||
@@ -197,5 +202,5 @@ notExists: boolean; | ||
private _getObject; | ||
getObject<T extends string>(id: T, options: Record<string, any> | undefined | null, callback: ioBroker.GetObjectCallback<T>): void; | ||
getObject<T extends string>(id: T, options: Options | undefined | null, callback: ioBroker.GetObjectCallback<T>): void; | ||
getObject<T extends string>(id: T, options?: Options | null): ioBroker.GetObjectPromise<T>; | ||
getObject<T extends string>(id: T, callback: ioBroker.GetObjectCallback<T>): void; | ||
getObject<T extends string>(id: T, options?: Record<string, any> | null): Promise<ioBroker.CallbackReturnTypeOf<ioBroker.GetObjectCallback<T>>>; | ||
getObjectAsync<T extends string>(id: T, options?: Record<string, any> | null): Promise<ioBroker.CallbackReturnTypeOf<ioBroker.GetObjectCallback<T>>>; | ||
@@ -202,0 +207,0 @@ private _getKeys; |
@@ -39,2 +39,7 @@ /// <reference types="@iobroker/types-dev" /> | ||
} | ||
interface Options { | ||
/** The user id for database operations */ | ||
user?: string; | ||
[other: string]: unknown; | ||
} | ||
type CheckFileCallback = (checkFailed: boolean, options?: CallOptions, fileOptions?: { | ||
@@ -197,5 +202,5 @@ notExists: boolean; | ||
private _getObject; | ||
getObject<T extends string>(id: T, options: Record<string, any> | undefined | null, callback: ioBroker.GetObjectCallback<T>): void; | ||
getObject<T extends string>(id: T, options: Options | undefined | null, callback: ioBroker.GetObjectCallback<T>): void; | ||
getObject<T extends string>(id: T, options?: Options | null): ioBroker.GetObjectPromise<T>; | ||
getObject<T extends string>(id: T, callback: ioBroker.GetObjectCallback<T>): void; | ||
getObject<T extends string>(id: T, options?: Record<string, any> | null): Promise<ioBroker.CallbackReturnTypeOf<ioBroker.GetObjectCallback<T>>>; | ||
getObjectAsync<T extends string>(id: T, options?: Record<string, any> | null): Promise<ioBroker.CallbackReturnTypeOf<ioBroker.GetObjectCallback<T>>>; | ||
@@ -202,0 +207,0 @@ private _getKeys; |
{ | ||
"name": "@iobroker/db-objects-redis", | ||
"type": "module", | ||
"version": "5.0.20-alpha.0-20240420-30d8305f", | ||
"version": "5.0.20-alpha.0-20240421-2e8a4aa0", | ||
"engines": { | ||
@@ -9,3 +9,3 @@ "node": ">=16.4.0" | ||
"dependencies": { | ||
"@iobroker/db-base": "5.0.20-alpha.0-20240420-30d8305f", | ||
"@iobroker/db-base": "5.0.20-alpha.0-20240421-2e8a4aa0", | ||
"deep-clone": "^3.0.3", | ||
@@ -53,3 +53,3 @@ "ioredis": "^4.28.2", | ||
], | ||
"gitHead": "0c715799c94d47ac6f2be8edffb0013a1fa0e652" | ||
"gitHead": "428be094f37f4935d3c963431ec83069a44b7821" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1038673
9968
+ Added@iobroker/db-base@5.0.20-alpha.0-20240421-2e8a4aa0(transitive)
+ Added@iobroker/js-controller-common@5.0.20-alpha.0-20240421-2e8a4aa0(transitive)
- Removed@iobroker/db-base@5.0.20-alpha.0-20240420-30d8305f(transitive)
- Removed@iobroker/js-controller-common@5.0.20-alpha.0-20240420-30d8305f(transitive)