Skip to content

Commit

Permalink
Use canonical invocation message type from openapi schema
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Aug 27, 2024
1 parent 40fd7e3 commit 2087397
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 253 deletions.
1 change: 1 addition & 0 deletions client/src/api/invocations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export type WorkflowInvocationElementView = components["schemas"]["WorkflowInvoc
export type WorkflowInvocationCollectionView = components["schemas"]["WorkflowInvocationCollectionView"];
export type InvocationJobsSummary = components["schemas"]["InvocationJobsResponse"];
export type InvocationStep = components["schemas"]["InvocationStep"];
export type InvocationMessage = components["schemas"]["WorkflowInvocationElementView"]["messages"][0];

export type StepJobSummary =
| components["schemas"]["InvocationStepJobsResponseStepModel"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<script setup lang="ts">
import { computed } from "vue";
import type { InvocationMessage } from "@/api/invocations";
import { useWorkflowInstance } from "@/composables/useWorkflowInstance";
import type { InvocationMessageResponseModel } from "./invocationMessageModel";
import GenericHistoryItem from "@/components/History/Content/GenericItem.vue";
import JobInformation from "@/components/JobInformation/JobInformation.vue";
import WorkflowInvocationStep from "@/components/WorkflowInvocationState/WorkflowInvocationStep.vue";
Expand Down Expand Up @@ -49,7 +48,7 @@ interface Invocation {
}
interface InvocationMessageProps {
invocationMessage: InvocationMessageResponseModel;
invocationMessage: InvocationMessage;
invocation: Invocation;
}
Expand Down

This file was deleted.

0 comments on commit 2087397

Please sign in to comment.