raain-model 3.1.17 → 3.1.18
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/CHANGELOG.md
CHANGED
|
@@ -10,3 +10,22 @@ export interface RaainApiRainsCumulativesListResponse {
|
|
|
10
10
|
periods: CumulativePeriod[];
|
|
11
11
|
total: number;
|
|
12
12
|
}
|
|
13
|
+
export interface IndividualCumulative {
|
|
14
|
+
id: string;
|
|
15
|
+
date: string;
|
|
16
|
+
windowInMinutes: number;
|
|
17
|
+
provider: string;
|
|
18
|
+
timeStepInMinutes: number;
|
|
19
|
+
}
|
|
20
|
+
export interface PaginationInfo {
|
|
21
|
+
page: number;
|
|
22
|
+
limit: number;
|
|
23
|
+
totalPages: number;
|
|
24
|
+
hasNext: boolean;
|
|
25
|
+
hasPrev: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface RaainApiRainsCumulativesDetailedResponse {
|
|
28
|
+
cumulatives: IndividualCumulative[];
|
|
29
|
+
total: number;
|
|
30
|
+
pagination: PaginationInfo;
|
|
31
|
+
}
|
package/bpInfo.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "raain-model",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.18",
|
|
4
4
|
"author": "contact@radartorain.com",
|
|
5
5
|
"homepage": "https://github.com/raainio/raain-model",
|
|
6
6
|
"description": "radartorain.com api model",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"bp:main:package": "git checkout package && git merge main -m \"$(git log -1 --pretty=%B main)\" && git push --set-upstream origin package && git checkout main",
|
|
27
27
|
"build": "npm run build-dist",
|
|
28
28
|
"build-dist": "rm -rf dist/ && npx tsc && cp package.json dist/ && cp *.md dist/",
|
|
29
|
-
"test": "
|
|
29
|
+
"test": "mocha --require ts-node/register 'specs/**/**.spec.ts'",
|
|
30
30
|
"docs": "typedoc --out docs src/",
|
|
31
31
|
"docs:serve": "npx serve docs"
|
|
32
32
|
},
|