hoffmation-base 2.9.10 → 2.9.12
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/lib/models/deviceSettings/index.d.ts +0 -1
- package/lib/models/deviceSettings/index.js +0 -1
- package/lib/models/deviceSettings/shutterSettings.d.ts +10 -0
- package/lib/models/deviceSettings/shutterSettings.js +8 -2
- package/lib/server/devices/baseDeviceInterfaces/iShutter.d.ts +2 -0
- package/lib/server/devices/groups/Window.d.ts +0 -2
- package/lib/server/devices/groups/Window.js +0 -1
- package/lib/server/devices/groups/windowGroup.js +4 -3
- package/lib/server/devices/hmIPDevices/hmIpRoll.d.ts +2 -0
- package/lib/server/devices/hmIPDevices/hmIpRoll.js +1 -0
- package/lib/server/services/utils/utils.js +2 -2
- package/lib/server/services/weather/weather-service.d.ts +2 -2
- package/lib/server/services/weather/weather-service.js +4 -4
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/lib/models/deviceSettings/windowSettings.d.ts +0 -10
- package/lib/models/deviceSettings/windowSettings.js +0 -15
package/package.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { DeviceSettings } from './deviceSettings';
|
|
2
|
-
export declare class WindowSettings extends DeviceSettings {
|
|
3
|
-
/**
|
|
4
|
-
* The direction this window is facing (0 = North, 180 = South)
|
|
5
|
-
* @type {number}
|
|
6
|
-
*/
|
|
7
|
-
direction?: number;
|
|
8
|
-
fromPartialObject(data: Partial<WindowSettings>): void;
|
|
9
|
-
protected toJSON(): Partial<WindowSettings>;
|
|
10
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WindowSettings = void 0;
|
|
4
|
-
const deviceSettings_1 = require("./deviceSettings");
|
|
5
|
-
class WindowSettings extends deviceSettings_1.DeviceSettings {
|
|
6
|
-
fromPartialObject(data) {
|
|
7
|
-
var _a;
|
|
8
|
-
this.direction = (_a = data.direction) !== null && _a !== void 0 ? _a : this.direction;
|
|
9
|
-
super.fromPartialObject(data);
|
|
10
|
-
}
|
|
11
|
-
toJSON() {
|
|
12
|
-
return this;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
exports.WindowSettings = WindowSettings;
|