From b605145e0b51536703c53641b8ef8aa0ff477b9f Mon Sep 17 00:00:00 2001 From: Moritz Vetter <16950410+Isokaeder@users.noreply.github.com> Date: Thu, 25 Jul 2024 22:01:50 +0200 Subject: [PATCH] refactor(KtTable): make type for store specific data more explicit --- .../kotti-table/components/TableHeader.vue | 23 ++++---- .../kotti-table/components/TableHeaderCell.ts | 4 +- .../kotti-table/components/TableRowCell.ts | 5 +- .../kotti-ui/source/kotti-table/constants.ts | 17 ++++-- .../source/kotti-table/logic/column.ts | 31 ++++++----- .../source/kotti-table/logic/order.ts | 2 +- .../source/kotti-table/logic/types.ts | 27 +++++++--- packages/kotti-ui/source/kotti-table/types.ts | 53 ++++++++----------- 8 files changed, 95 insertions(+), 67 deletions(-) diff --git a/packages/kotti-ui/source/kotti-table/components/TableHeader.vue b/packages/kotti-ui/source/kotti-table/components/TableHeader.vue index 9e11220bcd..c64a8da139 100644 --- a/packages/kotti-ui/source/kotti-table/components/TableHeader.vue +++ b/packages/kotti-ui/source/kotti-table/components/TableHeader.vue @@ -49,6 +49,7 @@