@harnessio/react-rmg-service-client 0.69.1-beta.0 → 0.70.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/rmg-service/src/services/hooks/useGetArtifactFacetsQuery.d.ts +26 -0
- package/dist/rmg-service/src/services/hooks/useGetArtifactFacetsQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetChangesetFacetsQuery.d.ts +27 -0
- package/dist/rmg-service/src/services/hooks/useGetChangesetFacetsQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivitiesPaginatedQuery.d.ts +1 -1
- package/dist/rmg-service/src/services/hooks/useListArtifactsByServiceQuery.d.ts +34 -0
- package/dist/rmg-service/src/services/hooks/useListArtifactsByServiceQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useListArtifactsQuery.d.ts +36 -0
- package/dist/rmg-service/src/services/hooks/useListArtifactsQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useListChangesetCommitsQuery.d.ts +33 -0
- package/dist/rmg-service/src/services/hooks/useListChangesetCommitsQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useListChangesetsQuery.d.ts +37 -0
- package/dist/rmg-service/src/services/hooks/useListChangesetsQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useRetryChangesetMutation.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/useRetryChangesetMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/useUpdateChangesetTagsMutation.d.ts +28 -0
- package/dist/rmg-service/src/services/hooks/useUpdateChangesetTagsMutation.js +14 -0
- package/dist/rmg-service/src/services/index.d.ts +24 -40
- package/dist/rmg-service/src/services/index.js +8 -11
- package/dist/rmg-service/src/services/schemas/ActivityExecutionInputDto.d.ts +0 -7
- package/dist/rmg-service/src/services/schemas/ArtifactBuild.d.ts +19 -0
- package/dist/rmg-service/src/services/schemas/ArtifactFacets.d.ts +6 -0
- package/dist/rmg-service/src/services/schemas/ArtifactServiceGroupList.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/ArtifactServiceItem.d.ts +13 -0
- package/dist/rmg-service/src/services/schemas/ArtifactVersion.d.ts +30 -0
- package/dist/rmg-service/src/services/schemas/ArtifactVersionList.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/Changeset.d.ts +0 -1
- package/dist/rmg-service/src/services/schemas/ChangesetRef.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/ExecutionOutputDto.d.ts +0 -9
- package/dist/rmg-service/src/services/schemas/InputVariable.d.ts +1 -2
- package/dist/rmg-service/src/services/schemas/InputVariableType.d.ts +1 -1
- package/dist/rmg-service/src/services/schemas/OrchestrationExecutionPhase.d.ts +0 -9
- package/dist/rmg-service/src/services/schemas/OrchestrationPhaseYaml.d.ts +0 -9
- package/dist/rmg-service/src/services/schemas/OrchestrationStatus.d.ts +1 -1
- package/dist/rmg-service/src/services/schemas/OutputVariable.d.ts +3 -20
- package/dist/rmg-service/src/services/schemas/OutputVariable.js +3 -0
- package/dist/rmg-service/src/services/schemas/ReleaseRef.d.ts +11 -0
- package/package.json +1 -1
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhaseInputsQuery.d.ts +0 -27
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhaseInputsQuery.js +0 -19
- package/dist/rmg-service/src/services/hooks/useGetPhaseArtifactUpdatesQuery.d.ts +0 -26
- package/dist/rmg-service/src/services/hooks/useGetPhaseArtifactUpdatesQuery.js +0 -15
- package/dist/rmg-service/src/services/hooks/useGetPhaseRetryHistoryByIdentifiersQuery.d.ts +0 -31
- package/dist/rmg-service/src/services/hooks/useGetPhaseRetryHistoryByIdentifiersQuery.js +0 -19
- package/dist/rmg-service/src/services/hooks/useGetReleaseChangesetFacetsQuery.d.ts +0 -29
- package/dist/rmg-service/src/services/hooks/useGetReleaseChangesetFacetsQuery.js +0 -14
- package/dist/rmg-service/src/services/hooks/useListArtifactTrackerServiceRefsQuery.d.ts +0 -31
- package/dist/rmg-service/src/services/hooks/useListArtifactTrackerServiceRefsQuery.js +0 -15
- package/dist/rmg-service/src/services/hooks/useListArtifactTrackerTagsByServiceMappingQuery.d.ts +0 -34
- package/dist/rmg-service/src/services/hooks/useListArtifactTrackerTagsByServiceMappingQuery.js +0 -15
- package/dist/rmg-service/src/services/hooks/useListReleaseChangesetCommitsQuery.d.ts +0 -34
- package/dist/rmg-service/src/services/hooks/useListReleaseChangesetCommitsQuery.js +0 -14
- package/dist/rmg-service/src/services/hooks/useListReleaseChangesetsQuery.d.ts +0 -39
- package/dist/rmg-service/src/services/hooks/useListReleaseChangesetsQuery.js +0 -14
- package/dist/rmg-service/src/services/hooks/usePostPhaseActionMutation.d.ts +0 -28
- package/dist/rmg-service/src/services/hooks/usePostPhaseActionMutation.js +0 -14
- package/dist/rmg-service/src/services/hooks/useRetryReleaseChangesetMutation.d.ts +0 -26
- package/dist/rmg-service/src/services/hooks/useRetryReleaseChangesetMutation.js +0 -14
- package/dist/rmg-service/src/services/hooks/useUpdateReleaseChangesetTagsMutation.d.ts +0 -29
- package/dist/rmg-service/src/services/hooks/useUpdateReleaseChangesetTagsMutation.js +0 -14
- package/dist/rmg-service/src/services/requestBodies/PhaseActionRequestRequestBody.d.ts +0 -2
- package/dist/rmg-service/src/services/responses/PhaseActionResponseResponse.d.ts +0 -2
- package/dist/rmg-service/src/services/responses/PhaseArtifactUpdatesResponseResponse.d.ts +0 -2
- package/dist/rmg-service/src/services/schemas/ArtifactTag.d.ts +0 -14
- package/dist/rmg-service/src/services/schemas/ArtifactTagList.d.ts +0 -11
- package/dist/rmg-service/src/services/schemas/ArtifactTrackerServiceRef.d.ts +0 -17
- package/dist/rmg-service/src/services/schemas/ArtifactTrackerServiceRefList.d.ts +0 -8
- package/dist/rmg-service/src/services/schemas/ArtifactTrackerServiceRefList.js +0 -1
- package/dist/rmg-service/src/services/schemas/OutputDataType.d.ts +0 -6
- package/dist/rmg-service/src/services/schemas/PhaseActionRequest.d.ts +0 -11
- package/dist/rmg-service/src/services/schemas/PhaseActionRequest.js +0 -1
- package/dist/rmg-service/src/services/schemas/PhaseActionResponse.d.ts +0 -10
- package/dist/rmg-service/src/services/schemas/PhaseArtifactUpdateDto.d.ts +0 -21
- package/dist/rmg-service/src/services/schemas/PhaseArtifactUpdateDto.js +0 -4
- package/dist/rmg-service/src/services/schemas/PhaseArtifactUpdatesResponse.d.ts +0 -11
- package/dist/rmg-service/src/services/schemas/PhaseArtifactUpdatesResponse.js +0 -1
- package/dist/rmg-service/src/services/schemas/PhaseExecutionInputDto.d.ts +0 -19
- package/dist/rmg-service/src/services/schemas/PhaseExecutionInputDto.js +0 -1
- package/dist/rmg-service/src/services/schemas/PhaseRetryHistoryResponse.d.ts +0 -19
- package/dist/rmg-service/src/services/schemas/PhaseRetryHistoryResponse.js +0 -1
- package/dist/rmg-service/src/services/schemas/PhaseRetryInfo.d.ts +0 -47
- package/dist/rmg-service/src/services/schemas/PhaseRetryInfo.js +0 -1
- package/dist/rmg-service/src/services/schemas/ReleaseArtifactInputVariable.d.ts +0 -25
- package/dist/rmg-service/src/services/schemas/ReleaseArtifactInputVariable.js +0 -1
- package/dist/rmg-service/src/services/schemas/ReleaseArtifactValue.d.ts +0 -19
- package/dist/rmg-service/src/services/schemas/ReleaseArtifactValue.js +0 -4
- package/dist/rmg-service/src/services/schemas/StatusInfo.d.ts +0 -13
- package/dist/rmg-service/src/services/schemas/StatusInfo.js +0 -4
- /package/dist/rmg-service/src/services/schemas/{ArtifactTag.js → ArtifactBuild.js} +0 -0
- /package/dist/rmg-service/src/services/schemas/{ArtifactTrackerServiceRef.js → ArtifactFacets.js} +0 -0
- /package/dist/rmg-service/src/services/{requestBodies/PhaseActionRequestRequestBody.js → schemas/ArtifactServiceGroupList.js} +0 -0
- /package/dist/rmg-service/src/services/{responses/PhaseActionResponseResponse.js → schemas/ArtifactServiceItem.js} +0 -0
- /package/dist/rmg-service/src/services/{responses/PhaseArtifactUpdatesResponseResponse.js → schemas/ArtifactVersion.js} +0 -0
- /package/dist/rmg-service/src/services/schemas/{ArtifactTagList.js → ArtifactVersionList.js} +0 -0
- /package/dist/rmg-service/src/services/schemas/{OutputDataType.js → ChangesetRef.js} +0 -0
- /package/dist/rmg-service/src/services/schemas/{PhaseActionResponse.js → ReleaseRef.js} +0 -0
package/dist/rmg-service/src/services/hooks/useListArtifactTrackerTagsByServiceMappingQuery.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { ArtifactTagList } from '../schemas/ArtifactTagList';
|
|
3
|
-
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
-
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
-
export interface ListArtifactTrackerTagsByServiceMappingQueryPathParams {
|
|
7
|
-
identifier: string;
|
|
8
|
-
}
|
|
9
|
-
export interface ListArtifactTrackerTagsByServiceMappingQueryQueryParams {
|
|
10
|
-
orgIdentifier?: string;
|
|
11
|
-
projectIdentifier?: string;
|
|
12
|
-
/**
|
|
13
|
-
* @default 0
|
|
14
|
-
*/
|
|
15
|
-
page?: number;
|
|
16
|
-
/**
|
|
17
|
-
* @default 20
|
|
18
|
-
*/
|
|
19
|
-
size?: number;
|
|
20
|
-
}
|
|
21
|
-
export interface ListArtifactTrackerTagsByServiceMappingQueryHeaderParams {
|
|
22
|
-
'Harness-Account': string;
|
|
23
|
-
}
|
|
24
|
-
export type ListArtifactTrackerTagsByServiceMappingOkResponse = ResponseWithPagination<ArtifactTagList>;
|
|
25
|
-
export type ListArtifactTrackerTagsByServiceMappingErrorResponse = ErrorResponseResponse;
|
|
26
|
-
export interface ListArtifactTrackerTagsByServiceMappingProps extends ListArtifactTrackerTagsByServiceMappingQueryPathParams, Omit<FetcherOptions<ListArtifactTrackerTagsByServiceMappingQueryQueryParams, unknown, ListArtifactTrackerTagsByServiceMappingQueryHeaderParams>, 'url'> {
|
|
27
|
-
queryParams: ListArtifactTrackerTagsByServiceMappingQueryQueryParams;
|
|
28
|
-
}
|
|
29
|
-
export declare function listArtifactTrackerTagsByServiceMapping(props: ListArtifactTrackerTagsByServiceMappingProps): Promise<ListArtifactTrackerTagsByServiceMappingOkResponse>;
|
|
30
|
-
/**
|
|
31
|
-
* Returns a paginated list of artifact tags (strings) linked to the given service mapping, ordered newest first. Empty list if no artifacts have been ingested for this mapping yet.
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
|
-
export declare function useListArtifactTrackerTagsByServiceMappingQuery(props: ListArtifactTrackerTagsByServiceMappingProps, options?: Omit<UseQueryOptions<ListArtifactTrackerTagsByServiceMappingOkResponse, ListArtifactTrackerTagsByServiceMappingErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListArtifactTrackerTagsByServiceMappingOkResponse, import("..").Error>;
|
package/dist/rmg-service/src/services/hooks/useListArtifactTrackerTagsByServiceMappingQuery.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
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 listArtifactTrackerTagsByServiceMapping(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/v1/artifact-tracker/service-mappings/${props.identifier}/tags`, method: 'GET' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Returns a paginated list of artifact tags (strings) linked to the given service mapping, ordered newest first. Empty list if no artifacts have been ingested for this mapping yet.
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
export function useListArtifactTrackerTagsByServiceMappingQuery(props, options) {
|
|
14
|
-
return useQuery(['listArtifactTrackerTagsByServiceMapping', props.identifier, props.queryParams], ({ signal }) => listArtifactTrackerTagsByServiceMapping(Object.assign(Object.assign({}, props), { signal })), options);
|
|
15
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { ChangesetCommitList } from '../schemas/ChangesetCommitList';
|
|
3
|
-
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
-
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
-
export interface ListReleaseChangesetCommitsQueryPathParams {
|
|
7
|
-
releaseId: string;
|
|
8
|
-
changesetId: string;
|
|
9
|
-
}
|
|
10
|
-
export interface ListReleaseChangesetCommitsQueryQueryParams {
|
|
11
|
-
orgIdentifier?: string;
|
|
12
|
-
projectIdentifier?: string;
|
|
13
|
-
/**
|
|
14
|
-
* @default 0
|
|
15
|
-
*/
|
|
16
|
-
page?: number;
|
|
17
|
-
/**
|
|
18
|
-
* @default 20
|
|
19
|
-
*/
|
|
20
|
-
size?: number;
|
|
21
|
-
}
|
|
22
|
-
export interface ListReleaseChangesetCommitsQueryHeaderParams {
|
|
23
|
-
'Harness-Account': string;
|
|
24
|
-
}
|
|
25
|
-
export type ListReleaseChangesetCommitsOkResponse = ResponseWithPagination<ChangesetCommitList>;
|
|
26
|
-
export type ListReleaseChangesetCommitsErrorResponse = ErrorResponseResponse;
|
|
27
|
-
export interface ListReleaseChangesetCommitsProps extends ListReleaseChangesetCommitsQueryPathParams, Omit<FetcherOptions<ListReleaseChangesetCommitsQueryQueryParams, unknown, ListReleaseChangesetCommitsQueryHeaderParams>, 'url'> {
|
|
28
|
-
queryParams: ListReleaseChangesetCommitsQueryQueryParams;
|
|
29
|
-
}
|
|
30
|
-
export declare function listReleaseChangesetCommits(props: ListReleaseChangesetCommitsProps): Promise<ListReleaseChangesetCommitsOkResponse>;
|
|
31
|
-
/**
|
|
32
|
-
* List commits (with tickets) for a changeset
|
|
33
|
-
*/
|
|
34
|
-
export declare function useListReleaseChangesetCommitsQuery(props: ListReleaseChangesetCommitsProps, options?: Omit<UseQueryOptions<ListReleaseChangesetCommitsOkResponse, ListReleaseChangesetCommitsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListReleaseChangesetCommitsOkResponse, import("..").Error>;
|
|
@@ -1,14 +0,0 @@
|
|
|
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 listReleaseChangesetCommits(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/v1/releases/${props.releaseId}/changesets/${props.changesetId}/commits`, method: 'GET' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* List commits (with tickets) for a changeset
|
|
11
|
-
*/
|
|
12
|
-
export function useListReleaseChangesetCommitsQuery(props, options) {
|
|
13
|
-
return useQuery(['listReleaseChangesetCommits', props.releaseId, props.changesetId, props.queryParams], ({ signal }) => listReleaseChangesetCommits(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { ChangesetList } from '../schemas/ChangesetList';
|
|
3
|
-
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
-
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
-
export interface ListReleaseChangesetsQueryPathParams {
|
|
7
|
-
releaseId: string;
|
|
8
|
-
}
|
|
9
|
-
export interface ListReleaseChangesetsQueryQueryParams {
|
|
10
|
-
orgIdentifier?: string;
|
|
11
|
-
projectIdentifier?: string;
|
|
12
|
-
/**
|
|
13
|
-
* @default 0
|
|
14
|
-
*/
|
|
15
|
-
page?: number;
|
|
16
|
-
/**
|
|
17
|
-
* @default 20
|
|
18
|
-
*/
|
|
19
|
-
size?: number;
|
|
20
|
-
artifactPath?: string;
|
|
21
|
-
artifactRegistry?: string;
|
|
22
|
-
sha?: string;
|
|
23
|
-
ticketKey?: string;
|
|
24
|
-
service?: string;
|
|
25
|
-
tag?: string;
|
|
26
|
-
}
|
|
27
|
-
export interface ListReleaseChangesetsQueryHeaderParams {
|
|
28
|
-
'Harness-Account': string;
|
|
29
|
-
}
|
|
30
|
-
export type ListReleaseChangesetsOkResponse = ResponseWithPagination<ChangesetList>;
|
|
31
|
-
export type ListReleaseChangesetsErrorResponse = ErrorResponseResponse;
|
|
32
|
-
export interface ListReleaseChangesetsProps extends ListReleaseChangesetsQueryPathParams, Omit<FetcherOptions<ListReleaseChangesetsQueryQueryParams, unknown, ListReleaseChangesetsQueryHeaderParams>, 'url'> {
|
|
33
|
-
queryParams: ListReleaseChangesetsQueryQueryParams;
|
|
34
|
-
}
|
|
35
|
-
export declare function listReleaseChangesets(props: ListReleaseChangesetsProps): Promise<ListReleaseChangesetsOkResponse>;
|
|
36
|
-
/**
|
|
37
|
-
* List changesets for a release
|
|
38
|
-
*/
|
|
39
|
-
export declare function useListReleaseChangesetsQuery(props: ListReleaseChangesetsProps, options?: Omit<UseQueryOptions<ListReleaseChangesetsOkResponse, ListReleaseChangesetsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListReleaseChangesetsOkResponse, import("..").Error>;
|
|
@@ -1,14 +0,0 @@
|
|
|
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 listReleaseChangesets(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/v1/releases/${props.releaseId}/changesets`, method: 'GET' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* List changesets for a release
|
|
11
|
-
*/
|
|
12
|
-
export function useListReleaseChangesetsQuery(props, options) {
|
|
13
|
-
return useQuery(['listReleaseChangesets', props.releaseId, props.queryParams], ({ signal }) => listReleaseChangesets(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { PhaseActionResponseResponse } from '../responses/PhaseActionResponseResponse';
|
|
3
|
-
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
-
import type { PhaseActionRequestRequestBody } from '../requestBodies/PhaseActionRequestRequestBody';
|
|
5
|
-
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
-
export interface PostPhaseActionMutationPathParams {
|
|
8
|
-
phaseExecutionId: string;
|
|
9
|
-
}
|
|
10
|
-
export interface PostPhaseActionMutationQueryParams {
|
|
11
|
-
orgIdentifier?: string;
|
|
12
|
-
projectIdentifier?: string;
|
|
13
|
-
}
|
|
14
|
-
export interface PostPhaseActionMutationHeaderParams {
|
|
15
|
-
'Harness-Account': string;
|
|
16
|
-
}
|
|
17
|
-
export type PostPhaseActionRequestBody = PhaseActionRequestRequestBody;
|
|
18
|
-
export type PostPhaseActionOkResponse = ResponseWithPagination<PhaseActionResponseResponse>;
|
|
19
|
-
export type PostPhaseActionErrorResponse = ErrorResponseResponse;
|
|
20
|
-
export interface PostPhaseActionProps extends PostPhaseActionMutationPathParams, Omit<FetcherOptions<PostPhaseActionMutationQueryParams, PostPhaseActionRequestBody, PostPhaseActionMutationHeaderParams>, 'url'> {
|
|
21
|
-
queryParams: PostPhaseActionMutationQueryParams;
|
|
22
|
-
body: PostPhaseActionRequestBody;
|
|
23
|
-
}
|
|
24
|
-
export declare function postPhaseAction(props: PostPhaseActionProps): Promise<PostPhaseActionOkResponse>;
|
|
25
|
-
/**
|
|
26
|
-
* Process actions for a paused phase. 'resume' advances the DAG; 'restart' (Phase 3) re-runs with changed inputs.
|
|
27
|
-
*/
|
|
28
|
-
export declare function usePostPhaseActionMutation(options?: Omit<UseMutationOptions<PostPhaseActionOkResponse, PostPhaseActionErrorResponse, PostPhaseActionProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostPhaseActionOkResponse, import("..").Error, PostPhaseActionProps, unknown>;
|
|
@@ -1,14 +0,0 @@
|
|
|
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 postPhaseAction(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/orchestration/execution/phase/${props.phaseExecutionId}/action`, method: 'POST' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Process actions for a paused phase. 'resume' advances the DAG; 'restart' (Phase 3) re-runs with changed inputs.
|
|
11
|
-
*/
|
|
12
|
-
export function usePostPhaseActionMutation(options) {
|
|
13
|
-
return useMutation((mutateProps) => postPhaseAction(mutateProps), options);
|
|
14
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { Changeset } from '../schemas/Changeset';
|
|
3
|
-
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
-
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
-
export interface RetryReleaseChangesetMutationPathParams {
|
|
7
|
-
releaseId: string;
|
|
8
|
-
changesetId: string;
|
|
9
|
-
}
|
|
10
|
-
export interface RetryReleaseChangesetMutationQueryParams {
|
|
11
|
-
orgIdentifier?: string;
|
|
12
|
-
projectIdentifier?: string;
|
|
13
|
-
}
|
|
14
|
-
export interface RetryReleaseChangesetMutationHeaderParams {
|
|
15
|
-
'Harness-Account': string;
|
|
16
|
-
}
|
|
17
|
-
export type RetryReleaseChangesetOkResponse = ResponseWithPagination<Changeset>;
|
|
18
|
-
export type RetryReleaseChangesetErrorResponse = ErrorResponseResponse;
|
|
19
|
-
export interface RetryReleaseChangesetProps extends RetryReleaseChangesetMutationPathParams, Omit<FetcherOptions<RetryReleaseChangesetMutationQueryParams, unknown, RetryReleaseChangesetMutationHeaderParams>, 'url'> {
|
|
20
|
-
queryParams: RetryReleaseChangesetMutationQueryParams;
|
|
21
|
-
}
|
|
22
|
-
export declare function retryReleaseChangeset(props: RetryReleaseChangesetProps): Promise<RetryReleaseChangesetOkResponse>;
|
|
23
|
-
/**
|
|
24
|
-
* Retry a changeset's pipeline
|
|
25
|
-
*/
|
|
26
|
-
export declare function useRetryReleaseChangesetMutation(options?: Omit<UseMutationOptions<RetryReleaseChangesetOkResponse, RetryReleaseChangesetErrorResponse, RetryReleaseChangesetProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RetryReleaseChangesetOkResponse, import("..").Error, RetryReleaseChangesetProps, unknown>;
|
|
@@ -1,14 +0,0 @@
|
|
|
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 retryReleaseChangeset(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/v1/releases/${props.releaseId}/changesets/${props.changesetId}/retry`, method: 'POST' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Retry a changeset's pipeline
|
|
11
|
-
*/
|
|
12
|
-
export function useRetryReleaseChangesetMutation(options) {
|
|
13
|
-
return useMutation((mutateProps) => retryReleaseChangeset(mutateProps), options);
|
|
14
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { Changeset } from '../schemas/Changeset';
|
|
3
|
-
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
-
import type { UpdateChangesetTagsRequest } from '../schemas/UpdateChangesetTagsRequest';
|
|
5
|
-
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
-
export interface UpdateReleaseChangesetTagsMutationPathParams {
|
|
8
|
-
releaseId: string;
|
|
9
|
-
changesetId: string;
|
|
10
|
-
}
|
|
11
|
-
export interface UpdateReleaseChangesetTagsMutationQueryParams {
|
|
12
|
-
orgIdentifier?: string;
|
|
13
|
-
projectIdentifier?: string;
|
|
14
|
-
}
|
|
15
|
-
export interface UpdateReleaseChangesetTagsMutationHeaderParams {
|
|
16
|
-
'Harness-Account': string;
|
|
17
|
-
}
|
|
18
|
-
export type UpdateReleaseChangesetTagsRequestBody = UpdateChangesetTagsRequest;
|
|
19
|
-
export type UpdateReleaseChangesetTagsOkResponse = ResponseWithPagination<Changeset>;
|
|
20
|
-
export type UpdateReleaseChangesetTagsErrorResponse = ErrorResponseResponse;
|
|
21
|
-
export interface UpdateReleaseChangesetTagsProps extends UpdateReleaseChangesetTagsMutationPathParams, Omit<FetcherOptions<UpdateReleaseChangesetTagsMutationQueryParams, UpdateReleaseChangesetTagsRequestBody, UpdateReleaseChangesetTagsMutationHeaderParams>, 'url'> {
|
|
22
|
-
queryParams: UpdateReleaseChangesetTagsMutationQueryParams;
|
|
23
|
-
body: UpdateReleaseChangesetTagsRequestBody;
|
|
24
|
-
}
|
|
25
|
-
export declare function updateReleaseChangesetTags(props: UpdateReleaseChangesetTagsProps): Promise<UpdateReleaseChangesetTagsOkResponse>;
|
|
26
|
-
/**
|
|
27
|
-
* Edit a changeset's from/to tags
|
|
28
|
-
*/
|
|
29
|
-
export declare function useUpdateReleaseChangesetTagsMutation(options?: Omit<UseMutationOptions<UpdateReleaseChangesetTagsOkResponse, UpdateReleaseChangesetTagsErrorResponse, UpdateReleaseChangesetTagsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateReleaseChangesetTagsOkResponse, import("..").Error, UpdateReleaseChangesetTagsProps, unknown>;
|
|
@@ -1,14 +0,0 @@
|
|
|
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 updateReleaseChangesetTags(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/v1/releases/${props.releaseId}/changesets/${props.changesetId}`, method: 'PATCH' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Edit a changeset's from/to tags
|
|
11
|
-
*/
|
|
12
|
-
export function useUpdateReleaseChangesetTagsMutation(options) {
|
|
13
|
-
return useMutation((mutateProps) => updateReleaseChangesetTags(mutateProps), options);
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A distinct artifact tag with context from the newest artifact row
|
|
3
|
-
* produced under that tag. commit_sha / repo_name / branch may be empty
|
|
4
|
-
* if the ingest event didn't carry git info.
|
|
5
|
-
*
|
|
6
|
-
*/
|
|
7
|
-
export interface ArtifactTag {
|
|
8
|
-
artifactPath: string;
|
|
9
|
-
branch?: string;
|
|
10
|
-
commitSha?: string;
|
|
11
|
-
registry: string;
|
|
12
|
-
repoName?: string;
|
|
13
|
-
tag: string;
|
|
14
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ArtifactTag } from '../schemas/ArtifactTag';
|
|
2
|
-
/**
|
|
3
|
-
* Paginated list of distinct artifact tags for a service mapping, ordered newest first.
|
|
4
|
-
*/
|
|
5
|
-
export interface ArtifactTagList {
|
|
6
|
-
content?: ArtifactTag[];
|
|
7
|
-
pageNumber?: number;
|
|
8
|
-
pageSize?: number;
|
|
9
|
-
totalElements?: number;
|
|
10
|
-
totalPages?: number;
|
|
11
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A service ref entry from a service mapping, keyed by mapping id.
|
|
3
|
-
*/
|
|
4
|
-
export interface ArtifactTrackerServiceRef {
|
|
5
|
-
/**
|
|
6
|
-
* Service mapping UUID. Use this to fetch tags via `/service-mappings/{identifier}/tags` (identifier resolved separately) or as an opaque key.
|
|
7
|
-
*/
|
|
8
|
-
id: string;
|
|
9
|
-
/**
|
|
10
|
-
* Service mapping identifier (user-facing name).
|
|
11
|
-
*/
|
|
12
|
-
identifier?: string;
|
|
13
|
-
/**
|
|
14
|
-
* The service ref stored on the service mapping.
|
|
15
|
-
*/
|
|
16
|
-
serviceRef: string;
|
|
17
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ArtifactTrackerServiceRef } from '../schemas/ArtifactTrackerServiceRef';
|
|
2
|
-
export interface ArtifactTrackerServiceRefList {
|
|
3
|
-
content?: ArtifactTrackerServiceRef[];
|
|
4
|
-
pageNumber?: number;
|
|
5
|
-
pageSize?: number;
|
|
6
|
-
totalElements?: number;
|
|
7
|
-
totalPages?: number;
|
|
8
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { PhaseExecutionInputDto } from '../schemas/PhaseExecutionInputDto';
|
|
2
|
-
export interface PhaseActionRequest {
|
|
3
|
-
/**
|
|
4
|
-
* The action to perform on the paused phase. 'resume' proceeds the DAG; 'restart' re-runs the phase (optionally with changed inputs).
|
|
5
|
-
*/
|
|
6
|
-
action: 'restart' | 'resume';
|
|
7
|
-
/**
|
|
8
|
-
* Optional changed phase input overrides, applied only when action is 'restart'. Each entry carries the input name, type, and value (any JSON type).
|
|
9
|
-
*/
|
|
10
|
-
inputs?: PhaseExecutionInputDto[];
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A single release-artifact input that has a newer tag available
|
|
3
|
-
*/
|
|
4
|
-
export interface PhaseArtifactUpdateDto {
|
|
5
|
-
/**
|
|
6
|
-
* The tag that was used when this phase run started
|
|
7
|
-
*/
|
|
8
|
-
currentTag: string;
|
|
9
|
-
/**
|
|
10
|
-
* The name of the input variable
|
|
11
|
-
*/
|
|
12
|
-
inputName: string;
|
|
13
|
-
/**
|
|
14
|
-
* The most recently ingested tag for this service mapping
|
|
15
|
-
*/
|
|
16
|
-
latestTag: string;
|
|
17
|
-
/**
|
|
18
|
-
* The service mapping identifier
|
|
19
|
-
*/
|
|
20
|
-
serviceMappingIdentifier: string;
|
|
21
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { PhaseArtifactUpdateDto } from '../schemas/PhaseArtifactUpdateDto';
|
|
2
|
-
export interface PhaseArtifactUpdatesResponse {
|
|
3
|
-
/**
|
|
4
|
-
* True if at least one release-artifact input has a newer tag available
|
|
5
|
-
*/
|
|
6
|
-
hasUpdates: boolean;
|
|
7
|
-
/**
|
|
8
|
-
* List of inputs with available tag updates
|
|
9
|
-
*/
|
|
10
|
-
updates: PhaseArtifactUpdateDto[];
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { InputVariableType } from '../schemas/InputVariableType';
|
|
2
|
-
import type { AnyValue } from '../schemas/AnyValue';
|
|
3
|
-
/**
|
|
4
|
-
* Input value for a phase execution restart
|
|
5
|
-
*/
|
|
6
|
-
export interface PhaseExecutionInputDto {
|
|
7
|
-
/**
|
|
8
|
-
* Name of the input parameter
|
|
9
|
-
*/
|
|
10
|
-
name: string;
|
|
11
|
-
/**
|
|
12
|
-
* Type of an input variable for parameters and process inputs.
|
|
13
|
-
*/
|
|
14
|
-
type: InputVariableType;
|
|
15
|
-
/**
|
|
16
|
-
* Flexible type that accepts any JSON value (string, number, boolean, object, or array)
|
|
17
|
-
*/
|
|
18
|
-
value: AnyValue;
|
|
19
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { NextRequest } from '../schemas/NextRequest';
|
|
2
|
-
import type { PhaseRetryInfo } from '../schemas/PhaseRetryInfo';
|
|
3
|
-
/**
|
|
4
|
-
* Response containing the retry history for a phase execution
|
|
5
|
-
*/
|
|
6
|
-
export interface PhaseRetryHistoryResponse {
|
|
7
|
-
/**
|
|
8
|
-
* Whether this is the last page of results
|
|
9
|
-
*/
|
|
10
|
-
last: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* Information for the next page request
|
|
13
|
-
*/
|
|
14
|
-
nextRequest: NextRequest;
|
|
15
|
-
/**
|
|
16
|
-
* List of retry attempts for the phase
|
|
17
|
-
*/
|
|
18
|
-
retries: PhaseRetryInfo[];
|
|
19
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import type { OrchestrationStatus } from '../schemas/OrchestrationStatus';
|
|
2
|
-
import type { StatusInfo } from '../schemas/StatusInfo';
|
|
3
|
-
/**
|
|
4
|
-
* Information about a single phase retry attempt
|
|
5
|
-
*/
|
|
6
|
-
export interface PhaseRetryInfo {
|
|
7
|
-
/**
|
|
8
|
-
* Creation timestamp in milliseconds
|
|
9
|
-
* @format int64
|
|
10
|
-
*/
|
|
11
|
-
createdAt: number;
|
|
12
|
-
/**
|
|
13
|
-
* End timestamp in milliseconds
|
|
14
|
-
* @format int64
|
|
15
|
-
*/
|
|
16
|
-
endTs?: number;
|
|
17
|
-
/**
|
|
18
|
-
* The identifier of the phase
|
|
19
|
-
*/
|
|
20
|
-
identifier: string;
|
|
21
|
-
/**
|
|
22
|
-
* The ID of the phase execution
|
|
23
|
-
*/
|
|
24
|
-
phaseExecutionId: string;
|
|
25
|
-
/**
|
|
26
|
-
* The name of the phase
|
|
27
|
-
*/
|
|
28
|
-
phaseName: string;
|
|
29
|
-
/**
|
|
30
|
-
* The retry index (0 for original, 1+ for retries)
|
|
31
|
-
* @format int32
|
|
32
|
-
*/
|
|
33
|
-
retryIndex: number;
|
|
34
|
-
/**
|
|
35
|
-
* Start timestamp in milliseconds
|
|
36
|
-
* @format int64
|
|
37
|
-
*/
|
|
38
|
-
startTs?: number;
|
|
39
|
-
/**
|
|
40
|
-
* The status of this retry attempt
|
|
41
|
-
*/
|
|
42
|
-
status: OrchestrationStatus;
|
|
43
|
-
/**
|
|
44
|
-
* Status details for this phase execution attempt
|
|
45
|
-
*/
|
|
46
|
-
statusInfo?: StatusInfo;
|
|
47
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { ReleaseArtifactValue } from '../schemas/ReleaseArtifactValue';
|
|
2
|
-
/**
|
|
3
|
-
* Input variable for a release-artifact reference. The value is an object pointing to a specific artifact-tracker service mapping + tag. Populated by the UI via a cascade over the service-refs + tags APIs.
|
|
4
|
-
*
|
|
5
|
-
*/
|
|
6
|
-
export interface ReleaseArtifactInputVariable {
|
|
7
|
-
/**
|
|
8
|
-
* Default reference (service mapping identifier + tag).
|
|
9
|
-
*/
|
|
10
|
-
default?: ReleaseArtifactValue;
|
|
11
|
-
/**
|
|
12
|
-
* Description of the variable
|
|
13
|
-
*/
|
|
14
|
-
description?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Optional metadata bag. Reserved for future use; not validated in v1.
|
|
17
|
-
*/
|
|
18
|
-
metadata?: {
|
|
19
|
-
[key: string]: any;
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* Type of the input variable
|
|
23
|
-
*/
|
|
24
|
-
type: 'release-artifact';
|
|
25
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Free-form object stored under a release-artifact input's value/default. Pass-through server-side — mirrors output-artifact's contract. Fields listed below are conventional but none are required, and `tag` can be a runtime expression (e.g. `<+input>`) rather than a literal string.
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
export interface ReleaseArtifactValue {
|
|
6
|
-
/**
|
|
7
|
-
* Optional — carried through for display; not validated server-side.
|
|
8
|
-
*/
|
|
9
|
-
artifactPath?: string;
|
|
10
|
-
/**
|
|
11
|
-
* The service mapping identifier (from /v1/artifact-tracker/service-refs).
|
|
12
|
-
*/
|
|
13
|
-
serviceMapping?: string;
|
|
14
|
-
/**
|
|
15
|
-
* The artifact tag, or a runtime expression that resolves to one.
|
|
16
|
-
*/
|
|
17
|
-
tag?: string;
|
|
18
|
-
[key: string]: any;
|
|
19
|
-
}
|
|
File without changes
|
/package/dist/rmg-service/src/services/schemas/{ArtifactTrackerServiceRef.js → ArtifactFacets.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/rmg-service/src/services/schemas/{ArtifactTagList.js → ArtifactVersionList.js}
RENAMED
|
File without changes
|