@hedia/types 2.4.0 → 2.4.1-alpha.0
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/tsconfig.tsbuildinfo +1 -0
- package/dist/v1/activity/activity.d.ts +57 -63
- package/dist/v1/activity/activity.js +24 -30
- package/dist/v1/activity/activity.js.map +1 -1
- package/dist/v1/boluscalculator/boluscalculator.d.ts +72 -80
- package/dist/v1/boluscalculator/boluscalculator.js +17 -26
- package/dist/v1/boluscalculator/boluscalculator.js.map +1 -1
- package/dist/v1/enums.js +10 -10
- package/dist/v1/enums.js.map +1 -1
- package/dist/v1/index.js +5 -1
- package/dist/v1/index.js.map +1 -1
- package/dist/v1/logbook/logbook.d.ts +133 -139
- package/dist/v1/logbook/logbook.js +10 -16
- package/dist/v1/logbook/logbook.js.map +1 -1
- package/dist/v1/userdetails/userdetails.d.ts +7 -11
- package/dist/v1/usersettings/usersettings.d.ts +122 -128
- package/dist/v1/usersettings/usersettings.js +46 -52
- package/dist/v1/usersettings/usersettings.js.map +1 -1
- package/package.json +41 -38
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -14
- package/dist/index.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.es2021.d.ts","../node_modules/typescript/lib/lib.es2022.d.ts","../node_modules/typescript/lib/lib.es2023.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2016.intl.d.ts","../node_modules/typescript/lib/lib.es2017.date.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/typescript/lib/lib.es2021.string.d.ts","../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../node_modules/typescript/lib/lib.es2021.intl.d.ts","../node_modules/typescript/lib/lib.es2022.array.d.ts","../node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/typescript/lib/lib.es2022.intl.d.ts","../node_modules/typescript/lib/lib.es2022.object.d.ts","../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2022.string.d.ts","../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../node_modules/typescript/lib/lib.es2023.array.d.ts","../node_modules/typescript/lib/lib.es2023.collection.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../v1/enums.ts","../v1/activity/activity.ts","../v1/boluscalculator/boluscalculator.ts","../v1/logbook/logbook.ts","../v1/userdetails/userdetails.ts","../v1/usersettings/usersettings.ts","../v1/index.ts","../node_modules/@types/minimist/index.d.ts","../node_modules/@types/normalize-package-data/index.d.ts"],"fileInfos":[{"version":"824cb491a40f7e8fdeb56f1df5edf91b23f3e3ee6b4cde84d4a99be32338faee","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","impliedFormat":1},{"version":"1c0cdb8dc619bc549c3e5020643e7cf7ae7940058e8c7e5aefa5871b6d86f44b","impliedFormat":1},{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true,"impliedFormat":1},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true,"impliedFormat":1},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true,"impliedFormat":1},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true,"impliedFormat":1},{"version":"b20fe0eca9a4e405f1a5ae24a2b3290b37cf7f21eba6cbe4fc3fab979237d4f3","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true,"impliedFormat":1},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true,"impliedFormat":1},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true,"impliedFormat":1},{"version":"8073890e29d2f46fdbc19b8d6d2eb9ea58db9a2052f8640af20baff9afbc8640","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"51e547984877a62227042850456de71a5c45e7fe86b7c975c6e68896c86fa23b","affectsGlobalScope":true,"impliedFormat":1},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true,"impliedFormat":1},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true,"impliedFormat":1},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true,"impliedFormat":1},{"version":"d8670852241d4c6e03f2b89d67497a4bbefe29ecaa5a444e2c11a9b05e6fccc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true,"impliedFormat":1},{"version":"08a58483392df5fcc1db57d782e87734f77ae9eab42516028acbfe46f29a3ef7","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"b06e2d8c89e85a1ee6edb38d7f0cfb72f7170f57e63008ca523548e70f30eb03","signature":"c6ae9d5f09be97d77e81e89f0f7820bcae856024b3096b391a9bb66229a526e8","impliedFormat":1},{"version":"f7d5e5f3f55990f4bf2a37ce4fd664a960133873afd93261ba9494a6cf67bad9","signature":"a39e94160cfbaddb58d3d5c58b66bac92790d1e1260ed6efe9eed54cedfcfd87","impliedFormat":1},{"version":"1bbc8196ad1704234d4f4c34a96aaaac0b5a817ce98152473919a036f0b755c5","signature":"e66ebe54f7e01f99f046ad3655a85b74f41b6e52857fe26a53e090aaebe949cd","impliedFormat":1},{"version":"ffa3cb27795bf65b2b11a21ad80304bdf7aa908f01edf3fec767da17b04a0d61","signature":"47efb67f92ee4ef1829e75ac3c125e417543e6dc991633220b2192be97df49b4","impliedFormat":1},{"version":"fad8dfb2628c9d68f2308483f93411d65a5b1c8f7115c3f7aab6b37a520b16cc","signature":"8fffcb80e25ce37bfd3c7f5deca2a10304486476ce192582c81dc0cb9887f1f7","impliedFormat":1},{"version":"a6692bb17372e34567152656a0ce953746ac302766e88b04209c10383ef857b2","signature":"2f16c5fe7e1279021d60b0e54c2a44a9dc301fcf1c61501c065161bbe36dd37d","impliedFormat":1},{"version":"de9ac8faabb5733b2b7de83b96b9a0ff6ffc888d8fa3b7c7a8879d25e73b013c","impliedFormat":1},{"version":"fbca5ffaebf282ec3cdac47b0d1d4a138a8b0bb32105251a38acb235087d3318","impliedFormat":1},{"version":"22293bd6fa12747929f8dfca3ec1684a3fe08638aa18023dd286ab337e88a592","impliedFormat":1}],"root":[[61,67]],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":199,"noErrorTruncation":true,"noImplicitReturns":true,"noUnusedLocals":true,"outDir":"./","rootDir":"..","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9},"fileIdsList":[[62],[61,62,63,64,65,66],[61],[61,62]],"referencedMap":[[63,1],[67,2],[65,3],[66,4]],"exportedModulesMap":[[63,1],[67,2],[65,3],[66,4]],"semanticDiagnosticsPerFile":[68,69,59,60,12,11,2,13,14,15,16,17,18,19,20,3,21,4,22,26,23,24,25,27,28,29,5,30,31,32,33,6,37,34,35,36,38,7,39,44,45,40,41,42,43,8,49,46,47,48,50,9,51,52,53,56,54,55,57,58,10,1,62,63,61,67,64,65,66]},"version":"5.4.3"}
|
|
@@ -1,64 +1,58 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
uuidOld?: IActivityEntry["uuid"];
|
|
12
|
-
overwrittenByUUID?: IActivityEntry["uuid"];
|
|
13
|
-
}
|
|
14
|
-
/** Type that represents the user’s settings related to physical activity. */
|
|
15
|
-
export type ActivitySettings = ActivityReductionSettings & ActivityTarget;
|
|
16
|
-
/** Represents a set of insulin reduction fraction settings that can vary by the duration of the activity. */
|
|
17
|
-
export type ActivityReductionIntervals = ActivityReductionSettings[keyof ActivityReductionSettings];
|
|
18
|
-
/**
|
|
19
|
-
* Represents whether the reduction fraction is a number or it is null.
|
|
20
|
-
* Only for the settings of hard physical activities over 45 minutes the value is null.
|
|
21
|
-
* A null value represents that it is not supported by HDA.
|
|
22
|
-
*/
|
|
23
|
-
export type ReductionType = ActivityReductionIntervals[keyof ActivityReductionIntervals];
|
|
24
|
-
type ActivityIntensityKeys = keyof typeof Enums.ActivityIntensity;
|
|
25
|
-
type ActivityReductionKeys = keyof typeof Enums.ActivityReductionIntervals;
|
|
26
|
-
type ActivityReductionSettings = ActivityPostReduction & {
|
|
27
|
-
[key in ActivityIntensityKeys]: ActivityReductionSettingsIntervals<key, "hard", "fromFortysix">;
|
|
28
|
-
};
|
|
29
|
-
type ActivityPostReduction = {
|
|
30
|
-
post: {
|
|
31
|
-
[key in ActivityReductionKeys]: number;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
type ActivityTarget = {
|
|
35
|
-
target: number;
|
|
36
|
-
};
|
|
37
|
-
type ActivityReductionSettingsIntervals<K extends ActivityIntensityKeys, T extends ActivityIntensityKeys, U extends ActivityReductionKeys> = {
|
|
38
|
-
[key in ActivityReductionKeys]: K extends T ? (key extends U ? null | number : number) : number;
|
|
39
|
-
};
|
|
40
|
-
export {};
|
|
41
|
-
}
|
|
42
|
-
namespace Enums {
|
|
43
|
-
/** Enum that represents a set of insulin reduction fraction settings that can vary by the duration of the activity */
|
|
44
|
-
enum ActivityReductionIntervals {
|
|
45
|
-
fromZero = "fromZero",
|
|
46
|
-
fromThirty = "fromThirty",
|
|
47
|
-
fromFortysix = "fromFortysix"
|
|
48
|
-
}
|
|
49
|
-
/** Enum used to indicate the category or intensity of a physical activity. */
|
|
50
|
-
enum ActivityIntensity {
|
|
51
|
-
light = "light",
|
|
52
|
-
moderate = "moderate",
|
|
53
|
-
hard = "hard"
|
|
54
|
-
}
|
|
55
|
-
/** Enum used to indicate the type of physical activity performed by the user. */
|
|
56
|
-
enum ActivityEnum {
|
|
57
|
-
Run = "Run",
|
|
58
|
-
Walk = "Walk",
|
|
59
|
-
Cycling = "Cycling",
|
|
60
|
-
Swim = "Swim",
|
|
61
|
-
Other = "Other"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
1
|
+
export interface IActivityEntry {
|
|
2
|
+
uuid: string;
|
|
3
|
+
type: ActivityEnum | null;
|
|
4
|
+
activityIntensity: ActivityIntensity | null;
|
|
5
|
+
durationSeconds: number;
|
|
6
|
+
startTimestamp: string | null;
|
|
7
|
+
deleted: boolean;
|
|
8
|
+
title?: string;
|
|
9
|
+
uuidOld?: IActivityEntry["uuid"];
|
|
10
|
+
overwrittenByUUID?: IActivityEntry["uuid"];
|
|
64
11
|
}
|
|
12
|
+
/** Type that represents the user’s settings related to physical activity. */
|
|
13
|
+
export type ActivitySettings = ActivityReductionSettings & ActivityTarget;
|
|
14
|
+
/** Represents a set of insulin reduction fraction settings that can vary by the duration of the activity. */
|
|
15
|
+
export type ActivityReductionIntervalsType = ActivityReductionSettings[keyof ActivityReductionSettings];
|
|
16
|
+
/**
|
|
17
|
+
* Represents whether the reduction fraction is a number or it is null.
|
|
18
|
+
* Only for the settings of hard physical activities over 45 minutes the value is null.
|
|
19
|
+
* A null value represents that it is not supported by HDA.
|
|
20
|
+
*/
|
|
21
|
+
export type ReductionType = ActivityReductionIntervals[keyof ActivityReductionIntervals];
|
|
22
|
+
type ActivityIntensityKeys = keyof typeof ActivityIntensity;
|
|
23
|
+
type ActivityReductionKeys = keyof typeof ActivityReductionIntervals;
|
|
24
|
+
type ActivityReductionSettings = ActivityPostReduction & {
|
|
25
|
+
[key in ActivityIntensityKeys]: ActivityReductionSettingsIntervals<key, "hard", "fromFortysix">;
|
|
26
|
+
};
|
|
27
|
+
type ActivityPostReduction = {
|
|
28
|
+
post: {
|
|
29
|
+
[key in ActivityReductionKeys]: number;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
type ActivityTarget = {
|
|
33
|
+
target: number;
|
|
34
|
+
};
|
|
35
|
+
type ActivityReductionSettingsIntervals<K extends ActivityIntensityKeys, T extends ActivityIntensityKeys, U extends ActivityReductionKeys> = {
|
|
36
|
+
[key in ActivityReductionKeys]: K extends T ? (key extends U ? null | number : number) : number;
|
|
37
|
+
};
|
|
38
|
+
/** Enum that represents a set of insulin reduction fraction settings that can vary by the duration of the activity */
|
|
39
|
+
export declare enum ActivityReductionIntervals {
|
|
40
|
+
fromZero = "fromZero",
|
|
41
|
+
fromThirty = "fromThirty",
|
|
42
|
+
fromFortysix = "fromFortysix"
|
|
43
|
+
}
|
|
44
|
+
/** Enum used to indicate the category or intensity of a physical activity. */
|
|
45
|
+
export declare enum ActivityIntensity {
|
|
46
|
+
light = "light",
|
|
47
|
+
moderate = "moderate",
|
|
48
|
+
hard = "hard"
|
|
49
|
+
}
|
|
50
|
+
/** Enum used to indicate the type of physical activity performed by the user. */
|
|
51
|
+
export declare enum ActivityEnum {
|
|
52
|
+
Run = "Run",
|
|
53
|
+
Walk = "Walk",
|
|
54
|
+
Cycling = "Cycling",
|
|
55
|
+
Swim = "Swim",
|
|
56
|
+
Other = "Other"
|
|
57
|
+
}
|
|
58
|
+
export {};
|
|
@@ -1,33 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
ActivityEnum["Cycling"] = "Cycling";
|
|
28
|
-
ActivityEnum["Swim"] = "Swim";
|
|
29
|
-
ActivityEnum["Other"] = "Other";
|
|
30
|
-
})(ActivityEnum = Enums.ActivityEnum || (Enums.ActivityEnum = {}));
|
|
31
|
-
})(Enums = Activity.Enums || (Activity.Enums = {}));
|
|
32
|
-
})(Activity = exports.Activity || (exports.Activity = {}));
|
|
3
|
+
exports.ActivityEnum = exports.ActivityIntensity = exports.ActivityReductionIntervals = void 0;
|
|
4
|
+
/** Enum that represents a set of insulin reduction fraction settings that can vary by the duration of the activity */
|
|
5
|
+
var ActivityReductionIntervals;
|
|
6
|
+
(function (ActivityReductionIntervals) {
|
|
7
|
+
ActivityReductionIntervals["fromZero"] = "fromZero";
|
|
8
|
+
ActivityReductionIntervals["fromThirty"] = "fromThirty";
|
|
9
|
+
ActivityReductionIntervals["fromFortysix"] = "fromFortysix";
|
|
10
|
+
})(ActivityReductionIntervals || (exports.ActivityReductionIntervals = ActivityReductionIntervals = {}));
|
|
11
|
+
/** Enum used to indicate the category or intensity of a physical activity. */
|
|
12
|
+
var ActivityIntensity;
|
|
13
|
+
(function (ActivityIntensity) {
|
|
14
|
+
ActivityIntensity["light"] = "light";
|
|
15
|
+
ActivityIntensity["moderate"] = "moderate";
|
|
16
|
+
ActivityIntensity["hard"] = "hard";
|
|
17
|
+
})(ActivityIntensity || (exports.ActivityIntensity = ActivityIntensity = {}));
|
|
18
|
+
/** Enum used to indicate the type of physical activity performed by the user. */
|
|
19
|
+
var ActivityEnum;
|
|
20
|
+
(function (ActivityEnum) {
|
|
21
|
+
ActivityEnum["Run"] = "Run";
|
|
22
|
+
ActivityEnum["Walk"] = "Walk";
|
|
23
|
+
ActivityEnum["Cycling"] = "Cycling";
|
|
24
|
+
ActivityEnum["Swim"] = "Swim";
|
|
25
|
+
ActivityEnum["Other"] = "Other";
|
|
26
|
+
})(ActivityEnum || (exports.ActivityEnum = ActivityEnum = {}));
|
|
33
27
|
//# sourceMappingURL=activity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activity.js","sourceRoot":"","sources":["../../../v1/activity/activity.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"activity.js","sourceRoot":"","sources":["../../../v1/activity/activity.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|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
* Indicates how much the insulin recommendation was reduced due to physical activity.
|
|
74
|
-
* A value of 0.75 would indicate that the recommended insulin was reduced by 25%.
|
|
75
|
-
*/
|
|
76
|
-
activityReduction: number | null;
|
|
77
|
-
/** The estimated amount of active insulin (IOB) in IU. */
|
|
78
|
-
activeInsulin: number;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
1
|
+
import { ActivityIntensity, ActivitySettings } from "../activity/activity";
|
|
2
|
+
/** The maximum amount of insulin that may be recommended to the user. */
|
|
3
|
+
export declare const SAFETY_INSULIN_LIMIT = 60;
|
|
4
|
+
/** The maximum duration in minutes of a physical activity. */
|
|
5
|
+
export declare const SAFETY_ACTIVITY_LIMIT = 60;
|
|
6
|
+
/** The maximum reduction factor for a physical activity */
|
|
7
|
+
export declare const REDUCTION_MAX = 1;
|
|
8
|
+
/** The minimum reduction factor for a physical activity */
|
|
9
|
+
export declare const REDUCTION_MIN = 0;
|
|
10
|
+
/** Enum for differentiating between types of errors. */
|
|
11
|
+
export declare enum ActivityErrors {
|
|
12
|
+
OutOfRange = "Out of range",
|
|
13
|
+
InvalidInterval = "Invalid activity settings interval",
|
|
14
|
+
InvalidReduction = "Invalid activity Reduction",
|
|
15
|
+
MissingIntensity = "Missing activity intensity"
|
|
16
|
+
}
|
|
17
|
+
/** Represents a single bolus of fast-acting insulin that has been administered within the past 4 hours. */
|
|
18
|
+
export interface IRecentBolus {
|
|
19
|
+
/** The number of seconds that has passed since the bolus in question was administered. */
|
|
20
|
+
secondsPassed: number;
|
|
21
|
+
/** The amount of insulin that was administered with the bolus in question. */
|
|
22
|
+
insulinDose: number;
|
|
23
|
+
}
|
|
24
|
+
/** Details about a physical activity. */
|
|
25
|
+
export interface IActivityParams {
|
|
26
|
+
/** The duration of the physical activity in minutes. */
|
|
27
|
+
activityDuration: number;
|
|
28
|
+
/** The intensity of the activity */
|
|
29
|
+
activityIntensity: ActivityIntensity | null;
|
|
30
|
+
/** The user’s current settings for physical activity */
|
|
31
|
+
activitySettings: ActivitySettings;
|
|
32
|
+
/** Start date and time for the activity */
|
|
33
|
+
activityDate: Date;
|
|
34
|
+
}
|
|
35
|
+
/** IRecommendationParams contains data that is used to calculate a recommendation. */
|
|
36
|
+
export interface IRecommendationParams {
|
|
37
|
+
/** The user’s current blood glucose level in mmol/L */
|
|
38
|
+
currentBGL: number | null;
|
|
39
|
+
/** The blood glucose level in mmol/L that the user should ideally have at this time of day according to their settings/preferences. */
|
|
40
|
+
targetBGL: number;
|
|
41
|
+
/** The user’s current insulin sensitivity in (mmol/L)/IU according to their settings/preferences. */
|
|
42
|
+
insulinSensitivity: number;
|
|
43
|
+
/** The amount of carbohydrates in grams that the user has entered that they are going to eat. */
|
|
44
|
+
carbohydrates: number;
|
|
45
|
+
/** The user’s current insulin-to-carbs ratio in g/IU according to their settings/preferences. */
|
|
46
|
+
carbohydrateRatio: number;
|
|
47
|
+
/** A possibly empty array of IRecentBolus objects. */
|
|
48
|
+
recentBoluses: Array<IRecentBolus>;
|
|
49
|
+
/** Information about the activity that the user is doing including their activity settings */
|
|
50
|
+
activity: IActivityParams | null;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* The result of a recommendation calculation is returned by the calculateRecommendation() function as an object that implements this interface.
|
|
54
|
+
* Note that only one of bolus and carbRecommendation may be positive. If one is non-zero then the other must be zero.
|
|
55
|
+
*/
|
|
56
|
+
export interface IRecommendationResult {
|
|
57
|
+
/** The recommended amount of insulin measured in units. */
|
|
58
|
+
bolus: number;
|
|
59
|
+
/**
|
|
60
|
+
* Indicates whether or not the insulin recommendation (given in the bolus property) was capped because the underlying recommendation exceeded the safety limit.
|
|
61
|
+
* If it is true then we know that the recommendation would have been higher and can show and appropriate message to the user.
|
|
62
|
+
*/
|
|
63
|
+
wasLimited: boolean;
|
|
64
|
+
/** The number of carbs that the user is recommended to eat */
|
|
65
|
+
carbRecommendation: number;
|
|
66
|
+
/**
|
|
67
|
+
* Indicates how much the insulin recommendation was reduced due to physical activity.
|
|
68
|
+
* A value of 0.75 would indicate that the recommended insulin was reduced by 25%.
|
|
69
|
+
*/
|
|
70
|
+
activityReduction: number | null;
|
|
71
|
+
/** The estimated amount of active insulin (IOB) in IU. */
|
|
72
|
+
activeInsulin: number;
|
|
81
73
|
}
|
|
@@ -1,29 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
let ActivityErrors;
|
|
21
|
-
(function (ActivityErrors) {
|
|
22
|
-
ActivityErrors["OutOfRange"] = "Out of range";
|
|
23
|
-
ActivityErrors["InvalidInterval"] = "Invalid activity settings interval";
|
|
24
|
-
ActivityErrors["InvalidReduction"] = "Invalid activity Reduction";
|
|
25
|
-
ActivityErrors["MissingIntensity"] = "Missing activity intensity";
|
|
26
|
-
})(ActivityErrors = Enums.ActivityErrors || (Enums.ActivityErrors = {}));
|
|
27
|
-
})(Enums = BolusCalculator.Enums || (BolusCalculator.Enums = {}));
|
|
28
|
-
})(BolusCalculator = exports.BolusCalculator || (exports.BolusCalculator = {}));
|
|
3
|
+
exports.ActivityErrors = exports.REDUCTION_MIN = exports.REDUCTION_MAX = exports.SAFETY_ACTIVITY_LIMIT = exports.SAFETY_INSULIN_LIMIT = void 0;
|
|
4
|
+
/** The maximum amount of insulin that may be recommended to the user. */
|
|
5
|
+
exports.SAFETY_INSULIN_LIMIT = 60;
|
|
6
|
+
/** The maximum duration in minutes of a physical activity. */
|
|
7
|
+
exports.SAFETY_ACTIVITY_LIMIT = 60;
|
|
8
|
+
/** The maximum reduction factor for a physical activity */
|
|
9
|
+
exports.REDUCTION_MAX = 1;
|
|
10
|
+
/** The minimum reduction factor for a physical activity */
|
|
11
|
+
exports.REDUCTION_MIN = 0;
|
|
12
|
+
/** Enum for differentiating between types of errors. */
|
|
13
|
+
var ActivityErrors;
|
|
14
|
+
(function (ActivityErrors) {
|
|
15
|
+
ActivityErrors["OutOfRange"] = "Out of range";
|
|
16
|
+
ActivityErrors["InvalidInterval"] = "Invalid activity settings interval";
|
|
17
|
+
ActivityErrors["InvalidReduction"] = "Invalid activity Reduction";
|
|
18
|
+
ActivityErrors["MissingIntensity"] = "Missing activity intensity";
|
|
19
|
+
})(ActivityErrors || (exports.ActivityErrors = ActivityErrors = {}));
|
|
29
20
|
//# sourceMappingURL=boluscalculator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boluscalculator.js","sourceRoot":"","sources":["../../../v1/boluscalculator/boluscalculator.ts"],"names":[],"mappings":";;;AAEA,
|
|
1
|
+
{"version":3,"file":"boluscalculator.js","sourceRoot":"","sources":["../../../v1/boluscalculator/boluscalculator.ts"],"names":[],"mappings":";;;AAEA,yEAAyE;AAC5D,QAAA,oBAAoB,GAAG,EAAE,CAAC;AACvC,8DAA8D;AACjD,QAAA,qBAAqB,GAAG,EAAE,CAAC;AACxC,2DAA2D;AAC9C,QAAA,aAAa,GAAG,CAAC,CAAC;AAC/B,2DAA2D;AAC9C,QAAA,aAAa,GAAG,CAAC,CAAC;AAE/B,wDAAwD;AACxD,IAAY,cAKX;AALD,WAAY,cAAc;IACzB,6CAA2B,CAAA;IAC3B,wEAAsD,CAAA;IACtD,iEAA+C,CAAA;IAC/C,iEAA+C,CAAA;AAChD,CAAC,EALW,cAAc,8BAAd,cAAc,QAKzB"}
|
package/dist/v1/enums.js
CHANGED
|
@@ -11,18 +11,18 @@ var BloodGlucoseUnit;
|
|
|
11
11
|
(function (BloodGlucoseUnit) {
|
|
12
12
|
BloodGlucoseUnit["MMOL_L"] = "mmol/l";
|
|
13
13
|
BloodGlucoseUnit["MG_DL"] = "mg/dl";
|
|
14
|
-
})(BloodGlucoseUnit
|
|
14
|
+
})(BloodGlucoseUnit || (exports.BloodGlucoseUnit = BloodGlucoseUnit = {}));
|
|
15
15
|
/** Represents a unit for measuring blood ketone levels. */
|
|
16
16
|
var BloodKetonesUnit;
|
|
17
17
|
(function (BloodKetonesUnit) {
|
|
18
18
|
BloodKetonesUnit["MMOL_L"] = "mmol/l";
|
|
19
19
|
BloodKetonesUnit["MG_DL"] = "mg/dl";
|
|
20
|
-
})(BloodKetonesUnit
|
|
20
|
+
})(BloodKetonesUnit || (exports.BloodKetonesUnit = BloodKetonesUnit = {}));
|
|
21
21
|
/** Represents a unit for measuring insulin intake */
|
|
22
22
|
var InsulinUnit;
|
|
23
23
|
(function (InsulinUnit) {
|
|
24
24
|
InsulinUnit["IU"] = "IU";
|
|
25
|
-
})(InsulinUnit
|
|
25
|
+
})(InsulinUnit || (exports.InsulinUnit = InsulinUnit = {}));
|
|
26
26
|
/** Represents a language that the app can be displayed in. */
|
|
27
27
|
var Languages;
|
|
28
28
|
(function (Languages) {
|
|
@@ -33,14 +33,14 @@ var Languages;
|
|
|
33
33
|
Languages["fr"] = "Fran\u00E7ais";
|
|
34
34
|
Languages["it"] = "Italiano";
|
|
35
35
|
Languages["sv"] = "Svenska";
|
|
36
|
-
})(Languages
|
|
36
|
+
})(Languages || (exports.Languages = Languages = {}));
|
|
37
37
|
/** Represents a user's sex. */
|
|
38
38
|
var Sex;
|
|
39
39
|
(function (Sex) {
|
|
40
40
|
Sex["M"] = "Male";
|
|
41
41
|
Sex["F"] = "Female";
|
|
42
42
|
Sex["Unspecified"] = "Unspecified";
|
|
43
|
-
})(Sex
|
|
43
|
+
})(Sex || (exports.Sex = Sex = {}));
|
|
44
44
|
/** Enum containing constants for seconds, minutes, hours, or days in milliseconds */
|
|
45
45
|
var Milliseconds;
|
|
46
46
|
(function (Milliseconds) {
|
|
@@ -48,7 +48,7 @@ var Milliseconds;
|
|
|
48
48
|
Milliseconds[Milliseconds["Minute"] = 60000] = "Minute";
|
|
49
49
|
Milliseconds[Milliseconds["Hour"] = 3600000] = "Hour";
|
|
50
50
|
Milliseconds[Milliseconds["Day"] = 86400000] = "Day";
|
|
51
|
-
})(Milliseconds
|
|
51
|
+
})(Milliseconds || (exports.Milliseconds = Milliseconds = {}));
|
|
52
52
|
/** Enum containing the possible ketone levels of the user */
|
|
53
53
|
var KetoneLevels;
|
|
54
54
|
(function (KetoneLevels) {
|
|
@@ -57,7 +57,7 @@ var KetoneLevels;
|
|
|
57
57
|
KetoneLevels[KetoneLevels["SlightlyIncreased"] = 2] = "SlightlyIncreased";
|
|
58
58
|
KetoneLevels[KetoneLevels["Moderate"] = 3] = "Moderate";
|
|
59
59
|
KetoneLevels[KetoneLevels["High"] = 4] = "High";
|
|
60
|
-
})(KetoneLevels
|
|
60
|
+
})(KetoneLevels || (exports.KetoneLevels = KetoneLevels = {}));
|
|
61
61
|
/**
|
|
62
62
|
* Enum containing constants for displaying colour indicators regarding the blood ketone levels of the user.
|
|
63
63
|
* Blood ketones ranges and the color scheme can be found at:
|
|
@@ -71,7 +71,7 @@ var KetoneColours;
|
|
|
71
71
|
KetoneColours["SlightlyIncreased"] = "rgb(219, 152, 141)";
|
|
72
72
|
KetoneColours["Moderate"] = "rgb(169, 102, 96)";
|
|
73
73
|
KetoneColours["High"] = "rgb(119,55,81)";
|
|
74
|
-
})(KetoneColours
|
|
74
|
+
})(KetoneColours || (exports.KetoneColours = KetoneColours = {}));
|
|
75
75
|
var StatusCode;
|
|
76
76
|
(function (StatusCode) {
|
|
77
77
|
/**
|
|
@@ -400,7 +400,7 @@ var StatusCode;
|
|
|
400
400
|
* Client token expired, new token available from server.
|
|
401
401
|
*/
|
|
402
402
|
StatusCode[StatusCode["TOKEN_EXPIRED"] = 666] = "TOKEN_EXPIRED";
|
|
403
|
-
})(StatusCode
|
|
403
|
+
})(StatusCode || (exports.StatusCode = StatusCode = {}));
|
|
404
404
|
var HTTPRequestMethod;
|
|
405
405
|
(function (HTTPRequestMethod) {
|
|
406
406
|
/**
|
|
@@ -446,5 +446,5 @@ var HTTPRequestMethod;
|
|
|
446
446
|
* target resource.
|
|
447
447
|
*/
|
|
448
448
|
HTTPRequestMethod["TRACE"] = "TRACE";
|
|
449
|
-
})(HTTPRequestMethod
|
|
449
|
+
})(HTTPRequestMethod || (exports.HTTPRequestMethod = HTTPRequestMethod = {}));
|
|
450
450
|
//# sourceMappingURL=enums.js.map
|
package/dist/v1/enums.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../v1/enums.ts"],"names":[],"mappings":";;;AAAA,IAAK,KAGJ;AAHD,WAAK,KAAK;IACT,0BAAiB,CAAA;IACjB,wBAAe,CAAA;AAChB,CAAC,EAHI,KAAK,KAAL,KAAK,QAGT;AAED,4DAA4D;AAC5D,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC3B,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;AACpB,CAAC,EAHW,gBAAgB,
|
|
1
|
+
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../v1/enums.ts"],"names":[],"mappings":";;;AAAA,IAAK,KAGJ;AAHD,WAAK,KAAK;IACT,0BAAiB,CAAA;IACjB,wBAAe,CAAA;AAChB,CAAC,EAHI,KAAK,KAAL,KAAK,QAGT;AAED,4DAA4D;AAC5D,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC3B,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;AACpB,CAAC,EAHW,gBAAgB,gCAAhB,gBAAgB,QAG3B;AAED,2DAA2D;AAC3D,IAAY,gBAGX;AAHD,WAAY,gBAAgB;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
|
package/dist/v1/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
package/dist/v1/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../v1/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../v1/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,oEAAkD;AAClD,oDAAkC;AAClC,4DAA0C;AAC1C,8DAA4C;AAC5C,0CAAwB"}
|