@harnessio/react-sei-panorama-service-client 0.31.1 → 0.31.2

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.
@@ -7,7 +7,7 @@ import type { ResponseWithPagination } from '../helpers';
7
7
  import { FetcherOptions } from '../../../../fetcher/index.js';
8
8
  export type DeveloperControllerUpsertDeveloperIdentitiesRequestBody = DeveloperIdentity[];
9
9
  export type DeveloperControllerUpsertDeveloperIdentitiesOkResponse = ResponseWithPagination<DeveloperIdentityUpsertResponse>;
10
- export type DeveloperControllerUpsertDeveloperIdentitiesErrorResponse = DeveloperIdentityUpsertFailureResponse | ErrorResponse;
10
+ export type DeveloperControllerUpsertDeveloperIdentitiesErrorResponse = (DeveloperIdentityUpsertFailureResponse & ErrorResponse) | ErrorResponse;
11
11
  export interface DeveloperControllerUpsertDeveloperIdentitiesProps extends Omit<FetcherOptions<unknown, DeveloperControllerUpsertDeveloperIdentitiesRequestBody>, 'url'> {
12
12
  body: DeveloperControllerUpsertDeveloperIdentitiesRequestBody;
13
13
  }
@@ -2,7 +2,7 @@ import type { ActiveThreshold } from '../schemas/ActiveThreshold';
2
2
  import type { TimeSeriesPeriod } from '../schemas/TimeSeriesPeriod';
3
3
  import type { SegmentSummary } from '../schemas/SegmentSummary';
4
4
  /**
5
- * Per-segment summary cards for leaderboard categories. Counts can sum to more than total_population due to multi-segment membership.
5
+ * Per-segment summary cards for leaderboard categories. Developer segment counts sum to total_population; repository segments are mutually exclusive and also sum to total_population.
6
6
  */
7
7
  export interface LeaderboardSegmentsSummaryData {
8
8
  /**
@@ -18,7 +18,7 @@ export interface LeaderboardSegmentsSummaryData {
18
18
  */
19
19
  segments?: SegmentSummary[];
20
20
  /**
21
- * Total population in scope (before segment filtering)
21
+ * Total entities in scope for segmentation (developers or repos, before segment filtering)
22
22
  * @format int32
23
23
  * @example 17
24
24
  */
@@ -1,4 +1,5 @@
1
1
  import type { ActiveUsersCount } from '../schemas/ActiveUsersCount';
2
+ import type { SimpleMetric } from '../schemas/SimpleMetric';
2
3
  import type { MetricValueWithUnit } from '../schemas/MetricValueWithUnit';
3
4
  /**
4
5
  * Summary for one leaderboard segment
@@ -35,6 +36,10 @@ export interface SegmentSummary {
35
36
  * @example 0
36
37
  */
37
38
  matchingPct?: number;
39
+ /**
40
+ * All summary metrics such as counts, spend, pct, etc.
41
+ */
42
+ metrics?: SimpleMetric[];
38
43
  /**
39
44
  * Total spend for entities in this class
40
45
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.31.1",
3
+ "version": "0.31.2",
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",