@harnessio/react-har-service-client 0.0.17 → 0.0.18
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/hooks/useGetDockerArtifactIntegrationDetailsQuery.d.ts +27 -0
- package/dist/har-service/src/services/hooks/useGetDockerArtifactIntegrationDetailsQuery.js +20 -0
- package/dist/har-service/src/services/index.d.ts +8 -0
- package/dist/har-service/src/services/index.js +1 -0
- package/dist/har-service/src/services/responses/DockerArtifactDetailIntegrationResponseResponse.d.ts +6 -0
- package/dist/har-service/src/services/responses/DockerArtifactDetailIntegrationResponseResponse.js +1 -0
- package/dist/har-service/src/services/schemas/BuildDetails.d.ts +5 -0
- package/dist/har-service/src/services/schemas/BuildDetails.js +4 -0
- package/dist/har-service/src/services/schemas/DeploymentPipeline.d.ts +1 -0
- package/dist/har-service/src/services/schemas/DeploymentsDetails.d.ts +5 -0
- package/dist/har-service/src/services/schemas/DeploymentsDetails.js +4 -0
- package/dist/har-service/src/services/schemas/DockerArtifactIntegrationDetail.d.ts +13 -0
- package/dist/har-service/src/services/schemas/DockerArtifactIntegrationDetail.js +1 -0
- package/dist/har-service/src/services/schemas/SbomDetails.d.ts +10 -0
- package/dist/har-service/src/services/schemas/SbomDetails.js +4 -0
- package/dist/har-service/src/services/schemas/StoDetails.d.ts +11 -0
- package/dist/har-service/src/services/schemas/StoDetails.js +4 -0
- package/dist/har-service/src/services/schemas/UserPassword.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { DockerArtifactDetailIntegrationResponseResponse } from '../responses/DockerArtifactDetailIntegrationResponseResponse';
|
|
3
|
+
import type { BadRequestResponse } from '../responses/BadRequestResponse';
|
|
4
|
+
import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
|
|
5
|
+
import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
|
|
6
|
+
import type { NotFoundResponse } from '../responses/NotFoundResponse';
|
|
7
|
+
import type { InternalServerErrorResponse } from '../responses/InternalServerErrorResponse';
|
|
8
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
9
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
10
|
+
export interface GetDockerArtifactIntegrationDetailsQueryPathParams {
|
|
11
|
+
registry_ref: string;
|
|
12
|
+
artifact: string;
|
|
13
|
+
version: string;
|
|
14
|
+
}
|
|
15
|
+
export interface GetDockerArtifactIntegrationDetailsQueryQueryParams {
|
|
16
|
+
digest: string;
|
|
17
|
+
}
|
|
18
|
+
export type GetDockerArtifactIntegrationDetailsOkResponse = ResponseWithPagination<DockerArtifactDetailIntegrationResponseResponse>;
|
|
19
|
+
export type GetDockerArtifactIntegrationDetailsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
20
|
+
export interface GetDockerArtifactIntegrationDetailsProps extends GetDockerArtifactIntegrationDetailsQueryPathParams, Omit<FetcherOptions<GetDockerArtifactIntegrationDetailsQueryQueryParams, unknown>, 'url'> {
|
|
21
|
+
queryParams: GetDockerArtifactIntegrationDetailsQueryQueryParams;
|
|
22
|
+
}
|
|
23
|
+
export declare function getDockerArtifactIntegrationDetails(props: GetDockerArtifactIntegrationDetailsProps): Promise<GetDockerArtifactIntegrationDetailsOkResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Get Docker Artifact Integration Details
|
|
26
|
+
*/
|
|
27
|
+
export declare function useGetDockerArtifactIntegrationDetailsQuery(props: GetDockerArtifactIntegrationDetailsProps, options?: Omit<UseQueryOptions<GetDockerArtifactIntegrationDetailsOkResponse, GetDockerArtifactIntegrationDetailsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetDockerArtifactIntegrationDetailsOkResponse, import("..").Error>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function getDockerArtifactIntegrationDetails(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/registry/${props.registry_ref}/artifact/${props.artifact}/version/${props.version}/docker/integrationdetails`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get Docker Artifact Integration Details
|
|
11
|
+
*/
|
|
12
|
+
export function useGetDockerArtifactIntegrationDetailsQuery(props, options) {
|
|
13
|
+
return useQuery([
|
|
14
|
+
'GetDockerArtifactIntegrationDetails',
|
|
15
|
+
props.registry_ref,
|
|
16
|
+
props.artifact,
|
|
17
|
+
props.version,
|
|
18
|
+
props.queryParams,
|
|
19
|
+
], ({ signal }) => getDockerArtifactIntegrationDetails(Object.assign(Object.assign({}, props), { signal })), options);
|
|
20
|
+
}
|
|
@@ -33,6 +33,8 @@ export type { GetDockerArtifactDeploymentsErrorResponse, GetDockerArtifactDeploy
|
|
|
33
33
|
export { getDockerArtifactDeployments, useGetDockerArtifactDeploymentsQuery, } from './hooks/useGetDockerArtifactDeploymentsQuery';
|
|
34
34
|
export type { GetDockerArtifactDetailsErrorResponse, GetDockerArtifactDetailsOkResponse, GetDockerArtifactDetailsProps, GetDockerArtifactDetailsQueryPathParams, GetDockerArtifactDetailsQueryQueryParams, } from './hooks/useGetDockerArtifactDetailsQuery';
|
|
35
35
|
export { getDockerArtifactDetails, useGetDockerArtifactDetailsQuery, } from './hooks/useGetDockerArtifactDetailsQuery';
|
|
36
|
+
export type { GetDockerArtifactIntegrationDetailsErrorResponse, GetDockerArtifactIntegrationDetailsOkResponse, GetDockerArtifactIntegrationDetailsProps, GetDockerArtifactIntegrationDetailsQueryPathParams, GetDockerArtifactIntegrationDetailsQueryQueryParams, } from './hooks/useGetDockerArtifactIntegrationDetailsQuery';
|
|
37
|
+
export { getDockerArtifactIntegrationDetails, useGetDockerArtifactIntegrationDetailsQuery, } from './hooks/useGetDockerArtifactIntegrationDetailsQuery';
|
|
36
38
|
export type { GetDockerArtifactLayersErrorResponse, GetDockerArtifactLayersOkResponse, GetDockerArtifactLayersProps, GetDockerArtifactLayersQueryPathParams, GetDockerArtifactLayersQueryQueryParams, } from './hooks/useGetDockerArtifactLayersQuery';
|
|
37
39
|
export { getDockerArtifactLayers, useGetDockerArtifactLayersQuery, } from './hooks/useGetDockerArtifactLayersQuery';
|
|
38
40
|
export type { GetDockerArtifactManifestErrorResponse, GetDockerArtifactManifestOkResponse, GetDockerArtifactManifestProps, GetDockerArtifactManifestQueryPathParams, GetDockerArtifactManifestQueryQueryParams, } from './hooks/useGetDockerArtifactManifestQuery';
|
|
@@ -60,6 +62,7 @@ export type { ArtifactVersionSummaryResponseResponse } from './responses/Artifac
|
|
|
60
62
|
export type { BadRequestResponse } from './responses/BadRequestResponse';
|
|
61
63
|
export type { ClientSetupDetailsResponseResponse } from './responses/ClientSetupDetailsResponseResponse';
|
|
62
64
|
export type { DockerArtifactDeploymentsResponseResponse } from './responses/DockerArtifactDeploymentsResponseResponse';
|
|
65
|
+
export type { DockerArtifactDetailIntegrationResponseResponse } from './responses/DockerArtifactDetailIntegrationResponseResponse';
|
|
63
66
|
export type { DockerArtifactDetailResponseResponse } from './responses/DockerArtifactDetailResponseResponse';
|
|
64
67
|
export type { DockerArtifactManifestResponseResponse } from './responses/DockerArtifactManifestResponseResponse';
|
|
65
68
|
export type { DockerLayersResponseResponse } from './responses/DockerLayersResponseResponse';
|
|
@@ -87,6 +90,7 @@ export type { ArtifactSummary } from './schemas/ArtifactSummary';
|
|
|
87
90
|
export type { ArtifactVersionMetadata } from './schemas/ArtifactVersionMetadata';
|
|
88
91
|
export type { ArtifactVersionSummary } from './schemas/ArtifactVersionSummary';
|
|
89
92
|
export type { AuthType } from './schemas/AuthType';
|
|
93
|
+
export type { BuildDetails } from './schemas/BuildDetails';
|
|
90
94
|
export type { CleanupPolicy } from './schemas/CleanupPolicy';
|
|
91
95
|
export type { ClientSetupDetails } from './schemas/ClientSetupDetails';
|
|
92
96
|
export type { ClientSetupSection } from './schemas/ClientSetupSection';
|
|
@@ -94,9 +98,11 @@ export type { ClientSetupStep } from './schemas/ClientSetupStep';
|
|
|
94
98
|
export type { ClientSetupStepType } from './schemas/ClientSetupStepType';
|
|
95
99
|
export type { DeploymentArtifactDetails } from './schemas/DeploymentArtifactDetails';
|
|
96
100
|
export type { DeploymentPipeline } from './schemas/DeploymentPipeline';
|
|
101
|
+
export type { DeploymentsDetails } from './schemas/DeploymentsDetails';
|
|
97
102
|
export type { DeploymentsStats } from './schemas/DeploymentsStats';
|
|
98
103
|
export type { DockerArtifactDeploymentsDetails } from './schemas/DockerArtifactDeploymentsDetails';
|
|
99
104
|
export type { DockerArtifactDetail } from './schemas/DockerArtifactDetail';
|
|
105
|
+
export type { DockerArtifactIntegrationDetail } from './schemas/DockerArtifactIntegrationDetail';
|
|
100
106
|
export type { DockerArtifactManifest } from './schemas/DockerArtifactManifest';
|
|
101
107
|
export type { DockerLayerEntry } from './schemas/DockerLayerEntry';
|
|
102
108
|
export type { DockerLayersSummary } from './schemas/DockerLayersSummary';
|
|
@@ -119,8 +125,10 @@ export type { RegistryConfig } from './schemas/RegistryConfig';
|
|
|
119
125
|
export type { RegistryMetadata } from './schemas/RegistryMetadata';
|
|
120
126
|
export type { RegistryRequest } from './schemas/RegistryRequest';
|
|
121
127
|
export type { RegistryType } from './schemas/RegistryType';
|
|
128
|
+
export type { SbomDetails } from './schemas/SbomDetails';
|
|
122
129
|
export type { Service } from './schemas/Service';
|
|
123
130
|
export type { Status } from './schemas/Status';
|
|
131
|
+
export type { StoDetails } from './schemas/StoDetails';
|
|
124
132
|
export type { TriggerDetails } from './schemas/TriggerDetails';
|
|
125
133
|
export type { UpstreamConfig } from './schemas/UpstreamConfig';
|
|
126
134
|
export type { UserPassword } from './schemas/UserPassword';
|
|
@@ -15,6 +15,7 @@ export { getArtifactVersionSummary, useGetArtifactVersionSummaryQuery, } from '.
|
|
|
15
15
|
export { getClientSetupDetails, useGetClientSetupDetailsQuery, } from './hooks/useGetClientSetupDetailsQuery';
|
|
16
16
|
export { getDockerArtifactDeployments, useGetDockerArtifactDeploymentsQuery, } from './hooks/useGetDockerArtifactDeploymentsQuery';
|
|
17
17
|
export { getDockerArtifactDetails, useGetDockerArtifactDetailsQuery, } from './hooks/useGetDockerArtifactDetailsQuery';
|
|
18
|
+
export { getDockerArtifactIntegrationDetails, useGetDockerArtifactIntegrationDetailsQuery, } from './hooks/useGetDockerArtifactIntegrationDetailsQuery';
|
|
18
19
|
export { getDockerArtifactLayers, useGetDockerArtifactLayersQuery, } from './hooks/useGetDockerArtifactLayersQuery';
|
|
19
20
|
export { getDockerArtifactManifest, useGetDockerArtifactManifestQuery, } from './hooks/useGetDockerArtifactManifestQuery';
|
|
20
21
|
export { getDockerArtifactManifests, useGetDockerArtifactManifestsQuery, } from './hooks/useGetDockerArtifactManifestsQuery';
|
package/dist/har-service/src/services/responses/DockerArtifactDetailIntegrationResponseResponse.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { DockerArtifactIntegrationDetail } from '../schemas/DockerArtifactIntegrationDetail';
|
|
2
|
+
import type { Status } from '../schemas/Status';
|
|
3
|
+
export interface DockerArtifactDetailIntegrationResponseResponse {
|
|
4
|
+
data: DockerArtifactIntegrationDetail;
|
|
5
|
+
status: Status;
|
|
6
|
+
}
|
package/dist/har-service/src/services/responses/DockerArtifactDetailIntegrationResponseResponse.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { BuildDetails } from '../schemas/BuildDetails';
|
|
2
|
+
import type { DeploymentsDetails } from '../schemas/DeploymentsDetails';
|
|
3
|
+
import type { SbomDetails } from '../schemas/SbomDetails';
|
|
4
|
+
import type { StoDetails } from '../schemas/StoDetails';
|
|
5
|
+
/**
|
|
6
|
+
* Docker Artifact Detail
|
|
7
|
+
*/
|
|
8
|
+
export interface DockerArtifactIntegrationDetail {
|
|
9
|
+
buildDetails?: BuildDetails;
|
|
10
|
+
deploymentsDetails?: DeploymentsDetails;
|
|
11
|
+
sbomDetails?: SbomDetails;
|
|
12
|
+
stoDetails?: StoDetails;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|