@harnessio/react-ssca-manager-client 0.57.0 → 0.59.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.
@@ -6,6 +6,7 @@ export interface GetArtifactV2OverviewQueryPathParams {
6
6
  org: string;
7
7
  project: string;
8
8
  artifact: string;
9
+ source: string;
9
10
  }
10
11
  export interface GetArtifactV2OverviewQueryHeaderParams {
11
12
  'Harness-Account': string;
@@ -4,11 +4,11 @@
4
4
  import { useQuery } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
6
  export function getArtifactV2Overview(props) {
7
- return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/artifacts/${props.artifact}/overview`, method: 'GET' }, props));
7
+ return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/artifact-sources/${props.source}/artifacts/${props.artifact}/overview`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
10
  * Get ArtifactV2 Overview
11
11
  */
12
12
  export function useGetArtifactV2OverviewQuery(props, options) {
13
- return useQuery(['getArtifactV2Overview', props.org, props.project, props.artifact], ({ signal }) => getArtifactV2Overview(Object.assign(Object.assign({}, props), { signal })), options);
13
+ return useQuery(['getArtifactV2Overview', props.org, props.project, props.artifact, props.source], ({ signal }) => getArtifactV2Overview(Object.assign(Object.assign({}, props), { signal })), options);
14
14
  }
@@ -1,7 +1,9 @@
1
+ import type { PipelineDetails } from '../schemas/PipelineDetails';
1
2
  export interface SbomInfo {
2
3
  components_count?: number;
3
4
  drift_id?: string;
4
5
  orchestration_id?: string;
5
6
  org_id?: string;
7
+ pipeline_details?: PipelineDetails;
6
8
  project_id?: string;
7
9
  }
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -1,5 +1,7 @@
1
+ import type { PipelineDetails } from '../schemas/PipelineDetails';
1
2
  export interface SlsaDetails {
2
3
  org_id?: string;
4
+ pipeline_details?: PipelineDetails;
3
5
  project_id?: string;
4
6
  provenance_id?: string;
5
7
  status?: string;
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -1,5 +1,7 @@
1
+ import type { PipelineDetails } from '../schemas/PipelineDetails';
1
2
  export interface Violations {
2
3
  allow_list_violations?: number;
3
4
  deny_list_violations?: number;
4
5
  enforcement_id?: string;
6
+ pipeline_details?: PipelineDetails;
5
7
  }
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ssca-manager-client",
3
- "version": "0.57.0",
3
+ "version": "0.59.0",
4
4
  "description": "Harness SSCA manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",