@harnessio/react-rmg-service-client 0.69.1-beta.0 → 0.69.1-beta.1
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/ActivityInputYaml.d.ts +1 -1
- package/dist/rmg-service/src/services/schemas/AnyValue.d.ts +2 -2
- 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/ArtifactTagMetadata.d.ts +1 -3
- 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 -4
- package/dist/rmg-service/src/services/schemas/InputVariableType.d.ts +1 -1
- package/dist/rmg-service/src/services/schemas/ManualTaskYaml.d.ts +3 -3
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityWebhookYaml.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 +4 -21
- package/dist/rmg-service/src/services/schemas/OutputVariable.js +3 -0
- package/dist/rmg-service/src/services/schemas/ReleaseRef.d.ts +11 -0
- package/dist/rmg-service/src/services/schemas/StringOrBool.d.ts +1 -1
- package/dist/rmg-service/src/services/schemas/StringOrStringArray.d.ts +1 -1
- package/dist/rmg-service/src/services/schemas/TaskExecuteConfig.d.ts +1 -1
- package/package.json +1 -4
- 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
|
@@ -10,8 +10,10 @@ export { deleteReleaseGroup, useDeleteReleaseGroupMutation, } from './hooks/useD
|
|
|
10
10
|
export { deleteRelease, useDeleteReleaseMutation } from './hooks/useDeleteReleaseMutation';
|
|
11
11
|
export { deleteTaskComment, useDeleteTaskCommentMutation, } from './hooks/useDeleteTaskCommentMutation';
|
|
12
12
|
export { getActivityRetryHistoryByIdentifiers, useGetActivityRetryHistoryByIdentifiersQuery, } from './hooks/useGetActivityRetryHistoryByIdentifiersQuery';
|
|
13
|
+
export { getArtifactFacets, useGetArtifactFacetsQuery } from './hooks/useGetArtifactFacetsQuery';
|
|
13
14
|
export { getArtifactTrackerServiceMapping, useGetArtifactTrackerServiceMappingQuery, } from './hooks/useGetArtifactTrackerServiceMappingQuery';
|
|
14
15
|
export { getArtifactTrackerSettings, useGetArtifactTrackerSettingsQuery, } from './hooks/useGetArtifactTrackerSettingsQuery';
|
|
16
|
+
export { getChangesetFacets, useGetChangesetFacetsQuery } from './hooks/useGetChangesetFacetsQuery';
|
|
15
17
|
export { getEventsByEntityTypeAndId, useGetEventsByEntityTypeAndIdQuery, } from './hooks/useGetEventsByEntityTypeAndIdQuery';
|
|
16
18
|
export { getFreezeDetails, useGetFreezeDetailsQuery } from './hooks/useGetFreezeDetailsQuery';
|
|
17
19
|
export { getFreezeList, useGetFreezeListQuery } from './hooks/useGetFreezeListQuery';
|
|
@@ -27,7 +29,6 @@ export { getOrchestrationExecutionActivityInputs, useGetOrchestrationExecutionAc
|
|
|
27
29
|
export { getOrchestrationExecutionActivityOutputs, useGetOrchestrationExecutionActivityOutputsQuery, } from './hooks/useGetOrchestrationExecutionActivityOutputsQuery';
|
|
28
30
|
export { getOrchestrationExecutionActivityOutputsV2, useGetOrchestrationExecutionActivityOutputsV2Query, } from './hooks/useGetOrchestrationExecutionActivityOutputsV2Query';
|
|
29
31
|
export { getOrchestrationExecutionActivity, useGetOrchestrationExecutionActivityQuery, } from './hooks/useGetOrchestrationExecutionActivityQuery';
|
|
30
|
-
export { getOrchestrationExecutionPhaseInputs, useGetOrchestrationExecutionPhaseInputsQuery, } from './hooks/useGetOrchestrationExecutionPhaseInputsQuery';
|
|
31
32
|
export { getOrchestrationExecutionPhaseOutputs, useGetOrchestrationExecutionPhaseOutputsQuery, } from './hooks/useGetOrchestrationExecutionPhaseOutputsQuery';
|
|
32
33
|
export { getOrchestrationExecutionPhaseOutputsV2, useGetOrchestrationExecutionPhaseOutputsV2Query, } from './hooks/useGetOrchestrationExecutionPhaseOutputsV2Query';
|
|
33
34
|
export { getOrchestrationExecutionPhases, useGetOrchestrationExecutionPhasesQuery, } from './hooks/useGetOrchestrationExecutionPhasesQuery';
|
|
@@ -38,15 +39,12 @@ export { getOrchestrationProcessInput, useGetOrchestrationProcessInputQuery, } f
|
|
|
38
39
|
export { getOrchestrationProcessInputSummary, useGetOrchestrationProcessInputSummaryQuery, } from './hooks/useGetOrchestrationProcessInputSummaryQuery';
|
|
39
40
|
export { getOrchestrationProcess, useGetOrchestrationProcessQuery, } from './hooks/useGetOrchestrationProcessQuery';
|
|
40
41
|
export { getOrchestrationProcessSummary, useGetOrchestrationProcessSummaryQuery, } from './hooks/useGetOrchestrationProcessSummaryQuery';
|
|
41
|
-
export { getPhaseArtifactUpdates, useGetPhaseArtifactUpdatesQuery, } from './hooks/useGetPhaseArtifactUpdatesQuery';
|
|
42
|
-
export { getPhaseRetryHistoryByIdentifiers, useGetPhaseRetryHistoryByIdentifiersQuery, } from './hooks/useGetPhaseRetryHistoryByIdentifiersQuery';
|
|
43
42
|
export { getProcessExecutionActivitiesPaginated, useGetProcessExecutionActivitiesPaginatedQuery, } from './hooks/useGetProcessExecutionActivitiesPaginatedQuery';
|
|
44
43
|
export { getProcessExecutionActivities, useGetProcessExecutionActivitiesQuery, } from './hooks/useGetProcessExecutionActivitiesQuery';
|
|
45
44
|
export { getProcessExecutionInput, useGetProcessExecutionInputQuery, } from './hooks/useGetProcessExecutionInputQuery';
|
|
46
45
|
export { getProcessExecutionPhases, useGetProcessExecutionPhasesQuery, } from './hooks/useGetProcessExecutionPhasesQuery';
|
|
47
46
|
export { getProcessExecution, useGetProcessExecutionQuery, } from './hooks/useGetProcessExecutionQuery';
|
|
48
47
|
export { getReleaseActivities, useGetReleaseActivitiesQuery, } from './hooks/useGetReleaseActivitiesQuery';
|
|
49
|
-
export { getReleaseChangesetFacets, useGetReleaseChangesetFacetsQuery, } from './hooks/useGetReleaseChangesetFacetsQuery';
|
|
50
48
|
export { getReleaseConflicts, useGetReleaseConflictsQuery, } from './hooks/useGetReleaseConflictsQuery';
|
|
51
49
|
export { getReleaseDayActivities, useGetReleaseDayActivitiesQuery, } from './hooks/useGetReleaseDayActivitiesQuery';
|
|
52
50
|
export { getReleaseGroup, useGetReleaseGroupQuery } from './hooks/useGetReleaseGroupQuery';
|
|
@@ -65,12 +63,12 @@ export { getWebhookMetadata, useGetWebhookMetadataQuery } from './hooks/useGetWe
|
|
|
65
63
|
export { getYamlSchema, useGetYamlSchemaQuery } from './hooks/useGetYamlSchemaQuery';
|
|
66
64
|
export { ingestWebhookSignal, useIngestWebhookSignalMutation, } from './hooks/useIngestWebhookSignalMutation';
|
|
67
65
|
export { listArtifactTrackerServiceMappings, useListArtifactTrackerServiceMappingsQuery, } from './hooks/useListArtifactTrackerServiceMappingsQuery';
|
|
68
|
-
export { listArtifactTrackerServiceRefs, useListArtifactTrackerServiceRefsQuery, } from './hooks/useListArtifactTrackerServiceRefsQuery';
|
|
69
66
|
export { listArtifactTrackerSettings, useListArtifactTrackerSettingsQuery, } from './hooks/useListArtifactTrackerSettingsQuery';
|
|
70
|
-
export {
|
|
67
|
+
export { listArtifactsByService, useListArtifactsByServiceQuery, } from './hooks/useListArtifactsByServiceQuery';
|
|
68
|
+
export { listArtifacts, useListArtifactsQuery } from './hooks/useListArtifactsQuery';
|
|
69
|
+
export { listChangesetCommits, useListChangesetCommitsQuery, } from './hooks/useListChangesetCommitsQuery';
|
|
70
|
+
export { listChangesets, useListChangesetsQuery } from './hooks/useListChangesetsQuery';
|
|
71
71
|
export { listIntegrationExecutions, useListIntegrationExecutionsQuery, } from './hooks/useListIntegrationExecutionsQuery';
|
|
72
|
-
export { listReleaseChangesetCommits, useListReleaseChangesetCommitsQuery, } from './hooks/useListReleaseChangesetCommitsQuery';
|
|
73
|
-
export { listReleaseChangesets, useListReleaseChangesetsQuery, } from './hooks/useListReleaseChangesetsQuery';
|
|
74
72
|
export { patchReleaseGroup, usePatchReleaseGroupMutation, } from './hooks/usePatchReleaseGroupMutation';
|
|
75
73
|
export { postActivityExecutionOutput, usePostActivityExecutionOutputMutation, } from './hooks/usePostActivityExecutionOutputMutation';
|
|
76
74
|
export { postOnHoldActivityAction, usePostOnHoldActivityActionMutation, } from './hooks/usePostOnHoldActivityActionMutation';
|
|
@@ -80,7 +78,6 @@ export { postOrchestrationProcessExecute, usePostOrchestrationProcessExecuteMuta
|
|
|
80
78
|
export { postOrchestrationProcessInput, usePostOrchestrationProcessInputMutation, } from './hooks/usePostOrchestrationProcessInputMutation';
|
|
81
79
|
export { postOrchestrationProcessInputValidate, usePostOrchestrationProcessInputValidateMutation, } from './hooks/usePostOrchestrationProcessInputValidateMutation';
|
|
82
80
|
export { postOrchestrationProcess, usePostOrchestrationProcessMutation, } from './hooks/usePostOrchestrationProcessMutation';
|
|
83
|
-
export { postPhaseAction, usePostPhaseActionMutation } from './hooks/usePostPhaseActionMutation';
|
|
84
81
|
export { postProcessExecutionAction, usePostProcessExecutionActionMutation, } from './hooks/usePostProcessExecutionActionMutation';
|
|
85
82
|
export { postReleaseAction, usePostReleaseActionMutation, } from './hooks/usePostReleaseActionMutation';
|
|
86
83
|
export { postReleaseAdhoc, usePostReleaseAdhocMutation } from './hooks/usePostReleaseAdhocMutation';
|
|
@@ -96,15 +93,15 @@ export { putOrchestrationProcessInput, usePutOrchestrationProcessInputMutation,
|
|
|
96
93
|
export { putOrchestrationProcess, usePutOrchestrationProcessMutation, } from './hooks/usePutOrchestrationProcessMutation';
|
|
97
94
|
export { putReleaseGroup, usePutReleaseGroupMutation } from './hooks/usePutReleaseGroupMutation';
|
|
98
95
|
export { putReleaseReleaseId, usePutReleaseReleaseIdMutation, } from './hooks/usePutReleaseReleaseIdMutation';
|
|
99
|
-
export {
|
|
96
|
+
export { retryChangeset, useRetryChangesetMutation } from './hooks/useRetryChangesetMutation';
|
|
100
97
|
export { serveUpload, useServeUploadQuery } from './hooks/useServeUploadQuery';
|
|
101
98
|
export { startReleaseExecution, useStartReleaseExecutionMutation, } from './hooks/useStartReleaseExecutionMutation';
|
|
102
99
|
export { streamUpload, useStreamUploadMutation } from './hooks/useStreamUploadMutation';
|
|
103
100
|
export { triggerIntegrationExecution, useTriggerIntegrationExecutionMutation, } from './hooks/useTriggerIntegrationExecutionMutation';
|
|
104
101
|
export { updateArtifactTrackerServiceMapping, useUpdateArtifactTrackerServiceMappingMutation, } from './hooks/useUpdateArtifactTrackerServiceMappingMutation';
|
|
102
|
+
export { updateChangesetTags, useUpdateChangesetTagsMutation, } from './hooks/useUpdateChangesetTagsMutation';
|
|
105
103
|
export { updateExecutionTaskMetadata, useUpdateExecutionTaskMetadataMutation, } from './hooks/useUpdateExecutionTaskMetadataMutation';
|
|
106
104
|
export { updateExecutionTaskStatus, useUpdateExecutionTaskStatusMutation, } from './hooks/useUpdateExecutionTaskStatusMutation';
|
|
107
|
-
export { updateReleaseChangesetTags, useUpdateReleaseChangesetTagsMutation, } from './hooks/useUpdateReleaseChangesetTagsMutation';
|
|
108
105
|
export { updateReleaseConflict, useUpdateReleaseConflictMutation, } from './hooks/useUpdateReleaseConflictMutation';
|
|
109
106
|
export { updateTaskComment, useUpdateTaskCommentMutation, } from './hooks/useUpdateTaskCommentMutation';
|
|
110
107
|
export { upsertArtifactTrackerSettings, useUpsertArtifactTrackerSettingsMutation, } from './hooks/useUpsertArtifactTrackerSettingsMutation';
|
|
@@ -4,13 +4,6 @@ import type { AnyValue } from '../schemas/AnyValue';
|
|
|
4
4
|
* Input value for an activity execution
|
|
5
5
|
*/
|
|
6
6
|
export interface ActivityExecutionInputDto {
|
|
7
|
-
/**
|
|
8
|
-
* Free-form metadata bag persisted alongside the input value. release-artifact inputs use it to carry commitSha/repoName/branch/registry/artifactPath so the execution view can render them without a second lookup.
|
|
9
|
-
*
|
|
10
|
-
*/
|
|
11
|
-
metadata?: {
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
};
|
|
14
7
|
/**
|
|
15
8
|
* Name of the input parameter
|
|
16
9
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Flexible type that accepts any JSON value (string, number, boolean, object, or array)
|
|
3
3
|
*/
|
|
4
|
-
export type AnyValue = string
|
|
4
|
+
export type AnyValue = string & number & boolean & {
|
|
5
5
|
[key: string]: any;
|
|
6
|
-
}
|
|
6
|
+
} & Array<{
|
|
7
7
|
[key: string]: any;
|
|
8
8
|
}>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface ArtifactBuild {
|
|
2
|
+
/**
|
|
3
|
+
* timestamp (ms) when this artifact was ingested into the system
|
|
4
|
+
* @format int64
|
|
5
|
+
*/
|
|
6
|
+
artifactIngestedAt?: number;
|
|
7
|
+
branch?: string;
|
|
8
|
+
/**
|
|
9
|
+
* org/project/pipeline identifier of the pipeline that built this artifact
|
|
10
|
+
*/
|
|
11
|
+
buildPipelineRef?: string;
|
|
12
|
+
/**
|
|
13
|
+
* plan execution (run) of the build pipeline that produced this artifact
|
|
14
|
+
*/
|
|
15
|
+
buildPlanExecutionId?: string;
|
|
16
|
+
commitSha?: string;
|
|
17
|
+
repoName?: string;
|
|
18
|
+
tag?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ChangesetRef } from '../schemas/ChangesetRef';
|
|
2
|
+
import type { ArtifactBuild } from '../schemas/ArtifactBuild';
|
|
3
|
+
import type { ReleaseRef } from '../schemas/ReleaseRef';
|
|
4
|
+
export interface ArtifactServiceItem {
|
|
5
|
+
artifactPath: string;
|
|
6
|
+
changesets?: ChangesetRef[];
|
|
7
|
+
id: string;
|
|
8
|
+
latestBuild?: ArtifactBuild;
|
|
9
|
+
registry: string;
|
|
10
|
+
releases?: ReleaseRef[];
|
|
11
|
+
serviceMappingId?: string;
|
|
12
|
+
serviceRef?: string;
|
|
13
|
+
}
|
|
@@ -12,6 +12,4 @@ import type { CustomArtifactMetadata } from '../schemas/CustomArtifactMetadata';
|
|
|
12
12
|
* Use the discriminated schemas below to determine which fields are needed per type.
|
|
13
13
|
*
|
|
14
14
|
*/
|
|
15
|
-
export type ArtifactTagMetadata =
|
|
16
|
-
[key: string]: any;
|
|
17
|
-
};
|
|
15
|
+
export type ArtifactTagMetadata = DockerRegistryArtifactMetadata & EcrArtifactMetadata & GcrArtifactMetadata & AcrArtifactMetadata & GoogleArtifactRegistryMetadata & Nexus3RegistryArtifactMetadata & ArtifactoryRegistryMetadata & GithubPackageRegistryMetadata & CustomArtifactMetadata;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { ChangesetRef } from '../schemas/ChangesetRef';
|
|
2
|
+
import type { ReleaseRef } from '../schemas/ReleaseRef';
|
|
3
|
+
export interface ArtifactVersion {
|
|
4
|
+
artifactPath: string;
|
|
5
|
+
branch?: string;
|
|
6
|
+
/**
|
|
7
|
+
* org/project/pipeline identifier of the pipeline that built this artifact
|
|
8
|
+
*/
|
|
9
|
+
buildPipelineRef?: string;
|
|
10
|
+
/**
|
|
11
|
+
* plan execution (run) of the build pipeline that produced this artifact
|
|
12
|
+
*/
|
|
13
|
+
buildPlanExecutionId?: string;
|
|
14
|
+
changesets?: ChangesetRef[];
|
|
15
|
+
commitSha?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @format int64
|
|
18
|
+
*/
|
|
19
|
+
createdAt?: number;
|
|
20
|
+
id: string;
|
|
21
|
+
registry: string;
|
|
22
|
+
releases?: ReleaseRef[];
|
|
23
|
+
repoName?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Identifier of the service mapping this artifact belongs to (populated by the by-service endpoint)
|
|
26
|
+
*/
|
|
27
|
+
serviceMappingId?: string;
|
|
28
|
+
serviceRef?: string;
|
|
29
|
+
tag: string;
|
|
30
|
+
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { OutputDataType } from '../schemas/OutputDataType';
|
|
2
1
|
import type { AnyValue } from '../schemas/AnyValue';
|
|
3
2
|
/**
|
|
4
3
|
* Output value for a phase execution
|
|
@@ -8,18 +7,10 @@ export interface ExecutionOutputDto {
|
|
|
8
7
|
* Description of the output parameter
|
|
9
8
|
*/
|
|
10
9
|
description?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Element type when type is 'list'. Absent for non-list outputs.
|
|
13
|
-
*/
|
|
14
|
-
items?: OutputDataType;
|
|
15
10
|
/**
|
|
16
11
|
* Name of the output parameter
|
|
17
12
|
*/
|
|
18
13
|
name: string;
|
|
19
|
-
/**
|
|
20
|
-
* Declared type of the output. Absent for legacy outputs (implicit string).
|
|
21
|
-
*/
|
|
22
|
-
type?: OutputDataType;
|
|
23
14
|
/**
|
|
24
15
|
* Value of the output parameter (can be string, number, boolean, object, array, etc.)
|
|
25
16
|
*/
|
|
@@ -7,7 +7,4 @@ import type { InfrastructureInputVariable } from '../schemas/InfrastructureInput
|
|
|
7
7
|
import type { MultiInfrastructureInputVariable } from '../schemas/MultiInfrastructureInputVariable';
|
|
8
8
|
import type { ConnectorInputVariable } from '../schemas/ConnectorInputVariable';
|
|
9
9
|
import type { ArtifactTagInputVariable } from '../schemas/ArtifactTagInputVariable';
|
|
10
|
-
|
|
11
|
-
export type InputVariable = (PrimitiveInputVariable | ServiceInputVariable | MultiServiceInputVariable | EnvironmentInputVariable | MultiEnvironmentInputVariable | InfrastructureInputVariable | MultiInfrastructureInputVariable | ConnectorInputVariable | ArtifactTagInputVariable | ReleaseArtifactInputVariable) & {
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
};
|
|
10
|
+
export type InputVariable = PrimitiveInputVariable & ServiceInputVariable & MultiServiceInputVariable & EnvironmentInputVariable & MultiEnvironmentInputVariable & InfrastructureInputVariable & MultiInfrastructureInputVariable & ConnectorInputVariable & ArtifactTagInputVariable;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Type of an input variable for parameters and process inputs.
|
|
3
3
|
*/
|
|
4
|
-
export type InputVariableType = 'artifactTag' | 'boolean' | 'connector' | 'environment' | 'infrastructure' | 'list' | 'multiEnvironment' | 'multiInfrastructure' | 'multiService' | 'number' | 'object' | '
|
|
4
|
+
export type InputVariableType = 'artifactTag' | 'boolean' | 'connector' | 'environment' | 'infrastructure' | 'list' | 'multiEnvironment' | 'multiInfrastructure' | 'multiService' | 'number' | 'object' | 'service' | 'string';
|
|
@@ -23,13 +23,13 @@ export interface ManualTaskYaml {
|
|
|
23
23
|
/**
|
|
24
24
|
* Whether this task is required, it can be boolean or string as we support expressions
|
|
25
25
|
*/
|
|
26
|
-
required: boolean
|
|
26
|
+
required: boolean & string;
|
|
27
27
|
/**
|
|
28
28
|
* List of user groups or references, it can be string or array of strings as we support expressions
|
|
29
29
|
*/
|
|
30
|
-
userGroups: string
|
|
30
|
+
userGroups: string & string[];
|
|
31
31
|
/**
|
|
32
32
|
* List of user emails or references, it can be string or array of strings as we support expressions
|
|
33
33
|
*/
|
|
34
|
-
users: string
|
|
34
|
+
users: string & string[];
|
|
35
35
|
}
|
|
@@ -31,10 +31,6 @@ export interface OrchestrationExecutionPhase {
|
|
|
31
31
|
* Unique identifier of the phase
|
|
32
32
|
*/
|
|
33
33
|
identifier: string;
|
|
34
|
-
/**
|
|
35
|
-
* Whether the phase is configured as restartable (the `restart` key is present in the phase YAML)
|
|
36
|
-
*/
|
|
37
|
-
is_restartable?: boolean;
|
|
38
34
|
/**
|
|
39
35
|
* Name of the phase
|
|
40
36
|
*/
|
|
@@ -47,11 +43,6 @@ export interface OrchestrationExecutionPhase {
|
|
|
47
43
|
* ID of the phase execution
|
|
48
44
|
*/
|
|
49
45
|
phase_execution_id?: string;
|
|
50
|
-
/**
|
|
51
|
-
* Retry attempt index for the phase execution (0 for the original attempt)
|
|
52
|
-
* @format int32
|
|
53
|
-
*/
|
|
54
|
-
retry_index?: number;
|
|
55
46
|
/**
|
|
56
47
|
* Start timestamp in milliseconds
|
|
57
48
|
* @format int64
|
|
@@ -33,14 +33,5 @@ export interface OrchestrationPhaseYaml {
|
|
|
33
33
|
* List of owner groups for the phase
|
|
34
34
|
*/
|
|
35
35
|
owners?: string[];
|
|
36
|
-
/**
|
|
37
|
-
* Restart configuration for the phase
|
|
38
|
-
*/
|
|
39
|
-
restart?: {
|
|
40
|
-
/**
|
|
41
|
-
* Trigger for restarting the phase. Use 'user_intervention' to pause after successful completion and wait for operator action.
|
|
42
|
-
*/
|
|
43
|
-
on?: 'user_intervention';
|
|
44
|
-
};
|
|
45
36
|
};
|
|
46
37
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Status of orchestration execution activities
|
|
3
3
|
*/
|
|
4
|
-
export type OrchestrationStatus = 'ABORTED' | 'FAILED' | 'IGNORED' | 'ON_HOLD' | 'OUTPUT_WAITING' | '
|
|
4
|
+
export type OrchestrationStatus = 'ABORTED' | 'FAILED' | 'IGNORED' | 'ON_HOLD' | 'OUTPUT_WAITING' | 'PIPELINE_WAITING_FOR_USER_ACTION' | 'QUEUED' | 'RETRIED' | 'RUNNING' | 'SCHEDULED' | 'SKIPPED' | 'SUCCEEDED';
|
|
@@ -1,31 +1,14 @@
|
|
|
1
|
-
import type { OutputDataType } from '../schemas/OutputDataType';
|
|
2
|
-
import type { AnyValue } from '../schemas/AnyValue';
|
|
3
1
|
/**
|
|
4
|
-
* Output variable definition. Accepts either a plain string (legacy format) or an object with a `value` field and optional `
|
|
2
|
+
* Output variable definition. Accepts either a plain string (legacy format) or an object with a `value` field and an optional `description` (new format).
|
|
5
3
|
*
|
|
6
4
|
*/
|
|
7
|
-
export type OutputVariable = string
|
|
5
|
+
export type OutputVariable = string & {
|
|
8
6
|
/**
|
|
9
7
|
* Human-readable description of the output variable.
|
|
10
8
|
*/
|
|
11
9
|
description?: string;
|
|
12
10
|
/**
|
|
13
|
-
*
|
|
11
|
+
* The output value expression.
|
|
14
12
|
*/
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Additional metadata for the output variable.
|
|
18
|
-
*/
|
|
19
|
-
metadata?: {
|
|
20
|
-
[key: string]: any;
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* Declared type of the output. Absent (empty) means the output has no declared type and is treated as 'string' for backward compatibility.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
|
-
type?: OutputDataType;
|
|
27
|
-
/**
|
|
28
|
-
* The output value or expression. Shape depends on the declared type.
|
|
29
|
-
*/
|
|
30
|
-
value: AnyValue;
|
|
13
|
+
value: string;
|
|
31
14
|
};
|
|
@@ -6,5 +6,5 @@ export interface TaskExecuteConfig {
|
|
|
6
6
|
* Either the literal string "all" (any process can be triggered), the literal string "none" (no process can be triggered), or an array of whitelisted process identifiers.
|
|
7
7
|
*
|
|
8
8
|
*/
|
|
9
|
-
processes: 'all' | 'none'
|
|
9
|
+
processes: 'all' | ('none' & string[]);
|
|
10
10
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/react-rmg-service-client",
|
|
3
|
-
"version": "0.69.1-beta.
|
|
3
|
+
"version": "0.69.1-beta.1",
|
|
4
4
|
"description": "Harness Release Management Service APIs integrated with react hooks",
|
|
5
5
|
"author": "Harness Inc",
|
|
6
6
|
"license": "MIT",
|
|
@@ -27,8 +27,5 @@
|
|
|
27
27
|
"build": "yarn generate && tsc",
|
|
28
28
|
"generate": "oats import --config='./oats.config.ts'",
|
|
29
29
|
"fmt": "prettier --write ./index.ts"
|
|
30
|
-
},
|
|
31
|
-
"dependencies": {
|
|
32
|
-
"@harnessio/oats-cli": "^3.0.0"
|
|
33
30
|
}
|
|
34
31
|
}
|
package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhaseInputsQuery.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { ActivityExecutionInputsResponseResponse } from '../responses/ActivityExecutionInputsResponseResponse';
|
|
3
|
-
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
-
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
-
export interface GetOrchestrationExecutionPhaseInputsQueryPathParams {
|
|
7
|
-
releaseId: string;
|
|
8
|
-
phaseIdentifier: string;
|
|
9
|
-
}
|
|
10
|
-
export interface GetOrchestrationExecutionPhaseInputsQueryQueryParams {
|
|
11
|
-
phaseExecutionId?: string;
|
|
12
|
-
orgIdentifier?: string;
|
|
13
|
-
projectIdentifier?: string;
|
|
14
|
-
}
|
|
15
|
-
export interface GetOrchestrationExecutionPhaseInputsQueryHeaderParams {
|
|
16
|
-
'Harness-Account': string;
|
|
17
|
-
}
|
|
18
|
-
export type GetOrchestrationExecutionPhaseInputsOkResponse = ResponseWithPagination<ActivityExecutionInputsResponseResponse>;
|
|
19
|
-
export type GetOrchestrationExecutionPhaseInputsErrorResponse = ErrorResponseResponse;
|
|
20
|
-
export interface GetOrchestrationExecutionPhaseInputsProps extends GetOrchestrationExecutionPhaseInputsQueryPathParams, Omit<FetcherOptions<GetOrchestrationExecutionPhaseInputsQueryQueryParams, unknown, GetOrchestrationExecutionPhaseInputsQueryHeaderParams>, 'url'> {
|
|
21
|
-
queryParams: GetOrchestrationExecutionPhaseInputsQueryQueryParams;
|
|
22
|
-
}
|
|
23
|
-
export declare function getOrchestrationExecutionPhaseInputs(props: GetOrchestrationExecutionPhaseInputsProps): Promise<GetOrchestrationExecutionPhaseInputsOkResponse>;
|
|
24
|
-
/**
|
|
25
|
-
* Retrieve input values for a specific phase execution. If phaseExecutionId is provided it is used directly; otherwise the latest execution for the given release/phase is returned.
|
|
26
|
-
*/
|
|
27
|
-
export declare function useGetOrchestrationExecutionPhaseInputsQuery(props: GetOrchestrationExecutionPhaseInputsProps, options?: Omit<UseQueryOptions<GetOrchestrationExecutionPhaseInputsOkResponse, GetOrchestrationExecutionPhaseInputsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetOrchestrationExecutionPhaseInputsOkResponse, import("..").Error>;
|
|
@@ -1,19 +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 getOrchestrationExecutionPhaseInputs(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/orchestration/execution/release/${props.releaseId}/phase/${props.phaseIdentifier}/input`, method: 'GET' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Retrieve input values for a specific phase execution. If phaseExecutionId is provided it is used directly; otherwise the latest execution for the given release/phase is returned.
|
|
11
|
-
*/
|
|
12
|
-
export function useGetOrchestrationExecutionPhaseInputsQuery(props, options) {
|
|
13
|
-
return useQuery([
|
|
14
|
-
'get-orchestration-execution-phase-inputs',
|
|
15
|
-
props.releaseId,
|
|
16
|
-
props.phaseIdentifier,
|
|
17
|
-
props.queryParams,
|
|
18
|
-
], ({ signal }) => getOrchestrationExecutionPhaseInputs(Object.assign(Object.assign({}, props), { signal })), options);
|
|
19
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { PhaseArtifactUpdatesResponseResponse } from '../responses/PhaseArtifactUpdatesResponseResponse';
|
|
3
|
-
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
-
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
-
export interface GetPhaseArtifactUpdatesQueryPathParams {
|
|
7
|
-
phaseExecutionId: string;
|
|
8
|
-
}
|
|
9
|
-
export interface GetPhaseArtifactUpdatesQueryQueryParams {
|
|
10
|
-
orgIdentifier?: string;
|
|
11
|
-
projectIdentifier?: string;
|
|
12
|
-
}
|
|
13
|
-
export interface GetPhaseArtifactUpdatesQueryHeaderParams {
|
|
14
|
-
'Harness-Account': string;
|
|
15
|
-
}
|
|
16
|
-
export type GetPhaseArtifactUpdatesOkResponse = ResponseWithPagination<PhaseArtifactUpdatesResponseResponse>;
|
|
17
|
-
export type GetPhaseArtifactUpdatesErrorResponse = ErrorResponseResponse;
|
|
18
|
-
export interface GetPhaseArtifactUpdatesProps extends GetPhaseArtifactUpdatesQueryPathParams, Omit<FetcherOptions<GetPhaseArtifactUpdatesQueryQueryParams, unknown, GetPhaseArtifactUpdatesQueryHeaderParams>, 'url'> {
|
|
19
|
-
queryParams: GetPhaseArtifactUpdatesQueryQueryParams;
|
|
20
|
-
}
|
|
21
|
-
export declare function getPhaseArtifactUpdates(props: GetPhaseArtifactUpdatesProps): Promise<GetPhaseArtifactUpdatesOkResponse>;
|
|
22
|
-
/**
|
|
23
|
-
* For a paused phase, compares the tag stored in each release-artifact input against the latest ingested tag for that service mapping. Returns a list of inputs where a newer tag is available.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
|
-
export declare function useGetPhaseArtifactUpdatesQuery(props: GetPhaseArtifactUpdatesProps, options?: Omit<UseQueryOptions<GetPhaseArtifactUpdatesOkResponse, GetPhaseArtifactUpdatesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetPhaseArtifactUpdatesOkResponse, import("..").Error>;
|
|
@@ -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 getPhaseArtifactUpdates(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/orchestration/execution/phase/${props.phaseExecutionId}/artifact-updates`, method: 'GET' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* For a paused phase, compares the tag stored in each release-artifact input against the latest ingested tag for that service mapping. Returns a list of inputs where a newer tag is available.
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
export function useGetPhaseArtifactUpdatesQuery(props, options) {
|
|
14
|
-
return useQuery(['getPhaseArtifactUpdates', props.phaseExecutionId, props.queryParams], ({ signal }) => getPhaseArtifactUpdates(Object.assign(Object.assign({}, props), { signal })), options);
|
|
15
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { PhaseRetryHistoryResponse } from '../schemas/PhaseRetryHistoryResponse';
|
|
3
|
-
import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
|
|
4
|
-
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
-
export interface GetPhaseRetryHistoryByIdentifiersQueryPathParams {
|
|
7
|
-
releaseId: string;
|
|
8
|
-
phaseIdentifier: string;
|
|
9
|
-
}
|
|
10
|
-
export interface GetPhaseRetryHistoryByIdentifiersQueryQueryParams {
|
|
11
|
-
cursor?: string;
|
|
12
|
-
/**
|
|
13
|
-
* @default 500
|
|
14
|
-
*/
|
|
15
|
-
limit?: number;
|
|
16
|
-
orgIdentifier?: string;
|
|
17
|
-
projectIdentifier?: string;
|
|
18
|
-
}
|
|
19
|
-
export interface GetPhaseRetryHistoryByIdentifiersQueryHeaderParams {
|
|
20
|
-
'Harness-Account': string;
|
|
21
|
-
}
|
|
22
|
-
export type GetPhaseRetryHistoryByIdentifiersOkResponse = ResponseWithPagination<PhaseRetryHistoryResponse>;
|
|
23
|
-
export type GetPhaseRetryHistoryByIdentifiersErrorResponse = ErrorResponseResponse;
|
|
24
|
-
export interface GetPhaseRetryHistoryByIdentifiersProps extends GetPhaseRetryHistoryByIdentifiersQueryPathParams, Omit<FetcherOptions<GetPhaseRetryHistoryByIdentifiersQueryQueryParams, unknown, GetPhaseRetryHistoryByIdentifiersQueryHeaderParams>, 'url'> {
|
|
25
|
-
queryParams: GetPhaseRetryHistoryByIdentifiersQueryQueryParams;
|
|
26
|
-
}
|
|
27
|
-
export declare function getPhaseRetryHistoryByIdentifiers(props: GetPhaseRetryHistoryByIdentifiersProps): Promise<GetPhaseRetryHistoryByIdentifiersOkResponse>;
|
|
28
|
-
/**
|
|
29
|
-
* Retrieve the retry history for a specific phase by release ID and phase identifier
|
|
30
|
-
*/
|
|
31
|
-
export declare function useGetPhaseRetryHistoryByIdentifiersQuery(props: GetPhaseRetryHistoryByIdentifiersProps, options?: Omit<UseQueryOptions<GetPhaseRetryHistoryByIdentifiersOkResponse, GetPhaseRetryHistoryByIdentifiersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetPhaseRetryHistoryByIdentifiersOkResponse, import("..").Error>;
|
|
@@ -1,19 +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 getPhaseRetryHistoryByIdentifiers(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/orchestration/execution/release/${props.releaseId}/phase/${props.phaseIdentifier}/retry-history`, method: 'GET' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Retrieve the retry history for a specific phase by release ID and phase identifier
|
|
11
|
-
*/
|
|
12
|
-
export function useGetPhaseRetryHistoryByIdentifiersQuery(props, options) {
|
|
13
|
-
return useQuery([
|
|
14
|
-
'get-phase-retry-history-by-identifiers',
|
|
15
|
-
props.releaseId,
|
|
16
|
-
props.phaseIdentifier,
|
|
17
|
-
props.queryParams,
|
|
18
|
-
], ({ signal }) => getPhaseRetryHistoryByIdentifiers(Object.assign(Object.assign({}, props), { signal })), options);
|
|
19
|
-
}
|