@hearsay-tools/squawk 0.19.0-pr4622.9212 → 0.19.0-pr4622.9214
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/ci-wait/controller.d.ts +7 -7
- package/dist/features/hosts/routes.d.ts +64 -64
- package/dist/features/webhooks/routes.d.ts +38 -38
- package/dist/server/activity-routes.d.ts +23 -23
- package/dist/server/project-settings-routes.d.ts +107 -107
- package/dist/server/projects-routes.d.ts +41 -41
- package/dist/server/provider-sign-in-routes.d.ts +2 -2
- package/dist/server/runner-install-routes.d.ts +10 -10
- package/dist/server/runs-routes.d.ts +333 -333
- package/dist/server/server.d.ts +1170 -1170
- package/dist/server/workspace-identity-routes.d.ts +5 -5
- package/package.json +4 -4
- package/web/dist/assets/{accounts-section-BinzShaf.js → accounts-section-BJcwTmko.js} +1 -1
- package/web/dist/assets/{activity-motion-BvqTKSqo.js → activity-motion-D7ylxNSA.js} +1 -1
- package/web/dist/assets/{activity-route-DPk44gEy.js → activity-route-Bmig0E18.js} +1 -1
- package/web/dist/assets/{agent-accounts-ChU4vfBl.js → agent-accounts-DaaS69XB.js} +1 -1
- package/web/dist/assets/{agent-config-section-CcQAu9b7.js → agent-config-section-BOXqQyTv.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-CSqx1479.js → agent-defaults-section-Bxfreo-n.js} +1 -1
- package/web/dist/assets/{appearance-DH-VN7Hg.js → appearance-BRqSFVDC.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-CqTj_p3K.js → archive-on-merge-field-hDSXItUf.js} +1 -1
- package/web/dist/assets/{ask-card-Dn7OYHTC.js → ask-card-CWrAEuZE.js} +1 -1
- package/web/dist/assets/{automations-route-DWfE1BUv.js → automations-route-BBsU9yBn.js} +1 -1
- package/web/dist/assets/{commit-list-CqWkVSfv.js → commit-list-5iHD08NO.js} +1 -1
- package/web/dist/assets/{diff-CO4Md6Jv.js → diff-CkIsqgZZ.js} +2 -2
- package/web/dist/assets/{diff-controls-C-wQd4Ib.js → diff-controls-Bb70UBsP.js} +1 -1
- package/web/dist/assets/{diff-view-KejwMx_e.js → diff-view-DLcxtXIH.js} +1 -1
- package/web/dist/assets/{discard-changes-dialog-DJcvcxDg.js → discard-changes-dialog-BzypT4vb.js} +1 -1
- package/web/dist/assets/{file-preview-BSAsYRmQ.js → file-preview-CJVN0cBa.js} +1 -1
- package/web/dist/assets/{folder-browser-BvE0XQDC.js → folder-browser-Cdm2WZOB.js} +1 -1
- package/web/dist/assets/{git-toolbar-BoP7hEiL.js → git-toolbar-DPkpAaKz.js} +1 -1
- package/web/dist/assets/{github-Brwd2u17.js → github-DXBAYLfd.js} +1 -1
- package/web/dist/assets/{global-activity-route-ylRv5i0B.js → global-activity-route-CQULPYKA.js} +1 -1
- package/web/dist/assets/{hosts-BIgzlJ2i.js → hosts-IKDCpyJQ.js} +1 -1
- package/web/dist/assets/index-k2m-s5zD.js +21 -0
- package/web/dist/assets/label-ODcSLYVj.js +1 -0
- package/web/dist/assets/{markdown-_RWbSoHA.js → markdown-C1p1PDmF.js} +1 -1
- package/web/dist/assets/{open-in-menu-zrukT4IK.js → open-in-menu-CbPtuWnJ.js} +1 -1
- package/web/dist/assets/{option-select-BtavcdtM.js → option-select-C6d3jHce.js} +1 -1
- package/web/dist/assets/{preferences-section-DBoTeoB0.js → preferences-section-ChS8Q-Lu.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-CqZ7qR53.js → preview-pane-connected-ELLewN-g.js} +1 -1
- package/web/dist/assets/{project-location-DQob1g0E.js → project-location-D8vnqA4E.js} +1 -1
- package/web/dist/assets/{projects-section-ClWFVviV.js → projects-section-L3QxEiRK.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-C32HXWo3.js → prompt-templates-section-D3GzKJMf.js} +1 -1
- package/web/dist/assets/queries-DHjNE2es.js +1 -0
- package/web/dist/assets/{read-state-B1VLxOM6.js → read-state-jUDTdM3R.js} +1 -1
- package/web/dist/assets/{reference-chip-Bj_PKUc4.js → reference-chip-kvc51N1L.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-C8VV_iw0.js → remote-settings-notice-BtVKQ2vp.js} +1 -1
- package/web/dist/assets/{repo-git-CjUQ0g26.js → repo-git-BGSxevNj.js} +1 -1
- package/web/dist/assets/{report-reader-C_yAYPmW.js → report-reader-CvEkEEwN.js} +1 -1
- package/web/dist/assets/{report-selection-D-asrNb1.js → report-selection-DxBxW6dz.js} +1 -1
- package/web/dist/assets/{reports-DtdpSXDD.js → reports-1vI74Z6R.js} +1 -1
- package/web/dist/assets/{resources-section-PEx4v01N.js → resources-section-CpAOY20Z.js} +1 -1
- package/web/dist/assets/{review-notes-drafts-C2MYGz6Z.js → review-notes-drafts-D25BaEEb.js} +1 -1
- package/web/dist/assets/{review-panel-I3KgOMmg.js → review-panel-CS9wTfAu.js} +1 -1
- package/web/dist/assets/{review-strip-OOHBg4No.js → review-strip-nrpQBfNI.js} +1 -1
- package/web/dist/assets/{run-detail-refresh-CoCrbq8v.js → run-detail-refresh-wJr0M04e.js} +1 -1
- package/web/dist/assets/{run-diff-DlyvdCr9.js → run-diff-BBASqHSE.js} +1 -1
- package/web/dist/assets/{run-header-CC-99Rq_.js → run-header-DVnksnr4.js} +1 -1
- package/web/dist/assets/{select-DaeMMrqM.js → select-CEEeAH4k.js} +1 -1
- package/web/dist/assets/{session-context-section-DkPFGHH0.js → session-context-section-F1umLA86.js} +1 -1
- package/web/dist/assets/{settings-agent-picker-wN3FpFa5.js → settings-agent-picker-sUQdIon3.js} +1 -1
- package/web/dist/assets/{settings-save-bar-PHQFfhCk.js → settings-save-bar-BkU1JDt3.js} +1 -1
- package/web/dist/assets/{settings-shell-Z0rNc1xx.js → settings-shell-DodTPpjl.js} +1 -1
- package/web/dist/assets/{sidebar-section-BE5SSKrX.js → sidebar-section-DspuARa_.js} +1 -1
- package/web/dist/assets/{skills-Dm5hGdd8.js → skills-CrHHdPjJ.js} +1 -1
- package/web/dist/assets/{task-changes-CS1uSQfH.js → task-changes-U1cnUd83.js} +1 -1
- package/web/dist/assets/{task-commits-DCbUyMTZ.js → task-commits-DxuX8SZp.js} +1 -1
- package/web/dist/assets/{task-file-scope-CcmDJfUC.js → task-file-scope-DU8AkDkr.js} +1 -1
- package/web/dist/assets/{task-files-CO9gRC8O.js → task-files-DaDM9FRg.js} +1 -1
- package/web/dist/assets/{task-github-item-C7Qtl-R4.js → task-github-item-CXzzVHXw.js} +1 -1
- package/web/dist/assets/{task-groups-1B3qWNle.js → task-groups-BapM4YcT.js} +1 -1
- package/web/dist/assets/{task-thread-BXPhkg3D.js → task-thread-9WIv4rPC.js} +1 -1
- package/web/dist/assets/{thread-state-Co15rrhn.js → thread-state-IooDEE0b.js} +1 -1
- package/web/dist/assets/{use-finish-run-BAu374MO.js → use-finish-run-jVAqsGkV.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-BO7f9Vja.js → use-hand-to-agent-state-DfucUGAH.js} +1 -1
- package/web/dist/assets/use-path-bases-C7DRxlRi.js +1 -0
- package/web/dist/assets/{use-workspace-config-save-y-EQHm5n.js → use-workspace-config-save-B2eroiEx.js} +1 -1
- package/web/dist/assets/{workflows-Bawt8WPJ.js → workflows-DdKRMlHR.js} +1 -1
- package/web/dist/assets/{workspace-tools-Bjxxd-mY.js → workspace-tools-CePJG7uG.js} +1 -1
- package/web/dist/assets/{worktrees-section-CqdaU9Rf.js → worktrees-section-CCgqbLAh.js} +1 -1
- package/web/dist/index.html +12 -12
- package/web/dist/assets/index-Cf0HK2YW.js +0 -21
- package/web/dist/assets/label-D6E1lpRI.js +0 -1
- package/web/dist/assets/queries-CNjDebHy.js +0 -1
- package/web/dist/assets/use-path-bases-DQnmY-WP.js +0 -1
|
@@ -121,9 +121,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
121
121
|
} & {
|
|
122
122
|
"/api/v1/tools/:name": {
|
|
123
123
|
$post: {
|
|
124
|
-
output:
|
|
124
|
+
output: {
|
|
125
|
+
code: string;
|
|
126
|
+
message: string;
|
|
127
|
+
};
|
|
125
128
|
outputFormat: "json";
|
|
126
|
-
status:
|
|
129
|
+
status: 401;
|
|
127
130
|
input: {
|
|
128
131
|
json: unknown;
|
|
129
132
|
} & {
|
|
@@ -146,12 +149,9 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
146
149
|
};
|
|
147
150
|
};
|
|
148
151
|
} | {
|
|
149
|
-
output:
|
|
150
|
-
code: string;
|
|
151
|
-
message: string;
|
|
152
|
-
};
|
|
152
|
+
output: never;
|
|
153
153
|
outputFormat: "json";
|
|
154
|
-
status:
|
|
154
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
155
155
|
input: {
|
|
156
156
|
json: unknown;
|
|
157
157
|
} & {
|
|
@@ -139,18 +139,6 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
139
139
|
} & {
|
|
140
140
|
"/hosts/runs-index": {
|
|
141
141
|
$get: {
|
|
142
|
-
output: {
|
|
143
|
-
error: string;
|
|
144
|
-
code?: "invalid_input" | undefined;
|
|
145
|
-
};
|
|
146
|
-
outputFormat: "json";
|
|
147
|
-
status: 400;
|
|
148
|
-
input: {
|
|
149
|
-
query: {
|
|
150
|
-
hostId?: string | undefined;
|
|
151
|
-
};
|
|
152
|
-
};
|
|
153
|
-
} | {
|
|
154
142
|
output: {
|
|
155
143
|
runs: {
|
|
156
144
|
id: string;
|
|
@@ -314,11 +302,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
314
302
|
hostId?: string | undefined;
|
|
315
303
|
};
|
|
316
304
|
};
|
|
317
|
-
}
|
|
318
|
-
};
|
|
319
|
-
} & {
|
|
320
|
-
"/hosts/runs-search": {
|
|
321
|
-
$get: {
|
|
305
|
+
} | {
|
|
322
306
|
output: {
|
|
323
307
|
error: string;
|
|
324
308
|
code?: "invalid_input" | undefined;
|
|
@@ -327,11 +311,14 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
327
311
|
status: 400;
|
|
328
312
|
input: {
|
|
329
313
|
query: {
|
|
330
|
-
|
|
331
|
-
limit?: number | undefined;
|
|
314
|
+
hostId?: string | undefined;
|
|
332
315
|
};
|
|
333
316
|
};
|
|
334
|
-
}
|
|
317
|
+
};
|
|
318
|
+
};
|
|
319
|
+
} & {
|
|
320
|
+
"/hosts/runs-search": {
|
|
321
|
+
$get: {
|
|
335
322
|
output: {
|
|
336
323
|
runs: {
|
|
337
324
|
id: string;
|
|
@@ -485,16 +472,39 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
485
472
|
limit?: number | undefined;
|
|
486
473
|
};
|
|
487
474
|
};
|
|
475
|
+
} | {
|
|
476
|
+
output: {
|
|
477
|
+
error: string;
|
|
478
|
+
code?: "invalid_input" | undefined;
|
|
479
|
+
};
|
|
480
|
+
outputFormat: "json";
|
|
481
|
+
status: 400;
|
|
482
|
+
input: {
|
|
483
|
+
query: {
|
|
484
|
+
q: string | string[];
|
|
485
|
+
limit?: number | undefined;
|
|
486
|
+
};
|
|
487
|
+
};
|
|
488
488
|
};
|
|
489
489
|
};
|
|
490
490
|
} & {
|
|
491
491
|
"/hosts": {
|
|
492
492
|
$post: {
|
|
493
493
|
output: {
|
|
494
|
-
|
|
494
|
+
host: {
|
|
495
|
+
id: string;
|
|
496
|
+
label: string;
|
|
497
|
+
state: "cannot-persist" | "connected" | "connecting" | "identity-changed" | "needs-node" | "not-hosted" | "paused" | "several-servers" | "unreachable" | "version-mismatch";
|
|
498
|
+
reason?: string | undefined;
|
|
499
|
+
kind?: "ssh" | undefined;
|
|
500
|
+
sshAlias?: string | undefined;
|
|
501
|
+
installId?: string | undefined;
|
|
502
|
+
port?: number | undefined;
|
|
503
|
+
addedAt?: string | undefined;
|
|
504
|
+
};
|
|
495
505
|
};
|
|
496
506
|
outputFormat: "json";
|
|
497
|
-
status:
|
|
507
|
+
status: 201;
|
|
498
508
|
input: {
|
|
499
509
|
json: {
|
|
500
510
|
sshAlias: string;
|
|
@@ -522,7 +532,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
522
532
|
error: string;
|
|
523
533
|
};
|
|
524
534
|
outputFormat: "json";
|
|
525
|
-
status:
|
|
535
|
+
status: 404;
|
|
526
536
|
input: {
|
|
527
537
|
json: {
|
|
528
538
|
sshAlias: string;
|
|
@@ -536,7 +546,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
536
546
|
error: string;
|
|
537
547
|
};
|
|
538
548
|
outputFormat: "json";
|
|
539
|
-
status:
|
|
549
|
+
status: 409;
|
|
540
550
|
input: {
|
|
541
551
|
json: {
|
|
542
552
|
sshAlias: string;
|
|
@@ -547,20 +557,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
547
557
|
};
|
|
548
558
|
} | {
|
|
549
559
|
output: {
|
|
550
|
-
|
|
551
|
-
id: string;
|
|
552
|
-
label: string;
|
|
553
|
-
state: "cannot-persist" | "connected" | "connecting" | "identity-changed" | "needs-node" | "not-hosted" | "paused" | "several-servers" | "unreachable" | "version-mismatch";
|
|
554
|
-
reason?: string | undefined;
|
|
555
|
-
kind?: "ssh" | undefined;
|
|
556
|
-
sshAlias?: string | undefined;
|
|
557
|
-
installId?: string | undefined;
|
|
558
|
-
port?: number | undefined;
|
|
559
|
-
addedAt?: string | undefined;
|
|
560
|
-
};
|
|
560
|
+
error: string;
|
|
561
561
|
};
|
|
562
562
|
outputFormat: "json";
|
|
563
|
-
status:
|
|
563
|
+
status: 409;
|
|
564
564
|
input: {
|
|
565
565
|
json: {
|
|
566
566
|
sshAlias: string;
|
|
@@ -574,7 +574,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
574
574
|
error: string;
|
|
575
575
|
};
|
|
576
576
|
outputFormat: "json";
|
|
577
|
-
status:
|
|
577
|
+
status: 500;
|
|
578
578
|
input: {
|
|
579
579
|
json: {
|
|
580
580
|
sshAlias: string;
|
|
@@ -589,11 +589,20 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
589
589
|
"/hosts/:id": {
|
|
590
590
|
$patch: {
|
|
591
591
|
output: {
|
|
592
|
-
|
|
593
|
-
|
|
592
|
+
host: {
|
|
593
|
+
id: string;
|
|
594
|
+
label: string;
|
|
595
|
+
state: "cannot-persist" | "connected" | "connecting" | "identity-changed" | "needs-node" | "not-hosted" | "paused" | "several-servers" | "unreachable" | "version-mismatch";
|
|
596
|
+
reason?: string | undefined;
|
|
597
|
+
kind?: "ssh" | undefined;
|
|
598
|
+
sshAlias?: string | undefined;
|
|
599
|
+
installId?: string | undefined;
|
|
600
|
+
port?: number | undefined;
|
|
601
|
+
addedAt?: string | undefined;
|
|
602
|
+
};
|
|
594
603
|
};
|
|
595
604
|
outputFormat: "json";
|
|
596
|
-
status:
|
|
605
|
+
status: 200;
|
|
597
606
|
input: {
|
|
598
607
|
param: {
|
|
599
608
|
id: string;
|
|
@@ -608,9 +617,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
608
617
|
} | {
|
|
609
618
|
output: {
|
|
610
619
|
error: string;
|
|
620
|
+
code?: "invalid_input" | undefined;
|
|
611
621
|
};
|
|
612
622
|
outputFormat: "json";
|
|
613
|
-
status:
|
|
623
|
+
status: 400;
|
|
614
624
|
input: {
|
|
615
625
|
param: {
|
|
616
626
|
id: string;
|
|
@@ -644,7 +654,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
644
654
|
error: string;
|
|
645
655
|
};
|
|
646
656
|
outputFormat: "json";
|
|
647
|
-
status:
|
|
657
|
+
status: 404;
|
|
648
658
|
input: {
|
|
649
659
|
param: {
|
|
650
660
|
id: string;
|
|
@@ -661,7 +671,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
661
671
|
error: string;
|
|
662
672
|
};
|
|
663
673
|
outputFormat: "json";
|
|
664
|
-
status:
|
|
674
|
+
status: 409;
|
|
665
675
|
input: {
|
|
666
676
|
param: {
|
|
667
677
|
id: string;
|
|
@@ -692,20 +702,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
692
702
|
};
|
|
693
703
|
} | {
|
|
694
704
|
output: {
|
|
695
|
-
|
|
696
|
-
id: string;
|
|
697
|
-
label: string;
|
|
698
|
-
state: "cannot-persist" | "connected" | "connecting" | "identity-changed" | "needs-node" | "not-hosted" | "paused" | "several-servers" | "unreachable" | "version-mismatch";
|
|
699
|
-
reason?: string | undefined;
|
|
700
|
-
kind?: "ssh" | undefined;
|
|
701
|
-
sshAlias?: string | undefined;
|
|
702
|
-
installId?: string | undefined;
|
|
703
|
-
port?: number | undefined;
|
|
704
|
-
addedAt?: string | undefined;
|
|
705
|
-
};
|
|
705
|
+
error: string;
|
|
706
706
|
};
|
|
707
707
|
outputFormat: "json";
|
|
708
|
-
status:
|
|
708
|
+
status: 500;
|
|
709
709
|
input: {
|
|
710
710
|
param: {
|
|
711
711
|
id: string;
|
|
@@ -723,11 +723,11 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
723
723
|
"/hosts/:id": {
|
|
724
724
|
$delete: {
|
|
725
725
|
output: {
|
|
726
|
-
|
|
727
|
-
|
|
726
|
+
removed: true;
|
|
727
|
+
id: string;
|
|
728
728
|
};
|
|
729
729
|
outputFormat: "json";
|
|
730
|
-
status:
|
|
730
|
+
status: 200;
|
|
731
731
|
input: {
|
|
732
732
|
param: {
|
|
733
733
|
id: string;
|
|
@@ -736,9 +736,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
736
736
|
} | {
|
|
737
737
|
output: {
|
|
738
738
|
error: string;
|
|
739
|
+
code?: "invalid_input" | undefined;
|
|
739
740
|
};
|
|
740
741
|
outputFormat: "json";
|
|
741
|
-
status:
|
|
742
|
+
status: 400;
|
|
742
743
|
input: {
|
|
743
744
|
param: {
|
|
744
745
|
id: string;
|
|
@@ -760,7 +761,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
760
761
|
error: string;
|
|
761
762
|
};
|
|
762
763
|
outputFormat: "json";
|
|
763
|
-
status:
|
|
764
|
+
status: 404;
|
|
764
765
|
input: {
|
|
765
766
|
param: {
|
|
766
767
|
id: string;
|
|
@@ -771,7 +772,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
771
772
|
error: string;
|
|
772
773
|
};
|
|
773
774
|
outputFormat: "json";
|
|
774
|
-
status:
|
|
775
|
+
status: 409;
|
|
775
776
|
input: {
|
|
776
777
|
param: {
|
|
777
778
|
id: string;
|
|
@@ -790,11 +791,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
790
791
|
};
|
|
791
792
|
} | {
|
|
792
793
|
output: {
|
|
793
|
-
|
|
794
|
-
id: string;
|
|
794
|
+
error: string;
|
|
795
795
|
};
|
|
796
796
|
outputFormat: "json";
|
|
797
|
-
status:
|
|
797
|
+
status: 500;
|
|
798
798
|
input: {
|
|
799
799
|
param: {
|
|
800
800
|
id: string;
|
|
@@ -100,18 +100,6 @@ export interface ProjectWebhooksRouteDeps {
|
|
|
100
100
|
export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDeps): import("hono/hono-base").HonoBase<ProjectApiEnv, {
|
|
101
101
|
"/projects/:projectId/webhook/test": {
|
|
102
102
|
$post: {
|
|
103
|
-
output: {
|
|
104
|
-
error: string;
|
|
105
|
-
code?: "no-boot-project" | undefined;
|
|
106
|
-
};
|
|
107
|
-
outputFormat: "json";
|
|
108
|
-
status: 404 | 409;
|
|
109
|
-
input: {
|
|
110
|
-
param: {
|
|
111
|
-
projectId: string;
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
} | {
|
|
115
103
|
output: {
|
|
116
104
|
error: string;
|
|
117
105
|
};
|
|
@@ -136,33 +124,23 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
136
124
|
projectId: string;
|
|
137
125
|
};
|
|
138
126
|
};
|
|
139
|
-
}
|
|
140
|
-
};
|
|
141
|
-
} & {
|
|
142
|
-
"/projects/:projectId/webhooks": {
|
|
143
|
-
$post: {
|
|
127
|
+
} | {
|
|
144
128
|
output: {
|
|
145
129
|
error: string;
|
|
146
130
|
code?: "no-boot-project" | undefined;
|
|
147
131
|
};
|
|
148
132
|
outputFormat: "json";
|
|
149
|
-
status:
|
|
133
|
+
status: 404 | 409;
|
|
150
134
|
input: {
|
|
151
|
-
json: {
|
|
152
|
-
name: string;
|
|
153
|
-
description?: string | undefined;
|
|
154
|
-
url: string;
|
|
155
|
-
token?: string | undefined;
|
|
156
|
-
tasks?: boolean | undefined;
|
|
157
|
-
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
158
|
-
agent?: boolean | undefined;
|
|
159
|
-
};
|
|
160
|
-
} & {
|
|
161
135
|
param: {
|
|
162
136
|
projectId: string;
|
|
163
137
|
};
|
|
164
138
|
};
|
|
165
|
-
}
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
} & {
|
|
142
|
+
"/projects/:projectId/webhooks": {
|
|
143
|
+
$post: {
|
|
166
144
|
output: {
|
|
167
145
|
project: {
|
|
168
146
|
id: string;
|
|
@@ -221,6 +199,28 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
221
199
|
projectId: string;
|
|
222
200
|
};
|
|
223
201
|
};
|
|
202
|
+
} | {
|
|
203
|
+
output: {
|
|
204
|
+
error: string;
|
|
205
|
+
code?: "no-boot-project" | undefined;
|
|
206
|
+
};
|
|
207
|
+
outputFormat: "json";
|
|
208
|
+
status: 400 | 404 | 409 | 500;
|
|
209
|
+
input: {
|
|
210
|
+
json: {
|
|
211
|
+
name: string;
|
|
212
|
+
description?: string | undefined;
|
|
213
|
+
url: string;
|
|
214
|
+
token?: string | undefined;
|
|
215
|
+
tasks?: boolean | undefined;
|
|
216
|
+
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
217
|
+
agent?: boolean | undefined;
|
|
218
|
+
};
|
|
219
|
+
} & {
|
|
220
|
+
param: {
|
|
221
|
+
projectId: string;
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
224
|
};
|
|
225
225
|
};
|
|
226
226
|
} & {
|
|
@@ -420,13 +420,10 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
420
420
|
};
|
|
421
421
|
} | {
|
|
422
422
|
output: {
|
|
423
|
-
|
|
424
|
-
status?: number | undefined;
|
|
425
|
-
error?: string | undefined;
|
|
426
|
-
dryRun?: boolean | undefined;
|
|
423
|
+
error: string;
|
|
427
424
|
};
|
|
428
425
|
outputFormat: "json";
|
|
429
|
-
status:
|
|
426
|
+
status: 404;
|
|
430
427
|
input: {
|
|
431
428
|
param: {
|
|
432
429
|
projectId: string;
|
|
@@ -435,11 +432,13 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
435
432
|
};
|
|
436
433
|
} | {
|
|
437
434
|
output: {
|
|
438
|
-
|
|
439
|
-
|
|
435
|
+
ok: boolean;
|
|
436
|
+
status?: number | undefined;
|
|
437
|
+
error?: string | undefined;
|
|
438
|
+
dryRun?: boolean | undefined;
|
|
440
439
|
};
|
|
441
440
|
outputFormat: "json";
|
|
442
|
-
status:
|
|
441
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
443
442
|
input: {
|
|
444
443
|
param: {
|
|
445
444
|
projectId: string;
|
|
@@ -449,9 +448,10 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
449
448
|
} | {
|
|
450
449
|
output: {
|
|
451
450
|
error: string;
|
|
451
|
+
code?: "no-boot-project" | undefined;
|
|
452
452
|
};
|
|
453
453
|
outputFormat: "json";
|
|
454
|
-
status: 404;
|
|
454
|
+
status: 404 | 409;
|
|
455
455
|
input: {
|
|
456
456
|
param: {
|
|
457
457
|
projectId: string;
|
|
@@ -58,29 +58,6 @@ export declare function ciProgressPlugs(): {
|
|
|
58
58
|
export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, {
|
|
59
59
|
"/workspace/activity": {
|
|
60
60
|
$get: {
|
|
61
|
-
output: {
|
|
62
|
-
error: string;
|
|
63
|
-
code?: "invalid_input" | undefined;
|
|
64
|
-
};
|
|
65
|
-
outputFormat: "json";
|
|
66
|
-
status: 400;
|
|
67
|
-
input: {
|
|
68
|
-
query: {
|
|
69
|
-
project?: string | undefined;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
} | {
|
|
73
|
-
output: {
|
|
74
|
-
error: string;
|
|
75
|
-
};
|
|
76
|
-
outputFormat: "json";
|
|
77
|
-
status: 404 | 409 | 503;
|
|
78
|
-
input: {
|
|
79
|
-
query: {
|
|
80
|
-
project?: string | undefined;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
} | {
|
|
84
61
|
output: {
|
|
85
62
|
generatedAt: string;
|
|
86
63
|
projects: {
|
|
@@ -331,6 +308,29 @@ export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): impo
|
|
|
331
308
|
project?: string | undefined;
|
|
332
309
|
};
|
|
333
310
|
};
|
|
311
|
+
} | {
|
|
312
|
+
output: {
|
|
313
|
+
error: string;
|
|
314
|
+
code?: "invalid_input" | undefined;
|
|
315
|
+
};
|
|
316
|
+
outputFormat: "json";
|
|
317
|
+
status: 400;
|
|
318
|
+
input: {
|
|
319
|
+
query: {
|
|
320
|
+
project?: string | undefined;
|
|
321
|
+
};
|
|
322
|
+
};
|
|
323
|
+
} | {
|
|
324
|
+
output: {
|
|
325
|
+
error: string;
|
|
326
|
+
};
|
|
327
|
+
outputFormat: "json";
|
|
328
|
+
status: 404 | 409 | 503;
|
|
329
|
+
input: {
|
|
330
|
+
query: {
|
|
331
|
+
project?: string | undefined;
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
334
|
};
|
|
335
335
|
};
|
|
336
336
|
}, "/", "/workspace/activity">;
|