@harnessio/react-har-service-client 0.0.15 → 0.0.17
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/useCreateRegistryMutation.d.ts +5 -1
- package/dist/har-service/src/services/hooks/useGetAllArtifactsQuery.d.ts +3 -3
- package/dist/har-service/src/services/hooks/useGetAllRegistryArtifactsQuery.d.ts +38 -0
- package/dist/har-service/src/services/hooks/useGetAllRegistryArtifactsQuery.js +14 -0
- package/dist/har-service/src/services/hooks/useGetArtifactVersionSummaryQuery.d.ts +5 -1
- package/dist/har-service/src/services/hooks/useGetArtifactVersionSummaryQuery.js +7 -1
- package/dist/har-service/src/services/hooks/useGetDockerArtifactDeploymentsQuery.d.ts +27 -0
- package/dist/har-service/src/services/hooks/useGetDockerArtifactDeploymentsQuery.js +20 -0
- package/dist/har-service/src/services/index.d.ts +20 -2
- package/dist/har-service/src/services/index.js +2 -0
- package/dist/har-service/src/services/responses/DockerArtifactDeploymentsResponseResponse.d.ts +6 -0
- package/dist/har-service/src/services/responses/DockerArtifactDeploymentsResponseResponse.js +1 -0
- package/dist/har-service/src/services/responses/ListRegistryArtifactResponseResponse.d.ts +6 -0
- package/dist/har-service/src/services/responses/ListRegistryArtifactResponseResponse.js +1 -0
- package/dist/har-service/src/services/schemas/ArtifactDeploymentsDetail.d.ts +13 -0
- package/dist/har-service/src/services/schemas/ArtifactDeploymentsDetail.js +1 -0
- package/dist/har-service/src/services/schemas/ArtifactMetadata.d.ts +15 -2
- package/dist/har-service/src/services/schemas/ArtifactScannedMetadata.d.ts +9 -0
- package/dist/har-service/src/services/schemas/ArtifactScannedMetadata.js +4 -0
- package/dist/har-service/src/services/schemas/ArtifactVersionSummary.d.ts +4 -0
- package/dist/har-service/src/services/schemas/DeploymentArtifactDetails.d.ts +8 -0
- package/dist/har-service/src/services/schemas/DeploymentArtifactDetails.js +4 -0
- package/dist/har-service/src/services/schemas/DeploymentPipeline.d.ts +7 -0
- package/dist/har-service/src/services/schemas/DeploymentPipeline.js +4 -0
- package/dist/har-service/src/services/schemas/DeploymentsStats.d.ts +7 -0
- package/dist/har-service/src/services/schemas/DeploymentsStats.js +4 -0
- package/dist/har-service/src/services/schemas/DockerArtifactDeploymentsDetails.d.ts +11 -0
- package/dist/har-service/src/services/schemas/DockerArtifactDeploymentsDetails.js +1 -0
- package/dist/har-service/src/services/schemas/DockerArtifactDetail.d.ts +8 -0
- package/dist/har-service/src/services/schemas/DockerManifestDetails.d.ts +2 -0
- package/dist/har-service/src/services/schemas/Environment.d.ts +9 -0
- package/dist/har-service/src/services/schemas/Environment.js +1 -0
- package/dist/har-service/src/services/schemas/EnvironmentType.d.ts +4 -0
- package/dist/har-service/src/services/schemas/EnvironmentType.js +4 -0
- package/dist/har-service/src/services/schemas/ListRegistryArtifact.d.ts +33 -0
- package/dist/har-service/src/services/schemas/ListRegistryArtifact.js +1 -0
- package/dist/har-service/src/services/schemas/RegistryArtifactMetadata.d.ts +17 -0
- package/dist/har-service/src/services/schemas/RegistryArtifactMetadata.js +1 -0
- package/dist/har-service/src/services/schemas/Service.d.ts +7 -0
- package/dist/har-service/src/services/schemas/Service.js +4 -0
- package/dist/har-service/src/services/schemas/TriggerDetails.d.ts +7 -0
- package/dist/har-service/src/services/schemas/TriggerDetails.js +4 -0
- package/package.json +1 -1
|
@@ -7,10 +7,14 @@ import type { InternalServerErrorResponse } from '../responses/InternalServerErr
|
|
|
7
7
|
import type { RegistryRequestRequestBody } from '../requestBodies/RegistryRequestRequestBody';
|
|
8
8
|
import type { ResponseWithPagination } from '../helpers';
|
|
9
9
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
10
|
+
export interface CreateRegistryMutationQueryParams {
|
|
11
|
+
space_ref?: string;
|
|
12
|
+
}
|
|
10
13
|
export type CreateRegistryRequestBody = RegistryRequestRequestBody;
|
|
11
14
|
export type CreateRegistryOkResponse = ResponseWithPagination<RegistryResponseResponse>;
|
|
12
15
|
export type CreateRegistryErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | InternalServerErrorResponse;
|
|
13
|
-
export interface CreateRegistryProps extends Omit<FetcherOptions<
|
|
16
|
+
export interface CreateRegistryProps extends Omit<FetcherOptions<CreateRegistryMutationQueryParams, CreateRegistryRequestBody>, 'url'> {
|
|
17
|
+
queryParams: CreateRegistryMutationQueryParams;
|
|
14
18
|
body: CreateRegistryRequestBody;
|
|
15
19
|
}
|
|
16
20
|
export declare function createRegistry(props: CreateRegistryProps): Promise<CreateRegistryOkResponse>;
|
|
@@ -11,9 +11,6 @@ export interface GetAllArtifactsQueryPathParams {
|
|
|
11
11
|
space_ref: string;
|
|
12
12
|
}
|
|
13
13
|
export interface GetAllArtifactsQueryQueryParams {
|
|
14
|
-
label?: string[];
|
|
15
|
-
package_type?: string[];
|
|
16
|
-
reg_identifier?: string;
|
|
17
14
|
/**
|
|
18
15
|
* @format int64
|
|
19
16
|
* @default 1
|
|
@@ -27,6 +24,9 @@ export interface GetAllArtifactsQueryQueryParams {
|
|
|
27
24
|
sort_order?: string;
|
|
28
25
|
sort_field?: string;
|
|
29
26
|
search_term?: string;
|
|
27
|
+
latest_version: boolean;
|
|
28
|
+
reg_identifier?: string;
|
|
29
|
+
deployed_artifact?: boolean;
|
|
30
30
|
}
|
|
31
31
|
export type GetAllArtifactsOkResponse = ResponseWithPagination<ListArtifactResponseResponse>;
|
|
32
32
|
export type GetAllArtifactsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ListRegistryArtifactResponseResponse } from '../responses/ListRegistryArtifactResponseResponse';
|
|
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 GetAllRegistryArtifactsQueryPathParams {
|
|
11
|
+
registry_ref: string;
|
|
12
|
+
}
|
|
13
|
+
export interface GetAllRegistryArtifactsQueryQueryParams {
|
|
14
|
+
/**
|
|
15
|
+
* @format int64
|
|
16
|
+
* @default 1
|
|
17
|
+
*/
|
|
18
|
+
page?: number;
|
|
19
|
+
/**
|
|
20
|
+
* @format int64
|
|
21
|
+
* @default 20
|
|
22
|
+
*/
|
|
23
|
+
size?: number;
|
|
24
|
+
sort_order?: string;
|
|
25
|
+
sort_field?: string;
|
|
26
|
+
search_term?: string;
|
|
27
|
+
label?: string[];
|
|
28
|
+
}
|
|
29
|
+
export type GetAllRegistryArtifactsOkResponse = ResponseWithPagination<ListRegistryArtifactResponseResponse>;
|
|
30
|
+
export type GetAllRegistryArtifactsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
31
|
+
export interface GetAllRegistryArtifactsProps extends GetAllRegistryArtifactsQueryPathParams, Omit<FetcherOptions<GetAllRegistryArtifactsQueryQueryParams, unknown>, 'url'> {
|
|
32
|
+
queryParams: GetAllRegistryArtifactsQueryQueryParams;
|
|
33
|
+
}
|
|
34
|
+
export declare function getAllRegistryArtifacts(props: GetAllRegistryArtifactsProps): Promise<GetAllRegistryArtifactsOkResponse>;
|
|
35
|
+
/**
|
|
36
|
+
* Lists all the Artifacts.
|
|
37
|
+
*/
|
|
38
|
+
export declare function useGetAllRegistryArtifactsQuery(props: GetAllRegistryArtifactsProps, options?: Omit<UseQueryOptions<GetAllRegistryArtifactsOkResponse, GetAllRegistryArtifactsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAllRegistryArtifactsOkResponse, import("..").Error>;
|
|
@@ -0,0 +1,14 @@
|
|
|
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 getAllRegistryArtifacts(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/registry/${props.registry_ref}/artifacts`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Lists all the Artifacts.
|
|
11
|
+
*/
|
|
12
|
+
export function useGetAllRegistryArtifactsQuery(props, options) {
|
|
13
|
+
return useQuery(['GetAllRegistryArtifacts', props.registry_ref, props.queryParams], ({ signal }) => getAllRegistryArtifacts(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -12,9 +12,13 @@ export interface GetArtifactVersionSummaryQueryPathParams {
|
|
|
12
12
|
artifact: string;
|
|
13
13
|
version: string;
|
|
14
14
|
}
|
|
15
|
+
export interface GetArtifactVersionSummaryQueryQueryParams {
|
|
16
|
+
digest: string;
|
|
17
|
+
}
|
|
15
18
|
export type GetArtifactVersionSummaryOkResponse = ResponseWithPagination<ArtifactVersionSummaryResponseResponse>;
|
|
16
19
|
export type GetArtifactVersionSummaryErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
17
|
-
export interface GetArtifactVersionSummaryProps extends GetArtifactVersionSummaryQueryPathParams, Omit<FetcherOptions<
|
|
20
|
+
export interface GetArtifactVersionSummaryProps extends GetArtifactVersionSummaryQueryPathParams, Omit<FetcherOptions<GetArtifactVersionSummaryQueryQueryParams, unknown>, 'url'> {
|
|
21
|
+
queryParams: GetArtifactVersionSummaryQueryQueryParams;
|
|
18
22
|
}
|
|
19
23
|
export declare function getArtifactVersionSummary(props: GetArtifactVersionSummaryProps): Promise<GetArtifactVersionSummaryOkResponse>;
|
|
20
24
|
/**
|
|
@@ -10,5 +10,11 @@ export function getArtifactVersionSummary(props) {
|
|
|
10
10
|
* Get Artifact Version Summary.
|
|
11
11
|
*/
|
|
12
12
|
export function useGetArtifactVersionSummaryQuery(props, options) {
|
|
13
|
-
return useQuery([
|
|
13
|
+
return useQuery([
|
|
14
|
+
'GetArtifactVersionSummary',
|
|
15
|
+
props.registry_ref,
|
|
16
|
+
props.artifact,
|
|
17
|
+
props.version,
|
|
18
|
+
props.queryParams,
|
|
19
|
+
], ({ signal }) => getArtifactVersionSummary(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
20
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { DockerArtifactDeploymentsResponseResponse } from '../responses/DockerArtifactDeploymentsResponseResponse';
|
|
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 GetDockerArtifactDeploymentsQueryPathParams {
|
|
11
|
+
registry_ref: string;
|
|
12
|
+
artifact: string;
|
|
13
|
+
version: string;
|
|
14
|
+
}
|
|
15
|
+
export interface GetDockerArtifactDeploymentsQueryQueryParams {
|
|
16
|
+
digest: string;
|
|
17
|
+
}
|
|
18
|
+
export type GetDockerArtifactDeploymentsOkResponse = ResponseWithPagination<DockerArtifactDeploymentsResponseResponse>;
|
|
19
|
+
export type GetDockerArtifactDeploymentsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
20
|
+
export interface GetDockerArtifactDeploymentsProps extends GetDockerArtifactDeploymentsQueryPathParams, Omit<FetcherOptions<GetDockerArtifactDeploymentsQueryQueryParams, unknown>, 'url'> {
|
|
21
|
+
queryParams: GetDockerArtifactDeploymentsQueryQueryParams;
|
|
22
|
+
}
|
|
23
|
+
export declare function getDockerArtifactDeployments(props: GetDockerArtifactDeploymentsProps): Promise<GetDockerArtifactDeploymentsOkResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Get Docker Artifact Deployments
|
|
26
|
+
*/
|
|
27
|
+
export declare function useGetDockerArtifactDeploymentsQuery(props: GetDockerArtifactDeploymentsProps, options?: Omit<UseQueryOptions<GetDockerArtifactDeploymentsOkResponse, GetDockerArtifactDeploymentsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetDockerArtifactDeploymentsOkResponse, 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 getDockerArtifactDeployments(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/registry/${props.registry_ref}/artifact/${props.artifact}/version/${props.version}/docker/deployments`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get Docker Artifact Deployments
|
|
11
|
+
*/
|
|
12
|
+
export function useGetDockerArtifactDeploymentsQuery(props, options) {
|
|
13
|
+
return useQuery([
|
|
14
|
+
'GetDockerArtifactDeployments',
|
|
15
|
+
props.registry_ref,
|
|
16
|
+
props.artifact,
|
|
17
|
+
props.version,
|
|
18
|
+
props.queryParams,
|
|
19
|
+
], ({ signal }) => getDockerArtifactDeployments(Object.assign(Object.assign({}, props), { signal })), options);
|
|
20
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { GetPathParamsType, ResponseWithPagination } from './helpers';
|
|
2
|
-
export type { CreateRegistryErrorResponse, CreateRegistryOkResponse, CreateRegistryProps, CreateRegistryRequestBody, } from './hooks/useCreateRegistryMutation';
|
|
2
|
+
export type { CreateRegistryErrorResponse, CreateRegistryMutationQueryParams, CreateRegistryOkResponse, CreateRegistryProps, CreateRegistryRequestBody, } from './hooks/useCreateRegistryMutation';
|
|
3
3
|
export { createRegistry, useCreateRegistryMutation } from './hooks/useCreateRegistryMutation';
|
|
4
4
|
export type { DeleteArtifactErrorResponse, DeleteArtifactMutationPathParams, DeleteArtifactOkResponse, DeleteArtifactProps, } from './hooks/useDeleteArtifactMutation';
|
|
5
5
|
export { deleteArtifact, useDeleteArtifactMutation } from './hooks/useDeleteArtifactMutation';
|
|
@@ -15,6 +15,8 @@ export type { GetAllArtifactsErrorResponse, GetAllArtifactsOkResponse, GetAllArt
|
|
|
15
15
|
export { getAllArtifacts, useGetAllArtifactsQuery } from './hooks/useGetAllArtifactsQuery';
|
|
16
16
|
export type { GetAllRegistriesErrorResponse, GetAllRegistriesOkResponse, GetAllRegistriesProps, GetAllRegistriesQueryPathParams, GetAllRegistriesQueryQueryParams, } from './hooks/useGetAllRegistriesQuery';
|
|
17
17
|
export { getAllRegistries, useGetAllRegistriesQuery } from './hooks/useGetAllRegistriesQuery';
|
|
18
|
+
export type { GetAllRegistryArtifactsErrorResponse, GetAllRegistryArtifactsOkResponse, GetAllRegistryArtifactsProps, GetAllRegistryArtifactsQueryPathParams, GetAllRegistryArtifactsQueryQueryParams, } from './hooks/useGetAllRegistryArtifactsQuery';
|
|
19
|
+
export { getAllRegistryArtifacts, useGetAllRegistryArtifactsQuery, } from './hooks/useGetAllRegistryArtifactsQuery';
|
|
18
20
|
export type { GetArtifactStatsForRegistryErrorResponse, GetArtifactStatsForRegistryOkResponse, GetArtifactStatsForRegistryProps, GetArtifactStatsForRegistryQueryPathParams, GetArtifactStatsForRegistryQueryQueryParams, } from './hooks/useGetArtifactStatsForRegistryQuery';
|
|
19
21
|
export { getArtifactStatsForRegistry, useGetArtifactStatsForRegistryQuery, } from './hooks/useGetArtifactStatsForRegistryQuery';
|
|
20
22
|
export type { GetArtifactStatsForSpaceErrorResponse, GetArtifactStatsForSpaceOkResponse, GetArtifactStatsForSpaceProps, GetArtifactStatsForSpaceQueryPathParams, GetArtifactStatsForSpaceQueryQueryParams, } from './hooks/useGetArtifactStatsForSpaceQuery';
|
|
@@ -23,10 +25,12 @@ export type { GetArtifactStatsErrorResponse, GetArtifactStatsOkResponse, GetArti
|
|
|
23
25
|
export { getArtifactStats, useGetArtifactStatsQuery } from './hooks/useGetArtifactStatsQuery';
|
|
24
26
|
export type { GetArtifactSummaryErrorResponse, GetArtifactSummaryOkResponse, GetArtifactSummaryProps, GetArtifactSummaryQueryPathParams, } from './hooks/useGetArtifactSummaryQuery';
|
|
25
27
|
export { getArtifactSummary, useGetArtifactSummaryQuery } from './hooks/useGetArtifactSummaryQuery';
|
|
26
|
-
export type { GetArtifactVersionSummaryErrorResponse, GetArtifactVersionSummaryOkResponse, GetArtifactVersionSummaryProps, GetArtifactVersionSummaryQueryPathParams, } from './hooks/useGetArtifactVersionSummaryQuery';
|
|
28
|
+
export type { GetArtifactVersionSummaryErrorResponse, GetArtifactVersionSummaryOkResponse, GetArtifactVersionSummaryProps, GetArtifactVersionSummaryQueryPathParams, GetArtifactVersionSummaryQueryQueryParams, } from './hooks/useGetArtifactVersionSummaryQuery';
|
|
27
29
|
export { getArtifactVersionSummary, useGetArtifactVersionSummaryQuery, } from './hooks/useGetArtifactVersionSummaryQuery';
|
|
28
30
|
export type { GetClientSetupDetailsErrorResponse, GetClientSetupDetailsOkResponse, GetClientSetupDetailsProps, GetClientSetupDetailsQueryPathParams, GetClientSetupDetailsQueryQueryParams, } from './hooks/useGetClientSetupDetailsQuery';
|
|
29
31
|
export { getClientSetupDetails, useGetClientSetupDetailsQuery, } from './hooks/useGetClientSetupDetailsQuery';
|
|
32
|
+
export type { GetDockerArtifactDeploymentsErrorResponse, GetDockerArtifactDeploymentsOkResponse, GetDockerArtifactDeploymentsProps, GetDockerArtifactDeploymentsQueryPathParams, GetDockerArtifactDeploymentsQueryQueryParams, } from './hooks/useGetDockerArtifactDeploymentsQuery';
|
|
33
|
+
export { getDockerArtifactDeployments, useGetDockerArtifactDeploymentsQuery, } from './hooks/useGetDockerArtifactDeploymentsQuery';
|
|
30
34
|
export type { GetDockerArtifactDetailsErrorResponse, GetDockerArtifactDetailsOkResponse, GetDockerArtifactDetailsProps, GetDockerArtifactDetailsQueryPathParams, GetDockerArtifactDetailsQueryQueryParams, } from './hooks/useGetDockerArtifactDetailsQuery';
|
|
31
35
|
export { getDockerArtifactDetails, useGetDockerArtifactDetailsQuery, } from './hooks/useGetDockerArtifactDetailsQuery';
|
|
32
36
|
export type { GetDockerArtifactLayersErrorResponse, GetDockerArtifactLayersOkResponse, GetDockerArtifactLayersProps, GetDockerArtifactLayersQueryPathParams, GetDockerArtifactLayersQueryQueryParams, } from './hooks/useGetDockerArtifactLayersQuery';
|
|
@@ -55,6 +59,7 @@ export type { ArtifactSummaryResponseResponse } from './responses/ArtifactSummar
|
|
|
55
59
|
export type { ArtifactVersionSummaryResponseResponse } from './responses/ArtifactVersionSummaryResponseResponse';
|
|
56
60
|
export type { BadRequestResponse } from './responses/BadRequestResponse';
|
|
57
61
|
export type { ClientSetupDetailsResponseResponse } from './responses/ClientSetupDetailsResponseResponse';
|
|
62
|
+
export type { DockerArtifactDeploymentsResponseResponse } from './responses/DockerArtifactDeploymentsResponseResponse';
|
|
58
63
|
export type { DockerArtifactDetailResponseResponse } from './responses/DockerArtifactDetailResponseResponse';
|
|
59
64
|
export type { DockerArtifactManifestResponseResponse } from './responses/DockerArtifactManifestResponseResponse';
|
|
60
65
|
export type { DockerLayersResponseResponse } from './responses/DockerLayersResponseResponse';
|
|
@@ -65,6 +70,7 @@ export type { InternalServerErrorResponse } from './responses/InternalServerErro
|
|
|
65
70
|
export type { ListArtifactLabelResponseResponse } from './responses/ListArtifactLabelResponseResponse';
|
|
66
71
|
export type { ListArtifactResponseResponse } from './responses/ListArtifactResponseResponse';
|
|
67
72
|
export type { ListArtifactVersionResponseResponse } from './responses/ListArtifactVersionResponseResponse';
|
|
73
|
+
export type { ListRegistryArtifactResponseResponse } from './responses/ListRegistryArtifactResponseResponse';
|
|
68
74
|
export type { ListRegistryResponseResponse } from './responses/ListRegistryResponseResponse';
|
|
69
75
|
export type { NotFoundResponse } from './responses/NotFoundResponse';
|
|
70
76
|
export type { RegistryResponseResponse } from './responses/RegistryResponseResponse';
|
|
@@ -72,8 +78,10 @@ export type { SuccessResponse } from './responses/SuccessResponse';
|
|
|
72
78
|
export type { UnauthenticatedResponse } from './responses/UnauthenticatedResponse';
|
|
73
79
|
export type { UnauthorizedResponse } from './responses/UnauthorizedResponse';
|
|
74
80
|
export type { Anonymous } from './schemas/Anonymous';
|
|
81
|
+
export type { ArtifactDeploymentsDetail } from './schemas/ArtifactDeploymentsDetail';
|
|
75
82
|
export type { ArtifactLabelRequest } from './schemas/ArtifactLabelRequest';
|
|
76
83
|
export type { ArtifactMetadata } from './schemas/ArtifactMetadata';
|
|
84
|
+
export type { ArtifactScannedMetadata } from './schemas/ArtifactScannedMetadata';
|
|
77
85
|
export type { ArtifactStats } from './schemas/ArtifactStats';
|
|
78
86
|
export type { ArtifactSummary } from './schemas/ArtifactSummary';
|
|
79
87
|
export type { ArtifactVersionMetadata } from './schemas/ArtifactVersionMetadata';
|
|
@@ -84,12 +92,18 @@ export type { ClientSetupDetails } from './schemas/ClientSetupDetails';
|
|
|
84
92
|
export type { ClientSetupSection } from './schemas/ClientSetupSection';
|
|
85
93
|
export type { ClientSetupStep } from './schemas/ClientSetupStep';
|
|
86
94
|
export type { ClientSetupStepType } from './schemas/ClientSetupStepType';
|
|
95
|
+
export type { DeploymentArtifactDetails } from './schemas/DeploymentArtifactDetails';
|
|
96
|
+
export type { DeploymentPipeline } from './schemas/DeploymentPipeline';
|
|
97
|
+
export type { DeploymentsStats } from './schemas/DeploymentsStats';
|
|
98
|
+
export type { DockerArtifactDeploymentsDetails } from './schemas/DockerArtifactDeploymentsDetails';
|
|
87
99
|
export type { DockerArtifactDetail } from './schemas/DockerArtifactDetail';
|
|
88
100
|
export type { DockerArtifactManifest } from './schemas/DockerArtifactManifest';
|
|
89
101
|
export type { DockerLayerEntry } from './schemas/DockerLayerEntry';
|
|
90
102
|
export type { DockerLayersSummary } from './schemas/DockerLayersSummary';
|
|
91
103
|
export type { DockerManifestDetails } from './schemas/DockerManifestDetails';
|
|
92
104
|
export type { DockerManifests } from './schemas/DockerManifests';
|
|
105
|
+
export type { Environment } from './schemas/Environment';
|
|
106
|
+
export type { EnvironmentType } from './schemas/EnvironmentType';
|
|
93
107
|
export type { Error } from './schemas/Error';
|
|
94
108
|
export type { HelmArtifactDetail } from './schemas/HelmArtifactDetail';
|
|
95
109
|
export type { HelmArtifactManifest } from './schemas/HelmArtifactManifest';
|
|
@@ -97,13 +111,17 @@ export type { ListArtifact } from './schemas/ListArtifact';
|
|
|
97
111
|
export type { ListArtifactLabel } from './schemas/ListArtifactLabel';
|
|
98
112
|
export type { ListArtifactVersion } from './schemas/ListArtifactVersion';
|
|
99
113
|
export type { ListRegistry } from './schemas/ListRegistry';
|
|
114
|
+
export type { ListRegistryArtifact } from './schemas/ListRegistryArtifact';
|
|
100
115
|
export type { PackageType } from './schemas/PackageType';
|
|
101
116
|
export type { Registry } from './schemas/Registry';
|
|
117
|
+
export type { RegistryArtifactMetadata } from './schemas/RegistryArtifactMetadata';
|
|
102
118
|
export type { RegistryConfig } from './schemas/RegistryConfig';
|
|
103
119
|
export type { RegistryMetadata } from './schemas/RegistryMetadata';
|
|
104
120
|
export type { RegistryRequest } from './schemas/RegistryRequest';
|
|
105
121
|
export type { RegistryType } from './schemas/RegistryType';
|
|
122
|
+
export type { Service } from './schemas/Service';
|
|
106
123
|
export type { Status } from './schemas/Status';
|
|
124
|
+
export type { TriggerDetails } from './schemas/TriggerDetails';
|
|
107
125
|
export type { UpstreamConfig } from './schemas/UpstreamConfig';
|
|
108
126
|
export type { UserPassword } from './schemas/UserPassword';
|
|
109
127
|
export type { VirtualConfig } from './schemas/VirtualConfig';
|
|
@@ -6,12 +6,14 @@ export { deleteRegistry, useDeleteRegistryMutation } from './hooks/useDeleteRegi
|
|
|
6
6
|
export { getAllArtifactVersions, useGetAllArtifactVersionsQuery, } from './hooks/useGetAllArtifactVersionsQuery';
|
|
7
7
|
export { getAllArtifacts, useGetAllArtifactsQuery } from './hooks/useGetAllArtifactsQuery';
|
|
8
8
|
export { getAllRegistries, useGetAllRegistriesQuery } from './hooks/useGetAllRegistriesQuery';
|
|
9
|
+
export { getAllRegistryArtifacts, useGetAllRegistryArtifactsQuery, } from './hooks/useGetAllRegistryArtifactsQuery';
|
|
9
10
|
export { getArtifactStatsForRegistry, useGetArtifactStatsForRegistryQuery, } from './hooks/useGetArtifactStatsForRegistryQuery';
|
|
10
11
|
export { getArtifactStatsForSpace, useGetArtifactStatsForSpaceQuery, } from './hooks/useGetArtifactStatsForSpaceQuery';
|
|
11
12
|
export { getArtifactStats, useGetArtifactStatsQuery } from './hooks/useGetArtifactStatsQuery';
|
|
12
13
|
export { getArtifactSummary, useGetArtifactSummaryQuery } from './hooks/useGetArtifactSummaryQuery';
|
|
13
14
|
export { getArtifactVersionSummary, useGetArtifactVersionSummaryQuery, } from './hooks/useGetArtifactVersionSummaryQuery';
|
|
14
15
|
export { getClientSetupDetails, useGetClientSetupDetailsQuery, } from './hooks/useGetClientSetupDetailsQuery';
|
|
16
|
+
export { getDockerArtifactDeployments, useGetDockerArtifactDeploymentsQuery, } from './hooks/useGetDockerArtifactDeploymentsQuery';
|
|
15
17
|
export { getDockerArtifactDetails, useGetDockerArtifactDetailsQuery, } from './hooks/useGetDockerArtifactDetailsQuery';
|
|
16
18
|
export { getDockerArtifactLayers, useGetDockerArtifactLayersQuery, } from './hooks/useGetDockerArtifactLayersQuery';
|
|
17
19
|
export { getDockerArtifactManifest, useGetDockerArtifactManifestQuery, } from './hooks/useGetDockerArtifactManifestQuery';
|
package/dist/har-service/src/services/responses/DockerArtifactDeploymentsResponseResponse.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { DockerArtifactDeploymentsDetails } from '../schemas/DockerArtifactDeploymentsDetails';
|
|
2
|
+
import type { Status } from '../schemas/Status';
|
|
3
|
+
export interface DockerArtifactDeploymentsResponseResponse {
|
|
4
|
+
data: DockerArtifactDeploymentsDetails;
|
|
5
|
+
status: Status;
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { DeploymentPipeline } from '../schemas/DeploymentPipeline';
|
|
2
|
+
import type { Environment } from '../schemas/Environment';
|
|
3
|
+
import type { Service } from '../schemas/Service';
|
|
4
|
+
import type { TriggerDetails } from '../schemas/TriggerDetails';
|
|
5
|
+
/**
|
|
6
|
+
* Artifact deploymens Detail
|
|
7
|
+
*/
|
|
8
|
+
export interface ArtifactDeploymentsDetail {
|
|
9
|
+
deploymentPipeline: DeploymentPipeline;
|
|
10
|
+
environment: Environment;
|
|
11
|
+
services: Service[];
|
|
12
|
+
triggerDetails: TriggerDetails;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { PackageType } from '../schemas/PackageType';
|
|
2
|
+
import type { ArtifactScannedMetadata } from '../schemas/ArtifactScannedMetadata';
|
|
2
3
|
/**
|
|
3
4
|
* Artifact Metadata
|
|
4
5
|
*/
|
|
@@ -8,10 +9,22 @@ export interface ArtifactMetadata {
|
|
|
8
9
|
*/
|
|
9
10
|
downloadsCount?: number;
|
|
10
11
|
labels?: string[];
|
|
11
|
-
lastModified?: string;
|
|
12
|
-
latestVersion: string;
|
|
13
12
|
name: string;
|
|
13
|
+
/**
|
|
14
|
+
* @format int64
|
|
15
|
+
*/
|
|
16
|
+
nonProdDeployCount?: number;
|
|
14
17
|
packageType?: PackageType;
|
|
18
|
+
/**
|
|
19
|
+
* @format int64
|
|
20
|
+
*/
|
|
21
|
+
prodDeployCount?: number;
|
|
22
|
+
pullCommand?: string;
|
|
15
23
|
registryIdentifier: string;
|
|
16
24
|
registryPath: string;
|
|
25
|
+
scannedDigests?: ArtifactScannedMetadata[];
|
|
26
|
+
totalDigestCount?: number;
|
|
27
|
+
uploadedAt?: string;
|
|
28
|
+
uploadedBy?: string;
|
|
29
|
+
version?: string;
|
|
17
30
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { DeploymentArtifactDetails } from '../schemas/DeploymentArtifactDetails';
|
|
2
|
+
import type { ArtifactDeploymentsDetail } from '../schemas/ArtifactDeploymentsDetail';
|
|
3
|
+
import type { DeploymentsStats } from '../schemas/DeploymentsStats';
|
|
4
|
+
/**
|
|
5
|
+
* Docker Artifact deploymens Details
|
|
6
|
+
*/
|
|
7
|
+
export interface DockerArtifactDeploymentsDetails {
|
|
8
|
+
artifactDetails?: DeploymentArtifactDetails;
|
|
9
|
+
deployments: ArtifactDeploymentsDetail[];
|
|
10
|
+
deploymentsStats?: DeploymentsStats;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -11,7 +11,15 @@ export interface DockerArtifactDetail {
|
|
|
11
11
|
imageName: string;
|
|
12
12
|
isLatestVersion?: boolean;
|
|
13
13
|
modifiedAt?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @format int64
|
|
16
|
+
*/
|
|
17
|
+
nonProdDeployCount?: number;
|
|
14
18
|
packageType: PackageType;
|
|
19
|
+
/**
|
|
20
|
+
* @format int64
|
|
21
|
+
*/
|
|
22
|
+
prodDeployCount?: number;
|
|
15
23
|
pullCommand?: string;
|
|
16
24
|
registryPath: string;
|
|
17
25
|
size?: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { RegistryArtifactMetadata } from '../schemas/RegistryArtifactMetadata';
|
|
2
|
+
/**
|
|
3
|
+
* A list of Artifacts
|
|
4
|
+
*/
|
|
5
|
+
export interface ListRegistryArtifact {
|
|
6
|
+
/**
|
|
7
|
+
* A list of Artifact
|
|
8
|
+
*/
|
|
9
|
+
artifacts: RegistryArtifactMetadata[];
|
|
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 {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { PackageType } from '../schemas/PackageType';
|
|
2
|
+
/**
|
|
3
|
+
* Artifact Metadata
|
|
4
|
+
*/
|
|
5
|
+
export interface RegistryArtifactMetadata {
|
|
6
|
+
/**
|
|
7
|
+
* @format int64
|
|
8
|
+
*/
|
|
9
|
+
downloadsCount?: number;
|
|
10
|
+
labels?: string[];
|
|
11
|
+
lastModified?: string;
|
|
12
|
+
latestVersion: string;
|
|
13
|
+
name: string;
|
|
14
|
+
packageType?: PackageType;
|
|
15
|
+
registryIdentifier: string;
|
|
16
|
+
registryPath: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|