@harnessio/react-har-service-client 0.20.1-beta.0 → 0.22.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.
@@ -148,6 +148,7 @@ export type { ArtifactVersionMetadata } from './schemas/ArtifactVersionMetadata'
148
148
  export type { ArtifactVersionSummary } from './schemas/ArtifactVersionSummary';
149
149
  export type { AuthType } from './schemas/AuthType';
150
150
  export type { BuildDetails } from './schemas/BuildDetails';
151
+ export type { CargoArtifactDetailConfig } from './schemas/CargoArtifactDetailConfig';
151
152
  export type { CleanupPolicy } from './schemas/CleanupPolicy';
152
153
  export type { ClientSetupDetails } from './schemas/ClientSetupDetails';
153
154
  export type { ClientSetupSection } from './schemas/ClientSetupSection';
@@ -171,10 +172,10 @@ export type { Error } from './schemas/Error';
171
172
  export type { ExtraHeader } from './schemas/ExtraHeader';
172
173
  export type { FileDetail } from './schemas/FileDetail';
173
174
  export type { GenericArtifactDetailConfig } from './schemas/GenericArtifactDetailConfig';
175
+ export type { GoArtifactDetailConfig } from './schemas/GoArtifactDetailConfig';
174
176
  export type { HelmArtifactDetail } from './schemas/HelmArtifactDetail';
175
177
  export type { HelmArtifactDetailConfig } from './schemas/HelmArtifactDetailConfig';
176
178
  export type { HelmArtifactManifest } from './schemas/HelmArtifactManifest';
177
- export type { HuggingFaceArtifactDetailConfig } from './schemas/HuggingFaceArtifactDetailConfig';
178
179
  export type { JfrogReplicationRegistry } from './schemas/JfrogReplicationRegistry';
179
180
  export type { ListArtifact } from './schemas/ListArtifact';
180
181
  export type { ListArtifactLabel } from './schemas/ListArtifactLabel';
@@ -202,7 +203,6 @@ export type { ReplicationRegistry } from './schemas/ReplicationRegistry';
202
203
  export type { ReplicationRule } from './schemas/ReplicationRule';
203
204
  export type { ReplicationRuleRequest } from './schemas/ReplicationRuleRequest';
204
205
  export type { RpmArtifactDetailConfig } from './schemas/RpmArtifactDetailConfig';
205
- export type { RustArtifactDetailConfig } from './schemas/RustArtifactDetailConfig';
206
206
  export type { SbomDetails } from './schemas/SbomDetails';
207
207
  export type { Scanner } from './schemas/Scanner';
208
208
  export type { SectionType } from './schemas/SectionType';
@@ -6,13 +6,13 @@ 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';
10
- import type { HuggingFaceArtifactDetailConfig } from '../schemas/HuggingFaceArtifactDetailConfig';
9
+ import type { CargoArtifactDetailConfig } from '../schemas/CargoArtifactDetailConfig';
10
+ import type { GoArtifactDetailConfig } from '../schemas/GoArtifactDetailConfig';
11
11
  import type { PackageType } from '../schemas/PackageType';
12
12
  /**
13
13
  * Artifact Detail
14
14
  */
15
- export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig | MavenArtifactDetailConfig | NpmArtifactDetailConfig | PythonArtifactDetailConfig | NugetArtifactDetailConfig | RpmArtifactDetailConfig | RustArtifactDetailConfig | HuggingFaceArtifactDetailConfig) & {
15
+ export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig | MavenArtifactDetailConfig | NpmArtifactDetailConfig | PythonArtifactDetailConfig | NugetArtifactDetailConfig | RpmArtifactDetailConfig | CargoArtifactDetailConfig | GoArtifactDetailConfig) & {
16
16
  createdAt?: string;
17
17
  createdBy?: string;
18
18
  /**
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Config for Cargo artifact details
3
+ */
4
+ export interface CargoArtifactDetailConfig {
5
+ metadata?: {
6
+ [key: string]: any;
7
+ };
8
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Config for Go artifact details
3
+ */
4
+ export interface GoArtifactDetailConfig {
5
+ metadata?: {
6
+ [key: string]: any;
7
+ };
8
+ }
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * refers to package
3
3
  */
4
- export type PackageType = 'DOCKER' | 'GENERIC' | 'HELM' | 'HUGGINGFACE' | 'MAVEN' | 'NPM' | 'NUGET' | 'PYTHON' | 'RPM' | 'RUST';
4
+ export type PackageType = 'CARGO' | 'DOCKER' | 'GENERIC' | 'GO' | 'HELM' | 'MAVEN' | 'NPM' | 'NUGET' | 'PYTHON' | 'RPM';
@@ -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' | 'Crates' | 'Custom' | 'Dockerhub' | 'HuggingFace' | 'MavenCentral' | 'NpmJs' | 'NugetOrg' | 'PyPi';
11
+ source?: 'AwsEcr' | 'Crates' | 'Custom' | 'Dockerhub' | 'GoProxy' | '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.20.1-beta.0",
3
+ "version": "0.22.0",
4
4
  "description": "Harness HAR Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1,8 +0,0 @@
1
- /**
2
- * Config for huggingface artifact details
3
- */
4
- export interface HuggingFaceArtifactDetailConfig {
5
- metadata?: {
6
- [key: string]: any;
7
- };
8
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * Config for RPM artifact details
3
- */
4
- export interface RustArtifactDetailConfig {
5
- metadata?: {
6
- [key: string]: any;
7
- };
8
- }