Files
speckle-server/packages/frontend-2/components/project/page/models/card/AutomationRun.vue
T
Kristaps Fabians Geikins f80a7189a0 chore(fe2): upgrade to nuxt 3.8.2 (#1887)
* chore(fe2): upgrade to nuxt 3.8.2

* fix tailwind-theme build

* readme update

* removing storybook from fe2 :(

* fix(fe2): codegen schema url resolution
2023-11-29 10:22:17 +02:00

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>