From 49064711b20799cb14d953fb78f70075218e002b Mon Sep 17 00:00:00 2001 From: jiyuujin Date: Wed, 3 Jul 2024 23:14:14 +0900 Subject: [PATCH] feat: export csv - for admin --- apps/web/app/components/admin/Page.vue | 30 +++++++++++++++++++++- apps/web/app/composables/useSupabaseCsv.ts | 30 ++++++++++++++++++++++ apps/web/app/pages/staff/console.vue | 3 +++ packages/composable/index.ts | 1 + packages/composable/lib/useCsv.ts | 17 ++++++++++++ packages/model/lib/admin.ts | 1 + packages/ui/components/tab/Tab.vue | 7 ++--- 7 files changed, 85 insertions(+), 4 deletions(-) create mode 100644 apps/web/app/composables/useSupabaseCsv.ts create mode 100644 packages/composable/lib/useCsv.ts diff --git a/apps/web/app/components/admin/Page.vue b/apps/web/app/components/admin/Page.vue index 9ec1e61d..27d63b2c 100644 --- a/apps/web/app/components/admin/Page.vue +++ b/apps/web/app/components/admin/Page.vue @@ -1,8 +1,11 @@