@abyss-project/console 1.0.60 → 1.0.61
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/types/interface/api/requests/report.admin.request.d.ts +1 -0
- package/dist/types/interface/api/requests/workflow.request.d.ts +2 -1
- package/dist/types/interface/api/responses/workflow.response.d.ts +9 -2
- package/dist/types/interface/models/workflow-execution.model.d.ts +2 -0
- package/package.json +1 -1
|
@@ -126,6 +126,7 @@ export interface IPaginateWorkflowExecutionQuery extends QueryPaginate {
|
|
|
126
126
|
status?: WorkflowExecutionStatus;
|
|
127
127
|
startDate?: string;
|
|
128
128
|
endDate?: string;
|
|
129
|
+
triggerId?: string;
|
|
129
130
|
orderBy?: 'startedAt' | 'completedAt' | 'status';
|
|
130
131
|
orderDirection?: 'ASC' | 'DESC';
|
|
131
132
|
}
|
|
@@ -152,7 +153,7 @@ export interface IGetTimeSeriesWorkflowExecutionParams {
|
|
|
152
153
|
workflowId: string;
|
|
153
154
|
}
|
|
154
155
|
export interface IGetTimeSeriesWorkflowExecutionQuery {
|
|
155
|
-
period: 'hour' | 'day' | 'week';
|
|
156
|
+
period: 'minute' | 'hour' | 'day' | 'week' | 'month';
|
|
156
157
|
days: number;
|
|
157
158
|
}
|
|
158
159
|
export interface ICreateWorkflowTriggerParams {
|
|
@@ -133,14 +133,21 @@ export declare enum WorkflowExecutionSSEEvent {
|
|
|
133
133
|
STEP_FAILED = "STEP_FAILED",
|
|
134
134
|
STEP_SKIPPED = "STEP_SKIPPED"
|
|
135
135
|
}
|
|
136
|
-
export interface
|
|
136
|
+
export interface IWorkflowExecutionSSEPayloadInput {
|
|
137
137
|
workflowId: string;
|
|
138
138
|
executionId: string;
|
|
139
139
|
status: string;
|
|
140
140
|
stepId?: string;
|
|
141
141
|
stepExecutionId?: string;
|
|
142
|
-
stepStatus?: string;
|
|
143
142
|
error?: string;
|
|
144
143
|
durationMs?: number;
|
|
144
|
+
retryNumber?: number;
|
|
145
|
+
parentExecutionId?: string;
|
|
146
|
+
}
|
|
147
|
+
export interface IWorkflowExecutionSSEPayload extends IWorkflowExecutionSSEPayloadInput {
|
|
145
148
|
timestamp: string;
|
|
146
149
|
}
|
|
150
|
+
export interface IWorkflowExecutionSSEMessage {
|
|
151
|
+
type: WorkflowExecutionSSEEvent;
|
|
152
|
+
payload: IWorkflowExecutionSSEPayload;
|
|
153
|
+
}
|
|
@@ -14,6 +14,8 @@ export interface IWorkflowExecution {
|
|
|
14
14
|
error: string | null;
|
|
15
15
|
context: Record<string, any>;
|
|
16
16
|
metadata: Record<string, any> | null;
|
|
17
|
+
retryNumber: number;
|
|
18
|
+
parentExecutionId: string | null;
|
|
17
19
|
createdAt?: Date;
|
|
18
20
|
updatedAt?: Date;
|
|
19
21
|
workflow?: IWorkflow;
|