@hearsay-tools/squawk 0.19.0-dev.8974 → 0.19.0-dev.8980
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 +24 -8
- package/dist/contract/query-requests.d.ts +5 -0
- package/dist/contract/repo.d.ts +23 -0
- 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/repo-routes.d.ts +98 -0
- package/dist/server/repo-routes.js +20 -3
- package/dist/server/repo-routes.js.map +1 -1
- package/dist/server/runs-routes.d.ts +70 -12
- package/dist/server/runs-routes.js +12 -10
- package/dist/server/runs-routes.js.map +1 -1
- package/dist/server/server.d.ts +1705 -1393
- package/package.json +4 -4
- package/web/dist/assets/{accounts-section-CwPAaLRX.js → accounts-section-D4JcHFyu.js} +1 -1
- package/web/dist/assets/activity-motion-CkFrDHAS.js +1 -0
- package/web/dist/assets/{activity-route-BpOdhGDr.js → activity-route-9l7HbN61.js} +1 -1
- package/web/dist/assets/{agent-config-section-ByS0qQmf.js → agent-config-section-D0yOFooo.js} +2 -2
- package/web/dist/assets/{agent-defaults-section-DmeS7JAr.js → agent-defaults-section-DsQc_03b.js} +1 -1
- package/web/dist/assets/{appearance-CVJfUYxX.js → appearance-CPSQmzD9.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-Ba4YFn-_.js → archive-on-merge-field-BJM7BDf3.js} +1 -1
- package/web/dist/assets/attention-BHNhUrnd.js +1 -0
- package/web/dist/assets/automations-route-C1IpJvWC.js +2 -0
- package/web/dist/assets/commit-list-BBJ7Igij.js +1 -0
- package/web/dist/assets/{diff-DNdhxMzq.js → diff-C1JIcjiI.js} +2 -2
- package/web/dist/assets/diff-controls-eMh8T2wX.js +1 -0
- package/web/dist/assets/{diff-view-CmpfM3xF.js → diff-view-CSYxKGKP.js} +1 -1
- package/web/dist/assets/{discard-changes-dialog-BvBZrkEB.js → discard-changes-dialog-CXo5mwrr.js} +1 -1
- package/web/dist/assets/{file-preview-Btoe2k0y.js → file-preview-CnmQ7Rsa.js} +1 -1
- package/web/dist/assets/file-text-nGpo7MVd.js +1 -0
- package/web/dist/assets/{folder-browser-DiQGbqCN.js → folder-browser-BgGSB2gk.js} +1 -1
- package/web/dist/assets/{git-toolbar-BUGct09v.js → git-toolbar-BY1yZKBF.js} +1 -1
- package/web/dist/assets/github-SKF8V2qz.js +1 -0
- package/web/dist/assets/{global-activity-route-CO5gHnfm.js → global-activity-route-DP_yBJsq.js} +1 -1
- package/web/dist/assets/{index-TFU1q5Sa.js → index-CoM783-U.js} +6 -6
- package/web/dist/assets/{label-B1zf-eXb.js → label-CxJpzeLL.js} +1 -1
- package/web/dist/assets/{markdown-BOOMYZ7a.js → markdown-pTQo8h1T.js} +1 -1
- package/web/dist/assets/{open-in-menu-DfTnT8YF.js → open-in-menu-CmsJeSrD.js} +1 -1
- package/web/dist/assets/{option-select-3qhDlvG6.js → option-select-CZ0au33L.js} +1 -1
- package/web/dist/assets/{preferences-section-D3h6N_fh.js → preferences-section-DCwUztp1.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-ClZ67Ztq.js → preview-pane-connected-TpVEOykT.js} +2 -2
- package/web/dist/assets/{project-location-xnTFoKUD.js → project-location-DgXLFHie.js} +1 -1
- package/web/dist/assets/{project-router-onKnSy5a.js → project-router-BNcdL2CI.js} +1 -1
- package/web/dist/assets/{projects-section-BmyA80eB.js → projects-section-4zkjhDuP.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-Dt2aX-LZ.js → prompt-templates-section-BfWXmMv2.js} +2 -2
- package/web/dist/assets/queries-BSxNcgZm.js +1 -0
- package/web/dist/assets/{reference-chip-Cv3i1kxz.js → reference-chip-DFwi97Ps.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-CJORtXkl.js → remote-settings-notice-v8nM4EFt.js} +1 -1
- package/web/dist/assets/repo-git-CQJSTkjN.js +1 -0
- package/web/dist/assets/{report-reader-BCPKro-Z.js → report-reader-br4qr_cf.js} +1 -1
- package/web/dist/assets/{report-selection-CmEfaDz7.js → report-selection-CaEdb2HO.js} +1 -1
- package/web/dist/assets/{reports-Djl8nY0A.js → reports-BmW0MxQS.js} +1 -1
- package/web/dist/assets/{resources-section-DCETRc-9.js → resources-section-4Nbu6SX9.js} +1 -1
- package/web/dist/assets/{review-panel-CzhsQN4V.js → review-panel-BScCegzK.js} +4 -4
- package/web/dist/assets/{run-detail-refresh-Caj4BPPd.js → run-detail-refresh-GbAx5_Mn.js} +1 -1
- package/web/dist/assets/{run-header-BIyS_qou.js → run-header-DPiJgSo-.js} +2 -2
- package/web/dist/assets/{select-BoL_3H6E.js → select-C1DuBMH_.js} +1 -1
- package/web/dist/assets/{session-context-section-ChNqEmpe.js → session-context-section-D3cboKUj.js} +1 -1
- package/web/dist/assets/{settings-agent-picker-CesXF2fy.js → settings-agent-picker-Dfpkb1BV.js} +1 -1
- package/web/dist/assets/{settings-save-bar-BhGzX1Vj.js → settings-save-bar-D6_OuAVS.js} +1 -1
- package/web/dist/assets/{settings-shell-D4cNW7VG.js → settings-shell-1mamrmf4.js} +1 -1
- package/web/dist/assets/{sidebar-section-DgOjPxdA.js → sidebar-section-b6sRM7jE.js} +1 -1
- package/web/dist/assets/{skills-D4-zEnec.js → skills-C30XIl36.js} +1 -1
- package/web/dist/assets/{tab-link-B2k-zaeP.js → tab-link-BrzzZnhE.js} +1 -1
- package/web/dist/assets/task-changes-DddXsOz9.js +1 -0
- package/web/dist/assets/task-commits-DI1DvelD.js +1 -0
- package/web/dist/assets/{task-file-scope-DEybXfMX.js → task-file-scope-iKAyonAT.js} +1 -1
- package/web/dist/assets/{task-files-CVGsEv7Y.js → task-files-BHJJfNnG.js} +1 -1
- package/web/dist/assets/{task-github-item-BvwsdG3G.js → task-github-item-CB8waROc.js} +1 -1
- package/web/dist/assets/{task-groups-dEzH1nMg.js → task-groups-CsjJ9R5Y.js} +1 -1
- package/web/dist/assets/task-thread-Dnr-230B.js +2 -0
- package/web/dist/assets/{tasks-table-CPAY1N-E.js → tasks-table--jkwCj2N.js} +1 -1
- package/web/dist/assets/{thread-state-BdpOuHqc.js → thread-state-CHJmKJ6J.js} +1 -1
- package/web/dist/assets/{toaster-Bs1mVYf9.js → toaster-BJG79kO8.js} +1 -1
- package/web/dist/assets/use-hand-to-agent-state-L5WXggAl.js +1 -0
- package/web/dist/assets/use-path-bases-CIQDEHqC.js +1 -0
- package/web/dist/assets/use-workspace-config-save-DF7JuKqF.js +1 -0
- package/web/dist/assets/{workflows-DZyeZQyI.js → workflows-BY8BG_hN.js} +2 -2
- package/web/dist/assets/{workspace-tools-CyT1P2Pd.js → workspace-tools-DVnZs_qc.js} +1 -1
- package/web/dist/assets/{worktrees-section-DoBhAjkj.js → worktrees-section-C3y-OvKl.js} +5 -5
- package/web/dist/index.html +13 -13
- package/web/dist/assets/activity-motion-CAoXpVXT.js +0 -1
- package/web/dist/assets/attention-C9zoC-gL.js +0 -1
- package/web/dist/assets/automations-route-CiXw_h6J.js +0 -2
- package/web/dist/assets/commit-list-dNvEgOHg.js +0 -1
- package/web/dist/assets/diff-controls-CP2nphAy.js +0 -1
- package/web/dist/assets/github-sNMaEXUl.js +0 -1
- package/web/dist/assets/queries-CII6fTHH.js +0 -1
- package/web/dist/assets/repo-git-BVxsEJ1H.js +0 -1
- package/web/dist/assets/task-changes-NKykdnYs.js +0 -1
- package/web/dist/assets/task-commits-B-VWmssz.js +0 -1
- package/web/dist/assets/task-thread-T66nypz9.js +0 -2
- package/web/dist/assets/use-hand-to-agent-state-BK-LieHJ.js +0 -1
- package/web/dist/assets/use-path-bases-Qp3_G7-A.js +0 -1
- package/web/dist/assets/use-workspace-config-save-0Mtdwfrd.js +0 -1
package/dist/server/server.d.ts
CHANGED
|
@@ -4559,184 +4559,158 @@ 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
|
-
|
|
4581
|
-
};
|
|
4582
|
-
status: {
|
|
4583
|
-
status: string;
|
|
4584
|
-
path: string;
|
|
4585
|
-
}[];
|
|
4586
|
-
log: ({
|
|
4587
|
-
hash: string;
|
|
4588
|
-
subject: string;
|
|
4589
|
-
author: string;
|
|
4590
|
-
when: string;
|
|
4591
|
-
at: string;
|
|
4592
|
-
} | {
|
|
4593
|
-
hash: string;
|
|
4594
|
-
subject: string;
|
|
4595
|
-
author: string;
|
|
4596
|
-
when: string;
|
|
4597
|
-
at: string;
|
|
4598
|
-
source: {
|
|
4599
|
-
runId: string;
|
|
4600
|
-
title: string;
|
|
4601
|
-
prNumber: number | null;
|
|
4602
|
-
};
|
|
4603
|
-
})[];
|
|
4604
|
-
branches: string[];
|
|
4605
|
-
baseBranch: string | null;
|
|
4606
|
-
tracking: {
|
|
4607
|
-
ref: string;
|
|
4608
|
-
ahead: number;
|
|
4609
|
-
behind: number;
|
|
4610
|
-
fetchedAt: string | null;
|
|
4611
|
-
} | null;
|
|
4582
|
+
available: false;
|
|
4583
|
+
reason: string;
|
|
4584
|
+
issues: never[];
|
|
4585
|
+
prs: never[];
|
|
4612
4586
|
};
|
|
4613
4587
|
outputFormat: "json";
|
|
4614
4588
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4615
|
-
input: {
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
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;
|
|
4597
|
+
};
|
|
4598
|
+
};
|
|
4599
|
+
} | {
|
|
4621
4600
|
output: {
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
url: string;
|
|
4643
|
-
state: "closed" | "draft" | "merged" | "open";
|
|
4644
|
-
} | null;
|
|
4645
|
-
keptReason?: string | undefined;
|
|
4646
|
-
parentRunId?: string | undefined;
|
|
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;
|
|
4609
|
+
author: string;
|
|
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;
|
|
4647
4621
|
}[];
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4622
|
+
prs: {
|
|
4623
|
+
kind: "issue" | "pr";
|
|
4624
|
+
number: number;
|
|
4625
|
+
title: string;
|
|
4626
|
+
author: string;
|
|
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;
|
|
4652
4656
|
};
|
|
4653
4657
|
outputFormat: "json";
|
|
4654
4658
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4655
|
-
input: {
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
prStateKnown: boolean;
|
|
4664
|
-
counts: {
|
|
4665
|
-
notLanded: number;
|
|
4666
|
-
cleanup: number;
|
|
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
4667
|
};
|
|
4668
|
-
allBranches: number;
|
|
4669
4668
|
};
|
|
4670
|
-
outputFormat: "json";
|
|
4671
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4672
|
-
input: {};
|
|
4673
4669
|
};
|
|
4674
4670
|
};
|
|
4675
4671
|
} & {
|
|
4676
|
-
"/
|
|
4677
|
-
$
|
|
4672
|
+
"/github/projects": {
|
|
4673
|
+
$get: {
|
|
4678
4674
|
output: {
|
|
4679
4675
|
error: string;
|
|
4680
|
-
|
|
4681
|
-
name: string;
|
|
4682
|
-
reason: string;
|
|
4683
|
-
}[];
|
|
4676
|
+
code?: "invalid_input" | undefined;
|
|
4684
4677
|
};
|
|
4685
4678
|
outputFormat: "json";
|
|
4686
|
-
status:
|
|
4679
|
+
status: 400;
|
|
4687
4680
|
input: {
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
confirm?: string | undefined;
|
|
4681
|
+
query: {
|
|
4682
|
+
generation: string | string[];
|
|
4691
4683
|
};
|
|
4692
4684
|
};
|
|
4693
4685
|
} | {
|
|
4694
4686
|
output: {
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
|
|
4687
|
+
generation: string;
|
|
4688
|
+
state: "ready";
|
|
4689
|
+
projects: {
|
|
4690
|
+
id: string;
|
|
4691
|
+
title: string;
|
|
4692
|
+
url: string;
|
|
4699
4693
|
}[];
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4694
|
+
membership: {
|
|
4695
|
+
[x: string]: string[];
|
|
4696
|
+
};
|
|
4697
|
+
} | {
|
|
4698
|
+
generation: string;
|
|
4699
|
+
state: "unavailable";
|
|
4700
|
+
reason: string;
|
|
4704
4701
|
};
|
|
4705
4702
|
outputFormat: "json";
|
|
4706
|
-
status:
|
|
4703
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4707
4704
|
input: {
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
confirm?: string | undefined;
|
|
4705
|
+
query: {
|
|
4706
|
+
generation: string | string[];
|
|
4711
4707
|
};
|
|
4712
4708
|
};
|
|
4713
4709
|
};
|
|
4714
4710
|
};
|
|
4715
4711
|
} & {
|
|
4716
|
-
"/
|
|
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": {
|
|
4712
|
+
"/github/comments/:kind/:number": {
|
|
4726
4713
|
$get: {
|
|
4727
|
-
output: string;
|
|
4728
|
-
outputFormat: "text";
|
|
4729
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4730
|
-
input: {
|
|
4731
|
-
query: {
|
|
4732
|
-
structured?: string | undefined;
|
|
4733
|
-
};
|
|
4734
|
-
} & {
|
|
4735
|
-
param: {
|
|
4736
|
-
sha: string;
|
|
4737
|
-
};
|
|
4738
|
-
};
|
|
4739
|
-
} | {
|
|
4740
4714
|
output: {
|
|
4741
4715
|
error: string;
|
|
4742
4716
|
code?: "invalid_input" | undefined;
|
|
@@ -4745,178 +4719,249 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4745
4719
|
status: 400;
|
|
4746
4720
|
input: {
|
|
4747
4721
|
query: {
|
|
4748
|
-
|
|
4722
|
+
refresh?: string | undefined;
|
|
4749
4723
|
};
|
|
4750
4724
|
} & {
|
|
4751
4725
|
param: {
|
|
4752
|
-
|
|
4726
|
+
kind: string;
|
|
4727
|
+
} & {
|
|
4728
|
+
number: string;
|
|
4753
4729
|
};
|
|
4754
4730
|
};
|
|
4755
4731
|
} | {
|
|
4756
4732
|
output: {
|
|
4757
|
-
|
|
4758
|
-
subject: string;
|
|
4759
|
-
author: string;
|
|
4760
|
-
when: string;
|
|
4761
|
-
files: {
|
|
4762
|
-
path: string;
|
|
4763
|
-
oldPath?: string;
|
|
4764
|
-
status: 'added' | 'modified' | 'deleted' | 'renamed' | 'copied';
|
|
4765
|
-
adds: number;
|
|
4766
|
-
dels: number;
|
|
4767
|
-
binary: boolean;
|
|
4768
|
-
image?: boolean;
|
|
4769
|
-
patch: string;
|
|
4770
|
-
}[];
|
|
4771
|
-
stat: {
|
|
4772
|
-
adds: number;
|
|
4773
|
-
dels: number;
|
|
4774
|
-
files: number;
|
|
4775
|
-
};
|
|
4733
|
+
error: string;
|
|
4776
4734
|
};
|
|
4777
4735
|
outputFormat: "json";
|
|
4778
|
-
status:
|
|
4736
|
+
status: 400;
|
|
4779
4737
|
input: {
|
|
4780
4738
|
query: {
|
|
4781
|
-
|
|
4739
|
+
refresh?: string | undefined;
|
|
4782
4740
|
};
|
|
4783
4741
|
} & {
|
|
4784
4742
|
param: {
|
|
4785
|
-
|
|
4743
|
+
kind: string;
|
|
4744
|
+
} & {
|
|
4745
|
+
number: string;
|
|
4786
4746
|
};
|
|
4787
4747
|
};
|
|
4788
4748
|
} | {
|
|
4789
4749
|
output: {
|
|
4790
|
-
|
|
4750
|
+
available: false;
|
|
4751
|
+
reason: string;
|
|
4752
|
+
comments: never[];
|
|
4791
4753
|
};
|
|
4792
4754
|
outputFormat: "json";
|
|
4793
|
-
status:
|
|
4755
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4794
4756
|
input: {
|
|
4795
4757
|
query: {
|
|
4796
|
-
|
|
4758
|
+
refresh?: string | undefined;
|
|
4797
4759
|
};
|
|
4798
4760
|
} & {
|
|
4799
4761
|
param: {
|
|
4800
|
-
|
|
4762
|
+
kind: string;
|
|
4763
|
+
} & {
|
|
4764
|
+
number: string;
|
|
4801
4765
|
};
|
|
4802
4766
|
};
|
|
4803
|
-
}
|
|
4804
|
-
};
|
|
4805
|
-
} & {
|
|
4806
|
-
"/repo/changes": {
|
|
4807
|
-
$get: {
|
|
4767
|
+
} | {
|
|
4808
4768
|
output: {
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
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;
|
|
4818
4780
|
}[];
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
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;
|
|
4827
4805
|
} | undefined;
|
|
4828
4806
|
};
|
|
4829
4807
|
outputFormat: "json";
|
|
4830
4808
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4831
|
-
input: {
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4809
|
+
input: {
|
|
4810
|
+
query: {
|
|
4811
|
+
refresh?: string | undefined;
|
|
4812
|
+
};
|
|
4813
|
+
} & {
|
|
4814
|
+
param: {
|
|
4815
|
+
kind: string;
|
|
4816
|
+
} & {
|
|
4817
|
+
number: string;
|
|
4818
|
+
};
|
|
4835
4819
|
};
|
|
4836
|
-
outputFormat: "json";
|
|
4837
|
-
status: 409;
|
|
4838
|
-
input: {};
|
|
4839
4820
|
};
|
|
4840
4821
|
};
|
|
4841
4822
|
} & {
|
|
4842
|
-
"/
|
|
4823
|
+
"/github/items/:kind/:number": {
|
|
4843
4824
|
$get: {
|
|
4844
4825
|
output: {
|
|
4845
4826
|
error: string;
|
|
4827
|
+
code?: "invalid_input" | undefined;
|
|
4846
4828
|
};
|
|
4847
4829
|
outputFormat: "json";
|
|
4848
|
-
status:
|
|
4849
|
-
input: {
|
|
4830
|
+
status: 400;
|
|
4831
|
+
input: {
|
|
4832
|
+
param: {
|
|
4833
|
+
kind: "issue" | "pr";
|
|
4834
|
+
number: string;
|
|
4835
|
+
};
|
|
4836
|
+
} & {
|
|
4837
|
+
query: {
|
|
4838
|
+
refresh?: string | undefined;
|
|
4839
|
+
};
|
|
4840
|
+
};
|
|
4850
4841
|
} | {
|
|
4851
4842
|
output: {
|
|
4852
|
-
|
|
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;
|
|
4863
|
+
} | undefined;
|
|
4864
|
+
} | {
|
|
4865
|
+
available: false;
|
|
4866
|
+
reason: string;
|
|
4853
4867
|
};
|
|
4854
4868
|
outputFormat: "json";
|
|
4855
4869
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4856
|
-
input: {
|
|
4870
|
+
input: {
|
|
4871
|
+
param: {
|
|
4872
|
+
kind: "issue" | "pr";
|
|
4873
|
+
number: string;
|
|
4874
|
+
};
|
|
4875
|
+
} & {
|
|
4876
|
+
query: {
|
|
4877
|
+
refresh?: string | undefined;
|
|
4878
|
+
};
|
|
4879
|
+
};
|
|
4857
4880
|
};
|
|
4858
4881
|
};
|
|
4859
4882
|
} & {
|
|
4860
|
-
"/
|
|
4861
|
-
$
|
|
4883
|
+
"/github/checks": {
|
|
4884
|
+
$get: {
|
|
4862
4885
|
output: {
|
|
4863
4886
|
error: string;
|
|
4887
|
+
code?: "invalid_input" | undefined;
|
|
4864
4888
|
};
|
|
4865
4889
|
outputFormat: "json";
|
|
4866
|
-
status:
|
|
4890
|
+
status: 400;
|
|
4867
4891
|
input: {
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
confirm?: boolean | undefined;
|
|
4892
|
+
query: {
|
|
4893
|
+
prs: string | string[];
|
|
4871
4894
|
};
|
|
4872
4895
|
};
|
|
4873
4896
|
} | {
|
|
4874
4897
|
output: {
|
|
4875
|
-
|
|
4876
|
-
pulled: true;
|
|
4877
|
-
summary: string;
|
|
4898
|
+
error: string;
|
|
4878
4899
|
};
|
|
4879
4900
|
outputFormat: "json";
|
|
4880
|
-
status:
|
|
4901
|
+
status: 400;
|
|
4881
4902
|
input: {
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4903
|
+
query: {
|
|
4904
|
+
prs: string | string[];
|
|
4905
|
+
};
|
|
4906
|
+
};
|
|
4907
|
+
} | {
|
|
4908
|
+
output: {
|
|
4909
|
+
available: true;
|
|
4910
|
+
checks: {
|
|
4911
|
+
[x: number]: "failing" | "passing" | "pending" | null;
|
|
4912
|
+
};
|
|
4913
|
+
} | {
|
|
4914
|
+
available: false;
|
|
4915
|
+
reason: string;
|
|
4916
|
+
};
|
|
4917
|
+
outputFormat: "json";
|
|
4918
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4919
|
+
input: {
|
|
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
|
-
|
|
4955
|
+
query: {
|
|
4956
|
+
kind: "issue" | "pr";
|
|
4957
|
+
numbers: string | string[];
|
|
4958
|
+
refresh?: "1" | undefined;
|
|
4914
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,8 +5157,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5246
5157
|
outputFormat: "json";
|
|
5247
5158
|
status: 400;
|
|
5248
5159
|
input: {
|
|
5249
|
-
|
|
5250
|
-
|
|
5160
|
+
param: {
|
|
5161
|
+
number: string;
|
|
5162
|
+
};
|
|
5163
|
+
} & {
|
|
5164
|
+
json: {
|
|
5165
|
+
method: "merge" | "rebase" | "squash";
|
|
5166
|
+
expectedHeadSha: string;
|
|
5167
|
+
overrideRules?: boolean | undefined;
|
|
5251
5168
|
};
|
|
5252
5169
|
};
|
|
5253
5170
|
} | {
|
|
@@ -5255,212 +5172,44 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5255
5172
|
error: string;
|
|
5256
5173
|
};
|
|
5257
5174
|
outputFormat: "json";
|
|
5258
|
-
status:
|
|
5175
|
+
status: 409;
|
|
5259
5176
|
input: {
|
|
5260
|
-
|
|
5261
|
-
|
|
5177
|
+
param: {
|
|
5178
|
+
number: string;
|
|
5262
5179
|
};
|
|
5263
|
-
}
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
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;
|
|
5334
|
-
};
|
|
5335
|
-
};
|
|
5336
|
-
} | {
|
|
5337
|
-
output: {
|
|
5338
|
-
available: false;
|
|
5339
|
-
reason: string;
|
|
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;
|
|
5349
|
-
};
|
|
5350
|
-
};
|
|
5351
|
-
} | {
|
|
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
|
-
output: {
|
|
5393
|
-
error: string;
|
|
5394
|
-
code?: "invalid_input" | undefined;
|
|
5395
|
-
};
|
|
5396
|
-
outputFormat: "json";
|
|
5397
|
-
status: 400;
|
|
5398
|
-
input: {
|
|
5399
|
-
query: {
|
|
5400
|
-
prs?: string | undefined;
|
|
5401
|
-
issues?: string | undefined;
|
|
5402
|
-
};
|
|
5403
|
-
};
|
|
5404
|
-
} | {
|
|
5405
|
-
output: {
|
|
5406
|
-
error: string;
|
|
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,25 +5275,38 @@ 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
|
-
|
|
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;
|
|
5551
5310
|
};
|
|
5552
5311
|
outputFormat: "json";
|
|
5553
5312
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -5556,61 +5315,313 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5556
5315
|
number: string;
|
|
5557
5316
|
};
|
|
5558
5317
|
} & {
|
|
5559
|
-
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
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
|
+
lastCommit: {
|
|
5395
|
+
sha: string;
|
|
5396
|
+
subject: string;
|
|
5397
|
+
at: string;
|
|
5398
|
+
};
|
|
5399
|
+
diffStat: {
|
|
5400
|
+
additions: number;
|
|
5401
|
+
deletions: number;
|
|
5402
|
+
} | null;
|
|
5403
|
+
pr: {
|
|
5404
|
+
number: number;
|
|
5405
|
+
url: string;
|
|
5406
|
+
state: "closed" | "draft" | "merged" | "open";
|
|
5407
|
+
} | null;
|
|
5408
|
+
keptReason?: string | undefined;
|
|
5409
|
+
parentRunId?: string | undefined;
|
|
5410
|
+
}[];
|
|
5411
|
+
counts: {
|
|
5412
|
+
notLanded: number;
|
|
5413
|
+
cleanup: number;
|
|
5414
|
+
};
|
|
5415
|
+
};
|
|
5416
|
+
outputFormat: "json";
|
|
5417
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5418
|
+
input: {};
|
|
5419
|
+
};
|
|
5420
|
+
};
|
|
5421
|
+
} & {
|
|
5422
|
+
"/repo/branches/counts": {
|
|
5423
|
+
$get: {
|
|
5424
|
+
output: {
|
|
5425
|
+
base: string;
|
|
5426
|
+
prStateKnown: boolean;
|
|
5427
|
+
counts: {
|
|
5428
|
+
notLanded: number;
|
|
5429
|
+
cleanup: number;
|
|
5430
|
+
};
|
|
5431
|
+
allBranches: number;
|
|
5432
|
+
};
|
|
5433
|
+
outputFormat: "json";
|
|
5434
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5435
|
+
input: {};
|
|
5436
|
+
};
|
|
5437
|
+
};
|
|
5438
|
+
} & {
|
|
5439
|
+
"/repo/branches/delete": {
|
|
5440
|
+
$post: {
|
|
5441
|
+
output: {
|
|
5442
|
+
error: string;
|
|
5443
|
+
refused: {
|
|
5444
|
+
name: string;
|
|
5445
|
+
reason: string;
|
|
5446
|
+
}[];
|
|
5447
|
+
};
|
|
5448
|
+
outputFormat: "json";
|
|
5449
|
+
status: 409;
|
|
5450
|
+
input: {
|
|
5451
|
+
json: {
|
|
5452
|
+
names: string[];
|
|
5453
|
+
confirm?: string | undefined;
|
|
5454
|
+
};
|
|
5455
|
+
};
|
|
5456
|
+
} | {
|
|
5457
|
+
output: {
|
|
5458
|
+
deleted: string[];
|
|
5459
|
+
refused: {
|
|
5460
|
+
name: string;
|
|
5461
|
+
reason: string;
|
|
5462
|
+
}[];
|
|
5463
|
+
dropped?: {
|
|
5464
|
+
sha: string;
|
|
5465
|
+
subject: string;
|
|
5466
|
+
}[] | undefined;
|
|
5467
|
+
};
|
|
5468
|
+
outputFormat: "json";
|
|
5469
|
+
status: 200;
|
|
5470
|
+
input: {
|
|
5471
|
+
json: {
|
|
5472
|
+
names: string[];
|
|
5473
|
+
confirm?: string | undefined;
|
|
5474
|
+
};
|
|
5475
|
+
};
|
|
5476
|
+
};
|
|
5477
|
+
};
|
|
5478
|
+
} & {
|
|
5479
|
+
"/repo/diff": {
|
|
5480
|
+
$get: {
|
|
5481
|
+
output: string;
|
|
5482
|
+
outputFormat: "text";
|
|
5483
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5484
|
+
input: {};
|
|
5485
|
+
};
|
|
5486
|
+
};
|
|
5487
|
+
} & {
|
|
5488
|
+
"/repo/commit/:sha": {
|
|
5489
|
+
$get: {
|
|
5490
|
+
output: string;
|
|
5491
|
+
outputFormat: "text";
|
|
5492
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5493
|
+
input: {
|
|
5494
|
+
query: {
|
|
5495
|
+
structured?: string | undefined;
|
|
5496
|
+
};
|
|
5497
|
+
} & {
|
|
5498
|
+
param: {
|
|
5499
|
+
sha: string;
|
|
5500
|
+
};
|
|
5501
|
+
};
|
|
5502
|
+
} | {
|
|
5503
|
+
output: {
|
|
5504
|
+
error: string;
|
|
5505
|
+
code?: "invalid_input" | undefined;
|
|
5506
|
+
};
|
|
5507
|
+
outputFormat: "json";
|
|
5508
|
+
status: 400;
|
|
5509
|
+
input: {
|
|
5510
|
+
query: {
|
|
5511
|
+
structured?: string | undefined;
|
|
5512
|
+
};
|
|
5513
|
+
} & {
|
|
5514
|
+
param: {
|
|
5515
|
+
sha: string;
|
|
5516
|
+
};
|
|
5517
|
+
};
|
|
5518
|
+
} | {
|
|
5519
|
+
output: {
|
|
5520
|
+
sha: string;
|
|
5521
|
+
subject: string;
|
|
5522
|
+
author: string;
|
|
5523
|
+
when: string;
|
|
5524
|
+
files: {
|
|
5525
|
+
path: string;
|
|
5526
|
+
oldPath?: string;
|
|
5527
|
+
status: 'added' | 'modified' | 'deleted' | 'renamed' | 'copied';
|
|
5528
|
+
adds: number;
|
|
5529
|
+
dels: number;
|
|
5530
|
+
binary: boolean;
|
|
5531
|
+
image?: boolean;
|
|
5532
|
+
patch: string;
|
|
5533
|
+
}[];
|
|
5534
|
+
stat: {
|
|
5535
|
+
adds: number;
|
|
5536
|
+
dels: number;
|
|
5537
|
+
files: number;
|
|
5538
|
+
};
|
|
5539
|
+
};
|
|
5540
|
+
outputFormat: "json";
|
|
5541
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5542
|
+
input: {
|
|
5543
|
+
query: {
|
|
5544
|
+
structured?: string | undefined;
|
|
5545
|
+
};
|
|
5546
|
+
} & {
|
|
5547
|
+
param: {
|
|
5548
|
+
sha: string;
|
|
5549
|
+
};
|
|
5550
|
+
};
|
|
5551
|
+
} | {
|
|
5552
|
+
output: {
|
|
5553
|
+
error: string;
|
|
5554
|
+
};
|
|
5555
|
+
outputFormat: "json";
|
|
5556
|
+
status: 409;
|
|
5557
|
+
input: {
|
|
5558
|
+
query: {
|
|
5559
|
+
structured?: string | undefined;
|
|
5560
|
+
};
|
|
5561
|
+
} & {
|
|
5562
|
+
param: {
|
|
5563
|
+
sha: string;
|
|
5564
|
+
};
|
|
5565
|
+
};
|
|
5566
|
+
};
|
|
5567
|
+
};
|
|
5568
|
+
} & {
|
|
5569
|
+
"/repo/commit/:sha/file": {
|
|
5570
|
+
$get: {
|
|
5571
|
+
output: {
|
|
5572
|
+
error: string;
|
|
5573
|
+
code?: "invalid_input" | undefined;
|
|
5574
|
+
};
|
|
5575
|
+
outputFormat: "json";
|
|
5576
|
+
status: 400;
|
|
5577
|
+
input: {
|
|
5578
|
+
param: {
|
|
5579
|
+
sha: string;
|
|
5580
|
+
};
|
|
5581
|
+
} & {
|
|
5582
|
+
query: {
|
|
5583
|
+
path: string | string[];
|
|
5584
|
+
};
|
|
5585
|
+
};
|
|
5586
|
+
} | {
|
|
5587
|
+
output: {
|
|
5588
|
+
type: 'file';
|
|
5589
|
+
path: string;
|
|
5590
|
+
size: number;
|
|
5591
|
+
binary: boolean;
|
|
5592
|
+
tooLarge: boolean;
|
|
5593
|
+
content?: string | undefined;
|
|
5594
|
+
};
|
|
5595
|
+
outputFormat: "json";
|
|
5596
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5597
|
+
input: {
|
|
5598
|
+
param: {
|
|
5599
|
+
sha: string;
|
|
5600
|
+
};
|
|
5601
|
+
} & {
|
|
5602
|
+
query: {
|
|
5603
|
+
path: string | string[];
|
|
5604
|
+
};
|
|
5564
5605
|
};
|
|
5565
5606
|
} | {
|
|
5566
5607
|
output: {
|
|
5567
5608
|
error: string;
|
|
5568
|
-
code?: string | undefined;
|
|
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;
|
|
5596
5609
|
};
|
|
5597
5610
|
outputFormat: "json";
|
|
5598
|
-
status:
|
|
5611
|
+
status: 409;
|
|
5599
5612
|
input: {
|
|
5600
5613
|
param: {
|
|
5601
|
-
|
|
5614
|
+
sha: string;
|
|
5602
5615
|
};
|
|
5603
5616
|
} & {
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
expectedHeadSha: string;
|
|
5607
|
-
overrideRules?: boolean | undefined;
|
|
5617
|
+
query: {
|
|
5618
|
+
path: string | string[];
|
|
5608
5619
|
};
|
|
5609
5620
|
};
|
|
5610
5621
|
};
|
|
5611
5622
|
};
|
|
5612
5623
|
} & {
|
|
5613
|
-
"/
|
|
5624
|
+
"/repo/files": {
|
|
5614
5625
|
$get: {
|
|
5615
5626
|
output: {
|
|
5616
5627
|
error: string;
|
|
@@ -5619,12 +5630,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5619
5630
|
outputFormat: "json";
|
|
5620
5631
|
status: 400;
|
|
5621
5632
|
input: {
|
|
5622
|
-
|
|
5623
|
-
|
|
5633
|
+
query: {
|
|
5634
|
+
path: string | string[];
|
|
5624
5635
|
};
|
|
5625
|
-
}
|
|
5636
|
+
};
|
|
5637
|
+
} | {
|
|
5638
|
+
output: {
|
|
5639
|
+
type: 'file';
|
|
5640
|
+
path: string;
|
|
5641
|
+
size: number;
|
|
5642
|
+
binary: boolean;
|
|
5643
|
+
tooLarge: boolean;
|
|
5644
|
+
content?: string | undefined;
|
|
5645
|
+
};
|
|
5646
|
+
outputFormat: "json";
|
|
5647
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5648
|
+
input: {
|
|
5626
5649
|
query: {
|
|
5627
|
-
|
|
5650
|
+
path: string | string[];
|
|
5628
5651
|
};
|
|
5629
5652
|
};
|
|
5630
5653
|
} | {
|
|
@@ -5632,48 +5655,123 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5632
5655
|
error: string;
|
|
5633
5656
|
};
|
|
5634
5657
|
outputFormat: "json";
|
|
5635
|
-
status:
|
|
5658
|
+
status: 409;
|
|
5636
5659
|
input: {
|
|
5637
|
-
param: {
|
|
5638
|
-
number: string;
|
|
5639
|
-
};
|
|
5640
|
-
} & {
|
|
5641
5660
|
query: {
|
|
5642
|
-
|
|
5661
|
+
path: string | string[];
|
|
5643
5662
|
};
|
|
5644
5663
|
};
|
|
5645
|
-
}
|
|
5664
|
+
};
|
|
5665
|
+
};
|
|
5666
|
+
} & {
|
|
5667
|
+
"/repo/changes": {
|
|
5668
|
+
$get: {
|
|
5646
5669
|
output: {
|
|
5647
|
-
available: true;
|
|
5648
|
-
number: number;
|
|
5649
|
-
headSha: string;
|
|
5650
5670
|
files: {
|
|
5651
5671
|
path: string;
|
|
5652
|
-
|
|
5653
|
-
status: 'added' | 'modified' | '
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5672
|
+
oldPath?: string;
|
|
5673
|
+
status: 'added' | 'modified' | 'deleted' | 'renamed' | 'copied';
|
|
5674
|
+
adds: number;
|
|
5675
|
+
dels: number;
|
|
5676
|
+
binary: boolean;
|
|
5677
|
+
image?: boolean;
|
|
5678
|
+
patch: string;
|
|
5659
5679
|
}[];
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5680
|
+
stat: {
|
|
5681
|
+
adds: number;
|
|
5682
|
+
dels: number;
|
|
5683
|
+
files: number;
|
|
5684
|
+
};
|
|
5685
|
+
repointedHead?: {
|
|
5686
|
+
headBranch: string;
|
|
5687
|
+
taskBranch: string;
|
|
5688
|
+
} | undefined;
|
|
5689
|
+
};
|
|
5690
|
+
outputFormat: "json";
|
|
5691
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5692
|
+
input: {};
|
|
5693
|
+
} | {
|
|
5694
|
+
output: {
|
|
5695
|
+
error: string;
|
|
5696
|
+
};
|
|
5697
|
+
outputFormat: "json";
|
|
5698
|
+
status: 409;
|
|
5699
|
+
input: {};
|
|
5700
|
+
};
|
|
5701
|
+
};
|
|
5702
|
+
} & {
|
|
5703
|
+
"/repo/pull": {
|
|
5704
|
+
$get: {
|
|
5705
|
+
output: {
|
|
5706
|
+
error: string;
|
|
5707
|
+
};
|
|
5708
|
+
outputFormat: "json";
|
|
5709
|
+
status: 409;
|
|
5710
|
+
input: {};
|
|
5711
|
+
} | {
|
|
5712
|
+
output: {
|
|
5713
|
+
branches: string[];
|
|
5667
5714
|
};
|
|
5668
5715
|
outputFormat: "json";
|
|
5669
5716
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5717
|
+
input: {};
|
|
5718
|
+
};
|
|
5719
|
+
};
|
|
5720
|
+
} & {
|
|
5721
|
+
"/repo/pull": {
|
|
5722
|
+
$post: {
|
|
5723
|
+
output: {
|
|
5724
|
+
error: string;
|
|
5725
|
+
};
|
|
5726
|
+
outputFormat: "json";
|
|
5727
|
+
status: 409;
|
|
5670
5728
|
input: {
|
|
5671
|
-
|
|
5672
|
-
|
|
5729
|
+
json: {
|
|
5730
|
+
branch?: string | undefined;
|
|
5731
|
+
confirm?: boolean | undefined;
|
|
5673
5732
|
};
|
|
5674
|
-
}
|
|
5675
|
-
|
|
5676
|
-
|
|
5733
|
+
};
|
|
5734
|
+
} | {
|
|
5735
|
+
output: {
|
|
5736
|
+
branch: string;
|
|
5737
|
+
pulled: true;
|
|
5738
|
+
summary: string;
|
|
5739
|
+
};
|
|
5740
|
+
outputFormat: "json";
|
|
5741
|
+
status: 200;
|
|
5742
|
+
input: {
|
|
5743
|
+
json: {
|
|
5744
|
+
branch?: string | undefined;
|
|
5745
|
+
confirm?: boolean | undefined;
|
|
5746
|
+
};
|
|
5747
|
+
};
|
|
5748
|
+
};
|
|
5749
|
+
};
|
|
5750
|
+
} & {
|
|
5751
|
+
"/repo/branch": {
|
|
5752
|
+
$post: {
|
|
5753
|
+
output: {
|
|
5754
|
+
error: string;
|
|
5755
|
+
};
|
|
5756
|
+
outputFormat: "json";
|
|
5757
|
+
status: 409;
|
|
5758
|
+
input: {
|
|
5759
|
+
json: {
|
|
5760
|
+
name: string;
|
|
5761
|
+
from?: string | undefined;
|
|
5762
|
+
};
|
|
5763
|
+
};
|
|
5764
|
+
} | {
|
|
5765
|
+
output: {
|
|
5766
|
+
branch: string;
|
|
5767
|
+
created: boolean;
|
|
5768
|
+
};
|
|
5769
|
+
outputFormat: "json";
|
|
5770
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
5771
|
+
input: {
|
|
5772
|
+
json: {
|
|
5773
|
+
name: string;
|
|
5774
|
+
from?: string | undefined;
|
|
5677
5775
|
};
|
|
5678
5776
|
};
|
|
5679
5777
|
};
|
|
@@ -18164,6 +18262,64 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18164
18262
|
};
|
|
18165
18263
|
};
|
|
18166
18264
|
};
|
|
18265
|
+
} & {
|
|
18266
|
+
"/runs/:id/commit/:sha/file": {
|
|
18267
|
+
$get: {
|
|
18268
|
+
output: {
|
|
18269
|
+
error: string;
|
|
18270
|
+
code?: "invalid_input" | undefined;
|
|
18271
|
+
};
|
|
18272
|
+
outputFormat: "json";
|
|
18273
|
+
status: 400;
|
|
18274
|
+
input: {
|
|
18275
|
+
param: {
|
|
18276
|
+
sha: string;
|
|
18277
|
+
id: string;
|
|
18278
|
+
};
|
|
18279
|
+
} & {
|
|
18280
|
+
query: {
|
|
18281
|
+
path: string | string[];
|
|
18282
|
+
};
|
|
18283
|
+
};
|
|
18284
|
+
} | {
|
|
18285
|
+
output: {
|
|
18286
|
+
error: string;
|
|
18287
|
+
};
|
|
18288
|
+
outputFormat: "json";
|
|
18289
|
+
status: 404 | 409;
|
|
18290
|
+
input: {
|
|
18291
|
+
param: {
|
|
18292
|
+
sha: string;
|
|
18293
|
+
id: string;
|
|
18294
|
+
};
|
|
18295
|
+
} & {
|
|
18296
|
+
query: {
|
|
18297
|
+
path: string | string[];
|
|
18298
|
+
};
|
|
18299
|
+
};
|
|
18300
|
+
} | {
|
|
18301
|
+
output: {
|
|
18302
|
+
type: 'file';
|
|
18303
|
+
path: string;
|
|
18304
|
+
size: number;
|
|
18305
|
+
binary: boolean;
|
|
18306
|
+
tooLarge: boolean;
|
|
18307
|
+
content?: string | undefined;
|
|
18308
|
+
};
|
|
18309
|
+
outputFormat: "json";
|
|
18310
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
18311
|
+
input: {
|
|
18312
|
+
param: {
|
|
18313
|
+
sha: string;
|
|
18314
|
+
id: string;
|
|
18315
|
+
};
|
|
18316
|
+
} & {
|
|
18317
|
+
query: {
|
|
18318
|
+
path: string | string[];
|
|
18319
|
+
};
|
|
18320
|
+
};
|
|
18321
|
+
};
|
|
18322
|
+
};
|
|
18167
18323
|
} & {
|
|
18168
18324
|
"/runs/:id/file-link": {
|
|
18169
18325
|
$get: {
|
|
@@ -18546,14 +18702,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18546
18702
|
};
|
|
18547
18703
|
} | {
|
|
18548
18704
|
output: {
|
|
18549
|
-
type: '
|
|
18705
|
+
type: 'file';
|
|
18550
18706
|
path: string;
|
|
18551
|
-
|
|
18552
|
-
|
|
18553
|
-
|
|
18554
|
-
|
|
18555
|
-
chain?: string;
|
|
18556
|
-
}[];
|
|
18707
|
+
size: number;
|
|
18708
|
+
binary: boolean;
|
|
18709
|
+
tooLarge: boolean;
|
|
18710
|
+
content?: string | undefined;
|
|
18557
18711
|
};
|
|
18558
18712
|
outputFormat: "json";
|
|
18559
18713
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -18569,12 +18723,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18569
18723
|
};
|
|
18570
18724
|
} | {
|
|
18571
18725
|
output: {
|
|
18572
|
-
type: '
|
|
18726
|
+
type: 'dir';
|
|
18573
18727
|
path: string;
|
|
18574
|
-
|
|
18575
|
-
|
|
18576
|
-
|
|
18577
|
-
|
|
18728
|
+
entries: {
|
|
18729
|
+
name: string;
|
|
18730
|
+
type: 'dir' | 'file';
|
|
18731
|
+
size?: number;
|
|
18732
|
+
chain?: string;
|
|
18733
|
+
}[];
|
|
18578
18734
|
};
|
|
18579
18735
|
outputFormat: "json";
|
|
18580
18736
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -20030,364 +20186,409 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20030
20186
|
};
|
|
20031
20187
|
};
|
|
20032
20188
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
20033
|
-
"/
|
|
20189
|
+
"/github": {
|
|
20034
20190
|
$get: {
|
|
20035
20191
|
output: {
|
|
20036
|
-
|
|
20037
|
-
|
|
20038
|
-
log: never[];
|
|
20039
|
-
branches: never[];
|
|
20040
|
-
baseBranch: null;
|
|
20041
|
-
tracking: null;
|
|
20192
|
+
error: string;
|
|
20193
|
+
code?: "invalid_input" | undefined;
|
|
20042
20194
|
};
|
|
20043
20195
|
outputFormat: "json";
|
|
20044
|
-
status:
|
|
20045
|
-
input: {
|
|
20196
|
+
status: 400;
|
|
20197
|
+
input: {
|
|
20198
|
+
query: {
|
|
20199
|
+
limit?: string | undefined;
|
|
20200
|
+
refresh?: string | undefined;
|
|
20201
|
+
issuesCursor?: string | undefined;
|
|
20202
|
+
prsCursor?: string | undefined;
|
|
20203
|
+
issuesDone?: "1" | undefined;
|
|
20204
|
+
prsDone?: "1" | undefined;
|
|
20205
|
+
};
|
|
20206
|
+
};
|
|
20046
20207
|
} | {
|
|
20047
20208
|
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;
|
|
20209
|
+
available: false;
|
|
20210
|
+
reason: string;
|
|
20211
|
+
issues: never[];
|
|
20212
|
+
prs: never[];
|
|
20083
20213
|
};
|
|
20084
20214
|
outputFormat: "json";
|
|
20085
20215
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20086
|
-
input: {
|
|
20087
|
-
|
|
20088
|
-
|
|
20089
|
-
|
|
20090
|
-
|
|
20091
|
-
|
|
20216
|
+
input: {
|
|
20217
|
+
query: {
|
|
20218
|
+
limit?: string | undefined;
|
|
20219
|
+
refresh?: string | undefined;
|
|
20220
|
+
issuesCursor?: string | undefined;
|
|
20221
|
+
prsCursor?: string | undefined;
|
|
20222
|
+
issuesDone?: "1" | undefined;
|
|
20223
|
+
prsDone?: "1" | undefined;
|
|
20224
|
+
};
|
|
20225
|
+
};
|
|
20226
|
+
} | {
|
|
20092
20227
|
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;
|
|
20228
|
+
available: boolean;
|
|
20229
|
+
reason?: string | undefined;
|
|
20230
|
+
repo?: string | undefined;
|
|
20231
|
+
syncedAt?: string | undefined;
|
|
20232
|
+
issues: {
|
|
20233
|
+
kind: "issue" | "pr";
|
|
20234
|
+
number: number;
|
|
20235
|
+
title: string;
|
|
20236
|
+
author: string;
|
|
20237
|
+
createdAt: string;
|
|
20238
|
+
labels: string[];
|
|
20239
|
+
body?: string | undefined;
|
|
20240
|
+
url: string;
|
|
20241
|
+
comments: number;
|
|
20242
|
+
assignees?: string[] | undefined;
|
|
20243
|
+
projectIds?: string[] | undefined;
|
|
20244
|
+
isDraft?: boolean | undefined;
|
|
20245
|
+
additions?: number | undefined;
|
|
20246
|
+
deletions?: number | undefined;
|
|
20247
|
+
checks?: "failing" | "passing" | "pending" | null | undefined;
|
|
20118
20248
|
}[];
|
|
20119
|
-
|
|
20120
|
-
|
|
20121
|
-
|
|
20122
|
-
|
|
20249
|
+
prs: {
|
|
20250
|
+
kind: "issue" | "pr";
|
|
20251
|
+
number: number;
|
|
20252
|
+
title: string;
|
|
20253
|
+
author: string;
|
|
20254
|
+
createdAt: string;
|
|
20255
|
+
labels: string[];
|
|
20256
|
+
body?: string | undefined;
|
|
20257
|
+
url: string;
|
|
20258
|
+
comments: number;
|
|
20259
|
+
assignees?: string[] | undefined;
|
|
20260
|
+
projectIds?: string[] | undefined;
|
|
20261
|
+
isDraft?: boolean | undefined;
|
|
20262
|
+
additions?: number | undefined;
|
|
20263
|
+
deletions?: number | undefined;
|
|
20264
|
+
checks?: "failing" | "passing" | "pending" | null | undefined;
|
|
20265
|
+
}[];
|
|
20266
|
+
labelColors?: {
|
|
20267
|
+
[x: string]: string;
|
|
20268
|
+
} | undefined;
|
|
20269
|
+
viewerLogin?: string | undefined;
|
|
20270
|
+
projects?: {
|
|
20271
|
+
id: string;
|
|
20272
|
+
title: string;
|
|
20273
|
+
url: string;
|
|
20274
|
+
}[] | undefined;
|
|
20275
|
+
projectsReason?: string | undefined;
|
|
20276
|
+
projectsState?: "ready" | "refreshing" | "unavailable" | undefined;
|
|
20277
|
+
projectsGeneration?: string | undefined;
|
|
20278
|
+
issuesTotal?: number | undefined;
|
|
20279
|
+
prsTotal?: number | undefined;
|
|
20280
|
+
issuesNextCursor?: string | null | undefined;
|
|
20281
|
+
prsNextCursor?: string | null | undefined;
|
|
20282
|
+
commentsDeferred?: true | undefined;
|
|
20123
20283
|
};
|
|
20124
20284
|
outputFormat: "json";
|
|
20125
20285
|
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;
|
|
20286
|
+
input: {
|
|
20287
|
+
query: {
|
|
20288
|
+
limit?: string | undefined;
|
|
20289
|
+
refresh?: string | undefined;
|
|
20290
|
+
issuesCursor?: string | undefined;
|
|
20291
|
+
prsCursor?: string | undefined;
|
|
20292
|
+
issuesDone?: "1" | undefined;
|
|
20293
|
+
prsDone?: "1" | undefined;
|
|
20138
20294
|
};
|
|
20139
|
-
allBranches: number;
|
|
20140
20295
|
};
|
|
20141
|
-
outputFormat: "json";
|
|
20142
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20143
|
-
input: {};
|
|
20144
20296
|
};
|
|
20145
20297
|
};
|
|
20146
20298
|
} & {
|
|
20147
|
-
"/
|
|
20148
|
-
$
|
|
20299
|
+
"/github/projects": {
|
|
20300
|
+
$get: {
|
|
20149
20301
|
output: {
|
|
20150
20302
|
error: string;
|
|
20151
|
-
|
|
20152
|
-
name: string;
|
|
20153
|
-
reason: string;
|
|
20154
|
-
}[];
|
|
20303
|
+
code?: "invalid_input" | undefined;
|
|
20155
20304
|
};
|
|
20156
20305
|
outputFormat: "json";
|
|
20157
|
-
status:
|
|
20306
|
+
status: 400;
|
|
20158
20307
|
input: {
|
|
20159
|
-
|
|
20160
|
-
|
|
20161
|
-
confirm?: string | undefined;
|
|
20308
|
+
query: {
|
|
20309
|
+
generation: string | string[];
|
|
20162
20310
|
};
|
|
20163
20311
|
};
|
|
20164
20312
|
} | {
|
|
20165
20313
|
output: {
|
|
20166
|
-
|
|
20167
|
-
|
|
20168
|
-
|
|
20169
|
-
|
|
20314
|
+
generation: string;
|
|
20315
|
+
state: "ready";
|
|
20316
|
+
projects: {
|
|
20317
|
+
id: string;
|
|
20318
|
+
title: string;
|
|
20319
|
+
url: string;
|
|
20170
20320
|
}[];
|
|
20171
|
-
|
|
20172
|
-
|
|
20173
|
-
|
|
20174
|
-
|
|
20321
|
+
membership: {
|
|
20322
|
+
[x: string]: string[];
|
|
20323
|
+
};
|
|
20324
|
+
} | {
|
|
20325
|
+
generation: string;
|
|
20326
|
+
state: "unavailable";
|
|
20327
|
+
reason: string;
|
|
20175
20328
|
};
|
|
20176
20329
|
outputFormat: "json";
|
|
20177
|
-
status:
|
|
20330
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20178
20331
|
input: {
|
|
20179
|
-
|
|
20180
|
-
|
|
20181
|
-
confirm?: string | undefined;
|
|
20332
|
+
query: {
|
|
20333
|
+
generation: string | string[];
|
|
20182
20334
|
};
|
|
20183
20335
|
};
|
|
20184
20336
|
};
|
|
20185
20337
|
};
|
|
20186
20338
|
} & {
|
|
20187
|
-
"/
|
|
20188
|
-
$get: {
|
|
20189
|
-
output: string;
|
|
20190
|
-
outputFormat: "text";
|
|
20191
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20192
|
-
input: {};
|
|
20193
|
-
};
|
|
20194
|
-
};
|
|
20195
|
-
} & {
|
|
20196
|
-
"/repo/commit/:sha": {
|
|
20339
|
+
"/github/comments/:kind/:number": {
|
|
20197
20340
|
$get: {
|
|
20198
|
-
output:
|
|
20199
|
-
|
|
20200
|
-
|
|
20341
|
+
output: {
|
|
20342
|
+
error: string;
|
|
20343
|
+
code?: "invalid_input" | undefined;
|
|
20344
|
+
};
|
|
20345
|
+
outputFormat: "json";
|
|
20346
|
+
status: 400;
|
|
20201
20347
|
input: {
|
|
20202
20348
|
query: {
|
|
20203
|
-
|
|
20349
|
+
refresh?: string | undefined;
|
|
20204
20350
|
};
|
|
20205
20351
|
} & {
|
|
20206
20352
|
param: {
|
|
20207
|
-
|
|
20353
|
+
kind: string;
|
|
20354
|
+
} & {
|
|
20355
|
+
number: string;
|
|
20208
20356
|
};
|
|
20209
20357
|
};
|
|
20210
20358
|
} | {
|
|
20211
20359
|
output: {
|
|
20212
20360
|
error: string;
|
|
20213
|
-
code?: "invalid_input" | undefined;
|
|
20214
20361
|
};
|
|
20215
20362
|
outputFormat: "json";
|
|
20216
20363
|
status: 400;
|
|
20217
20364
|
input: {
|
|
20218
20365
|
query: {
|
|
20219
|
-
|
|
20366
|
+
refresh?: string | undefined;
|
|
20220
20367
|
};
|
|
20221
20368
|
} & {
|
|
20222
20369
|
param: {
|
|
20223
|
-
|
|
20370
|
+
kind: string;
|
|
20371
|
+
} & {
|
|
20372
|
+
number: string;
|
|
20224
20373
|
};
|
|
20225
20374
|
};
|
|
20226
20375
|
} | {
|
|
20227
20376
|
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
|
-
};
|
|
20377
|
+
available: false;
|
|
20378
|
+
reason: string;
|
|
20379
|
+
comments: never[];
|
|
20247
20380
|
};
|
|
20248
20381
|
outputFormat: "json";
|
|
20249
20382
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20250
20383
|
input: {
|
|
20251
20384
|
query: {
|
|
20252
|
-
|
|
20385
|
+
refresh?: string | undefined;
|
|
20253
20386
|
};
|
|
20254
20387
|
} & {
|
|
20255
20388
|
param: {
|
|
20256
|
-
|
|
20389
|
+
kind: string;
|
|
20390
|
+
} & {
|
|
20391
|
+
number: string;
|
|
20257
20392
|
};
|
|
20258
20393
|
};
|
|
20259
20394
|
} | {
|
|
20260
20395
|
output: {
|
|
20261
|
-
|
|
20396
|
+
available: boolean;
|
|
20397
|
+
reason?: string | undefined;
|
|
20398
|
+
comments: {
|
|
20399
|
+
id: number;
|
|
20400
|
+
author: string;
|
|
20401
|
+
avatarUrl?: string | undefined;
|
|
20402
|
+
createdAt: string;
|
|
20403
|
+
body: string;
|
|
20404
|
+
kind: "comment" | "review";
|
|
20405
|
+
reviewState?: "approved" | "changes_requested" | "commented" | "dismissed" | undefined;
|
|
20406
|
+
url: string;
|
|
20407
|
+
}[];
|
|
20408
|
+
truncated?: boolean | undefined;
|
|
20409
|
+
events?: {
|
|
20410
|
+
id: string;
|
|
20411
|
+
kind: "assigned" | "closed" | "committed" | "cross-referenced" | "head_ref_force_pushed" | "labeled" | "merged" | "renamed" | "reopened" | "unassigned" | "unlabeled";
|
|
20412
|
+
actor: string;
|
|
20413
|
+
avatarUrl?: string | undefined;
|
|
20414
|
+
createdAt: string;
|
|
20415
|
+
url?: string | undefined;
|
|
20416
|
+
sha?: string | undefined;
|
|
20417
|
+
message?: string | undefined;
|
|
20418
|
+
checks?: "failing" | "passing" | "pending" | null | undefined;
|
|
20419
|
+
label?: {
|
|
20420
|
+
name: string;
|
|
20421
|
+
color?: string | undefined;
|
|
20422
|
+
} | undefined;
|
|
20423
|
+
subject?: string | undefined;
|
|
20424
|
+
refNumber?: number | undefined;
|
|
20425
|
+
refTitle?: string | undefined;
|
|
20426
|
+
refIsPr?: boolean | undefined;
|
|
20427
|
+
}[] | undefined;
|
|
20428
|
+
detail?: {
|
|
20429
|
+
body: string;
|
|
20430
|
+
additions?: number | undefined;
|
|
20431
|
+
deletions?: number | undefined;
|
|
20432
|
+
} | undefined;
|
|
20262
20433
|
};
|
|
20263
20434
|
outputFormat: "json";
|
|
20264
|
-
status:
|
|
20435
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20265
20436
|
input: {
|
|
20266
20437
|
query: {
|
|
20267
|
-
|
|
20438
|
+
refresh?: string | undefined;
|
|
20268
20439
|
};
|
|
20269
20440
|
} & {
|
|
20270
20441
|
param: {
|
|
20271
|
-
|
|
20442
|
+
kind: string;
|
|
20443
|
+
} & {
|
|
20444
|
+
number: string;
|
|
20272
20445
|
};
|
|
20273
20446
|
};
|
|
20274
20447
|
};
|
|
20275
20448
|
};
|
|
20276
20449
|
} & {
|
|
20277
|
-
"/
|
|
20450
|
+
"/github/items/:kind/:number": {
|
|
20278
20451
|
$get: {
|
|
20279
20452
|
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;
|
|
20453
|
+
error: string;
|
|
20454
|
+
code?: "invalid_input" | undefined;
|
|
20299
20455
|
};
|
|
20300
20456
|
outputFormat: "json";
|
|
20301
|
-
status:
|
|
20302
|
-
input: {
|
|
20457
|
+
status: 400;
|
|
20458
|
+
input: {
|
|
20459
|
+
param: {
|
|
20460
|
+
kind: "issue" | "pr";
|
|
20461
|
+
number: string;
|
|
20462
|
+
};
|
|
20463
|
+
} & {
|
|
20464
|
+
query: {
|
|
20465
|
+
refresh?: string | undefined;
|
|
20466
|
+
};
|
|
20467
|
+
};
|
|
20303
20468
|
} | {
|
|
20304
20469
|
output: {
|
|
20305
|
-
|
|
20470
|
+
available: true;
|
|
20471
|
+
item: {
|
|
20472
|
+
kind: "issue" | "pr";
|
|
20473
|
+
number: number;
|
|
20474
|
+
title: string;
|
|
20475
|
+
author: string;
|
|
20476
|
+
createdAt: string;
|
|
20477
|
+
labels: string[];
|
|
20478
|
+
body?: string | undefined;
|
|
20479
|
+
url: string;
|
|
20480
|
+
comments: number;
|
|
20481
|
+
assignees?: string[] | undefined;
|
|
20482
|
+
projectIds?: string[] | undefined;
|
|
20483
|
+
isDraft?: boolean | undefined;
|
|
20484
|
+
additions?: number | undefined;
|
|
20485
|
+
deletions?: number | undefined;
|
|
20486
|
+
checks?: "failing" | "passing" | "pending" | null | undefined;
|
|
20487
|
+
} | null;
|
|
20488
|
+
labelColors?: {
|
|
20489
|
+
[x: string]: string;
|
|
20490
|
+
} | undefined;
|
|
20491
|
+
} | {
|
|
20492
|
+
available: false;
|
|
20493
|
+
reason: string;
|
|
20306
20494
|
};
|
|
20307
20495
|
outputFormat: "json";
|
|
20308
|
-
status:
|
|
20309
|
-
input: {
|
|
20496
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20497
|
+
input: {
|
|
20498
|
+
param: {
|
|
20499
|
+
kind: "issue" | "pr";
|
|
20500
|
+
number: string;
|
|
20501
|
+
};
|
|
20502
|
+
} & {
|
|
20503
|
+
query: {
|
|
20504
|
+
refresh?: string | undefined;
|
|
20505
|
+
};
|
|
20506
|
+
};
|
|
20310
20507
|
};
|
|
20311
20508
|
};
|
|
20312
20509
|
} & {
|
|
20313
|
-
"/
|
|
20510
|
+
"/github/checks": {
|
|
20314
20511
|
$get: {
|
|
20315
20512
|
output: {
|
|
20316
20513
|
error: string;
|
|
20514
|
+
code?: "invalid_input" | undefined;
|
|
20317
20515
|
};
|
|
20318
20516
|
outputFormat: "json";
|
|
20319
|
-
status:
|
|
20320
|
-
input: {
|
|
20321
|
-
|
|
20322
|
-
|
|
20323
|
-
|
|
20517
|
+
status: 400;
|
|
20518
|
+
input: {
|
|
20519
|
+
query: {
|
|
20520
|
+
prs: string | string[];
|
|
20521
|
+
};
|
|
20324
20522
|
};
|
|
20325
|
-
|
|
20326
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20327
|
-
input: {};
|
|
20328
|
-
};
|
|
20329
|
-
};
|
|
20330
|
-
} & {
|
|
20331
|
-
"/repo/pull": {
|
|
20332
|
-
$post: {
|
|
20523
|
+
} | {
|
|
20333
20524
|
output: {
|
|
20334
20525
|
error: string;
|
|
20335
20526
|
};
|
|
20336
20527
|
outputFormat: "json";
|
|
20337
|
-
status:
|
|
20528
|
+
status: 400;
|
|
20338
20529
|
input: {
|
|
20339
|
-
|
|
20340
|
-
|
|
20341
|
-
confirm?: boolean | undefined;
|
|
20530
|
+
query: {
|
|
20531
|
+
prs: string | string[];
|
|
20342
20532
|
};
|
|
20343
20533
|
};
|
|
20344
20534
|
} | {
|
|
20345
20535
|
output: {
|
|
20346
|
-
|
|
20347
|
-
|
|
20348
|
-
|
|
20536
|
+
available: true;
|
|
20537
|
+
checks: {
|
|
20538
|
+
[x: number]: "failing" | "passing" | "pending" | null;
|
|
20539
|
+
};
|
|
20540
|
+
} | {
|
|
20541
|
+
available: false;
|
|
20542
|
+
reason: string;
|
|
20349
20543
|
};
|
|
20350
20544
|
outputFormat: "json";
|
|
20351
|
-
status:
|
|
20545
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20352
20546
|
input: {
|
|
20353
|
-
|
|
20354
|
-
|
|
20355
|
-
confirm?: boolean | undefined;
|
|
20547
|
+
query: {
|
|
20548
|
+
prs: string | string[];
|
|
20356
20549
|
};
|
|
20357
20550
|
};
|
|
20358
20551
|
};
|
|
20359
20552
|
};
|
|
20360
20553
|
} & {
|
|
20361
|
-
"/
|
|
20362
|
-
$
|
|
20554
|
+
"/github/comment-counts": {
|
|
20555
|
+
$get: {
|
|
20363
20556
|
output: {
|
|
20364
20557
|
error: string;
|
|
20558
|
+
code?: "invalid_input" | undefined;
|
|
20365
20559
|
};
|
|
20366
20560
|
outputFormat: "json";
|
|
20367
|
-
status:
|
|
20561
|
+
status: 400;
|
|
20368
20562
|
input: {
|
|
20369
|
-
|
|
20370
|
-
|
|
20371
|
-
|
|
20563
|
+
query: {
|
|
20564
|
+
kind: "issue" | "pr";
|
|
20565
|
+
numbers: string | string[];
|
|
20566
|
+
refresh?: "1" | undefined;
|
|
20372
20567
|
};
|
|
20373
20568
|
};
|
|
20374
20569
|
} | {
|
|
20375
20570
|
output: {
|
|
20376
|
-
|
|
20377
|
-
|
|
20571
|
+
available: true;
|
|
20572
|
+
counts: {
|
|
20573
|
+
[x: number]: number;
|
|
20574
|
+
};
|
|
20575
|
+
} | {
|
|
20576
|
+
available: false;
|
|
20577
|
+
reason: string;
|
|
20378
20578
|
};
|
|
20379
20579
|
outputFormat: "json";
|
|
20380
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20381
|
-
input: {
|
|
20382
|
-
|
|
20383
|
-
|
|
20384
|
-
|
|
20580
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20581
|
+
input: {
|
|
20582
|
+
query: {
|
|
20583
|
+
kind: "issue" | "pr";
|
|
20584
|
+
numbers: string | string[];
|
|
20585
|
+
refresh?: "1" | undefined;
|
|
20385
20586
|
};
|
|
20386
20587
|
};
|
|
20387
20588
|
};
|
|
20388
20589
|
};
|
|
20389
|
-
}
|
|
20390
|
-
"/github": {
|
|
20590
|
+
} & {
|
|
20591
|
+
"/github/search": {
|
|
20391
20592
|
$get: {
|
|
20392
20593
|
output: {
|
|
20393
20594
|
error: string;
|
|
@@ -20397,57 +20598,32 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20397
20598
|
status: 400;
|
|
20398
20599
|
input: {
|
|
20399
20600
|
query: {
|
|
20400
|
-
|
|
20401
|
-
|
|
20402
|
-
|
|
20403
|
-
prsCursor?: string | undefined;
|
|
20404
|
-
issuesDone?: "1" | undefined;
|
|
20405
|
-
prsDone?: "1" | undefined;
|
|
20601
|
+
kind: "issue" | "pr";
|
|
20602
|
+
q: string | string[];
|
|
20603
|
+
limit?: number | undefined;
|
|
20406
20604
|
};
|
|
20407
20605
|
};
|
|
20408
20606
|
} | {
|
|
20409
20607
|
output: {
|
|
20410
20608
|
available: false;
|
|
20411
20609
|
reason: string;
|
|
20412
|
-
|
|
20413
|
-
prs: never[];
|
|
20610
|
+
items: never[];
|
|
20414
20611
|
};
|
|
20415
20612
|
outputFormat: "json";
|
|
20416
20613
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20417
20614
|
input: {
|
|
20418
20615
|
query: {
|
|
20419
|
-
|
|
20420
|
-
|
|
20421
|
-
|
|
20422
|
-
prsCursor?: string | undefined;
|
|
20423
|
-
issuesDone?: "1" | undefined;
|
|
20424
|
-
prsDone?: "1" | undefined;
|
|
20616
|
+
kind: "issue" | "pr";
|
|
20617
|
+
q: string | string[];
|
|
20618
|
+
limit?: number | undefined;
|
|
20425
20619
|
};
|
|
20426
20620
|
};
|
|
20427
20621
|
} | {
|
|
20428
20622
|
output: {
|
|
20429
20623
|
available: boolean;
|
|
20624
|
+
projectsReason?: string | undefined;
|
|
20430
20625
|
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: {
|
|
20626
|
+
items: {
|
|
20451
20627
|
kind: "issue" | "pr";
|
|
20452
20628
|
number: number;
|
|
20453
20629
|
title: string;
|
|
@@ -20464,40 +20640,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20464
20640
|
deletions?: number | undefined;
|
|
20465
20641
|
checks?: "failing" | "passing" | "pending" | null | undefined;
|
|
20466
20642
|
}[];
|
|
20643
|
+
truncated?: boolean | undefined;
|
|
20467
20644
|
labelColors?: {
|
|
20468
20645
|
[x: string]: string;
|
|
20469
20646
|
} | 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
20647
|
};
|
|
20485
20648
|
outputFormat: "json";
|
|
20486
20649
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20487
20650
|
input: {
|
|
20488
20651
|
query: {
|
|
20489
|
-
|
|
20490
|
-
|
|
20491
|
-
|
|
20492
|
-
prsCursor?: string | undefined;
|
|
20493
|
-
issuesDone?: "1" | undefined;
|
|
20494
|
-
prsDone?: "1" | undefined;
|
|
20652
|
+
kind: "issue" | "pr";
|
|
20653
|
+
q: string | string[];
|
|
20654
|
+
limit?: number | undefined;
|
|
20495
20655
|
};
|
|
20496
20656
|
};
|
|
20497
20657
|
};
|
|
20498
20658
|
};
|
|
20499
20659
|
} & {
|
|
20500
|
-
"/github/
|
|
20660
|
+
"/github/ref-status": {
|
|
20501
20661
|
$get: {
|
|
20502
20662
|
output: {
|
|
20503
20663
|
error: string;
|
|
@@ -20507,37 +20667,50 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20507
20667
|
status: 400;
|
|
20508
20668
|
input: {
|
|
20509
20669
|
query: {
|
|
20510
|
-
|
|
20670
|
+
prs?: string | undefined;
|
|
20671
|
+
issues?: string | undefined;
|
|
20511
20672
|
};
|
|
20512
20673
|
};
|
|
20513
20674
|
} | {
|
|
20514
20675
|
output: {
|
|
20515
|
-
|
|
20516
|
-
|
|
20517
|
-
|
|
20518
|
-
|
|
20519
|
-
|
|
20520
|
-
|
|
20521
|
-
|
|
20522
|
-
|
|
20523
|
-
|
|
20676
|
+
error: string;
|
|
20677
|
+
};
|
|
20678
|
+
outputFormat: "json";
|
|
20679
|
+
status: 400;
|
|
20680
|
+
input: {
|
|
20681
|
+
query: {
|
|
20682
|
+
prs?: string | undefined;
|
|
20683
|
+
issues?: string | undefined;
|
|
20684
|
+
};
|
|
20685
|
+
};
|
|
20686
|
+
} | {
|
|
20687
|
+
output: {
|
|
20688
|
+
available: true;
|
|
20689
|
+
prs: {
|
|
20690
|
+
[x: number]: "changes-requested" | "checks-failing" | "checks-pending" | "closed" | "completed" | "draft" | "merged" | "not-planned" | "open" | "ready" | "review-required";
|
|
20691
|
+
};
|
|
20692
|
+
issues: {
|
|
20693
|
+
[x: number]: "changes-requested" | "checks-failing" | "checks-pending" | "closed" | "completed" | "draft" | "merged" | "not-planned" | "open" | "ready" | "review-required";
|
|
20524
20694
|
};
|
|
20695
|
+
conflicts?: number[] | undefined;
|
|
20696
|
+
recheckAfterMs: number | null;
|
|
20525
20697
|
} | {
|
|
20526
|
-
|
|
20527
|
-
state: "unavailable";
|
|
20698
|
+
available: false;
|
|
20528
20699
|
reason: string;
|
|
20700
|
+
recheckAfterMs: number | null;
|
|
20529
20701
|
};
|
|
20530
20702
|
outputFormat: "json";
|
|
20531
20703
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20532
20704
|
input: {
|
|
20533
20705
|
query: {
|
|
20534
|
-
|
|
20706
|
+
prs?: string | undefined;
|
|
20707
|
+
issues?: string | undefined;
|
|
20535
20708
|
};
|
|
20536
20709
|
};
|
|
20537
20710
|
};
|
|
20538
20711
|
};
|
|
20539
20712
|
} & {
|
|
20540
|
-
"/github/
|
|
20713
|
+
"/github/prs/:number/merge-state": {
|
|
20541
20714
|
$get: {
|
|
20542
20715
|
output: {
|
|
20543
20716
|
error: string;
|
|
@@ -20546,109 +20719,168 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20546
20719
|
outputFormat: "json";
|
|
20547
20720
|
status: 400;
|
|
20548
20721
|
input: {
|
|
20722
|
+
param: {
|
|
20723
|
+
number: string;
|
|
20724
|
+
};
|
|
20725
|
+
} & {
|
|
20549
20726
|
query: {
|
|
20550
20727
|
refresh?: string | undefined;
|
|
20551
20728
|
};
|
|
20552
|
-
}
|
|
20729
|
+
};
|
|
20730
|
+
} | {
|
|
20731
|
+
output: {
|
|
20732
|
+
available: true;
|
|
20733
|
+
mergeState: {
|
|
20734
|
+
number: number;
|
|
20735
|
+
title: string;
|
|
20736
|
+
url: string;
|
|
20737
|
+
state: "closed" | "merged" | "open";
|
|
20738
|
+
isDraft: boolean;
|
|
20739
|
+
headRef: string;
|
|
20740
|
+
baseRef: string;
|
|
20741
|
+
headSha: string;
|
|
20742
|
+
mergeable: "conflicting" | "mergeable" | "unknown";
|
|
20743
|
+
reviewDecision: "approved" | "changes-requested" | "not-required" | "review-required" | "unknown";
|
|
20744
|
+
checks: {
|
|
20745
|
+
name: string;
|
|
20746
|
+
state: "failing" | "passing" | "pending" | "unknown";
|
|
20747
|
+
required: boolean | null;
|
|
20748
|
+
url?: string | undefined;
|
|
20749
|
+
}[];
|
|
20750
|
+
methods: ("merge" | "rebase" | "squash")[];
|
|
20751
|
+
defaultMethod: "merge" | "rebase" | "squash" | null;
|
|
20752
|
+
eligibility: "blocked" | "pending" | "ready" | "terminal" | "unauthorized" | "unknown";
|
|
20753
|
+
blockers: {
|
|
20754
|
+
code: string;
|
|
20755
|
+
message: string;
|
|
20756
|
+
}[];
|
|
20757
|
+
canMerge: boolean;
|
|
20758
|
+
canOverride: boolean;
|
|
20759
|
+
};
|
|
20760
|
+
} | {
|
|
20761
|
+
available: false;
|
|
20762
|
+
reason: string;
|
|
20763
|
+
};
|
|
20764
|
+
outputFormat: "json";
|
|
20765
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20766
|
+
input: {
|
|
20553
20767
|
param: {
|
|
20554
|
-
kind: string;
|
|
20555
|
-
} & {
|
|
20556
20768
|
number: string;
|
|
20557
20769
|
};
|
|
20770
|
+
} & {
|
|
20771
|
+
query: {
|
|
20772
|
+
refresh?: string | undefined;
|
|
20773
|
+
};
|
|
20558
20774
|
};
|
|
20559
|
-
}
|
|
20775
|
+
};
|
|
20776
|
+
};
|
|
20777
|
+
} & {
|
|
20778
|
+
"/github/prs/:number/merge": {
|
|
20779
|
+
$post: {
|
|
20560
20780
|
output: {
|
|
20561
20781
|
error: string;
|
|
20782
|
+
code?: "invalid_input" | undefined;
|
|
20562
20783
|
};
|
|
20563
20784
|
outputFormat: "json";
|
|
20564
20785
|
status: 400;
|
|
20565
20786
|
input: {
|
|
20566
|
-
|
|
20567
|
-
|
|
20787
|
+
param: {
|
|
20788
|
+
number: string;
|
|
20568
20789
|
};
|
|
20569
20790
|
} & {
|
|
20791
|
+
json: {
|
|
20792
|
+
method: "merge" | "rebase" | "squash";
|
|
20793
|
+
expectedHeadSha: string;
|
|
20794
|
+
overrideRules?: boolean | undefined;
|
|
20795
|
+
};
|
|
20796
|
+
};
|
|
20797
|
+
} | {
|
|
20798
|
+
output: {
|
|
20799
|
+
error: string;
|
|
20800
|
+
};
|
|
20801
|
+
outputFormat: "json";
|
|
20802
|
+
status: 409;
|
|
20803
|
+
input: {
|
|
20570
20804
|
param: {
|
|
20571
|
-
kind: string;
|
|
20572
|
-
} & {
|
|
20573
20805
|
number: string;
|
|
20574
20806
|
};
|
|
20807
|
+
} & {
|
|
20808
|
+
json: {
|
|
20809
|
+
method: "merge" | "rebase" | "squash";
|
|
20810
|
+
expectedHeadSha: string;
|
|
20811
|
+
overrideRules?: boolean | undefined;
|
|
20812
|
+
};
|
|
20575
20813
|
};
|
|
20576
20814
|
} | {
|
|
20577
20815
|
output: {
|
|
20578
|
-
|
|
20579
|
-
|
|
20580
|
-
|
|
20816
|
+
merged: true;
|
|
20817
|
+
number: number;
|
|
20818
|
+
url: string;
|
|
20819
|
+
method: import("../core/forge-registry.ts").ForgeMergeMethod;
|
|
20820
|
+
mergeCommitSha?: string;
|
|
20581
20821
|
};
|
|
20582
20822
|
outputFormat: "json";
|
|
20583
20823
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20584
20824
|
input: {
|
|
20585
|
-
query: {
|
|
20586
|
-
refresh?: string | undefined;
|
|
20587
|
-
};
|
|
20588
|
-
} & {
|
|
20589
20825
|
param: {
|
|
20590
|
-
kind: string;
|
|
20591
|
-
} & {
|
|
20592
20826
|
number: string;
|
|
20593
20827
|
};
|
|
20828
|
+
} & {
|
|
20829
|
+
json: {
|
|
20830
|
+
method: "merge" | "rebase" | "squash";
|
|
20831
|
+
expectedHeadSha: string;
|
|
20832
|
+
overrideRules?: boolean | undefined;
|
|
20833
|
+
};
|
|
20594
20834
|
};
|
|
20595
20835
|
} | {
|
|
20596
20836
|
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;
|
|
20837
|
+
error: string;
|
|
20838
|
+
code?: string | undefined;
|
|
20839
|
+
current?: {
|
|
20840
|
+
number: number;
|
|
20841
|
+
title: string;
|
|
20607
20842
|
url: string;
|
|
20608
|
-
|
|
20609
|
-
|
|
20610
|
-
|
|
20611
|
-
|
|
20612
|
-
|
|
20613
|
-
|
|
20614
|
-
|
|
20615
|
-
|
|
20616
|
-
url?: string | undefined;
|
|
20617
|
-
sha?: string | undefined;
|
|
20618
|
-
message?: string | undefined;
|
|
20619
|
-
checks?: "failing" | "passing" | "pending" | null | undefined;
|
|
20620
|
-
label?: {
|
|
20843
|
+
state: "closed" | "merged" | "open";
|
|
20844
|
+
isDraft: boolean;
|
|
20845
|
+
headRef: string;
|
|
20846
|
+
baseRef: string;
|
|
20847
|
+
headSha: string;
|
|
20848
|
+
mergeable: "conflicting" | "mergeable" | "unknown";
|
|
20849
|
+
reviewDecision: "approved" | "changes-requested" | "not-required" | "review-required" | "unknown";
|
|
20850
|
+
checks: {
|
|
20621
20851
|
name: string;
|
|
20622
|
-
|
|
20623
|
-
|
|
20624
|
-
|
|
20625
|
-
|
|
20626
|
-
|
|
20627
|
-
|
|
20628
|
-
|
|
20629
|
-
|
|
20630
|
-
|
|
20631
|
-
|
|
20632
|
-
|
|
20852
|
+
state: "failing" | "passing" | "pending" | "unknown";
|
|
20853
|
+
required: boolean | null;
|
|
20854
|
+
url?: string | undefined;
|
|
20855
|
+
}[];
|
|
20856
|
+
methods: ("merge" | "rebase" | "squash")[];
|
|
20857
|
+
defaultMethod: "merge" | "rebase" | "squash" | null;
|
|
20858
|
+
eligibility: "blocked" | "pending" | "ready" | "terminal" | "unauthorized" | "unknown";
|
|
20859
|
+
blockers: {
|
|
20860
|
+
code: string;
|
|
20861
|
+
message: string;
|
|
20862
|
+
}[];
|
|
20863
|
+
canMerge: boolean;
|
|
20864
|
+
canOverride: boolean;
|
|
20633
20865
|
} | undefined;
|
|
20634
20866
|
};
|
|
20635
20867
|
outputFormat: "json";
|
|
20636
|
-
status:
|
|
20868
|
+
status: 403 | 404 | 409 | 502;
|
|
20637
20869
|
input: {
|
|
20638
|
-
query: {
|
|
20639
|
-
refresh?: string | undefined;
|
|
20640
|
-
};
|
|
20641
|
-
} & {
|
|
20642
20870
|
param: {
|
|
20643
|
-
kind: string;
|
|
20644
|
-
} & {
|
|
20645
20871
|
number: string;
|
|
20646
20872
|
};
|
|
20873
|
+
} & {
|
|
20874
|
+
json: {
|
|
20875
|
+
method: "merge" | "rebase" | "squash";
|
|
20876
|
+
expectedHeadSha: string;
|
|
20877
|
+
overrideRules?: boolean | undefined;
|
|
20878
|
+
};
|
|
20647
20879
|
};
|
|
20648
20880
|
};
|
|
20649
20881
|
};
|
|
20650
20882
|
} & {
|
|
20651
|
-
"/github/
|
|
20883
|
+
"/github/prs/:number/changes": {
|
|
20652
20884
|
$get: {
|
|
20653
20885
|
output: {
|
|
20654
20886
|
error: string;
|
|
@@ -20658,37 +20890,47 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20658
20890
|
status: 400;
|
|
20659
20891
|
input: {
|
|
20660
20892
|
param: {
|
|
20661
|
-
kind: "issue" | "pr";
|
|
20662
20893
|
number: string;
|
|
20663
20894
|
};
|
|
20664
20895
|
} & {
|
|
20665
20896
|
query: {
|
|
20666
|
-
refresh?:
|
|
20897
|
+
refresh?: "1" | undefined;
|
|
20898
|
+
};
|
|
20899
|
+
};
|
|
20900
|
+
} | {
|
|
20901
|
+
output: {
|
|
20902
|
+
error: string;
|
|
20903
|
+
};
|
|
20904
|
+
outputFormat: "json";
|
|
20905
|
+
status: 404;
|
|
20906
|
+
input: {
|
|
20907
|
+
param: {
|
|
20908
|
+
number: string;
|
|
20909
|
+
};
|
|
20910
|
+
} & {
|
|
20911
|
+
query: {
|
|
20912
|
+
refresh?: "1" | undefined;
|
|
20667
20913
|
};
|
|
20668
20914
|
};
|
|
20669
20915
|
} | {
|
|
20670
20916
|
output: {
|
|
20671
20917
|
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;
|
|
20918
|
+
number: number;
|
|
20919
|
+
headSha: string;
|
|
20920
|
+
files: {
|
|
20921
|
+
path: string;
|
|
20922
|
+
previousPath?: string;
|
|
20923
|
+
status: 'added' | 'modified' | 'removed' | 'renamed' | 'copied' | 'changed';
|
|
20924
|
+
additions: number;
|
|
20925
|
+
deletions: number;
|
|
20926
|
+
patch?: string;
|
|
20927
|
+
patchUnavailableReason?: 'binary' | 'too-large' | 'not-provided';
|
|
20928
|
+
truncated?: boolean;
|
|
20929
|
+
}[];
|
|
20930
|
+
additions: number;
|
|
20931
|
+
deletions: number;
|
|
20932
|
+
truncated: boolean;
|
|
20933
|
+
reason?: string;
|
|
20692
20934
|
} | {
|
|
20693
20935
|
available: false;
|
|
20694
20936
|
reason: string;
|
|
@@ -20697,99 +20939,261 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20697
20939
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20698
20940
|
input: {
|
|
20699
20941
|
param: {
|
|
20700
|
-
kind: "issue" | "pr";
|
|
20701
20942
|
number: string;
|
|
20702
20943
|
};
|
|
20703
20944
|
} & {
|
|
20704
20945
|
query: {
|
|
20705
|
-
refresh?:
|
|
20946
|
+
refresh?: "1" | undefined;
|
|
20947
|
+
};
|
|
20948
|
+
};
|
|
20949
|
+
};
|
|
20950
|
+
};
|
|
20951
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
20952
|
+
"/repo": {
|
|
20953
|
+
$get: {
|
|
20954
|
+
output: {
|
|
20955
|
+
info: null;
|
|
20956
|
+
status: never[];
|
|
20957
|
+
log: never[];
|
|
20958
|
+
branches: never[];
|
|
20959
|
+
baseBranch: null;
|
|
20960
|
+
tracking: null;
|
|
20961
|
+
};
|
|
20962
|
+
outputFormat: "json";
|
|
20963
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20964
|
+
input: {};
|
|
20965
|
+
} | {
|
|
20966
|
+
output: {
|
|
20967
|
+
info: {
|
|
20968
|
+
root: string;
|
|
20969
|
+
branch: string;
|
|
20970
|
+
remote?: string | undefined;
|
|
20971
|
+
};
|
|
20972
|
+
status: {
|
|
20973
|
+
status: string;
|
|
20974
|
+
path: string;
|
|
20975
|
+
}[];
|
|
20976
|
+
log: ({
|
|
20977
|
+
hash: string;
|
|
20978
|
+
subject: string;
|
|
20979
|
+
author: string;
|
|
20980
|
+
when: string;
|
|
20981
|
+
at: string;
|
|
20982
|
+
} | {
|
|
20983
|
+
hash: string;
|
|
20984
|
+
subject: string;
|
|
20985
|
+
author: string;
|
|
20986
|
+
when: string;
|
|
20987
|
+
at: string;
|
|
20988
|
+
source: {
|
|
20989
|
+
runId: string;
|
|
20990
|
+
title: string;
|
|
20991
|
+
prNumber: number | null;
|
|
20992
|
+
};
|
|
20993
|
+
})[];
|
|
20994
|
+
branches: string[];
|
|
20995
|
+
baseBranch: string | null;
|
|
20996
|
+
tracking: {
|
|
20997
|
+
ref: string;
|
|
20998
|
+
ahead: number;
|
|
20999
|
+
behind: number;
|
|
21000
|
+
fetchedAt: string | null;
|
|
21001
|
+
} | null;
|
|
21002
|
+
};
|
|
21003
|
+
outputFormat: "json";
|
|
21004
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21005
|
+
input: {};
|
|
21006
|
+
};
|
|
21007
|
+
};
|
|
21008
|
+
} & {
|
|
21009
|
+
"/repo/branches": {
|
|
21010
|
+
$get: {
|
|
21011
|
+
output: {
|
|
21012
|
+
base: string;
|
|
21013
|
+
prStateKnown: boolean;
|
|
21014
|
+
branches: {
|
|
21015
|
+
name: string;
|
|
21016
|
+
class: "active" | "empty" | "merged" | "not-landed" | "orphan" | "other";
|
|
21017
|
+
runId: string | null;
|
|
21018
|
+
title: string | null;
|
|
21019
|
+
runStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting" | null;
|
|
21020
|
+
ahead: number;
|
|
21021
|
+
lastCommit: {
|
|
21022
|
+
sha: string;
|
|
21023
|
+
subject: string;
|
|
21024
|
+
at: string;
|
|
21025
|
+
};
|
|
21026
|
+
diffStat: {
|
|
21027
|
+
additions: number;
|
|
21028
|
+
deletions: number;
|
|
21029
|
+
} | null;
|
|
21030
|
+
pr: {
|
|
21031
|
+
number: number;
|
|
21032
|
+
url: string;
|
|
21033
|
+
state: "closed" | "draft" | "merged" | "open";
|
|
21034
|
+
} | null;
|
|
21035
|
+
keptReason?: string | undefined;
|
|
21036
|
+
parentRunId?: string | undefined;
|
|
21037
|
+
}[];
|
|
21038
|
+
counts: {
|
|
21039
|
+
notLanded: number;
|
|
21040
|
+
cleanup: number;
|
|
20706
21041
|
};
|
|
20707
21042
|
};
|
|
21043
|
+
outputFormat: "json";
|
|
21044
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21045
|
+
input: {};
|
|
21046
|
+
};
|
|
21047
|
+
};
|
|
21048
|
+
} & {
|
|
21049
|
+
"/repo/branches/counts": {
|
|
21050
|
+
$get: {
|
|
21051
|
+
output: {
|
|
21052
|
+
base: string;
|
|
21053
|
+
prStateKnown: boolean;
|
|
21054
|
+
counts: {
|
|
21055
|
+
notLanded: number;
|
|
21056
|
+
cleanup: number;
|
|
21057
|
+
};
|
|
21058
|
+
allBranches: number;
|
|
21059
|
+
};
|
|
21060
|
+
outputFormat: "json";
|
|
21061
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21062
|
+
input: {};
|
|
21063
|
+
};
|
|
21064
|
+
};
|
|
21065
|
+
} & {
|
|
21066
|
+
"/repo/branches/delete": {
|
|
21067
|
+
$post: {
|
|
21068
|
+
output: {
|
|
21069
|
+
error: string;
|
|
21070
|
+
refused: {
|
|
21071
|
+
name: string;
|
|
21072
|
+
reason: string;
|
|
21073
|
+
}[];
|
|
21074
|
+
};
|
|
21075
|
+
outputFormat: "json";
|
|
21076
|
+
status: 409;
|
|
21077
|
+
input: {
|
|
21078
|
+
json: {
|
|
21079
|
+
names: string[];
|
|
21080
|
+
confirm?: string | undefined;
|
|
21081
|
+
};
|
|
21082
|
+
};
|
|
21083
|
+
} | {
|
|
21084
|
+
output: {
|
|
21085
|
+
deleted: string[];
|
|
21086
|
+
refused: {
|
|
21087
|
+
name: string;
|
|
21088
|
+
reason: string;
|
|
21089
|
+
}[];
|
|
21090
|
+
dropped?: {
|
|
21091
|
+
sha: string;
|
|
21092
|
+
subject: string;
|
|
21093
|
+
}[] | undefined;
|
|
21094
|
+
};
|
|
21095
|
+
outputFormat: "json";
|
|
21096
|
+
status: 200;
|
|
21097
|
+
input: {
|
|
21098
|
+
json: {
|
|
21099
|
+
names: string[];
|
|
21100
|
+
confirm?: string | undefined;
|
|
21101
|
+
};
|
|
21102
|
+
};
|
|
21103
|
+
};
|
|
21104
|
+
};
|
|
21105
|
+
} & {
|
|
21106
|
+
"/repo/diff": {
|
|
21107
|
+
$get: {
|
|
21108
|
+
output: string;
|
|
21109
|
+
outputFormat: "text";
|
|
21110
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21111
|
+
input: {};
|
|
20708
21112
|
};
|
|
20709
21113
|
};
|
|
20710
21114
|
} & {
|
|
20711
|
-
"/
|
|
21115
|
+
"/repo/commit/:sha": {
|
|
20712
21116
|
$get: {
|
|
20713
|
-
output:
|
|
20714
|
-
|
|
20715
|
-
|
|
20716
|
-
};
|
|
20717
|
-
outputFormat: "json";
|
|
20718
|
-
status: 400;
|
|
21117
|
+
output: string;
|
|
21118
|
+
outputFormat: "text";
|
|
21119
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20719
21120
|
input: {
|
|
20720
21121
|
query: {
|
|
20721
|
-
|
|
21122
|
+
structured?: string | undefined;
|
|
21123
|
+
};
|
|
21124
|
+
} & {
|
|
21125
|
+
param: {
|
|
21126
|
+
sha: string;
|
|
20722
21127
|
};
|
|
20723
21128
|
};
|
|
20724
21129
|
} | {
|
|
20725
21130
|
output: {
|
|
20726
21131
|
error: string;
|
|
21132
|
+
code?: "invalid_input" | undefined;
|
|
20727
21133
|
};
|
|
20728
21134
|
outputFormat: "json";
|
|
20729
21135
|
status: 400;
|
|
20730
21136
|
input: {
|
|
20731
21137
|
query: {
|
|
20732
|
-
|
|
21138
|
+
structured?: string | undefined;
|
|
21139
|
+
};
|
|
21140
|
+
} & {
|
|
21141
|
+
param: {
|
|
21142
|
+
sha: string;
|
|
20733
21143
|
};
|
|
20734
21144
|
};
|
|
20735
21145
|
} | {
|
|
20736
21146
|
output: {
|
|
20737
|
-
|
|
20738
|
-
|
|
20739
|
-
|
|
21147
|
+
sha: string;
|
|
21148
|
+
subject: string;
|
|
21149
|
+
author: string;
|
|
21150
|
+
when: string;
|
|
21151
|
+
files: {
|
|
21152
|
+
path: string;
|
|
21153
|
+
oldPath?: string;
|
|
21154
|
+
status: 'added' | 'modified' | 'deleted' | 'renamed' | 'copied';
|
|
21155
|
+
adds: number;
|
|
21156
|
+
dels: number;
|
|
21157
|
+
binary: boolean;
|
|
21158
|
+
image?: boolean;
|
|
21159
|
+
patch: string;
|
|
21160
|
+
}[];
|
|
21161
|
+
stat: {
|
|
21162
|
+
adds: number;
|
|
21163
|
+
dels: number;
|
|
21164
|
+
files: number;
|
|
20740
21165
|
};
|
|
20741
|
-
} | {
|
|
20742
|
-
available: false;
|
|
20743
|
-
reason: string;
|
|
20744
21166
|
};
|
|
20745
21167
|
outputFormat: "json";
|
|
20746
21168
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20747
21169
|
input: {
|
|
20748
21170
|
query: {
|
|
20749
|
-
|
|
21171
|
+
structured?: string | undefined;
|
|
20750
21172
|
};
|
|
20751
|
-
}
|
|
20752
|
-
|
|
20753
|
-
|
|
20754
|
-
} & {
|
|
20755
|
-
"/github/comment-counts": {
|
|
20756
|
-
$get: {
|
|
20757
|
-
output: {
|
|
20758
|
-
error: string;
|
|
20759
|
-
code?: "invalid_input" | undefined;
|
|
20760
|
-
};
|
|
20761
|
-
outputFormat: "json";
|
|
20762
|
-
status: 400;
|
|
20763
|
-
input: {
|
|
20764
|
-
query: {
|
|
20765
|
-
kind: "issue" | "pr";
|
|
20766
|
-
numbers: string | string[];
|
|
20767
|
-
refresh?: "1" | undefined;
|
|
21173
|
+
} & {
|
|
21174
|
+
param: {
|
|
21175
|
+
sha: string;
|
|
20768
21176
|
};
|
|
20769
21177
|
};
|
|
20770
21178
|
} | {
|
|
20771
21179
|
output: {
|
|
20772
|
-
|
|
20773
|
-
counts: {
|
|
20774
|
-
[x: number]: number;
|
|
20775
|
-
};
|
|
20776
|
-
} | {
|
|
20777
|
-
available: false;
|
|
20778
|
-
reason: string;
|
|
21180
|
+
error: string;
|
|
20779
21181
|
};
|
|
20780
21182
|
outputFormat: "json";
|
|
20781
|
-
status:
|
|
21183
|
+
status: 409;
|
|
20782
21184
|
input: {
|
|
20783
21185
|
query: {
|
|
20784
|
-
|
|
20785
|
-
|
|
20786
|
-
|
|
21186
|
+
structured?: string | undefined;
|
|
21187
|
+
};
|
|
21188
|
+
} & {
|
|
21189
|
+
param: {
|
|
21190
|
+
sha: string;
|
|
20787
21191
|
};
|
|
20788
21192
|
};
|
|
20789
21193
|
};
|
|
20790
21194
|
};
|
|
20791
21195
|
} & {
|
|
20792
|
-
"/
|
|
21196
|
+
"/repo/commit/:sha/file": {
|
|
20793
21197
|
$get: {
|
|
20794
21198
|
output: {
|
|
20795
21199
|
error: string;
|
|
@@ -20798,67 +21202,53 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20798
21202
|
outputFormat: "json";
|
|
20799
21203
|
status: 400;
|
|
20800
21204
|
input: {
|
|
21205
|
+
param: {
|
|
21206
|
+
sha: string;
|
|
21207
|
+
};
|
|
21208
|
+
} & {
|
|
20801
21209
|
query: {
|
|
20802
|
-
|
|
20803
|
-
q: string | string[];
|
|
20804
|
-
limit?: number | undefined;
|
|
21210
|
+
path: string | string[];
|
|
20805
21211
|
};
|
|
20806
21212
|
};
|
|
20807
21213
|
} | {
|
|
20808
21214
|
output: {
|
|
20809
|
-
|
|
20810
|
-
|
|
20811
|
-
|
|
21215
|
+
type: 'file';
|
|
21216
|
+
path: string;
|
|
21217
|
+
size: number;
|
|
21218
|
+
binary: boolean;
|
|
21219
|
+
tooLarge: boolean;
|
|
21220
|
+
content?: string | undefined;
|
|
20812
21221
|
};
|
|
20813
21222
|
outputFormat: "json";
|
|
20814
21223
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20815
21224
|
input: {
|
|
21225
|
+
param: {
|
|
21226
|
+
sha: string;
|
|
21227
|
+
};
|
|
21228
|
+
} & {
|
|
20816
21229
|
query: {
|
|
20817
|
-
|
|
20818
|
-
q: string | string[];
|
|
20819
|
-
limit?: number | undefined;
|
|
21230
|
+
path: string | string[];
|
|
20820
21231
|
};
|
|
20821
21232
|
};
|
|
20822
21233
|
} | {
|
|
20823
21234
|
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;
|
|
21235
|
+
error: string;
|
|
20848
21236
|
};
|
|
20849
21237
|
outputFormat: "json";
|
|
20850
|
-
status:
|
|
21238
|
+
status: 409;
|
|
20851
21239
|
input: {
|
|
21240
|
+
param: {
|
|
21241
|
+
sha: string;
|
|
21242
|
+
};
|
|
21243
|
+
} & {
|
|
20852
21244
|
query: {
|
|
20853
|
-
|
|
20854
|
-
q: string | string[];
|
|
20855
|
-
limit?: number | undefined;
|
|
21245
|
+
path: string | string[];
|
|
20856
21246
|
};
|
|
20857
21247
|
};
|
|
20858
21248
|
};
|
|
20859
21249
|
};
|
|
20860
21250
|
} & {
|
|
20861
|
-
"/
|
|
21251
|
+
"/repo/files": {
|
|
20862
21252
|
$get: {
|
|
20863
21253
|
output: {
|
|
20864
21254
|
error: string;
|
|
@@ -20868,283 +21258,147 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20868
21258
|
status: 400;
|
|
20869
21259
|
input: {
|
|
20870
21260
|
query: {
|
|
20871
|
-
|
|
20872
|
-
issues?: string | undefined;
|
|
21261
|
+
path: string | string[];
|
|
20873
21262
|
};
|
|
20874
21263
|
};
|
|
20875
21264
|
} | {
|
|
20876
21265
|
output: {
|
|
20877
|
-
|
|
21266
|
+
type: 'file';
|
|
21267
|
+
path: string;
|
|
21268
|
+
size: number;
|
|
21269
|
+
binary: boolean;
|
|
21270
|
+
tooLarge: boolean;
|
|
21271
|
+
content?: string | undefined;
|
|
20878
21272
|
};
|
|
20879
21273
|
outputFormat: "json";
|
|
20880
|
-
status:
|
|
21274
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20881
21275
|
input: {
|
|
20882
21276
|
query: {
|
|
20883
|
-
|
|
20884
|
-
issues?: string | undefined;
|
|
21277
|
+
path: string | string[];
|
|
20885
21278
|
};
|
|
20886
21279
|
};
|
|
20887
21280
|
} | {
|
|
20888
21281
|
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;
|
|
21282
|
+
error: string;
|
|
20902
21283
|
};
|
|
20903
21284
|
outputFormat: "json";
|
|
20904
|
-
status:
|
|
21285
|
+
status: 409;
|
|
20905
21286
|
input: {
|
|
20906
21287
|
query: {
|
|
20907
|
-
|
|
20908
|
-
issues?: string | undefined;
|
|
21288
|
+
path: string | string[];
|
|
20909
21289
|
};
|
|
20910
21290
|
};
|
|
20911
21291
|
};
|
|
20912
21292
|
};
|
|
20913
21293
|
} & {
|
|
20914
|
-
"/
|
|
21294
|
+
"/repo/changes": {
|
|
20915
21295
|
$get: {
|
|
20916
21296
|
output: {
|
|
20917
|
-
|
|
20918
|
-
|
|
20919
|
-
|
|
20920
|
-
|
|
20921
|
-
|
|
20922
|
-
|
|
20923
|
-
|
|
20924
|
-
|
|
20925
|
-
|
|
20926
|
-
|
|
20927
|
-
|
|
20928
|
-
|
|
21297
|
+
files: {
|
|
21298
|
+
path: string;
|
|
21299
|
+
oldPath?: string;
|
|
21300
|
+
status: 'added' | 'modified' | 'deleted' | 'renamed' | 'copied';
|
|
21301
|
+
adds: number;
|
|
21302
|
+
dels: number;
|
|
21303
|
+
binary: boolean;
|
|
21304
|
+
image?: boolean;
|
|
21305
|
+
patch: string;
|
|
21306
|
+
}[];
|
|
21307
|
+
stat: {
|
|
21308
|
+
adds: number;
|
|
21309
|
+
dels: number;
|
|
21310
|
+
files: number;
|
|
20929
21311
|
};
|
|
21312
|
+
repointedHead?: {
|
|
21313
|
+
headBranch: string;
|
|
21314
|
+
taskBranch: string;
|
|
21315
|
+
} | undefined;
|
|
20930
21316
|
};
|
|
21317
|
+
outputFormat: "json";
|
|
21318
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21319
|
+
input: {};
|
|
20931
21320
|
} | {
|
|
20932
21321
|
output: {
|
|
20933
|
-
|
|
20934
|
-
mergeState: {
|
|
20935
|
-
number: number;
|
|
20936
|
-
title: string;
|
|
20937
|
-
url: string;
|
|
20938
|
-
state: "closed" | "merged" | "open";
|
|
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;
|
|
21322
|
+
error: string;
|
|
20964
21323
|
};
|
|
20965
21324
|
outputFormat: "json";
|
|
20966
|
-
status:
|
|
20967
|
-
input: {
|
|
20968
|
-
param: {
|
|
20969
|
-
number: string;
|
|
20970
|
-
};
|
|
20971
|
-
} & {
|
|
20972
|
-
query: {
|
|
20973
|
-
refresh?: string | undefined;
|
|
20974
|
-
};
|
|
20975
|
-
};
|
|
21325
|
+
status: 409;
|
|
21326
|
+
input: {};
|
|
20976
21327
|
};
|
|
20977
21328
|
};
|
|
20978
21329
|
} & {
|
|
20979
|
-
"/
|
|
20980
|
-
$
|
|
21330
|
+
"/repo/pull": {
|
|
21331
|
+
$get: {
|
|
20981
21332
|
output: {
|
|
20982
21333
|
error: string;
|
|
20983
|
-
code?: "invalid_input" | undefined;
|
|
20984
21334
|
};
|
|
20985
21335
|
outputFormat: "json";
|
|
20986
|
-
status:
|
|
20987
|
-
input: {
|
|
20988
|
-
param: {
|
|
20989
|
-
number: string;
|
|
20990
|
-
};
|
|
20991
|
-
} & {
|
|
20992
|
-
json: {
|
|
20993
|
-
method: "merge" | "rebase" | "squash";
|
|
20994
|
-
expectedHeadSha: string;
|
|
20995
|
-
overrideRules?: boolean | undefined;
|
|
20996
|
-
};
|
|
20997
|
-
};
|
|
21336
|
+
status: 409;
|
|
21337
|
+
input: {};
|
|
20998
21338
|
} | {
|
|
20999
21339
|
output: {
|
|
21000
|
-
|
|
21340
|
+
branches: string[];
|
|
21001
21341
|
};
|
|
21002
21342
|
outputFormat: "json";
|
|
21003
|
-
status:
|
|
21004
|
-
input: {
|
|
21005
|
-
|
|
21006
|
-
|
|
21007
|
-
|
|
21008
|
-
|
|
21009
|
-
|
|
21010
|
-
method: "merge" | "rebase" | "squash";
|
|
21011
|
-
expectedHeadSha: string;
|
|
21012
|
-
overrideRules?: boolean | undefined;
|
|
21013
|
-
};
|
|
21014
|
-
};
|
|
21015
|
-
} | {
|
|
21343
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21344
|
+
input: {};
|
|
21345
|
+
};
|
|
21346
|
+
};
|
|
21347
|
+
} & {
|
|
21348
|
+
"/repo/pull": {
|
|
21349
|
+
$post: {
|
|
21016
21350
|
output: {
|
|
21017
|
-
|
|
21018
|
-
number: number;
|
|
21019
|
-
url: string;
|
|
21020
|
-
method: import("../core/forge-registry.ts").ForgeMergeMethod;
|
|
21021
|
-
mergeCommitSha?: string;
|
|
21351
|
+
error: string;
|
|
21022
21352
|
};
|
|
21023
21353
|
outputFormat: "json";
|
|
21024
|
-
status:
|
|
21354
|
+
status: 409;
|
|
21025
21355
|
input: {
|
|
21026
|
-
param: {
|
|
21027
|
-
number: string;
|
|
21028
|
-
};
|
|
21029
|
-
} & {
|
|
21030
21356
|
json: {
|
|
21031
|
-
|
|
21032
|
-
|
|
21033
|
-
overrideRules?: boolean | undefined;
|
|
21357
|
+
branch?: string | undefined;
|
|
21358
|
+
confirm?: boolean | undefined;
|
|
21034
21359
|
};
|
|
21035
21360
|
};
|
|
21036
21361
|
} | {
|
|
21037
21362
|
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;
|
|
21363
|
+
branch: string;
|
|
21364
|
+
pulled: true;
|
|
21365
|
+
summary: string;
|
|
21067
21366
|
};
|
|
21068
21367
|
outputFormat: "json";
|
|
21069
|
-
status:
|
|
21368
|
+
status: 200;
|
|
21070
21369
|
input: {
|
|
21071
|
-
param: {
|
|
21072
|
-
number: string;
|
|
21073
|
-
};
|
|
21074
|
-
} & {
|
|
21075
21370
|
json: {
|
|
21076
|
-
|
|
21077
|
-
|
|
21078
|
-
overrideRules?: boolean | undefined;
|
|
21371
|
+
branch?: string | undefined;
|
|
21372
|
+
confirm?: boolean | undefined;
|
|
21079
21373
|
};
|
|
21080
21374
|
};
|
|
21081
21375
|
};
|
|
21082
21376
|
};
|
|
21083
21377
|
} & {
|
|
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
|
-
} | {
|
|
21378
|
+
"/repo/branch": {
|
|
21379
|
+
$post: {
|
|
21102
21380
|
output: {
|
|
21103
21381
|
error: string;
|
|
21104
21382
|
};
|
|
21105
21383
|
outputFormat: "json";
|
|
21106
|
-
status:
|
|
21384
|
+
status: 409;
|
|
21107
21385
|
input: {
|
|
21108
|
-
|
|
21109
|
-
|
|
21110
|
-
|
|
21111
|
-
} & {
|
|
21112
|
-
query: {
|
|
21113
|
-
refresh?: "1" | undefined;
|
|
21386
|
+
json: {
|
|
21387
|
+
name: string;
|
|
21388
|
+
from?: string | undefined;
|
|
21114
21389
|
};
|
|
21115
21390
|
};
|
|
21116
21391
|
} | {
|
|
21117
21392
|
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;
|
|
21393
|
+
branch: string;
|
|
21394
|
+
created: boolean;
|
|
21138
21395
|
};
|
|
21139
21396
|
outputFormat: "json";
|
|
21140
21397
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21141
21398
|
input: {
|
|
21142
|
-
|
|
21143
|
-
|
|
21144
|
-
|
|
21145
|
-
} & {
|
|
21146
|
-
query: {
|
|
21147
|
-
refresh?: "1" | undefined;
|
|
21399
|
+
json: {
|
|
21400
|
+
name: string;
|
|
21401
|
+
from?: string | undefined;
|
|
21148
21402
|
};
|
|
21149
21403
|
};
|
|
21150
21404
|
};
|
|
@@ -33635,6 +33889,64 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33635
33889
|
};
|
|
33636
33890
|
};
|
|
33637
33891
|
};
|
|
33892
|
+
} & {
|
|
33893
|
+
"/runs/:id/commit/:sha/file": {
|
|
33894
|
+
$get: {
|
|
33895
|
+
output: {
|
|
33896
|
+
error: string;
|
|
33897
|
+
code?: "invalid_input" | undefined;
|
|
33898
|
+
};
|
|
33899
|
+
outputFormat: "json";
|
|
33900
|
+
status: 400;
|
|
33901
|
+
input: {
|
|
33902
|
+
param: {
|
|
33903
|
+
sha: string;
|
|
33904
|
+
id: string;
|
|
33905
|
+
};
|
|
33906
|
+
} & {
|
|
33907
|
+
query: {
|
|
33908
|
+
path: string | string[];
|
|
33909
|
+
};
|
|
33910
|
+
};
|
|
33911
|
+
} | {
|
|
33912
|
+
output: {
|
|
33913
|
+
error: string;
|
|
33914
|
+
};
|
|
33915
|
+
outputFormat: "json";
|
|
33916
|
+
status: 404 | 409;
|
|
33917
|
+
input: {
|
|
33918
|
+
param: {
|
|
33919
|
+
sha: string;
|
|
33920
|
+
id: string;
|
|
33921
|
+
};
|
|
33922
|
+
} & {
|
|
33923
|
+
query: {
|
|
33924
|
+
path: string | string[];
|
|
33925
|
+
};
|
|
33926
|
+
};
|
|
33927
|
+
} | {
|
|
33928
|
+
output: {
|
|
33929
|
+
type: 'file';
|
|
33930
|
+
path: string;
|
|
33931
|
+
size: number;
|
|
33932
|
+
binary: boolean;
|
|
33933
|
+
tooLarge: boolean;
|
|
33934
|
+
content?: string | undefined;
|
|
33935
|
+
};
|
|
33936
|
+
outputFormat: "json";
|
|
33937
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
33938
|
+
input: {
|
|
33939
|
+
param: {
|
|
33940
|
+
sha: string;
|
|
33941
|
+
id: string;
|
|
33942
|
+
};
|
|
33943
|
+
} & {
|
|
33944
|
+
query: {
|
|
33945
|
+
path: string | string[];
|
|
33946
|
+
};
|
|
33947
|
+
};
|
|
33948
|
+
};
|
|
33949
|
+
};
|
|
33638
33950
|
} & {
|
|
33639
33951
|
"/runs/:id/file-link": {
|
|
33640
33952
|
$get: {
|
|
@@ -34017,14 +34329,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
34017
34329
|
};
|
|
34018
34330
|
} | {
|
|
34019
34331
|
output: {
|
|
34020
|
-
type: '
|
|
34332
|
+
type: 'file';
|
|
34021
34333
|
path: string;
|
|
34022
|
-
|
|
34023
|
-
|
|
34024
|
-
|
|
34025
|
-
|
|
34026
|
-
chain?: string;
|
|
34027
|
-
}[];
|
|
34334
|
+
size: number;
|
|
34335
|
+
binary: boolean;
|
|
34336
|
+
tooLarge: boolean;
|
|
34337
|
+
content?: string | undefined;
|
|
34028
34338
|
};
|
|
34029
34339
|
outputFormat: "json";
|
|
34030
34340
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -34040,12 +34350,14 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
34040
34350
|
};
|
|
34041
34351
|
} | {
|
|
34042
34352
|
output: {
|
|
34043
|
-
type: '
|
|
34353
|
+
type: 'dir';
|
|
34044
34354
|
path: string;
|
|
34045
|
-
|
|
34046
|
-
|
|
34047
|
-
|
|
34048
|
-
|
|
34355
|
+
entries: {
|
|
34356
|
+
name: string;
|
|
34357
|
+
type: 'dir' | 'file';
|
|
34358
|
+
size?: number;
|
|
34359
|
+
chain?: string;
|
|
34360
|
+
}[];
|
|
34049
34361
|
};
|
|
34050
34362
|
outputFormat: "json";
|
|
34051
34363
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|