@workplane/types 0.3.1 → 0.4.0
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/dist/index.d.ts +13 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -67,6 +67,18 @@ interface AppendInputEventInput {
|
|
|
67
67
|
kind: InputEventKind;
|
|
68
68
|
payload: Record<string, unknown>;
|
|
69
69
|
}
|
|
70
|
+
interface RunLogRecord {
|
|
71
|
+
id: number;
|
|
72
|
+
runId: string;
|
|
73
|
+
stepName: string | null;
|
|
74
|
+
stream: "stdout" | "stderr" | "system";
|
|
75
|
+
message: string;
|
|
76
|
+
timestamp: string;
|
|
77
|
+
}
|
|
78
|
+
interface NodePollResult {
|
|
79
|
+
run: RunRecord;
|
|
80
|
+
task: TaskRecord;
|
|
81
|
+
}
|
|
70
82
|
interface ServerWorkflows {
|
|
71
83
|
createTask: (input: CreateTaskInput) => Promise<TaskRecord>;
|
|
72
84
|
retryTask: (taskId: string) => Promise<TaskRecord | null>;
|
|
@@ -78,4 +90,4 @@ interface ServerWorkflows {
|
|
|
78
90
|
markInputDelivered: (runId: string, sequence: number) => Promise<void>;
|
|
79
91
|
}
|
|
80
92
|
|
|
81
|
-
export type { AppendInputEventInput, ArtifactInput, ArtifactRecord, CreateTaskInput, InputEventKind, NodeRecord, RunInputEvent, RunLogInput, RunRecord, RunStatus, ServerWorkflows, TaskRecord, TaskStatus };
|
|
93
|
+
export type { AppendInputEventInput, ArtifactInput, ArtifactRecord, CreateTaskInput, InputEventKind, NodePollResult, NodeRecord, RunInputEvent, RunLogInput, RunLogRecord, RunRecord, RunStatus, ServerWorkflows, TaskRecord, TaskStatus };
|