@harnessio/react-rmg-service-client 0.90.0 → 0.91.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.
@@ -20,7 +20,7 @@ export interface ResolveOrchestrationActivitiesForProcessProps extends Omit<Fetc
20
20
  }
21
21
  export declare function resolveOrchestrationActivitiesForProcess(props: ResolveOrchestrationActivitiesForProcessProps): Promise<ResolveOrchestrationActivitiesForProcessOkResponse>;
22
22
  /**
23
- * Resolve activity YAML for process activity instances in a single phase with correct per-instance git branch resolution (activity pin → same-repo process branch → activity default). phaseIdentifier is required so the response map can be keyed by activity instance id. When activityDetails is omitted, instances are collected from the persisted process YAML for that phase. When activityDetails is provided (e.g. unsaved studio edits), each entry must include identifier and activityRef.
23
+ * Resolve activity YAML for process activity instances in a single phase with correct per-instance git branch resolution (activity pin → same-repo process branch → activity default). phaseIdentifier is required so the response map can be keyed by activity instance id. When activityDetails is omitted, instances are collected from the persisted process YAML for that phase. When activityDetails is provided (e.g. unsaved studio edits), each entry must include identifier and activityRef. If the process is not found and activityDetails is provided, resolution continues using optional processGitRepo/processBranch from the request. If the process exists and processGitRepo is sent, it must match the stored repo.
24
24
  *
25
25
  */
26
26
  export declare function useResolveOrchestrationActivitiesForProcessMutation(options?: Omit<UseMutationOptions<ResolveOrchestrationActivitiesForProcessOkResponse, ResolveOrchestrationActivitiesForProcessErrorResponse, ResolveOrchestrationActivitiesForProcessProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ResolveOrchestrationActivitiesForProcessOkResponse, import("..").Error, ResolveOrchestrationActivitiesForProcessProps, unknown>;
@@ -7,7 +7,7 @@ export function resolveOrchestrationActivitiesForProcess(props) {
7
7
  return fetcher(Object.assign({ url: `/orchestration/activity/resolve-for-process`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
- * Resolve activity YAML for process activity instances in a single phase with correct per-instance git branch resolution (activity pin → same-repo process branch → activity default). phaseIdentifier is required so the response map can be keyed by activity instance id. When activityDetails is omitted, instances are collected from the persisted process YAML for that phase. When activityDetails is provided (e.g. unsaved studio edits), each entry must include identifier and activityRef.
10
+ * Resolve activity YAML for process activity instances in a single phase with correct per-instance git branch resolution (activity pin → same-repo process branch → activity default). phaseIdentifier is required so the response map can be keyed by activity instance id. When activityDetails is omitted, instances are collected from the persisted process YAML for that phase. When activityDetails is provided (e.g. unsaved studio edits), each entry must include identifier and activityRef. If the process is not found and activityDetails is provided, resolution continues using optional processGitRepo/processBranch from the request. If the process exists and processGitRepo is sent, it must match the stored repo.
11
11
  *
12
12
  */
13
13
  export function useResolveOrchestrationActivitiesForProcessMutation(options) {
@@ -14,6 +14,11 @@ export interface ResolveOrchestrationActivitiesForProcessRequest {
14
14
  * Branch the process YAML was loaded from; used for same-repo activity branch inherit
15
15
  */
16
16
  processBranch?: string;
17
+ /**
18
+ * Optional git repository of the process for same-repo activity branch inherit. Use when the process is not yet persisted (e.g. new studio process) or to supply repo context alongside processBranch. When the process exists in the database and this field is set, it must match the process's stored git repo.
19
+ *
20
+ */
21
+ processGitRepo?: string;
17
22
  /**
18
23
  * Identifier of the process used for git repo context and (when activityDetails is omitted) instance collection
19
24
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-rmg-service-client",
3
- "version": "0.90.0",
3
+ "version": "0.91.0",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",