@ricsam/r5d-api 0.0.47 → 0.0.49

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.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@ricsam/r5d-api",
3
- "version": "0.0.47",
3
+ "version": "0.0.49",
4
4
  "type": "commonjs"
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@ricsam/r5d-api",
3
- "version": "0.0.47",
3
+ "version": "0.0.49",
4
4
  "type": "module"
5
5
  }
@@ -176,6 +176,15 @@ export type R5dctlApiKey = {
176
176
  lastUsedAt: string | null;
177
177
  };
178
178
  export type R5dctlProcessRunStatus = "starting" | "running" | "exited" | "cancelled" | "failed";
179
+ export type R5dctlProcessTarget = {
180
+ type: "project";
181
+ projectId: string;
182
+ branchName: string;
183
+ } | {
184
+ type: "workspace";
185
+ ownerUserId: string;
186
+ rootProfile: "visible_projects" | "canonical_sync";
187
+ };
179
188
  export type R5dctlWorkspaceSyncResult = {
180
189
  type: "workspace_sync";
181
190
  attemptId: string;
@@ -214,10 +223,9 @@ export type R5dctlWorkspaceStatus = {
214
223
  };
215
224
  export type R5dctlProcessRun = {
216
225
  runId: string;
217
- projectId: string;
226
+ target: R5dctlProcessTarget;
218
227
  projectPath: string;
219
228
  sessionId: string;
220
- branchName: string;
221
229
  workerLabel: string;
222
230
  platform?: string;
223
231
  arch?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ricsam/r5d-api",
3
- "version": "0.0.47",
3
+ "version": "0.0.49",
4
4
  "type": "module",
5
5
  "main": "./dist/cjs/index.cjs",
6
6
  "module": "./dist/mjs/index.mjs",