@hearsay-tools/squawk 0.19.0-dev.9216 → 0.19.0-dev.9229.2
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/contract/hosts.d.ts +3 -0
- package/dist/contract/index.js +8 -0
- package/dist/contract/projects.d.ts +6 -0
- package/dist/core/forge-registry.d.ts +8 -0
- package/dist/core/forge-registry.js +36 -13
- package/dist/core/forge-registry.js.map +1 -1
- package/dist/features/hosts/routes.d.ts +66 -64
- package/dist/features/webhooks/routes.d.ts +41 -38
- package/dist/server/activity-routes.d.ts +23 -23
- package/dist/server/projects-routes.d.ts +47 -41
- package/dist/server/repo-routes.d.ts +13 -13
- package/dist/server/runs-routes.d.ts +326 -326
- package/dist/server/server.d.ts +6 -0
- package/dist/workspace/projects.d.ts +5 -0
- package/dist/workspace/projects.js +8 -2
- package/dist/workspace/projects.js.map +1 -1
- package/package.json +4 -4
- package/web/dist/assets/accounts-section-lnMwvHTo.js +1 -0
- package/web/dist/assets/activity-motion-DBxIOskd.js +1 -0
- package/web/dist/assets/{activity-route-Bmig0E18.js → activity-route-BYf5OD8Y.js} +1 -1
- package/web/dist/assets/agent-accounts-BzD14qLU.js +1 -0
- package/web/dist/assets/agent-config-section-BwmBjoad.js +7 -0
- package/web/dist/assets/agent-defaults-section-BbFvw0IO.js +1 -0
- package/web/dist/assets/appearance-CkohbKAs.js +1 -0
- package/web/dist/assets/archive-on-merge-field-CQ8DBqiG.js +1 -0
- package/web/dist/assets/ask-card-Bli7vYif.js +9 -0
- package/web/dist/assets/automations-route-BNYFQeuu.js +2 -0
- package/web/dist/assets/commit-list-CJZtpbaw.js +1 -0
- package/web/dist/assets/diff-DPSOaO5_.js +3 -0
- package/web/dist/assets/{diff-controls-Bb70UBsP.js → diff-controls-rfNgY_Dd.js} +1 -1
- package/web/dist/assets/{diff-view-DLcxtXIH.js → diff-view-CswchTTd.js} +1 -1
- package/web/dist/assets/{discard-changes-dialog-BzypT4vb.js → discard-changes-dialog-BMT0YtWx.js} +1 -1
- package/web/dist/assets/file-preview-DoaMlVS3.js +2 -0
- package/web/dist/assets/folder-browser-D_q7aPq-.js +1 -0
- package/web/dist/assets/{git-toolbar-DPkpAaKz.js → git-toolbar-BCqNvkr5.js} +1 -1
- package/web/dist/assets/github-Bv1h-3dP.js +1 -0
- package/web/dist/assets/{global-activity-route-CQULPYKA.js → global-activity-route-CrAG-ji7.js} +1 -1
- package/web/dist/assets/{host-context-iTMFRMT5.js → host-context-KsSKxKbI.js} +1 -1
- package/web/dist/assets/host-storage-BHtMSWBL.js +1 -0
- package/web/dist/assets/hosts-pzCm30ta.js +1 -0
- package/web/dist/assets/{image-preview-C_xACQXI.js → image-preview-CvcSCCBU.js} +1 -1
- package/web/dist/assets/index-D9hyWO4C.js +21 -0
- package/web/dist/assets/index-DZXi-K2N.css +1 -0
- package/web/dist/assets/label-DEZnEIpB.js +1 -0
- package/web/dist/assets/{markdown-C1p1PDmF.js → markdown-BRE9fTUI.js} +1 -1
- package/web/dist/assets/{open-in-menu-CbPtuWnJ.js → open-in-menu-DomSOC26.js} +1 -1
- package/web/dist/assets/{option-select-C6d3jHce.js → option-select-Cqnmt-CB.js} +1 -1
- package/web/dist/assets/preferences-section-CC4m45tb.js +1 -0
- package/web/dist/assets/preview-DFL4D2C_.js +1 -0
- package/web/dist/assets/{preview-pane-connected-ELLewN-g.js → preview-pane-connected-CvF3zJ9A.js} +2 -2
- package/web/dist/assets/project-location-D6-Lo1vY.js +1 -0
- package/web/dist/assets/project-router-CARDbdMX.js +1 -0
- package/web/dist/assets/project-scope-context-Bz7AAyJ4.js +4 -0
- package/web/dist/assets/projects-section-zeGtqnI3.js +1 -0
- package/web/dist/assets/{prompt-templates-section-D3GzKJMf.js → prompt-templates-section--ygct2zC.js} +2 -2
- package/web/dist/assets/queries-D7W-eGim.js +1 -0
- package/web/dist/assets/reference-chip-D8ckcrda.js +1 -0
- package/web/dist/assets/remote-settings-notice-MxDxNXXw.js +1 -0
- package/web/dist/assets/repo-git-VfTEbVO3.js +1 -0
- package/web/dist/assets/report-reader-DLCLUfdH.js +1 -0
- package/web/dist/assets/{report-selection-DxBxW6dz.js → report-selection-BcsbTczw.js} +1 -1
- package/web/dist/assets/reports-QoDlngjL.js +1 -0
- package/web/dist/assets/{resources-section-CpAOY20Z.js → resources-section-CBL0htm5.js} +1 -1
- package/web/dist/assets/{review-notes-drafts-D25BaEEb.js → review-notes-drafts-DJDQNemf.js} +1 -1
- package/web/dist/assets/{review-panel-CS9wTfAu.js → review-panel-BY05CuXd.js} +1 -1
- package/web/dist/assets/review-strip-BWhQ5CIC.js +1 -0
- package/web/dist/assets/{run-detail-refresh-wJr0M04e.js → run-detail-refresh-CecZhU-h.js} +1 -1
- package/web/dist/assets/{run-diff-BBASqHSE.js → run-diff-CpwwrpXO.js} +1 -1
- package/web/dist/assets/run-header-CZU3e9Xk.js +2 -0
- package/web/dist/assets/{select-CEEeAH4k.js → select-C72KGfnK.js} +1 -1
- package/web/dist/assets/{session-context-section-F1umLA86.js → session-context-section-D8v30mSp.js} +1 -1
- package/web/dist/assets/settings-agent-picker-DGhJwDIY.js +1 -0
- package/web/dist/assets/{settings-save-bar-BkU1JDt3.js → settings-save-bar-Dp-eEIEF.js} +1 -1
- package/web/dist/assets/settings-shell-DZzgCmSz.js +1 -0
- package/web/dist/assets/sidebar-section-B94mdYUS.js +1 -0
- package/web/dist/assets/skills-B6jO_f1w.js +1 -0
- package/web/dist/assets/status-dot-B5MkhHDP.js +1 -0
- package/web/dist/assets/{tab-link-CiKWtkK_.js → tab-link-zXPa9LIz.js} +1 -1
- package/web/dist/assets/task-changes-B_2BDWIf.js +5 -0
- package/web/dist/assets/task-commits-kxDG4T81.js +1 -0
- package/web/dist/assets/{task-file-scope-DU8AkDkr.js → task-file-scope-DVACyrij.js} +1 -1
- package/web/dist/assets/task-files-4CxXkPOx.js +1 -0
- package/web/dist/assets/task-github-item-C8hMZej3.js +1 -0
- package/web/dist/assets/task-thread-Bv_Fjceh.js +2 -0
- package/web/dist/assets/thread-state-CufNf_fC.js +4 -0
- package/web/dist/assets/use-finish-run-CjYc6ovQ.js +1 -0
- package/web/dist/assets/use-hand-to-agent-state-B_j_e1kD.js +1 -0
- package/web/dist/assets/use-path-bases-BfjK7tem.js +1 -0
- package/web/dist/assets/use-workspace-config-save-toCmvqtz.js +1 -0
- package/web/dist/assets/{workflows-DdKRMlHR.js → workflows-iMfDerlK.js} +2 -2
- package/web/dist/assets/workspace-tools-CgYFRggf.js +1 -0
- package/web/dist/assets/{worktrees-section-CCgqbLAh.js → worktrees-section-CtT9bwKK.js} +5 -5
- package/web/dist/assets/{zoomable-image-DJ1lJEMc.js → zoomable-image-Dv85Vr4A.js} +1 -1
- package/web/dist/index.html +17 -20
- package/web/dist/live-worker.js +1 -1
- package/web/dist/assets/accounts-section-BJcwTmko.js +0 -1
- package/web/dist/assets/activity-motion-D7ylxNSA.js +0 -1
- package/web/dist/assets/agent-accounts-DaaS69XB.js +0 -1
- package/web/dist/assets/agent-config-section-BOXqQyTv.js +0 -7
- package/web/dist/assets/agent-defaults-section-Bxfreo-n.js +0 -1
- package/web/dist/assets/appearance-BRqSFVDC.js +0 -1
- package/web/dist/assets/archive-on-merge-field-hDSXItUf.js +0 -1
- package/web/dist/assets/ask-card-CWrAEuZE.js +0 -9
- package/web/dist/assets/attention-CFW302LY.js +0 -1
- package/web/dist/assets/automations-route-BBsU9yBn.js +0 -2
- package/web/dist/assets/commit-list-5iHD08NO.js +0 -1
- package/web/dist/assets/diff-CkIsqgZZ.js +0 -3
- package/web/dist/assets/file-preview-CJVN0cBa.js +0 -2
- package/web/dist/assets/folder-browser-Cdm2WZOB.js +0 -1
- package/web/dist/assets/github-DXBAYLfd.js +0 -1
- package/web/dist/assets/host-storage-Cr_NKfWy.js +0 -1
- package/web/dist/assets/hosts-IKDCpyJQ.js +0 -1
- package/web/dist/assets/index-D1E0Dmck.css +0 -1
- package/web/dist/assets/index-k2m-s5zD.js +0 -21
- package/web/dist/assets/label-ODcSLYVj.js +0 -1
- package/web/dist/assets/preferences-section-ChS8Q-Lu.js +0 -1
- package/web/dist/assets/preview-B5bPk6HT.js +0 -1
- package/web/dist/assets/project-location-D8vnqA4E.js +0 -1
- package/web/dist/assets/project-router-CPgPVoBJ.js +0 -1
- package/web/dist/assets/projects-section-L3QxEiRK.js +0 -1
- package/web/dist/assets/queries-DHjNE2es.js +0 -1
- package/web/dist/assets/read-state-jUDTdM3R.js +0 -1
- package/web/dist/assets/reference-chip-kvc51N1L.js +0 -1
- package/web/dist/assets/remote-settings-notice-BtVKQ2vp.js +0 -1
- package/web/dist/assets/repo-git-BGSxevNj.js +0 -1
- package/web/dist/assets/report-reader-CvEkEEwN.js +0 -1
- package/web/dist/assets/reports-1vI74Z6R.js +0 -1
- package/web/dist/assets/review-strip-nrpQBfNI.js +0 -1
- package/web/dist/assets/run-header-DVnksnr4.js +0 -2
- package/web/dist/assets/settings-agent-picker-sUQdIon3.js +0 -1
- package/web/dist/assets/settings-shell-DodTPpjl.js +0 -1
- package/web/dist/assets/sidebar-section-DspuARa_.js +0 -1
- package/web/dist/assets/skills-CrHHdPjJ.js +0 -1
- package/web/dist/assets/status-dot-DuorWA5M.js +0 -1
- package/web/dist/assets/task-changes-U1cnUd83.js +0 -5
- package/web/dist/assets/task-commits-DxuX8SZp.js +0 -1
- package/web/dist/assets/task-files-DaDM9FRg.js +0 -1
- package/web/dist/assets/task-github-item-CXzzVHXw.js +0 -1
- package/web/dist/assets/task-groups-BapM4YcT.js +0 -1
- package/web/dist/assets/task-thread-9WIv4rPC.js +0 -2
- package/web/dist/assets/thread-state-IooDEE0b.js +0 -4
- package/web/dist/assets/toaster-Dglox5F-.js +0 -4
- package/web/dist/assets/use-finish-run-jVAqsGkV.js +0 -1
- package/web/dist/assets/use-hand-to-agent-state-DfucUGAH.js +0 -1
- package/web/dist/assets/use-path-bases-C7DRxlRi.js +0 -1
- package/web/dist/assets/use-workspace-config-save-B2eroiEx.js +0 -1
- package/web/dist/assets/workspace-tools-CePJG7uG.js +0 -1
|
@@ -100,6 +100,18 @@ 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
|
+
} | {
|
|
103
115
|
output: {
|
|
104
116
|
error: string;
|
|
105
117
|
};
|
|
@@ -124,23 +136,33 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
124
136
|
projectId: string;
|
|
125
137
|
};
|
|
126
138
|
};
|
|
127
|
-
}
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
} & {
|
|
142
|
+
"/projects/:projectId/webhooks": {
|
|
143
|
+
$post: {
|
|
128
144
|
output: {
|
|
129
145
|
error: string;
|
|
130
146
|
code?: "no-boot-project" | undefined;
|
|
131
147
|
};
|
|
132
148
|
outputFormat: "json";
|
|
133
|
-
status: 404 | 409;
|
|
149
|
+
status: 400 | 404 | 409 | 500;
|
|
134
150
|
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
|
+
} & {
|
|
135
161
|
param: {
|
|
136
162
|
projectId: string;
|
|
137
163
|
};
|
|
138
164
|
};
|
|
139
|
-
}
|
|
140
|
-
};
|
|
141
|
-
} & {
|
|
142
|
-
"/projects/:projectId/webhooks": {
|
|
143
|
-
$post: {
|
|
165
|
+
} | {
|
|
144
166
|
output: {
|
|
145
167
|
project: {
|
|
146
168
|
id: string;
|
|
@@ -153,6 +175,7 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
153
175
|
branch?: string | undefined;
|
|
154
176
|
forge?: string | undefined;
|
|
155
177
|
repoUrl?: string | undefined;
|
|
178
|
+
repoIdentity?: string | undefined;
|
|
156
179
|
maxParallel?: number | undefined;
|
|
157
180
|
tags?: string[] | undefined;
|
|
158
181
|
webhook?: {
|
|
@@ -199,28 +222,6 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
199
222
|
projectId: string;
|
|
200
223
|
};
|
|
201
224
|
};
|
|
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
225
|
};
|
|
225
226
|
};
|
|
226
227
|
} & {
|
|
@@ -261,6 +262,7 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
261
262
|
branch?: string | undefined;
|
|
262
263
|
forge?: string | undefined;
|
|
263
264
|
repoUrl?: string | undefined;
|
|
265
|
+
repoIdentity?: string | undefined;
|
|
264
266
|
maxParallel?: number | undefined;
|
|
265
267
|
tags?: string[] | undefined;
|
|
266
268
|
webhook?: {
|
|
@@ -361,6 +363,7 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
361
363
|
branch?: string | undefined;
|
|
362
364
|
forge?: string | undefined;
|
|
363
365
|
repoUrl?: string | undefined;
|
|
366
|
+
repoIdentity?: string | undefined;
|
|
364
367
|
maxParallel?: number | undefined;
|
|
365
368
|
tags?: string[] | undefined;
|
|
366
369
|
webhook?: {
|
|
@@ -420,10 +423,13 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
420
423
|
};
|
|
421
424
|
} | {
|
|
422
425
|
output: {
|
|
423
|
-
|
|
426
|
+
ok: boolean;
|
|
427
|
+
status?: number | undefined;
|
|
428
|
+
error?: string | undefined;
|
|
429
|
+
dryRun?: boolean | undefined;
|
|
424
430
|
};
|
|
425
431
|
outputFormat: "json";
|
|
426
|
-
status:
|
|
432
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
427
433
|
input: {
|
|
428
434
|
param: {
|
|
429
435
|
projectId: string;
|
|
@@ -432,13 +438,11 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
432
438
|
};
|
|
433
439
|
} | {
|
|
434
440
|
output: {
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
error?: string | undefined;
|
|
438
|
-
dryRun?: boolean | undefined;
|
|
441
|
+
error: string;
|
|
442
|
+
code?: "no-boot-project" | undefined;
|
|
439
443
|
};
|
|
440
444
|
outputFormat: "json";
|
|
441
|
-
status:
|
|
445
|
+
status: 404 | 409;
|
|
442
446
|
input: {
|
|
443
447
|
param: {
|
|
444
448
|
projectId: string;
|
|
@@ -448,10 +452,9 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
448
452
|
} | {
|
|
449
453
|
output: {
|
|
450
454
|
error: string;
|
|
451
|
-
code?: "no-boot-project" | undefined;
|
|
452
455
|
};
|
|
453
456
|
outputFormat: "json";
|
|
454
|
-
status: 404
|
|
457
|
+
status: 404;
|
|
455
458
|
input: {
|
|
456
459
|
param: {
|
|
457
460
|
projectId: string;
|
|
@@ -58,6 +58,29 @@ 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
|
+
} | {
|
|
61
84
|
output: {
|
|
62
85
|
generatedAt: string;
|
|
63
86
|
projects: {
|
|
@@ -308,29 +331,6 @@ export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): impo
|
|
|
308
331
|
project?: string | undefined;
|
|
309
332
|
};
|
|
310
333
|
};
|
|
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">;
|
|
@@ -33,6 +33,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
33
33
|
branch?: string | undefined;
|
|
34
34
|
forge?: string | undefined;
|
|
35
35
|
repoUrl?: string | undefined;
|
|
36
|
+
repoIdentity?: string | undefined;
|
|
36
37
|
maxParallel?: number | undefined;
|
|
37
38
|
tags?: string[] | undefined;
|
|
38
39
|
webhook?: {
|
|
@@ -62,6 +63,17 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
62
63
|
} & {
|
|
63
64
|
"/projects": {
|
|
64
65
|
$post: {
|
|
66
|
+
output: {
|
|
67
|
+
error: string;
|
|
68
|
+
};
|
|
69
|
+
outputFormat: "json";
|
|
70
|
+
status: 400 | 500;
|
|
71
|
+
input: {
|
|
72
|
+
json: {
|
|
73
|
+
root: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
} | {
|
|
65
77
|
output: {
|
|
66
78
|
project: {
|
|
67
79
|
id: string;
|
|
@@ -74,6 +86,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
74
86
|
branch?: string | undefined;
|
|
75
87
|
forge?: string | undefined;
|
|
76
88
|
repoUrl?: string | undefined;
|
|
89
|
+
repoIdentity?: string | undefined;
|
|
77
90
|
maxParallel?: number | undefined;
|
|
78
91
|
tags?: string[] | undefined;
|
|
79
92
|
webhook?: {
|
|
@@ -92,10 +105,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
92
105
|
agent: boolean;
|
|
93
106
|
}[] | undefined;
|
|
94
107
|
};
|
|
95
|
-
error
|
|
108
|
+
error: string;
|
|
96
109
|
};
|
|
97
110
|
outputFormat: "json";
|
|
98
|
-
status:
|
|
111
|
+
status: 409;
|
|
99
112
|
input: {
|
|
100
113
|
json: {
|
|
101
114
|
root: string;
|
|
@@ -114,6 +127,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
114
127
|
branch?: string | undefined;
|
|
115
128
|
forge?: string | undefined;
|
|
116
129
|
repoUrl?: string | undefined;
|
|
130
|
+
repoIdentity?: string | undefined;
|
|
117
131
|
maxParallel?: number | undefined;
|
|
118
132
|
tags?: string[] | undefined;
|
|
119
133
|
webhook?: {
|
|
@@ -132,31 +146,32 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
132
146
|
agent: boolean;
|
|
133
147
|
}[] | undefined;
|
|
134
148
|
};
|
|
135
|
-
error
|
|
149
|
+
error?: string | undefined;
|
|
136
150
|
};
|
|
137
151
|
outputFormat: "json";
|
|
138
|
-
status:
|
|
152
|
+
status: 200;
|
|
139
153
|
input: {
|
|
140
154
|
json: {
|
|
141
155
|
root: string;
|
|
142
156
|
};
|
|
143
157
|
};
|
|
144
|
-
}
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
} & {
|
|
161
|
+
"/projects/:projectId": {
|
|
162
|
+
$delete: {
|
|
145
163
|
output: {
|
|
146
164
|
error: string;
|
|
165
|
+
code?: "no-boot-project" | undefined;
|
|
147
166
|
};
|
|
148
167
|
outputFormat: "json";
|
|
149
|
-
status:
|
|
168
|
+
status: 404 | 409;
|
|
150
169
|
input: {
|
|
151
|
-
|
|
152
|
-
|
|
170
|
+
param: {
|
|
171
|
+
projectId: string;
|
|
153
172
|
};
|
|
154
173
|
};
|
|
155
|
-
}
|
|
156
|
-
};
|
|
157
|
-
} & {
|
|
158
|
-
"/projects/:projectId": {
|
|
159
|
-
$delete: {
|
|
174
|
+
} | {
|
|
160
175
|
output: {
|
|
161
176
|
error: string;
|
|
162
177
|
};
|
|
@@ -201,7 +216,11 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
201
216
|
projectId: string;
|
|
202
217
|
};
|
|
203
218
|
};
|
|
204
|
-
}
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
} & {
|
|
222
|
+
"/projects/:projectId": {
|
|
223
|
+
$patch: {
|
|
205
224
|
output: {
|
|
206
225
|
error: string;
|
|
207
226
|
code?: "no-boot-project" | undefined;
|
|
@@ -209,15 +228,21 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
209
228
|
outputFormat: "json";
|
|
210
229
|
status: 404 | 409;
|
|
211
230
|
input: {
|
|
231
|
+
json: {
|
|
232
|
+
maxParallel?: number | null | undefined;
|
|
233
|
+
tags?: string[] | null | undefined;
|
|
234
|
+
webhook?: {
|
|
235
|
+
url: string;
|
|
236
|
+
token?: string | undefined;
|
|
237
|
+
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
238
|
+
} | null | undefined;
|
|
239
|
+
};
|
|
240
|
+
} & {
|
|
212
241
|
param: {
|
|
213
242
|
projectId: string;
|
|
214
243
|
};
|
|
215
244
|
};
|
|
216
|
-
}
|
|
217
|
-
};
|
|
218
|
-
} & {
|
|
219
|
-
"/projects/:projectId": {
|
|
220
|
-
$patch: {
|
|
245
|
+
} | {
|
|
221
246
|
output: {
|
|
222
247
|
error: string;
|
|
223
248
|
};
|
|
@@ -272,6 +297,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
272
297
|
branch?: string | undefined;
|
|
273
298
|
forge?: string | undefined;
|
|
274
299
|
repoUrl?: string | undefined;
|
|
300
|
+
repoIdentity?: string | undefined;
|
|
275
301
|
maxParallel?: number | undefined;
|
|
276
302
|
tags?: string[] | undefined;
|
|
277
303
|
webhook?: {
|
|
@@ -308,28 +334,6 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
308
334
|
projectId: string;
|
|
309
335
|
};
|
|
310
336
|
};
|
|
311
|
-
} | {
|
|
312
|
-
output: {
|
|
313
|
-
error: string;
|
|
314
|
-
code?: "no-boot-project" | undefined;
|
|
315
|
-
};
|
|
316
|
-
outputFormat: "json";
|
|
317
|
-
status: 404 | 409;
|
|
318
|
-
input: {
|
|
319
|
-
json: {
|
|
320
|
-
maxParallel?: number | null | undefined;
|
|
321
|
-
tags?: string[] | null | undefined;
|
|
322
|
-
webhook?: {
|
|
323
|
-
url: string;
|
|
324
|
-
token?: string | undefined;
|
|
325
|
-
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
326
|
-
} | null | undefined;
|
|
327
|
-
};
|
|
328
|
-
} & {
|
|
329
|
-
param: {
|
|
330
|
-
projectId: string;
|
|
331
|
-
};
|
|
332
|
-
};
|
|
333
337
|
};
|
|
334
338
|
};
|
|
335
339
|
} & {
|
|
@@ -381,6 +385,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
381
385
|
branch?: string | undefined;
|
|
382
386
|
forge?: string | undefined;
|
|
383
387
|
repoUrl?: string | undefined;
|
|
388
|
+
repoIdentity?: string | undefined;
|
|
384
389
|
maxParallel?: number | undefined;
|
|
385
390
|
tags?: string[] | undefined;
|
|
386
391
|
webhook?: {
|
|
@@ -463,6 +468,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
463
468
|
branch?: string | undefined;
|
|
464
469
|
forge?: string | undefined;
|
|
465
470
|
repoUrl?: string | undefined;
|
|
471
|
+
repoIdentity?: string | undefined;
|
|
466
472
|
maxParallel?: number | undefined;
|
|
467
473
|
tags?: string[] | undefined;
|
|
468
474
|
webhook?: {
|
|
@@ -344,6 +344,19 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
344
344
|
} & {
|
|
345
345
|
"/repo/commit/:sha": {
|
|
346
346
|
$get: {
|
|
347
|
+
output: string;
|
|
348
|
+
outputFormat: "text";
|
|
349
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
350
|
+
input: {
|
|
351
|
+
query: {
|
|
352
|
+
structured?: string | undefined;
|
|
353
|
+
};
|
|
354
|
+
} & {
|
|
355
|
+
param: {
|
|
356
|
+
sha: string;
|
|
357
|
+
};
|
|
358
|
+
};
|
|
359
|
+
} | {
|
|
347
360
|
output: {
|
|
348
361
|
error: string;
|
|
349
362
|
code?: "invalid_input" | undefined;
|
|
@@ -407,19 +420,6 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
407
420
|
sha: string;
|
|
408
421
|
};
|
|
409
422
|
};
|
|
410
|
-
} | {
|
|
411
|
-
output: string;
|
|
412
|
-
outputFormat: "text";
|
|
413
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
414
|
-
input: {
|
|
415
|
-
query: {
|
|
416
|
-
structured?: string | undefined;
|
|
417
|
-
};
|
|
418
|
-
} & {
|
|
419
|
-
param: {
|
|
420
|
-
sha: string;
|
|
421
|
-
};
|
|
422
|
-
};
|
|
423
423
|
};
|
|
424
424
|
};
|
|
425
425
|
} & {
|