@iobroker/js-controller-adapter 4.0.17 → 4.1.0-alpha.10-20220312-cb53b8bb
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/lib/adapter/adapter.d.ts +126 -125
- package/build/lib/adapter/adapter.d.ts.map +1 -1
- package/build/lib/adapter/utils.d.ts +2 -3
- package/build/lib/adapter/utils.d.ts.map +1 -1
- package/build/lib/adapter/utils.js +5 -6
- package/build/lib/adapter/utils.js.map +1 -1
- package/package.json +10 -10
|
@@ -31,12 +31,12 @@ declare class Adapter {
|
|
|
31
31
|
overwriteLogLevel: boolean | undefined;
|
|
32
32
|
adapterReady: boolean | undefined;
|
|
33
33
|
tools: {
|
|
34
|
-
encrypt:
|
|
35
|
-
decrypt:
|
|
34
|
+
encrypt: typeof tools.encrypt;
|
|
35
|
+
decrypt: typeof tools.decrypt;
|
|
36
36
|
} | undefined;
|
|
37
37
|
performStrictObjectChecks: boolean | undefined;
|
|
38
38
|
inited: boolean | undefined;
|
|
39
|
-
_getObjectsByArray: ((keys: any, objects: any, options: any, cb: any, _index: any, _result: any, _errors: any) => any) | undefined;
|
|
39
|
+
_getObjectsByArray: ((keys: any, objects: any, options: any, cb: any, _index: any, _result: any, _errors: any) => void | Promise<any>) | undefined;
|
|
40
40
|
/**
|
|
41
41
|
* stops the execution of adapter, but not disables it.
|
|
42
42
|
*
|
|
@@ -69,7 +69,7 @@ declare class Adapter {
|
|
|
69
69
|
inputCount: number | undefined;
|
|
70
70
|
outputCount: number | undefined;
|
|
71
71
|
/** A RegExp to test for forbidden chars in object IDs */
|
|
72
|
-
FORBIDDEN_CHARS:
|
|
72
|
+
FORBIDDEN_CHARS: RegExp | undefined;
|
|
73
73
|
getPortRunning: {
|
|
74
74
|
port: number;
|
|
75
75
|
host: string | undefined;
|
|
@@ -96,7 +96,7 @@ declare class Adapter {
|
|
|
96
96
|
/**
|
|
97
97
|
* Promise-version of Adapter.getPort
|
|
98
98
|
*/
|
|
99
|
-
getPortAsync: any;
|
|
99
|
+
getPortAsync: ((...args: any[]) => Promise<any>) | undefined;
|
|
100
100
|
/**
|
|
101
101
|
* Method to check for available Features for adapter development
|
|
102
102
|
*
|
|
@@ -133,7 +133,7 @@ declare class Adapter {
|
|
|
133
133
|
/**
|
|
134
134
|
* Promise-version of Adapter.checkPassword
|
|
135
135
|
*/
|
|
136
|
-
checkPasswordAsync: any;
|
|
136
|
+
checkPasswordAsync: ((...args: any[]) => Promise<any>) | undefined;
|
|
137
137
|
/**
|
|
138
138
|
* Return ID of given username
|
|
139
139
|
*
|
|
@@ -160,7 +160,7 @@ declare class Adapter {
|
|
|
160
160
|
/**
|
|
161
161
|
* Promise-version of Adapter.setPassword
|
|
162
162
|
*/
|
|
163
|
-
setPasswordAsync: any;
|
|
163
|
+
setPasswordAsync: ((...args: any[]) => Promise<any>) | undefined;
|
|
164
164
|
/**
|
|
165
165
|
* returns if user exists and is in the group
|
|
166
166
|
*
|
|
@@ -182,7 +182,7 @@ declare class Adapter {
|
|
|
182
182
|
/**
|
|
183
183
|
* Promise-version of Adapter.checkGroup
|
|
184
184
|
*/
|
|
185
|
-
checkGroupAsync: any;
|
|
185
|
+
checkGroupAsync: ((...args: any[]) => Promise<any>) | undefined;
|
|
186
186
|
/** @typedef {{[permission: string]: {type: 'object' | 'state' | '' | 'other' | 'file', operation: string}}} CommandsPermissions */
|
|
187
187
|
/**
|
|
188
188
|
* get the user permissions
|
|
@@ -286,7 +286,7 @@ declare class Adapter {
|
|
|
286
286
|
/**
|
|
287
287
|
* Promise-version of Adapter.calculatePermissions
|
|
288
288
|
*/
|
|
289
|
-
calculatePermissionsAsync: any;
|
|
289
|
+
calculatePermissionsAsync: ((...args: any[]) => Promise<any>) | undefined;
|
|
290
290
|
/**
|
|
291
291
|
* returns SSL certificates by name
|
|
292
292
|
*
|
|
@@ -312,7 +312,7 @@ declare class Adapter {
|
|
|
312
312
|
/**
|
|
313
313
|
* Promise-version of Adapter.getCertificates
|
|
314
314
|
*/
|
|
315
|
-
getCertificatesAsync: any;
|
|
315
|
+
getCertificatesAsync: ((...args: any[]) => Promise<any>) | undefined;
|
|
316
316
|
/**
|
|
317
317
|
* Restarts an instance of the adapter.
|
|
318
318
|
*
|
|
@@ -432,7 +432,7 @@ declare class Adapter {
|
|
|
432
432
|
/**
|
|
433
433
|
* Promise-version of Adapter.setObject
|
|
434
434
|
*/
|
|
435
|
-
setObjectAsync: any
|
|
435
|
+
setObjectAsync: (...args: any[]) => Promise<any>;
|
|
436
436
|
/**
|
|
437
437
|
* Get all states, channels and devices of this adapter.
|
|
438
438
|
*
|
|
@@ -451,7 +451,7 @@ declare class Adapter {
|
|
|
451
451
|
/**
|
|
452
452
|
* Promise-version of Adapter.getAdapterObjects
|
|
453
453
|
*/
|
|
454
|
-
getAdapterObjectsAsync: any
|
|
454
|
+
getAdapterObjectsAsync: (...args: any[]) => Promise<any>;
|
|
455
455
|
/**
|
|
456
456
|
* Extend some object and create it if it does not exist
|
|
457
457
|
*
|
|
@@ -516,7 +516,7 @@ declare class Adapter {
|
|
|
516
516
|
/**
|
|
517
517
|
* Promise-version of Adapter.extendObject
|
|
518
518
|
*/
|
|
519
|
-
extendObjectAsync: any
|
|
519
|
+
extendObjectAsync: (...args: any[]) => Promise<any>;
|
|
520
520
|
/**
|
|
521
521
|
* Same as {@link Adapter.setObject}, but for any object.
|
|
522
522
|
*
|
|
@@ -535,11 +535,11 @@ declare class Adapter {
|
|
|
535
535
|
* }
|
|
536
536
|
* </code></pre>
|
|
537
537
|
*/
|
|
538
|
-
setForeignObject: (id: string, obj: object, options?: object | undefined, callback?: ioBroker.SetObjectCallback | undefined) => any
|
|
538
|
+
setForeignObject: (id: string, obj: object, options?: object | undefined, callback?: ioBroker.SetObjectCallback | undefined) => void | Promise<any>;
|
|
539
539
|
/**
|
|
540
540
|
* Promise-version of Adapter.setForeignObject
|
|
541
541
|
*/
|
|
542
|
-
setForeignObjectAsync: any
|
|
542
|
+
setForeignObjectAsync: (...args: any[]) => Promise<any>;
|
|
543
543
|
/**
|
|
544
544
|
* Same as {@link Adapter.extendObject}, but for any object.
|
|
545
545
|
*
|
|
@@ -562,7 +562,7 @@ declare class Adapter {
|
|
|
562
562
|
/**
|
|
563
563
|
* Promise-version of Adapter.extendForeignObject
|
|
564
564
|
*/
|
|
565
|
-
extendForeignObjectAsync: any
|
|
565
|
+
extendForeignObjectAsync: (...args: any[]) => Promise<any>;
|
|
566
566
|
/**
|
|
567
567
|
* Get object of this instance.
|
|
568
568
|
*
|
|
@@ -579,11 +579,11 @@ declare class Adapter {
|
|
|
579
579
|
* }
|
|
580
580
|
* </code></pre>
|
|
581
581
|
*/
|
|
582
|
-
getObject: (id: string, options?: object | undefined, callback: ioBroker.GetObjectCallback) => any
|
|
582
|
+
getObject: (id: string, options?: object | undefined, callback: ioBroker.GetObjectCallback) => void | Promise<any>;
|
|
583
583
|
/**
|
|
584
584
|
* Promise-version of Adapter.getObject
|
|
585
585
|
*/
|
|
586
|
-
getObjectAsync: any
|
|
586
|
+
getObjectAsync: (...args: any[]) => Promise<any>;
|
|
587
587
|
/**
|
|
588
588
|
* Read object view from DB.
|
|
589
589
|
*
|
|
@@ -612,11 +612,11 @@ declare class Adapter {
|
|
|
612
612
|
* }
|
|
613
613
|
* </code></pre>
|
|
614
614
|
*/
|
|
615
|
-
getObjectView: (design: string, search: string, params: object, options: object, callback:
|
|
615
|
+
getObjectView: (design: string, search: string, params: object, options: object, callback: any) => any;
|
|
616
616
|
/**
|
|
617
617
|
* Promise-version of Adapter.getObjectView
|
|
618
618
|
*/
|
|
619
|
-
getObjectViewAsync: any
|
|
619
|
+
getObjectViewAsync: (...args: any[]) => Promise<any>;
|
|
620
620
|
/**
|
|
621
621
|
* Read object list from DB.
|
|
622
622
|
*
|
|
@@ -644,11 +644,11 @@ declare class Adapter {
|
|
|
644
644
|
* }
|
|
645
645
|
* </code></pre>
|
|
646
646
|
*/
|
|
647
|
-
getObjectList: (params: object, options: object, callback: ioBroker.GetObjectListCallback) => any
|
|
647
|
+
getObjectList: (params: object, options: object, callback: ioBroker.GetObjectListCallback) => void | Promise<any>;
|
|
648
648
|
/**
|
|
649
649
|
* Promise-version of Adapter.getObjectList
|
|
650
650
|
*/
|
|
651
|
-
getObjectListAsync: any
|
|
651
|
+
getObjectListAsync: (...args: any[]) => Promise<any>;
|
|
652
652
|
/**
|
|
653
653
|
* Get the enum tree.
|
|
654
654
|
*
|
|
@@ -679,11 +679,11 @@ declare class Adapter {
|
|
|
679
679
|
* }
|
|
680
680
|
* </code></pre>
|
|
681
681
|
*/
|
|
682
|
-
getEnum: (_enum: string, options?: object | undefined, callback: ioBroker.GetEnumCallback) => any
|
|
682
|
+
getEnum: (_enum: string, options?: object | undefined, callback: ioBroker.GetEnumCallback) => void | Promise<any>;
|
|
683
683
|
/**
|
|
684
684
|
* Promise-version of Adapter.getEnum
|
|
685
685
|
*/
|
|
686
|
-
getEnumAsync: any
|
|
686
|
+
getEnumAsync: (...args: any[]) => Promise<any>;
|
|
687
687
|
/**
|
|
688
688
|
* Read the members of given enums.
|
|
689
689
|
*
|
|
@@ -732,7 +732,7 @@ declare class Adapter {
|
|
|
732
732
|
/**
|
|
733
733
|
* Promise-version of Adapter.getEnums
|
|
734
734
|
*/
|
|
735
|
-
getEnumsAsync: any
|
|
735
|
+
getEnumsAsync: (...args: any[]) => Promise<any>;
|
|
736
736
|
/**
|
|
737
737
|
* Get objects by pattern, by specific type and resolve their enums.
|
|
738
738
|
*
|
|
@@ -777,11 +777,11 @@ declare class Adapter {
|
|
|
777
777
|
* }
|
|
778
778
|
* </code></pre>
|
|
779
779
|
*/
|
|
780
|
-
getForeignObjects: (pattern: string, type: string, enums: string | string[], options?: object | undefined, callback: ioBroker.GetObjectsCallback) => any
|
|
780
|
+
getForeignObjects: (pattern: string, type: string, enums: string | string[], options?: object | undefined, callback: ioBroker.GetObjectsCallback) => void | Promise<any>;
|
|
781
781
|
/**
|
|
782
782
|
* Promise-version of Adapter.getForeignObjects
|
|
783
783
|
*/
|
|
784
|
-
getForeignObjectsAsync: any
|
|
784
|
+
getForeignObjectsAsync: (...args: any[]) => Promise<any>;
|
|
785
785
|
/**
|
|
786
786
|
* Find any object by name or ID.
|
|
787
787
|
*
|
|
@@ -800,11 +800,11 @@ declare class Adapter {
|
|
|
800
800
|
* }
|
|
801
801
|
* </code></pre>
|
|
802
802
|
*/
|
|
803
|
-
findForeignObject: (id: string, type: string, options: object, callback: ioBroker.FindObjectCallback) => any
|
|
803
|
+
findForeignObject: (id: string, type: string, options: object, callback: ioBroker.FindObjectCallback) => void | Promise<any>;
|
|
804
804
|
/**
|
|
805
805
|
* Promise-version of Adapter.findForeignObject
|
|
806
806
|
*/
|
|
807
|
-
findForeignObjectAsync: any
|
|
807
|
+
findForeignObjectAsync: (...args: any[]) => Promise<any>;
|
|
808
808
|
/**
|
|
809
809
|
* Get any object.
|
|
810
810
|
*
|
|
@@ -821,11 +821,11 @@ declare class Adapter {
|
|
|
821
821
|
* }
|
|
822
822
|
* </code></pre>
|
|
823
823
|
*/
|
|
824
|
-
getForeignObject: (id: string, options?: object | undefined, callback: ioBroker.GetObjectCallback) => any
|
|
824
|
+
getForeignObject: (id: string, options?: object | undefined, callback: ioBroker.GetObjectCallback) => void | Promise<any>;
|
|
825
825
|
/**
|
|
826
826
|
* Promise-version of Adapter.getForeignObject
|
|
827
827
|
*/
|
|
828
|
-
getForeignObjectAsync: any
|
|
828
|
+
getForeignObjectAsync: (...args: any[]) => Promise<any>;
|
|
829
829
|
/**
|
|
830
830
|
* Delete an object of this instance.
|
|
831
831
|
*
|
|
@@ -849,7 +849,7 @@ declare class Adapter {
|
|
|
849
849
|
/**
|
|
850
850
|
* Promise-version of Adapter.delObject
|
|
851
851
|
*/
|
|
852
|
-
delObjectAsync: any
|
|
852
|
+
delObjectAsync: (...args: any[]) => Promise<any>;
|
|
853
853
|
/**
|
|
854
854
|
* Delete any object.
|
|
855
855
|
*
|
|
@@ -866,11 +866,11 @@ declare class Adapter {
|
|
|
866
866
|
* }
|
|
867
867
|
* </code></pre>
|
|
868
868
|
*/
|
|
869
|
-
delForeignObject: (id: string, options?: object | undefined, callback?: ioBroker.ErrorCallback | undefined) => any
|
|
869
|
+
delForeignObject: (id: string, options?: object | undefined, callback?: ioBroker.ErrorCallback | undefined) => void | Promise<any>;
|
|
870
870
|
/**
|
|
871
871
|
* Promise-version of Adapter.delForeignObject
|
|
872
872
|
*/
|
|
873
|
-
delForeignObjectAsync: any
|
|
873
|
+
delForeignObjectAsync: (...args: any[]) => Promise<any>;
|
|
874
874
|
/**
|
|
875
875
|
* Subscribe for the changes of objects in this instance.
|
|
876
876
|
*
|
|
@@ -885,11 +885,11 @@ declare class Adapter {
|
|
|
885
885
|
* }
|
|
886
886
|
* </code></pre>
|
|
887
887
|
*/
|
|
888
|
-
subscribeObjects: (pattern: string, options?: object | undefined, callback?: ioBroker.ErrorCallback | undefined) => any
|
|
888
|
+
subscribeObjects: (pattern: string, options?: object | undefined, callback?: ioBroker.ErrorCallback | undefined) => void | Promise<any>;
|
|
889
889
|
/**
|
|
890
890
|
* Promise-version of Adapter.subscribeObjects
|
|
891
891
|
*/
|
|
892
|
-
subscribeObjectsAsync: any
|
|
892
|
+
subscribeObjectsAsync: (...args: any[]) => Promise<any>;
|
|
893
893
|
/**
|
|
894
894
|
* Unsubscribe on the changes of objects in this instance.
|
|
895
895
|
*
|
|
@@ -904,11 +904,11 @@ declare class Adapter {
|
|
|
904
904
|
* }
|
|
905
905
|
* </code></pre>
|
|
906
906
|
*/
|
|
907
|
-
unsubscribeObjects: (pattern: string, options?: object | undefined, callback?: ioBroker.ErrorCallback | undefined) => any
|
|
907
|
+
unsubscribeObjects: (pattern: string, options?: object | undefined, callback?: ioBroker.ErrorCallback | undefined) => void | Promise<any>;
|
|
908
908
|
/**
|
|
909
909
|
* Promise-version of Adapter.unsubscribeObjects
|
|
910
910
|
*/
|
|
911
|
-
unsubscribeObjectsAsync: any
|
|
911
|
+
unsubscribeObjectsAsync: (...args: any[]) => Promise<any>;
|
|
912
912
|
/**
|
|
913
913
|
* Subscribe for the changes of objects in any instance.
|
|
914
914
|
*
|
|
@@ -923,11 +923,11 @@ declare class Adapter {
|
|
|
923
923
|
* }
|
|
924
924
|
* </code></pre>
|
|
925
925
|
*/
|
|
926
|
-
subscribeForeignObjects: (pattern: string, options?: object | undefined, callback?: ioBroker.ErrorCallback | undefined) => any
|
|
926
|
+
subscribeForeignObjects: (pattern: string, options?: object | undefined, callback?: ioBroker.ErrorCallback | undefined) => void | Promise<any>;
|
|
927
927
|
/**
|
|
928
928
|
* Promise-version of Adapter.subscribeForeignObjects
|
|
929
929
|
*/
|
|
930
|
-
subscribeForeignObjectsAsync: any
|
|
930
|
+
subscribeForeignObjectsAsync: (...args: any[]) => Promise<any>;
|
|
931
931
|
/**
|
|
932
932
|
* Unsubscribe for the patterns on all objects.
|
|
933
933
|
*
|
|
@@ -942,11 +942,11 @@ declare class Adapter {
|
|
|
942
942
|
* }
|
|
943
943
|
* </code></pre>
|
|
944
944
|
*/
|
|
945
|
-
unsubscribeForeignObjects: (pattern: string, options?: object | undefined, callback?: ioBroker.ErrorCallback | undefined) => any
|
|
945
|
+
unsubscribeForeignObjects: (pattern: string, options?: object | undefined, callback?: ioBroker.ErrorCallback | undefined) => void | Promise<any>;
|
|
946
946
|
/**
|
|
947
947
|
* Promise-version of Adapter.unsubscribeForeignObjects
|
|
948
948
|
*/
|
|
949
|
-
unsubscribeForeignObjectsAsync: any
|
|
949
|
+
unsubscribeForeignObjectsAsync: (...args: any[]) => Promise<any>;
|
|
950
950
|
/**
|
|
951
951
|
* Same as {@link Adapter.setObject}, but with check if the object exists.
|
|
952
952
|
*
|
|
@@ -973,7 +973,7 @@ declare class Adapter {
|
|
|
973
973
|
/**
|
|
974
974
|
* Promise-version of Adapter.setObjectNotExists
|
|
975
975
|
*/
|
|
976
|
-
setObjectNotExistsAsync: any
|
|
976
|
+
setObjectNotExistsAsync: (...args: any[]) => Promise<any>;
|
|
977
977
|
/**
|
|
978
978
|
* Same as {@link Adapter.setForeignObject}, but with check if the object exists.
|
|
979
979
|
*
|
|
@@ -1000,23 +1000,23 @@ declare class Adapter {
|
|
|
1000
1000
|
/**
|
|
1001
1001
|
* Promise-version of Adapter.setForeignObjectNotExists
|
|
1002
1002
|
*/
|
|
1003
|
-
setForeignObjectNotExistsAsync: any
|
|
1003
|
+
setForeignObjectNotExistsAsync: (...args: any[]) => Promise<any>;
|
|
1004
1004
|
_DCS2ID: (device: any, channel: any, stateOrPoint: any) => string;
|
|
1005
1005
|
createDevice: (deviceName: any, common: any, _native: any, options: any, callback: any) => void;
|
|
1006
1006
|
/**
|
|
1007
1007
|
* Promise-version of Adapter.createDevice
|
|
1008
1008
|
*/
|
|
1009
|
-
createDeviceAsync: any
|
|
1009
|
+
createDeviceAsync: (...args: any[]) => Promise<any>;
|
|
1010
1010
|
createChannel: (parentDevice: any, channelName: any, roleOrCommon: any, _native: any, options: any, callback: any) => void;
|
|
1011
1011
|
/**
|
|
1012
1012
|
* Promise-version of Adapter.createChannel
|
|
1013
1013
|
*/
|
|
1014
|
-
createChannelAsync: any
|
|
1015
|
-
createState: (parentDevice: any, parentChannel: any, stateName: any, roleOrCommon: any, _native: any, options: any, callback: any) => any
|
|
1014
|
+
createChannelAsync: (...args: any[]) => Promise<any>;
|
|
1015
|
+
createState: (parentDevice: any, parentChannel: any, stateName: any, roleOrCommon: any, _native: any, options: any, callback: any) => void | Promise<any>;
|
|
1016
1016
|
/**
|
|
1017
1017
|
* Promise-version of Adapter.createState
|
|
1018
1018
|
*/
|
|
1019
|
-
createStateAsync: any
|
|
1019
|
+
createStateAsync: (...args: any[]) => Promise<any>;
|
|
1020
1020
|
/**
|
|
1021
1021
|
* Delete device with all its channels and states.
|
|
1022
1022
|
*
|
|
@@ -1035,17 +1035,17 @@ declare class Adapter {
|
|
|
1035
1035
|
/**
|
|
1036
1036
|
* Promise-version of Adapter.deleteDevice
|
|
1037
1037
|
*/
|
|
1038
|
-
deleteDeviceAsync: any
|
|
1039
|
-
addChannelToEnum: (enumName: any, addTo: any, parentDevice: any, channelName: any, options: any, callback: any) => any
|
|
1038
|
+
deleteDeviceAsync: (...args: any[]) => Promise<any>;
|
|
1039
|
+
addChannelToEnum: (enumName: any, addTo: any, parentDevice: any, channelName: any, options: any, callback: any) => void | Promise<any>;
|
|
1040
1040
|
/**
|
|
1041
1041
|
* Promise-version of Adapter.addChannelToEnum
|
|
1042
1042
|
*/
|
|
1043
|
-
addChannelToEnumAsync: any
|
|
1044
|
-
deleteChannelFromEnum: (enumName: any, parentDevice: any, channelName: any, options: any, callback: any) => any
|
|
1043
|
+
addChannelToEnumAsync: (...args: any[]) => Promise<any>;
|
|
1044
|
+
deleteChannelFromEnum: (enumName: any, parentDevice: any, channelName: any, options: any, callback: any) => void | Promise<any>;
|
|
1045
1045
|
/**
|
|
1046
1046
|
* Promise-version of Adapter.deleteChannelFromEnum
|
|
1047
1047
|
*/
|
|
1048
|
-
deleteChannelFromEnumAsync: any
|
|
1048
|
+
deleteChannelFromEnumAsync: (...args: any[]) => Promise<any>;
|
|
1049
1049
|
/**
|
|
1050
1050
|
* Deletes channel and udnerlying structure
|
|
1051
1051
|
* @alais deleteChannel
|
|
@@ -1064,39 +1064,39 @@ declare class Adapter {
|
|
|
1064
1064
|
/**
|
|
1065
1065
|
* Promise-version of Adapter.deleteChannel
|
|
1066
1066
|
*/
|
|
1067
|
-
deleteChannelAsync: any
|
|
1067
|
+
deleteChannelAsync: (...args: any[]) => Promise<any>;
|
|
1068
1068
|
deleteState: (parentDevice: any, parentChannel: any, stateName: any, options: any, callback: any) => void;
|
|
1069
1069
|
/**
|
|
1070
1070
|
* Promise-version of Adapter.deleteState
|
|
1071
1071
|
*/
|
|
1072
|
-
deleteStateAsync: any
|
|
1073
|
-
getDevices: (options: any, callback: any) => any
|
|
1072
|
+
deleteStateAsync: (...args: any[]) => Promise<any>;
|
|
1073
|
+
getDevices: (options: any, callback: any) => void | Promise<any>;
|
|
1074
1074
|
/**
|
|
1075
1075
|
* Promise-version of Adapter.getDevices
|
|
1076
1076
|
*/
|
|
1077
|
-
getDevicesAsync: any
|
|
1078
|
-
getChannelsOf: (parentDevice: any, options: any, callback: any) => any
|
|
1077
|
+
getDevicesAsync: (...args: any[]) => Promise<any>;
|
|
1078
|
+
getChannelsOf: (parentDevice: any, options: any, callback: any) => void | Promise<any>;
|
|
1079
1079
|
/**
|
|
1080
1080
|
* Promise-version of Adapter.getChannelsOf
|
|
1081
1081
|
*/
|
|
1082
|
-
getChannelsOfAsync: any
|
|
1083
|
-
getChannels: (parentDevice: any, options: any, callback: any) => any
|
|
1084
|
-
getChannelsAsync: any
|
|
1085
|
-
getStatesOf: (parentDevice: any, parentChannel: any, options: any, callback: any) => any
|
|
1082
|
+
getChannelsOfAsync: (...args: any[]) => Promise<any>;
|
|
1083
|
+
getChannels: (parentDevice: any, options: any, callback: any) => void | Promise<any>;
|
|
1084
|
+
getChannelsAsync: (...args: any[]) => Promise<any>;
|
|
1085
|
+
getStatesOf: (parentDevice: any, parentChannel: any, options: any, callback: any) => void | Promise<any>;
|
|
1086
1086
|
/**
|
|
1087
1087
|
* Promise-version of Adapter.getStatesOf
|
|
1088
1088
|
*/
|
|
1089
|
-
getStatesOfAsync: any
|
|
1090
|
-
addStateToEnum: (enumName: any, addTo: any, parentDevice: any, parentChannel: any, stateName: any, options: any, callback: any) => any
|
|
1089
|
+
getStatesOfAsync: (...args: any[]) => Promise<any>;
|
|
1090
|
+
addStateToEnum: (enumName: any, addTo: any, parentDevice: any, parentChannel: any, stateName: any, options: any, callback: any) => void | Promise<any>;
|
|
1091
1091
|
/**
|
|
1092
1092
|
* Promise-version of Adapter.addStateToEnum
|
|
1093
1093
|
*/
|
|
1094
|
-
addStateToEnumAsync: any
|
|
1095
|
-
deleteStateFromEnum: (enumName: any, parentDevice: any, parentChannel: any, stateName: any, options: any, callback: any) => any
|
|
1094
|
+
addStateToEnumAsync: (...args: any[]) => Promise<any>;
|
|
1095
|
+
deleteStateFromEnum: (enumName: any, parentDevice: any, parentChannel: any, stateName: any, options: any, callback: any) => void | Promise<any>;
|
|
1096
1096
|
/**
|
|
1097
1097
|
* Promise-version of Adapter.deleteStateFromEnum
|
|
1098
1098
|
*/
|
|
1099
|
-
deleteStateFromEnumAsync: any
|
|
1099
|
+
deleteStateFromEnumAsync: (...args: any[]) => Promise<any>;
|
|
1100
1100
|
/**
|
|
1101
1101
|
* Change file access rights
|
|
1102
1102
|
*
|
|
@@ -1120,11 +1120,11 @@ declare class Adapter {
|
|
|
1120
1120
|
* }
|
|
1121
1121
|
* </code></pre>
|
|
1122
1122
|
*/
|
|
1123
|
-
chmodFile: (_adapter: string, path: string, options: object, callback: Function) => any
|
|
1123
|
+
chmodFile: (_adapter: string, path: string, options: object, callback: Function) => void | Promise<any>;
|
|
1124
1124
|
/**
|
|
1125
1125
|
* Promise-version of Adapter.chmodFile
|
|
1126
1126
|
*/
|
|
1127
|
-
chmodFileAsync: any
|
|
1127
|
+
chmodFileAsync: (...args: any[]) => Promise<any>;
|
|
1128
1128
|
/**
|
|
1129
1129
|
* Change file owner
|
|
1130
1130
|
*
|
|
@@ -1148,11 +1148,11 @@ declare class Adapter {
|
|
|
1148
1148
|
* }
|
|
1149
1149
|
* </code></pre>
|
|
1150
1150
|
*/
|
|
1151
|
-
chownFile: (_adapter: string, path: string, options: object, callback: Function) => any
|
|
1151
|
+
chownFile: (_adapter: string, path: string, options: object, callback: Function) => void | Promise<any>;
|
|
1152
1152
|
/**
|
|
1153
1153
|
* Promise-version of Adapter.chownFile
|
|
1154
1154
|
*/
|
|
1155
|
-
chownFileAsync: any
|
|
1155
|
+
chownFileAsync: (...args: any[]) => Promise<any>;
|
|
1156
1156
|
/**
|
|
1157
1157
|
* Read directory from DB.
|
|
1158
1158
|
*
|
|
@@ -1190,28 +1190,28 @@ declare class Adapter {
|
|
|
1190
1190
|
* }
|
|
1191
1191
|
* </code></pre>
|
|
1192
1192
|
*/
|
|
1193
|
-
readDir: (_adapter: string, path: string, options: object, callback: ioBroker.ReadDirCallback) => any
|
|
1193
|
+
readDir: (_adapter: string, path: string, options: object, callback: ioBroker.ReadDirCallback) => void | Promise<any>;
|
|
1194
1194
|
/**
|
|
1195
1195
|
* Promise-version of Adapter.readDir
|
|
1196
1196
|
*/
|
|
1197
|
-
readDirAsync: any
|
|
1198
|
-
unlink: (_adapter: any, name: any, options: any, callback: any) => any
|
|
1197
|
+
readDirAsync: (...args: any[]) => Promise<any>;
|
|
1198
|
+
unlink: (_adapter: any, name: any, options: any, callback: any) => void | Promise<any>;
|
|
1199
1199
|
/**
|
|
1200
1200
|
* Promise-version of Adapter.unlink
|
|
1201
1201
|
*/
|
|
1202
|
-
unlinkAsync: any
|
|
1203
|
-
delFile: (_adapter: any, name: any, options: any, callback: any) => any
|
|
1204
|
-
delFileAsync: any
|
|
1205
|
-
rename: (_adapter: any, oldName: any, newName: any, options: any, callback: any) => any
|
|
1202
|
+
unlinkAsync: (...args: any[]) => Promise<any>;
|
|
1203
|
+
delFile: (_adapter: any, name: any, options: any, callback: any) => void | Promise<any>;
|
|
1204
|
+
delFileAsync: (...args: any[]) => Promise<any>;
|
|
1205
|
+
rename: (_adapter: any, oldName: any, newName: any, options: any, callback: any) => void | Promise<any>;
|
|
1206
1206
|
/**
|
|
1207
1207
|
* Promise-version of Adapter.rename
|
|
1208
1208
|
*/
|
|
1209
|
-
renameAsync: any
|
|
1210
|
-
mkdir: (_adapter: any, dirname: any, options: any, callback: any) => any
|
|
1209
|
+
renameAsync: (...args: any[]) => Promise<any>;
|
|
1210
|
+
mkdir: (_adapter: any, dirname: any, options: any, callback: any) => void | Promise<any>;
|
|
1211
1211
|
/**
|
|
1212
1212
|
* Promise-version of Adapter.mkdir
|
|
1213
1213
|
*/
|
|
1214
|
-
mkdirAsync: any
|
|
1214
|
+
mkdirAsync: (...args: any[]) => Promise<any>;
|
|
1215
1215
|
/**
|
|
1216
1216
|
* Read file from DB.
|
|
1217
1217
|
*
|
|
@@ -1236,11 +1236,11 @@ declare class Adapter {
|
|
|
1236
1236
|
* }
|
|
1237
1237
|
* </code></pre>
|
|
1238
1238
|
*/
|
|
1239
|
-
readFile: (_adapter: string, filename: string, options: object, callback: ioBroker.ReadFileCallback) => any
|
|
1239
|
+
readFile: (_adapter: string, filename: string, options: object, callback: ioBroker.ReadFileCallback) => void | Promise<any>;
|
|
1240
1240
|
/**
|
|
1241
1241
|
* Promise-version of Adapter.readFile
|
|
1242
1242
|
*/
|
|
1243
|
-
readFileAsync: any
|
|
1243
|
+
readFileAsync: (...args: any[]) => Promise<any>;
|
|
1244
1244
|
/**
|
|
1245
1245
|
* Write file to DB.
|
|
1246
1246
|
*
|
|
@@ -1268,7 +1268,7 @@ declare class Adapter {
|
|
|
1268
1268
|
/**
|
|
1269
1269
|
* Promise-version of Adapter.writeFile
|
|
1270
1270
|
*/
|
|
1271
|
-
writeFileAsync: any
|
|
1271
|
+
writeFileAsync: (...args: any[]) => Promise<any>;
|
|
1272
1272
|
/**
|
|
1273
1273
|
* Checks if file exists in DB.
|
|
1274
1274
|
*
|
|
@@ -1284,7 +1284,7 @@ declare class Adapter {
|
|
|
1284
1284
|
/**
|
|
1285
1285
|
* Promise-version of Adapter.fileExists
|
|
1286
1286
|
*/
|
|
1287
|
-
fileExistsAsync: any
|
|
1287
|
+
fileExistsAsync: (...args: any[]) => Promise<any>;
|
|
1288
1288
|
formatValue: (value: any, decimals: any, _format: any) => any;
|
|
1289
1289
|
formatDate: (dateObj: any, isDuration: any, _format: any) => string;
|
|
1290
1290
|
statesConnectedTime: number;
|
|
@@ -1314,7 +1314,7 @@ declare class Adapter {
|
|
|
1314
1314
|
/**
|
|
1315
1315
|
* Promise-version of Adapter.sendTo
|
|
1316
1316
|
*/
|
|
1317
|
-
sendToAsync: any
|
|
1317
|
+
sendToAsync: (...args: any[]) => Promise<any>;
|
|
1318
1318
|
/**
|
|
1319
1319
|
* Send message to specific host or to all hosts.
|
|
1320
1320
|
*
|
|
@@ -1338,7 +1338,7 @@ declare class Adapter {
|
|
|
1338
1338
|
/**
|
|
1339
1339
|
* Promise-version of Adapter.sendToHost
|
|
1340
1340
|
*/
|
|
1341
|
-
sendToHostAsync: any
|
|
1341
|
+
sendToHostAsync: (...args: any[]) => Promise<any>;
|
|
1342
1342
|
/**
|
|
1343
1343
|
* Send notification with given scope and category to host of this adapter
|
|
1344
1344
|
*
|
|
@@ -1348,7 +1348,7 @@ declare class Adapter {
|
|
|
1348
1348
|
* @return Promise<void>
|
|
1349
1349
|
*/
|
|
1350
1350
|
registerNotification: (scope: string, category: string | null, message: string) => Promise<void>;
|
|
1351
|
-
setExecutableCapabilities:
|
|
1351
|
+
setExecutableCapabilities: typeof tools.setExecutableCapabilities;
|
|
1352
1352
|
/**
|
|
1353
1353
|
* Writes value into states DB.
|
|
1354
1354
|
*
|
|
@@ -1386,7 +1386,7 @@ declare class Adapter {
|
|
|
1386
1386
|
/**
|
|
1387
1387
|
* Promise-version of Adapter.setState
|
|
1388
1388
|
*/
|
|
1389
|
-
setStateAsync: any
|
|
1389
|
+
setStateAsync: (...args: any[]) => Promise<any>;
|
|
1390
1390
|
/**
|
|
1391
1391
|
* Writes value into states DB only if the value really changed.
|
|
1392
1392
|
*
|
|
@@ -1408,11 +1408,11 @@ declare class Adapter {
|
|
|
1408
1408
|
* }
|
|
1409
1409
|
* </code></pre>
|
|
1410
1410
|
*/
|
|
1411
|
-
setStateChanged: (id: string, state: object | string | number | boolean, ack?: boolean | undefined, options?: object | undefined, callback?: ioBroker.SetStateChangedCallback | undefined) => any
|
|
1411
|
+
setStateChanged: (id: string, state: object | string | number | boolean, ack?: boolean | undefined, options?: object | undefined, callback?: ioBroker.SetStateChangedCallback | undefined) => void | Promise<any>;
|
|
1412
1412
|
/**
|
|
1413
1413
|
* Promise-version of Adapter.setStateChanged
|
|
1414
1414
|
*/
|
|
1415
|
-
setStateChangedAsync: any
|
|
1415
|
+
setStateChangedAsync: (...args: any[]) => Promise<any>;
|
|
1416
1416
|
/**
|
|
1417
1417
|
* Writes value into states DB for any instance.
|
|
1418
1418
|
*
|
|
@@ -1449,7 +1449,7 @@ declare class Adapter {
|
|
|
1449
1449
|
/**
|
|
1450
1450
|
* Promise-version of Adapter.setForeignState
|
|
1451
1451
|
*/
|
|
1452
|
-
setForeignStateAsync: any
|
|
1452
|
+
setForeignStateAsync: (...args: any[]) => Promise<any>;
|
|
1453
1453
|
/**
|
|
1454
1454
|
* Writes value into states DB for any instance, but only if state changed.
|
|
1455
1455
|
*
|
|
@@ -1482,11 +1482,11 @@ declare class Adapter {
|
|
|
1482
1482
|
* }
|
|
1483
1483
|
* </code></pre>
|
|
1484
1484
|
*/
|
|
1485
|
-
setForeignStateChanged: (id: string, state: object | string | number | boolean, ack?: boolean | undefined, options?: object | undefined, callback?: ioBroker.SetStateChangedCallback | undefined) => any
|
|
1485
|
+
setForeignStateChanged: (id: string, state: object | string | number | boolean, ack?: boolean | undefined, options?: object | undefined, callback?: ioBroker.SetStateChangedCallback | undefined) => void | Promise<any>;
|
|
1486
1486
|
/**
|
|
1487
1487
|
* Promise-version of Adapter.setForeignStateChanged
|
|
1488
1488
|
*/
|
|
1489
|
-
setForeignStateChangedAsync: any
|
|
1489
|
+
setForeignStateChangedAsync: (...args: any[]) => Promise<any>;
|
|
1490
1490
|
/**
|
|
1491
1491
|
* Read value from states DB.
|
|
1492
1492
|
*
|
|
@@ -1506,11 +1506,11 @@ declare class Adapter {
|
|
|
1506
1506
|
*
|
|
1507
1507
|
* See possible attributes of the state in @setState explanation
|
|
1508
1508
|
*/
|
|
1509
|
-
getState: (id: string, options: object, callback: ioBroker.GetStateCallback) => any
|
|
1509
|
+
getState: (id: string, options: object, callback: ioBroker.GetStateCallback) => void | Promise<any>;
|
|
1510
1510
|
/**
|
|
1511
1511
|
* Promise-version of Adapter.getState
|
|
1512
1512
|
*/
|
|
1513
|
-
getStateAsync: any
|
|
1513
|
+
getStateAsync: (...args: any[]) => Promise<any>;
|
|
1514
1514
|
/**
|
|
1515
1515
|
* Read value from states DB for any instance and system state.
|
|
1516
1516
|
*
|
|
@@ -1529,11 +1529,11 @@ declare class Adapter {
|
|
|
1529
1529
|
*
|
|
1530
1530
|
* See possible attributes of the state in @setState explanation
|
|
1531
1531
|
*/
|
|
1532
|
-
getForeignState: (id: string, options: object, callback: ioBroker.GetStateCallback) => any
|
|
1532
|
+
getForeignState: (id: string, options: object, callback: ioBroker.GetStateCallback) => void | Promise<any>;
|
|
1533
1533
|
/**
|
|
1534
1534
|
* Promise-version of Adapter.getForeignState
|
|
1535
1535
|
*/
|
|
1536
|
-
getForeignStateAsync: any
|
|
1536
|
+
getForeignStateAsync: (...args: any[]) => Promise<any>;
|
|
1537
1537
|
/**
|
|
1538
1538
|
* Read historian data for states of any instance or system state.
|
|
1539
1539
|
*
|
|
@@ -1580,7 +1580,7 @@ declare class Adapter {
|
|
|
1580
1580
|
/**
|
|
1581
1581
|
* Promise-version of Adapter.getHistory
|
|
1582
1582
|
*/
|
|
1583
|
-
getHistoryAsync: any
|
|
1583
|
+
getHistoryAsync: (...args: any[]) => Promise<any>;
|
|
1584
1584
|
/**
|
|
1585
1585
|
* Convert ID into object with device's, channel's and state's name.
|
|
1586
1586
|
*
|
|
@@ -1613,11 +1613,11 @@ declare class Adapter {
|
|
|
1613
1613
|
* }
|
|
1614
1614
|
* </code></pre>
|
|
1615
1615
|
*/
|
|
1616
|
-
delState: (id: string, options?: object | undefined, callback?: ioBroker.ErrorCallback | undefined) => any
|
|
1616
|
+
delState: (id: string, options?: object | undefined, callback?: ioBroker.ErrorCallback | undefined) => void | Promise<any>;
|
|
1617
1617
|
/**
|
|
1618
1618
|
* Promise-version of Adapter.delState
|
|
1619
1619
|
*/
|
|
1620
|
-
delStateAsync: any
|
|
1620
|
+
delStateAsync: (...args: any[]) => Promise<any>;
|
|
1621
1621
|
/**
|
|
1622
1622
|
* Deletes a state of any adapter.
|
|
1623
1623
|
* The object is NOT deleted. If you want to delete it too, use @delForeignObject instead.
|
|
@@ -1630,11 +1630,11 @@ declare class Adapter {
|
|
|
1630
1630
|
* @param {object} [options] optional argument to describe the user context
|
|
1631
1631
|
* @param {ioBroker.ErrorCallback} [callback] return result function (err) {}
|
|
1632
1632
|
*/
|
|
1633
|
-
delForeignState: (id: string, options?: object | undefined, callback?: ioBroker.ErrorCallback | undefined) => any
|
|
1633
|
+
delForeignState: (id: string, options?: object | undefined, callback?: ioBroker.ErrorCallback | undefined) => void | Promise<any>;
|
|
1634
1634
|
/**
|
|
1635
1635
|
* Promise-version of Adapter.delForeignState
|
|
1636
1636
|
*/
|
|
1637
|
-
delForeignStateAsync: any
|
|
1637
|
+
delForeignStateAsync: (...args: any[]) => Promise<any>;
|
|
1638
1638
|
/**
|
|
1639
1639
|
* Read all states of this adapter, that pass the pattern
|
|
1640
1640
|
*
|
|
@@ -1657,7 +1657,7 @@ declare class Adapter {
|
|
|
1657
1657
|
/**
|
|
1658
1658
|
* Promise-version of Adapter.getStates
|
|
1659
1659
|
*/
|
|
1660
|
-
getStatesAsync: any
|
|
1660
|
+
getStatesAsync: (...args: any[]) => Promise<any>;
|
|
1661
1661
|
_processStatesSecondary: (keys: any, targetObjs: any, srcObjs: any, callback: any) => void;
|
|
1662
1662
|
_processStates: (keys: any, targetObjs: any, callback: any) => void;
|
|
1663
1663
|
/**
|
|
@@ -1682,8 +1682,8 @@ declare class Adapter {
|
|
|
1682
1682
|
/**
|
|
1683
1683
|
* Promise-version of Adapter.getForeignStates
|
|
1684
1684
|
*/
|
|
1685
|
-
getForeignStatesAsync: any
|
|
1686
|
-
_addAliasSubscribe: (aliasObj: any, pattern: any, callback: any) => any
|
|
1685
|
+
getForeignStatesAsync: (...args: any[]) => Promise<any>;
|
|
1686
|
+
_addAliasSubscribe: (aliasObj: any, pattern: any, callback: any) => void | Promise<any>;
|
|
1687
1687
|
_removeAliasSubscribe: (sourceId: any, aliasObj: any, pattern: any, callback: any) => Promise<any>;
|
|
1688
1688
|
/**
|
|
1689
1689
|
* Subscribe for changes on all states of all adapters (and system states), that pass the pattern
|
|
@@ -1704,7 +1704,7 @@ declare class Adapter {
|
|
|
1704
1704
|
/**
|
|
1705
1705
|
* Promise-version of Adapter.subscribeForeignStates
|
|
1706
1706
|
*/
|
|
1707
|
-
subscribeForeignStatesAsync: any
|
|
1707
|
+
subscribeForeignStatesAsync: (...args: any[]) => Promise<any>;
|
|
1708
1708
|
/**
|
|
1709
1709
|
* Unsubscribe for changes for given pattern
|
|
1710
1710
|
*
|
|
@@ -1726,7 +1726,7 @@ declare class Adapter {
|
|
|
1726
1726
|
/**
|
|
1727
1727
|
* Promise-version of Adapter.unsubscribeForeignStates
|
|
1728
1728
|
*/
|
|
1729
|
-
unsubscribeForeignStatesAsync: any
|
|
1729
|
+
unsubscribeForeignStatesAsync: (...args: any[]) => Promise<any>;
|
|
1730
1730
|
/**
|
|
1731
1731
|
* Subscribe for changes on all states of this instance, that pass the pattern
|
|
1732
1732
|
*
|
|
@@ -1741,11 +1741,11 @@ declare class Adapter {
|
|
|
1741
1741
|
* @param {object} [options] optional argument to describe the user context
|
|
1742
1742
|
* @param {ioBroker.ErrorCallback} [callback]
|
|
1743
1743
|
*/
|
|
1744
|
-
subscribeStates: (pattern: string, options?: object | undefined, callback?: ioBroker.ErrorCallback | undefined) => any
|
|
1744
|
+
subscribeStates: (pattern: string, options?: object | undefined, callback?: ioBroker.ErrorCallback | undefined) => void | Promise<any>;
|
|
1745
1745
|
/**
|
|
1746
1746
|
* Promise-version of Adapter.subscribeStates
|
|
1747
1747
|
*/
|
|
1748
|
-
subscribeStatesAsync: any
|
|
1748
|
+
subscribeStatesAsync: (...args: any[]) => Promise<any>;
|
|
1749
1749
|
/**
|
|
1750
1750
|
* Unsubscribe for changes for given pattern for own states.
|
|
1751
1751
|
*
|
|
@@ -1763,11 +1763,11 @@ declare class Adapter {
|
|
|
1763
1763
|
* @param {object} [options] optional argument to describe the user context
|
|
1764
1764
|
* @param {ioBroker.ErrorCallback} [callback]
|
|
1765
1765
|
*/
|
|
1766
|
-
unsubscribeStates: (pattern: string, options?: object | undefined, callback?: ioBroker.ErrorCallback | undefined) => any
|
|
1766
|
+
unsubscribeStates: (pattern: string, options?: object | undefined, callback?: ioBroker.ErrorCallback | undefined) => void | Promise<any>;
|
|
1767
1767
|
/**
|
|
1768
1768
|
* Promise-version of Adapter.unsubscribeStates
|
|
1769
1769
|
*/
|
|
1770
|
-
unsubscribeStatesAsync: any
|
|
1770
|
+
unsubscribeStatesAsync: (...args: any[]) => Promise<any>;
|
|
1771
1771
|
/**
|
|
1772
1772
|
* Decrypt the password/value with given key
|
|
1773
1773
|
* @param {string} secretVal to use for decrypt (or value if only one parameter is given)
|
|
@@ -1782,9 +1782,9 @@ declare class Adapter {
|
|
|
1782
1782
|
* @returns {string}
|
|
1783
1783
|
*/
|
|
1784
1784
|
encrypt: (secretVal: string, value?: string | undefined) => string;
|
|
1785
|
-
getSession: (id: any, callback: any) => any
|
|
1786
|
-
setSession: (id: any, ttl: any, data: any, callback: any) => any
|
|
1787
|
-
destroySession: (id: any, callback: any) => any
|
|
1785
|
+
getSession: (id: any, callback: any) => void | Promise<any>;
|
|
1786
|
+
setSession: (id: any, ttl: any, data: any, callback: any) => void | Promise<any>;
|
|
1787
|
+
destroySession: (id: any, callback: any) => void | Promise<any>;
|
|
1788
1788
|
/**
|
|
1789
1789
|
* Write binary block into redis, e.g image
|
|
1790
1790
|
*
|
|
@@ -1809,7 +1809,7 @@ declare class Adapter {
|
|
|
1809
1809
|
* @return {Promise}
|
|
1810
1810
|
*
|
|
1811
1811
|
*/
|
|
1812
|
-
setForeignBinaryStateAsync: any
|
|
1812
|
+
setForeignBinaryStateAsync: (...args: any[]) => Promise<any>;
|
|
1813
1813
|
/**
|
|
1814
1814
|
* Same as setForeignBinaryState but prefixes the own namespace to the id
|
|
1815
1815
|
*
|
|
@@ -1833,7 +1833,7 @@ declare class Adapter {
|
|
|
1833
1833
|
* @param {object} [options] optional
|
|
1834
1834
|
* @param {Promise<void>}
|
|
1835
1835
|
*/
|
|
1836
|
-
setBinaryStateAsync: any
|
|
1836
|
+
setBinaryStateAsync: (...args: any[]) => Promise<any>;
|
|
1837
1837
|
/**
|
|
1838
1838
|
* Read a binary block from redis, e.g. an image
|
|
1839
1839
|
*
|
|
@@ -1841,7 +1841,7 @@ declare class Adapter {
|
|
|
1841
1841
|
* @param {object} options optional
|
|
1842
1842
|
* @param {ioBroker.GetBinaryStateCallback} callback
|
|
1843
1843
|
*/
|
|
1844
|
-
getForeignBinaryState: (id: string, options: object, callback: ioBroker.GetBinaryStateCallback) => any
|
|
1844
|
+
getForeignBinaryState: (id: string, options: object, callback: ioBroker.GetBinaryStateCallback) => void | Promise<any>;
|
|
1845
1845
|
/**
|
|
1846
1846
|
* Promise-version of Adapter.getBinaryState
|
|
1847
1847
|
*
|
|
@@ -1849,7 +1849,7 @@ declare class Adapter {
|
|
|
1849
1849
|
* @memberof Adapter
|
|
1850
1850
|
*
|
|
1851
1851
|
*/
|
|
1852
|
-
getForeignBinaryStateAsync: any
|
|
1852
|
+
getForeignBinaryStateAsync: (...args: any[]) => Promise<any>;
|
|
1853
1853
|
/**
|
|
1854
1854
|
* Same as getForeignBinaryState but prefixes the own namespace to the id
|
|
1855
1855
|
*
|
|
@@ -1857,7 +1857,7 @@ declare class Adapter {
|
|
|
1857
1857
|
* @param {object} options optional
|
|
1858
1858
|
* @param {ioBroker.GetBinaryStateCallback} callback
|
|
1859
1859
|
*/
|
|
1860
|
-
getBinaryState: (id: string, options: object, callback: ioBroker.GetBinaryStateCallback) => any
|
|
1860
|
+
getBinaryState: (id: string, options: object, callback: ioBroker.GetBinaryStateCallback) => void | Promise<any>;
|
|
1861
1861
|
/**
|
|
1862
1862
|
* Promisified version of getBinaryState
|
|
1863
1863
|
*
|
|
@@ -1865,7 +1865,7 @@ declare class Adapter {
|
|
|
1865
1865
|
* @param {object} options optional
|
|
1866
1866
|
* @return {Promise<Buffer>}
|
|
1867
1867
|
*/
|
|
1868
|
-
getBinaryStateAsync: any
|
|
1868
|
+
getBinaryStateAsync: (...args: any[]) => Promise<any>;
|
|
1869
1869
|
/**
|
|
1870
1870
|
* Deletes binary state
|
|
1871
1871
|
*
|
|
@@ -1877,7 +1877,7 @@ declare class Adapter {
|
|
|
1877
1877
|
* @param {ioBroker.ErrorCallback} [callback]
|
|
1878
1878
|
*
|
|
1879
1879
|
*/
|
|
1880
|
-
delForeignBinaryState: (id: string, options?: object | undefined, callback?: ioBroker.ErrorCallback | undefined) => any
|
|
1880
|
+
delForeignBinaryState: (id: string, options?: object | undefined, callback?: ioBroker.ErrorCallback | undefined) => void | Promise<any>;
|
|
1881
1881
|
/**
|
|
1882
1882
|
* Promise-version of Adapter.delForeignBinaryState
|
|
1883
1883
|
*
|
|
@@ -1888,7 +1888,7 @@ declare class Adapter {
|
|
|
1888
1888
|
* @return {Promise<void>}
|
|
1889
1889
|
*
|
|
1890
1890
|
*/
|
|
1891
|
-
delForeignBinaryStateAsync: any
|
|
1891
|
+
delForeignBinaryStateAsync: (...args: any[]) => Promise<any>;
|
|
1892
1892
|
/**
|
|
1893
1893
|
* Deletes binary state but prefixes the own namespace to the id
|
|
1894
1894
|
*
|
|
@@ -1900,7 +1900,7 @@ declare class Adapter {
|
|
|
1900
1900
|
* @param {ioBroker.ErrorCallback} [callback]
|
|
1901
1901
|
*
|
|
1902
1902
|
*/
|
|
1903
|
-
delBinaryState: (id: string, options?: object | undefined, callback?: ioBroker.ErrorCallback | undefined) => any
|
|
1903
|
+
delBinaryState: (id: string, options?: object | undefined, callback?: ioBroker.ErrorCallback | undefined) => void | Promise<any>;
|
|
1904
1904
|
/**
|
|
1905
1905
|
* Promise-version of Adapter.delBinaryState
|
|
1906
1906
|
*
|
|
@@ -1911,7 +1911,7 @@ declare class Adapter {
|
|
|
1911
1911
|
* @return {Promise<void>}
|
|
1912
1912
|
*
|
|
1913
1913
|
*/
|
|
1914
|
-
delBinaryStateAsync: any
|
|
1914
|
+
delBinaryStateAsync: (...args: any[]) => Promise<any>;
|
|
1915
1915
|
/**
|
|
1916
1916
|
* Return plugin instance
|
|
1917
1917
|
*
|
|
@@ -1950,5 +1950,6 @@ declare class Adapter {
|
|
|
1950
1950
|
*/
|
|
1951
1951
|
getSuitableLicenses: ((all: boolean) => Promise<object[]>) | undefined;
|
|
1952
1952
|
}
|
|
1953
|
+
import { tools } from "@iobroker/js-controller-common";
|
|
1953
1954
|
import Log = require("./log");
|
|
1954
1955
|
//# sourceMappingURL=adapter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../src/lib/adapter/adapter.js"],"names":[],"mappings":";AAuDA;;;;;;;;;GASG;AACH,kCAHW,MAAM,GAAC,MAAM,GACZ,MAAM,CAguSjB;;IAxuSD;;;;;;;;;OASG;IACH,qBAHW,MAAM,GAAC,MAAM,EAiuSvB;IAnrSG,0BAA2C;IAM3C,2BAAiB;IACjB,wBAAiB;IACjB,iCAAuB;IACvB,sBAAe;IAEf,iCAAuB;IACvB,uCAA8B;IAC9B,kCAAyB;IAIzB;;;kBAGC;IAiED,+CAAqE;IAY7D,4BAAkB;IAM1B,
|
|
1
|
+
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../src/lib/adapter/adapter.js"],"names":[],"mappings":";AAuDA;;;;;;;;;GASG;AACH,kCAHW,MAAM,GAAC,MAAM,GACZ,MAAM,CAguSjB;;IAxuSD;;;;;;;;;OASG;IACH,qBAHW,MAAM,GAAC,MAAM,EAiuSvB;IAnrSG,0BAA2C;IAM3C,2BAAiB;IACjB,wBAAiB;IACjB,iCAAuB;IACvB,sBAAe;IAEf,iCAAuB;IACvB,uCAA8B;IAC9B,kCAAyB;IAIzB;;;kBAGC;IAiED,+CAAqE;IAY7D,4BAAkB;IAM1B,mJAqBC;IAED;;;;;;;;;OASG;IACH,uGAiEC;IA5DG,gCAAsB;IAgEtB,gBAAqD;IAWrD,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UG;IACH,4BALW,MAAM,sGAkChB;IAED;;;;;;;;;OASG;IACH,6DAAmF;IAEnF;;;;;;;;;;OAUG;IACH,qBALW,MAAM,sGAShB;IAED;;;;;;;;;OASG;IACH,sDAAqE;IAErE;;;;;OAKG;IACH,0BAHgB,MAAM,KACT,MAAM,CAOlB;IAED;;;;;OAKG;IACH,wBAHgB,MAAM,KACT,MAAM,CAOlB;IAoID,8CAgBC;IAiCG,oCAmCC;IAhCW,iBAA2B;IAMvB,iBASS;IAmBzB,+BAEC;IAsGO,cAAwB;IAQxB,YAAkC;IAClC,UAAqC;IACrC,YAAkC;IAO9B,0BAA4B;IAG5B,0BAAqB;IA6B7B,mBAAkC;IAWlC,SAA+D;IAW3D,cAAmD;IA2DnD,aAKmB;IA2Df,oDAAsB;IA+R1C,6EAAsD;IAGtD;;;;OAIG;IACH,4BAHW,OAAO,KACL,QAAQ,MAAM,EAAE,CAAC,cA4F7B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="iobroker" />
|
|
2
|
-
interface
|
|
2
|
+
export interface IdObject {
|
|
3
3
|
device?: string;
|
|
4
4
|
channel?: string;
|
|
5
5
|
state?: string;
|
|
@@ -51,7 +51,6 @@ export declare class Utils {
|
|
|
51
51
|
* @param id id which will be fixed
|
|
52
52
|
* @param isPattern if the id is a pattern
|
|
53
53
|
*/
|
|
54
|
-
fixId(id: string |
|
|
54
|
+
fixId(id: string | IdObject, isPattern?: boolean): string;
|
|
55
55
|
}
|
|
56
|
-
export {};
|
|
57
56
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/lib/adapter/utils.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/lib/adapter/utils.ts"],"names":[],"mappings":";AAGA,MAAM,WAAW,QAAQ;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,qBAAa,KAAK;IACd,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAM;IAC9B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAM;IAC7B,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAS;IACtC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAM;IAC1B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAS;IACnC,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAS;IAEzC;;;;;;;;OAQG;gBAEC,OAAO,EAAE,GAAG,EACZ,MAAM,EAAE,GAAG,EACX,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,GAAG,EACX,SAAS,EAAE,MAAM,EACjB,eAAe,EAAE,MAAM;IAU3B;;;;;;OAMG;IACG,wBAAwB,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC;IA+FhF;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,GAAG,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,GAAG,IAAI;IAkEtE;;;;;OAKG;IACH,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAKzC;;;;;OAKG;IACH,KAAK,CAAC,EAAE,EAAE,MAAM,GAAG,QAAQ,EAAE,SAAS,UAAQ,GAAG,MAAM;CA0B1D"}
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Utils = void 0;
|
|
4
4
|
const constants_1 = require("./constants");
|
|
5
|
-
|
|
6
|
-
const { tools, EXIT_CODES } = require('@iobroker/js-controller-common');
|
|
5
|
+
const js_controller_common_1 = require("@iobroker/js-controller-common");
|
|
7
6
|
class Utils {
|
|
8
7
|
/**
|
|
9
8
|
* Utils for internal adapter.js usage
|
|
@@ -118,10 +117,10 @@ class Utils {
|
|
|
118
117
|
this.log.warn(`${this.namespaceLog} The id "${id}" has an invalid type! Expected "string" or "object", received "number".`);
|
|
119
118
|
this.log.warn(`${this.namespaceLog} This will be refused in future versions. Please report this to the developer.`);
|
|
120
119
|
}
|
|
121
|
-
else if (type !== 'string' && !tools.isObject(id)) {
|
|
120
|
+
else if (type !== 'string' && !js_controller_common_1.tools.isObject(id)) {
|
|
122
121
|
throw new Error(`The id "${id}" has an invalid type! Expected "string" or "object", received "${type}".`);
|
|
123
122
|
}
|
|
124
|
-
if (tools.isObject(id)) {
|
|
123
|
+
if (js_controller_common_1.tools.isObject(id)) {
|
|
125
124
|
// id can be an object, at least one of the following properties has to exist
|
|
126
125
|
const reqProperties = ['device', 'channel', 'state'];
|
|
127
126
|
let found = false;
|
|
@@ -157,7 +156,7 @@ class Utils {
|
|
|
157
156
|
*/
|
|
158
157
|
static getErrorText(code) {
|
|
159
158
|
code = code || 0;
|
|
160
|
-
return (EXIT_CODES[code] || code).toString();
|
|
159
|
+
return (js_controller_common_1.EXIT_CODES[code] || code).toString();
|
|
161
160
|
}
|
|
162
161
|
/**
|
|
163
162
|
* Adds the namespace to the id if it is missing, if an object is passed it will be converted to an id string
|
|
@@ -182,7 +181,7 @@ class Utils {
|
|
|
182
181
|
}
|
|
183
182
|
}
|
|
184
183
|
}
|
|
185
|
-
else if (tools.isObject(id)) {
|
|
184
|
+
else if (js_controller_common_1.tools.isObject(id)) {
|
|
186
185
|
// If id is an object
|
|
187
186
|
// Add namespace + device + channel
|
|
188
187
|
result = `${this.namespace}.${id.device ? id.device + '.' : ''}${id.channel ? id.channel + '.' : ''}${id.state ? id.state : ''}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/lib/adapter/utils.ts"],"names":[],"mappings":";;;AAAA,2CAAgD;AAChD,
|
|
1
|
+
{"version":3,"file":"utils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
|
|
3
|
+
"version": "4.1.0-alpha.10-20220312-cb53b8bb",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=12.0.0"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@alcalzone/pak": "^0.7.0",
|
|
9
|
-
"@iobroker/db-objects-file": "4.0.
|
|
10
|
-
"@iobroker/db-objects-jsonl": "4.0.
|
|
11
|
-
"@iobroker/db-objects-redis": "4.0.
|
|
12
|
-
"@iobroker/db-states-file": "4.0.
|
|
13
|
-
"@iobroker/db-states-jsonl": "4.0.
|
|
14
|
-
"@iobroker/db-states-redis": "4.0.
|
|
15
|
-
"@iobroker/js-controller-common": "4.0.
|
|
9
|
+
"@iobroker/db-objects-file": "4.1.0-alpha.10-20220312-cb53b8bb",
|
|
10
|
+
"@iobroker/db-objects-jsonl": "4.1.0-alpha.10-20220312-cb53b8bb",
|
|
11
|
+
"@iobroker/db-objects-redis": "4.1.0-alpha.10-20220312-cb53b8bb",
|
|
12
|
+
"@iobroker/db-states-file": "4.1.0-alpha.10-20220312-cb53b8bb",
|
|
13
|
+
"@iobroker/db-states-jsonl": "4.1.0-alpha.10-20220312-cb53b8bb",
|
|
14
|
+
"@iobroker/db-states-redis": "4.1.0-alpha.10-20220312-cb53b8bb",
|
|
15
|
+
"@iobroker/js-controller-common": "4.1.0-alpha.10-20220312-cb53b8bb",
|
|
16
16
|
"@iobroker/plugin-base": "~1.2.1",
|
|
17
17
|
"@iobroker/plugin-sentry": "~1.2.0",
|
|
18
18
|
"deep-clone": "^3.0.3",
|
|
19
|
-
"fs-extra": "^10.0.
|
|
19
|
+
"fs-extra": "^10.0.1",
|
|
20
20
|
"jsonwebtoken": "^8.5.1",
|
|
21
21
|
"node-schedule": "^2.1.0",
|
|
22
22
|
"node.extend": "^2.0.2",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"build/index.js",
|
|
54
54
|
"build/index.d.ts"
|
|
55
55
|
],
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "c17064149aa818ae28d33f77d14c591174a72287"
|
|
57
57
|
}
|