@open-mercato/cezar 0.12.0-pr1141.2011 → 0.12.0-pr1142.2012

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/README.md CHANGED
@@ -215,8 +215,6 @@ npm run dev
215
215
 
216
216
  **MIT** © Patryk Lewczuk. Full text in [LICENSE](LICENSE).
217
217
 
218
- Windows installers are covered by the [code signing policy](docs/code-signing-policy.md).
219
-
220
218
  ## Jira and Linear
221
219
 
222
220
  Connect a project issue tracker in Settings to browse issues, launch workflows and configure event automations. See [setup, permissions and recovery](docs/issue-trackers.md).
@@ -8,7 +8,7 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
8
8
  error: string;
9
9
  };
10
10
  outputFormat: "json";
11
- status: 404;
11
+ status: 409;
12
12
  input: {
13
13
  query: {
14
14
  projectId: string;
@@ -16,10 +16,21 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
16
16
  };
17
17
  } | {
18
18
  output: {
19
- error: string;
19
+ timeZone: string;
20
+ automations: {
21
+ id: string;
22
+ name: string;
23
+ enabled: boolean;
24
+ kind: "github" | "schedule" | "tracker";
25
+ nextRunAt?: string | undefined;
26
+ state?: {
27
+ backoffUntil?: string | undefined;
28
+ consecutiveFailures?: number | undefined;
29
+ } | undefined;
30
+ }[];
20
31
  };
21
32
  outputFormat: "json";
22
- status: 409;
33
+ status: import("hono/utils/http-status").ContentfulStatusCode;
23
34
  input: {
24
35
  query: {
25
36
  projectId: string;
@@ -30,7 +41,7 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
30
41
  error: string;
31
42
  };
32
43
  outputFormat: "json";
33
- status: 503;
44
+ status: 404;
34
45
  input: {
35
46
  query: {
36
47
  projectId: string;
@@ -38,21 +49,10 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
38
49
  };
39
50
  } | {
40
51
  output: {
41
- timeZone: string;
42
- automations: {
43
- id: string;
44
- name: string;
45
- enabled: boolean;
46
- kind: "github" | "schedule" | "tracker";
47
- nextRunAt?: string | undefined;
48
- state?: {
49
- backoffUntil?: string | undefined;
50
- consecutiveFailures?: number | undefined;
51
- } | undefined;
52
- }[];
52
+ error: string;
53
53
  };
54
54
  outputFormat: "json";
55
- status: import("hono/utils/http-status").ContentfulStatusCode;
55
+ status: 503;
56
56
  input: {
57
57
  query: {
58
58
  projectId: string;
@@ -168,24 +168,6 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
168
168
  } & {
169
169
  "/workspace/dashboard/overview": {
170
170
  $get: {
171
- output: {
172
- error: 'Dashboard changed; refresh the list';
173
- code: 'snapshot-expired';
174
- };
175
- outputFormat: "json";
176
- status: 409;
177
- input: {
178
- query: {
179
- period?: "30d" | "7d" | undefined;
180
- tzOffsetMinutes?: unknown;
181
- snapshotId?: string | undefined;
182
- projectId?: string | undefined;
183
- group?: "completed" | "failed" | "needs-you" | "running" | undefined;
184
- offset?: unknown;
185
- limit?: unknown;
186
- };
187
- };
188
- } | {
189
171
  output: {
190
172
  snapshotId: string;
191
173
  asOf: string;
@@ -245,11 +227,7 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
245
227
  limit?: unknown;
246
228
  };
247
229
  };
248
- };
249
- };
250
- } & {
251
- "/workspace/dashboard/tasks": {
252
- $get: {
230
+ } | {
253
231
  output: {
254
232
  error: 'Dashboard changed; refresh the list';
255
233
  code: 'snapshot-expired';
@@ -258,13 +236,20 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
258
236
  status: 409;
259
237
  input: {
260
238
  query: {
261
- snapshotId: string;
262
- group: "needs-you" | "questions" | "queued" | "reviews" | "running" | "scheduled";
239
+ period?: "30d" | "7d" | undefined;
240
+ tzOffsetMinutes?: unknown;
241
+ snapshotId?: string | undefined;
242
+ projectId?: string | undefined;
243
+ group?: "completed" | "failed" | "needs-you" | "running" | undefined;
263
244
  offset?: unknown;
264
245
  limit?: unknown;
265
246
  };
266
247
  };
267
- } | {
248
+ };
249
+ };
250
+ } & {
251
+ "/workspace/dashboard/tasks": {
252
+ $get: {
268
253
  output: {
269
254
  snapshotId: string;
270
255
  asOf: string;
@@ -325,11 +310,7 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
325
310
  limit?: unknown;
326
311
  };
327
312
  };
328
- };
329
- };
330
- } & {
331
- "/workspace/dashboard/costs": {
332
- $get: {
313
+ } | {
333
314
  output: {
334
315
  error: 'Dashboard changed; refresh the list';
335
316
  code: 'snapshot-expired';
@@ -338,16 +319,17 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
338
319
  status: 409;
339
320
  input: {
340
321
  query: {
341
- period?: "30d" | "7d" | "all" | undefined;
342
- sort?: "cost" | "input" | "output" | undefined;
343
- projectId?: string | undefined;
344
- snapshotId?: string | undefined;
345
- tzOffsetMinutes?: unknown;
322
+ snapshotId: string;
323
+ group: "needs-you" | "questions" | "queued" | "reviews" | "running" | "scheduled";
346
324
  offset?: unknown;
347
325
  limit?: unknown;
348
326
  };
349
327
  };
350
- } | {
328
+ };
329
+ };
330
+ } & {
331
+ "/workspace/dashboard/costs": {
332
+ $get: {
351
333
  output: {
352
334
  snapshotId: string;
353
335
  asOf: string;
@@ -453,6 +435,24 @@ export declare function dashboardRoutes(reader: DashboardReader, visibility?: ()
453
435
  limit?: unknown;
454
436
  };
455
437
  };
438
+ } | {
439
+ output: {
440
+ error: 'Dashboard changed; refresh the list';
441
+ code: 'snapshot-expired';
442
+ };
443
+ outputFormat: "json";
444
+ status: 409;
445
+ input: {
446
+ query: {
447
+ period?: "30d" | "7d" | "all" | undefined;
448
+ sort?: "cost" | "input" | "output" | undefined;
449
+ projectId?: string | undefined;
450
+ snapshotId?: string | undefined;
451
+ tzOffsetMinutes?: unknown;
452
+ offset?: unknown;
453
+ limit?: unknown;
454
+ };
455
+ };
456
456
  };
457
457
  };
458
458
  } & {