@hearsay-tools/squawk 0.19.0-pr4525.8973 → 0.19.0-pr4526.8982
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/contract/index.js +37 -9
- package/dist/contract/query-requests.d.ts +5 -0
- package/dist/contract/repo.d.ts +42 -0
- package/dist/core/forge-registry.d.ts +9 -0
- package/dist/core/forge-registry.js.map +1 -1
- package/dist/features/automations/tools.d.ts +8 -8
- package/dist/features/github/github-branch-forge.d.ts +14 -2
- package/dist/features/github/github-branch-forge.js +68 -2
- package/dist/features/github/github-branch-forge.js.map +1 -1
- package/dist/features/github/github-forge.js +1 -0
- package/dist/features/github/github-forge.js.map +1 -1
- package/dist/server/git-changes.d.ts +27 -0
- package/dist/server/git-changes.js +47 -0
- package/dist/server/git-changes.js.map +1 -1
- package/dist/server/providers-routes.d.ts +57 -57
- package/dist/server/repo-branch-forge.d.ts +10 -2
- package/dist/server/repo-branch-forge.js +25 -2
- package/dist/server/repo-branch-forge.js.map +1 -1
- package/dist/server/repo-branch-git.d.ts +6 -0
- package/dist/server/repo-branch-git.js +35 -0
- package/dist/server/repo-branch-git.js.map +1 -0
- package/dist/server/repo-branches.js +66 -47
- package/dist/server/repo-branches.js.map +1 -1
- package/dist/server/repo-routes.d.ts +121 -21
- package/dist/server/repo-routes.js +20 -3
- package/dist/server/repo-routes.js.map +1 -1
- package/dist/server/runner-install-routes.d.ts +10 -10
- package/dist/server/runs-routes.d.ts +1042 -984
- package/dist/server/runs-routes.js +12 -10
- package/dist/server/runs-routes.js.map +1 -1
- package/dist/server/server.d.ts +1743 -1427
- package/dist/server/workspace-routes.d.ts +85 -85
- package/package.json +4 -4
- package/web/dist/assets/{accounts-section-ubzHoDCj.js → accounts-section-C0MLZW_M.js} +1 -1
- package/web/dist/assets/activity-motion-DGWsLSV_.js +1 -0
- package/web/dist/assets/{activity-route-BJ_KGtKZ.js → activity-route-DbRrSGTZ.js} +1 -1
- package/web/dist/assets/{agent-config-section-hmVjtjoY.js → agent-config-section-S-NNHyTj.js} +2 -2
- package/web/dist/assets/agent-defaults-section-D47ydO6M.js +1 -0
- package/web/dist/assets/{appearance-BaczNXEP.js → appearance-BVzMVCDZ.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-CXbUm4s9.js → archive-on-merge-field-C7bZaOku.js} +1 -1
- package/web/dist/assets/attention-vW5nmGoK.js +1 -0
- package/web/dist/assets/automations-route-DGTAb8A_.js +2 -0
- package/web/dist/assets/{middle-truncated-name-TQxp8NxE.js → code-workbench-CUkiQ1pF.js} +1 -1
- package/web/dist/assets/commit-list-Bt4Z1k-3.js +1 -0
- package/web/dist/assets/{diff-_j1dYOKk.js → diff-Chs69ao_.js} +2 -2
- package/web/dist/assets/diff-controls-M-rIqFWN.js +1 -0
- package/web/dist/assets/{diff-view-hA-_3ujN.js → diff-view-bLKcANO6.js} +1 -1
- package/web/dist/assets/discard-changes-dialog-CZ-BAjRM.js +1 -0
- package/web/dist/assets/file-preview-QXwZnRnZ.js +2 -0
- package/web/dist/assets/file-text-nGpo7MVd.js +1 -0
- package/web/dist/assets/{folder-browser-DiQGbqCN.js → folder-browser-DcR_vo2i.js} +1 -1
- package/web/dist/assets/{git-toolbar-BavnCfoa.js → git-toolbar-xBysCptA.js} +1 -1
- package/web/dist/assets/github-Dq8Qn_Dk.js +1 -0
- package/web/dist/assets/{global-activity-route-DZNrWVSz.js → global-activity-route-D7OxyX_e.js} +2 -2
- package/web/dist/assets/index-CzyjmihQ.css +1 -0
- package/web/dist/assets/index-DDtQlxLH.js +21 -0
- package/web/dist/assets/{label-B1zf-eXb.js → label-CqoNP6Yh.js} +1 -1
- package/web/dist/assets/{markdown-BJynZeyO.js → markdown-B4GFEGdE.js} +1 -1
- package/web/dist/assets/middle-truncated-name-D41ibfXD.js +1 -0
- package/web/dist/assets/{open-in-menu-DfTnT8YF.js → open-in-menu-CsH3KL0z.js} +1 -1
- package/web/dist/assets/{option-select-CeMvhKGB.js → option-select-BOeViuCv.js} +1 -1
- package/web/dist/assets/{preferences-section-1TdwWBaU.js → preferences-section-DqsNZiXr.js} +1 -1
- package/web/dist/assets/preview-pane-connected-lQ_w4jh_.js +3 -0
- package/web/dist/assets/{project-location-zpoFmFbY.js → project-location-DeNUqsgL.js} +1 -1
- package/web/dist/assets/{project-router-onKnSy5a.js → project-router-DvfVUjon.js} +1 -1
- package/web/dist/assets/{projects-section-DCSrvgdU.js → projects-section-Bne5q9Zl.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-CPda4gof.js → prompt-templates-section-wEXQFITb.js} +2 -2
- package/web/dist/assets/queries-B8INH8MM.js +1 -0
- package/web/dist/assets/{reference-chip-Cv3i1kxz.js → reference-chip-DDv209Ry.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-D_GLdblC.js → remote-settings-notice-ZPTZta4J.js} +1 -1
- package/web/dist/assets/repo-git-DFbTe7cL.css +1 -0
- package/web/dist/assets/repo-git-orRzt9hM.js +1 -0
- package/web/dist/assets/{report-reader-BAHgsI-N.js → report-reader-7LXPgypR.js} +1 -1
- package/web/dist/assets/{report-selection-CmEfaDz7.js → report-selection-fGMhVMQi.js} +1 -1
- package/web/dist/assets/{reports-ZhVWe08S.js → reports-BLzMjV0A.js} +1 -1
- package/web/dist/assets/{resources-section-CCKl5lWd.js → resources-section-Bg0CLNs0.js} +1 -1
- package/web/dist/assets/{review-panel-DNd2lB0z.js → review-panel-Bmxlc-qL.js} +5 -5
- package/web/dist/assets/{run-detail-refresh-Caj4BPPd.js → run-detail-refresh-CMG0OiqX.js} +1 -1
- package/web/dist/assets/{run-header-2Ol_oWfx.js → run-header-GC4sCqc9.js} +2 -2
- package/web/dist/assets/{select-1oriQjL8.js → select-DJ96FKkN.js} +1 -1
- package/web/dist/assets/{session-context-section-BqGDbveU.js → session-context-section-J5dOI7wy.js} +2 -2
- package/web/dist/assets/{settings-agent-picker-Ci3lUfW1.js → settings-agent-picker-AIys0-g4.js} +1 -1
- package/web/dist/assets/{settings-save-bar-DXwUaK3L.js → settings-save-bar-hxduqYzV.js} +1 -1
- package/web/dist/assets/{settings-shell-aWDWs253.js → settings-shell-BKrwxtH3.js} +1 -1
- package/web/dist/assets/{sidebar-section-D5aLInDQ.js → sidebar-section-BOLBt6ht.js} +1 -1
- package/web/dist/assets/{skills-mbZtZ3vc.js → skills-cirmZTle.js} +1 -1
- package/web/dist/assets/{tab-link-B2k-zaeP.js → tab-link-D97ij5JR.js} +1 -1
- package/web/dist/assets/task-changes-n6YG81dZ.js +1 -0
- package/web/dist/assets/task-commits-B2kRm9wv.js +1 -0
- package/web/dist/assets/{task-file-scope-B2EH5Os6.js → task-file-scope-VqZwLAhF.js} +1 -1
- package/web/dist/assets/task-files-DQnLpO6C.js +1 -0
- package/web/dist/assets/task-github-item-BCa7NBSF.js +1 -0
- package/web/dist/assets/{task-groups-dEzH1nMg.js → task-groups-COb-xWM_.js} +1 -1
- package/web/dist/assets/task-thread-BVuc26YV.js +2 -0
- package/web/dist/assets/{tasks-table-CPAY1N-E.js → tasks-table-CyUTCD9k.js} +1 -1
- package/web/dist/assets/thread-state-Cu3lYPx3.js +4 -0
- package/web/dist/assets/{toaster-Bs1mVYf9.js → toaster-Cjr2jC1Q.js} +1 -1
- package/web/dist/assets/use-hand-to-agent-state-DC_mgEa8.js +1 -0
- package/web/dist/assets/use-path-bases-BNiDz4sw.js +1 -0
- package/web/dist/assets/use-workspace-config-save-Do4bGg72.js +1 -0
- package/web/dist/assets/{workflows-CDATZgDf.js → workflows-DcsG1apu.js} +3 -3
- package/web/dist/assets/{workspace-tools-BICzaBFy.js → workspace-tools-BlsGt8_D.js} +1 -1
- package/web/dist/assets/{worktrees-section-CD-TSxcn.js → worktrees-section-CGN4CXhC.js} +5 -5
- package/web/dist/index.html +15 -15
- package/web/dist/assets/activity-motion-C3MbfqoU.js +0 -1
- package/web/dist/assets/agent-defaults-section-BQKpdzj_.js +0 -1
- package/web/dist/assets/attention-C9zoC-gL.js +0 -1
- package/web/dist/assets/automations-route-DUxB4z34.js +0 -2
- package/web/dist/assets/commit-list-BnAxcran.js +0 -1
- package/web/dist/assets/diff-controls-LdJu9jvm.js +0 -1
- package/web/dist/assets/discard-changes-dialog-DT4Tnp2l.js +0 -1
- package/web/dist/assets/file-preview-ClCnVg6z.js +0 -2
- package/web/dist/assets/github-CK5AGoz0.js +0 -1
- package/web/dist/assets/index-CS4IQx7a.js +0 -21
- package/web/dist/assets/index-DB8vFvSO.css +0 -1
- package/web/dist/assets/preview-pane-connected-B_IyuLH_.js +0 -3
- package/web/dist/assets/queries-CII6fTHH.js +0 -1
- package/web/dist/assets/repo-git-6j7BfJ2_.js +0 -1
- package/web/dist/assets/repo-git-DVXNOJDT.css +0 -1
- package/web/dist/assets/task-changes-BD1GZRIs.js +0 -1
- package/web/dist/assets/task-commits-Dz047BbX.js +0 -1
- package/web/dist/assets/task-files-C9YQDRk6.js +0 -1
- package/web/dist/assets/task-github-item-CjALWL4A.js +0 -1
- package/web/dist/assets/task-thread-B-cAE0Li.js +0 -2
- package/web/dist/assets/thread-state-uWiG7IgM.js +0 -4
- package/web/dist/assets/use-hand-to-agent-state-D8ltY5hM.js +0 -1
- package/web/dist/assets/use-path-bases-BK81NQ26.js +0 -1
- package/web/dist/assets/use-workspace-config-save-0Mtdwfrd.js +0 -1
package/dist/server/server.d.ts
CHANGED
|
@@ -3043,6 +3043,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3043
3043
|
output: {
|
|
3044
3044
|
generation: string;
|
|
3045
3045
|
results: ({
|
|
3046
|
+
projectId: string;
|
|
3047
|
+
runId: string;
|
|
3048
|
+
type: "error" | "reset";
|
|
3049
|
+
status: 400 | 404 | 409 | 413 | 503;
|
|
3050
|
+
error: string;
|
|
3051
|
+
} | {
|
|
3046
3052
|
projectId: string;
|
|
3047
3053
|
runId: string;
|
|
3048
3054
|
type: "batch";
|
|
@@ -3063,12 +3069,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3063
3069
|
cursor: string;
|
|
3064
3070
|
afterSeq: number;
|
|
3065
3071
|
hasMore: boolean;
|
|
3066
|
-
} | {
|
|
3067
|
-
projectId: string;
|
|
3068
|
-
runId: string;
|
|
3069
|
-
type: "error" | "reset";
|
|
3070
|
-
status: 400 | 404 | 409 | 413 | 503;
|
|
3071
|
-
error: string;
|
|
3072
3072
|
})[];
|
|
3073
3073
|
};
|
|
3074
3074
|
outputFormat: "json";
|
|
@@ -4559,364 +4559,409 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4559
4559
|
};
|
|
4560
4560
|
};
|
|
4561
4561
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
4562
|
-
"/
|
|
4562
|
+
"/github": {
|
|
4563
4563
|
$get: {
|
|
4564
4564
|
output: {
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
log: never[];
|
|
4568
|
-
branches: never[];
|
|
4569
|
-
baseBranch: null;
|
|
4570
|
-
tracking: null;
|
|
4565
|
+
error: string;
|
|
4566
|
+
code?: "invalid_input" | undefined;
|
|
4571
4567
|
};
|
|
4572
4568
|
outputFormat: "json";
|
|
4573
|
-
status:
|
|
4574
|
-
input: {
|
|
4569
|
+
status: 400;
|
|
4570
|
+
input: {
|
|
4571
|
+
query: {
|
|
4572
|
+
limit?: string | undefined;
|
|
4573
|
+
refresh?: string | undefined;
|
|
4574
|
+
issuesCursor?: string | undefined;
|
|
4575
|
+
prsCursor?: string | undefined;
|
|
4576
|
+
issuesDone?: "1" | undefined;
|
|
4577
|
+
prsDone?: "1" | undefined;
|
|
4578
|
+
};
|
|
4579
|
+
};
|
|
4575
4580
|
} | {
|
|
4576
4581
|
output: {
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4582
|
+
available: false;
|
|
4583
|
+
reason: string;
|
|
4584
|
+
issues: never[];
|
|
4585
|
+
prs: never[];
|
|
4586
|
+
};
|
|
4587
|
+
outputFormat: "json";
|
|
4588
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4589
|
+
input: {
|
|
4590
|
+
query: {
|
|
4591
|
+
limit?: string | undefined;
|
|
4592
|
+
refresh?: string | undefined;
|
|
4593
|
+
issuesCursor?: string | undefined;
|
|
4594
|
+
prsCursor?: string | undefined;
|
|
4595
|
+
issuesDone?: "1" | undefined;
|
|
4596
|
+
prsDone?: "1" | undefined;
|
|
4581
4597
|
};
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4598
|
+
};
|
|
4599
|
+
} | {
|
|
4600
|
+
output: {
|
|
4601
|
+
available: boolean;
|
|
4602
|
+
reason?: string | undefined;
|
|
4603
|
+
repo?: string | undefined;
|
|
4604
|
+
syncedAt?: string | undefined;
|
|
4605
|
+
issues: {
|
|
4606
|
+
kind: "issue" | "pr";
|
|
4607
|
+
number: number;
|
|
4608
|
+
title: string;
|
|
4589
4609
|
author: string;
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4610
|
+
createdAt: string;
|
|
4611
|
+
labels: string[];
|
|
4612
|
+
body?: string | undefined;
|
|
4613
|
+
url: string;
|
|
4614
|
+
comments: number;
|
|
4615
|
+
assignees?: string[] | undefined;
|
|
4616
|
+
projectIds?: string[] | undefined;
|
|
4617
|
+
isDraft?: boolean | undefined;
|
|
4618
|
+
additions?: number | undefined;
|
|
4619
|
+
deletions?: number | undefined;
|
|
4620
|
+
checks?: "failing" | "passing" | "pending" | null | undefined;
|
|
4621
|
+
}[];
|
|
4622
|
+
prs: {
|
|
4623
|
+
kind: "issue" | "pr";
|
|
4624
|
+
number: number;
|
|
4625
|
+
title: string;
|
|
4595
4626
|
author: string;
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4627
|
+
createdAt: string;
|
|
4628
|
+
labels: string[];
|
|
4629
|
+
body?: string | undefined;
|
|
4630
|
+
url: string;
|
|
4631
|
+
comments: number;
|
|
4632
|
+
assignees?: string[] | undefined;
|
|
4633
|
+
projectIds?: string[] | undefined;
|
|
4634
|
+
isDraft?: boolean | undefined;
|
|
4635
|
+
additions?: number | undefined;
|
|
4636
|
+
deletions?: number | undefined;
|
|
4637
|
+
checks?: "failing" | "passing" | "pending" | null | undefined;
|
|
4638
|
+
}[];
|
|
4639
|
+
labelColors?: {
|
|
4640
|
+
[x: string]: string;
|
|
4641
|
+
} | undefined;
|
|
4642
|
+
viewerLogin?: string | undefined;
|
|
4643
|
+
projects?: {
|
|
4644
|
+
id: string;
|
|
4645
|
+
title: string;
|
|
4646
|
+
url: string;
|
|
4647
|
+
}[] | undefined;
|
|
4648
|
+
projectsReason?: string | undefined;
|
|
4649
|
+
projectsState?: "ready" | "refreshing" | "unavailable" | undefined;
|
|
4650
|
+
projectsGeneration?: string | undefined;
|
|
4651
|
+
issuesTotal?: number | undefined;
|
|
4652
|
+
prsTotal?: number | undefined;
|
|
4653
|
+
issuesNextCursor?: string | null | undefined;
|
|
4654
|
+
prsNextCursor?: string | null | undefined;
|
|
4655
|
+
commentsDeferred?: true | undefined;
|
|
4612
4656
|
};
|
|
4613
4657
|
outputFormat: "json";
|
|
4614
4658
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4615
|
-
input: {
|
|
4659
|
+
input: {
|
|
4660
|
+
query: {
|
|
4661
|
+
limit?: string | undefined;
|
|
4662
|
+
refresh?: string | undefined;
|
|
4663
|
+
issuesCursor?: string | undefined;
|
|
4664
|
+
prsCursor?: string | undefined;
|
|
4665
|
+
issuesDone?: "1" | undefined;
|
|
4666
|
+
prsDone?: "1" | undefined;
|
|
4667
|
+
};
|
|
4668
|
+
};
|
|
4616
4669
|
};
|
|
4617
4670
|
};
|
|
4618
4671
|
} & {
|
|
4619
|
-
"/
|
|
4672
|
+
"/github/projects": {
|
|
4620
4673
|
$get: {
|
|
4621
4674
|
output: {
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
branches: {
|
|
4625
|
-
name: string;
|
|
4626
|
-
class: "active" | "empty" | "merged" | "not-landed" | "orphan" | "other";
|
|
4627
|
-
runId: string | null;
|
|
4628
|
-
title: string | null;
|
|
4629
|
-
runStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting" | null;
|
|
4630
|
-
ahead: number;
|
|
4631
|
-
lastCommit: {
|
|
4632
|
-
sha: string;
|
|
4633
|
-
subject: string;
|
|
4634
|
-
at: string;
|
|
4635
|
-
};
|
|
4636
|
-
diffStat: {
|
|
4637
|
-
additions: number;
|
|
4638
|
-
deletions: number;
|
|
4639
|
-
} | null;
|
|
4640
|
-
pr: {
|
|
4641
|
-
number: number;
|
|
4642
|
-
url: string;
|
|
4643
|
-
state: "closed" | "draft" | "merged" | "open";
|
|
4644
|
-
} | null;
|
|
4645
|
-
keptReason?: string | undefined;
|
|
4646
|
-
parentRunId?: string | undefined;
|
|
4647
|
-
}[];
|
|
4648
|
-
counts: {
|
|
4649
|
-
notLanded: number;
|
|
4650
|
-
cleanup: number;
|
|
4651
|
-
};
|
|
4675
|
+
error: string;
|
|
4676
|
+
code?: "invalid_input" | undefined;
|
|
4652
4677
|
};
|
|
4653
4678
|
outputFormat: "json";
|
|
4654
|
-
status:
|
|
4655
|
-
input: {
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
}
|
|
4659
|
-
|
|
4660
|
-
|
|
4679
|
+
status: 400;
|
|
4680
|
+
input: {
|
|
4681
|
+
query: {
|
|
4682
|
+
generation: string | string[];
|
|
4683
|
+
};
|
|
4684
|
+
};
|
|
4685
|
+
} | {
|
|
4661
4686
|
output: {
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4687
|
+
generation: string;
|
|
4688
|
+
state: "ready";
|
|
4689
|
+
projects: {
|
|
4690
|
+
id: string;
|
|
4691
|
+
title: string;
|
|
4692
|
+
url: string;
|
|
4693
|
+
}[];
|
|
4694
|
+
membership: {
|
|
4695
|
+
[x: string]: string[];
|
|
4667
4696
|
};
|
|
4668
|
-
|
|
4697
|
+
} | {
|
|
4698
|
+
generation: string;
|
|
4699
|
+
state: "unavailable";
|
|
4700
|
+
reason: string;
|
|
4669
4701
|
};
|
|
4670
4702
|
outputFormat: "json";
|
|
4671
4703
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4672
|
-
input: {
|
|
4704
|
+
input: {
|
|
4705
|
+
query: {
|
|
4706
|
+
generation: string | string[];
|
|
4707
|
+
};
|
|
4708
|
+
};
|
|
4673
4709
|
};
|
|
4674
4710
|
};
|
|
4675
4711
|
} & {
|
|
4676
|
-
"/
|
|
4677
|
-
$
|
|
4712
|
+
"/github/comments/:kind/:number": {
|
|
4713
|
+
$get: {
|
|
4678
4714
|
output: {
|
|
4679
4715
|
error: string;
|
|
4680
|
-
|
|
4681
|
-
name: string;
|
|
4682
|
-
reason: string;
|
|
4683
|
-
}[];
|
|
4716
|
+
code?: "invalid_input" | undefined;
|
|
4684
4717
|
};
|
|
4685
4718
|
outputFormat: "json";
|
|
4686
|
-
status:
|
|
4719
|
+
status: 400;
|
|
4687
4720
|
input: {
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4721
|
+
query: {
|
|
4722
|
+
refresh?: string | undefined;
|
|
4723
|
+
};
|
|
4724
|
+
} & {
|
|
4725
|
+
param: {
|
|
4726
|
+
kind: string;
|
|
4727
|
+
} & {
|
|
4728
|
+
number: string;
|
|
4691
4729
|
};
|
|
4692
4730
|
};
|
|
4693
4731
|
} | {
|
|
4694
4732
|
output: {
|
|
4695
|
-
|
|
4696
|
-
refused: {
|
|
4697
|
-
name: string;
|
|
4698
|
-
reason: string;
|
|
4699
|
-
}[];
|
|
4700
|
-
dropped?: {
|
|
4701
|
-
sha: string;
|
|
4702
|
-
subject: string;
|
|
4703
|
-
}[] | undefined;
|
|
4733
|
+
error: string;
|
|
4704
4734
|
};
|
|
4705
4735
|
outputFormat: "json";
|
|
4706
|
-
status:
|
|
4707
|
-
input: {
|
|
4708
|
-
json: {
|
|
4709
|
-
names: string[];
|
|
4710
|
-
confirm?: string | undefined;
|
|
4711
|
-
};
|
|
4712
|
-
};
|
|
4713
|
-
};
|
|
4714
|
-
};
|
|
4715
|
-
} & {
|
|
4716
|
-
"/repo/diff": {
|
|
4717
|
-
$get: {
|
|
4718
|
-
output: string;
|
|
4719
|
-
outputFormat: "text";
|
|
4720
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4721
|
-
input: {};
|
|
4722
|
-
};
|
|
4723
|
-
};
|
|
4724
|
-
} & {
|
|
4725
|
-
"/repo/commit/:sha": {
|
|
4726
|
-
$get: {
|
|
4727
|
-
output: string;
|
|
4728
|
-
outputFormat: "text";
|
|
4729
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4736
|
+
status: 400;
|
|
4730
4737
|
input: {
|
|
4731
4738
|
query: {
|
|
4732
|
-
|
|
4739
|
+
refresh?: string | undefined;
|
|
4733
4740
|
};
|
|
4734
4741
|
} & {
|
|
4735
4742
|
param: {
|
|
4736
|
-
|
|
4743
|
+
kind: string;
|
|
4744
|
+
} & {
|
|
4745
|
+
number: string;
|
|
4737
4746
|
};
|
|
4738
4747
|
};
|
|
4739
4748
|
} | {
|
|
4740
4749
|
output: {
|
|
4741
|
-
|
|
4742
|
-
|
|
4750
|
+
available: false;
|
|
4751
|
+
reason: string;
|
|
4752
|
+
comments: never[];
|
|
4743
4753
|
};
|
|
4744
4754
|
outputFormat: "json";
|
|
4745
|
-
status:
|
|
4755
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4746
4756
|
input: {
|
|
4747
4757
|
query: {
|
|
4748
|
-
|
|
4758
|
+
refresh?: string | undefined;
|
|
4749
4759
|
};
|
|
4750
4760
|
} & {
|
|
4751
4761
|
param: {
|
|
4752
|
-
|
|
4762
|
+
kind: string;
|
|
4763
|
+
} & {
|
|
4764
|
+
number: string;
|
|
4753
4765
|
};
|
|
4754
4766
|
};
|
|
4755
4767
|
} | {
|
|
4756
4768
|
output: {
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
image?: boolean;
|
|
4769
|
-
patch: string;
|
|
4769
|
+
available: boolean;
|
|
4770
|
+
reason?: string | undefined;
|
|
4771
|
+
comments: {
|
|
4772
|
+
id: number;
|
|
4773
|
+
author: string;
|
|
4774
|
+
avatarUrl?: string | undefined;
|
|
4775
|
+
createdAt: string;
|
|
4776
|
+
body: string;
|
|
4777
|
+
kind: "comment" | "review";
|
|
4778
|
+
reviewState?: "approved" | "changes_requested" | "commented" | "dismissed" | undefined;
|
|
4779
|
+
url: string;
|
|
4770
4780
|
}[];
|
|
4771
|
-
|
|
4772
|
-
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
|
|
4781
|
+
truncated?: boolean | undefined;
|
|
4782
|
+
events?: {
|
|
4783
|
+
id: string;
|
|
4784
|
+
kind: "assigned" | "closed" | "committed" | "cross-referenced" | "head_ref_force_pushed" | "labeled" | "merged" | "renamed" | "reopened" | "unassigned" | "unlabeled";
|
|
4785
|
+
actor: string;
|
|
4786
|
+
avatarUrl?: string | undefined;
|
|
4787
|
+
createdAt: string;
|
|
4788
|
+
url?: string | undefined;
|
|
4789
|
+
sha?: string | undefined;
|
|
4790
|
+
message?: string | undefined;
|
|
4791
|
+
checks?: "failing" | "passing" | "pending" | null | undefined;
|
|
4792
|
+
label?: {
|
|
4793
|
+
name: string;
|
|
4794
|
+
color?: string | undefined;
|
|
4795
|
+
} | undefined;
|
|
4796
|
+
subject?: string | undefined;
|
|
4797
|
+
refNumber?: number | undefined;
|
|
4798
|
+
refTitle?: string | undefined;
|
|
4799
|
+
refIsPr?: boolean | undefined;
|
|
4800
|
+
}[] | undefined;
|
|
4801
|
+
detail?: {
|
|
4802
|
+
body: string;
|
|
4803
|
+
additions?: number | undefined;
|
|
4804
|
+
deletions?: number | undefined;
|
|
4805
|
+
} | undefined;
|
|
4776
4806
|
};
|
|
4777
4807
|
outputFormat: "json";
|
|
4778
4808
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4779
4809
|
input: {
|
|
4780
4810
|
query: {
|
|
4781
|
-
|
|
4811
|
+
refresh?: string | undefined;
|
|
4782
4812
|
};
|
|
4783
4813
|
} & {
|
|
4784
4814
|
param: {
|
|
4785
|
-
|
|
4815
|
+
kind: string;
|
|
4816
|
+
} & {
|
|
4817
|
+
number: string;
|
|
4786
4818
|
};
|
|
4787
4819
|
};
|
|
4788
|
-
}
|
|
4820
|
+
};
|
|
4821
|
+
};
|
|
4822
|
+
} & {
|
|
4823
|
+
"/github/items/:kind/:number": {
|
|
4824
|
+
$get: {
|
|
4789
4825
|
output: {
|
|
4790
4826
|
error: string;
|
|
4827
|
+
code?: "invalid_input" | undefined;
|
|
4791
4828
|
};
|
|
4792
4829
|
outputFormat: "json";
|
|
4793
|
-
status:
|
|
4830
|
+
status: 400;
|
|
4794
4831
|
input: {
|
|
4795
|
-
|
|
4796
|
-
|
|
4832
|
+
param: {
|
|
4833
|
+
kind: "issue" | "pr";
|
|
4834
|
+
number: string;
|
|
4797
4835
|
};
|
|
4798
4836
|
} & {
|
|
4799
|
-
|
|
4800
|
-
|
|
4837
|
+
query: {
|
|
4838
|
+
refresh?: string | undefined;
|
|
4801
4839
|
};
|
|
4802
4840
|
};
|
|
4803
|
-
}
|
|
4804
|
-
};
|
|
4805
|
-
} & {
|
|
4806
|
-
"/repo/changes": {
|
|
4807
|
-
$get: {
|
|
4841
|
+
} | {
|
|
4808
4842
|
output: {
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4843
|
+
available: true;
|
|
4844
|
+
item: {
|
|
4845
|
+
kind: "issue" | "pr";
|
|
4846
|
+
number: number;
|
|
4847
|
+
title: string;
|
|
4848
|
+
author: string;
|
|
4849
|
+
createdAt: string;
|
|
4850
|
+
labels: string[];
|
|
4851
|
+
body?: string | undefined;
|
|
4852
|
+
url: string;
|
|
4853
|
+
comments: number;
|
|
4854
|
+
assignees?: string[] | undefined;
|
|
4855
|
+
projectIds?: string[] | undefined;
|
|
4856
|
+
isDraft?: boolean | undefined;
|
|
4857
|
+
additions?: number | undefined;
|
|
4858
|
+
deletions?: number | undefined;
|
|
4859
|
+
checks?: "failing" | "passing" | "pending" | null | undefined;
|
|
4860
|
+
} | null;
|
|
4861
|
+
labelColors?: {
|
|
4862
|
+
[x: string]: string;
|
|
4827
4863
|
} | undefined;
|
|
4864
|
+
} | {
|
|
4865
|
+
available: false;
|
|
4866
|
+
reason: string;
|
|
4828
4867
|
};
|
|
4829
4868
|
outputFormat: "json";
|
|
4830
4869
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4831
|
-
input: {
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4870
|
+
input: {
|
|
4871
|
+
param: {
|
|
4872
|
+
kind: "issue" | "pr";
|
|
4873
|
+
number: string;
|
|
4874
|
+
};
|
|
4875
|
+
} & {
|
|
4876
|
+
query: {
|
|
4877
|
+
refresh?: string | undefined;
|
|
4878
|
+
};
|
|
4835
4879
|
};
|
|
4836
|
-
outputFormat: "json";
|
|
4837
|
-
status: 409;
|
|
4838
|
-
input: {};
|
|
4839
4880
|
};
|
|
4840
4881
|
};
|
|
4841
4882
|
} & {
|
|
4842
|
-
"/
|
|
4883
|
+
"/github/checks": {
|
|
4843
4884
|
$get: {
|
|
4844
4885
|
output: {
|
|
4845
4886
|
error: string;
|
|
4887
|
+
code?: "invalid_input" | undefined;
|
|
4846
4888
|
};
|
|
4847
4889
|
outputFormat: "json";
|
|
4848
|
-
status:
|
|
4849
|
-
input: {
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4890
|
+
status: 400;
|
|
4891
|
+
input: {
|
|
4892
|
+
query: {
|
|
4893
|
+
prs: string | string[];
|
|
4894
|
+
};
|
|
4853
4895
|
};
|
|
4854
|
-
|
|
4855
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4856
|
-
input: {};
|
|
4857
|
-
};
|
|
4858
|
-
};
|
|
4859
|
-
} & {
|
|
4860
|
-
"/repo/pull": {
|
|
4861
|
-
$post: {
|
|
4896
|
+
} | {
|
|
4862
4897
|
output: {
|
|
4863
4898
|
error: string;
|
|
4864
4899
|
};
|
|
4865
4900
|
outputFormat: "json";
|
|
4866
|
-
status:
|
|
4901
|
+
status: 400;
|
|
4867
4902
|
input: {
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
confirm?: boolean | undefined;
|
|
4903
|
+
query: {
|
|
4904
|
+
prs: string | string[];
|
|
4871
4905
|
};
|
|
4872
4906
|
};
|
|
4873
4907
|
} | {
|
|
4874
4908
|
output: {
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4909
|
+
available: true;
|
|
4910
|
+
checks: {
|
|
4911
|
+
[x: number]: "failing" | "passing" | "pending" | null;
|
|
4912
|
+
};
|
|
4913
|
+
} | {
|
|
4914
|
+
available: false;
|
|
4915
|
+
reason: string;
|
|
4878
4916
|
};
|
|
4879
4917
|
outputFormat: "json";
|
|
4880
|
-
status:
|
|
4918
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4881
4919
|
input: {
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
confirm?: boolean | undefined;
|
|
4920
|
+
query: {
|
|
4921
|
+
prs: string | string[];
|
|
4885
4922
|
};
|
|
4886
4923
|
};
|
|
4887
4924
|
};
|
|
4888
4925
|
};
|
|
4889
4926
|
} & {
|
|
4890
|
-
"/
|
|
4891
|
-
$
|
|
4927
|
+
"/github/comment-counts": {
|
|
4928
|
+
$get: {
|
|
4892
4929
|
output: {
|
|
4893
4930
|
error: string;
|
|
4931
|
+
code?: "invalid_input" | undefined;
|
|
4894
4932
|
};
|
|
4895
4933
|
outputFormat: "json";
|
|
4896
|
-
status:
|
|
4934
|
+
status: 400;
|
|
4897
4935
|
input: {
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
|
|
4936
|
+
query: {
|
|
4937
|
+
kind: "issue" | "pr";
|
|
4938
|
+
numbers: string | string[];
|
|
4939
|
+
refresh?: "1" | undefined;
|
|
4901
4940
|
};
|
|
4902
4941
|
};
|
|
4903
4942
|
} | {
|
|
4904
4943
|
output: {
|
|
4905
|
-
|
|
4906
|
-
|
|
4944
|
+
available: true;
|
|
4945
|
+
counts: {
|
|
4946
|
+
[x: number]: number;
|
|
4947
|
+
};
|
|
4948
|
+
} | {
|
|
4949
|
+
available: false;
|
|
4950
|
+
reason: string;
|
|
4907
4951
|
};
|
|
4908
4952
|
outputFormat: "json";
|
|
4909
4953
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4910
4954
|
input: {
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4955
|
+
query: {
|
|
4956
|
+
kind: "issue" | "pr";
|
|
4957
|
+
numbers: string | string[];
|
|
4958
|
+
refresh?: "1" | undefined;
|
|
4959
|
+
};
|
|
4915
4960
|
};
|
|
4916
4961
|
};
|
|
4917
4962
|
};
|
|
4918
|
-
}
|
|
4919
|
-
"/github": {
|
|
4963
|
+
} & {
|
|
4964
|
+
"/github/search": {
|
|
4920
4965
|
$get: {
|
|
4921
4966
|
output: {
|
|
4922
4967
|
error: string;
|
|
@@ -4926,57 +4971,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4926
4971
|
status: 400;
|
|
4927
4972
|
input: {
|
|
4928
4973
|
query: {
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
prsCursor?: string | undefined;
|
|
4933
|
-
issuesDone?: "1" | undefined;
|
|
4934
|
-
prsDone?: "1" | undefined;
|
|
4974
|
+
kind: "issue" | "pr";
|
|
4975
|
+
q: string | string[];
|
|
4976
|
+
limit?: number | undefined;
|
|
4935
4977
|
};
|
|
4936
4978
|
};
|
|
4937
4979
|
} | {
|
|
4938
4980
|
output: {
|
|
4939
4981
|
available: false;
|
|
4940
4982
|
reason: string;
|
|
4941
|
-
|
|
4942
|
-
prs: never[];
|
|
4983
|
+
items: never[];
|
|
4943
4984
|
};
|
|
4944
4985
|
outputFormat: "json";
|
|
4945
4986
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4946
4987
|
input: {
|
|
4947
4988
|
query: {
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
prsCursor?: string | undefined;
|
|
4952
|
-
issuesDone?: "1" | undefined;
|
|
4953
|
-
prsDone?: "1" | undefined;
|
|
4989
|
+
kind: "issue" | "pr";
|
|
4990
|
+
q: string | string[];
|
|
4991
|
+
limit?: number | undefined;
|
|
4954
4992
|
};
|
|
4955
4993
|
};
|
|
4956
4994
|
} | {
|
|
4957
4995
|
output: {
|
|
4958
4996
|
available: boolean;
|
|
4997
|
+
projectsReason?: string | undefined;
|
|
4959
4998
|
reason?: string | undefined;
|
|
4960
|
-
|
|
4961
|
-
syncedAt?: string | undefined;
|
|
4962
|
-
issues: {
|
|
4963
|
-
kind: "issue" | "pr";
|
|
4964
|
-
number: number;
|
|
4965
|
-
title: string;
|
|
4966
|
-
author: string;
|
|
4967
|
-
createdAt: string;
|
|
4968
|
-
labels: string[];
|
|
4969
|
-
body?: string | undefined;
|
|
4970
|
-
url: string;
|
|
4971
|
-
comments: number;
|
|
4972
|
-
assignees?: string[] | undefined;
|
|
4973
|
-
projectIds?: string[] | undefined;
|
|
4974
|
-
isDraft?: boolean | undefined;
|
|
4975
|
-
additions?: number | undefined;
|
|
4976
|
-
deletions?: number | undefined;
|
|
4977
|
-
checks?: "failing" | "passing" | "pending" | null | undefined;
|
|
4978
|
-
}[];
|
|
4979
|
-
prs: {
|
|
4999
|
+
items: {
|
|
4980
5000
|
kind: "issue" | "pr";
|
|
4981
5001
|
number: number;
|
|
4982
5002
|
title: string;
|
|
@@ -4993,40 +5013,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4993
5013
|
deletions?: number | undefined;
|
|
4994
5014
|
checks?: "failing" | "passing" | "pending" | null | undefined;
|
|
4995
5015
|
}[];
|
|
5016
|
+
truncated?: boolean | undefined;
|
|
4996
5017
|
labelColors?: {
|
|
4997
5018
|
[x: string]: string;
|
|
4998
5019
|
} | undefined;
|
|
4999
|
-
viewerLogin?: string | undefined;
|
|
5000
|
-
projects?: {
|
|
5001
|
-
id: string;
|
|
5002
|
-
title: string;
|
|
5003
|
-
url: string;
|
|
5004
|
-
}[] | undefined;
|
|
5005
|
-
projectsReason?: string | undefined;
|
|
5006
|
-
projectsState?: "ready" | "refreshing" | "unavailable" | undefined;
|
|
5007
|
-
projectsGeneration?: string | undefined;
|
|
5008
|
-
issuesTotal?: number | undefined;
|
|
5009
|
-
prsTotal?: number | undefined;
|
|
5010
|
-
issuesNextCursor?: string | null | undefined;
|
|
5011
|
-
prsNextCursor?: string | null | undefined;
|
|
5012
|
-
commentsDeferred?: true | undefined;
|
|
5013
5020
|
};
|
|
5014
5021
|
outputFormat: "json";
|
|
5015
5022
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5016
5023
|
input: {
|
|
5017
5024
|
query: {
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
prsCursor?: string | undefined;
|
|
5022
|
-
issuesDone?: "1" | undefined;
|
|
5023
|
-
prsDone?: "1" | undefined;
|
|
5025
|
+
kind: "issue" | "pr";
|
|
5026
|
+
q: string | string[];
|
|
5027
|
+
limit?: number | undefined;
|
|
5024
5028
|
};
|
|
5025
5029
|
};
|
|
5026
5030
|
};
|
|
5027
5031
|
};
|
|
5028
5032
|
} & {
|
|
5029
|
-
"/github/
|
|
5033
|
+
"/github/ref-status": {
|
|
5030
5034
|
$get: {
|
|
5031
5035
|
output: {
|
|
5032
5036
|
error: string;
|
|
@@ -5036,148 +5040,50 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5036
5040
|
status: 400;
|
|
5037
5041
|
input: {
|
|
5038
5042
|
query: {
|
|
5039
|
-
|
|
5043
|
+
prs?: string | undefined;
|
|
5044
|
+
issues?: string | undefined;
|
|
5040
5045
|
};
|
|
5041
5046
|
};
|
|
5042
5047
|
} | {
|
|
5043
|
-
output: {
|
|
5044
|
-
generation: string;
|
|
5045
|
-
state: "ready";
|
|
5046
|
-
projects: {
|
|
5047
|
-
id: string;
|
|
5048
|
-
title: string;
|
|
5049
|
-
url: string;
|
|
5050
|
-
}[];
|
|
5051
|
-
membership: {
|
|
5052
|
-
[x: string]: string[];
|
|
5053
|
-
};
|
|
5054
|
-
} | {
|
|
5055
|
-
generation: string;
|
|
5056
|
-
state: "unavailable";
|
|
5057
|
-
reason: string;
|
|
5058
|
-
};
|
|
5059
|
-
outputFormat: "json";
|
|
5060
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5061
|
-
input: {
|
|
5062
|
-
query: {
|
|
5063
|
-
generation: string | string[];
|
|
5064
|
-
};
|
|
5065
|
-
};
|
|
5066
|
-
};
|
|
5067
|
-
};
|
|
5068
|
-
} & {
|
|
5069
|
-
"/github/comments/:kind/:number": {
|
|
5070
|
-
$get: {
|
|
5071
5048
|
output: {
|
|
5072
5049
|
error: string;
|
|
5073
|
-
code?: "invalid_input" | undefined;
|
|
5074
5050
|
};
|
|
5075
5051
|
outputFormat: "json";
|
|
5076
5052
|
status: 400;
|
|
5077
5053
|
input: {
|
|
5078
5054
|
query: {
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
} & {
|
|
5082
|
-
param: {
|
|
5083
|
-
kind: string;
|
|
5084
|
-
} & {
|
|
5085
|
-
number: string;
|
|
5055
|
+
prs?: string | undefined;
|
|
5056
|
+
issues?: string | undefined;
|
|
5086
5057
|
};
|
|
5087
5058
|
};
|
|
5088
5059
|
} | {
|
|
5089
5060
|
output: {
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
status: 400;
|
|
5094
|
-
input: {
|
|
5095
|
-
query: {
|
|
5096
|
-
refresh?: string | undefined;
|
|
5061
|
+
available: true;
|
|
5062
|
+
prs: {
|
|
5063
|
+
[x: number]: "changes-requested" | "checks-failing" | "checks-pending" | "closed" | "completed" | "draft" | "merged" | "not-planned" | "open" | "ready" | "review-required";
|
|
5097
5064
|
};
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
kind: string;
|
|
5101
|
-
} & {
|
|
5102
|
-
number: string;
|
|
5065
|
+
issues: {
|
|
5066
|
+
[x: number]: "changes-requested" | "checks-failing" | "checks-pending" | "closed" | "completed" | "draft" | "merged" | "not-planned" | "open" | "ready" | "review-required";
|
|
5103
5067
|
};
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5068
|
+
conflicts?: number[] | undefined;
|
|
5069
|
+
recheckAfterMs: number | null;
|
|
5070
|
+
} | {
|
|
5107
5071
|
available: false;
|
|
5108
5072
|
reason: string;
|
|
5109
|
-
|
|
5110
|
-
};
|
|
5111
|
-
outputFormat: "json";
|
|
5112
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5113
|
-
input: {
|
|
5114
|
-
query: {
|
|
5115
|
-
refresh?: string | undefined;
|
|
5116
|
-
};
|
|
5117
|
-
} & {
|
|
5118
|
-
param: {
|
|
5119
|
-
kind: string;
|
|
5120
|
-
} & {
|
|
5121
|
-
number: string;
|
|
5122
|
-
};
|
|
5123
|
-
};
|
|
5124
|
-
} | {
|
|
5125
|
-
output: {
|
|
5126
|
-
available: boolean;
|
|
5127
|
-
reason?: string | undefined;
|
|
5128
|
-
comments: {
|
|
5129
|
-
id: number;
|
|
5130
|
-
author: string;
|
|
5131
|
-
avatarUrl?: string | undefined;
|
|
5132
|
-
createdAt: string;
|
|
5133
|
-
body: string;
|
|
5134
|
-
kind: "comment" | "review";
|
|
5135
|
-
reviewState?: "approved" | "changes_requested" | "commented" | "dismissed" | undefined;
|
|
5136
|
-
url: string;
|
|
5137
|
-
}[];
|
|
5138
|
-
truncated?: boolean | undefined;
|
|
5139
|
-
events?: {
|
|
5140
|
-
id: string;
|
|
5141
|
-
kind: "assigned" | "closed" | "committed" | "cross-referenced" | "head_ref_force_pushed" | "labeled" | "merged" | "renamed" | "reopened" | "unassigned" | "unlabeled";
|
|
5142
|
-
actor: string;
|
|
5143
|
-
avatarUrl?: string | undefined;
|
|
5144
|
-
createdAt: string;
|
|
5145
|
-
url?: string | undefined;
|
|
5146
|
-
sha?: string | undefined;
|
|
5147
|
-
message?: string | undefined;
|
|
5148
|
-
checks?: "failing" | "passing" | "pending" | null | undefined;
|
|
5149
|
-
label?: {
|
|
5150
|
-
name: string;
|
|
5151
|
-
color?: string | undefined;
|
|
5152
|
-
} | undefined;
|
|
5153
|
-
subject?: string | undefined;
|
|
5154
|
-
refNumber?: number | undefined;
|
|
5155
|
-
refTitle?: string | undefined;
|
|
5156
|
-
refIsPr?: boolean | undefined;
|
|
5157
|
-
}[] | undefined;
|
|
5158
|
-
detail?: {
|
|
5159
|
-
body: string;
|
|
5160
|
-
additions?: number | undefined;
|
|
5161
|
-
deletions?: number | undefined;
|
|
5162
|
-
} | undefined;
|
|
5073
|
+
recheckAfterMs: number | null;
|
|
5163
5074
|
};
|
|
5164
5075
|
outputFormat: "json";
|
|
5165
5076
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5166
5077
|
input: {
|
|
5167
5078
|
query: {
|
|
5168
|
-
|
|
5169
|
-
|
|
5170
|
-
} & {
|
|
5171
|
-
param: {
|
|
5172
|
-
kind: string;
|
|
5173
|
-
} & {
|
|
5174
|
-
number: string;
|
|
5079
|
+
prs?: string | undefined;
|
|
5080
|
+
issues?: string | undefined;
|
|
5175
5081
|
};
|
|
5176
5082
|
};
|
|
5177
5083
|
};
|
|
5178
5084
|
};
|
|
5179
5085
|
} & {
|
|
5180
|
-
"/github/
|
|
5086
|
+
"/github/prs/:number/merge-state": {
|
|
5181
5087
|
$get: {
|
|
5182
5088
|
output: {
|
|
5183
5089
|
error: string;
|
|
@@ -5187,7 +5093,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5187
5093
|
status: 400;
|
|
5188
5094
|
input: {
|
|
5189
5095
|
param: {
|
|
5190
|
-
kind: "issue" | "pr";
|
|
5191
5096
|
number: string;
|
|
5192
5097
|
};
|
|
5193
5098
|
} & {
|
|
@@ -5198,26 +5103,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5198
5103
|
} | {
|
|
5199
5104
|
output: {
|
|
5200
5105
|
available: true;
|
|
5201
|
-
|
|
5202
|
-
kind: "issue" | "pr";
|
|
5106
|
+
mergeState: {
|
|
5203
5107
|
number: number;
|
|
5204
5108
|
title: string;
|
|
5205
|
-
author: string;
|
|
5206
|
-
createdAt: string;
|
|
5207
|
-
labels: string[];
|
|
5208
|
-
body?: string | undefined;
|
|
5209
5109
|
url: string;
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5110
|
+
state: "closed" | "merged" | "open";
|
|
5111
|
+
isDraft: boolean;
|
|
5112
|
+
headRef: string;
|
|
5113
|
+
baseRef: string;
|
|
5114
|
+
headSha: string;
|
|
5115
|
+
mergeable: "conflicting" | "mergeable" | "unknown";
|
|
5116
|
+
reviewDecision: "approved" | "changes-requested" | "not-required" | "review-required" | "unknown";
|
|
5117
|
+
checks: {
|
|
5118
|
+
name: string;
|
|
5119
|
+
state: "failing" | "passing" | "pending" | "unknown";
|
|
5120
|
+
required: boolean | null;
|
|
5121
|
+
url?: string | undefined;
|
|
5122
|
+
}[];
|
|
5123
|
+
methods: ("merge" | "rebase" | "squash")[];
|
|
5124
|
+
defaultMethod: "merge" | "rebase" | "squash" | null;
|
|
5125
|
+
eligibility: "blocked" | "pending" | "ready" | "terminal" | "unauthorized" | "unknown";
|
|
5126
|
+
blockers: {
|
|
5127
|
+
code: string;
|
|
5128
|
+
message: string;
|
|
5129
|
+
}[];
|
|
5130
|
+
canMerge: boolean;
|
|
5131
|
+
canOverride: boolean;
|
|
5132
|
+
};
|
|
5221
5133
|
} | {
|
|
5222
5134
|
available: false;
|
|
5223
5135
|
reason: string;
|
|
@@ -5226,7 +5138,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5226
5138
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5227
5139
|
input: {
|
|
5228
5140
|
param: {
|
|
5229
|
-
kind: "issue" | "pr";
|
|
5230
5141
|
number: string;
|
|
5231
5142
|
};
|
|
5232
5143
|
} & {
|
|
@@ -5237,8 +5148,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5237
5148
|
};
|
|
5238
5149
|
};
|
|
5239
5150
|
} & {
|
|
5240
|
-
"/github/
|
|
5241
|
-
$
|
|
5151
|
+
"/github/prs/:number/merge": {
|
|
5152
|
+
$post: {
|
|
5242
5153
|
output: {
|
|
5243
5154
|
error: string;
|
|
5244
5155
|
code?: "invalid_input" | undefined;
|
|
@@ -5246,221 +5157,59 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5246
5157
|
outputFormat: "json";
|
|
5247
5158
|
status: 400;
|
|
5248
5159
|
input: {
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
};
|
|
5252
|
-
};
|
|
5253
|
-
} | {
|
|
5254
|
-
output: {
|
|
5255
|
-
error: string;
|
|
5256
|
-
};
|
|
5257
|
-
outputFormat: "json";
|
|
5258
|
-
status: 400;
|
|
5259
|
-
input: {
|
|
5260
|
-
query: {
|
|
5261
|
-
prs: string | string[];
|
|
5262
|
-
};
|
|
5263
|
-
};
|
|
5264
|
-
} | {
|
|
5265
|
-
output: {
|
|
5266
|
-
available: true;
|
|
5267
|
-
checks: {
|
|
5268
|
-
[x: number]: "failing" | "passing" | "pending" | null;
|
|
5269
|
-
};
|
|
5270
|
-
} | {
|
|
5271
|
-
available: false;
|
|
5272
|
-
reason: string;
|
|
5273
|
-
};
|
|
5274
|
-
outputFormat: "json";
|
|
5275
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5276
|
-
input: {
|
|
5277
|
-
query: {
|
|
5278
|
-
prs: string | string[];
|
|
5279
|
-
};
|
|
5280
|
-
};
|
|
5281
|
-
};
|
|
5282
|
-
};
|
|
5283
|
-
} & {
|
|
5284
|
-
"/github/comment-counts": {
|
|
5285
|
-
$get: {
|
|
5286
|
-
output: {
|
|
5287
|
-
error: string;
|
|
5288
|
-
code?: "invalid_input" | undefined;
|
|
5289
|
-
};
|
|
5290
|
-
outputFormat: "json";
|
|
5291
|
-
status: 400;
|
|
5292
|
-
input: {
|
|
5293
|
-
query: {
|
|
5294
|
-
kind: "issue" | "pr";
|
|
5295
|
-
numbers: string | string[];
|
|
5296
|
-
refresh?: "1" | undefined;
|
|
5297
|
-
};
|
|
5298
|
-
};
|
|
5299
|
-
} | {
|
|
5300
|
-
output: {
|
|
5301
|
-
available: true;
|
|
5302
|
-
counts: {
|
|
5303
|
-
[x: number]: number;
|
|
5304
|
-
};
|
|
5305
|
-
} | {
|
|
5306
|
-
available: false;
|
|
5307
|
-
reason: string;
|
|
5308
|
-
};
|
|
5309
|
-
outputFormat: "json";
|
|
5310
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5311
|
-
input: {
|
|
5312
|
-
query: {
|
|
5313
|
-
kind: "issue" | "pr";
|
|
5314
|
-
numbers: string | string[];
|
|
5315
|
-
refresh?: "1" | undefined;
|
|
5316
|
-
};
|
|
5317
|
-
};
|
|
5318
|
-
};
|
|
5319
|
-
};
|
|
5320
|
-
} & {
|
|
5321
|
-
"/github/search": {
|
|
5322
|
-
$get: {
|
|
5323
|
-
output: {
|
|
5324
|
-
error: string;
|
|
5325
|
-
code?: "invalid_input" | undefined;
|
|
5326
|
-
};
|
|
5327
|
-
outputFormat: "json";
|
|
5328
|
-
status: 400;
|
|
5329
|
-
input: {
|
|
5330
|
-
query: {
|
|
5331
|
-
kind: "issue" | "pr";
|
|
5332
|
-
q: string | string[];
|
|
5333
|
-
limit?: number | undefined;
|
|
5160
|
+
param: {
|
|
5161
|
+
number: string;
|
|
5334
5162
|
};
|
|
5335
|
-
}
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
items: never[];
|
|
5341
|
-
};
|
|
5342
|
-
outputFormat: "json";
|
|
5343
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5344
|
-
input: {
|
|
5345
|
-
query: {
|
|
5346
|
-
kind: "issue" | "pr";
|
|
5347
|
-
q: string | string[];
|
|
5348
|
-
limit?: number | undefined;
|
|
5163
|
+
} & {
|
|
5164
|
+
json: {
|
|
5165
|
+
method: "merge" | "rebase" | "squash";
|
|
5166
|
+
expectedHeadSha: string;
|
|
5167
|
+
overrideRules?: boolean | undefined;
|
|
5349
5168
|
};
|
|
5350
5169
|
};
|
|
5351
5170
|
} | {
|
|
5352
|
-
output: {
|
|
5353
|
-
available: boolean;
|
|
5354
|
-
projectsReason?: string | undefined;
|
|
5355
|
-
reason?: string | undefined;
|
|
5356
|
-
items: {
|
|
5357
|
-
kind: "issue" | "pr";
|
|
5358
|
-
number: number;
|
|
5359
|
-
title: string;
|
|
5360
|
-
author: string;
|
|
5361
|
-
createdAt: string;
|
|
5362
|
-
labels: string[];
|
|
5363
|
-
body?: string | undefined;
|
|
5364
|
-
url: string;
|
|
5365
|
-
comments: number;
|
|
5366
|
-
assignees?: string[] | undefined;
|
|
5367
|
-
projectIds?: string[] | undefined;
|
|
5368
|
-
isDraft?: boolean | undefined;
|
|
5369
|
-
additions?: number | undefined;
|
|
5370
|
-
deletions?: number | undefined;
|
|
5371
|
-
checks?: "failing" | "passing" | "pending" | null | undefined;
|
|
5372
|
-
}[];
|
|
5373
|
-
truncated?: boolean | undefined;
|
|
5374
|
-
labelColors?: {
|
|
5375
|
-
[x: string]: string;
|
|
5376
|
-
} | undefined;
|
|
5377
|
-
};
|
|
5378
|
-
outputFormat: "json";
|
|
5379
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5380
|
-
input: {
|
|
5381
|
-
query: {
|
|
5382
|
-
kind: "issue" | "pr";
|
|
5383
|
-
q: string | string[];
|
|
5384
|
-
limit?: number | undefined;
|
|
5385
|
-
};
|
|
5386
|
-
};
|
|
5387
|
-
};
|
|
5388
|
-
};
|
|
5389
|
-
} & {
|
|
5390
|
-
"/github/ref-status": {
|
|
5391
|
-
$get: {
|
|
5392
5171
|
output: {
|
|
5393
5172
|
error: string;
|
|
5394
|
-
code?: "invalid_input" | undefined;
|
|
5395
5173
|
};
|
|
5396
5174
|
outputFormat: "json";
|
|
5397
|
-
status:
|
|
5175
|
+
status: 409;
|
|
5398
5176
|
input: {
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
issues?: string | undefined;
|
|
5177
|
+
param: {
|
|
5178
|
+
number: string;
|
|
5402
5179
|
};
|
|
5403
|
-
}
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
outputFormat: "json";
|
|
5409
|
-
status: 400;
|
|
5410
|
-
input: {
|
|
5411
|
-
query: {
|
|
5412
|
-
prs?: string | undefined;
|
|
5413
|
-
issues?: string | undefined;
|
|
5180
|
+
} & {
|
|
5181
|
+
json: {
|
|
5182
|
+
method: "merge" | "rebase" | "squash";
|
|
5183
|
+
expectedHeadSha: string;
|
|
5184
|
+
overrideRules?: boolean | undefined;
|
|
5414
5185
|
};
|
|
5415
5186
|
};
|
|
5416
5187
|
} | {
|
|
5417
5188
|
output: {
|
|
5418
|
-
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
-
|
|
5423
|
-
[x: number]: "changes-requested" | "checks-failing" | "checks-pending" | "closed" | "completed" | "draft" | "merged" | "not-planned" | "open" | "ready" | "review-required";
|
|
5424
|
-
};
|
|
5425
|
-
conflicts?: number[] | undefined;
|
|
5426
|
-
recheckAfterMs: number | null;
|
|
5427
|
-
} | {
|
|
5428
|
-
available: false;
|
|
5429
|
-
reason: string;
|
|
5430
|
-
recheckAfterMs: number | null;
|
|
5189
|
+
merged: true;
|
|
5190
|
+
number: number;
|
|
5191
|
+
url: string;
|
|
5192
|
+
method: import("../core/forge-registry.ts").ForgeMergeMethod;
|
|
5193
|
+
mergeCommitSha?: string;
|
|
5431
5194
|
};
|
|
5432
5195
|
outputFormat: "json";
|
|
5433
5196
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5434
|
-
input: {
|
|
5435
|
-
query: {
|
|
5436
|
-
prs?: string | undefined;
|
|
5437
|
-
issues?: string | undefined;
|
|
5438
|
-
};
|
|
5439
|
-
};
|
|
5440
|
-
};
|
|
5441
|
-
};
|
|
5442
|
-
} & {
|
|
5443
|
-
"/github/prs/:number/merge-state": {
|
|
5444
|
-
$get: {
|
|
5445
|
-
output: {
|
|
5446
|
-
error: string;
|
|
5447
|
-
code?: "invalid_input" | undefined;
|
|
5448
|
-
};
|
|
5449
|
-
outputFormat: "json";
|
|
5450
|
-
status: 400;
|
|
5451
5197
|
input: {
|
|
5452
5198
|
param: {
|
|
5453
5199
|
number: string;
|
|
5454
5200
|
};
|
|
5455
5201
|
} & {
|
|
5456
|
-
|
|
5457
|
-
|
|
5202
|
+
json: {
|
|
5203
|
+
method: "merge" | "rebase" | "squash";
|
|
5204
|
+
expectedHeadSha: string;
|
|
5205
|
+
overrideRules?: boolean | undefined;
|
|
5458
5206
|
};
|
|
5459
5207
|
};
|
|
5460
5208
|
} | {
|
|
5461
5209
|
output: {
|
|
5462
|
-
|
|
5463
|
-
|
|
5210
|
+
error: string;
|
|
5211
|
+
code?: string | undefined;
|
|
5212
|
+
current?: {
|
|
5464
5213
|
number: number;
|
|
5465
5214
|
title: string;
|
|
5466
5215
|
url: string;
|
|
@@ -5486,27 +5235,26 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5486
5235
|
}[];
|
|
5487
5236
|
canMerge: boolean;
|
|
5488
5237
|
canOverride: boolean;
|
|
5489
|
-
};
|
|
5490
|
-
} | {
|
|
5491
|
-
available: false;
|
|
5492
|
-
reason: string;
|
|
5238
|
+
} | undefined;
|
|
5493
5239
|
};
|
|
5494
5240
|
outputFormat: "json";
|
|
5495
|
-
status:
|
|
5241
|
+
status: 403 | 404 | 409 | 502;
|
|
5496
5242
|
input: {
|
|
5497
5243
|
param: {
|
|
5498
5244
|
number: string;
|
|
5499
5245
|
};
|
|
5500
5246
|
} & {
|
|
5501
|
-
|
|
5502
|
-
|
|
5247
|
+
json: {
|
|
5248
|
+
method: "merge" | "rebase" | "squash";
|
|
5249
|
+
expectedHeadSha: string;
|
|
5250
|
+
overrideRules?: boolean | undefined;
|
|
5503
5251
|
};
|
|
5504
5252
|
};
|
|
5505
5253
|
};
|
|
5506
5254
|
};
|
|
5507
5255
|
} & {
|
|
5508
|
-
"/github/prs/:number/
|
|
5509
|
-
$
|
|
5256
|
+
"/github/prs/:number/changes": {
|
|
5257
|
+
$get: {
|
|
5510
5258
|
output: {
|
|
5511
5259
|
error: string;
|
|
5512
5260
|
code?: "invalid_input" | undefined;
|
|
@@ -5518,10 +5266,8 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5518
5266
|
number: string;
|
|
5519
5267
|
};
|
|
5520
5268
|
} & {
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
expectedHeadSha: string;
|
|
5524
|
-
overrideRules?: boolean | undefined;
|
|
5269
|
+
query: {
|
|
5270
|
+
refresh?: "1" | undefined;
|
|
5525
5271
|
};
|
|
5526
5272
|
};
|
|
5527
5273
|
} | {
|
|
@@ -5529,88 +5275,355 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5529
5275
|
error: string;
|
|
5530
5276
|
};
|
|
5531
5277
|
outputFormat: "json";
|
|
5532
|
-
status:
|
|
5278
|
+
status: 404;
|
|
5533
5279
|
input: {
|
|
5534
5280
|
param: {
|
|
5535
5281
|
number: string;
|
|
5536
5282
|
};
|
|
5537
5283
|
} & {
|
|
5538
|
-
|
|
5539
|
-
|
|
5540
|
-
expectedHeadSha: string;
|
|
5541
|
-
overrideRules?: boolean | undefined;
|
|
5284
|
+
query: {
|
|
5285
|
+
refresh?: "1" | undefined;
|
|
5542
5286
|
};
|
|
5543
5287
|
};
|
|
5544
5288
|
} | {
|
|
5545
5289
|
output: {
|
|
5546
|
-
|
|
5290
|
+
available: true;
|
|
5547
5291
|
number: number;
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5292
|
+
headSha: string;
|
|
5293
|
+
files: {
|
|
5294
|
+
path: string;
|
|
5295
|
+
previousPath?: string;
|
|
5296
|
+
status: 'added' | 'modified' | 'removed' | 'renamed' | 'copied' | 'changed';
|
|
5297
|
+
additions: number;
|
|
5298
|
+
deletions: number;
|
|
5299
|
+
patch?: string;
|
|
5300
|
+
patchUnavailableReason?: 'binary' | 'too-large' | 'not-provided';
|
|
5301
|
+
truncated?: boolean;
|
|
5302
|
+
}[];
|
|
5303
|
+
additions: number;
|
|
5304
|
+
deletions: number;
|
|
5305
|
+
truncated: boolean;
|
|
5306
|
+
reason?: string;
|
|
5307
|
+
} | {
|
|
5308
|
+
available: false;
|
|
5309
|
+
reason: string;
|
|
5310
|
+
};
|
|
5311
|
+
outputFormat: "json";
|
|
5312
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5313
|
+
input: {
|
|
5314
|
+
param: {
|
|
5556
5315
|
number: string;
|
|
5557
5316
|
};
|
|
5558
5317
|
} & {
|
|
5318
|
+
query: {
|
|
5319
|
+
refresh?: "1" | undefined;
|
|
5320
|
+
};
|
|
5321
|
+
};
|
|
5322
|
+
};
|
|
5323
|
+
};
|
|
5324
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
5325
|
+
"/repo": {
|
|
5326
|
+
$get: {
|
|
5327
|
+
output: {
|
|
5328
|
+
info: null;
|
|
5329
|
+
status: never[];
|
|
5330
|
+
log: never[];
|
|
5331
|
+
branches: never[];
|
|
5332
|
+
baseBranch: null;
|
|
5333
|
+
tracking: null;
|
|
5334
|
+
};
|
|
5335
|
+
outputFormat: "json";
|
|
5336
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5337
|
+
input: {};
|
|
5338
|
+
} | {
|
|
5339
|
+
output: {
|
|
5340
|
+
info: {
|
|
5341
|
+
root: string;
|
|
5342
|
+
branch: string;
|
|
5343
|
+
remote?: string | undefined;
|
|
5344
|
+
};
|
|
5345
|
+
status: {
|
|
5346
|
+
status: string;
|
|
5347
|
+
path: string;
|
|
5348
|
+
}[];
|
|
5349
|
+
log: ({
|
|
5350
|
+
hash: string;
|
|
5351
|
+
subject: string;
|
|
5352
|
+
author: string;
|
|
5353
|
+
when: string;
|
|
5354
|
+
at: string;
|
|
5355
|
+
} | {
|
|
5356
|
+
hash: string;
|
|
5357
|
+
subject: string;
|
|
5358
|
+
author: string;
|
|
5359
|
+
when: string;
|
|
5360
|
+
at: string;
|
|
5361
|
+
source: {
|
|
5362
|
+
runId: string;
|
|
5363
|
+
title: string;
|
|
5364
|
+
prNumber: number | null;
|
|
5365
|
+
};
|
|
5366
|
+
})[];
|
|
5367
|
+
branches: string[];
|
|
5368
|
+
baseBranch: string | null;
|
|
5369
|
+
tracking: {
|
|
5370
|
+
ref: string;
|
|
5371
|
+
ahead: number;
|
|
5372
|
+
behind: number;
|
|
5373
|
+
fetchedAt: string | null;
|
|
5374
|
+
} | null;
|
|
5375
|
+
};
|
|
5376
|
+
outputFormat: "json";
|
|
5377
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5378
|
+
input: {};
|
|
5379
|
+
};
|
|
5380
|
+
};
|
|
5381
|
+
} & {
|
|
5382
|
+
"/repo/branches": {
|
|
5383
|
+
$get: {
|
|
5384
|
+
output: {
|
|
5385
|
+
base: string;
|
|
5386
|
+
prStateKnown: boolean;
|
|
5387
|
+
branches: {
|
|
5388
|
+
name: string;
|
|
5389
|
+
class: "active" | "empty" | "merged" | "not-landed" | "orphan" | "other";
|
|
5390
|
+
runId: string | null;
|
|
5391
|
+
title: string | null;
|
|
5392
|
+
runStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting" | null;
|
|
5393
|
+
ahead: number;
|
|
5394
|
+
behind: number;
|
|
5395
|
+
lastCommit: {
|
|
5396
|
+
sha: string;
|
|
5397
|
+
subject: string;
|
|
5398
|
+
at: string;
|
|
5399
|
+
};
|
|
5400
|
+
diffStat: {
|
|
5401
|
+
additions: number;
|
|
5402
|
+
deletions: number;
|
|
5403
|
+
} | null;
|
|
5404
|
+
pr: {
|
|
5405
|
+
number: number;
|
|
5406
|
+
url: string;
|
|
5407
|
+
state: "closed" | "draft" | "merged" | "open";
|
|
5408
|
+
checks?: "failing" | "passing" | "pending" | undefined;
|
|
5409
|
+
} | null;
|
|
5410
|
+
keptReason?: string | undefined;
|
|
5411
|
+
parentRunId?: string | undefined;
|
|
5412
|
+
}[];
|
|
5413
|
+
counts: {
|
|
5414
|
+
notLanded: number;
|
|
5415
|
+
cleanup: number;
|
|
5416
|
+
};
|
|
5417
|
+
};
|
|
5418
|
+
outputFormat: "json";
|
|
5419
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5420
|
+
input: {};
|
|
5421
|
+
};
|
|
5422
|
+
};
|
|
5423
|
+
} & {
|
|
5424
|
+
"/repo/branches/counts": {
|
|
5425
|
+
$get: {
|
|
5426
|
+
output: {
|
|
5427
|
+
base: string;
|
|
5428
|
+
prStateKnown: boolean;
|
|
5429
|
+
counts: {
|
|
5430
|
+
notLanded: number;
|
|
5431
|
+
cleanup: number;
|
|
5432
|
+
};
|
|
5433
|
+
allBranches: number;
|
|
5434
|
+
};
|
|
5435
|
+
outputFormat: "json";
|
|
5436
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5437
|
+
input: {};
|
|
5438
|
+
};
|
|
5439
|
+
};
|
|
5440
|
+
} & {
|
|
5441
|
+
"/repo/branches/delete": {
|
|
5442
|
+
$post: {
|
|
5443
|
+
output: {
|
|
5444
|
+
error: string;
|
|
5445
|
+
refused: {
|
|
5446
|
+
name: string;
|
|
5447
|
+
reason: string;
|
|
5448
|
+
}[];
|
|
5449
|
+
};
|
|
5450
|
+
outputFormat: "json";
|
|
5451
|
+
status: 409;
|
|
5452
|
+
input: {
|
|
5559
5453
|
json: {
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
|
|
5454
|
+
names: string[];
|
|
5455
|
+
confirm?: string | undefined;
|
|
5456
|
+
};
|
|
5457
|
+
};
|
|
5458
|
+
} | {
|
|
5459
|
+
output: {
|
|
5460
|
+
deleted: string[];
|
|
5461
|
+
refused: {
|
|
5462
|
+
name: string;
|
|
5463
|
+
reason: string;
|
|
5464
|
+
}[];
|
|
5465
|
+
dropped?: {
|
|
5466
|
+
sha: string;
|
|
5467
|
+
subject: string;
|
|
5468
|
+
}[] | undefined;
|
|
5469
|
+
};
|
|
5470
|
+
outputFormat: "json";
|
|
5471
|
+
status: 200;
|
|
5472
|
+
input: {
|
|
5473
|
+
json: {
|
|
5474
|
+
names: string[];
|
|
5475
|
+
confirm?: string | undefined;
|
|
5476
|
+
};
|
|
5477
|
+
};
|
|
5478
|
+
};
|
|
5479
|
+
};
|
|
5480
|
+
} & {
|
|
5481
|
+
"/repo/diff": {
|
|
5482
|
+
$get: {
|
|
5483
|
+
output: string;
|
|
5484
|
+
outputFormat: "text";
|
|
5485
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5486
|
+
input: {};
|
|
5487
|
+
};
|
|
5488
|
+
};
|
|
5489
|
+
} & {
|
|
5490
|
+
"/repo/commit/:sha": {
|
|
5491
|
+
$get: {
|
|
5492
|
+
output: string;
|
|
5493
|
+
outputFormat: "text";
|
|
5494
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5495
|
+
input: {
|
|
5496
|
+
query: {
|
|
5497
|
+
structured?: string | undefined;
|
|
5498
|
+
};
|
|
5499
|
+
} & {
|
|
5500
|
+
param: {
|
|
5501
|
+
sha: string;
|
|
5563
5502
|
};
|
|
5564
5503
|
};
|
|
5565
5504
|
} | {
|
|
5566
5505
|
output: {
|
|
5567
5506
|
error: string;
|
|
5568
|
-
code?:
|
|
5569
|
-
current?: {
|
|
5570
|
-
number: number;
|
|
5571
|
-
title: string;
|
|
5572
|
-
url: string;
|
|
5573
|
-
state: "closed" | "merged" | "open";
|
|
5574
|
-
isDraft: boolean;
|
|
5575
|
-
headRef: string;
|
|
5576
|
-
baseRef: string;
|
|
5577
|
-
headSha: string;
|
|
5578
|
-
mergeable: "conflicting" | "mergeable" | "unknown";
|
|
5579
|
-
reviewDecision: "approved" | "changes-requested" | "not-required" | "review-required" | "unknown";
|
|
5580
|
-
checks: {
|
|
5581
|
-
name: string;
|
|
5582
|
-
state: "failing" | "passing" | "pending" | "unknown";
|
|
5583
|
-
required: boolean | null;
|
|
5584
|
-
url?: string | undefined;
|
|
5585
|
-
}[];
|
|
5586
|
-
methods: ("merge" | "rebase" | "squash")[];
|
|
5587
|
-
defaultMethod: "merge" | "rebase" | "squash" | null;
|
|
5588
|
-
eligibility: "blocked" | "pending" | "ready" | "terminal" | "unauthorized" | "unknown";
|
|
5589
|
-
blockers: {
|
|
5590
|
-
code: string;
|
|
5591
|
-
message: string;
|
|
5592
|
-
}[];
|
|
5593
|
-
canMerge: boolean;
|
|
5594
|
-
canOverride: boolean;
|
|
5595
|
-
} | undefined;
|
|
5507
|
+
code?: "invalid_input" | undefined;
|
|
5596
5508
|
};
|
|
5597
5509
|
outputFormat: "json";
|
|
5598
|
-
status:
|
|
5510
|
+
status: 400;
|
|
5599
5511
|
input: {
|
|
5512
|
+
query: {
|
|
5513
|
+
structured?: string | undefined;
|
|
5514
|
+
};
|
|
5515
|
+
} & {
|
|
5600
5516
|
param: {
|
|
5601
|
-
|
|
5517
|
+
sha: string;
|
|
5518
|
+
};
|
|
5519
|
+
};
|
|
5520
|
+
} | {
|
|
5521
|
+
output: {
|
|
5522
|
+
sha: string;
|
|
5523
|
+
subject: string;
|
|
5524
|
+
author: string;
|
|
5525
|
+
when: string;
|
|
5526
|
+
files: {
|
|
5527
|
+
path: string;
|
|
5528
|
+
oldPath?: string;
|
|
5529
|
+
status: 'added' | 'modified' | 'deleted' | 'renamed' | 'copied';
|
|
5530
|
+
adds: number;
|
|
5531
|
+
dels: number;
|
|
5532
|
+
binary: boolean;
|
|
5533
|
+
image?: boolean;
|
|
5534
|
+
patch: string;
|
|
5535
|
+
}[];
|
|
5536
|
+
stat: {
|
|
5537
|
+
adds: number;
|
|
5538
|
+
dels: number;
|
|
5539
|
+
files: number;
|
|
5540
|
+
};
|
|
5541
|
+
};
|
|
5542
|
+
outputFormat: "json";
|
|
5543
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5544
|
+
input: {
|
|
5545
|
+
query: {
|
|
5546
|
+
structured?: string | undefined;
|
|
5602
5547
|
};
|
|
5603
5548
|
} & {
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5549
|
+
param: {
|
|
5550
|
+
sha: string;
|
|
5551
|
+
};
|
|
5552
|
+
};
|
|
5553
|
+
} | {
|
|
5554
|
+
output: {
|
|
5555
|
+
error: string;
|
|
5556
|
+
};
|
|
5557
|
+
outputFormat: "json";
|
|
5558
|
+
status: 409;
|
|
5559
|
+
input: {
|
|
5560
|
+
query: {
|
|
5561
|
+
structured?: string | undefined;
|
|
5562
|
+
};
|
|
5563
|
+
} & {
|
|
5564
|
+
param: {
|
|
5565
|
+
sha: string;
|
|
5566
|
+
};
|
|
5567
|
+
};
|
|
5568
|
+
};
|
|
5569
|
+
};
|
|
5570
|
+
} & {
|
|
5571
|
+
"/repo/commit/:sha/file": {
|
|
5572
|
+
$get: {
|
|
5573
|
+
output: {
|
|
5574
|
+
error: string;
|
|
5575
|
+
code?: "invalid_input" | undefined;
|
|
5576
|
+
};
|
|
5577
|
+
outputFormat: "json";
|
|
5578
|
+
status: 400;
|
|
5579
|
+
input: {
|
|
5580
|
+
param: {
|
|
5581
|
+
sha: string;
|
|
5582
|
+
};
|
|
5583
|
+
} & {
|
|
5584
|
+
query: {
|
|
5585
|
+
path: string | string[];
|
|
5586
|
+
};
|
|
5587
|
+
};
|
|
5588
|
+
} | {
|
|
5589
|
+
output: {
|
|
5590
|
+
type: 'file';
|
|
5591
|
+
path: string;
|
|
5592
|
+
size: number;
|
|
5593
|
+
binary: boolean;
|
|
5594
|
+
tooLarge: boolean;
|
|
5595
|
+
content?: string | undefined;
|
|
5596
|
+
};
|
|
5597
|
+
outputFormat: "json";
|
|
5598
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5599
|
+
input: {
|
|
5600
|
+
param: {
|
|
5601
|
+
sha: string;
|
|
5602
|
+
};
|
|
5603
|
+
} & {
|
|
5604
|
+
query: {
|
|
5605
|
+
path: string | string[];
|
|
5606
|
+
};
|
|
5607
|
+
};
|
|
5608
|
+
} | {
|
|
5609
|
+
output: {
|
|
5610
|
+
error: string;
|
|
5611
|
+
};
|
|
5612
|
+
outputFormat: "json";
|
|
5613
|
+
status: 409;
|
|
5614
|
+
input: {
|
|
5615
|
+
param: {
|
|
5616
|
+
sha: string;
|
|
5617
|
+
};
|
|
5618
|
+
} & {
|
|
5619
|
+
query: {
|
|
5620
|
+
path: string | string[];
|
|
5608
5621
|
};
|
|
5609
5622
|
};
|
|
5610
5623
|
};
|
|
5611
5624
|
};
|
|
5612
5625
|
} & {
|
|
5613
|
-
"/
|
|
5626
|
+
"/repo/files": {
|
|
5614
5627
|
$get: {
|
|
5615
5628
|
output: {
|
|
5616
5629
|
error: string;
|
|
@@ -5619,12 +5632,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5619
5632
|
outputFormat: "json";
|
|
5620
5633
|
status: 400;
|
|
5621
5634
|
input: {
|
|
5622
|
-
|
|
5623
|
-
|
|
5635
|
+
query: {
|
|
5636
|
+
path: string | string[];
|
|
5624
5637
|
};
|
|
5625
|
-
}
|
|
5638
|
+
};
|
|
5639
|
+
} | {
|
|
5640
|
+
output: {
|
|
5641
|
+
type: 'file';
|
|
5642
|
+
path: string;
|
|
5643
|
+
size: number;
|
|
5644
|
+
binary: boolean;
|
|
5645
|
+
tooLarge: boolean;
|
|
5646
|
+
content?: string | undefined;
|
|
5647
|
+
};
|
|
5648
|
+
outputFormat: "json";
|
|
5649
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5650
|
+
input: {
|
|
5626
5651
|
query: {
|
|
5627
|
-
|
|
5652
|
+
path: string | string[];
|
|
5628
5653
|
};
|
|
5629
5654
|
};
|
|
5630
5655
|
} | {
|
|
@@ -5632,48 +5657,123 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5632
5657
|
error: string;
|
|
5633
5658
|
};
|
|
5634
5659
|
outputFormat: "json";
|
|
5635
|
-
status:
|
|
5660
|
+
status: 409;
|
|
5636
5661
|
input: {
|
|
5637
|
-
param: {
|
|
5638
|
-
number: string;
|
|
5639
|
-
};
|
|
5640
|
-
} & {
|
|
5641
5662
|
query: {
|
|
5642
|
-
|
|
5663
|
+
path: string | string[];
|
|
5643
5664
|
};
|
|
5644
5665
|
};
|
|
5645
|
-
}
|
|
5666
|
+
};
|
|
5667
|
+
};
|
|
5668
|
+
} & {
|
|
5669
|
+
"/repo/changes": {
|
|
5670
|
+
$get: {
|
|
5646
5671
|
output: {
|
|
5647
|
-
available: true;
|
|
5648
|
-
number: number;
|
|
5649
|
-
headSha: string;
|
|
5650
5672
|
files: {
|
|
5651
5673
|
path: string;
|
|
5652
|
-
|
|
5653
|
-
status: 'added' | 'modified' | '
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5674
|
+
oldPath?: string;
|
|
5675
|
+
status: 'added' | 'modified' | 'deleted' | 'renamed' | 'copied';
|
|
5676
|
+
adds: number;
|
|
5677
|
+
dels: number;
|
|
5678
|
+
binary: boolean;
|
|
5679
|
+
image?: boolean;
|
|
5680
|
+
patch: string;
|
|
5659
5681
|
}[];
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5682
|
+
stat: {
|
|
5683
|
+
adds: number;
|
|
5684
|
+
dels: number;
|
|
5685
|
+
files: number;
|
|
5686
|
+
};
|
|
5687
|
+
repointedHead?: {
|
|
5688
|
+
headBranch: string;
|
|
5689
|
+
taskBranch: string;
|
|
5690
|
+
} | undefined;
|
|
5691
|
+
};
|
|
5692
|
+
outputFormat: "json";
|
|
5693
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5694
|
+
input: {};
|
|
5695
|
+
} | {
|
|
5696
|
+
output: {
|
|
5697
|
+
error: string;
|
|
5698
|
+
};
|
|
5699
|
+
outputFormat: "json";
|
|
5700
|
+
status: 409;
|
|
5701
|
+
input: {};
|
|
5702
|
+
};
|
|
5703
|
+
};
|
|
5704
|
+
} & {
|
|
5705
|
+
"/repo/pull": {
|
|
5706
|
+
$get: {
|
|
5707
|
+
output: {
|
|
5708
|
+
error: string;
|
|
5709
|
+
};
|
|
5710
|
+
outputFormat: "json";
|
|
5711
|
+
status: 409;
|
|
5712
|
+
input: {};
|
|
5713
|
+
} | {
|
|
5714
|
+
output: {
|
|
5715
|
+
branches: string[];
|
|
5667
5716
|
};
|
|
5668
5717
|
outputFormat: "json";
|
|
5669
5718
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5719
|
+
input: {};
|
|
5720
|
+
};
|
|
5721
|
+
};
|
|
5722
|
+
} & {
|
|
5723
|
+
"/repo/pull": {
|
|
5724
|
+
$post: {
|
|
5725
|
+
output: {
|
|
5726
|
+
error: string;
|
|
5727
|
+
};
|
|
5728
|
+
outputFormat: "json";
|
|
5729
|
+
status: 409;
|
|
5670
5730
|
input: {
|
|
5671
|
-
|
|
5672
|
-
|
|
5731
|
+
json: {
|
|
5732
|
+
branch?: string | undefined;
|
|
5733
|
+
confirm?: boolean | undefined;
|
|
5673
5734
|
};
|
|
5674
|
-
}
|
|
5675
|
-
|
|
5676
|
-
|
|
5735
|
+
};
|
|
5736
|
+
} | {
|
|
5737
|
+
output: {
|
|
5738
|
+
branch: string;
|
|
5739
|
+
pulled: true;
|
|
5740
|
+
summary: string;
|
|
5741
|
+
};
|
|
5742
|
+
outputFormat: "json";
|
|
5743
|
+
status: 200;
|
|
5744
|
+
input: {
|
|
5745
|
+
json: {
|
|
5746
|
+
branch?: string | undefined;
|
|
5747
|
+
confirm?: boolean | undefined;
|
|
5748
|
+
};
|
|
5749
|
+
};
|
|
5750
|
+
};
|
|
5751
|
+
};
|
|
5752
|
+
} & {
|
|
5753
|
+
"/repo/branch": {
|
|
5754
|
+
$post: {
|
|
5755
|
+
output: {
|
|
5756
|
+
error: string;
|
|
5757
|
+
};
|
|
5758
|
+
outputFormat: "json";
|
|
5759
|
+
status: 409;
|
|
5760
|
+
input: {
|
|
5761
|
+
json: {
|
|
5762
|
+
name: string;
|
|
5763
|
+
from?: string | undefined;
|
|
5764
|
+
};
|
|
5765
|
+
};
|
|
5766
|
+
} | {
|
|
5767
|
+
output: {
|
|
5768
|
+
branch: string;
|
|
5769
|
+
created: boolean;
|
|
5770
|
+
};
|
|
5771
|
+
outputFormat: "json";
|
|
5772
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5773
|
+
input: {
|
|
5774
|
+
json: {
|
|
5775
|
+
name: string;
|
|
5776
|
+
from?: string | undefined;
|
|
5677
5777
|
};
|
|
5678
5778
|
};
|
|
5679
5779
|
};
|
|
@@ -7375,22 +7475,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7375
7475
|
"/runs/:id/worker-destroy": {
|
|
7376
7476
|
$post: {
|
|
7377
7477
|
output: {
|
|
7378
|
-
|
|
7379
|
-
|
|
7380
|
-
readonly modelChoices?: {
|
|
7381
|
-
runner: string;
|
|
7382
|
-
requestedModel: string;
|
|
7383
|
-
availableModels: {
|
|
7384
|
-
id: string;
|
|
7385
|
-
label: string;
|
|
7386
|
-
description: string;
|
|
7387
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
7388
|
-
}[];
|
|
7389
|
-
otherRunners: string[];
|
|
7390
|
-
} | undefined;
|
|
7478
|
+
error: string;
|
|
7479
|
+
code?: "invalid_input" | undefined;
|
|
7391
7480
|
};
|
|
7392
7481
|
outputFormat: "json";
|
|
7393
|
-
status: 400
|
|
7482
|
+
status: 400;
|
|
7394
7483
|
input: {
|
|
7395
7484
|
query: {
|
|
7396
7485
|
[x: string]: string | string[];
|
|
@@ -7406,11 +7495,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7406
7495
|
};
|
|
7407
7496
|
} | {
|
|
7408
7497
|
output: {
|
|
7409
|
-
|
|
7410
|
-
|
|
7498
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
7499
|
+
readonly error: string;
|
|
7500
|
+
readonly modelChoices?: {
|
|
7501
|
+
runner: string;
|
|
7502
|
+
requestedModel: string;
|
|
7503
|
+
availableModels: {
|
|
7504
|
+
id: string;
|
|
7505
|
+
label: string;
|
|
7506
|
+
description: string;
|
|
7507
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
7508
|
+
}[];
|
|
7509
|
+
otherRunners: string[];
|
|
7510
|
+
} | undefined;
|
|
7411
7511
|
};
|
|
7412
7512
|
outputFormat: "json";
|
|
7413
|
-
status: 400;
|
|
7513
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
7414
7514
|
input: {
|
|
7415
7515
|
query: {
|
|
7416
7516
|
[x: string]: string | string[];
|
|
@@ -18164,6 +18264,64 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18164
18264
|
};
|
|
18165
18265
|
};
|
|
18166
18266
|
};
|
|
18267
|
+
} & {
|
|
18268
|
+
"/runs/:id/commit/:sha/file": {
|
|
18269
|
+
$get: {
|
|
18270
|
+
output: {
|
|
18271
|
+
error: string;
|
|
18272
|
+
code?: "invalid_input" | undefined;
|
|
18273
|
+
};
|
|
18274
|
+
outputFormat: "json";
|
|
18275
|
+
status: 400;
|
|
18276
|
+
input: {
|
|
18277
|
+
param: {
|
|
18278
|
+
sha: string;
|
|
18279
|
+
id: string;
|
|
18280
|
+
};
|
|
18281
|
+
} & {
|
|
18282
|
+
query: {
|
|
18283
|
+
path: string | string[];
|
|
18284
|
+
};
|
|
18285
|
+
};
|
|
18286
|
+
} | {
|
|
18287
|
+
output: {
|
|
18288
|
+
error: string;
|
|
18289
|
+
};
|
|
18290
|
+
outputFormat: "json";
|
|
18291
|
+
status: 404 | 409;
|
|
18292
|
+
input: {
|
|
18293
|
+
param: {
|
|
18294
|
+
sha: string;
|
|
18295
|
+
id: string;
|
|
18296
|
+
};
|
|
18297
|
+
} & {
|
|
18298
|
+
query: {
|
|
18299
|
+
path: string | string[];
|
|
18300
|
+
};
|
|
18301
|
+
};
|
|
18302
|
+
} | {
|
|
18303
|
+
output: {
|
|
18304
|
+
type: 'file';
|
|
18305
|
+
path: string;
|
|
18306
|
+
size: number;
|
|
18307
|
+
binary: boolean;
|
|
18308
|
+
tooLarge: boolean;
|
|
18309
|
+
content?: string | undefined;
|
|
18310
|
+
};
|
|
18311
|
+
outputFormat: "json";
|
|
18312
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
18313
|
+
input: {
|
|
18314
|
+
param: {
|
|
18315
|
+
sha: string;
|
|
18316
|
+
id: string;
|
|
18317
|
+
};
|
|
18318
|
+
} & {
|
|
18319
|
+
query: {
|
|
18320
|
+
path: string | string[];
|
|
18321
|
+
};
|
|
18322
|
+
};
|
|
18323
|
+
};
|
|
18324
|
+
};
|
|
18167
18325
|
} & {
|
|
18168
18326
|
"/runs/:id/file-link": {
|
|
18169
18327
|
$get: {
|
|
@@ -18546,14 +18704,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18546
18704
|
};
|
|
18547
18705
|
} | {
|
|
18548
18706
|
output: {
|
|
18549
|
-
type: '
|
|
18550
|
-
path: string;
|
|
18551
|
-
|
|
18552
|
-
|
|
18553
|
-
|
|
18554
|
-
|
|
18555
|
-
chain?: string;
|
|
18556
|
-
}[];
|
|
18707
|
+
type: 'file';
|
|
18708
|
+
path: string;
|
|
18709
|
+
size: number;
|
|
18710
|
+
binary: boolean;
|
|
18711
|
+
tooLarge: boolean;
|
|
18712
|
+
content?: string | undefined;
|
|
18557
18713
|
};
|
|
18558
18714
|
outputFormat: "json";
|
|
18559
18715
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -18569,12 +18725,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18569
18725
|
};
|
|
18570
18726
|
} | {
|
|
18571
18727
|
output: {
|
|
18572
|
-
type: '
|
|
18728
|
+
type: 'dir';
|
|
18573
18729
|
path: string;
|
|
18574
|
-
|
|
18575
|
-
|
|
18576
|
-
|
|
18577
|
-
|
|
18730
|
+
entries: {
|
|
18731
|
+
name: string;
|
|
18732
|
+
type: 'dir' | 'file';
|
|
18733
|
+
size?: number;
|
|
18734
|
+
chain?: string;
|
|
18735
|
+
}[];
|
|
18578
18736
|
};
|
|
18579
18737
|
outputFormat: "json";
|
|
18580
18738
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -20030,364 +20188,409 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20030
20188
|
};
|
|
20031
20189
|
};
|
|
20032
20190
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
20033
|
-
"/
|
|
20191
|
+
"/github": {
|
|
20034
20192
|
$get: {
|
|
20035
20193
|
output: {
|
|
20036
|
-
|
|
20037
|
-
|
|
20038
|
-
log: never[];
|
|
20039
|
-
branches: never[];
|
|
20040
|
-
baseBranch: null;
|
|
20041
|
-
tracking: null;
|
|
20194
|
+
error: string;
|
|
20195
|
+
code?: "invalid_input" | undefined;
|
|
20042
20196
|
};
|
|
20043
20197
|
outputFormat: "json";
|
|
20044
|
-
status:
|
|
20045
|
-
input: {
|
|
20198
|
+
status: 400;
|
|
20199
|
+
input: {
|
|
20200
|
+
query: {
|
|
20201
|
+
limit?: string | undefined;
|
|
20202
|
+
refresh?: string | undefined;
|
|
20203
|
+
issuesCursor?: string | undefined;
|
|
20204
|
+
prsCursor?: string | undefined;
|
|
20205
|
+
issuesDone?: "1" | undefined;
|
|
20206
|
+
prsDone?: "1" | undefined;
|
|
20207
|
+
};
|
|
20208
|
+
};
|
|
20046
20209
|
} | {
|
|
20047
20210
|
output: {
|
|
20048
|
-
|
|
20049
|
-
|
|
20050
|
-
|
|
20051
|
-
|
|
20052
|
-
};
|
|
20053
|
-
status: {
|
|
20054
|
-
status: string;
|
|
20055
|
-
path: string;
|
|
20056
|
-
}[];
|
|
20057
|
-
log: ({
|
|
20058
|
-
hash: string;
|
|
20059
|
-
subject: string;
|
|
20060
|
-
author: string;
|
|
20061
|
-
when: string;
|
|
20062
|
-
at: string;
|
|
20063
|
-
} | {
|
|
20064
|
-
hash: string;
|
|
20065
|
-
subject: string;
|
|
20066
|
-
author: string;
|
|
20067
|
-
when: string;
|
|
20068
|
-
at: string;
|
|
20069
|
-
source: {
|
|
20070
|
-
runId: string;
|
|
20071
|
-
title: string;
|
|
20072
|
-
prNumber: number | null;
|
|
20073
|
-
};
|
|
20074
|
-
})[];
|
|
20075
|
-
branches: string[];
|
|
20076
|
-
baseBranch: string | null;
|
|
20077
|
-
tracking: {
|
|
20078
|
-
ref: string;
|
|
20079
|
-
ahead: number;
|
|
20080
|
-
behind: number;
|
|
20081
|
-
fetchedAt: string | null;
|
|
20082
|
-
} | null;
|
|
20211
|
+
available: false;
|
|
20212
|
+
reason: string;
|
|
20213
|
+
issues: never[];
|
|
20214
|
+
prs: never[];
|
|
20083
20215
|
};
|
|
20084
20216
|
outputFormat: "json";
|
|
20085
20217
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20086
|
-
input: {
|
|
20087
|
-
|
|
20088
|
-
|
|
20089
|
-
|
|
20090
|
-
|
|
20091
|
-
|
|
20218
|
+
input: {
|
|
20219
|
+
query: {
|
|
20220
|
+
limit?: string | undefined;
|
|
20221
|
+
refresh?: string | undefined;
|
|
20222
|
+
issuesCursor?: string | undefined;
|
|
20223
|
+
prsCursor?: string | undefined;
|
|
20224
|
+
issuesDone?: "1" | undefined;
|
|
20225
|
+
prsDone?: "1" | undefined;
|
|
20226
|
+
};
|
|
20227
|
+
};
|
|
20228
|
+
} | {
|
|
20092
20229
|
output: {
|
|
20093
|
-
|
|
20094
|
-
|
|
20095
|
-
|
|
20096
|
-
|
|
20097
|
-
|
|
20098
|
-
|
|
20099
|
-
|
|
20100
|
-
|
|
20101
|
-
|
|
20102
|
-
|
|
20103
|
-
|
|
20104
|
-
|
|
20105
|
-
|
|
20106
|
-
|
|
20107
|
-
|
|
20108
|
-
|
|
20109
|
-
|
|
20110
|
-
|
|
20111
|
-
|
|
20112
|
-
|
|
20113
|
-
url: string;
|
|
20114
|
-
state: "closed" | "draft" | "merged" | "open";
|
|
20115
|
-
} | null;
|
|
20116
|
-
keptReason?: string | undefined;
|
|
20117
|
-
parentRunId?: string | undefined;
|
|
20230
|
+
available: boolean;
|
|
20231
|
+
reason?: string | undefined;
|
|
20232
|
+
repo?: string | undefined;
|
|
20233
|
+
syncedAt?: string | undefined;
|
|
20234
|
+
issues: {
|
|
20235
|
+
kind: "issue" | "pr";
|
|
20236
|
+
number: number;
|
|
20237
|
+
title: string;
|
|
20238
|
+
author: string;
|
|
20239
|
+
createdAt: string;
|
|
20240
|
+
labels: string[];
|
|
20241
|
+
body?: string | undefined;
|
|
20242
|
+
url: string;
|
|
20243
|
+
comments: number;
|
|
20244
|
+
assignees?: string[] | undefined;
|
|
20245
|
+
projectIds?: string[] | undefined;
|
|
20246
|
+
isDraft?: boolean | undefined;
|
|
20247
|
+
additions?: number | undefined;
|
|
20248
|
+
deletions?: number | undefined;
|
|
20249
|
+
checks?: "failing" | "passing" | "pending" | null | undefined;
|
|
20118
20250
|
}[];
|
|
20119
|
-
|
|
20120
|
-
|
|
20121
|
-
|
|
20122
|
-
|
|
20251
|
+
prs: {
|
|
20252
|
+
kind: "issue" | "pr";
|
|
20253
|
+
number: number;
|
|
20254
|
+
title: string;
|
|
20255
|
+
author: string;
|
|
20256
|
+
createdAt: string;
|
|
20257
|
+
labels: string[];
|
|
20258
|
+
body?: string | undefined;
|
|
20259
|
+
url: string;
|
|
20260
|
+
comments: number;
|
|
20261
|
+
assignees?: string[] | undefined;
|
|
20262
|
+
projectIds?: string[] | undefined;
|
|
20263
|
+
isDraft?: boolean | undefined;
|
|
20264
|
+
additions?: number | undefined;
|
|
20265
|
+
deletions?: number | undefined;
|
|
20266
|
+
checks?: "failing" | "passing" | "pending" | null | undefined;
|
|
20267
|
+
}[];
|
|
20268
|
+
labelColors?: {
|
|
20269
|
+
[x: string]: string;
|
|
20270
|
+
} | undefined;
|
|
20271
|
+
viewerLogin?: string | undefined;
|
|
20272
|
+
projects?: {
|
|
20273
|
+
id: string;
|
|
20274
|
+
title: string;
|
|
20275
|
+
url: string;
|
|
20276
|
+
}[] | undefined;
|
|
20277
|
+
projectsReason?: string | undefined;
|
|
20278
|
+
projectsState?: "ready" | "refreshing" | "unavailable" | undefined;
|
|
20279
|
+
projectsGeneration?: string | undefined;
|
|
20280
|
+
issuesTotal?: number | undefined;
|
|
20281
|
+
prsTotal?: number | undefined;
|
|
20282
|
+
issuesNextCursor?: string | null | undefined;
|
|
20283
|
+
prsNextCursor?: string | null | undefined;
|
|
20284
|
+
commentsDeferred?: true | undefined;
|
|
20123
20285
|
};
|
|
20124
20286
|
outputFormat: "json";
|
|
20125
20287
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20126
|
-
input: {
|
|
20127
|
-
|
|
20128
|
-
|
|
20129
|
-
|
|
20130
|
-
|
|
20131
|
-
|
|
20132
|
-
|
|
20133
|
-
|
|
20134
|
-
prStateKnown: boolean;
|
|
20135
|
-
counts: {
|
|
20136
|
-
notLanded: number;
|
|
20137
|
-
cleanup: number;
|
|
20288
|
+
input: {
|
|
20289
|
+
query: {
|
|
20290
|
+
limit?: string | undefined;
|
|
20291
|
+
refresh?: string | undefined;
|
|
20292
|
+
issuesCursor?: string | undefined;
|
|
20293
|
+
prsCursor?: string | undefined;
|
|
20294
|
+
issuesDone?: "1" | undefined;
|
|
20295
|
+
prsDone?: "1" | undefined;
|
|
20138
20296
|
};
|
|
20139
|
-
allBranches: number;
|
|
20140
20297
|
};
|
|
20141
|
-
outputFormat: "json";
|
|
20142
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20143
|
-
input: {};
|
|
20144
20298
|
};
|
|
20145
20299
|
};
|
|
20146
20300
|
} & {
|
|
20147
|
-
"/
|
|
20148
|
-
$
|
|
20301
|
+
"/github/projects": {
|
|
20302
|
+
$get: {
|
|
20149
20303
|
output: {
|
|
20150
20304
|
error: string;
|
|
20151
|
-
|
|
20152
|
-
name: string;
|
|
20153
|
-
reason: string;
|
|
20154
|
-
}[];
|
|
20305
|
+
code?: "invalid_input" | undefined;
|
|
20155
20306
|
};
|
|
20156
20307
|
outputFormat: "json";
|
|
20157
|
-
status:
|
|
20308
|
+
status: 400;
|
|
20158
20309
|
input: {
|
|
20159
|
-
|
|
20160
|
-
|
|
20161
|
-
confirm?: string | undefined;
|
|
20310
|
+
query: {
|
|
20311
|
+
generation: string | string[];
|
|
20162
20312
|
};
|
|
20163
20313
|
};
|
|
20164
20314
|
} | {
|
|
20165
20315
|
output: {
|
|
20166
|
-
|
|
20167
|
-
|
|
20168
|
-
|
|
20169
|
-
|
|
20316
|
+
generation: string;
|
|
20317
|
+
state: "ready";
|
|
20318
|
+
projects: {
|
|
20319
|
+
id: string;
|
|
20320
|
+
title: string;
|
|
20321
|
+
url: string;
|
|
20170
20322
|
}[];
|
|
20171
|
-
|
|
20172
|
-
|
|
20173
|
-
subject: string;
|
|
20174
|
-
}[] | undefined;
|
|
20175
|
-
};
|
|
20176
|
-
outputFormat: "json";
|
|
20177
|
-
status: 200;
|
|
20178
|
-
input: {
|
|
20179
|
-
json: {
|
|
20180
|
-
names: string[];
|
|
20181
|
-
confirm?: string | undefined;
|
|
20323
|
+
membership: {
|
|
20324
|
+
[x: string]: string[];
|
|
20182
20325
|
};
|
|
20326
|
+
} | {
|
|
20327
|
+
generation: string;
|
|
20328
|
+
state: "unavailable";
|
|
20329
|
+
reason: string;
|
|
20183
20330
|
};
|
|
20184
|
-
|
|
20185
|
-
};
|
|
20186
|
-
} & {
|
|
20187
|
-
"/repo/diff": {
|
|
20188
|
-
$get: {
|
|
20189
|
-
output: string;
|
|
20190
|
-
outputFormat: "text";
|
|
20331
|
+
outputFormat: "json";
|
|
20191
20332
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20192
|
-
input: {
|
|
20333
|
+
input: {
|
|
20334
|
+
query: {
|
|
20335
|
+
generation: string | string[];
|
|
20336
|
+
};
|
|
20337
|
+
};
|
|
20193
20338
|
};
|
|
20194
20339
|
};
|
|
20195
20340
|
} & {
|
|
20196
|
-
"/
|
|
20341
|
+
"/github/comments/:kind/:number": {
|
|
20197
20342
|
$get: {
|
|
20198
|
-
output:
|
|
20199
|
-
|
|
20200
|
-
|
|
20343
|
+
output: {
|
|
20344
|
+
error: string;
|
|
20345
|
+
code?: "invalid_input" | undefined;
|
|
20346
|
+
};
|
|
20347
|
+
outputFormat: "json";
|
|
20348
|
+
status: 400;
|
|
20201
20349
|
input: {
|
|
20202
20350
|
query: {
|
|
20203
|
-
|
|
20351
|
+
refresh?: string | undefined;
|
|
20204
20352
|
};
|
|
20205
20353
|
} & {
|
|
20206
20354
|
param: {
|
|
20207
|
-
|
|
20355
|
+
kind: string;
|
|
20356
|
+
} & {
|
|
20357
|
+
number: string;
|
|
20208
20358
|
};
|
|
20209
20359
|
};
|
|
20210
20360
|
} | {
|
|
20211
20361
|
output: {
|
|
20212
20362
|
error: string;
|
|
20213
|
-
code?: "invalid_input" | undefined;
|
|
20214
20363
|
};
|
|
20215
20364
|
outputFormat: "json";
|
|
20216
20365
|
status: 400;
|
|
20217
20366
|
input: {
|
|
20218
20367
|
query: {
|
|
20219
|
-
|
|
20368
|
+
refresh?: string | undefined;
|
|
20220
20369
|
};
|
|
20221
20370
|
} & {
|
|
20222
20371
|
param: {
|
|
20223
|
-
|
|
20372
|
+
kind: string;
|
|
20373
|
+
} & {
|
|
20374
|
+
number: string;
|
|
20224
20375
|
};
|
|
20225
20376
|
};
|
|
20226
20377
|
} | {
|
|
20227
20378
|
output: {
|
|
20228
|
-
|
|
20229
|
-
|
|
20230
|
-
|
|
20231
|
-
when: string;
|
|
20232
|
-
files: {
|
|
20233
|
-
path: string;
|
|
20234
|
-
oldPath?: string;
|
|
20235
|
-
status: 'added' | 'modified' | 'deleted' | 'renamed' | 'copied';
|
|
20236
|
-
adds: number;
|
|
20237
|
-
dels: number;
|
|
20238
|
-
binary: boolean;
|
|
20239
|
-
image?: boolean;
|
|
20240
|
-
patch: string;
|
|
20241
|
-
}[];
|
|
20242
|
-
stat: {
|
|
20243
|
-
adds: number;
|
|
20244
|
-
dels: number;
|
|
20245
|
-
files: number;
|
|
20246
|
-
};
|
|
20379
|
+
available: false;
|
|
20380
|
+
reason: string;
|
|
20381
|
+
comments: never[];
|
|
20247
20382
|
};
|
|
20248
20383
|
outputFormat: "json";
|
|
20249
20384
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20250
20385
|
input: {
|
|
20251
20386
|
query: {
|
|
20252
|
-
|
|
20387
|
+
refresh?: string | undefined;
|
|
20253
20388
|
};
|
|
20254
20389
|
} & {
|
|
20255
20390
|
param: {
|
|
20256
|
-
|
|
20391
|
+
kind: string;
|
|
20392
|
+
} & {
|
|
20393
|
+
number: string;
|
|
20257
20394
|
};
|
|
20258
20395
|
};
|
|
20259
20396
|
} | {
|
|
20260
20397
|
output: {
|
|
20261
|
-
|
|
20398
|
+
available: boolean;
|
|
20399
|
+
reason?: string | undefined;
|
|
20400
|
+
comments: {
|
|
20401
|
+
id: number;
|
|
20402
|
+
author: string;
|
|
20403
|
+
avatarUrl?: string | undefined;
|
|
20404
|
+
createdAt: string;
|
|
20405
|
+
body: string;
|
|
20406
|
+
kind: "comment" | "review";
|
|
20407
|
+
reviewState?: "approved" | "changes_requested" | "commented" | "dismissed" | undefined;
|
|
20408
|
+
url: string;
|
|
20409
|
+
}[];
|
|
20410
|
+
truncated?: boolean | undefined;
|
|
20411
|
+
events?: {
|
|
20412
|
+
id: string;
|
|
20413
|
+
kind: "assigned" | "closed" | "committed" | "cross-referenced" | "head_ref_force_pushed" | "labeled" | "merged" | "renamed" | "reopened" | "unassigned" | "unlabeled";
|
|
20414
|
+
actor: string;
|
|
20415
|
+
avatarUrl?: string | undefined;
|
|
20416
|
+
createdAt: string;
|
|
20417
|
+
url?: string | undefined;
|
|
20418
|
+
sha?: string | undefined;
|
|
20419
|
+
message?: string | undefined;
|
|
20420
|
+
checks?: "failing" | "passing" | "pending" | null | undefined;
|
|
20421
|
+
label?: {
|
|
20422
|
+
name: string;
|
|
20423
|
+
color?: string | undefined;
|
|
20424
|
+
} | undefined;
|
|
20425
|
+
subject?: string | undefined;
|
|
20426
|
+
refNumber?: number | undefined;
|
|
20427
|
+
refTitle?: string | undefined;
|
|
20428
|
+
refIsPr?: boolean | undefined;
|
|
20429
|
+
}[] | undefined;
|
|
20430
|
+
detail?: {
|
|
20431
|
+
body: string;
|
|
20432
|
+
additions?: number | undefined;
|
|
20433
|
+
deletions?: number | undefined;
|
|
20434
|
+
} | undefined;
|
|
20262
20435
|
};
|
|
20263
20436
|
outputFormat: "json";
|
|
20264
|
-
status:
|
|
20437
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20265
20438
|
input: {
|
|
20266
20439
|
query: {
|
|
20267
|
-
|
|
20440
|
+
refresh?: string | undefined;
|
|
20268
20441
|
};
|
|
20269
20442
|
} & {
|
|
20270
20443
|
param: {
|
|
20271
|
-
|
|
20444
|
+
kind: string;
|
|
20445
|
+
} & {
|
|
20446
|
+
number: string;
|
|
20272
20447
|
};
|
|
20273
20448
|
};
|
|
20274
20449
|
};
|
|
20275
20450
|
};
|
|
20276
20451
|
} & {
|
|
20277
|
-
"/
|
|
20452
|
+
"/github/items/:kind/:number": {
|
|
20278
20453
|
$get: {
|
|
20279
20454
|
output: {
|
|
20280
|
-
|
|
20281
|
-
|
|
20282
|
-
oldPath?: string;
|
|
20283
|
-
status: 'added' | 'modified' | 'deleted' | 'renamed' | 'copied';
|
|
20284
|
-
adds: number;
|
|
20285
|
-
dels: number;
|
|
20286
|
-
binary: boolean;
|
|
20287
|
-
image?: boolean;
|
|
20288
|
-
patch: string;
|
|
20289
|
-
}[];
|
|
20290
|
-
stat: {
|
|
20291
|
-
adds: number;
|
|
20292
|
-
dels: number;
|
|
20293
|
-
files: number;
|
|
20294
|
-
};
|
|
20295
|
-
repointedHead?: {
|
|
20296
|
-
headBranch: string;
|
|
20297
|
-
taskBranch: string;
|
|
20298
|
-
} | undefined;
|
|
20455
|
+
error: string;
|
|
20456
|
+
code?: "invalid_input" | undefined;
|
|
20299
20457
|
};
|
|
20300
20458
|
outputFormat: "json";
|
|
20301
|
-
status:
|
|
20302
|
-
input: {
|
|
20459
|
+
status: 400;
|
|
20460
|
+
input: {
|
|
20461
|
+
param: {
|
|
20462
|
+
kind: "issue" | "pr";
|
|
20463
|
+
number: string;
|
|
20464
|
+
};
|
|
20465
|
+
} & {
|
|
20466
|
+
query: {
|
|
20467
|
+
refresh?: string | undefined;
|
|
20468
|
+
};
|
|
20469
|
+
};
|
|
20303
20470
|
} | {
|
|
20304
20471
|
output: {
|
|
20305
|
-
|
|
20472
|
+
available: true;
|
|
20473
|
+
item: {
|
|
20474
|
+
kind: "issue" | "pr";
|
|
20475
|
+
number: number;
|
|
20476
|
+
title: string;
|
|
20477
|
+
author: string;
|
|
20478
|
+
createdAt: string;
|
|
20479
|
+
labels: string[];
|
|
20480
|
+
body?: string | undefined;
|
|
20481
|
+
url: string;
|
|
20482
|
+
comments: number;
|
|
20483
|
+
assignees?: string[] | undefined;
|
|
20484
|
+
projectIds?: string[] | undefined;
|
|
20485
|
+
isDraft?: boolean | undefined;
|
|
20486
|
+
additions?: number | undefined;
|
|
20487
|
+
deletions?: number | undefined;
|
|
20488
|
+
checks?: "failing" | "passing" | "pending" | null | undefined;
|
|
20489
|
+
} | null;
|
|
20490
|
+
labelColors?: {
|
|
20491
|
+
[x: string]: string;
|
|
20492
|
+
} | undefined;
|
|
20493
|
+
} | {
|
|
20494
|
+
available: false;
|
|
20495
|
+
reason: string;
|
|
20306
20496
|
};
|
|
20307
20497
|
outputFormat: "json";
|
|
20308
|
-
status:
|
|
20309
|
-
input: {
|
|
20498
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20499
|
+
input: {
|
|
20500
|
+
param: {
|
|
20501
|
+
kind: "issue" | "pr";
|
|
20502
|
+
number: string;
|
|
20503
|
+
};
|
|
20504
|
+
} & {
|
|
20505
|
+
query: {
|
|
20506
|
+
refresh?: string | undefined;
|
|
20507
|
+
};
|
|
20508
|
+
};
|
|
20310
20509
|
};
|
|
20311
20510
|
};
|
|
20312
20511
|
} & {
|
|
20313
|
-
"/
|
|
20512
|
+
"/github/checks": {
|
|
20314
20513
|
$get: {
|
|
20315
20514
|
output: {
|
|
20316
20515
|
error: string;
|
|
20516
|
+
code?: "invalid_input" | undefined;
|
|
20317
20517
|
};
|
|
20318
20518
|
outputFormat: "json";
|
|
20319
|
-
status:
|
|
20320
|
-
input: {
|
|
20321
|
-
|
|
20322
|
-
|
|
20323
|
-
|
|
20519
|
+
status: 400;
|
|
20520
|
+
input: {
|
|
20521
|
+
query: {
|
|
20522
|
+
prs: string | string[];
|
|
20523
|
+
};
|
|
20324
20524
|
};
|
|
20325
|
-
|
|
20326
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20327
|
-
input: {};
|
|
20328
|
-
};
|
|
20329
|
-
};
|
|
20330
|
-
} & {
|
|
20331
|
-
"/repo/pull": {
|
|
20332
|
-
$post: {
|
|
20525
|
+
} | {
|
|
20333
20526
|
output: {
|
|
20334
20527
|
error: string;
|
|
20335
20528
|
};
|
|
20336
20529
|
outputFormat: "json";
|
|
20337
|
-
status:
|
|
20530
|
+
status: 400;
|
|
20338
20531
|
input: {
|
|
20339
|
-
|
|
20340
|
-
|
|
20341
|
-
confirm?: boolean | undefined;
|
|
20532
|
+
query: {
|
|
20533
|
+
prs: string | string[];
|
|
20342
20534
|
};
|
|
20343
20535
|
};
|
|
20344
20536
|
} | {
|
|
20345
20537
|
output: {
|
|
20346
|
-
|
|
20347
|
-
|
|
20348
|
-
|
|
20538
|
+
available: true;
|
|
20539
|
+
checks: {
|
|
20540
|
+
[x: number]: "failing" | "passing" | "pending" | null;
|
|
20541
|
+
};
|
|
20542
|
+
} | {
|
|
20543
|
+
available: false;
|
|
20544
|
+
reason: string;
|
|
20349
20545
|
};
|
|
20350
20546
|
outputFormat: "json";
|
|
20351
|
-
status:
|
|
20547
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20352
20548
|
input: {
|
|
20353
|
-
|
|
20354
|
-
|
|
20355
|
-
confirm?: boolean | undefined;
|
|
20549
|
+
query: {
|
|
20550
|
+
prs: string | string[];
|
|
20356
20551
|
};
|
|
20357
20552
|
};
|
|
20358
20553
|
};
|
|
20359
20554
|
};
|
|
20360
20555
|
} & {
|
|
20361
|
-
"/
|
|
20362
|
-
$
|
|
20556
|
+
"/github/comment-counts": {
|
|
20557
|
+
$get: {
|
|
20363
20558
|
output: {
|
|
20364
20559
|
error: string;
|
|
20560
|
+
code?: "invalid_input" | undefined;
|
|
20365
20561
|
};
|
|
20366
20562
|
outputFormat: "json";
|
|
20367
|
-
status:
|
|
20563
|
+
status: 400;
|
|
20368
20564
|
input: {
|
|
20369
|
-
|
|
20370
|
-
|
|
20371
|
-
|
|
20565
|
+
query: {
|
|
20566
|
+
kind: "issue" | "pr";
|
|
20567
|
+
numbers: string | string[];
|
|
20568
|
+
refresh?: "1" | undefined;
|
|
20372
20569
|
};
|
|
20373
20570
|
};
|
|
20374
20571
|
} | {
|
|
20375
20572
|
output: {
|
|
20376
|
-
|
|
20377
|
-
|
|
20573
|
+
available: true;
|
|
20574
|
+
counts: {
|
|
20575
|
+
[x: number]: number;
|
|
20576
|
+
};
|
|
20577
|
+
} | {
|
|
20578
|
+
available: false;
|
|
20579
|
+
reason: string;
|
|
20378
20580
|
};
|
|
20379
20581
|
outputFormat: "json";
|
|
20380
20582
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20381
20583
|
input: {
|
|
20382
|
-
|
|
20383
|
-
|
|
20384
|
-
|
|
20584
|
+
query: {
|
|
20585
|
+
kind: "issue" | "pr";
|
|
20586
|
+
numbers: string | string[];
|
|
20587
|
+
refresh?: "1" | undefined;
|
|
20385
20588
|
};
|
|
20386
20589
|
};
|
|
20387
20590
|
};
|
|
20388
20591
|
};
|
|
20389
|
-
}
|
|
20390
|
-
"/github": {
|
|
20592
|
+
} & {
|
|
20593
|
+
"/github/search": {
|
|
20391
20594
|
$get: {
|
|
20392
20595
|
output: {
|
|
20393
20596
|
error: string;
|
|
@@ -20397,57 +20600,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20397
20600
|
status: 400;
|
|
20398
20601
|
input: {
|
|
20399
20602
|
query: {
|
|
20400
|
-
|
|
20401
|
-
|
|
20402
|
-
|
|
20403
|
-
prsCursor?: string | undefined;
|
|
20404
|
-
issuesDone?: "1" | undefined;
|
|
20405
|
-
prsDone?: "1" | undefined;
|
|
20603
|
+
kind: "issue" | "pr";
|
|
20604
|
+
q: string | string[];
|
|
20605
|
+
limit?: number | undefined;
|
|
20406
20606
|
};
|
|
20407
20607
|
};
|
|
20408
20608
|
} | {
|
|
20409
20609
|
output: {
|
|
20410
20610
|
available: false;
|
|
20411
20611
|
reason: string;
|
|
20412
|
-
|
|
20413
|
-
prs: never[];
|
|
20612
|
+
items: never[];
|
|
20414
20613
|
};
|
|
20415
20614
|
outputFormat: "json";
|
|
20416
20615
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20417
20616
|
input: {
|
|
20418
20617
|
query: {
|
|
20419
|
-
|
|
20420
|
-
|
|
20421
|
-
|
|
20422
|
-
prsCursor?: string | undefined;
|
|
20423
|
-
issuesDone?: "1" | undefined;
|
|
20424
|
-
prsDone?: "1" | undefined;
|
|
20618
|
+
kind: "issue" | "pr";
|
|
20619
|
+
q: string | string[];
|
|
20620
|
+
limit?: number | undefined;
|
|
20425
20621
|
};
|
|
20426
20622
|
};
|
|
20427
20623
|
} | {
|
|
20428
20624
|
output: {
|
|
20429
20625
|
available: boolean;
|
|
20626
|
+
projectsReason?: string | undefined;
|
|
20430
20627
|
reason?: string | undefined;
|
|
20431
|
-
|
|
20432
|
-
syncedAt?: string | undefined;
|
|
20433
|
-
issues: {
|
|
20434
|
-
kind: "issue" | "pr";
|
|
20435
|
-
number: number;
|
|
20436
|
-
title: string;
|
|
20437
|
-
author: string;
|
|
20438
|
-
createdAt: string;
|
|
20439
|
-
labels: string[];
|
|
20440
|
-
body?: string | undefined;
|
|
20441
|
-
url: string;
|
|
20442
|
-
comments: number;
|
|
20443
|
-
assignees?: string[] | undefined;
|
|
20444
|
-
projectIds?: string[] | undefined;
|
|
20445
|
-
isDraft?: boolean | undefined;
|
|
20446
|
-
additions?: number | undefined;
|
|
20447
|
-
deletions?: number | undefined;
|
|
20448
|
-
checks?: "failing" | "passing" | "pending" | null | undefined;
|
|
20449
|
-
}[];
|
|
20450
|
-
prs: {
|
|
20628
|
+
items: {
|
|
20451
20629
|
kind: "issue" | "pr";
|
|
20452
20630
|
number: number;
|
|
20453
20631
|
title: string;
|
|
@@ -20464,40 +20642,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20464
20642
|
deletions?: number | undefined;
|
|
20465
20643
|
checks?: "failing" | "passing" | "pending" | null | undefined;
|
|
20466
20644
|
}[];
|
|
20645
|
+
truncated?: boolean | undefined;
|
|
20467
20646
|
labelColors?: {
|
|
20468
20647
|
[x: string]: string;
|
|
20469
20648
|
} | undefined;
|
|
20470
|
-
viewerLogin?: string | undefined;
|
|
20471
|
-
projects?: {
|
|
20472
|
-
id: string;
|
|
20473
|
-
title: string;
|
|
20474
|
-
url: string;
|
|
20475
|
-
}[] | undefined;
|
|
20476
|
-
projectsReason?: string | undefined;
|
|
20477
|
-
projectsState?: "ready" | "refreshing" | "unavailable" | undefined;
|
|
20478
|
-
projectsGeneration?: string | undefined;
|
|
20479
|
-
issuesTotal?: number | undefined;
|
|
20480
|
-
prsTotal?: number | undefined;
|
|
20481
|
-
issuesNextCursor?: string | null | undefined;
|
|
20482
|
-
prsNextCursor?: string | null | undefined;
|
|
20483
|
-
commentsDeferred?: true | undefined;
|
|
20484
20649
|
};
|
|
20485
20650
|
outputFormat: "json";
|
|
20486
20651
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20487
20652
|
input: {
|
|
20488
20653
|
query: {
|
|
20489
|
-
|
|
20490
|
-
|
|
20491
|
-
|
|
20492
|
-
prsCursor?: string | undefined;
|
|
20493
|
-
issuesDone?: "1" | undefined;
|
|
20494
|
-
prsDone?: "1" | undefined;
|
|
20654
|
+
kind: "issue" | "pr";
|
|
20655
|
+
q: string | string[];
|
|
20656
|
+
limit?: number | undefined;
|
|
20495
20657
|
};
|
|
20496
20658
|
};
|
|
20497
20659
|
};
|
|
20498
20660
|
};
|
|
20499
20661
|
} & {
|
|
20500
|
-
"/github/
|
|
20662
|
+
"/github/ref-status": {
|
|
20501
20663
|
$get: {
|
|
20502
20664
|
output: {
|
|
20503
20665
|
error: string;
|
|
@@ -20507,37 +20669,50 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20507
20669
|
status: 400;
|
|
20508
20670
|
input: {
|
|
20509
20671
|
query: {
|
|
20510
|
-
|
|
20672
|
+
prs?: string | undefined;
|
|
20673
|
+
issues?: string | undefined;
|
|
20511
20674
|
};
|
|
20512
20675
|
};
|
|
20513
20676
|
} | {
|
|
20514
20677
|
output: {
|
|
20515
|
-
|
|
20516
|
-
|
|
20517
|
-
|
|
20518
|
-
|
|
20519
|
-
|
|
20520
|
-
|
|
20521
|
-
|
|
20522
|
-
|
|
20523
|
-
|
|
20678
|
+
error: string;
|
|
20679
|
+
};
|
|
20680
|
+
outputFormat: "json";
|
|
20681
|
+
status: 400;
|
|
20682
|
+
input: {
|
|
20683
|
+
query: {
|
|
20684
|
+
prs?: string | undefined;
|
|
20685
|
+
issues?: string | undefined;
|
|
20686
|
+
};
|
|
20687
|
+
};
|
|
20688
|
+
} | {
|
|
20689
|
+
output: {
|
|
20690
|
+
available: true;
|
|
20691
|
+
prs: {
|
|
20692
|
+
[x: number]: "changes-requested" | "checks-failing" | "checks-pending" | "closed" | "completed" | "draft" | "merged" | "not-planned" | "open" | "ready" | "review-required";
|
|
20693
|
+
};
|
|
20694
|
+
issues: {
|
|
20695
|
+
[x: number]: "changes-requested" | "checks-failing" | "checks-pending" | "closed" | "completed" | "draft" | "merged" | "not-planned" | "open" | "ready" | "review-required";
|
|
20524
20696
|
};
|
|
20697
|
+
conflicts?: number[] | undefined;
|
|
20698
|
+
recheckAfterMs: number | null;
|
|
20525
20699
|
} | {
|
|
20526
|
-
|
|
20527
|
-
state: "unavailable";
|
|
20700
|
+
available: false;
|
|
20528
20701
|
reason: string;
|
|
20702
|
+
recheckAfterMs: number | null;
|
|
20529
20703
|
};
|
|
20530
20704
|
outputFormat: "json";
|
|
20531
20705
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20532
20706
|
input: {
|
|
20533
20707
|
query: {
|
|
20534
|
-
|
|
20708
|
+
prs?: string | undefined;
|
|
20709
|
+
issues?: string | undefined;
|
|
20535
20710
|
};
|
|
20536
20711
|
};
|
|
20537
20712
|
};
|
|
20538
20713
|
};
|
|
20539
20714
|
} & {
|
|
20540
|
-
"/github/
|
|
20715
|
+
"/github/prs/:number/merge-state": {
|
|
20541
20716
|
$get: {
|
|
20542
20717
|
output: {
|
|
20543
20718
|
error: string;
|
|
@@ -20546,109 +20721,168 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20546
20721
|
outputFormat: "json";
|
|
20547
20722
|
status: 400;
|
|
20548
20723
|
input: {
|
|
20724
|
+
param: {
|
|
20725
|
+
number: string;
|
|
20726
|
+
};
|
|
20727
|
+
} & {
|
|
20549
20728
|
query: {
|
|
20550
20729
|
refresh?: string | undefined;
|
|
20551
20730
|
};
|
|
20552
|
-
}
|
|
20731
|
+
};
|
|
20732
|
+
} | {
|
|
20733
|
+
output: {
|
|
20734
|
+
available: true;
|
|
20735
|
+
mergeState: {
|
|
20736
|
+
number: number;
|
|
20737
|
+
title: string;
|
|
20738
|
+
url: string;
|
|
20739
|
+
state: "closed" | "merged" | "open";
|
|
20740
|
+
isDraft: boolean;
|
|
20741
|
+
headRef: string;
|
|
20742
|
+
baseRef: string;
|
|
20743
|
+
headSha: string;
|
|
20744
|
+
mergeable: "conflicting" | "mergeable" | "unknown";
|
|
20745
|
+
reviewDecision: "approved" | "changes-requested" | "not-required" | "review-required" | "unknown";
|
|
20746
|
+
checks: {
|
|
20747
|
+
name: string;
|
|
20748
|
+
state: "failing" | "passing" | "pending" | "unknown";
|
|
20749
|
+
required: boolean | null;
|
|
20750
|
+
url?: string | undefined;
|
|
20751
|
+
}[];
|
|
20752
|
+
methods: ("merge" | "rebase" | "squash")[];
|
|
20753
|
+
defaultMethod: "merge" | "rebase" | "squash" | null;
|
|
20754
|
+
eligibility: "blocked" | "pending" | "ready" | "terminal" | "unauthorized" | "unknown";
|
|
20755
|
+
blockers: {
|
|
20756
|
+
code: string;
|
|
20757
|
+
message: string;
|
|
20758
|
+
}[];
|
|
20759
|
+
canMerge: boolean;
|
|
20760
|
+
canOverride: boolean;
|
|
20761
|
+
};
|
|
20762
|
+
} | {
|
|
20763
|
+
available: false;
|
|
20764
|
+
reason: string;
|
|
20765
|
+
};
|
|
20766
|
+
outputFormat: "json";
|
|
20767
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20768
|
+
input: {
|
|
20553
20769
|
param: {
|
|
20554
|
-
kind: string;
|
|
20555
|
-
} & {
|
|
20556
20770
|
number: string;
|
|
20557
20771
|
};
|
|
20772
|
+
} & {
|
|
20773
|
+
query: {
|
|
20774
|
+
refresh?: string | undefined;
|
|
20775
|
+
};
|
|
20558
20776
|
};
|
|
20559
|
-
}
|
|
20777
|
+
};
|
|
20778
|
+
};
|
|
20779
|
+
} & {
|
|
20780
|
+
"/github/prs/:number/merge": {
|
|
20781
|
+
$post: {
|
|
20560
20782
|
output: {
|
|
20561
20783
|
error: string;
|
|
20784
|
+
code?: "invalid_input" | undefined;
|
|
20562
20785
|
};
|
|
20563
20786
|
outputFormat: "json";
|
|
20564
20787
|
status: 400;
|
|
20565
20788
|
input: {
|
|
20566
|
-
|
|
20567
|
-
|
|
20789
|
+
param: {
|
|
20790
|
+
number: string;
|
|
20568
20791
|
};
|
|
20569
20792
|
} & {
|
|
20793
|
+
json: {
|
|
20794
|
+
method: "merge" | "rebase" | "squash";
|
|
20795
|
+
expectedHeadSha: string;
|
|
20796
|
+
overrideRules?: boolean | undefined;
|
|
20797
|
+
};
|
|
20798
|
+
};
|
|
20799
|
+
} | {
|
|
20800
|
+
output: {
|
|
20801
|
+
error: string;
|
|
20802
|
+
};
|
|
20803
|
+
outputFormat: "json";
|
|
20804
|
+
status: 409;
|
|
20805
|
+
input: {
|
|
20570
20806
|
param: {
|
|
20571
|
-
kind: string;
|
|
20572
|
-
} & {
|
|
20573
20807
|
number: string;
|
|
20574
20808
|
};
|
|
20809
|
+
} & {
|
|
20810
|
+
json: {
|
|
20811
|
+
method: "merge" | "rebase" | "squash";
|
|
20812
|
+
expectedHeadSha: string;
|
|
20813
|
+
overrideRules?: boolean | undefined;
|
|
20814
|
+
};
|
|
20575
20815
|
};
|
|
20576
20816
|
} | {
|
|
20577
20817
|
output: {
|
|
20578
|
-
|
|
20579
|
-
|
|
20580
|
-
|
|
20818
|
+
merged: true;
|
|
20819
|
+
number: number;
|
|
20820
|
+
url: string;
|
|
20821
|
+
method: import("../core/forge-registry.ts").ForgeMergeMethod;
|
|
20822
|
+
mergeCommitSha?: string;
|
|
20581
20823
|
};
|
|
20582
20824
|
outputFormat: "json";
|
|
20583
20825
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20584
20826
|
input: {
|
|
20585
|
-
query: {
|
|
20586
|
-
refresh?: string | undefined;
|
|
20587
|
-
};
|
|
20588
|
-
} & {
|
|
20589
20827
|
param: {
|
|
20590
|
-
kind: string;
|
|
20591
|
-
} & {
|
|
20592
20828
|
number: string;
|
|
20593
20829
|
};
|
|
20830
|
+
} & {
|
|
20831
|
+
json: {
|
|
20832
|
+
method: "merge" | "rebase" | "squash";
|
|
20833
|
+
expectedHeadSha: string;
|
|
20834
|
+
overrideRules?: boolean | undefined;
|
|
20835
|
+
};
|
|
20594
20836
|
};
|
|
20595
20837
|
} | {
|
|
20596
20838
|
output: {
|
|
20597
|
-
|
|
20598
|
-
|
|
20599
|
-
|
|
20600
|
-
|
|
20601
|
-
|
|
20602
|
-
avatarUrl?: string | undefined;
|
|
20603
|
-
createdAt: string;
|
|
20604
|
-
body: string;
|
|
20605
|
-
kind: "comment" | "review";
|
|
20606
|
-
reviewState?: "approved" | "changes_requested" | "commented" | "dismissed" | undefined;
|
|
20839
|
+
error: string;
|
|
20840
|
+
code?: string | undefined;
|
|
20841
|
+
current?: {
|
|
20842
|
+
number: number;
|
|
20843
|
+
title: string;
|
|
20607
20844
|
url: string;
|
|
20608
|
-
|
|
20609
|
-
|
|
20610
|
-
|
|
20611
|
-
|
|
20612
|
-
|
|
20613
|
-
|
|
20614
|
-
|
|
20615
|
-
|
|
20616
|
-
|
|
20617
|
-
|
|
20618
|
-
|
|
20619
|
-
|
|
20620
|
-
|
|
20621
|
-
|
|
20622
|
-
|
|
20623
|
-
|
|
20624
|
-
|
|
20625
|
-
|
|
20626
|
-
|
|
20627
|
-
|
|
20628
|
-
|
|
20629
|
-
|
|
20630
|
-
body: string;
|
|
20631
|
-
additions?: number | undefined;
|
|
20632
|
-
deletions?: number | undefined;
|
|
20845
|
+
state: "closed" | "merged" | "open";
|
|
20846
|
+
isDraft: boolean;
|
|
20847
|
+
headRef: string;
|
|
20848
|
+
baseRef: string;
|
|
20849
|
+
headSha: string;
|
|
20850
|
+
mergeable: "conflicting" | "mergeable" | "unknown";
|
|
20851
|
+
reviewDecision: "approved" | "changes-requested" | "not-required" | "review-required" | "unknown";
|
|
20852
|
+
checks: {
|
|
20853
|
+
name: string;
|
|
20854
|
+
state: "failing" | "passing" | "pending" | "unknown";
|
|
20855
|
+
required: boolean | null;
|
|
20856
|
+
url?: string | undefined;
|
|
20857
|
+
}[];
|
|
20858
|
+
methods: ("merge" | "rebase" | "squash")[];
|
|
20859
|
+
defaultMethod: "merge" | "rebase" | "squash" | null;
|
|
20860
|
+
eligibility: "blocked" | "pending" | "ready" | "terminal" | "unauthorized" | "unknown";
|
|
20861
|
+
blockers: {
|
|
20862
|
+
code: string;
|
|
20863
|
+
message: string;
|
|
20864
|
+
}[];
|
|
20865
|
+
canMerge: boolean;
|
|
20866
|
+
canOverride: boolean;
|
|
20633
20867
|
} | undefined;
|
|
20634
20868
|
};
|
|
20635
20869
|
outputFormat: "json";
|
|
20636
|
-
status:
|
|
20870
|
+
status: 403 | 404 | 409 | 502;
|
|
20637
20871
|
input: {
|
|
20638
|
-
query: {
|
|
20639
|
-
refresh?: string | undefined;
|
|
20640
|
-
};
|
|
20641
|
-
} & {
|
|
20642
20872
|
param: {
|
|
20643
|
-
kind: string;
|
|
20644
|
-
} & {
|
|
20645
20873
|
number: string;
|
|
20646
20874
|
};
|
|
20875
|
+
} & {
|
|
20876
|
+
json: {
|
|
20877
|
+
method: "merge" | "rebase" | "squash";
|
|
20878
|
+
expectedHeadSha: string;
|
|
20879
|
+
overrideRules?: boolean | undefined;
|
|
20880
|
+
};
|
|
20647
20881
|
};
|
|
20648
20882
|
};
|
|
20649
20883
|
};
|
|
20650
20884
|
} & {
|
|
20651
|
-
"/github/
|
|
20885
|
+
"/github/prs/:number/changes": {
|
|
20652
20886
|
$get: {
|
|
20653
20887
|
output: {
|
|
20654
20888
|
error: string;
|
|
@@ -20658,37 +20892,47 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20658
20892
|
status: 400;
|
|
20659
20893
|
input: {
|
|
20660
20894
|
param: {
|
|
20661
|
-
kind: "issue" | "pr";
|
|
20662
20895
|
number: string;
|
|
20663
20896
|
};
|
|
20664
20897
|
} & {
|
|
20665
20898
|
query: {
|
|
20666
|
-
refresh?:
|
|
20899
|
+
refresh?: "1" | undefined;
|
|
20900
|
+
};
|
|
20901
|
+
};
|
|
20902
|
+
} | {
|
|
20903
|
+
output: {
|
|
20904
|
+
error: string;
|
|
20905
|
+
};
|
|
20906
|
+
outputFormat: "json";
|
|
20907
|
+
status: 404;
|
|
20908
|
+
input: {
|
|
20909
|
+
param: {
|
|
20910
|
+
number: string;
|
|
20911
|
+
};
|
|
20912
|
+
} & {
|
|
20913
|
+
query: {
|
|
20914
|
+
refresh?: "1" | undefined;
|
|
20667
20915
|
};
|
|
20668
20916
|
};
|
|
20669
20917
|
} | {
|
|
20670
20918
|
output: {
|
|
20671
20919
|
available: true;
|
|
20672
|
-
|
|
20673
|
-
|
|
20674
|
-
|
|
20675
|
-
|
|
20676
|
-
|
|
20677
|
-
|
|
20678
|
-
|
|
20679
|
-
|
|
20680
|
-
|
|
20681
|
-
|
|
20682
|
-
|
|
20683
|
-
|
|
20684
|
-
|
|
20685
|
-
|
|
20686
|
-
|
|
20687
|
-
|
|
20688
|
-
} | null;
|
|
20689
|
-
labelColors?: {
|
|
20690
|
-
[x: string]: string;
|
|
20691
|
-
} | undefined;
|
|
20920
|
+
number: number;
|
|
20921
|
+
headSha: string;
|
|
20922
|
+
files: {
|
|
20923
|
+
path: string;
|
|
20924
|
+
previousPath?: string;
|
|
20925
|
+
status: 'added' | 'modified' | 'removed' | 'renamed' | 'copied' | 'changed';
|
|
20926
|
+
additions: number;
|
|
20927
|
+
deletions: number;
|
|
20928
|
+
patch?: string;
|
|
20929
|
+
patchUnavailableReason?: 'binary' | 'too-large' | 'not-provided';
|
|
20930
|
+
truncated?: boolean;
|
|
20931
|
+
}[];
|
|
20932
|
+
additions: number;
|
|
20933
|
+
deletions: number;
|
|
20934
|
+
truncated: boolean;
|
|
20935
|
+
reason?: string;
|
|
20692
20936
|
} | {
|
|
20693
20937
|
available: false;
|
|
20694
20938
|
reason: string;
|
|
@@ -20697,100 +20941,196 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20697
20941
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20698
20942
|
input: {
|
|
20699
20943
|
param: {
|
|
20700
|
-
kind: "issue" | "pr";
|
|
20701
20944
|
number: string;
|
|
20702
20945
|
};
|
|
20703
20946
|
} & {
|
|
20704
20947
|
query: {
|
|
20705
|
-
refresh?:
|
|
20948
|
+
refresh?: "1" | undefined;
|
|
20706
20949
|
};
|
|
20707
20950
|
};
|
|
20708
20951
|
};
|
|
20709
20952
|
};
|
|
20710
|
-
}
|
|
20711
|
-
"/
|
|
20953
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
20954
|
+
"/repo": {
|
|
20712
20955
|
$get: {
|
|
20713
20956
|
output: {
|
|
20714
|
-
|
|
20715
|
-
|
|
20957
|
+
info: null;
|
|
20958
|
+
status: never[];
|
|
20959
|
+
log: never[];
|
|
20960
|
+
branches: never[];
|
|
20961
|
+
baseBranch: null;
|
|
20962
|
+
tracking: null;
|
|
20716
20963
|
};
|
|
20717
20964
|
outputFormat: "json";
|
|
20718
|
-
status:
|
|
20719
|
-
input: {
|
|
20720
|
-
query: {
|
|
20721
|
-
prs: string | string[];
|
|
20722
|
-
};
|
|
20723
|
-
};
|
|
20965
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20966
|
+
input: {};
|
|
20724
20967
|
} | {
|
|
20725
20968
|
output: {
|
|
20726
|
-
|
|
20727
|
-
|
|
20728
|
-
|
|
20729
|
-
|
|
20730
|
-
input: {
|
|
20731
|
-
query: {
|
|
20732
|
-
prs: string | string[];
|
|
20969
|
+
info: {
|
|
20970
|
+
root: string;
|
|
20971
|
+
branch: string;
|
|
20972
|
+
remote?: string | undefined;
|
|
20733
20973
|
};
|
|
20974
|
+
status: {
|
|
20975
|
+
status: string;
|
|
20976
|
+
path: string;
|
|
20977
|
+
}[];
|
|
20978
|
+
log: ({
|
|
20979
|
+
hash: string;
|
|
20980
|
+
subject: string;
|
|
20981
|
+
author: string;
|
|
20982
|
+
when: string;
|
|
20983
|
+
at: string;
|
|
20984
|
+
} | {
|
|
20985
|
+
hash: string;
|
|
20986
|
+
subject: string;
|
|
20987
|
+
author: string;
|
|
20988
|
+
when: string;
|
|
20989
|
+
at: string;
|
|
20990
|
+
source: {
|
|
20991
|
+
runId: string;
|
|
20992
|
+
title: string;
|
|
20993
|
+
prNumber: number | null;
|
|
20994
|
+
};
|
|
20995
|
+
})[];
|
|
20996
|
+
branches: string[];
|
|
20997
|
+
baseBranch: string | null;
|
|
20998
|
+
tracking: {
|
|
20999
|
+
ref: string;
|
|
21000
|
+
ahead: number;
|
|
21001
|
+
behind: number;
|
|
21002
|
+
fetchedAt: string | null;
|
|
21003
|
+
} | null;
|
|
20734
21004
|
};
|
|
20735
|
-
|
|
21005
|
+
outputFormat: "json";
|
|
21006
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21007
|
+
input: {};
|
|
21008
|
+
};
|
|
21009
|
+
};
|
|
21010
|
+
} & {
|
|
21011
|
+
"/repo/branches": {
|
|
21012
|
+
$get: {
|
|
20736
21013
|
output: {
|
|
20737
|
-
|
|
20738
|
-
|
|
20739
|
-
|
|
21014
|
+
base: string;
|
|
21015
|
+
prStateKnown: boolean;
|
|
21016
|
+
branches: {
|
|
21017
|
+
name: string;
|
|
21018
|
+
class: "active" | "empty" | "merged" | "not-landed" | "orphan" | "other";
|
|
21019
|
+
runId: string | null;
|
|
21020
|
+
title: string | null;
|
|
21021
|
+
runStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting" | null;
|
|
21022
|
+
ahead: number;
|
|
21023
|
+
behind: number;
|
|
21024
|
+
lastCommit: {
|
|
21025
|
+
sha: string;
|
|
21026
|
+
subject: string;
|
|
21027
|
+
at: string;
|
|
21028
|
+
};
|
|
21029
|
+
diffStat: {
|
|
21030
|
+
additions: number;
|
|
21031
|
+
deletions: number;
|
|
21032
|
+
} | null;
|
|
21033
|
+
pr: {
|
|
21034
|
+
number: number;
|
|
21035
|
+
url: string;
|
|
21036
|
+
state: "closed" | "draft" | "merged" | "open";
|
|
21037
|
+
checks?: "failing" | "passing" | "pending" | undefined;
|
|
21038
|
+
} | null;
|
|
21039
|
+
keptReason?: string | undefined;
|
|
21040
|
+
parentRunId?: string | undefined;
|
|
21041
|
+
}[];
|
|
21042
|
+
counts: {
|
|
21043
|
+
notLanded: number;
|
|
21044
|
+
cleanup: number;
|
|
20740
21045
|
};
|
|
20741
|
-
} | {
|
|
20742
|
-
available: false;
|
|
20743
|
-
reason: string;
|
|
20744
21046
|
};
|
|
20745
21047
|
outputFormat: "json";
|
|
20746
21048
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20747
|
-
input: {
|
|
20748
|
-
|
|
20749
|
-
|
|
21049
|
+
input: {};
|
|
21050
|
+
};
|
|
21051
|
+
};
|
|
21052
|
+
} & {
|
|
21053
|
+
"/repo/branches/counts": {
|
|
21054
|
+
$get: {
|
|
21055
|
+
output: {
|
|
21056
|
+
base: string;
|
|
21057
|
+
prStateKnown: boolean;
|
|
21058
|
+
counts: {
|
|
21059
|
+
notLanded: number;
|
|
21060
|
+
cleanup: number;
|
|
20750
21061
|
};
|
|
21062
|
+
allBranches: number;
|
|
20751
21063
|
};
|
|
21064
|
+
outputFormat: "json";
|
|
21065
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21066
|
+
input: {};
|
|
20752
21067
|
};
|
|
20753
21068
|
};
|
|
20754
21069
|
} & {
|
|
20755
|
-
"/
|
|
20756
|
-
$
|
|
21070
|
+
"/repo/branches/delete": {
|
|
21071
|
+
$post: {
|
|
20757
21072
|
output: {
|
|
20758
21073
|
error: string;
|
|
20759
|
-
|
|
21074
|
+
refused: {
|
|
21075
|
+
name: string;
|
|
21076
|
+
reason: string;
|
|
21077
|
+
}[];
|
|
20760
21078
|
};
|
|
20761
21079
|
outputFormat: "json";
|
|
20762
|
-
status:
|
|
21080
|
+
status: 409;
|
|
20763
21081
|
input: {
|
|
20764
|
-
|
|
20765
|
-
|
|
20766
|
-
|
|
20767
|
-
refresh?: "1" | undefined;
|
|
21082
|
+
json: {
|
|
21083
|
+
names: string[];
|
|
21084
|
+
confirm?: string | undefined;
|
|
20768
21085
|
};
|
|
20769
21086
|
};
|
|
20770
21087
|
} | {
|
|
20771
21088
|
output: {
|
|
20772
|
-
|
|
20773
|
-
|
|
20774
|
-
|
|
20775
|
-
|
|
20776
|
-
|
|
20777
|
-
|
|
20778
|
-
|
|
21089
|
+
deleted: string[];
|
|
21090
|
+
refused: {
|
|
21091
|
+
name: string;
|
|
21092
|
+
reason: string;
|
|
21093
|
+
}[];
|
|
21094
|
+
dropped?: {
|
|
21095
|
+
sha: string;
|
|
21096
|
+
subject: string;
|
|
21097
|
+
}[] | undefined;
|
|
20779
21098
|
};
|
|
20780
21099
|
outputFormat: "json";
|
|
20781
|
-
status:
|
|
20782
|
-
input: {
|
|
20783
|
-
|
|
20784
|
-
|
|
20785
|
-
|
|
20786
|
-
refresh?: "1" | undefined;
|
|
21100
|
+
status: 200;
|
|
21101
|
+
input: {
|
|
21102
|
+
json: {
|
|
21103
|
+
names: string[];
|
|
21104
|
+
confirm?: string | undefined;
|
|
20787
21105
|
};
|
|
20788
21106
|
};
|
|
20789
21107
|
};
|
|
20790
21108
|
};
|
|
20791
21109
|
} & {
|
|
20792
|
-
"/
|
|
21110
|
+
"/repo/diff": {
|
|
21111
|
+
$get: {
|
|
21112
|
+
output: string;
|
|
21113
|
+
outputFormat: "text";
|
|
21114
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21115
|
+
input: {};
|
|
21116
|
+
};
|
|
21117
|
+
};
|
|
21118
|
+
} & {
|
|
21119
|
+
"/repo/commit/:sha": {
|
|
20793
21120
|
$get: {
|
|
21121
|
+
output: string;
|
|
21122
|
+
outputFormat: "text";
|
|
21123
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21124
|
+
input: {
|
|
21125
|
+
query: {
|
|
21126
|
+
structured?: string | undefined;
|
|
21127
|
+
};
|
|
21128
|
+
} & {
|
|
21129
|
+
param: {
|
|
21130
|
+
sha: string;
|
|
21131
|
+
};
|
|
21132
|
+
};
|
|
21133
|
+
} | {
|
|
20794
21134
|
output: {
|
|
20795
21135
|
error: string;
|
|
20796
21136
|
code?: "invalid_input" | undefined;
|
|
@@ -20799,66 +21139,65 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20799
21139
|
status: 400;
|
|
20800
21140
|
input: {
|
|
20801
21141
|
query: {
|
|
20802
|
-
|
|
20803
|
-
|
|
20804
|
-
|
|
21142
|
+
structured?: string | undefined;
|
|
21143
|
+
};
|
|
21144
|
+
} & {
|
|
21145
|
+
param: {
|
|
21146
|
+
sha: string;
|
|
20805
21147
|
};
|
|
20806
21148
|
};
|
|
20807
21149
|
} | {
|
|
20808
21150
|
output: {
|
|
20809
|
-
|
|
20810
|
-
|
|
20811
|
-
|
|
21151
|
+
sha: string;
|
|
21152
|
+
subject: string;
|
|
21153
|
+
author: string;
|
|
21154
|
+
when: string;
|
|
21155
|
+
files: {
|
|
21156
|
+
path: string;
|
|
21157
|
+
oldPath?: string;
|
|
21158
|
+
status: 'added' | 'modified' | 'deleted' | 'renamed' | 'copied';
|
|
21159
|
+
adds: number;
|
|
21160
|
+
dels: number;
|
|
21161
|
+
binary: boolean;
|
|
21162
|
+
image?: boolean;
|
|
21163
|
+
patch: string;
|
|
21164
|
+
}[];
|
|
21165
|
+
stat: {
|
|
21166
|
+
adds: number;
|
|
21167
|
+
dels: number;
|
|
21168
|
+
files: number;
|
|
21169
|
+
};
|
|
20812
21170
|
};
|
|
20813
21171
|
outputFormat: "json";
|
|
20814
21172
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20815
21173
|
input: {
|
|
20816
21174
|
query: {
|
|
20817
|
-
|
|
20818
|
-
|
|
20819
|
-
|
|
21175
|
+
structured?: string | undefined;
|
|
21176
|
+
};
|
|
21177
|
+
} & {
|
|
21178
|
+
param: {
|
|
21179
|
+
sha: string;
|
|
20820
21180
|
};
|
|
20821
21181
|
};
|
|
20822
21182
|
} | {
|
|
20823
21183
|
output: {
|
|
20824
|
-
|
|
20825
|
-
projectsReason?: string | undefined;
|
|
20826
|
-
reason?: string | undefined;
|
|
20827
|
-
items: {
|
|
20828
|
-
kind: "issue" | "pr";
|
|
20829
|
-
number: number;
|
|
20830
|
-
title: string;
|
|
20831
|
-
author: string;
|
|
20832
|
-
createdAt: string;
|
|
20833
|
-
labels: string[];
|
|
20834
|
-
body?: string | undefined;
|
|
20835
|
-
url: string;
|
|
20836
|
-
comments: number;
|
|
20837
|
-
assignees?: string[] | undefined;
|
|
20838
|
-
projectIds?: string[] | undefined;
|
|
20839
|
-
isDraft?: boolean | undefined;
|
|
20840
|
-
additions?: number | undefined;
|
|
20841
|
-
deletions?: number | undefined;
|
|
20842
|
-
checks?: "failing" | "passing" | "pending" | null | undefined;
|
|
20843
|
-
}[];
|
|
20844
|
-
truncated?: boolean | undefined;
|
|
20845
|
-
labelColors?: {
|
|
20846
|
-
[x: string]: string;
|
|
20847
|
-
} | undefined;
|
|
21184
|
+
error: string;
|
|
20848
21185
|
};
|
|
20849
21186
|
outputFormat: "json";
|
|
20850
|
-
status:
|
|
21187
|
+
status: 409;
|
|
20851
21188
|
input: {
|
|
20852
21189
|
query: {
|
|
20853
|
-
|
|
20854
|
-
|
|
20855
|
-
|
|
21190
|
+
structured?: string | undefined;
|
|
21191
|
+
};
|
|
21192
|
+
} & {
|
|
21193
|
+
param: {
|
|
21194
|
+
sha: string;
|
|
20856
21195
|
};
|
|
20857
21196
|
};
|
|
20858
21197
|
};
|
|
20859
21198
|
};
|
|
20860
21199
|
} & {
|
|
20861
|
-
"/
|
|
21200
|
+
"/repo/commit/:sha/file": {
|
|
20862
21201
|
$get: {
|
|
20863
21202
|
output: {
|
|
20864
21203
|
error: string;
|
|
@@ -20867,51 +21206,53 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20867
21206
|
outputFormat: "json";
|
|
20868
21207
|
status: 400;
|
|
20869
21208
|
input: {
|
|
21209
|
+
param: {
|
|
21210
|
+
sha: string;
|
|
21211
|
+
};
|
|
21212
|
+
} & {
|
|
20870
21213
|
query: {
|
|
20871
|
-
|
|
20872
|
-
issues?: string | undefined;
|
|
21214
|
+
path: string | string[];
|
|
20873
21215
|
};
|
|
20874
21216
|
};
|
|
20875
21217
|
} | {
|
|
20876
21218
|
output: {
|
|
20877
|
-
|
|
21219
|
+
type: 'file';
|
|
21220
|
+
path: string;
|
|
21221
|
+
size: number;
|
|
21222
|
+
binary: boolean;
|
|
21223
|
+
tooLarge: boolean;
|
|
21224
|
+
content?: string | undefined;
|
|
20878
21225
|
};
|
|
20879
21226
|
outputFormat: "json";
|
|
20880
|
-
status:
|
|
21227
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20881
21228
|
input: {
|
|
21229
|
+
param: {
|
|
21230
|
+
sha: string;
|
|
21231
|
+
};
|
|
21232
|
+
} & {
|
|
20882
21233
|
query: {
|
|
20883
|
-
|
|
20884
|
-
issues?: string | undefined;
|
|
21234
|
+
path: string | string[];
|
|
20885
21235
|
};
|
|
20886
21236
|
};
|
|
20887
21237
|
} | {
|
|
20888
21238
|
output: {
|
|
20889
|
-
|
|
20890
|
-
prs: {
|
|
20891
|
-
[x: number]: "changes-requested" | "checks-failing" | "checks-pending" | "closed" | "completed" | "draft" | "merged" | "not-planned" | "open" | "ready" | "review-required";
|
|
20892
|
-
};
|
|
20893
|
-
issues: {
|
|
20894
|
-
[x: number]: "changes-requested" | "checks-failing" | "checks-pending" | "closed" | "completed" | "draft" | "merged" | "not-planned" | "open" | "ready" | "review-required";
|
|
20895
|
-
};
|
|
20896
|
-
conflicts?: number[] | undefined;
|
|
20897
|
-
recheckAfterMs: number | null;
|
|
20898
|
-
} | {
|
|
20899
|
-
available: false;
|
|
20900
|
-
reason: string;
|
|
20901
|
-
recheckAfterMs: number | null;
|
|
21239
|
+
error: string;
|
|
20902
21240
|
};
|
|
20903
21241
|
outputFormat: "json";
|
|
20904
|
-
status:
|
|
21242
|
+
status: 409;
|
|
20905
21243
|
input: {
|
|
21244
|
+
param: {
|
|
21245
|
+
sha: string;
|
|
21246
|
+
};
|
|
21247
|
+
} & {
|
|
20906
21248
|
query: {
|
|
20907
|
-
|
|
20908
|
-
issues?: string | undefined;
|
|
21249
|
+
path: string | string[];
|
|
20909
21250
|
};
|
|
20910
21251
|
};
|
|
20911
21252
|
};
|
|
20912
21253
|
};
|
|
20913
21254
|
} & {
|
|
20914
|
-
"/
|
|
21255
|
+
"/repo/files": {
|
|
20915
21256
|
$get: {
|
|
20916
21257
|
output: {
|
|
20917
21258
|
error: string;
|
|
@@ -20920,231 +21261,148 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20920
21261
|
outputFormat: "json";
|
|
20921
21262
|
status: 400;
|
|
20922
21263
|
input: {
|
|
20923
|
-
param: {
|
|
20924
|
-
number: string;
|
|
20925
|
-
};
|
|
20926
|
-
} & {
|
|
20927
21264
|
query: {
|
|
20928
|
-
|
|
21265
|
+
path: string | string[];
|
|
20929
21266
|
};
|
|
20930
21267
|
};
|
|
20931
21268
|
} | {
|
|
20932
21269
|
output: {
|
|
20933
|
-
|
|
20934
|
-
|
|
20935
|
-
|
|
20936
|
-
|
|
20937
|
-
|
|
20938
|
-
|
|
20939
|
-
isDraft: boolean;
|
|
20940
|
-
headRef: string;
|
|
20941
|
-
baseRef: string;
|
|
20942
|
-
headSha: string;
|
|
20943
|
-
mergeable: "conflicting" | "mergeable" | "unknown";
|
|
20944
|
-
reviewDecision: "approved" | "changes-requested" | "not-required" | "review-required" | "unknown";
|
|
20945
|
-
checks: {
|
|
20946
|
-
name: string;
|
|
20947
|
-
state: "failing" | "passing" | "pending" | "unknown";
|
|
20948
|
-
required: boolean | null;
|
|
20949
|
-
url?: string | undefined;
|
|
20950
|
-
}[];
|
|
20951
|
-
methods: ("merge" | "rebase" | "squash")[];
|
|
20952
|
-
defaultMethod: "merge" | "rebase" | "squash" | null;
|
|
20953
|
-
eligibility: "blocked" | "pending" | "ready" | "terminal" | "unauthorized" | "unknown";
|
|
20954
|
-
blockers: {
|
|
20955
|
-
code: string;
|
|
20956
|
-
message: string;
|
|
20957
|
-
}[];
|
|
20958
|
-
canMerge: boolean;
|
|
20959
|
-
canOverride: boolean;
|
|
20960
|
-
};
|
|
20961
|
-
} | {
|
|
20962
|
-
available: false;
|
|
20963
|
-
reason: string;
|
|
21270
|
+
type: 'file';
|
|
21271
|
+
path: string;
|
|
21272
|
+
size: number;
|
|
21273
|
+
binary: boolean;
|
|
21274
|
+
tooLarge: boolean;
|
|
21275
|
+
content?: string | undefined;
|
|
20964
21276
|
};
|
|
20965
21277
|
outputFormat: "json";
|
|
20966
21278
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20967
21279
|
input: {
|
|
20968
|
-
param: {
|
|
20969
|
-
number: string;
|
|
20970
|
-
};
|
|
20971
|
-
} & {
|
|
20972
21280
|
query: {
|
|
20973
|
-
|
|
21281
|
+
path: string | string[];
|
|
20974
21282
|
};
|
|
20975
21283
|
};
|
|
20976
|
-
}
|
|
20977
|
-
};
|
|
20978
|
-
} & {
|
|
20979
|
-
"/github/prs/:number/merge": {
|
|
20980
|
-
$post: {
|
|
21284
|
+
} | {
|
|
20981
21285
|
output: {
|
|
20982
21286
|
error: string;
|
|
20983
|
-
code?: "invalid_input" | undefined;
|
|
20984
21287
|
};
|
|
20985
21288
|
outputFormat: "json";
|
|
20986
|
-
status:
|
|
21289
|
+
status: 409;
|
|
20987
21290
|
input: {
|
|
20988
|
-
|
|
20989
|
-
|
|
21291
|
+
query: {
|
|
21292
|
+
path: string | string[];
|
|
20990
21293
|
};
|
|
20991
|
-
}
|
|
20992
|
-
|
|
20993
|
-
|
|
20994
|
-
|
|
20995
|
-
|
|
21294
|
+
};
|
|
21295
|
+
};
|
|
21296
|
+
};
|
|
21297
|
+
} & {
|
|
21298
|
+
"/repo/changes": {
|
|
21299
|
+
$get: {
|
|
21300
|
+
output: {
|
|
21301
|
+
files: {
|
|
21302
|
+
path: string;
|
|
21303
|
+
oldPath?: string;
|
|
21304
|
+
status: 'added' | 'modified' | 'deleted' | 'renamed' | 'copied';
|
|
21305
|
+
adds: number;
|
|
21306
|
+
dels: number;
|
|
21307
|
+
binary: boolean;
|
|
21308
|
+
image?: boolean;
|
|
21309
|
+
patch: string;
|
|
21310
|
+
}[];
|
|
21311
|
+
stat: {
|
|
21312
|
+
adds: number;
|
|
21313
|
+
dels: number;
|
|
21314
|
+
files: number;
|
|
20996
21315
|
};
|
|
21316
|
+
repointedHead?: {
|
|
21317
|
+
headBranch: string;
|
|
21318
|
+
taskBranch: string;
|
|
21319
|
+
} | undefined;
|
|
20997
21320
|
};
|
|
21321
|
+
outputFormat: "json";
|
|
21322
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21323
|
+
input: {};
|
|
20998
21324
|
} | {
|
|
20999
21325
|
output: {
|
|
21000
21326
|
error: string;
|
|
21001
21327
|
};
|
|
21002
21328
|
outputFormat: "json";
|
|
21003
21329
|
status: 409;
|
|
21004
|
-
input: {
|
|
21005
|
-
|
|
21006
|
-
|
|
21007
|
-
|
|
21008
|
-
|
|
21009
|
-
|
|
21010
|
-
|
|
21011
|
-
|
|
21012
|
-
overrideRules?: boolean | undefined;
|
|
21013
|
-
};
|
|
21330
|
+
input: {};
|
|
21331
|
+
};
|
|
21332
|
+
};
|
|
21333
|
+
} & {
|
|
21334
|
+
"/repo/pull": {
|
|
21335
|
+
$get: {
|
|
21336
|
+
output: {
|
|
21337
|
+
error: string;
|
|
21014
21338
|
};
|
|
21339
|
+
outputFormat: "json";
|
|
21340
|
+
status: 409;
|
|
21341
|
+
input: {};
|
|
21015
21342
|
} | {
|
|
21016
21343
|
output: {
|
|
21017
|
-
|
|
21018
|
-
number: number;
|
|
21019
|
-
url: string;
|
|
21020
|
-
method: import("../core/forge-registry.ts").ForgeMergeMethod;
|
|
21021
|
-
mergeCommitSha?: string;
|
|
21344
|
+
branches: string[];
|
|
21022
21345
|
};
|
|
21023
21346
|
outputFormat: "json";
|
|
21024
21347
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21348
|
+
input: {};
|
|
21349
|
+
};
|
|
21350
|
+
};
|
|
21351
|
+
} & {
|
|
21352
|
+
"/repo/pull": {
|
|
21353
|
+
$post: {
|
|
21354
|
+
output: {
|
|
21355
|
+
error: string;
|
|
21356
|
+
};
|
|
21357
|
+
outputFormat: "json";
|
|
21358
|
+
status: 409;
|
|
21025
21359
|
input: {
|
|
21026
|
-
param: {
|
|
21027
|
-
number: string;
|
|
21028
|
-
};
|
|
21029
|
-
} & {
|
|
21030
21360
|
json: {
|
|
21031
|
-
|
|
21032
|
-
|
|
21033
|
-
overrideRules?: boolean | undefined;
|
|
21361
|
+
branch?: string | undefined;
|
|
21362
|
+
confirm?: boolean | undefined;
|
|
21034
21363
|
};
|
|
21035
21364
|
};
|
|
21036
21365
|
} | {
|
|
21037
21366
|
output: {
|
|
21038
|
-
|
|
21039
|
-
|
|
21040
|
-
|
|
21041
|
-
number: number;
|
|
21042
|
-
title: string;
|
|
21043
|
-
url: string;
|
|
21044
|
-
state: "closed" | "merged" | "open";
|
|
21045
|
-
isDraft: boolean;
|
|
21046
|
-
headRef: string;
|
|
21047
|
-
baseRef: string;
|
|
21048
|
-
headSha: string;
|
|
21049
|
-
mergeable: "conflicting" | "mergeable" | "unknown";
|
|
21050
|
-
reviewDecision: "approved" | "changes-requested" | "not-required" | "review-required" | "unknown";
|
|
21051
|
-
checks: {
|
|
21052
|
-
name: string;
|
|
21053
|
-
state: "failing" | "passing" | "pending" | "unknown";
|
|
21054
|
-
required: boolean | null;
|
|
21055
|
-
url?: string | undefined;
|
|
21056
|
-
}[];
|
|
21057
|
-
methods: ("merge" | "rebase" | "squash")[];
|
|
21058
|
-
defaultMethod: "merge" | "rebase" | "squash" | null;
|
|
21059
|
-
eligibility: "blocked" | "pending" | "ready" | "terminal" | "unauthorized" | "unknown";
|
|
21060
|
-
blockers: {
|
|
21061
|
-
code: string;
|
|
21062
|
-
message: string;
|
|
21063
|
-
}[];
|
|
21064
|
-
canMerge: boolean;
|
|
21065
|
-
canOverride: boolean;
|
|
21066
|
-
} | undefined;
|
|
21367
|
+
branch: string;
|
|
21368
|
+
pulled: true;
|
|
21369
|
+
summary: string;
|
|
21067
21370
|
};
|
|
21068
21371
|
outputFormat: "json";
|
|
21069
|
-
status:
|
|
21372
|
+
status: 200;
|
|
21070
21373
|
input: {
|
|
21071
|
-
param: {
|
|
21072
|
-
number: string;
|
|
21073
|
-
};
|
|
21074
|
-
} & {
|
|
21075
21374
|
json: {
|
|
21076
|
-
|
|
21077
|
-
|
|
21078
|
-
overrideRules?: boolean | undefined;
|
|
21375
|
+
branch?: string | undefined;
|
|
21376
|
+
confirm?: boolean | undefined;
|
|
21079
21377
|
};
|
|
21080
21378
|
};
|
|
21081
21379
|
};
|
|
21082
21380
|
};
|
|
21083
21381
|
} & {
|
|
21084
|
-
"/
|
|
21085
|
-
$
|
|
21086
|
-
output: {
|
|
21087
|
-
error: string;
|
|
21088
|
-
code?: "invalid_input" | undefined;
|
|
21089
|
-
};
|
|
21090
|
-
outputFormat: "json";
|
|
21091
|
-
status: 400;
|
|
21092
|
-
input: {
|
|
21093
|
-
param: {
|
|
21094
|
-
number: string;
|
|
21095
|
-
};
|
|
21096
|
-
} & {
|
|
21097
|
-
query: {
|
|
21098
|
-
refresh?: "1" | undefined;
|
|
21099
|
-
};
|
|
21100
|
-
};
|
|
21101
|
-
} | {
|
|
21382
|
+
"/repo/branch": {
|
|
21383
|
+
$post: {
|
|
21102
21384
|
output: {
|
|
21103
21385
|
error: string;
|
|
21104
21386
|
};
|
|
21105
21387
|
outputFormat: "json";
|
|
21106
|
-
status:
|
|
21388
|
+
status: 409;
|
|
21107
21389
|
input: {
|
|
21108
|
-
|
|
21109
|
-
|
|
21110
|
-
|
|
21111
|
-
} & {
|
|
21112
|
-
query: {
|
|
21113
|
-
refresh?: "1" | undefined;
|
|
21390
|
+
json: {
|
|
21391
|
+
name: string;
|
|
21392
|
+
from?: string | undefined;
|
|
21114
21393
|
};
|
|
21115
21394
|
};
|
|
21116
21395
|
} | {
|
|
21117
21396
|
output: {
|
|
21118
|
-
|
|
21119
|
-
|
|
21120
|
-
headSha: string;
|
|
21121
|
-
files: {
|
|
21122
|
-
path: string;
|
|
21123
|
-
previousPath?: string;
|
|
21124
|
-
status: 'added' | 'modified' | 'removed' | 'renamed' | 'copied' | 'changed';
|
|
21125
|
-
additions: number;
|
|
21126
|
-
deletions: number;
|
|
21127
|
-
patch?: string;
|
|
21128
|
-
patchUnavailableReason?: 'binary' | 'too-large' | 'not-provided';
|
|
21129
|
-
truncated?: boolean;
|
|
21130
|
-
}[];
|
|
21131
|
-
additions: number;
|
|
21132
|
-
deletions: number;
|
|
21133
|
-
truncated: boolean;
|
|
21134
|
-
reason?: string;
|
|
21135
|
-
} | {
|
|
21136
|
-
available: false;
|
|
21137
|
-
reason: string;
|
|
21397
|
+
branch: string;
|
|
21398
|
+
created: boolean;
|
|
21138
21399
|
};
|
|
21139
21400
|
outputFormat: "json";
|
|
21140
21401
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21141
21402
|
input: {
|
|
21142
|
-
|
|
21143
|
-
|
|
21144
|
-
|
|
21145
|
-
} & {
|
|
21146
|
-
query: {
|
|
21147
|
-
refresh?: "1" | undefined;
|
|
21403
|
+
json: {
|
|
21404
|
+
name: string;
|
|
21405
|
+
from?: string | undefined;
|
|
21148
21406
|
};
|
|
21149
21407
|
};
|
|
21150
21408
|
};
|
|
@@ -22846,22 +23104,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
22846
23104
|
"/runs/:id/worker-destroy": {
|
|
22847
23105
|
$post: {
|
|
22848
23106
|
output: {
|
|
22849
|
-
|
|
22850
|
-
|
|
22851
|
-
readonly modelChoices?: {
|
|
22852
|
-
runner: string;
|
|
22853
|
-
requestedModel: string;
|
|
22854
|
-
availableModels: {
|
|
22855
|
-
id: string;
|
|
22856
|
-
label: string;
|
|
22857
|
-
description: string;
|
|
22858
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
22859
|
-
}[];
|
|
22860
|
-
otherRunners: string[];
|
|
22861
|
-
} | undefined;
|
|
23107
|
+
error: string;
|
|
23108
|
+
code?: "invalid_input" | undefined;
|
|
22862
23109
|
};
|
|
22863
23110
|
outputFormat: "json";
|
|
22864
|
-
status: 400
|
|
23111
|
+
status: 400;
|
|
22865
23112
|
input: {
|
|
22866
23113
|
query: {
|
|
22867
23114
|
[x: string]: string | string[];
|
|
@@ -22877,11 +23124,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
22877
23124
|
};
|
|
22878
23125
|
} | {
|
|
22879
23126
|
output: {
|
|
22880
|
-
|
|
22881
|
-
|
|
23127
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
23128
|
+
readonly error: string;
|
|
23129
|
+
readonly modelChoices?: {
|
|
23130
|
+
runner: string;
|
|
23131
|
+
requestedModel: string;
|
|
23132
|
+
availableModels: {
|
|
23133
|
+
id: string;
|
|
23134
|
+
label: string;
|
|
23135
|
+
description: string;
|
|
23136
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
23137
|
+
}[];
|
|
23138
|
+
otherRunners: string[];
|
|
23139
|
+
} | undefined;
|
|
22882
23140
|
};
|
|
22883
23141
|
outputFormat: "json";
|
|
22884
|
-
status: 400;
|
|
23142
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
22885
23143
|
input: {
|
|
22886
23144
|
query: {
|
|
22887
23145
|
[x: string]: string | string[];
|
|
@@ -33635,6 +33893,64 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33635
33893
|
};
|
|
33636
33894
|
};
|
|
33637
33895
|
};
|
|
33896
|
+
} & {
|
|
33897
|
+
"/runs/:id/commit/:sha/file": {
|
|
33898
|
+
$get: {
|
|
33899
|
+
output: {
|
|
33900
|
+
error: string;
|
|
33901
|
+
code?: "invalid_input" | undefined;
|
|
33902
|
+
};
|
|
33903
|
+
outputFormat: "json";
|
|
33904
|
+
status: 400;
|
|
33905
|
+
input: {
|
|
33906
|
+
param: {
|
|
33907
|
+
sha: string;
|
|
33908
|
+
id: string;
|
|
33909
|
+
};
|
|
33910
|
+
} & {
|
|
33911
|
+
query: {
|
|
33912
|
+
path: string | string[];
|
|
33913
|
+
};
|
|
33914
|
+
};
|
|
33915
|
+
} | {
|
|
33916
|
+
output: {
|
|
33917
|
+
error: string;
|
|
33918
|
+
};
|
|
33919
|
+
outputFormat: "json";
|
|
33920
|
+
status: 404 | 409;
|
|
33921
|
+
input: {
|
|
33922
|
+
param: {
|
|
33923
|
+
sha: string;
|
|
33924
|
+
id: string;
|
|
33925
|
+
};
|
|
33926
|
+
} & {
|
|
33927
|
+
query: {
|
|
33928
|
+
path: string | string[];
|
|
33929
|
+
};
|
|
33930
|
+
};
|
|
33931
|
+
} | {
|
|
33932
|
+
output: {
|
|
33933
|
+
type: 'file';
|
|
33934
|
+
path: string;
|
|
33935
|
+
size: number;
|
|
33936
|
+
binary: boolean;
|
|
33937
|
+
tooLarge: boolean;
|
|
33938
|
+
content?: string | undefined;
|
|
33939
|
+
};
|
|
33940
|
+
outputFormat: "json";
|
|
33941
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
33942
|
+
input: {
|
|
33943
|
+
param: {
|
|
33944
|
+
sha: string;
|
|
33945
|
+
id: string;
|
|
33946
|
+
};
|
|
33947
|
+
} & {
|
|
33948
|
+
query: {
|
|
33949
|
+
path: string | string[];
|
|
33950
|
+
};
|
|
33951
|
+
};
|
|
33952
|
+
};
|
|
33953
|
+
};
|
|
33638
33954
|
} & {
|
|
33639
33955
|
"/runs/:id/file-link": {
|
|
33640
33956
|
$get: {
|
|
@@ -34017,14 +34333,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
34017
34333
|
};
|
|
34018
34334
|
} | {
|
|
34019
34335
|
output: {
|
|
34020
|
-
type: '
|
|
34336
|
+
type: 'file';
|
|
34021
34337
|
path: string;
|
|
34022
|
-
|
|
34023
|
-
|
|
34024
|
-
|
|
34025
|
-
|
|
34026
|
-
chain?: string;
|
|
34027
|
-
}[];
|
|
34338
|
+
size: number;
|
|
34339
|
+
binary: boolean;
|
|
34340
|
+
tooLarge: boolean;
|
|
34341
|
+
content?: string | undefined;
|
|
34028
34342
|
};
|
|
34029
34343
|
outputFormat: "json";
|
|
34030
34344
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -34040,12 +34354,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
34040
34354
|
};
|
|
34041
34355
|
} | {
|
|
34042
34356
|
output: {
|
|
34043
|
-
type: '
|
|
34357
|
+
type: 'dir';
|
|
34044
34358
|
path: string;
|
|
34045
|
-
|
|
34046
|
-
|
|
34047
|
-
|
|
34048
|
-
|
|
34359
|
+
entries: {
|
|
34360
|
+
name: string;
|
|
34361
|
+
type: 'dir' | 'file';
|
|
34362
|
+
size?: number;
|
|
34363
|
+
chain?: string;
|
|
34364
|
+
}[];
|
|
34049
34365
|
};
|
|
34050
34366
|
outputFormat: "json";
|
|
34051
34367
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|