@harnessio/react-har-service-client 0.25.0 → 0.27.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/hooks/useDeleteArtifactMutation.d.ts +1 -1
- package/dist/har-service/src/services/hooks/useDeleteArtifactVersionMutation.d.ts +1 -1
- package/dist/har-service/src/services/hooks/useGetAllArtifactVersionsQuery.d.ts +1 -0
- package/dist/har-service/src/services/hooks/useGetAllArtifactsByRegistryQuery.d.ts +1 -1
- package/dist/har-service/src/services/hooks/useGetArtifactDeploymentsQuery.d.ts +1 -0
- package/dist/har-service/src/services/hooks/useGetArtifactDetailsQuery.d.ts +1 -1
- package/dist/har-service/src/services/hooks/useGetArtifactFileQuery.d.ts +1 -1
- package/dist/har-service/src/services/hooks/useGetArtifactFilesQuery.d.ts +1 -1
- package/dist/har-service/src/services/hooks/useGetArtifactSummaryQuery.d.ts +1 -1
- package/dist/har-service/src/services/hooks/useGetArtifactVersionSummaryQuery.d.ts +1 -1
- package/dist/har-service/src/services/hooks/useGetDockerArtifactDetailsQuery.d.ts +1 -0
- package/dist/har-service/src/services/hooks/useGetDockerArtifactIntegrationDetailsQuery.d.ts +1 -0
- package/dist/har-service/src/services/hooks/useGetDockerArtifactManifestsQuery.d.ts +5 -1
- package/dist/har-service/src/services/hooks/useGetDockerArtifactManifestsQuery.js +7 -1
- package/dist/har-service/src/services/hooks/useGetHelmArtifactDetailsQuery.d.ts +5 -1
- package/dist/har-service/src/services/hooks/useGetHelmArtifactDetailsQuery.js +7 -1
- package/dist/har-service/src/services/hooks/useGetOciArtifactTagsQuery.d.ts +36 -0
- package/dist/har-service/src/services/hooks/useGetOciArtifactTagsQuery.js +14 -0
- package/dist/har-service/src/services/hooks/useUpdateArtifactLabelsMutation.d.ts +1 -1
- package/dist/har-service/src/services/index.d.ts +8 -2
- package/dist/har-service/src/services/index.js +1 -0
- package/dist/har-service/src/services/responses/ListOciArtifactTagsResponseResponse.d.ts +6 -0
- package/dist/har-service/src/services/responses/ListOciArtifactTagsResponseResponse.js +1 -0
- package/dist/har-service/src/services/schemas/ArtifactEntityMetadata.d.ts +6 -0
- package/dist/har-service/src/services/schemas/ArtifactEntityMetadata.js +4 -0
- package/dist/har-service/src/services/schemas/ArtifactMetadata.d.ts +3 -1
- package/dist/har-service/src/services/schemas/ArtifactType.d.ts +1 -1
- package/dist/har-service/src/services/schemas/ArtifactVersionMetadata.d.ts +3 -1
- package/dist/har-service/src/services/schemas/DockerArtifactDetail.d.ts +3 -0
- package/dist/har-service/src/services/schemas/HelmArtifactDetail.d.ts +3 -0
- package/dist/har-service/src/services/schemas/ListOciArtifactTags.d.ts +33 -0
- package/dist/har-service/src/services/schemas/ListOciArtifactTags.js +1 -0
- package/dist/har-service/src/services/schemas/OciArtifactTag.d.ts +7 -0
- package/dist/har-service/src/services/schemas/OciArtifactTag.js +4 -0
- package/dist/har-service/src/services/schemas/RegistryArtifactMetadata.d.ts +1 -1
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ export interface DeleteArtifactMutationPathParams {
|
|
|
12
12
|
artifact: string;
|
|
13
13
|
}
|
|
14
14
|
export interface DeleteArtifactMutationQueryParams {
|
|
15
|
-
artifact_type?: '
|
|
15
|
+
artifact_type?: 'dataset' | 'model';
|
|
16
16
|
}
|
|
17
17
|
export type DeleteArtifactOkResponse = ResponseWithPagination<SuccessResponse>;
|
|
18
18
|
export type DeleteArtifactErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
@@ -13,7 +13,7 @@ export interface DeleteArtifactVersionMutationPathParams {
|
|
|
13
13
|
version: string;
|
|
14
14
|
}
|
|
15
15
|
export interface DeleteArtifactVersionMutationQueryParams {
|
|
16
|
-
artifact_type?: '
|
|
16
|
+
artifact_type?: 'dataset' | 'model';
|
|
17
17
|
}
|
|
18
18
|
export type DeleteArtifactVersionOkResponse = ResponseWithPagination<SuccessResponse>;
|
|
19
19
|
export type DeleteArtifactVersionErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
@@ -25,7 +25,7 @@ export interface GetAllArtifactsByRegistryQueryQueryParams {
|
|
|
25
25
|
sort_order?: string;
|
|
26
26
|
sort_field?: string;
|
|
27
27
|
search_term?: string;
|
|
28
|
-
artifact_type?: '
|
|
28
|
+
artifact_type?: 'dataset' | 'model';
|
|
29
29
|
}
|
|
30
30
|
export type GetAllArtifactsByRegistryOkResponse = ResponseWithPagination<ListRegistryArtifactResponseResponse>;
|
|
31
31
|
export type GetAllArtifactsByRegistryErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
@@ -30,6 +30,7 @@ export interface GetArtifactDeploymentsQueryQueryParams {
|
|
|
30
30
|
sort_order?: string;
|
|
31
31
|
sort_field?: string;
|
|
32
32
|
search_term?: string;
|
|
33
|
+
version_type?: 'DIGEST' | 'TAG';
|
|
33
34
|
}
|
|
34
35
|
export type GetArtifactDeploymentsOkResponse = ResponseWithPagination<ArtifactDeploymentsResponseResponse>;
|
|
35
36
|
export type GetArtifactDeploymentsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
@@ -13,7 +13,7 @@ export interface GetArtifactDetailsQueryPathParams {
|
|
|
13
13
|
version: string;
|
|
14
14
|
}
|
|
15
15
|
export interface GetArtifactDetailsQueryQueryParams {
|
|
16
|
-
artifact_type?: '
|
|
16
|
+
artifact_type?: 'dataset' | 'model';
|
|
17
17
|
childVersion?: string;
|
|
18
18
|
}
|
|
19
19
|
export type GetArtifactDetailsOkResponse = ResponseWithPagination<ArtifactDetailResponseResponse>;
|
|
@@ -14,7 +14,7 @@ export interface GetArtifactFileQueryPathParams {
|
|
|
14
14
|
file_name: string;
|
|
15
15
|
}
|
|
16
16
|
export interface GetArtifactFileQueryQueryParams {
|
|
17
|
-
artifact_type?: '
|
|
17
|
+
artifact_type?: 'dataset' | 'model';
|
|
18
18
|
}
|
|
19
19
|
export type GetArtifactFileOkResponse = ResponseWithPagination<ArtifactFileResponseResponse>;
|
|
20
20
|
export type GetArtifactFileErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
@@ -12,7 +12,7 @@ export interface GetArtifactSummaryQueryPathParams {
|
|
|
12
12
|
artifact: string;
|
|
13
13
|
}
|
|
14
14
|
export interface GetArtifactSummaryQueryQueryParams {
|
|
15
|
-
artifact_type?: '
|
|
15
|
+
artifact_type?: 'dataset' | 'model';
|
|
16
16
|
}
|
|
17
17
|
export type GetArtifactSummaryOkResponse = ResponseWithPagination<ArtifactSummaryResponseResponse>;
|
|
18
18
|
export type GetArtifactSummaryErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
@@ -13,8 +13,8 @@ export interface GetArtifactVersionSummaryQueryPathParams {
|
|
|
13
13
|
version: string;
|
|
14
14
|
}
|
|
15
15
|
export interface GetArtifactVersionSummaryQueryQueryParams {
|
|
16
|
+
artifact_type?: 'dataset' | 'model';
|
|
16
17
|
digest?: string;
|
|
17
|
-
artifact_type?: 'DATASET' | 'MODEL';
|
|
18
18
|
}
|
|
19
19
|
export type GetArtifactVersionSummaryOkResponse = ResponseWithPagination<ArtifactVersionSummaryResponseResponse>;
|
|
20
20
|
export type GetArtifactVersionSummaryErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
@@ -14,6 +14,7 @@ export interface GetDockerArtifactDetailsQueryPathParams {
|
|
|
14
14
|
}
|
|
15
15
|
export interface GetDockerArtifactDetailsQueryQueryParams {
|
|
16
16
|
digest: string;
|
|
17
|
+
version_type?: 'DIGEST' | 'TAG';
|
|
17
18
|
}
|
|
18
19
|
export type GetDockerArtifactDetailsOkResponse = ResponseWithPagination<DockerArtifactDetailResponseResponse>;
|
|
19
20
|
export type GetDockerArtifactDetailsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
package/dist/har-service/src/services/hooks/useGetDockerArtifactIntegrationDetailsQuery.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export interface GetDockerArtifactIntegrationDetailsQueryPathParams {
|
|
|
14
14
|
}
|
|
15
15
|
export interface GetDockerArtifactIntegrationDetailsQueryQueryParams {
|
|
16
16
|
digest: string;
|
|
17
|
+
version_type?: 'DIGEST' | 'TAG';
|
|
17
18
|
}
|
|
18
19
|
export type GetDockerArtifactIntegrationDetailsOkResponse = ResponseWithPagination<DockerArtifactDetailIntegrationResponseResponse>;
|
|
19
20
|
export type GetDockerArtifactIntegrationDetailsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
@@ -12,9 +12,13 @@ export interface GetDockerArtifactManifestsQueryPathParams {
|
|
|
12
12
|
artifact: string;
|
|
13
13
|
version: string;
|
|
14
14
|
}
|
|
15
|
+
export interface GetDockerArtifactManifestsQueryQueryParams {
|
|
16
|
+
version_type?: 'DIGEST' | 'TAG';
|
|
17
|
+
}
|
|
15
18
|
export type GetDockerArtifactManifestsOkResponse = ResponseWithPagination<DockerManifestsResponseResponse>;
|
|
16
19
|
export type GetDockerArtifactManifestsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
17
|
-
export interface GetDockerArtifactManifestsProps extends GetDockerArtifactManifestsQueryPathParams, Omit<FetcherOptions<
|
|
20
|
+
export interface GetDockerArtifactManifestsProps extends GetDockerArtifactManifestsQueryPathParams, Omit<FetcherOptions<GetDockerArtifactManifestsQueryQueryParams, unknown>, 'url'> {
|
|
21
|
+
queryParams: GetDockerArtifactManifestsQueryQueryParams;
|
|
18
22
|
}
|
|
19
23
|
export declare function getDockerArtifactManifests(props: GetDockerArtifactManifestsProps): Promise<GetDockerArtifactManifestsOkResponse>;
|
|
20
24
|
/**
|
|
@@ -10,5 +10,11 @@ export function getDockerArtifactManifests(props) {
|
|
|
10
10
|
* Get Docker Artifact Manifests
|
|
11
11
|
*/
|
|
12
12
|
export function useGetDockerArtifactManifestsQuery(props, options) {
|
|
13
|
-
return useQuery([
|
|
13
|
+
return useQuery([
|
|
14
|
+
'GetDockerArtifactManifests',
|
|
15
|
+
props.registry_ref,
|
|
16
|
+
props.artifact,
|
|
17
|
+
props.version,
|
|
18
|
+
props.queryParams,
|
|
19
|
+
], ({ signal }) => getDockerArtifactManifests(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
20
|
}
|
|
@@ -12,9 +12,13 @@ export interface GetHelmArtifactDetailsQueryPathParams {
|
|
|
12
12
|
artifact: string;
|
|
13
13
|
version: string;
|
|
14
14
|
}
|
|
15
|
+
export interface GetHelmArtifactDetailsQueryQueryParams {
|
|
16
|
+
version_type?: 'DIGEST' | 'TAG';
|
|
17
|
+
}
|
|
15
18
|
export type GetHelmArtifactDetailsOkResponse = ResponseWithPagination<HelmArtifactDetailResponseResponse>;
|
|
16
19
|
export type GetHelmArtifactDetailsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
17
|
-
export interface GetHelmArtifactDetailsProps extends GetHelmArtifactDetailsQueryPathParams, Omit<FetcherOptions<
|
|
20
|
+
export interface GetHelmArtifactDetailsProps extends GetHelmArtifactDetailsQueryPathParams, Omit<FetcherOptions<GetHelmArtifactDetailsQueryQueryParams, unknown>, 'url'> {
|
|
21
|
+
queryParams: GetHelmArtifactDetailsQueryQueryParams;
|
|
18
22
|
}
|
|
19
23
|
export declare function getHelmArtifactDetails(props: GetHelmArtifactDetailsProps): Promise<GetHelmArtifactDetailsOkResponse>;
|
|
20
24
|
/**
|
|
@@ -10,5 +10,11 @@ export function getHelmArtifactDetails(props) {
|
|
|
10
10
|
* Get Helm Artifact Details
|
|
11
11
|
*/
|
|
12
12
|
export function useGetHelmArtifactDetailsQuery(props, options) {
|
|
13
|
-
return useQuery([
|
|
13
|
+
return useQuery([
|
|
14
|
+
'GetHelmArtifactDetails',
|
|
15
|
+
props.registry_ref,
|
|
16
|
+
props.artifact,
|
|
17
|
+
props.version,
|
|
18
|
+
props.queryParams,
|
|
19
|
+
], ({ signal }) => getHelmArtifactDetails(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
20
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ListOciArtifactTagsResponseResponse } from '../responses/ListOciArtifactTagsResponseResponse';
|
|
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 GetOciArtifactTagsQueryPathParams {
|
|
11
|
+
registry_ref: string;
|
|
12
|
+
artifact: string;
|
|
13
|
+
}
|
|
14
|
+
export interface GetOciArtifactTagsQueryQueryParams {
|
|
15
|
+
/**
|
|
16
|
+
* @format int64
|
|
17
|
+
* @default 1
|
|
18
|
+
*/
|
|
19
|
+
page?: number;
|
|
20
|
+
/**
|
|
21
|
+
* @format int64
|
|
22
|
+
* @default 20
|
|
23
|
+
*/
|
|
24
|
+
size?: number;
|
|
25
|
+
search_term?: string;
|
|
26
|
+
}
|
|
27
|
+
export type GetOciArtifactTagsOkResponse = ResponseWithPagination<ListOciArtifactTagsResponseResponse>;
|
|
28
|
+
export type GetOciArtifactTagsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
29
|
+
export interface GetOciArtifactTagsProps extends GetOciArtifactTagsQueryPathParams, Omit<FetcherOptions<GetOciArtifactTagsQueryQueryParams, unknown>, 'url'> {
|
|
30
|
+
queryParams: GetOciArtifactTagsQueryQueryParams;
|
|
31
|
+
}
|
|
32
|
+
export declare function getOciArtifactTags(props: GetOciArtifactTagsProps): Promise<GetOciArtifactTagsOkResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* Lists OCI Artifact Tags.
|
|
35
|
+
*/
|
|
36
|
+
export declare function useGetOciArtifactTagsQuery(props: GetOciArtifactTagsProps, options?: Omit<UseQueryOptions<GetOciArtifactTagsOkResponse, GetOciArtifactTagsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOciArtifactTagsOkResponse, 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 getOciArtifactTags(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/registry/${props.registry_ref}/artifact/${props.artifact}/tags`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Lists OCI Artifact Tags.
|
|
11
|
+
*/
|
|
12
|
+
export function useGetOciArtifactTagsQuery(props, options) {
|
|
13
|
+
return useQuery(['GetOciArtifactTags', props.registry_ref, props.artifact, props.queryParams], ({ signal }) => getOciArtifactTags(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -13,7 +13,7 @@ export interface UpdateArtifactLabelsMutationPathParams {
|
|
|
13
13
|
artifact: string;
|
|
14
14
|
}
|
|
15
15
|
export interface UpdateArtifactLabelsMutationQueryParams {
|
|
16
|
-
artifact_type?: '
|
|
16
|
+
artifact_type?: 'dataset' | 'model';
|
|
17
17
|
}
|
|
18
18
|
export type UpdateArtifactLabelsRequestBody = ArtifactLabelRequestRequestBody;
|
|
19
19
|
export type UpdateArtifactLabelsOkResponse = ResponseWithPagination<ArtifactLabelResponseResponse>;
|
|
@@ -63,14 +63,16 @@ export type { GetDockerArtifactLayersErrorResponse, GetDockerArtifactLayersOkRes
|
|
|
63
63
|
export { getDockerArtifactLayers, useGetDockerArtifactLayersQuery, } from './hooks/useGetDockerArtifactLayersQuery';
|
|
64
64
|
export type { GetDockerArtifactManifestErrorResponse, GetDockerArtifactManifestOkResponse, GetDockerArtifactManifestProps, GetDockerArtifactManifestQueryPathParams, GetDockerArtifactManifestQueryQueryParams, } from './hooks/useGetDockerArtifactManifestQuery';
|
|
65
65
|
export { getDockerArtifactManifest, useGetDockerArtifactManifestQuery, } from './hooks/useGetDockerArtifactManifestQuery';
|
|
66
|
-
export type { GetDockerArtifactManifestsErrorResponse, GetDockerArtifactManifestsOkResponse, GetDockerArtifactManifestsProps, GetDockerArtifactManifestsQueryPathParams, } from './hooks/useGetDockerArtifactManifestsQuery';
|
|
66
|
+
export type { GetDockerArtifactManifestsErrorResponse, GetDockerArtifactManifestsOkResponse, GetDockerArtifactManifestsProps, GetDockerArtifactManifestsQueryPathParams, GetDockerArtifactManifestsQueryQueryParams, } from './hooks/useGetDockerArtifactManifestsQuery';
|
|
67
67
|
export { getDockerArtifactManifests, useGetDockerArtifactManifestsQuery, } from './hooks/useGetDockerArtifactManifestsQuery';
|
|
68
|
-
export type { GetHelmArtifactDetailsErrorResponse, GetHelmArtifactDetailsOkResponse, GetHelmArtifactDetailsProps, GetHelmArtifactDetailsQueryPathParams, } from './hooks/useGetHelmArtifactDetailsQuery';
|
|
68
|
+
export type { GetHelmArtifactDetailsErrorResponse, GetHelmArtifactDetailsOkResponse, GetHelmArtifactDetailsProps, GetHelmArtifactDetailsQueryPathParams, GetHelmArtifactDetailsQueryQueryParams, } from './hooks/useGetHelmArtifactDetailsQuery';
|
|
69
69
|
export { getHelmArtifactDetails, useGetHelmArtifactDetailsQuery, } from './hooks/useGetHelmArtifactDetailsQuery';
|
|
70
70
|
export type { GetHelmArtifactManifestErrorResponse, GetHelmArtifactManifestOkResponse, GetHelmArtifactManifestProps, GetHelmArtifactManifestQueryPathParams, } from './hooks/useGetHelmArtifactManifestQuery';
|
|
71
71
|
export { getHelmArtifactManifest, useGetHelmArtifactManifestQuery, } from './hooks/useGetHelmArtifactManifestQuery';
|
|
72
72
|
export type { GetMigrationLogsForImageErrorResponse, GetMigrationLogsForImageOkResponse, GetMigrationLogsForImageProps, GetMigrationLogsForImageQueryPathParams, } from './hooks/useGetMigrationLogsForImageQuery';
|
|
73
73
|
export { getMigrationLogsForImage, useGetMigrationLogsForImageQuery, } from './hooks/useGetMigrationLogsForImageQuery';
|
|
74
|
+
export type { GetOciArtifactTagsErrorResponse, GetOciArtifactTagsOkResponse, GetOciArtifactTagsProps, GetOciArtifactTagsQueryPathParams, GetOciArtifactTagsQueryQueryParams, } from './hooks/useGetOciArtifactTagsQuery';
|
|
75
|
+
export { getOciArtifactTags, useGetOciArtifactTagsQuery } from './hooks/useGetOciArtifactTagsQuery';
|
|
74
76
|
export type { GetRegistryErrorResponse, GetRegistryOkResponse, GetRegistryProps, GetRegistryQueryPathParams, } from './hooks/useGetRegistryQuery';
|
|
75
77
|
export { getRegistry, useGetRegistryQuery } from './hooks/useGetRegistryQuery';
|
|
76
78
|
export type { GetReplicationRuleErrorResponse, GetReplicationRuleOkResponse, GetReplicationRuleProps, GetReplicationRuleQueryPathParams, } from './hooks/useGetReplicationRuleQuery';
|
|
@@ -146,6 +148,7 @@ export type { ListArtifactLabelResponseResponse } from './responses/ListArtifact
|
|
|
146
148
|
export type { ListArtifactResponseResponse } from './responses/ListArtifactResponseResponse';
|
|
147
149
|
export type { ListArtifactVersionResponseResponse } from './responses/ListArtifactVersionResponseResponse';
|
|
148
150
|
export type { ListMigrationImageResponseResponse } from './responses/ListMigrationImageResponseResponse';
|
|
151
|
+
export type { ListOciArtifactTagsResponseResponse } from './responses/ListOciArtifactTagsResponseResponse';
|
|
149
152
|
export type { ListRegistryArtifactResponseResponse } from './responses/ListRegistryArtifactResponseResponse';
|
|
150
153
|
export type { ListRegistryResponseResponse } from './responses/ListRegistryResponseResponse';
|
|
151
154
|
export type { ListReplicationRuleResponseResponse } from './responses/ListReplicationRuleResponseResponse';
|
|
@@ -169,6 +172,7 @@ export type { ArtifactDeploymentsDetail } from './schemas/ArtifactDeploymentsDet
|
|
|
169
172
|
export type { ArtifactDeploymentsDetails } from './schemas/ArtifactDeploymentsDetails';
|
|
170
173
|
export type { ArtifactDeploymentsList } from './schemas/ArtifactDeploymentsList';
|
|
171
174
|
export type { ArtifactDetail } from './schemas/ArtifactDetail';
|
|
175
|
+
export type { ArtifactEntityMetadata } from './schemas/ArtifactEntityMetadata';
|
|
172
176
|
export type { ArtifactLabelRequest } from './schemas/ArtifactLabelRequest';
|
|
173
177
|
export type { ArtifactMetadata } from './schemas/ArtifactMetadata';
|
|
174
178
|
export type { ArtifactStats } from './schemas/ArtifactStats';
|
|
@@ -214,6 +218,7 @@ export type { ListArtifact } from './schemas/ListArtifact';
|
|
|
214
218
|
export type { ListArtifactLabel } from './schemas/ListArtifactLabel';
|
|
215
219
|
export type { ListArtifactVersion } from './schemas/ListArtifactVersion';
|
|
216
220
|
export type { ListMigrationImage } from './schemas/ListMigrationImage';
|
|
221
|
+
export type { ListOciArtifactTags } from './schemas/ListOciArtifactTags';
|
|
217
222
|
export type { ListRegistry } from './schemas/ListRegistry';
|
|
218
223
|
export type { ListRegistryArtifact } from './schemas/ListRegistryArtifact';
|
|
219
224
|
export type { ListReplicationRule } from './schemas/ListReplicationRule';
|
|
@@ -224,6 +229,7 @@ export type { MavenArtifactDetailConfig } from './schemas/MavenArtifactDetailCon
|
|
|
224
229
|
export type { MigrationImage } from './schemas/MigrationImage';
|
|
225
230
|
export type { NpmArtifactDetailConfig } from './schemas/NpmArtifactDetailConfig';
|
|
226
231
|
export type { NugetArtifactDetailConfig } from './schemas/NugetArtifactDetailConfig';
|
|
232
|
+
export type { OciArtifactTag } from './schemas/OciArtifactTag';
|
|
227
233
|
export type { PackageType } from './schemas/PackageType';
|
|
228
234
|
export type { PythonArtifactDetailConfig } from './schemas/PythonArtifactDetailConfig';
|
|
229
235
|
export type { QuarantinePath } from './schemas/QuarantinePath';
|
|
@@ -34,6 +34,7 @@ export { getDockerArtifactManifests, useGetDockerArtifactManifestsQuery, } from
|
|
|
34
34
|
export { getHelmArtifactDetails, useGetHelmArtifactDetailsQuery, } from './hooks/useGetHelmArtifactDetailsQuery';
|
|
35
35
|
export { getHelmArtifactManifest, useGetHelmArtifactManifestQuery, } from './hooks/useGetHelmArtifactManifestQuery';
|
|
36
36
|
export { getMigrationLogsForImage, useGetMigrationLogsForImageQuery, } from './hooks/useGetMigrationLogsForImageQuery';
|
|
37
|
+
export { getOciArtifactTags, useGetOciArtifactTagsQuery } from './hooks/useGetOciArtifactTagsQuery';
|
|
37
38
|
export { getRegistry, useGetRegistryQuery } from './hooks/useGetRegistryQuery';
|
|
38
39
|
export { getReplicationRule, useGetReplicationRuleQuery } from './hooks/useGetReplicationRuleQuery';
|
|
39
40
|
export { getStorageDetails, useGetStorageDetailsQuery } from './hooks/useGetStorageDetailsQuery';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ArtifactType } from '../schemas/ArtifactType';
|
|
2
2
|
import type { DeploymentMetadata } from '../schemas/DeploymentMetadata';
|
|
3
|
+
import type { ArtifactEntityMetadata } from '../schemas/ArtifactEntityMetadata';
|
|
3
4
|
import type { PackageType } from '../schemas/PackageType';
|
|
4
5
|
/**
|
|
5
6
|
* Artifact Metadata
|
|
@@ -15,8 +16,9 @@ export interface ArtifactMetadata {
|
|
|
15
16
|
labels?: string[];
|
|
16
17
|
lastModified?: string;
|
|
17
18
|
latestVersion: string;
|
|
19
|
+
metadata?: ArtifactEntityMetadata;
|
|
18
20
|
name: string;
|
|
19
|
-
packageType
|
|
21
|
+
packageType: PackageType;
|
|
20
22
|
pullCommand?: string;
|
|
21
23
|
quarantineReason?: string;
|
|
22
24
|
registryIdentifier: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ArtifactType } from '../schemas/ArtifactType';
|
|
2
2
|
import type { DeploymentMetadata } from '../schemas/DeploymentMetadata';
|
|
3
|
+
import type { ArtifactEntityMetadata } from '../schemas/ArtifactEntityMetadata';
|
|
3
4
|
import type { PackageType } from '../schemas/PackageType';
|
|
4
5
|
/**
|
|
5
6
|
* Artifact Version Metadata
|
|
@@ -21,8 +22,9 @@ export interface ArtifactVersionMetadata {
|
|
|
21
22
|
fileCount?: number;
|
|
22
23
|
isQuarantined?: boolean;
|
|
23
24
|
lastModified?: string;
|
|
25
|
+
metadata?: ArtifactEntityMetadata;
|
|
24
26
|
name: string;
|
|
25
|
-
packageType
|
|
27
|
+
packageType: PackageType;
|
|
26
28
|
pullCommand?: string;
|
|
27
29
|
quarantineReason?: string;
|
|
28
30
|
registryIdentifier: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ArtifactEntityMetadata } from '../schemas/ArtifactEntityMetadata';
|
|
1
2
|
import type { PackageType } from '../schemas/PackageType';
|
|
2
3
|
/**
|
|
3
4
|
* Docker Artifact Detail
|
|
@@ -10,9 +11,11 @@ export interface DockerArtifactDetail {
|
|
|
10
11
|
downloadsCount?: number;
|
|
11
12
|
imageName: string;
|
|
12
13
|
isQuarantined?: boolean;
|
|
14
|
+
metadata?: ArtifactEntityMetadata;
|
|
13
15
|
modifiedAt?: string;
|
|
14
16
|
packageType: PackageType;
|
|
15
17
|
pullCommand?: string;
|
|
18
|
+
pullCommandByDigest?: string;
|
|
16
19
|
quarantineReason?: string;
|
|
17
20
|
registryPath: string;
|
|
18
21
|
size?: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ArtifactEntityMetadata } from '../schemas/ArtifactEntityMetadata';
|
|
1
2
|
import type { PackageType } from '../schemas/PackageType';
|
|
2
3
|
/**
|
|
3
4
|
* Helm Artifact Detail
|
|
@@ -9,9 +10,11 @@ export interface HelmArtifactDetail {
|
|
|
9
10
|
* @format int64
|
|
10
11
|
*/
|
|
11
12
|
downloadsCount?: number;
|
|
13
|
+
metadata?: ArtifactEntityMetadata;
|
|
12
14
|
modifiedAt?: string;
|
|
13
15
|
packageType: PackageType;
|
|
14
16
|
pullCommand?: string;
|
|
17
|
+
pullCommandByDigest?: string;
|
|
15
18
|
registryPath: string;
|
|
16
19
|
size?: string;
|
|
17
20
|
url: string;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { OciArtifactTag } from '../schemas/OciArtifactTag';
|
|
2
|
+
/**
|
|
3
|
+
* A list of Artifact versions
|
|
4
|
+
*/
|
|
5
|
+
export interface ListOciArtifactTags {
|
|
6
|
+
/**
|
|
7
|
+
* The total number of items
|
|
8
|
+
* @format int64
|
|
9
|
+
* @example 1
|
|
10
|
+
*/
|
|
11
|
+
itemCount?: number;
|
|
12
|
+
/**
|
|
13
|
+
* A list of OCI Artifact tags
|
|
14
|
+
*/
|
|
15
|
+
ociArtifactTags?: OciArtifactTag[];
|
|
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 {};
|