@harnessio/react-har-service-client 0.12.0 → 0.14.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.
@@ -160,6 +160,7 @@ export type { ListWebhooks } from './schemas/ListWebhooks';
160
160
  export type { ListWebhooksExecutions } from './schemas/ListWebhooksExecutions';
161
161
  export type { MavenArtifactDetailConfig } from './schemas/MavenArtifactDetailConfig';
162
162
  export type { NpmArtifactDetailConfig } from './schemas/NpmArtifactDetailConfig';
163
+ export type { NugetArtifactDetailConfig } from './schemas/NugetArtifactDetailConfig';
163
164
  export type { PackageType } from './schemas/PackageType';
164
165
  export type { PythonArtifactDetailConfig } from './schemas/PythonArtifactDetailConfig';
165
166
  export type { Registry } from './schemas/Registry';
@@ -5,5 +5,5 @@ export interface AccessKeySecretKey {
5
5
  accessKeySecretSpacePath?: string;
6
6
  secretKeyIdentifier: string;
7
7
  secretKeySpaceId?: number;
8
- secretKeySpacePath: string;
8
+ secretKeySpacePath?: string;
9
9
  }
@@ -4,11 +4,12 @@ import type { GenericArtifactDetailConfig } from '../schemas/GenericArtifactDeta
4
4
  import type { MavenArtifactDetailConfig } from '../schemas/MavenArtifactDetailConfig';
5
5
  import type { NpmArtifactDetailConfig } from '../schemas/NpmArtifactDetailConfig';
6
6
  import type { PythonArtifactDetailConfig } from '../schemas/PythonArtifactDetailConfig';
7
+ import type { NugetArtifactDetailConfig } from '../schemas/NugetArtifactDetailConfig';
7
8
  import type { PackageType } from '../schemas/PackageType';
8
9
  /**
9
10
  * Artifact Detail
10
11
  */
11
- export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig | MavenArtifactDetailConfig | NpmArtifactDetailConfig | PythonArtifactDetailConfig) & {
12
+ export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig | MavenArtifactDetailConfig | NpmArtifactDetailConfig | PythonArtifactDetailConfig | NugetArtifactDetailConfig) & {
12
13
  createdAt?: string;
13
14
  createdBy?: string;
14
15
  /**
@@ -17,7 +17,6 @@ export interface ArtifactVersionMetadata {
17
17
  * @format int64
18
18
  */
19
19
  fileCount?: number;
20
- islatestVersion?: boolean;
21
20
  lastModified?: string;
22
21
  name: string;
23
22
  packageType?: PackageType;
@@ -4,7 +4,6 @@ import type { PackageType } from '../schemas/PackageType';
4
4
  */
5
5
  export interface ArtifactVersionSummary {
6
6
  imageName: string;
7
- isLatestVersion?: boolean;
8
7
  packageType: PackageType;
9
8
  sscaArtifactId?: string;
10
9
  sscaArtifactSourceId?: string;
@@ -9,7 +9,6 @@ export interface DockerArtifactDetail {
9
9
  */
10
10
  downloadsCount?: number;
11
11
  imageName: string;
12
- isLatestVersion?: boolean;
13
12
  modifiedAt?: string;
14
13
  packageType: PackageType;
15
14
  pullCommand?: string;
@@ -1,3 +1,4 @@
1
+ import type { StoDetails } from '../schemas/StoDetails';
1
2
  /**
2
3
  * Harness Artifact Layers
3
4
  */
@@ -10,6 +11,7 @@ export interface DockerManifestDetails {
10
11
  downloadsCount?: number;
11
12
  osArch: string;
12
13
  size?: string;
14
+ stoDetails?: StoDetails;
13
15
  stoExecutionId?: string;
14
16
  stoPipelineId?: string;
15
17
  }
@@ -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 {};
@@ -4,7 +4,6 @@ import type { DockerManifestDetails } from '../schemas/DockerManifestDetails';
4
4
  */
5
5
  export interface DockerManifests {
6
6
  imageName: string;
7
- isLatestVersion?: boolean;
8
7
  manifests?: DockerManifestDetails[];
9
8
  version: string;
10
9
  }
@@ -9,7 +9,6 @@ export interface HelmArtifactDetail {
9
9
  * @format int64
10
10
  */
11
11
  downloadsCount?: number;
12
- isLatestVersion?: boolean;
13
12
  modifiedAt?: string;
14
13
  packageType: PackageType;
15
14
  pullCommand?: string;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Config for nuget artifact details
3
+ */
4
+ export interface NugetArtifactDetailConfig {
5
+ homepage?: string;
6
+ license: string;
7
+ pullCommand: string;
8
+ repository?: string;
9
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * refers to package
3
3
  */
4
- export type PackageType = 'DOCKER' | 'GENERIC' | 'HELM' | 'MAVEN' | 'NPM' | 'PYTHON';
4
+ export type PackageType = 'DOCKER' | 'GENERIC' | 'HELM' | 'MAVEN' | 'NPM' | 'NUGET' | 'PYTHON';
@@ -8,6 +8,6 @@ import type { AuthType } from '../schemas/AuthType';
8
8
  export interface UpstreamConfig {
9
9
  auth?: UserPassword | Anonymous | AccessKeySecretKey;
10
10
  authType: AuthType;
11
- source?: 'AwsEcr' | 'Custom' | 'Dockerhub' | 'MavenCentral' | 'NpmJs' | 'PyPi';
11
+ source?: 'AwsEcr' | 'Custom' | 'Dockerhub' | 'MavenCentral' | 'NpmJs' | 'NuGet.org' | 'PyPi';
12
12
  url?: string;
13
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-har-service-client",
3
- "version": "0.12.0",
3
+ "version": "0.14.0",
4
4
  "description": "Harness HAR Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",