@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.
- package/build/index.js +36519 -35832
- package/build/packages/github/index.d.ts +10 -6
- package/build/packages/github/src/auth.d.ts +3 -0
- package/build/packages/github/src/auth_installation.d.ts +1 -0
- package/build/packages/github/src/branches.d.ts +4 -984
- package/build/packages/github/src/config_resolver.d.ts +8 -0
- package/build/packages/github/src/encrypt.d.ts +3 -6
- package/build/packages/github/src/issues.d.ts +5 -5
- package/build/packages/github/src/organization.d.ts +9 -9
- package/build/packages/github/src/profile.d.ts +20 -0
- package/build/packages/github/src/team.d.ts +6 -129
- package/build/packages/github/src/user.d.ts +1 -1
- package/build/packages/github/src/with_profile.d.ts +888 -0
- package/build/packages/github/src/workflow.d.ts +4 -4
- package/build/packages/operator/src/operator-env.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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>;
|