@harnessio/react-har-service-client 0.11.0 → 0.12.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';
@@ -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
  /**
@@ -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.12.0",
4
4
  "description": "Harness HAR Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",