@harnessio/react-har-service-client 0.19.0 → 0.20.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.
@@ -201,6 +201,7 @@ export type { ReplicationRegistry } from './schemas/ReplicationRegistry';
201
201
  export type { ReplicationRule } from './schemas/ReplicationRule';
202
202
  export type { ReplicationRuleRequest } from './schemas/ReplicationRuleRequest';
203
203
  export type { RpmArtifactDetailConfig } from './schemas/RpmArtifactDetailConfig';
204
+ export type { RustArtifactDetailConfig } from './schemas/RustArtifactDetailConfig';
204
205
  export type { SbomDetails } from './schemas/SbomDetails';
205
206
  export type { Scanner } from './schemas/Scanner';
206
207
  export type { SectionType } from './schemas/SectionType';
@@ -6,11 +6,12 @@ import type { NpmArtifactDetailConfig } from '../schemas/NpmArtifactDetailConfig
6
6
  import type { PythonArtifactDetailConfig } from '../schemas/PythonArtifactDetailConfig';
7
7
  import type { NugetArtifactDetailConfig } from '../schemas/NugetArtifactDetailConfig';
8
8
  import type { RpmArtifactDetailConfig } from '../schemas/RpmArtifactDetailConfig';
9
+ import type { RustArtifactDetailConfig } from '../schemas/RustArtifactDetailConfig';
9
10
  import type { PackageType } from '../schemas/PackageType';
10
11
  /**
11
12
  * Artifact Detail
12
13
  */
13
- export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig | MavenArtifactDetailConfig | NpmArtifactDetailConfig | PythonArtifactDetailConfig | NugetArtifactDetailConfig | RpmArtifactDetailConfig) & {
14
+ export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig | MavenArtifactDetailConfig | NpmArtifactDetailConfig | PythonArtifactDetailConfig | NugetArtifactDetailConfig | RpmArtifactDetailConfig | RustArtifactDetailConfig) & {
14
15
  createdAt?: string;
15
16
  createdBy?: string;
16
17
  /**
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * refers to package
3
3
  */
4
- export type PackageType = 'DOCKER' | 'GENERIC' | 'HELM' | 'MAVEN' | 'NPM' | 'NUGET' | 'PYTHON' | 'RPM';
4
+ export type PackageType = 'DOCKER' | 'GENERIC' | 'HELM' | 'MAVEN' | 'NPM' | 'NUGET' | 'PYTHON' | 'RPM' | 'RUST';
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Config for RPM artifact details
3
+ */
4
+ export interface RustArtifactDetailConfig {
5
+ metadata?: {
6
+ [key: string]: any;
7
+ };
8
+ }
@@ -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' | 'NpmJs' | 'NugetOrg' | 'PyPi';
11
+ source?: 'AwsEcr' | 'Crates' | 'Custom' | 'Dockerhub' | 'MavenCentral' | 'NpmJs' | 'NugetOrg' | '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.19.0",
3
+ "version": "0.20.0",
4
4
  "description": "Harness HAR Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",