fffleet 2.1.0 → 2.1.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/index.d.ts +17 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -53,9 +53,25 @@ export interface JobSpecInput {
|
|
|
53
53
|
[section: string]: unknown;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
/** A validated spec with every default filled in (what parseSpec returns). */
|
|
57
|
+
export interface JobSpec {
|
|
58
|
+
contract: 1;
|
|
57
59
|
id?: string;
|
|
60
|
+
kind: JobKind;
|
|
61
|
+
type: string;
|
|
62
|
+
class: string;
|
|
63
|
+
priority: number;
|
|
64
|
+
owner: string;
|
|
65
|
+
requires: string[];
|
|
66
|
+
labels: Record<string, string>;
|
|
67
|
+
timeoutMs: number | null;
|
|
68
|
+
stdin: boolean;
|
|
69
|
+
stdout: boolean;
|
|
70
|
+
inputs: Endpoint[];
|
|
71
|
+
outputs: Endpoint[];
|
|
58
72
|
ffmpeg?: { args: string[]; durationMs: number | null };
|
|
73
|
+
/** Sections of other executor types, kept as submitted. */
|
|
74
|
+
[section: string]: unknown;
|
|
59
75
|
}
|
|
60
76
|
|
|
61
77
|
export interface Progress {
|