feat: обновил типы в компонентах
Frontend CI / build-and-check (push) Failing after 19s
🚀 Create and publish a Docker image / Detect changes in backend and frontend (push) Successful in 5s
🚀 Create and publish a Docker image / Build & publish backend image (push) Successful in 8s
🚀 Create and publish a Docker image / Build & publish frontend image (push) Successful in 16s
🚀 Create and publish a Docker image / Update stack on Portainer (push) Successful in 3s

This commit is contained in:
2026-05-28 19:54:38 +03:00
parent ef2fd39508
commit c93d205e34
6 changed files with 16 additions and 8 deletions
+3 -3
View File
@@ -1,15 +1,15 @@
<script setup lang="ts">
type Column = { key: string; label: string; align?: 'left' | 'center' | 'right' }
type DataTableSlotRow = Record<string, unknown>
type DataTableSlotRow = Record<string, any>
defineProps<{
columns: Column[]
rows: DataTableSlotRow[]
}>()
defineSlots<Record<string, (props: { row: DataTableSlotRow; value: unknown }) => unknown>>()
defineSlots<Record<string, (props: { row: DataTableSlotRow; value: any }) => unknown>>()
function getCell(row: DataTableSlotRow, key: string): unknown {
function getCell(row: DataTableSlotRow, key: string): any {
return row[key]
}
</script>