valtech-components 4.0.250 → 4.0.251
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/esm2022/lib/components/molecules/chat-composer/chat-composer.component.mjs +2 -4
- package/esm2022/lib/services/workflows/workflow.service.mjs +1 -8
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +2 -11
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/services/workflows/workflow.service.d.ts +0 -13
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -25,17 +25,6 @@ export interface WorkflowExecution extends FirestoreDocument {
|
|
|
25
25
|
startedAt?: string;
|
|
26
26
|
stoppedAt?: string;
|
|
27
27
|
}
|
|
28
|
-
/** Estado por-paso de una ejecución (vista "en acción"). */
|
|
29
|
-
export interface WorkflowStep {
|
|
30
|
-
name: string;
|
|
31
|
-
status: 'pending' | 'running' | 'succeeded' | 'failed';
|
|
32
|
-
retries: number;
|
|
33
|
-
}
|
|
34
|
-
/** Resumen del historial de una ejecución. */
|
|
35
|
-
export interface WorkflowHistory {
|
|
36
|
-
status: WorkflowStatus;
|
|
37
|
-
steps: WorkflowStep[];
|
|
38
|
-
}
|
|
39
28
|
/**
|
|
40
29
|
* WorkflowService (ADR-045) — arranca state machines de Step Functions registradas
|
|
41
30
|
* y observa su ejecución en tiempo real (Firestore). Reusable por cualquier app.
|
|
@@ -52,8 +41,6 @@ export declare class WorkflowService {
|
|
|
52
41
|
constructor(config: ValtechAuthConfig | null);
|
|
53
42
|
private get appIdHeader();
|
|
54
43
|
start(name: string, input?: Record<string, unknown>): Observable<WorkflowStartResult>;
|
|
55
|
-
/** Resumen por-paso del historial de una ejecución (para mostrar el progreso). */
|
|
56
|
-
history(executionArn: string): Observable<WorkflowHistory>;
|
|
57
44
|
watch(executionName: string): Observable<WorkflowExecution | null>;
|
|
58
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowService, [{ optional: true; }]>;
|
|
59
46
|
static ɵprov: i0.ɵɵInjectableDeclaration<WorkflowService>;
|
package/lib/version.d.ts
CHANGED