@hearsay-tools/squawk 0.18.0-dev.8366 → 0.18.0-dev.8373

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.
@@ -31,7 +31,7 @@ export declare function createOpenTargetsRoutes(deps: OpenTargetsRouteDeps): imp
31
31
  error: string;
32
32
  };
33
33
  outputFormat: "json";
34
- status: 409;
34
+ status: 400;
35
35
  input: {
36
36
  json: {
37
37
  target: string;
@@ -42,7 +42,7 @@ export declare function createOpenTargetsRoutes(deps: OpenTargetsRouteDeps): imp
42
42
  error: string;
43
43
  };
44
44
  outputFormat: "json";
45
- status: 400;
45
+ status: 409;
46
46
  input: {
47
47
  json: {
48
48
  target: string;
@@ -120,10 +120,11 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
120
120
  };
121
121
  } | {
122
122
  output: {
123
- error: string;
123
+ runId: string;
124
+ worktreeReclaimedAt: string;
124
125
  };
125
126
  outputFormat: "json";
126
- status: 404 | 409;
127
+ status: import("hono/utils/http-status").ContentfulStatusCode;
127
128
  input: {
128
129
  param: {
129
130
  runId: string;
@@ -131,11 +132,10 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
131
132
  };
132
133
  } | {
133
134
  output: {
134
- runId: string;
135
- worktreeReclaimedAt: string;
135
+ error: string;
136
136
  };
137
137
  outputFormat: "json";
138
- status: import("hono/utils/http-status").ContentfulStatusCode;
138
+ status: 404 | 409;
139
139
  input: {
140
140
  param: {
141
141
  runId: string;
@@ -267,14 +267,18 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
267
267
  "/repo/branches/delete": {
268
268
  $post: {
269
269
  output: {
270
- error: string;
270
+ deleted: string[];
271
271
  refused: {
272
272
  name: string;
273
273
  reason: string;
274
274
  }[];
275
+ dropped?: {
276
+ sha: string;
277
+ subject: string;
278
+ }[] | undefined;
275
279
  };
276
280
  outputFormat: "json";
277
- status: 409;
281
+ status: 200;
278
282
  input: {
279
283
  json: {
280
284
  names: string[];
@@ -283,18 +287,14 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
283
287
  };
284
288
  } | {
285
289
  output: {
286
- deleted: string[];
290
+ error: string;
287
291
  refused: {
288
292
  name: string;
289
293
  reason: string;
290
294
  }[];
291
- dropped?: {
292
- sha: string;
293
- subject: string;
294
- }[] | undefined;
295
295
  };
296
296
  outputFormat: "json";
297
- status: 200;
297
+ status: 409;
298
298
  input: {
299
299
  json: {
300
300
  names: string[];
@@ -315,19 +315,6 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
315
315
  } & {
316
316
  "/repo/commit/:sha": {
317
317
  $get: {
318
- output: string;
319
- outputFormat: "text";
320
- status: import("hono/utils/http-status").ContentfulStatusCode;
321
- input: {
322
- query: {
323
- structured?: string | undefined;
324
- };
325
- } & {
326
- param: {
327
- sha: string;
328
- };
329
- };
330
- } | {
331
318
  output: {
332
319
  error: string;
333
320
  code?: "invalid_input" | undefined;
@@ -391,6 +378,19 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
391
378
  sha: string;
392
379
  };
393
380
  };
381
+ } | {
382
+ output: string;
383
+ outputFormat: "text";
384
+ status: import("hono/utils/http-status").ContentfulStatusCode;
385
+ input: {
386
+ query: {
387
+ structured?: string | undefined;
388
+ };
389
+ } & {
390
+ param: {
391
+ sha: string;
392
+ };
393
+ };
394
394
  };
395
395
  };
396
396
  } & {
@@ -451,10 +451,12 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
451
451
  "/repo/pull": {
452
452
  $post: {
453
453
  output: {
454
- error: string;
454
+ branch: string;
455
+ pulled: true;
456
+ summary: string;
455
457
  };
456
458
  outputFormat: "json";
457
- status: 409;
459
+ status: 200;
458
460
  input: {
459
461
  json: {
460
462
  branch?: string | undefined;
@@ -463,12 +465,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
463
465
  };
464
466
  } | {
465
467
  output: {
466
- branch: string;
467
- pulled: true;
468
- summary: string;
468
+ error: string;
469
469
  };
470
470
  outputFormat: "json";
471
- status: 200;
471
+ status: 409;
472
472
  input: {
473
473
  json: {
474
474
  branch?: string | undefined;
@@ -40,7 +40,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
40
40
  error: string;
41
41
  };
42
42
  outputFormat: "json";
43
- status: 409;
43
+ status: 400;
44
44
  input: {
45
45
  query: {
46
46
  q?: string | undefined;
@@ -53,7 +53,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
53
53
  error: string;
54
54
  };
55
55
  outputFormat: "json";
56
- status: 400;
56
+ status: 409;
57
57
  input: {
58
58
  query: {
59
59
  q?: string | undefined;
@@ -52,15 +52,11 @@ export declare function createRunnerInstallRoutes(options: {
52
52
  "/runner-install/:runner": {
53
53
  $post: {
54
54
  output: {
55
- supported: boolean;
56
- installedVersion: string | null;
57
- latestVersion: string | null;
58
- updateAvailable: boolean;
59
- phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
60
- error: string | null;
55
+ error: string;
56
+ code?: "invalid_input" | undefined;
61
57
  };
62
58
  outputFormat: "json";
63
- status: 202;
59
+ status: 400;
64
60
  input: {
65
61
  param: {
66
62
  runner: string;
@@ -72,11 +68,15 @@ export declare function createRunnerInstallRoutes(options: {
72
68
  };
73
69
  } | {
74
70
  output: {
75
- error: string;
76
- code?: "invalid_input" | undefined;
71
+ supported: boolean;
72
+ installedVersion: string | null;
73
+ latestVersion: string | null;
74
+ updateAvailable: boolean;
75
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
76
+ error: string | null;
77
77
  };
78
78
  outputFormat: "json";
79
- status: 400;
79
+ status: 202;
80
80
  input: {
81
81
  param: {
82
82
  runner: string;