@harnessio/react-har-service-client 0.28.0 → 0.30.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.
- package/dist/har-service/src/services/index.d.ts +2 -0
- package/dist/har-service/src/services/responses/FileDetailResponseResponse.d.ts +2 -28
- package/dist/har-service/src/services/schemas/ArtifactDetail.d.ts +2 -1
- package/dist/har-service/src/services/schemas/CondaArtifactDetailConfig.d.ts +8 -0
- package/dist/har-service/src/services/schemas/CondaArtifactDetailConfig.js +4 -0
- package/dist/har-service/src/services/schemas/ListFileDetail.d.ts +33 -0
- package/dist/har-service/src/services/schemas/ListFileDetail.js +1 -0
- package/dist/har-service/src/services/schemas/PackageType.d.ts +1 -1
- package/dist/har-service/src/services/schemas/UpstreamConfig.d.ts +1 -1
- package/package.json +1 -1
|
@@ -190,6 +190,7 @@ 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';
|
|
193
194
|
export type { DeploymentDetails } from './schemas/DeploymentDetails';
|
|
194
195
|
export type { DeploymentMetadata } from './schemas/DeploymentMetadata';
|
|
195
196
|
export type { DeploymentStats } from './schemas/DeploymentStats';
|
|
@@ -217,6 +218,7 @@ export type { JfrogReplicationRegistry } from './schemas/JfrogReplicationRegistr
|
|
|
217
218
|
export type { ListArtifact } from './schemas/ListArtifact';
|
|
218
219
|
export type { ListArtifactLabel } from './schemas/ListArtifactLabel';
|
|
219
220
|
export type { ListArtifactVersion } from './schemas/ListArtifactVersion';
|
|
221
|
+
export type { ListFileDetail } from './schemas/ListFileDetail';
|
|
220
222
|
export type { ListMigrationImage } from './schemas/ListMigrationImage';
|
|
221
223
|
export type { ListOciArtifactTags } from './schemas/ListOciArtifactTags';
|
|
222
224
|
export type { ListRegistry } from './schemas/ListRegistry';
|
|
@@ -1,32 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ListFileDetail } from '../schemas/ListFileDetail';
|
|
2
2
|
import type { Status } from '../schemas/Status';
|
|
3
3
|
export interface FileDetailResponseResponse {
|
|
4
|
-
|
|
5
|
-
* A list of Harness Artifact Files
|
|
6
|
-
*/
|
|
7
|
-
files: FileDetail[];
|
|
8
|
-
/**
|
|
9
|
-
* The total number of items
|
|
10
|
-
* @format int64
|
|
11
|
-
* @example 1
|
|
12
|
-
*/
|
|
13
|
-
itemCount?: number;
|
|
14
|
-
/**
|
|
15
|
-
* The total number of pages
|
|
16
|
-
* @format int64
|
|
17
|
-
* @example 100
|
|
18
|
-
*/
|
|
19
|
-
pageCount?: number;
|
|
20
|
-
/**
|
|
21
|
-
* The current page
|
|
22
|
-
* @format int64
|
|
23
|
-
* @example 0
|
|
24
|
-
*/
|
|
25
|
-
pageIndex?: number;
|
|
26
|
-
/**
|
|
27
|
-
* The number of items per page
|
|
28
|
-
* @example 1
|
|
29
|
-
*/
|
|
30
|
-
pageSize?: number;
|
|
4
|
+
data: ListFileDetail;
|
|
31
5
|
status: Status;
|
|
32
6
|
}
|
|
@@ -9,12 +9,13 @@ 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';
|
|
12
13
|
import type { ArtifactType } from '../schemas/ArtifactType';
|
|
13
14
|
import type { PackageType } from '../schemas/PackageType';
|
|
14
15
|
/**
|
|
15
16
|
* Artifact Detail
|
|
16
17
|
*/
|
|
17
|
-
export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig | MavenArtifactDetailConfig | PythonArtifactDetailConfig | NpmArtifactDetailConfig | RpmArtifactDetailConfig | NugetArtifactDetailConfig | CargoArtifactDetailConfig | GoArtifactDetailConfig | HuggingFaceArtifactDetailConfig) & {
|
|
18
|
+
export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig | MavenArtifactDetailConfig | PythonArtifactDetailConfig | NpmArtifactDetailConfig | RpmArtifactDetailConfig | NugetArtifactDetailConfig | CargoArtifactDetailConfig | GoArtifactDetailConfig | HuggingFaceArtifactDetailConfig | CondaArtifactDetailConfig) & {
|
|
18
19
|
artifactType?: ArtifactType;
|
|
19
20
|
createdAt?: string;
|
|
20
21
|
createdBy?: string;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { FileDetail } from '../schemas/FileDetail';
|
|
2
|
+
/**
|
|
3
|
+
* A list of Harness Artifact Files
|
|
4
|
+
*/
|
|
5
|
+
export interface ListFileDetail {
|
|
6
|
+
/**
|
|
7
|
+
* A list of Harness Artifact Files
|
|
8
|
+
*/
|
|
9
|
+
files: FileDetail[];
|
|
10
|
+
/**
|
|
11
|
+
* The total number of items
|
|
12
|
+
* @format int64
|
|
13
|
+
* @example 1
|
|
14
|
+
*/
|
|
15
|
+
itemCount?: number;
|
|
16
|
+
/**
|
|
17
|
+
* The total number of pages
|
|
18
|
+
* @format int64
|
|
19
|
+
* @example 100
|
|
20
|
+
*/
|
|
21
|
+
pageCount?: number;
|
|
22
|
+
/**
|
|
23
|
+
* The current page
|
|
24
|
+
* @format int64
|
|
25
|
+
* @example 0
|
|
26
|
+
*/
|
|
27
|
+
pageIndex?: number;
|
|
28
|
+
/**
|
|
29
|
+
* The number of items per page
|
|
30
|
+
* @example 1
|
|
31
|
+
*/
|
|
32
|
+
pageSize?: number;
|
|
33
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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' | 'DOCKER' | 'GENERIC' | 'GO' | 'HELM' | 'HUGGINGFACE' | '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' | 'GoProxy' | 'HuggingFace' | 'MavenCentral' | 'NpmJs' | 'NugetOrg' | 'PyPi';
|
|
11
|
+
source?: 'Anaconda' | 'AwsEcr' | 'Crates' | 'Custom' | 'Dockerhub' | 'GoProxy' | 'HuggingFace' | 'MavenCentral' | 'NpmJs' | 'NugetOrg' | 'PyPi';
|
|
12
12
|
url?: string;
|
|
13
13
|
}
|