@harnessio/react-har-service-client 0.11.0 → 0.13.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.
@@ -159,7 +159,9 @@ export type { ListRegistryArtifact } from './schemas/ListRegistryArtifact';
159
159
  export type { ListWebhooks } from './schemas/ListWebhooks';
160
160
  export type { ListWebhooksExecutions } from './schemas/ListWebhooksExecutions';
161
161
  export type { MavenArtifactDetailConfig } from './schemas/MavenArtifactDetailConfig';
162
+ export type { NpmArtifactDetailConfig } from './schemas/NpmArtifactDetailConfig';
162
163
  export type { PackageType } from './schemas/PackageType';
164
+ export type { PythonArtifactDetailConfig } from './schemas/PythonArtifactDetailConfig';
163
165
  export type { Registry } from './schemas/Registry';
164
166
  export type { RegistryArtifactMetadata } from './schemas/RegistryArtifactMetadata';
165
167
  export type { RegistryConfig } from './schemas/RegistryConfig';
@@ -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
  }
@@ -2,11 +2,13 @@ import type { DockerArtifactDetailConfig } from '../schemas/DockerArtifactDetail
2
2
  import type { HelmArtifactDetailConfig } from '../schemas/HelmArtifactDetailConfig';
3
3
  import type { GenericArtifactDetailConfig } from '../schemas/GenericArtifactDetailConfig';
4
4
  import type { MavenArtifactDetailConfig } from '../schemas/MavenArtifactDetailConfig';
5
+ import type { NpmArtifactDetailConfig } from '../schemas/NpmArtifactDetailConfig';
6
+ import type { PythonArtifactDetailConfig } from '../schemas/PythonArtifactDetailConfig';
5
7
  import type { PackageType } from '../schemas/PackageType';
6
8
  /**
7
9
  * Artifact Detail
8
10
  */
9
- export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig | MavenArtifactDetailConfig) & {
11
+ export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig | MavenArtifactDetailConfig | NpmArtifactDetailConfig | PythonArtifactDetailConfig) & {
10
12
  createdAt?: string;
11
13
  createdBy?: string;
12
14
  /**
@@ -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 npm artifact details
3
+ */
4
+ export interface NpmArtifactDetailConfig {
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';
4
+ export type PackageType = 'DOCKER' | 'GENERIC' | 'HELM' | 'MAVEN' | 'NPM' | 'PYTHON';
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Config for python artifact details
3
+ */
4
+ export interface PythonArtifactDetailConfig {
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 {};
@@ -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';
11
+ source?: 'AwsEcr' | 'Custom' | 'Dockerhub' | 'MavenCentral' | 'NpmJs' | '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.11.0",
3
+ "version": "0.13.0",
4
4
  "description": "Harness HAR Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",