✨ types(config): engine/jsEngine und Duration-Timeouts

- hooks.schema.json: `timeout` akzeptiert Integer (ms) oder Go-Duration-String;
  neu `engine` (goja|v8) und `ignoreRequestCancel`.
- job.schema.json: `timeout` Integer oder String; neu `engine`.
- project.schema.json: neu `jsEngine` (goja|v8).
- index.d.ts: JobConfig.timeout ist `number | string` (Beschreibung war
  fälschlich "seconds"), neu `engine`.
This commit is contained in:
apairon committed 2026-11-13 10:41:03 +00:00
1 parent 9fa0aff643
commit e935dc7cc1
4 files changed
+58 -9

No files matched your search

Vendored
+8 -2
View File
@@ -1009,9 +1009,15 @@ declare global {
file?: string
/**
* execution timeout in seconds
* Abbruch nach dieser Zeit. Nackte Zahl = Millisekunden (Altform),
* String = Go-Duration ("30s", "5m").
*/
timeout?: number
timeout?: number | string
/**
* Überschreibt die Projekt-Engine für diesen Job.
*/
engine?: "goja" | "v8"
}
interface JobData {