Compare commits

...

6 Commits

Author SHA1 Message Date
Darius
8daeed6b5f 1.5.4 2026-02-05 01:00:05 +01:00
Darius
6d05233a6e fix logger import 2026-02-05 00:59:56 +01:00
Darius
3dd61ab4e8 1.5.3 2026-02-05 00:47:31 +01:00
Darius
b7ea7bc552 dont need volume 2026-02-05 00:47:23 +01:00
Darius
d23c89c3c9 1.5.2 2026-02-05 00:31:13 +01:00
Darius
fd766a822c add homepage information type pt2 2026-02-05 00:31:08 +01:00
7 changed files with 12 additions and 12 deletions

6
dist/homepage.d.ts vendored
View File

@@ -1,8 +1,8 @@
import { API_HA_DeskPosition } from "./homeassistant";
import { TidalGetCurrent } from "./tidal";
export type FullInformation = {
ha_desk_position: API_HA_DeskPosition;
ha_temp: string;
tidal_current: TidalGetCurrent;
ha_desk_position: API_HA_DeskPosition | null;
ha_temp: string | null;
tidal_current: TidalGetCurrent | null;
};
//# sourceMappingURL=homepage.d.ts.map

View File

@@ -1 +1 @@
{"version":3,"file":"homepage.d.ts","sourceRoot":"","sources":["../src/homepage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,MAAM,eAAe,GAAG;IAC7B,gBAAgB,EAAE,mBAAmB,CAAC;IACtC,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,eAAe,CAAC;CAC/B,CAAA"}
{"version":3,"file":"homepage.d.ts","sourceRoot":"","sources":["../src/homepage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,MAAM,eAAe,GAAG;IAC7B,gBAAgB,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAC7C,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,aAAa,EAAE,eAAe,GAAG,IAAI,CAAC;CACtC,CAAA"}

2
dist/sse.js vendored
View File

@@ -1,4 +1,4 @@
import { logInfo } from "./logger";
import { logInfo } from "./logger.js";
export class SseService {
clients = new Set();
addClient(client) {

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@dpu/shared",
"version": "1.5.1",
"version": "1.5.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@dpu/shared",
"version": "1.5.1",
"version": "1.5.4",
"dependencies": {
"axios": "^1.7.9",
"chalk": "^5.6.2",

View File

@@ -1,6 +1,6 @@
{
"name": "@dpu/shared",
"version": "1.5.1",
"version": "1.5.4",
"description": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@@ -2,7 +2,7 @@ import { API_HA_DeskPosition } from "./homeassistant";
import { TidalGetCurrent } from "./tidal";
export type FullInformation = {
ha_desk_position: API_HA_DeskPosition;
ha_temp: string;
tidal_current: TidalGetCurrent;
ha_desk_position: API_HA_DeskPosition | null;
ha_temp: string | null;
tidal_current: TidalGetCurrent | null;
}

View File

@@ -1,4 +1,4 @@
import { logInfo } from "./logger";
import { logInfo } from "./logger.js";
export type SseClient = {
id: number;