@hedia/types 2.3.9-alpha.0 → 2.3.9-alpha.1
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/dist/types/types/types.d.ts +4 -0
- package/dist/{v3/services/projectLucas.js → types/types/types.js} +1 -1
- package/dist/types/types/types.js.map +1 -0
- package/dist/v3/index.d.ts +0 -1
- package/dist/v3/index.js +0 -1
- package/dist/v3/index.js.map +1 -1
- package/dist/v3/services/notification.d.ts +17 -1
- package/dist/v3/services/user.d.ts +13 -4
- package/package.json +1 -1
- package/dist/v3/services/projectLucas.d.ts +0 -24
- package/dist/v3/services/projectLucas.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../types/types/types.ts"],"names":[],"mappings":""}
|
package/dist/v3/index.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ export * from "./services/logbook";
|
|
|
8
8
|
export * from "./services/menarini";
|
|
9
9
|
export * from "./services/notification";
|
|
10
10
|
export * from "./services/forecast";
|
|
11
|
-
export * from "./services/projectLucas";
|
|
12
11
|
export * from "./services/report";
|
|
13
12
|
export * from "./services/user";
|
|
14
13
|
export * from "./physicalActivity/physicalActivity";
|
package/dist/v3/index.js
CHANGED
|
@@ -20,7 +20,6 @@ __exportStar(require("./services/logbook"), exports);
|
|
|
20
20
|
__exportStar(require("./services/menarini"), exports);
|
|
21
21
|
__exportStar(require("./services/notification"), exports);
|
|
22
22
|
__exportStar(require("./services/forecast"), exports);
|
|
23
|
-
__exportStar(require("./services/projectLucas"), exports);
|
|
24
23
|
__exportStar(require("./services/report"), exports);
|
|
25
24
|
__exportStar(require("./services/user"), exports);
|
|
26
25
|
__exportStar(require("./physicalActivity/physicalActivity"), exports);
|
package/dist/v3/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../v3/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAA0B;AAC1B,oDAAkC;AAClC,kDAAgC;AAChC,kDAAgC;AAChC,iDAA+B;AAC/B,mDAAiC;AACjC,qDAAmC;AACnC,sDAAoC;AACpC,0DAAwC;AACxC,sDAAoC;AACpC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../v3/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAA0B;AAC1B,oDAAkC;AAClC,kDAAgC;AAChC,kDAAgC;AAChC,iDAA+B;AAC/B,mDAAiC;AACjC,qDAAmC;AACnC,sDAAoC;AACpC,0DAAwC;AACxC,sDAAoC;AACpC,oDAAkC;AAClC,kDAAgC;AAChC,sEAAoD;AACpD,4DAA0C;AAC1C,wDAAsC;AACtC,8CAA4B"}
|
|
@@ -4,9 +4,25 @@ export declare namespace NotificationService {
|
|
|
4
4
|
title: string;
|
|
5
5
|
body: string;
|
|
6
6
|
}
|
|
7
|
+
interface IAndroidNotification {
|
|
8
|
+
notification: {
|
|
9
|
+
sound: string;
|
|
10
|
+
channelId: string;
|
|
11
|
+
icon: string;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
interface IIosNotification {
|
|
15
|
+
payload: {
|
|
16
|
+
aps: {
|
|
17
|
+
sound: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
}
|
|
7
21
|
interface INotificationOptions {
|
|
8
22
|
notification: INotification;
|
|
9
|
-
|
|
23
|
+
android: IAndroidNotification;
|
|
24
|
+
apns: IIosNotification;
|
|
25
|
+
token: string;
|
|
10
26
|
}
|
|
11
27
|
}
|
|
12
28
|
}
|
|
@@ -1,10 +1,19 @@
|
|
|
1
|
+
import { IRpcRoute } from "../../types/types/types";
|
|
1
2
|
import { Languages, Sex } from "../../v1/enums";
|
|
2
3
|
export declare namespace UserService {
|
|
3
4
|
namespace RPC {
|
|
4
|
-
namespace CreateUser {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
namespace
|
|
5
|
+
namespace CreateUser {
|
|
6
|
+
type Post = IRpcRoute<Types.ICreateUserRequest, Types.IUserResponse>;
|
|
7
|
+
}
|
|
8
|
+
namespace GetUser {
|
|
9
|
+
type Get = IRpcRoute<Types.IGetUserRequest, Types.IUserResponse>;
|
|
10
|
+
}
|
|
11
|
+
namespace UpdateUser {
|
|
12
|
+
type Patch = IRpcRoute<Types.IUpdateUserRequest, Types.IUserResponse>;
|
|
13
|
+
}
|
|
14
|
+
namespace DeleteUser {
|
|
15
|
+
type Delete = IRpcRoute<Types.IDeleteUserRequest, Types.IDeleteUserResponse>;
|
|
16
|
+
}
|
|
8
17
|
}
|
|
9
18
|
namespace Types {
|
|
10
19
|
interface ICreateUserRequest {
|
package/package.json
CHANGED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export declare namespace ProjectLucas {
|
|
2
|
-
namespace Types {
|
|
3
|
-
interface IForecastPacket {
|
|
4
|
-
inputDataTimestamp: string;
|
|
5
|
-
calculationTimestamp: string;
|
|
6
|
-
validPredictionTimestamp: string;
|
|
7
|
-
glucoseForecastMmoll: number;
|
|
8
|
-
glucoseForecastMmollDelta: number;
|
|
9
|
-
glucoseForecastStdDev: number;
|
|
10
|
-
worstParkeBox: number;
|
|
11
|
-
}
|
|
12
|
-
interface IForecast {
|
|
13
|
-
inputDataTimestamp: Date;
|
|
14
|
-
calculationTimestamp: Date;
|
|
15
|
-
validPredictionTimestamp: Date;
|
|
16
|
-
glucoseForecastMmoll: number;
|
|
17
|
-
glucoseForecastMmollDelta: number;
|
|
18
|
-
glucoseForecastStdDev: number;
|
|
19
|
-
glucoseForecastLowerDev: number;
|
|
20
|
-
glucoseForecastUpperDev: number;
|
|
21
|
-
worstParkeBox: number;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"projectLucas.js","sourceRoot":"","sources":["../../../v3/services/projectLucas.ts"],"names":[],"mappings":""}
|