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
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [3.1.17] - 2026-01-21
11
+
10
12
  ### Fixed
11
13
 
12
14
  - Performance tests now use reduced dataset size in CI to avoid timeouts
@@ -3,4 +3,7 @@ export interface RaainApiRainsCumulativesListRequest {
3
3
  provider?: string;
4
4
  isReady?: boolean;
5
5
  forced?: boolean;
6
+ detailed?: boolean;
7
+ page?: number;
8
+ limit?: number;
6
9
  }
@@ -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
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.bpInfo = void 0;
4
- exports.bpInfo = { version: 'v3.1.17' };
4
+ exports.bpInfo = { version: 'v3.1.18' };
5
5
  //# sourceMappingURL=bpInfo.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "raain-model",
3
- "version": "3.1.17",
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": "nyc mocha --require ts-node/register 'specs/**/**.spec.ts'",
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
  },