@iobroker/types 7.0.7-alpha.9-20250403-6e6387bb6 → 7.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/shared.d.ts +1 -1
- package/build/types.d.ts +3 -3
- package/package.json +2 -2
package/build/shared.d.ts
CHANGED
|
@@ -138,7 +138,7 @@ declare global {
|
|
|
138
138
|
interface Permission {
|
|
139
139
|
/** The type of the permission */
|
|
140
140
|
type: string;
|
|
141
|
-
/**
|
|
141
|
+
/** Defines which kind of operation is required */
|
|
142
142
|
operation: string;
|
|
143
143
|
}
|
|
144
144
|
interface ObjectOrStatePermission extends Permission {
|
package/build/types.d.ts
CHANGED
|
@@ -482,7 +482,7 @@ export declare class AdapterClass extends EventEmitter {
|
|
|
482
482
|
*
|
|
483
483
|
*/
|
|
484
484
|
disable(): ioBroker.SetObjectPromise;
|
|
485
|
-
getEncryptedConfig(attribute: string, callback?: GetEncryptedConfigCallback): Promise<string | void>;
|
|
485
|
+
getEncryptedConfig(attribute: string, callback?: GetEncryptedConfigCallback): Promise<string | string[] | void>;
|
|
486
486
|
private _getEncryptedConfig;
|
|
487
487
|
/**
|
|
488
488
|
* Get the system secret, after retrieved once it will be read from the cache
|
|
@@ -809,7 +809,7 @@ export declare class AdapterClass extends EventEmitter {
|
|
|
809
809
|
/**
|
|
810
810
|
* Initialize the adapter
|
|
811
811
|
*
|
|
812
|
-
* @param adapterConfig the AdapterOptions or the InstanceObject, is null/undefined if it is
|
|
812
|
+
* @param adapterConfig the AdapterOptions or the InstanceObject, is null/undefined if it is an installation process
|
|
813
813
|
*/
|
|
814
814
|
private _initAdapter;
|
|
815
815
|
/**
|
|
@@ -960,7 +960,7 @@ export declare type GetCertificatesCallback = (err?: Error | null, certs?: ioBro
|
|
|
960
960
|
|
|
961
961
|
export declare type GetCertificatesPromiseReturnType = [cert: ioBroker.Certificates, useLetsEncryptCert?: boolean];
|
|
962
962
|
|
|
963
|
-
export declare type GetEncryptedConfigCallback = (error: Error | null | undefined, result?: string) => void;
|
|
963
|
+
export declare type GetEncryptedConfigCallback = (error: Error | null | undefined, result?: string | string[]) => void;
|
|
964
964
|
|
|
965
965
|
export declare interface GetUserGroupsOptions {
|
|
966
966
|
user: `system.user.${string}`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iobroker/types",
|
|
3
|
-
"version": "7.0.7
|
|
3
|
+
"version": "7.0.7",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=12.0.0"
|
|
6
6
|
},
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
]
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "492b11d29b79f28e4479a8b032b4b78a732d797c"
|
|
45
45
|
}
|