@cloud-cli/on 1.7.10 → 1.8.1
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 +1 -0
- package/dist/dashboard.d.ts +11 -0
- package/dist/dashboard.d.ts.map +1 -0
- package/dist/html-state.d.ts +2 -0
- package/dist/html-state.d.ts.map +1 -0
- package/dist/on.js +1160 -1565
- package/dist/queue.d.ts +3 -4
- package/dist/queue.d.ts.map +1 -1
- package/dist/reporters/html.reporter.d.ts +0 -4
- package/dist/reporters/html.reporter.d.ts.map +1 -1
- package/dist/server.d.ts +2 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/types.d.ts +6 -4
- package/dist/types.d.ts.map +1 -1
- package/dist/worker.d.ts +5 -1
- package/dist/worker.d.ts.map +1 -1
- package/package.json +1 -2
package/README.md
CHANGED
|
@@ -250,6 +250,7 @@ The Ingress Gateway listens for incoming HTTP requests and serves the live web U
|
|
|
250
250
|
| ---------- | ------------------ | -------------------------------------------------------------------------------------- |
|
|
251
251
|
| **`POST`** | `/webhooks/github` | Webhook endpoint for GitHub events. Applies GitHub filters and evaluates `on.github.if`. |
|
|
252
252
|
| **`GET`** | `/runs` | **Dashboard:** Live dark-mode monitoring page listing recent jobs and worker health. |
|
|
253
|
+
| **`GET`** | `/api/jobs?afterId=<id>&beforeId=<id>&limit=<n>` | Dashboard jobs with exclusive lower and upper ID cursors and a limit from 1 to 500 (default 50). |
|
|
253
254
|
| **`GET`** | `/runs/:jobId` | **Job Report:** Interactive HTML trace view with step timings and terminal log output. |
|
|
254
255
|
|
|
255
256
|
### Dashboard Features
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface DashboardJob {
|
|
2
|
+
id: number;
|
|
3
|
+
workflowId: string;
|
|
4
|
+
status: string;
|
|
5
|
+
workerId: string | null;
|
|
6
|
+
createdAt: string;
|
|
7
|
+
updatedAt: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function toDashboardJobs(rows: any[]): DashboardJob[];
|
|
10
|
+
export declare function generateDashboardHtml(jobs: DashboardJob[], hasMore?: boolean): string;
|
|
11
|
+
//# sourceMappingURL=dashboard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboard.d.ts","sourceRoot":"","sources":["../src/dashboard.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,YAAY,EAAE,CAS3D;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,YAAY,EAAE,EAAE,OAAO,UAAQ,GAAG,MAAM,CAEnF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"html-state.d.ts","sourceRoot":"","sources":["../src/html-state.ts"],"names":[],"mappings":"AAAA,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAIzE"}
|