@harnessio/react-sei-panorama-service-client 0.25.6 → 0.25.7
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/sei-panorama-service/src/services/index.d.ts +1 -0
- package/dist/sei-panorama-service/src/services/schemas/IntegrationRawMetrics.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/PaginationInfo.d.ts +4 -14
- package/dist/sei-panorama-service/src/services/schemas/PaginationRecord.d.ts +29 -0
- package/dist/sei-panorama-service/src/services/schemas/PaginationRecord.js +4 -0
- package/package.json +1 -1
|
@@ -570,6 +570,7 @@ export type { PaginatedResponseTeamSummary } from './schemas/PaginatedResponseTe
|
|
|
570
570
|
export type { PaginationInfo } from './schemas/PaginationInfo';
|
|
571
571
|
export type { PaginationMetadata } from './schemas/PaginationMetadata';
|
|
572
572
|
export type { PaginationParams } from './schemas/PaginationParams';
|
|
573
|
+
export type { PaginationRecord } from './schemas/PaginationRecord';
|
|
573
574
|
export type { PaginationRequest } from './schemas/PaginationRequest';
|
|
574
575
|
export type { PrCommitsRequest } from './schemas/PrCommitsRequest';
|
|
575
576
|
export type { PrCommitsResponse } from './schemas/PrCommitsResponse';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PaginationRecord } from '../schemas/PaginationRecord';
|
|
2
2
|
import type { UserMetrics } from '../schemas/UserMetrics';
|
|
3
3
|
/**
|
|
4
4
|
* Integration raw metrics with pagination
|
|
@@ -7,7 +7,7 @@ export interface IntegrationRawMetrics {
|
|
|
7
7
|
/**
|
|
8
8
|
* Pagination information
|
|
9
9
|
*/
|
|
10
|
-
pagination?:
|
|
10
|
+
pagination?: PaginationRecord;
|
|
11
11
|
/**
|
|
12
12
|
* List of user metrics
|
|
13
13
|
*/
|
|
@@ -1,29 +1,19 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Pagination information
|
|
3
|
-
*/
|
|
4
1
|
export interface PaginationInfo {
|
|
5
2
|
/**
|
|
6
|
-
* Current page number
|
|
7
3
|
* @format int32
|
|
8
|
-
* @example 0
|
|
9
4
|
*/
|
|
10
5
|
currentPage?: number;
|
|
6
|
+
hasMore?: boolean;
|
|
11
7
|
/**
|
|
12
|
-
* Page size
|
|
13
8
|
* @format int32
|
|
14
|
-
* @example 10
|
|
15
9
|
*/
|
|
16
10
|
pageSize?: number;
|
|
17
11
|
/**
|
|
18
|
-
*
|
|
19
|
-
* @format int32
|
|
20
|
-
* @example 12
|
|
12
|
+
* @format int64
|
|
21
13
|
*/
|
|
22
|
-
|
|
14
|
+
totalItems?: number;
|
|
23
15
|
/**
|
|
24
|
-
* Total number of records
|
|
25
16
|
* @format int64
|
|
26
|
-
* @example 120
|
|
27
17
|
*/
|
|
28
|
-
|
|
18
|
+
totalPages?: number;
|
|
29
19
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pagination information
|
|
3
|
+
*/
|
|
4
|
+
export interface PaginationRecord {
|
|
5
|
+
/**
|
|
6
|
+
* Current page number
|
|
7
|
+
* @format int32
|
|
8
|
+
* @example 0
|
|
9
|
+
*/
|
|
10
|
+
currentPage?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Page size
|
|
13
|
+
* @format int32
|
|
14
|
+
* @example 10
|
|
15
|
+
*/
|
|
16
|
+
pageSize?: number;
|
|
17
|
+
/**
|
|
18
|
+
* Total number of pages
|
|
19
|
+
* @format int32
|
|
20
|
+
* @example 12
|
|
21
|
+
*/
|
|
22
|
+
totalPages?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Total number of records
|
|
25
|
+
* @format int64
|
|
26
|
+
* @example 120
|
|
27
|
+
*/
|
|
28
|
+
totalRecords?: number;
|
|
29
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.7",
|
|
4
4
|
"description": "Harness React sei panorama service client - SEI Panorama APIs integrated with react hooks for Panorama project",
|
|
5
5
|
"author": "Harness Inc",
|
|
6
6
|
"license": "MIT",
|