Skip to content

Commit 390ed98

Browse files
committed
chore: updates
1 parent ba536d9 commit 390ed98

3 files changed

Lines changed: 2 additions & 8 deletions

File tree

samples/process-app-v0/src/components/ProcessInstances.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ export const ProcessInstances = () => {
227227
}
228228

229229
try {
230-
executionHistory = await sdk.maestro.processes.instances.getExecutionHistory(instance.instanceId, instance.folderKey);
230+
executionHistory = await sdk.maestro.processes.instances.getExecutionHistory(instance.instanceId);
231231
} catch (err) {
232232
console.error('Error fetching execution history:', err);
233233
// Continue without execution history

samples/process-app-v1/src/components/ProcessInstances.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ export const ProcessInstances = () => {
249249

250250
try {
251251
// Use modular ProcessInstances service directly
252-
executionHistory = await processInstances.getExecutionHistory(instance.instanceId, instance.folderKey);
252+
executionHistory = await processInstances.getExecutionHistory(instance.instanceId);
253253
} catch (err) {
254254
console.error('Error fetching execution history:', err);
255255
// Continue without execution history

src/models/maestro/process-instances.internal-types.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,8 @@ export interface ElementExecutionRun {
2323
status: string;
2424
startedTimeUtc: string;
2525
completedTimeUtc: string | null;
26-
incomingFlowId: string | null;
27-
incomingFlowIds: string[];
2826
elementRunId: string;
29-
markerItemIndex: number | null;
3027
workflowId: string | null;
31-
temporalExecutionId: string | null;
32-
version: number;
33-
parentElementRunId: string | null;
3428
}
3529

3630
/**

0 commit comments

Comments
 (0)