@firestartr/cli 2.5.0 → 2.6.0-snapshot-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.
@@ -22,14 +22,14 @@ export interface WorkflowCompletionResult {
22
22
  * @param ref - Git ref to run on (branch, tag, or SHA)
23
23
  * @param inputs - Workflow input key-value pairs (strings, numbers, or booleans)
24
24
  */
25
- export declare function triggerWorkflow(owner: string, repo: string, workflowId: string | number, ref: string, inputs?: WorkflowDispatchInputs): Promise<void>;
25
+ export declare function triggerWorkflow(owner: string, repo: string, workflowId: string | number, ref: string, inputs?: WorkflowDispatchInputs, octokit?: any): Promise<void>;
26
26
  /**
27
27
  * Get workflow run details
28
28
  * @param owner - GitHub organization
29
29
  * @param repo - Repository name
30
30
  * @param runId - Workflow run ID
31
31
  */
32
- export declare function getWorkflowRun(owner: string, repo: string, runId: number): Promise<WorkflowRunSummary>;
32
+ export declare function getWorkflowRun(owner: string, repo: string, runId: number, octokit?: any): Promise<WorkflowRunSummary>;
33
33
  /**
34
34
  * List recent workflow runs
35
35
  * @param owner - GitHub organization
@@ -38,7 +38,7 @@ export declare function getWorkflowRun(owner: string, repo: string, runId: numbe
38
38
  * @param branch - Optional branch name to filter by
39
39
  * @param status - Optional status to filter by
40
40
  */
41
- export declare function listWorkflowRuns(owner: string, repo: string, workflowId?: string | number, branch?: string, status?: WorkflowRunStatusFilter): Promise<WorkflowRunSummary[]>;
41
+ export declare function listWorkflowRuns(owner: string, repo: string, workflowId?: string | number, branch?: string, status?: WorkflowRunStatusFilter, octokit?: any): Promise<WorkflowRunSummary[]>;
42
42
  /**
43
43
  * Wait for workflow to complete with timeout
44
44
  * Polls on the provided interval. Default timeout is 5 minutes (300000ms).
@@ -48,7 +48,7 @@ export declare function listWorkflowRuns(owner: string, repo: string, workflowId
48
48
  * @param timeoutMs - Maximum time to wait in milliseconds (default: 300000ms / 5 minutes)
49
49
  * @param pollIntervalMs - Polling interval in milliseconds (default: 10000ms / 10 seconds)
50
50
  */
51
- export declare function waitForWorkflowCompletion(owner: string, repo: string, runId: number, timeoutMs?: number, pollIntervalMs?: number): Promise<WorkflowCompletionResult>;
51
+ export declare function waitForWorkflowCompletion(owner: string, repo: string, runId: number, timeoutMs?: number, pollIntervalMs?: number, octokit?: any): Promise<WorkflowCompletionResult>;
52
52
  declare const _default: {
53
53
  triggerWorkflow: typeof triggerWorkflow;
54
54
  getWorkflowRun: typeof getWorkflowRun;
@@ -0,0 +1 @@
1
+ export declare function getOperatorEnvSnapshot(): Record<string, string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firestartr/cli",
3
- "version": "2.5.0",
3
+ "version": "2.6.0-snapshot-1",
4
4
  "private": false,
5
5
  "description": "Commandline tool",
6
6
  "main": "build/main.js",