Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
25ff0b9903 | ||
|
|
2f8f3ea017 | ||
|
|
c3f0fd84ac | ||
|
|
64eb6fbf4e |
10
dist/index.d.ts
vendored
10
dist/index.d.ts
vendored
@@ -1,6 +1,6 @@
|
|||||||
export * from "./fastify";
|
export * from "./fastify.js";
|
||||||
export * from "./homeassistant";
|
export * from "./homeassistant.js";
|
||||||
export * as Logger from "./logger";
|
export * from "./logger.js";
|
||||||
export * from "./tidal";
|
export * from "./tidal.js";
|
||||||
export * as TimeHelper from "./timehelper";
|
export * from "./timehelper.js";
|
||||||
//# sourceMappingURL=index.d.ts.map
|
//# sourceMappingURL=index.d.ts.map
|
||||||
2
dist/index.d.ts.map
vendored
2
dist/index.d.ts.map
vendored
@@ -1 +1 @@
|
|||||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,cAAc,SAAS,CAAC;AACxB,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC"}
|
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC"}
|
||||||
10
dist/index.js
vendored
10
dist/index.js
vendored
@@ -1,5 +1,5 @@
|
|||||||
export * from "./fastify";
|
export * from "./fastify.js";
|
||||||
export * from "./homeassistant";
|
export * from "./homeassistant.js";
|
||||||
export * as Logger from "./logger";
|
export * from "./logger.js";
|
||||||
export * from "./tidal";
|
export * from "./tidal.js";
|
||||||
export * as TimeHelper from "./timehelper";
|
export * from "./timehelper.js";
|
||||||
|
|||||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@dpu/shared",
|
"name": "@dpu/shared",
|
||||||
"version": "1.2.0",
|
"version": "1.2.2",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@dpu/shared",
|
"name": "@dpu/shared",
|
||||||
"version": "1.2.0",
|
"version": "1.2.2",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^1.7.9",
|
"axios": "^1.7.9",
|
||||||
"chalk": "^5.6.2",
|
"chalk": "^5.6.2",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@dpu/shared",
|
"name": "@dpu/shared",
|
||||||
"version": "1.2.0",
|
"version": "1.2.2",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
|
|||||||
@@ -5,9 +5,9 @@ export type ServiceResult<T = unknown> = {
|
|||||||
successful: boolean;
|
successful: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type API_Error = {
|
export class API_Error {
|
||||||
error: string;
|
constructor(public error: string) {}
|
||||||
};
|
}
|
||||||
|
|
||||||
export abstract class BaseClient {
|
export abstract class BaseClient {
|
||||||
private axiosInstance: AxiosInstance;
|
private axiosInstance: AxiosInstance;
|
||||||
|
|||||||
10
src/index.ts
10
src/index.ts
@@ -1,5 +1,5 @@
|
|||||||
export * from "./fastify";
|
export * from "./fastify.js";
|
||||||
export * from "./homeassistant";
|
export * from "./homeassistant.js";
|
||||||
export * from "./logger";
|
export * from "./logger.js";
|
||||||
export * from "./tidal";
|
export * from "./tidal.js";
|
||||||
export * from "./timehelper";
|
export * from "./timehelper.js";
|
||||||
|
|||||||
Reference in New Issue
Block a user