@workplane/types 0.4.3 → 0.5.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 +57 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -158,5 +158,61 @@ interface WorkplanStepResultInput {
|
|
|
158
158
|
durationMs?: number;
|
|
159
159
|
metadata?: Record<string, unknown>;
|
|
160
160
|
}
|
|
161
|
+
interface SkillInputProperty {
|
|
162
|
+
type: "string" | "number" | "boolean";
|
|
163
|
+
description?: string;
|
|
164
|
+
default?: string | number | boolean;
|
|
165
|
+
}
|
|
166
|
+
interface SkillInputSchema {
|
|
167
|
+
type: "object";
|
|
168
|
+
properties: Record<string, SkillInputProperty>;
|
|
169
|
+
required?: string[];
|
|
170
|
+
}
|
|
171
|
+
interface SkillSummary {
|
|
172
|
+
name: string;
|
|
173
|
+
description: string;
|
|
174
|
+
inputSchema: SkillInputSchema;
|
|
175
|
+
}
|
|
176
|
+
interface TaskListResponse {
|
|
177
|
+
tasks: TaskRecord[];
|
|
178
|
+
}
|
|
179
|
+
interface RunListResponse {
|
|
180
|
+
runs: RunRecord[];
|
|
181
|
+
}
|
|
182
|
+
interface RunLogsResponse {
|
|
183
|
+
logs: RunLogRecord[];
|
|
184
|
+
}
|
|
185
|
+
interface ArtifactListResponse {
|
|
186
|
+
artifacts: ArtifactRecord[];
|
|
187
|
+
}
|
|
188
|
+
interface NodeListResponse {
|
|
189
|
+
nodes: NodeRecord[];
|
|
190
|
+
}
|
|
191
|
+
interface InputEventListResponse {
|
|
192
|
+
events: RunInputEvent[];
|
|
193
|
+
}
|
|
194
|
+
interface PlanListResponse {
|
|
195
|
+
plans: string[];
|
|
196
|
+
}
|
|
197
|
+
interface SkillListResponse {
|
|
198
|
+
skills: SkillSummary[];
|
|
199
|
+
}
|
|
200
|
+
interface ScheduleListResponse {
|
|
201
|
+
schedules: WorkplanScheduleRecord[];
|
|
202
|
+
}
|
|
203
|
+
interface WorkplanRunListResponse {
|
|
204
|
+
runs: WorkplanRunRecord[];
|
|
205
|
+
}
|
|
206
|
+
interface WorkplanStepListResponse {
|
|
207
|
+
steps: WorkplanStepResultRecord[];
|
|
208
|
+
}
|
|
209
|
+
interface OkResponse {
|
|
210
|
+
ok: true;
|
|
211
|
+
}
|
|
212
|
+
interface ErrorResponse {
|
|
213
|
+
error: string;
|
|
214
|
+
details?: unknown;
|
|
215
|
+
availablePlans?: string[];
|
|
216
|
+
}
|
|
161
217
|
|
|
162
|
-
export type { AppendInputEventInput, ArtifactInput, ArtifactRecord, CreateTaskInput, CreateWorkplanRunInput, CreateWorkplanScheduleInput, InputEventKind, NodePollResult, NodeRecord, RunInputEvent, RunLogInput, RunLogRecord, RunRecord, RunStatus, ServerWorkflows, TaskRecord, TaskStatus, UpdateWorkplanScheduleInput, WorkplanRunRecord, WorkplanRunStatus, WorkplanScheduleRecord, WorkplanStepResultInput, WorkplanStepResultRecord };
|
|
218
|
+
export type { AppendInputEventInput, ArtifactInput, ArtifactListResponse, ArtifactRecord, CreateTaskInput, CreateWorkplanRunInput, CreateWorkplanScheduleInput, ErrorResponse, InputEventKind, InputEventListResponse, NodeListResponse, NodePollResult, NodeRecord, OkResponse, PlanListResponse, RunInputEvent, RunListResponse, RunLogInput, RunLogRecord, RunLogsResponse, RunRecord, RunStatus, ScheduleListResponse, ServerWorkflows, SkillInputProperty, SkillInputSchema, SkillListResponse, SkillSummary, TaskListResponse, TaskRecord, TaskStatus, UpdateWorkplanScheduleInput, WorkplanRunListResponse, WorkplanRunRecord, WorkplanRunStatus, WorkplanScheduleRecord, WorkplanStepListResponse, WorkplanStepResultInput, WorkplanStepResultRecord };
|