@harnessio/react-har-service-client 0.21.0 → 0.23.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/useDefineSpaceLabelMutation.d.ts +23 -0
- package/dist/har-service/src/services/hooks/useDefineSpaceLabelMutation.js +11 -0
- package/dist/har-service/src/services/hooks/useDefineSpaceLabelValueMutation.d.ts +21 -0
- package/dist/har-service/src/services/hooks/useDefineSpaceLabelValueMutation.js +11 -0
- package/dist/har-service/src/services/hooks/useDeleteQuarantineFilePathMutation.d.ts +26 -0
- package/dist/har-service/src/services/hooks/useDeleteQuarantineFilePathMutation.js +14 -0
- package/dist/har-service/src/services/hooks/useDeleteSpaceLabelMutation.d.ts +14 -0
- package/dist/har-service/src/services/hooks/useDeleteSpaceLabelMutation.js +11 -0
- package/dist/har-service/src/services/hooks/useDeleteSpaceLabelValueMutation.d.ts +15 -0
- package/dist/har-service/src/services/hooks/useDeleteSpaceLabelValueMutation.js +11 -0
- package/dist/har-service/src/services/hooks/useFindSpaceLabelQuery.d.ts +19 -0
- package/dist/har-service/src/services/hooks/useFindSpaceLabelQuery.js +11 -0
- package/dist/har-service/src/services/hooks/useGetAllRegistriesQuery.d.ts +2 -1
- package/dist/har-service/src/services/hooks/useGetAllRegistriesQuery.js +1 -1
- package/dist/har-service/src/services/hooks/useGetArtifactFileQuery.d.ts +24 -0
- package/dist/har-service/src/services/hooks/useGetArtifactFileQuery.js +14 -0
- package/dist/har-service/src/services/hooks/useGetArtifactStatsForSpaceQuery.d.ts +1 -1
- package/dist/har-service/src/services/hooks/useGetArtifactStatsForSpaceQuery.js +1 -1
- package/dist/har-service/src/services/hooks/useListSpaceLabelValuesQuery.d.ts +15 -0
- package/dist/har-service/src/services/hooks/useListSpaceLabelValuesQuery.js +11 -0
- package/dist/har-service/src/services/hooks/useListSpaceLabelsQuery.d.ts +27 -0
- package/dist/har-service/src/services/hooks/useListSpaceLabelsQuery.js +11 -0
- package/dist/har-service/src/services/hooks/useQuarantineFilePathMutation.d.ts +23 -0
- package/dist/har-service/src/services/hooks/useQuarantineFilePathMutation.js +14 -0
- package/dist/har-service/src/services/hooks/useSaveSpaceLabelMutation.d.ts +21 -0
- package/dist/har-service/src/services/hooks/useSaveSpaceLabelMutation.js +11 -0
- package/dist/har-service/src/services/hooks/useUpdateSpaceLabelMutation.d.ts +24 -0
- package/dist/har-service/src/services/hooks/useUpdateSpaceLabelMutation.js +11 -0
- package/dist/har-service/src/services/hooks/useUpdateSpaceLabelValueMutation.d.ts +22 -0
- package/dist/har-service/src/services/hooks/useUpdateSpaceLabelValueMutation.js +11 -0
- package/dist/har-service/src/services/index.d.ts +40 -2
- package/dist/har-service/src/services/index.js +13 -0
- package/dist/har-service/src/services/requestBodies/QuarantineRequestRequestBody.d.ts +2 -0
- package/dist/har-service/src/services/responses/ArtifactFileResponseResponse.d.ts +8 -0
- package/dist/har-service/src/services/responses/QuarantinePathResponseResponse.d.ts +6 -0
- package/dist/har-service/src/services/responses/QuarantinePathResponseResponse.js +1 -0
- package/dist/har-service/src/services/schemas/ArtifactDetail.d.ts +5 -3
- package/dist/har-service/src/services/schemas/ArtifactMetadata.d.ts +0 -2
- package/dist/har-service/src/services/schemas/ArtifactVersionMetadata.d.ts +1 -0
- package/dist/har-service/src/services/schemas/DockerArtifactDetail.d.ts +1 -0
- package/dist/har-service/src/services/schemas/EnumLabelColor.d.ts +1 -0
- package/dist/har-service/src/services/schemas/EnumLabelColor.js +4 -0
- package/dist/har-service/src/services/schemas/EnumLabelType.d.ts +1 -0
- package/dist/har-service/src/services/schemas/EnumLabelType.js +4 -0
- package/dist/har-service/src/services/schemas/GoArtifactDetailConfig.d.ts +8 -0
- package/dist/har-service/src/services/schemas/GoArtifactDetailConfig.js +4 -0
- package/dist/har-service/src/services/schemas/PackageType.d.ts +1 -1
- package/dist/har-service/src/services/schemas/QuarantinePath.d.ts +20 -0
- package/dist/har-service/src/services/schemas/QuarantinePath.js +4 -0
- package/dist/har-service/src/services/schemas/QuarantineRequest.d.ts +6 -0
- package/dist/har-service/src/services/schemas/QuarantineRequest.js +4 -0
- package/dist/har-service/src/services/schemas/RegistryArtifactMetadata.d.ts +1 -0
- package/dist/har-service/src/services/schemas/RegistryRequest.d.ts +10 -0
- package/dist/har-service/src/services/schemas/TypesLabel.d.ts +40 -0
- package/dist/har-service/src/services/schemas/TypesLabel.js +1 -0
- package/dist/har-service/src/services/schemas/TypesLabelValue.d.ts +11 -0
- package/dist/har-service/src/services/schemas/TypesLabelValue.js +1 -0
- package/dist/har-service/src/services/schemas/TypesLabelWithValues.d.ts +6 -0
- package/dist/har-service/src/services/schemas/TypesLabelWithValues.js +1 -0
- package/dist/har-service/src/services/schemas/TypesSaveLabelInput.d.ts +9 -0
- package/dist/har-service/src/services/schemas/TypesSaveLabelInput.js +1 -0
- package/dist/har-service/src/services/schemas/TypesSaveLabelValueInput.d.ts +6 -0
- package/dist/har-service/src/services/schemas/TypesSaveLabelValueInput.js +1 -0
- package/dist/har-service/src/services/schemas/UpstreamConfig.d.ts +1 -1
- package/dist/har-service/src/services/schemas/UsererrorError.d.ts +6 -0
- package/dist/har-service/src/services/schemas/UsererrorError.js +4 -0
- package/package.json +1 -1
- package/dist/har-service/src/services/schemas/StoDigestMetadata.d.ts +0 -8
- package/dist/har-service/src/services/schemas/StoMetadata.d.ts +0 -12
- /package/dist/har-service/src/services/{schemas/StoDigestMetadata.js → requestBodies/QuarantineRequestRequestBody.js} +0 -0
- /package/dist/har-service/src/services/{schemas/StoMetadata.js → responses/ArtifactFileResponseResponse.js} +0 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesLabel } from '../schemas/TypesLabel';
|
|
3
|
+
import type { UsererrorError } from '../schemas/UsererrorError';
|
|
4
|
+
import type { EnumLabelColor } from '../schemas/EnumLabelColor';
|
|
5
|
+
import type { EnumLabelType } from '../schemas/EnumLabelType';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface DefineSpaceLabelMutationPathParams {
|
|
9
|
+
space_ref: string;
|
|
10
|
+
}
|
|
11
|
+
export type DefineSpaceLabelRequestBody = {
|
|
12
|
+
color?: EnumLabelColor;
|
|
13
|
+
description?: string;
|
|
14
|
+
key?: string;
|
|
15
|
+
type?: EnumLabelType;
|
|
16
|
+
};
|
|
17
|
+
export type DefineSpaceLabelOkResponse = ResponseWithPagination<TypesLabel>;
|
|
18
|
+
export type DefineSpaceLabelErrorResponse = UsererrorError;
|
|
19
|
+
export interface DefineSpaceLabelProps extends DefineSpaceLabelMutationPathParams, Omit<FetcherOptions<unknown, DefineSpaceLabelRequestBody>, 'url'> {
|
|
20
|
+
body: DefineSpaceLabelRequestBody;
|
|
21
|
+
}
|
|
22
|
+
export declare function defineSpaceLabel(props: DefineSpaceLabelProps): Promise<DefineSpaceLabelOkResponse>;
|
|
23
|
+
export declare function useDefineSpaceLabelMutation(options?: Omit<UseMutationOptions<DefineSpaceLabelOkResponse, DefineSpaceLabelErrorResponse, DefineSpaceLabelProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DefineSpaceLabelOkResponse, UsererrorError, DefineSpaceLabelProps, unknown>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function defineSpaceLabel(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/spaces/${props.space_ref}/labels`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
export function useDefineSpaceLabelMutation(options) {
|
|
10
|
+
return useMutation((mutateProps) => defineSpaceLabel(mutateProps), options);
|
|
11
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesLabelValue } from '../schemas/TypesLabelValue';
|
|
3
|
+
import type { UsererrorError } from '../schemas/UsererrorError';
|
|
4
|
+
import type { EnumLabelColor } from '../schemas/EnumLabelColor';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface DefineSpaceLabelValueMutationPathParams {
|
|
8
|
+
space_ref: string;
|
|
9
|
+
key: string;
|
|
10
|
+
}
|
|
11
|
+
export type DefineSpaceLabelValueRequestBody = {
|
|
12
|
+
color?: EnumLabelColor;
|
|
13
|
+
value?: string;
|
|
14
|
+
};
|
|
15
|
+
export type DefineSpaceLabelValueOkResponse = ResponseWithPagination<TypesLabelValue>;
|
|
16
|
+
export type DefineSpaceLabelValueErrorResponse = UsererrorError;
|
|
17
|
+
export interface DefineSpaceLabelValueProps extends DefineSpaceLabelValueMutationPathParams, Omit<FetcherOptions<unknown, DefineSpaceLabelValueRequestBody>, 'url'> {
|
|
18
|
+
body: DefineSpaceLabelValueRequestBody;
|
|
19
|
+
}
|
|
20
|
+
export declare function defineSpaceLabelValue(props: DefineSpaceLabelValueProps): Promise<DefineSpaceLabelValueOkResponse>;
|
|
21
|
+
export declare function useDefineSpaceLabelValueMutation(options?: Omit<UseMutationOptions<DefineSpaceLabelValueOkResponse, DefineSpaceLabelValueErrorResponse, DefineSpaceLabelValueProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DefineSpaceLabelValueOkResponse, UsererrorError, DefineSpaceLabelValueProps, unknown>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function defineSpaceLabelValue(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/spaces/${props.space_ref}/labels/${props.key}/values`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
export function useDefineSpaceLabelValueMutation(options) {
|
|
10
|
+
return useMutation((mutateProps) => defineSpaceLabelValue(mutateProps), options);
|
|
11
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { SuccessResponse } from '../responses/SuccessResponse';
|
|
3
|
+
import type { BadRequestResponse } from '../responses/BadRequestResponse';
|
|
4
|
+
import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
|
|
5
|
+
import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
|
|
6
|
+
import type { InternalServerErrorResponse } from '../responses/InternalServerErrorResponse';
|
|
7
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
8
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
9
|
+
export interface DeleteQuarantineFilePathMutationPathParams {
|
|
10
|
+
registry_ref: string;
|
|
11
|
+
}
|
|
12
|
+
export interface DeleteQuarantineFilePathMutationQueryParams {
|
|
13
|
+
artifact?: string;
|
|
14
|
+
version?: string;
|
|
15
|
+
file_path?: string;
|
|
16
|
+
}
|
|
17
|
+
export type DeleteQuarantineFilePathOkResponse = ResponseWithPagination<SuccessResponse>;
|
|
18
|
+
export type DeleteQuarantineFilePathErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | InternalServerErrorResponse;
|
|
19
|
+
export interface DeleteQuarantineFilePathProps extends DeleteQuarantineFilePathMutationPathParams, Omit<FetcherOptions<DeleteQuarantineFilePathMutationQueryParams, unknown>, 'url'> {
|
|
20
|
+
queryParams: DeleteQuarantineFilePathMutationQueryParams;
|
|
21
|
+
}
|
|
22
|
+
export declare function deleteQuarantineFilePath(props: DeleteQuarantineFilePathProps): Promise<DeleteQuarantineFilePathOkResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* delete Quarantine file path
|
|
25
|
+
*/
|
|
26
|
+
export declare function useDeleteQuarantineFilePathMutation(options?: Omit<UseMutationOptions<DeleteQuarantineFilePathOkResponse, DeleteQuarantineFilePathErrorResponse, DeleteQuarantineFilePathProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteQuarantineFilePathOkResponse, import("..").Error, DeleteQuarantineFilePathProps, unknown>;
|
|
@@ -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 { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function deleteQuarantineFilePath(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/registry/${props.registry_ref}/quarantine`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* delete Quarantine file path
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteQuarantineFilePathMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteQuarantineFilePath(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { UsererrorError } from '../schemas/UsererrorError';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface DeleteSpaceLabelMutationPathParams {
|
|
6
|
+
space_ref: string;
|
|
7
|
+
key: string;
|
|
8
|
+
}
|
|
9
|
+
export type DeleteSpaceLabelOkResponse = ResponseWithPagination<unknown>;
|
|
10
|
+
export type DeleteSpaceLabelErrorResponse = UsererrorError;
|
|
11
|
+
export interface DeleteSpaceLabelProps extends DeleteSpaceLabelMutationPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
12
|
+
}
|
|
13
|
+
export declare function deleteSpaceLabel(props: DeleteSpaceLabelProps): Promise<DeleteSpaceLabelOkResponse>;
|
|
14
|
+
export declare function useDeleteSpaceLabelMutation(options?: Omit<UseMutationOptions<DeleteSpaceLabelOkResponse, DeleteSpaceLabelErrorResponse, DeleteSpaceLabelProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteSpaceLabelOkResponse, UsererrorError, DeleteSpaceLabelProps, unknown>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function deleteSpaceLabel(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/spaces/${props.space_ref}/labels/${props.key}`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
export function useDeleteSpaceLabelMutation(options) {
|
|
10
|
+
return useMutation((mutateProps) => deleteSpaceLabel(mutateProps), options);
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { UsererrorError } from '../schemas/UsererrorError';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface DeleteSpaceLabelValueMutationPathParams {
|
|
6
|
+
space_ref: string;
|
|
7
|
+
key: string;
|
|
8
|
+
value: string;
|
|
9
|
+
}
|
|
10
|
+
export type DeleteSpaceLabelValueOkResponse = ResponseWithPagination<unknown>;
|
|
11
|
+
export type DeleteSpaceLabelValueErrorResponse = UsererrorError;
|
|
12
|
+
export interface DeleteSpaceLabelValueProps extends DeleteSpaceLabelValueMutationPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
13
|
+
}
|
|
14
|
+
export declare function deleteSpaceLabelValue(props: DeleteSpaceLabelValueProps): Promise<DeleteSpaceLabelValueOkResponse>;
|
|
15
|
+
export declare function useDeleteSpaceLabelValueMutation(options?: Omit<UseMutationOptions<DeleteSpaceLabelValueOkResponse, DeleteSpaceLabelValueErrorResponse, DeleteSpaceLabelValueProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteSpaceLabelValueOkResponse, UsererrorError, DeleteSpaceLabelValueProps, unknown>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function deleteSpaceLabelValue(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/spaces/${props.space_ref}/labels/${props.key}/values/${props.value}`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
export function useDeleteSpaceLabelValueMutation(options) {
|
|
10
|
+
return useMutation((mutateProps) => deleteSpaceLabelValue(mutateProps), options);
|
|
11
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesLabelWithValues } from '../schemas/TypesLabelWithValues';
|
|
3
|
+
import type { UsererrorError } from '../schemas/UsererrorError';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface FindSpaceLabelQueryPathParams {
|
|
7
|
+
space_ref: string;
|
|
8
|
+
key: string;
|
|
9
|
+
}
|
|
10
|
+
export interface FindSpaceLabelQueryQueryParams {
|
|
11
|
+
include_values?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export type FindSpaceLabelOkResponse = ResponseWithPagination<TypesLabelWithValues>;
|
|
14
|
+
export type FindSpaceLabelErrorResponse = UsererrorError;
|
|
15
|
+
export interface FindSpaceLabelProps extends FindSpaceLabelQueryPathParams, Omit<FetcherOptions<FindSpaceLabelQueryQueryParams, unknown>, 'url'> {
|
|
16
|
+
queryParams: FindSpaceLabelQueryQueryParams;
|
|
17
|
+
}
|
|
18
|
+
export declare function findSpaceLabel(props: FindSpaceLabelProps): Promise<FindSpaceLabelOkResponse>;
|
|
19
|
+
export declare function useFindSpaceLabelQuery(props: FindSpaceLabelProps, options?: Omit<UseQueryOptions<FindSpaceLabelOkResponse, FindSpaceLabelErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<FindSpaceLabelOkResponse, UsererrorError>;
|
|
@@ -0,0 +1,11 @@
|
|
|
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 findSpaceLabel(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/spaces/${props.space_ref}/labels/${props.key}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
export function useFindSpaceLabelQuery(props, options) {
|
|
10
|
+
return useQuery(['findSpaceLabel', props.space_ref, props.key, props.queryParams], ({ signal }) => findSpaceLabel(Object.assign(Object.assign({}, props), { signal })), options);
|
|
11
|
+
}
|
|
@@ -27,6 +27,7 @@ export interface GetAllRegistriesQueryQueryParams {
|
|
|
27
27
|
sort_field?: string;
|
|
28
28
|
search_term?: string;
|
|
29
29
|
recursive?: boolean;
|
|
30
|
+
scope?: 'ancestors' | 'descendants' | 'none';
|
|
30
31
|
}
|
|
31
32
|
export type GetAllRegistriesOkResponse = ResponseWithPagination<ListRegistryResponseResponse>;
|
|
32
33
|
export type GetAllRegistriesErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
@@ -35,6 +36,6 @@ export interface GetAllRegistriesProps extends GetAllRegistriesQueryPathParams,
|
|
|
35
36
|
}
|
|
36
37
|
export declare function getAllRegistries(props: GetAllRegistriesProps): Promise<GetAllRegistriesOkResponse>;
|
|
37
38
|
/**
|
|
38
|
-
* Lists all the
|
|
39
|
+
* Lists all the registries.
|
|
39
40
|
*/
|
|
40
41
|
export declare function useGetAllRegistriesQuery(props: GetAllRegistriesProps, options?: Omit<UseQueryOptions<GetAllRegistriesOkResponse, GetAllRegistriesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAllRegistriesOkResponse, import("..").Error>;
|
|
@@ -7,7 +7,7 @@ export function getAllRegistries(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/spaces/${props.space_ref}/registries`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Lists all the
|
|
10
|
+
* Lists all the registries.
|
|
11
11
|
*/
|
|
12
12
|
export function useGetAllRegistriesQuery(props, options) {
|
|
13
13
|
return useQuery(['GetAllRegistries', props.space_ref, props.queryParams], ({ signal }) => getAllRegistries(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ArtifactFileResponseResponse } from '../responses/ArtifactFileResponseResponse';
|
|
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 GetArtifactFileQueryPathParams {
|
|
11
|
+
registry_ref: string;
|
|
12
|
+
artifact: string;
|
|
13
|
+
version: string;
|
|
14
|
+
file_name: string;
|
|
15
|
+
}
|
|
16
|
+
export type GetArtifactFileOkResponse = ResponseWithPagination<ArtifactFileResponseResponse>;
|
|
17
|
+
export type GetArtifactFileErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
18
|
+
export interface GetArtifactFileProps extends GetArtifactFileQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
19
|
+
}
|
|
20
|
+
export declare function getArtifactFile(props: GetArtifactFileProps): Promise<GetArtifactFileOkResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* just validate existence of Artifact file
|
|
23
|
+
*/
|
|
24
|
+
export declare function useGetArtifactFileQuery(props: GetArtifactFileProps, options?: Omit<UseQueryOptions<GetArtifactFileOkResponse, GetArtifactFileErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetArtifactFileOkResponse, 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 getArtifactFile(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/registry/${props.registry_ref}/artifact/${props.artifact}/version/${props.version}/file/${props.file_name}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* just validate existence of Artifact file
|
|
11
|
+
*/
|
|
12
|
+
export function useGetArtifactFileQuery(props, options) {
|
|
13
|
+
return useQuery(['GetArtifactFile', props.registry_ref, props.artifact, props.version, props.file_name], ({ signal }) => getArtifactFile(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -21,6 +21,6 @@ export interface GetArtifactStatsForSpaceProps extends GetArtifactStatsForSpaceQ
|
|
|
21
21
|
}
|
|
22
22
|
export declare function getArtifactStatsForSpace(props: GetArtifactStatsForSpaceProps): Promise<GetArtifactStatsForSpaceOkResponse>;
|
|
23
23
|
/**
|
|
24
|
-
* Get
|
|
24
|
+
* Get artifact stats
|
|
25
25
|
*/
|
|
26
26
|
export declare function useGetArtifactStatsForSpaceQuery(props: GetArtifactStatsForSpaceProps, options?: Omit<UseQueryOptions<GetArtifactStatsForSpaceOkResponse, GetArtifactStatsForSpaceErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetArtifactStatsForSpaceOkResponse, import("..").Error>;
|
|
@@ -7,7 +7,7 @@ export function getArtifactStatsForSpace(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/spaces/${props.space_ref}/artifact/stats`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Get
|
|
10
|
+
* Get artifact stats
|
|
11
11
|
*/
|
|
12
12
|
export function useGetArtifactStatsForSpaceQuery(props, options) {
|
|
13
13
|
return useQuery(['GetArtifactStatsForSpace', props.space_ref, props.queryParams], ({ signal }) => getArtifactStatsForSpace(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesLabelValue } from '../schemas/TypesLabelValue';
|
|
3
|
+
import type { UsererrorError } from '../schemas/UsererrorError';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface ListSpaceLabelValuesQueryPathParams {
|
|
7
|
+
space_ref: string;
|
|
8
|
+
key: string;
|
|
9
|
+
}
|
|
10
|
+
export type ListSpaceLabelValuesOkResponse = ResponseWithPagination<TypesLabelValue[]>;
|
|
11
|
+
export type ListSpaceLabelValuesErrorResponse = UsererrorError;
|
|
12
|
+
export interface ListSpaceLabelValuesProps extends ListSpaceLabelValuesQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
13
|
+
}
|
|
14
|
+
export declare function listSpaceLabelValues(props: ListSpaceLabelValuesProps): Promise<ListSpaceLabelValuesOkResponse>;
|
|
15
|
+
export declare function useListSpaceLabelValuesQuery(props: ListSpaceLabelValuesProps, options?: Omit<UseQueryOptions<ListSpaceLabelValuesOkResponse, ListSpaceLabelValuesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListSpaceLabelValuesOkResponse, UsererrorError>;
|
|
@@ -0,0 +1,11 @@
|
|
|
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 listSpaceLabelValues(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/spaces/${props.space_ref}/labels/${props.key}/values`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
export function useListSpaceLabelValuesQuery(props, options) {
|
|
10
|
+
return useQuery(['listSpaceLabelValues', props.space_ref, props.key], ({ signal }) => listSpaceLabelValues(Object.assign(Object.assign({}, props), { signal })), options);
|
|
11
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesLabel } from '../schemas/TypesLabel';
|
|
3
|
+
import type { UsererrorError } from '../schemas/UsererrorError';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface ListSpaceLabelsQueryPathParams {
|
|
7
|
+
space_ref: string;
|
|
8
|
+
}
|
|
9
|
+
export interface ListSpaceLabelsQueryQueryParams {
|
|
10
|
+
/**
|
|
11
|
+
* @default 1
|
|
12
|
+
*/
|
|
13
|
+
page?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @default 30
|
|
16
|
+
*/
|
|
17
|
+
limit?: number;
|
|
18
|
+
inherited?: boolean;
|
|
19
|
+
query?: string;
|
|
20
|
+
}
|
|
21
|
+
export type ListSpaceLabelsOkResponse = ResponseWithPagination<TypesLabel[]>;
|
|
22
|
+
export type ListSpaceLabelsErrorResponse = UsererrorError;
|
|
23
|
+
export interface ListSpaceLabelsProps extends ListSpaceLabelsQueryPathParams, Omit<FetcherOptions<ListSpaceLabelsQueryQueryParams, unknown>, 'url'> {
|
|
24
|
+
queryParams: ListSpaceLabelsQueryQueryParams;
|
|
25
|
+
}
|
|
26
|
+
export declare function listSpaceLabels(props: ListSpaceLabelsProps): Promise<ListSpaceLabelsOkResponse>;
|
|
27
|
+
export declare function useListSpaceLabelsQuery(props: ListSpaceLabelsProps, options?: Omit<UseQueryOptions<ListSpaceLabelsOkResponse, ListSpaceLabelsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListSpaceLabelsOkResponse, UsererrorError>;
|
|
@@ -0,0 +1,11 @@
|
|
|
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 listSpaceLabels(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/spaces/${props.space_ref}/labels`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
export function useListSpaceLabelsQuery(props, options) {
|
|
10
|
+
return useQuery(['listSpaceLabels', props.space_ref, props.queryParams], ({ signal }) => listSpaceLabels(Object.assign(Object.assign({}, props), { signal })), options);
|
|
11
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { QuarantinePathResponseResponse } from '../responses/QuarantinePathResponseResponse';
|
|
3
|
+
import type { BadRequestResponse } from '../responses/BadRequestResponse';
|
|
4
|
+
import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
|
|
5
|
+
import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
|
|
6
|
+
import type { InternalServerErrorResponse } from '../responses/InternalServerErrorResponse';
|
|
7
|
+
import type { QuarantineRequestRequestBody } from '../requestBodies/QuarantineRequestRequestBody';
|
|
8
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
9
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
10
|
+
export interface QuarantineFilePathMutationPathParams {
|
|
11
|
+
registry_ref: string;
|
|
12
|
+
}
|
|
13
|
+
export type QuarantineFilePathRequestBody = QuarantineRequestRequestBody;
|
|
14
|
+
export type QuarantineFilePathOkResponse = ResponseWithPagination<QuarantinePathResponseResponse>;
|
|
15
|
+
export type QuarantineFilePathErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | InternalServerErrorResponse;
|
|
16
|
+
export interface QuarantineFilePathProps extends QuarantineFilePathMutationPathParams, Omit<FetcherOptions<unknown, QuarantineFilePathRequestBody>, 'url'> {
|
|
17
|
+
body: QuarantineFilePathRequestBody;
|
|
18
|
+
}
|
|
19
|
+
export declare function quarantineFilePath(props: QuarantineFilePathProps): Promise<QuarantineFilePathOkResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* quarantine file path
|
|
22
|
+
*/
|
|
23
|
+
export declare function useQuarantineFilePathMutation(options?: Omit<UseMutationOptions<QuarantineFilePathOkResponse, QuarantineFilePathErrorResponse, QuarantineFilePathProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<QuarantineFilePathOkResponse, import("..").Error, QuarantineFilePathProps, unknown>;
|
|
@@ -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 { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function quarantineFilePath(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/registry/${props.registry_ref}/quarantine`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* quarantine file path
|
|
11
|
+
*/
|
|
12
|
+
export function useQuarantineFilePathMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => quarantineFilePath(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesLabelWithValues } from '../schemas/TypesLabelWithValues';
|
|
3
|
+
import type { UsererrorError } from '../schemas/UsererrorError';
|
|
4
|
+
import type { TypesSaveLabelInput } from '../schemas/TypesSaveLabelInput';
|
|
5
|
+
import type { TypesSaveLabelValueInput } from '../schemas/TypesSaveLabelValueInput';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface SaveSpaceLabelMutationPathParams {
|
|
9
|
+
space_ref: string;
|
|
10
|
+
}
|
|
11
|
+
export type SaveSpaceLabelRequestBody = {
|
|
12
|
+
label?: TypesSaveLabelInput;
|
|
13
|
+
values?: TypesSaveLabelValueInput[];
|
|
14
|
+
};
|
|
15
|
+
export type SaveSpaceLabelOkResponse = ResponseWithPagination<TypesLabelWithValues>;
|
|
16
|
+
export type SaveSpaceLabelErrorResponse = UsererrorError;
|
|
17
|
+
export interface SaveSpaceLabelProps extends SaveSpaceLabelMutationPathParams, Omit<FetcherOptions<unknown, SaveSpaceLabelRequestBody>, 'url'> {
|
|
18
|
+
body: SaveSpaceLabelRequestBody;
|
|
19
|
+
}
|
|
20
|
+
export declare function saveSpaceLabel(props: SaveSpaceLabelProps): Promise<SaveSpaceLabelOkResponse>;
|
|
21
|
+
export declare function useSaveSpaceLabelMutation(options?: Omit<UseMutationOptions<SaveSpaceLabelOkResponse, SaveSpaceLabelErrorResponse, SaveSpaceLabelProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SaveSpaceLabelOkResponse, UsererrorError, SaveSpaceLabelProps, unknown>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function saveSpaceLabel(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/spaces/${props.space_ref}/labels`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
export function useSaveSpaceLabelMutation(options) {
|
|
10
|
+
return useMutation((mutateProps) => saveSpaceLabel(mutateProps), options);
|
|
11
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesLabel } from '../schemas/TypesLabel';
|
|
3
|
+
import type { UsererrorError } from '../schemas/UsererrorError';
|
|
4
|
+
import type { EnumLabelColor } from '../schemas/EnumLabelColor';
|
|
5
|
+
import type { EnumLabelType } from '../schemas/EnumLabelType';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface UpdateSpaceLabelMutationPathParams {
|
|
9
|
+
space_ref: string;
|
|
10
|
+
key: string;
|
|
11
|
+
}
|
|
12
|
+
export type UpdateSpaceLabelRequestBody = {
|
|
13
|
+
color?: EnumLabelColor;
|
|
14
|
+
description?: string;
|
|
15
|
+
key?: string;
|
|
16
|
+
type?: EnumLabelType;
|
|
17
|
+
};
|
|
18
|
+
export type UpdateSpaceLabelOkResponse = ResponseWithPagination<TypesLabel>;
|
|
19
|
+
export type UpdateSpaceLabelErrorResponse = UsererrorError;
|
|
20
|
+
export interface UpdateSpaceLabelProps extends UpdateSpaceLabelMutationPathParams, Omit<FetcherOptions<unknown, UpdateSpaceLabelRequestBody>, 'url'> {
|
|
21
|
+
body: UpdateSpaceLabelRequestBody;
|
|
22
|
+
}
|
|
23
|
+
export declare function updateSpaceLabel(props: UpdateSpaceLabelProps): Promise<UpdateSpaceLabelOkResponse>;
|
|
24
|
+
export declare function useUpdateSpaceLabelMutation(options?: Omit<UseMutationOptions<UpdateSpaceLabelOkResponse, UpdateSpaceLabelErrorResponse, UpdateSpaceLabelProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateSpaceLabelOkResponse, UsererrorError, UpdateSpaceLabelProps, unknown>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function updateSpaceLabel(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/spaces/${props.space_ref}/labels/${props.key}`, method: 'PATCH' }, props));
|
|
8
|
+
}
|
|
9
|
+
export function useUpdateSpaceLabelMutation(options) {
|
|
10
|
+
return useMutation((mutateProps) => updateSpaceLabel(mutateProps), options);
|
|
11
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TypesLabelValue } from '../schemas/TypesLabelValue';
|
|
3
|
+
import type { UsererrorError } from '../schemas/UsererrorError';
|
|
4
|
+
import type { EnumLabelColor } from '../schemas/EnumLabelColor';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface UpdateSpaceLabelValueMutationPathParams {
|
|
8
|
+
space_ref: string;
|
|
9
|
+
key: string;
|
|
10
|
+
value: string;
|
|
11
|
+
}
|
|
12
|
+
export type UpdateSpaceLabelValueRequestBody = {
|
|
13
|
+
color?: EnumLabelColor;
|
|
14
|
+
value?: string;
|
|
15
|
+
};
|
|
16
|
+
export type UpdateSpaceLabelValueOkResponse = ResponseWithPagination<TypesLabelValue>;
|
|
17
|
+
export type UpdateSpaceLabelValueErrorResponse = UsererrorError;
|
|
18
|
+
export interface UpdateSpaceLabelValueProps extends UpdateSpaceLabelValueMutationPathParams, Omit<FetcherOptions<unknown, UpdateSpaceLabelValueRequestBody>, 'url'> {
|
|
19
|
+
body: UpdateSpaceLabelValueRequestBody;
|
|
20
|
+
}
|
|
21
|
+
export declare function updateSpaceLabelValue(props: UpdateSpaceLabelValueProps): Promise<UpdateSpaceLabelValueOkResponse>;
|
|
22
|
+
export declare function useUpdateSpaceLabelValueMutation(options?: Omit<UseMutationOptions<UpdateSpaceLabelValueOkResponse, UpdateSpaceLabelValueErrorResponse, UpdateSpaceLabelValueProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateSpaceLabelValueOkResponse, UsererrorError, UpdateSpaceLabelValueProps, unknown>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function updateSpaceLabelValue(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/spaces/${props.space_ref}/labels/${props.key}/values/${props.value}`, method: 'PATCH' }, props));
|
|
8
|
+
}
|
|
9
|
+
export function useUpdateSpaceLabelValueMutation(options) {
|
|
10
|
+
return useMutation((mutateProps) => updateSpaceLabelValue(mutateProps), options);
|
|
11
|
+
}
|
|
@@ -5,16 +5,28 @@ export type { CreateReplicationRuleErrorResponse, CreateReplicationRuleMutationQ
|
|
|
5
5
|
export { createReplicationRule, useCreateReplicationRuleMutation, } from './hooks/useCreateReplicationRuleMutation';
|
|
6
6
|
export type { CreateWebhookErrorResponse, CreateWebhookMutationPathParams, CreateWebhookOkResponse, CreateWebhookProps, CreateWebhookRequestBody, } from './hooks/useCreateWebhookMutation';
|
|
7
7
|
export { createWebhook, useCreateWebhookMutation } from './hooks/useCreateWebhookMutation';
|
|
8
|
+
export type { DefineSpaceLabelErrorResponse, DefineSpaceLabelMutationPathParams, DefineSpaceLabelOkResponse, DefineSpaceLabelProps, DefineSpaceLabelRequestBody, } from './hooks/useDefineSpaceLabelMutation';
|
|
9
|
+
export { defineSpaceLabel, useDefineSpaceLabelMutation } from './hooks/useDefineSpaceLabelMutation';
|
|
10
|
+
export type { DefineSpaceLabelValueErrorResponse, DefineSpaceLabelValueMutationPathParams, DefineSpaceLabelValueOkResponse, DefineSpaceLabelValueProps, DefineSpaceLabelValueRequestBody, } from './hooks/useDefineSpaceLabelValueMutation';
|
|
11
|
+
export { defineSpaceLabelValue, useDefineSpaceLabelValueMutation, } from './hooks/useDefineSpaceLabelValueMutation';
|
|
8
12
|
export type { DeleteArtifactErrorResponse, DeleteArtifactMutationPathParams, DeleteArtifactOkResponse, DeleteArtifactProps, } from './hooks/useDeleteArtifactMutation';
|
|
9
13
|
export { deleteArtifact, useDeleteArtifactMutation } from './hooks/useDeleteArtifactMutation';
|
|
10
14
|
export type { DeleteArtifactVersionErrorResponse, DeleteArtifactVersionMutationPathParams, DeleteArtifactVersionOkResponse, DeleteArtifactVersionProps, } from './hooks/useDeleteArtifactVersionMutation';
|
|
11
15
|
export { deleteArtifactVersion, useDeleteArtifactVersionMutation, } from './hooks/useDeleteArtifactVersionMutation';
|
|
16
|
+
export type { DeleteQuarantineFilePathErrorResponse, DeleteQuarantineFilePathMutationPathParams, DeleteQuarantineFilePathMutationQueryParams, DeleteQuarantineFilePathOkResponse, DeleteQuarantineFilePathProps, } from './hooks/useDeleteQuarantineFilePathMutation';
|
|
17
|
+
export { deleteQuarantineFilePath, useDeleteQuarantineFilePathMutation, } from './hooks/useDeleteQuarantineFilePathMutation';
|
|
12
18
|
export type { DeleteRegistryErrorResponse, DeleteRegistryMutationPathParams, DeleteRegistryOkResponse, DeleteRegistryProps, } from './hooks/useDeleteRegistryMutation';
|
|
13
19
|
export { deleteRegistry, useDeleteRegistryMutation } from './hooks/useDeleteRegistryMutation';
|
|
14
20
|
export type { DeleteReplicationRuleErrorResponse, DeleteReplicationRuleMutationPathParams, DeleteReplicationRuleOkResponse, DeleteReplicationRuleProps, } from './hooks/useDeleteReplicationRuleMutation';
|
|
15
21
|
export { deleteReplicationRule, useDeleteReplicationRuleMutation, } from './hooks/useDeleteReplicationRuleMutation';
|
|
22
|
+
export type { DeleteSpaceLabelErrorResponse, DeleteSpaceLabelMutationPathParams, DeleteSpaceLabelOkResponse, DeleteSpaceLabelProps, } from './hooks/useDeleteSpaceLabelMutation';
|
|
23
|
+
export { deleteSpaceLabel, useDeleteSpaceLabelMutation } from './hooks/useDeleteSpaceLabelMutation';
|
|
24
|
+
export type { DeleteSpaceLabelValueErrorResponse, DeleteSpaceLabelValueMutationPathParams, DeleteSpaceLabelValueOkResponse, DeleteSpaceLabelValueProps, } from './hooks/useDeleteSpaceLabelValueMutation';
|
|
25
|
+
export { deleteSpaceLabelValue, useDeleteSpaceLabelValueMutation, } from './hooks/useDeleteSpaceLabelValueMutation';
|
|
16
26
|
export type { DeleteWebhookErrorResponse, DeleteWebhookMutationPathParams, DeleteWebhookOkResponse, DeleteWebhookProps, } from './hooks/useDeleteWebhookMutation';
|
|
17
27
|
export { deleteWebhook, useDeleteWebhookMutation } from './hooks/useDeleteWebhookMutation';
|
|
28
|
+
export type { FindSpaceLabelErrorResponse, FindSpaceLabelOkResponse, FindSpaceLabelProps, FindSpaceLabelQueryPathParams, FindSpaceLabelQueryQueryParams, } from './hooks/useFindSpaceLabelQuery';
|
|
29
|
+
export { findSpaceLabel, useFindSpaceLabelQuery } from './hooks/useFindSpaceLabelQuery';
|
|
18
30
|
export type { GetAllArtifactVersionsErrorResponse, GetAllArtifactVersionsOkResponse, GetAllArtifactVersionsProps, GetAllArtifactVersionsQueryPathParams, GetAllArtifactVersionsQueryQueryParams, } from './hooks/useGetAllArtifactVersionsQuery';
|
|
19
31
|
export { getAllArtifactVersions, useGetAllArtifactVersionsQuery, } from './hooks/useGetAllArtifactVersionsQuery';
|
|
20
32
|
export type { GetAllArtifactsByRegistryErrorResponse, GetAllArtifactsByRegistryOkResponse, GetAllArtifactsByRegistryProps, GetAllArtifactsByRegistryQueryPathParams, GetAllArtifactsByRegistryQueryQueryParams, } from './hooks/useGetAllArtifactsByRegistryQuery';
|
|
@@ -27,6 +39,8 @@ export type { GetArtifactDeploymentsErrorResponse, GetArtifactDeploymentsOkRespo
|
|
|
27
39
|
export { getArtifactDeployments, useGetArtifactDeploymentsQuery, } from './hooks/useGetArtifactDeploymentsQuery';
|
|
28
40
|
export type { GetArtifactDetailsErrorResponse, GetArtifactDetailsOkResponse, GetArtifactDetailsProps, GetArtifactDetailsQueryPathParams, GetArtifactDetailsQueryQueryParams, } from './hooks/useGetArtifactDetailsQuery';
|
|
29
41
|
export { getArtifactDetails, useGetArtifactDetailsQuery } from './hooks/useGetArtifactDetailsQuery';
|
|
42
|
+
export type { GetArtifactFileErrorResponse, GetArtifactFileOkResponse, GetArtifactFileProps, GetArtifactFileQueryPathParams, } from './hooks/useGetArtifactFileQuery';
|
|
43
|
+
export { getArtifactFile, useGetArtifactFileQuery } from './hooks/useGetArtifactFileQuery';
|
|
30
44
|
export type { GetArtifactFilesErrorResponse, GetArtifactFilesOkResponse, GetArtifactFilesProps, GetArtifactFilesQueryPathParams, GetArtifactFilesQueryQueryParams, } from './hooks/useGetArtifactFilesQuery';
|
|
31
45
|
export { getArtifactFiles, useGetArtifactFilesQuery } from './hooks/useGetArtifactFilesQuery';
|
|
32
46
|
export type { GetArtifactStatsForRegistryErrorResponse, GetArtifactStatsForRegistryOkResponse, GetArtifactStatsForRegistryProps, GetArtifactStatsForRegistryQueryPathParams, GetArtifactStatsForRegistryQueryQueryParams, } from './hooks/useGetArtifactStatsForRegistryQuery';
|
|
@@ -73,16 +87,24 @@ export type { ListMigrationImagesErrorResponse, ListMigrationImagesOkResponse, L
|
|
|
73
87
|
export { listMigrationImages, useListMigrationImagesQuery, } from './hooks/useListMigrationImagesQuery';
|
|
74
88
|
export type { ListReplicationRulesErrorResponse, ListReplicationRulesOkResponse, ListReplicationRulesProps, ListReplicationRulesQueryQueryParams, } from './hooks/useListReplicationRulesQuery';
|
|
75
89
|
export { listReplicationRules, useListReplicationRulesQuery, } from './hooks/useListReplicationRulesQuery';
|
|
90
|
+
export type { ListSpaceLabelValuesErrorResponse, ListSpaceLabelValuesOkResponse, ListSpaceLabelValuesProps, ListSpaceLabelValuesQueryPathParams, } from './hooks/useListSpaceLabelValuesQuery';
|
|
91
|
+
export { listSpaceLabelValues, useListSpaceLabelValuesQuery, } from './hooks/useListSpaceLabelValuesQuery';
|
|
92
|
+
export type { ListSpaceLabelsErrorResponse, ListSpaceLabelsOkResponse, ListSpaceLabelsProps, ListSpaceLabelsQueryPathParams, ListSpaceLabelsQueryQueryParams, } from './hooks/useListSpaceLabelsQuery';
|
|
93
|
+
export { listSpaceLabels, useListSpaceLabelsQuery } from './hooks/useListSpaceLabelsQuery';
|
|
76
94
|
export type { ListWebhookExecutionsErrorResponse, ListWebhookExecutionsOkResponse, ListWebhookExecutionsProps, ListWebhookExecutionsQueryPathParams, ListWebhookExecutionsQueryQueryParams, } from './hooks/useListWebhookExecutionsQuery';
|
|
77
95
|
export { listWebhookExecutions, useListWebhookExecutionsQuery, } from './hooks/useListWebhookExecutionsQuery';
|
|
78
96
|
export type { ListWebhooksErrorResponse, ListWebhooksOkResponse, ListWebhooksProps, ListWebhooksQueryPathParams, ListWebhooksQueryQueryParams, } from './hooks/useListWebhooksQuery';
|
|
79
97
|
export { listWebhooks, useListWebhooksQuery } from './hooks/useListWebhooksQuery';
|
|
80
98
|
export type { ModifyRegistryErrorResponse, ModifyRegistryMutationPathParams, ModifyRegistryOkResponse, ModifyRegistryProps, ModifyRegistryRequestBody, } from './hooks/useModifyRegistryMutation';
|
|
81
99
|
export { modifyRegistry, useModifyRegistryMutation } from './hooks/useModifyRegistryMutation';
|
|
100
|
+
export type { QuarantineFilePathErrorResponse, QuarantineFilePathMutationPathParams, QuarantineFilePathOkResponse, QuarantineFilePathProps, QuarantineFilePathRequestBody, } from './hooks/useQuarantineFilePathMutation';
|
|
101
|
+
export { quarantineFilePath, useQuarantineFilePathMutation, } from './hooks/useQuarantineFilePathMutation';
|
|
82
102
|
export type { ReTriggerWebhookExecutionErrorResponse, ReTriggerWebhookExecutionOkResponse, ReTriggerWebhookExecutionProps, ReTriggerWebhookExecutionQueryPathParams, } from './hooks/useReTriggerWebhookExecutionQuery';
|
|
83
103
|
export { reTriggerWebhookExecution, useReTriggerWebhookExecutionQuery, } from './hooks/useReTriggerWebhookExecutionQuery';
|
|
84
104
|
export type { RedirectHarnessArtifactErrorResponse, RedirectHarnessArtifactOkResponse, RedirectHarnessArtifactProps, RedirectHarnessArtifactQueryPathParams, RedirectHarnessArtifactQueryQueryParams, } from './hooks/useRedirectHarnessArtifactQuery';
|
|
85
105
|
export { redirectHarnessArtifact, useRedirectHarnessArtifactQuery, } from './hooks/useRedirectHarnessArtifactQuery';
|
|
106
|
+
export type { SaveSpaceLabelErrorResponse, SaveSpaceLabelMutationPathParams, SaveSpaceLabelOkResponse, SaveSpaceLabelProps, SaveSpaceLabelRequestBody, } from './hooks/useSaveSpaceLabelMutation';
|
|
107
|
+
export { saveSpaceLabel, useSaveSpaceLabelMutation } from './hooks/useSaveSpaceLabelMutation';
|
|
86
108
|
export type { StartMigrationErrorResponse, StartMigrationMutationPathParams, StartMigrationOkResponse, StartMigrationProps, } from './hooks/useStartMigrationMutation';
|
|
87
109
|
export { startMigration, useStartMigrationMutation } from './hooks/useStartMigrationMutation';
|
|
88
110
|
export type { StopMigrationErrorResponse, StopMigrationMutationPathParams, StopMigrationOkResponse, StopMigrationProps, } from './hooks/useStopMigrationMutation';
|
|
@@ -91,14 +113,20 @@ export type { UpdateArtifactLabelsErrorResponse, UpdateArtifactLabelsMutationPat
|
|
|
91
113
|
export { updateArtifactLabels, useUpdateArtifactLabelsMutation, } from './hooks/useUpdateArtifactLabelsMutation';
|
|
92
114
|
export type { UpdateReplicationRuleErrorResponse, UpdateReplicationRuleMutationPathParams, UpdateReplicationRuleOkResponse, UpdateReplicationRuleProps, UpdateReplicationRuleRequestBody, } from './hooks/useUpdateReplicationRuleMutation';
|
|
93
115
|
export { updateReplicationRule, useUpdateReplicationRuleMutation, } from './hooks/useUpdateReplicationRuleMutation';
|
|
116
|
+
export type { UpdateSpaceLabelErrorResponse, UpdateSpaceLabelMutationPathParams, UpdateSpaceLabelOkResponse, UpdateSpaceLabelProps, UpdateSpaceLabelRequestBody, } from './hooks/useUpdateSpaceLabelMutation';
|
|
117
|
+
export { updateSpaceLabel, useUpdateSpaceLabelMutation } from './hooks/useUpdateSpaceLabelMutation';
|
|
118
|
+
export type { UpdateSpaceLabelValueErrorResponse, UpdateSpaceLabelValueMutationPathParams, UpdateSpaceLabelValueOkResponse, UpdateSpaceLabelValueProps, UpdateSpaceLabelValueRequestBody, } from './hooks/useUpdateSpaceLabelValueMutation';
|
|
119
|
+
export { updateSpaceLabelValue, useUpdateSpaceLabelValueMutation, } from './hooks/useUpdateSpaceLabelValueMutation';
|
|
94
120
|
export type { UpdateWebhookErrorResponse, UpdateWebhookMutationPathParams, UpdateWebhookOkResponse, UpdateWebhookProps, UpdateWebhookRequestBody, } from './hooks/useUpdateWebhookMutation';
|
|
95
121
|
export { updateWebhook, useUpdateWebhookMutation } from './hooks/useUpdateWebhookMutation';
|
|
96
122
|
export type { ArtifactLabelRequestRequestBody } from './requestBodies/ArtifactLabelRequestRequestBody';
|
|
123
|
+
export type { QuarantineRequestRequestBody } from './requestBodies/QuarantineRequestRequestBody';
|
|
97
124
|
export type { RegistryRequestRequestBody } from './requestBodies/RegistryRequestRequestBody';
|
|
98
125
|
export type { ReplicationRuleRequestRequestBody } from './requestBodies/ReplicationRuleRequestRequestBody';
|
|
99
126
|
export type { WebhookRequestRequestBody } from './requestBodies/WebhookRequestRequestBody';
|
|
100
127
|
export type { ArtifactDeploymentsResponseResponse } from './responses/ArtifactDeploymentsResponseResponse';
|
|
101
128
|
export type { ArtifactDetailResponseResponse } from './responses/ArtifactDetailResponseResponse';
|
|
129
|
+
export type { ArtifactFileResponseResponse } from './responses/ArtifactFileResponseResponse';
|
|
102
130
|
export type { ArtifactLabelResponseResponse } from './responses/ArtifactLabelResponseResponse';
|
|
103
131
|
export type { ArtifactStatsResponseResponse } from './responses/ArtifactStatsResponseResponse';
|
|
104
132
|
export type { ArtifactSummaryResponseResponse } from './responses/ArtifactSummaryResponseResponse';
|
|
@@ -125,6 +153,7 @@ export type { ListWebhooksExecutionResponseResponse } from './responses/ListWebh
|
|
|
125
153
|
export type { ListWebhooksResponseResponse } from './responses/ListWebhooksResponseResponse';
|
|
126
154
|
export type { NotFoundResponse } from './responses/NotFoundResponse';
|
|
127
155
|
export type { PlainTextResponseResponse } from './responses/PlainTextResponseResponse';
|
|
156
|
+
export type { QuarantinePathResponseResponse } from './responses/QuarantinePathResponseResponse';
|
|
128
157
|
export type { RedirectResponse } from './responses/RedirectResponse';
|
|
129
158
|
export type { RegistryResponseResponse } from './responses/RegistryResponseResponse';
|
|
130
159
|
export type { ReplicationRuleResponseResponse } from './responses/ReplicationRuleResponseResponse';
|
|
@@ -167,11 +196,14 @@ export type { DockerLayerEntry } from './schemas/DockerLayerEntry';
|
|
|
167
196
|
export type { DockerLayersSummary } from './schemas/DockerLayersSummary';
|
|
168
197
|
export type { DockerManifestDetails } from './schemas/DockerManifestDetails';
|
|
169
198
|
export type { DockerManifests } from './schemas/DockerManifests';
|
|
199
|
+
export type { EnumLabelColor } from './schemas/EnumLabelColor';
|
|
200
|
+
export type { EnumLabelType } from './schemas/EnumLabelType';
|
|
170
201
|
export type { EnvironmentType } from './schemas/EnvironmentType';
|
|
171
202
|
export type { Error } from './schemas/Error';
|
|
172
203
|
export type { ExtraHeader } from './schemas/ExtraHeader';
|
|
173
204
|
export type { FileDetail } from './schemas/FileDetail';
|
|
174
205
|
export type { GenericArtifactDetailConfig } from './schemas/GenericArtifactDetailConfig';
|
|
206
|
+
export type { GoArtifactDetailConfig } from './schemas/GoArtifactDetailConfig';
|
|
175
207
|
export type { HelmArtifactDetail } from './schemas/HelmArtifactDetail';
|
|
176
208
|
export type { HelmArtifactDetailConfig } from './schemas/HelmArtifactDetailConfig';
|
|
177
209
|
export type { HelmArtifactManifest } from './schemas/HelmArtifactManifest';
|
|
@@ -192,6 +224,8 @@ export type { NpmArtifactDetailConfig } from './schemas/NpmArtifactDetailConfig'
|
|
|
192
224
|
export type { NugetArtifactDetailConfig } from './schemas/NugetArtifactDetailConfig';
|
|
193
225
|
export type { PackageType } from './schemas/PackageType';
|
|
194
226
|
export type { PythonArtifactDetailConfig } from './schemas/PythonArtifactDetailConfig';
|
|
227
|
+
export type { QuarantinePath } from './schemas/QuarantinePath';
|
|
228
|
+
export type { QuarantineRequest } from './schemas/QuarantineRequest';
|
|
195
229
|
export type { Registry } from './schemas/Registry';
|
|
196
230
|
export type { RegistryArtifactMetadata } from './schemas/RegistryArtifactMetadata';
|
|
197
231
|
export type { RegistryConfig } from './schemas/RegistryConfig';
|
|
@@ -208,14 +242,18 @@ export type { SectionType } from './schemas/SectionType';
|
|
|
208
242
|
export type { SlsaDetails } from './schemas/SlsaDetails';
|
|
209
243
|
export type { Status } from './schemas/Status';
|
|
210
244
|
export type { StoDetails } from './schemas/StoDetails';
|
|
211
|
-
export type { StoDigestMetadata } from './schemas/StoDigestMetadata';
|
|
212
|
-
export type { StoMetadata } from './schemas/StoMetadata';
|
|
213
245
|
export type { StorageDetails } from './schemas/StorageDetails';
|
|
214
246
|
export type { TabSetupStep } from './schemas/TabSetupStep';
|
|
215
247
|
export type { TabSetupStepConfig } from './schemas/TabSetupStepConfig';
|
|
216
248
|
export type { Trigger } from './schemas/Trigger';
|
|
249
|
+
export type { TypesLabel } from './schemas/TypesLabel';
|
|
250
|
+
export type { TypesLabelValue } from './schemas/TypesLabelValue';
|
|
251
|
+
export type { TypesLabelWithValues } from './schemas/TypesLabelWithValues';
|
|
252
|
+
export type { TypesSaveLabelInput } from './schemas/TypesSaveLabelInput';
|
|
253
|
+
export type { TypesSaveLabelValueInput } from './schemas/TypesSaveLabelValueInput';
|
|
217
254
|
export type { UpstreamConfig } from './schemas/UpstreamConfig';
|
|
218
255
|
export type { UserPassword } from './schemas/UserPassword';
|
|
256
|
+
export type { UsererrorError } from './schemas/UsererrorError';
|
|
219
257
|
export type { VirtualConfig } from './schemas/VirtualConfig';
|
|
220
258
|
export type { Webhook } from './schemas/Webhook';
|
|
221
259
|
export type { WebhookExecRequest } from './schemas/WebhookExecRequest';
|
|
@@ -1,17 +1,24 @@
|
|
|
1
1
|
export { createRegistry, useCreateRegistryMutation } from './hooks/useCreateRegistryMutation';
|
|
2
2
|
export { createReplicationRule, useCreateReplicationRuleMutation, } from './hooks/useCreateReplicationRuleMutation';
|
|
3
3
|
export { createWebhook, useCreateWebhookMutation } from './hooks/useCreateWebhookMutation';
|
|
4
|
+
export { defineSpaceLabel, useDefineSpaceLabelMutation } from './hooks/useDefineSpaceLabelMutation';
|
|
5
|
+
export { defineSpaceLabelValue, useDefineSpaceLabelValueMutation, } from './hooks/useDefineSpaceLabelValueMutation';
|
|
4
6
|
export { deleteArtifact, useDeleteArtifactMutation } from './hooks/useDeleteArtifactMutation';
|
|
5
7
|
export { deleteArtifactVersion, useDeleteArtifactVersionMutation, } from './hooks/useDeleteArtifactVersionMutation';
|
|
8
|
+
export { deleteQuarantineFilePath, useDeleteQuarantineFilePathMutation, } from './hooks/useDeleteQuarantineFilePathMutation';
|
|
6
9
|
export { deleteRegistry, useDeleteRegistryMutation } from './hooks/useDeleteRegistryMutation';
|
|
7
10
|
export { deleteReplicationRule, useDeleteReplicationRuleMutation, } from './hooks/useDeleteReplicationRuleMutation';
|
|
11
|
+
export { deleteSpaceLabel, useDeleteSpaceLabelMutation } from './hooks/useDeleteSpaceLabelMutation';
|
|
12
|
+
export { deleteSpaceLabelValue, useDeleteSpaceLabelValueMutation, } from './hooks/useDeleteSpaceLabelValueMutation';
|
|
8
13
|
export { deleteWebhook, useDeleteWebhookMutation } from './hooks/useDeleteWebhookMutation';
|
|
14
|
+
export { findSpaceLabel, useFindSpaceLabelQuery } from './hooks/useFindSpaceLabelQuery';
|
|
9
15
|
export { getAllArtifactVersions, useGetAllArtifactVersionsQuery, } from './hooks/useGetAllArtifactVersionsQuery';
|
|
10
16
|
export { getAllArtifactsByRegistry, useGetAllArtifactsByRegistryQuery, } from './hooks/useGetAllArtifactsByRegistryQuery';
|
|
11
17
|
export { getAllHarnessArtifacts, useGetAllHarnessArtifactsQuery, } from './hooks/useGetAllHarnessArtifactsQuery';
|
|
12
18
|
export { getAllRegistries, useGetAllRegistriesQuery } from './hooks/useGetAllRegistriesQuery';
|
|
13
19
|
export { getArtifactDeployments, useGetArtifactDeploymentsQuery, } from './hooks/useGetArtifactDeploymentsQuery';
|
|
14
20
|
export { getArtifactDetails, useGetArtifactDetailsQuery } from './hooks/useGetArtifactDetailsQuery';
|
|
21
|
+
export { getArtifactFile, useGetArtifactFileQuery } from './hooks/useGetArtifactFileQuery';
|
|
15
22
|
export { getArtifactFiles, useGetArtifactFilesQuery } from './hooks/useGetArtifactFilesQuery';
|
|
16
23
|
export { getArtifactStatsForRegistry, useGetArtifactStatsForRegistryQuery, } from './hooks/useGetArtifactStatsForRegistryQuery';
|
|
17
24
|
export { getArtifactStatsForSpace, useGetArtifactStatsForSpaceQuery, } from './hooks/useGetArtifactStatsForSpaceQuery';
|
|
@@ -35,13 +42,19 @@ export { getWebhook, useGetWebhookQuery } from './hooks/useGetWebhookQuery';
|
|
|
35
42
|
export { listArtifactLabels, useListArtifactLabelsQuery } from './hooks/useListArtifactLabelsQuery';
|
|
36
43
|
export { listMigrationImages, useListMigrationImagesQuery, } from './hooks/useListMigrationImagesQuery';
|
|
37
44
|
export { listReplicationRules, useListReplicationRulesQuery, } from './hooks/useListReplicationRulesQuery';
|
|
45
|
+
export { listSpaceLabelValues, useListSpaceLabelValuesQuery, } from './hooks/useListSpaceLabelValuesQuery';
|
|
46
|
+
export { listSpaceLabels, useListSpaceLabelsQuery } from './hooks/useListSpaceLabelsQuery';
|
|
38
47
|
export { listWebhookExecutions, useListWebhookExecutionsQuery, } from './hooks/useListWebhookExecutionsQuery';
|
|
39
48
|
export { listWebhooks, useListWebhooksQuery } from './hooks/useListWebhooksQuery';
|
|
40
49
|
export { modifyRegistry, useModifyRegistryMutation } from './hooks/useModifyRegistryMutation';
|
|
50
|
+
export { quarantineFilePath, useQuarantineFilePathMutation, } from './hooks/useQuarantineFilePathMutation';
|
|
41
51
|
export { reTriggerWebhookExecution, useReTriggerWebhookExecutionQuery, } from './hooks/useReTriggerWebhookExecutionQuery';
|
|
42
52
|
export { redirectHarnessArtifact, useRedirectHarnessArtifactQuery, } from './hooks/useRedirectHarnessArtifactQuery';
|
|
53
|
+
export { saveSpaceLabel, useSaveSpaceLabelMutation } from './hooks/useSaveSpaceLabelMutation';
|
|
43
54
|
export { startMigration, useStartMigrationMutation } from './hooks/useStartMigrationMutation';
|
|
44
55
|
export { stopMigration, useStopMigrationMutation } from './hooks/useStopMigrationMutation';
|
|
45
56
|
export { updateArtifactLabels, useUpdateArtifactLabelsMutation, } from './hooks/useUpdateArtifactLabelsMutation';
|
|
46
57
|
export { updateReplicationRule, useUpdateReplicationRuleMutation, } from './hooks/useUpdateReplicationRuleMutation';
|
|
58
|
+
export { updateSpaceLabel, useUpdateSpaceLabelMutation } from './hooks/useUpdateSpaceLabelMutation';
|
|
59
|
+
export { updateSpaceLabelValue, useUpdateSpaceLabelValueMutation, } from './hooks/useUpdateSpaceLabelValueMutation';
|
|
47
60
|
export { updateWebhook, useUpdateWebhookMutation } from './hooks/useUpdateWebhookMutation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -2,22 +2,24 @@ import type { DockerArtifactDetailConfig } from '../schemas/DockerArtifactDetail
|
|
|
2
2
|
import type { HelmArtifactDetailConfig } from '../schemas/HelmArtifactDetailConfig';
|
|
3
3
|
import type { GenericArtifactDetailConfig } from '../schemas/GenericArtifactDetailConfig';
|
|
4
4
|
import type { MavenArtifactDetailConfig } from '../schemas/MavenArtifactDetailConfig';
|
|
5
|
-
import type { NpmArtifactDetailConfig } from '../schemas/NpmArtifactDetailConfig';
|
|
6
5
|
import type { PythonArtifactDetailConfig } from '../schemas/PythonArtifactDetailConfig';
|
|
7
|
-
import type {
|
|
6
|
+
import type { NpmArtifactDetailConfig } from '../schemas/NpmArtifactDetailConfig';
|
|
8
7
|
import type { RpmArtifactDetailConfig } from '../schemas/RpmArtifactDetailConfig';
|
|
8
|
+
import type { NugetArtifactDetailConfig } from '../schemas/NugetArtifactDetailConfig';
|
|
9
9
|
import type { CargoArtifactDetailConfig } from '../schemas/CargoArtifactDetailConfig';
|
|
10
|
+
import type { GoArtifactDetailConfig } from '../schemas/GoArtifactDetailConfig';
|
|
10
11
|
import type { PackageType } from '../schemas/PackageType';
|
|
11
12
|
/**
|
|
12
13
|
* Artifact Detail
|
|
13
14
|
*/
|
|
14
|
-
export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig | MavenArtifactDetailConfig | NpmArtifactDetailConfig |
|
|
15
|
+
export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig | MavenArtifactDetailConfig | PythonArtifactDetailConfig | NpmArtifactDetailConfig | RpmArtifactDetailConfig | NugetArtifactDetailConfig | CargoArtifactDetailConfig | GoArtifactDetailConfig) & {
|
|
15
16
|
createdAt?: string;
|
|
16
17
|
createdBy?: string;
|
|
17
18
|
/**
|
|
18
19
|
* @format int64
|
|
19
20
|
*/
|
|
20
21
|
downloadCount?: number;
|
|
22
|
+
isQuarantined?: boolean;
|
|
21
23
|
modifiedAt?: string;
|
|
22
24
|
name?: string;
|
|
23
25
|
packageType: PackageType;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { DeploymentMetadata } from '../schemas/DeploymentMetadata';
|
|
2
2
|
import type { PackageType } from '../schemas/PackageType';
|
|
3
|
-
import type { StoMetadata } from '../schemas/StoMetadata';
|
|
4
3
|
/**
|
|
5
4
|
* Artifact Metadata
|
|
6
5
|
*/
|
|
@@ -18,6 +17,5 @@ export interface ArtifactMetadata {
|
|
|
18
17
|
pullCommand?: string;
|
|
19
18
|
registryIdentifier: string;
|
|
20
19
|
registryPath: string;
|
|
21
|
-
stoMetadata?: StoMetadata;
|
|
22
20
|
version: string;
|
|
23
21
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type EnumLabelColor = 'blue' | 'brown' | 'cyan' | 'green' | 'indigo' | 'lime' | 'mint' | 'orange' | 'pink' | 'purple' | 'red' | 'violet' | 'yellow';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type EnumLabelType = 'dynamic' | 'static';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* quarantine path
|
|
3
|
+
*/
|
|
4
|
+
export interface QuarantinePath {
|
|
5
|
+
/**
|
|
6
|
+
* @format int64
|
|
7
|
+
*/
|
|
8
|
+
artifactId: number;
|
|
9
|
+
filePath?: string;
|
|
10
|
+
id: string;
|
|
11
|
+
reason: string;
|
|
12
|
+
/**
|
|
13
|
+
* @format int64
|
|
14
|
+
*/
|
|
15
|
+
registryId: number;
|
|
16
|
+
/**
|
|
17
|
+
* @format int64
|
|
18
|
+
*/
|
|
19
|
+
versionId?: number;
|
|
20
|
+
}
|
|
@@ -11,6 +11,16 @@ export interface RegistryRequest<T0 extends RegistryConfig = RegistryConfig> {
|
|
|
11
11
|
identifier: string;
|
|
12
12
|
labels?: string[];
|
|
13
13
|
packageType: PackageType;
|
|
14
|
+
/**
|
|
15
|
+
* Reference to the scope in which the registry exists.
|
|
16
|
+
*
|
|
17
|
+
* Format depends on the scope:
|
|
18
|
+
*
|
|
19
|
+
* - **Account-level**: `account_id`
|
|
20
|
+
* - **Organization-level**: `account_id/org_id`
|
|
21
|
+
* - **Project-level**: `account_id/org_id/project_id`
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
14
24
|
parentRef?: string;
|
|
15
25
|
scanners?: Scanner[];
|
|
16
26
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { EnumLabelColor } from '../schemas/EnumLabelColor';
|
|
2
|
+
import type { EnumLabelType } from '../schemas/EnumLabelType';
|
|
3
|
+
export interface TypesLabel {
|
|
4
|
+
color?: EnumLabelColor;
|
|
5
|
+
/**
|
|
6
|
+
* @format int64
|
|
7
|
+
*/
|
|
8
|
+
created?: number;
|
|
9
|
+
/**
|
|
10
|
+
* @format int64
|
|
11
|
+
*/
|
|
12
|
+
created_by?: number;
|
|
13
|
+
description?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @format int64
|
|
16
|
+
*/
|
|
17
|
+
id?: number;
|
|
18
|
+
key?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @format int64
|
|
21
|
+
*/
|
|
22
|
+
scope?: number;
|
|
23
|
+
/**
|
|
24
|
+
* @format int64
|
|
25
|
+
*/
|
|
26
|
+
space_id?: number | null;
|
|
27
|
+
type?: EnumLabelType;
|
|
28
|
+
/**
|
|
29
|
+
* @format int64
|
|
30
|
+
*/
|
|
31
|
+
updated?: number;
|
|
32
|
+
/**
|
|
33
|
+
* @format int64
|
|
34
|
+
*/
|
|
35
|
+
updated_by?: number;
|
|
36
|
+
/**
|
|
37
|
+
* @format int64
|
|
38
|
+
*/
|
|
39
|
+
value_count?: number;
|
|
40
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { EnumLabelColor } from '../schemas/EnumLabelColor';
|
|
2
|
+
export interface TypesLabelValue {
|
|
3
|
+
color?: EnumLabelColor;
|
|
4
|
+
created?: number;
|
|
5
|
+
created_by?: number;
|
|
6
|
+
id?: number;
|
|
7
|
+
label_id?: number;
|
|
8
|
+
updated?: number;
|
|
9
|
+
updated_by?: number;
|
|
10
|
+
value?: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { EnumLabelColor } from '../schemas/EnumLabelColor';
|
|
2
|
+
import type { EnumLabelType } from '../schemas/EnumLabelType';
|
|
3
|
+
export interface TypesSaveLabelInput {
|
|
4
|
+
color?: EnumLabelColor;
|
|
5
|
+
description?: string;
|
|
6
|
+
id?: number;
|
|
7
|
+
key?: string;
|
|
8
|
+
type?: EnumLabelType;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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' | 'MavenCentral' | 'NpmJs' | 'NugetOrg' | 'PyPi';
|
|
11
|
+
source?: 'AwsEcr' | 'Crates' | 'Custom' | 'Dockerhub' | 'GoProxy' | 'MavenCentral' | 'NpmJs' | 'NugetOrg' | 'PyPi';
|
|
12
12
|
url?: string;
|
|
13
13
|
}
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|