@harnessio/react-har-service-client 0.29.0 → 0.31.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.
@@ -13,6 +13,7 @@ export interface DeleteQuarantineFilePathMutationQueryParams {
13
13
  artifact?: string;
14
14
  version?: string;
15
15
  file_path?: string;
16
+ artifact_type?: 'dataset' | 'model';
16
17
  }
17
18
  export type DeleteQuarantineFilePathOkResponse = ResponseWithPagination<SuccessResponse>;
18
19
  export type DeleteQuarantineFilePathErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | InternalServerErrorResponse;
@@ -190,6 +190,8 @@ export type { ClientSetupStep } from './schemas/ClientSetupStep';
190
190
  export type { ClientSetupStepCommand } from './schemas/ClientSetupStepCommand';
191
191
  export type { ClientSetupStepConfig } from './schemas/ClientSetupStepConfig';
192
192
  export type { ClientSetupStepType } from './schemas/ClientSetupStepType';
193
+ export type { CondaArtifactDetailConfig } from './schemas/CondaArtifactDetailConfig';
194
+ export type { DartArtifactDetailConfig } from './schemas/DartArtifactDetailConfig';
193
195
  export type { DeploymentDetails } from './schemas/DeploymentDetails';
194
196
  export type { DeploymentMetadata } from './schemas/DeploymentMetadata';
195
197
  export type { DeploymentStats } from './schemas/DeploymentStats';
@@ -9,12 +9,14 @@ import type { NugetArtifactDetailConfig } from '../schemas/NugetArtifactDetailCo
9
9
  import type { CargoArtifactDetailConfig } from '../schemas/CargoArtifactDetailConfig';
10
10
  import type { GoArtifactDetailConfig } from '../schemas/GoArtifactDetailConfig';
11
11
  import type { HuggingFaceArtifactDetailConfig } from '../schemas/HuggingFaceArtifactDetailConfig';
12
+ import type { CondaArtifactDetailConfig } from '../schemas/CondaArtifactDetailConfig';
13
+ import type { DartArtifactDetailConfig } from '../schemas/DartArtifactDetailConfig';
12
14
  import type { ArtifactType } from '../schemas/ArtifactType';
13
15
  import type { PackageType } from '../schemas/PackageType';
14
16
  /**
15
17
  * Artifact Detail
16
18
  */
17
- export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig | MavenArtifactDetailConfig | PythonArtifactDetailConfig | NpmArtifactDetailConfig | RpmArtifactDetailConfig | NugetArtifactDetailConfig | CargoArtifactDetailConfig | GoArtifactDetailConfig | HuggingFaceArtifactDetailConfig) & {
19
+ export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig | MavenArtifactDetailConfig | PythonArtifactDetailConfig | NpmArtifactDetailConfig | RpmArtifactDetailConfig | NugetArtifactDetailConfig | CargoArtifactDetailConfig | GoArtifactDetailConfig | HuggingFaceArtifactDetailConfig | CondaArtifactDetailConfig | DartArtifactDetailConfig) & {
18
20
  artifactType?: ArtifactType;
19
21
  createdAt?: string;
20
22
  createdBy?: string;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Config for conda artifact details
3
+ */
4
+ export interface CondaArtifactDetailConfig {
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 {};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Config for dart artifact details
3
+ */
4
+ export interface DartArtifactDetailConfig {
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 {};
@@ -6,5 +6,6 @@ export interface FileDetail {
6
6
  createdAt: string;
7
7
  downloadCommand: string;
8
8
  name: string;
9
+ path: string;
9
10
  size: string;
10
11
  }
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * refers to package
3
3
  */
4
- export type PackageType = 'CARGO' | 'DOCKER' | 'GENERIC' | 'GO' | 'HELM' | 'HUGGINGFACE' | 'MAVEN' | 'NPM' | 'NUGET' | 'PYTHON' | 'RPM';
4
+ export type PackageType = 'CARGO' | 'CONDA' | 'DART' | 'DOCKER' | 'GENERIC' | 'GO' | 'HELM' | 'HUGGINGFACE' | 'MAVEN' | 'NPM' | 'NUGET' | 'PYTHON' | 'RPM';
@@ -1,5 +1,6 @@
1
1
  export interface QuarantineRequest {
2
2
  artifact: string;
3
+ artifactType?: string;
3
4
  filePath?: string;
4
5
  reason: string;
5
6
  version?: string;
@@ -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' | 'GoProxy' | 'HuggingFace' | 'MavenCentral' | 'NpmJs' | 'NugetOrg' | 'PyPi';
11
+ source?: 'Anaconda' | 'AwsEcr' | 'Crates' | 'Custom' | 'Dockerhub' | 'GoProxy' | 'HuggingFace' | 'MavenCentral' | 'NpmJs' | 'NugetOrg' | 'Pubdev' | '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.29.0",
3
+ "version": "0.31.0",
4
4
  "description": "Harness HAR Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",