f80a7189a0
* chore(fe2): upgrade to nuxt 3.8.2 * fix tailwind-theme build * readme update * removing storybook from fe2 :( * fix(fe2): codegen schema url resolution
36 lines
1.1 KiB
Vue
36 lines
1.1 KiB
Vue
<template>
|
|
<div class="space-y-2">
|
|
<!-- Note: keeping for the sake of potential future layout expansions. For now it looks cleaner
|
|
without the automation name here, and having that in combined with the functino name in the components below. -->
|
|
<!-- <div class="text-sm text-foreground-2">{{ run.automationName }} {{ run.id }}</div> -->
|
|
<ProjectPageModelsCardFunctionRun
|
|
v-for="fRun in run.functionRuns"
|
|
:key="fRun.id"
|
|
:automation-name="run.automationName"
|
|
:function-run="(fRun as RemoveOnceBEIsHappy)"
|
|
:project-id="projectId"
|
|
:model-id="modelId"
|
|
:version-id="versionId"
|
|
/>
|
|
</div>
|
|
</template>
|
|
<script setup lang="ts">
|
|
// import dayjs from 'dayjs'
|
|
import type {
|
|
AutomationFunctionRun,
|
|
AutomationRun
|
|
} from '~~/lib/common/generated/gql/graphql'
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
type RemoveOnceBEIsHappy = AutomationFunctionRun & {
|
|
results: { values: { blobIds: string[] } }
|
|
}
|
|
|
|
defineProps<{
|
|
run: AutomationRun
|
|
projectId: string
|
|
modelId: string
|
|
versionId?: string
|
|
}>()
|
|
</script>
|