From 9f97820ca6cdbbc5c6929cf0fcc8f23ee58d8a83 Mon Sep 17 00:00:00 2001 From: leo P Date: Fri, 30 Aug 2024 18:07:17 +0200 Subject: [PATCH] feat: :sparkles: gestion de la config console (System Settings) --- apps/client/src/App.vue | 12 +- apps/client/src/router/index.ts | 2 +- apps/client/src/stores/system-settings.ts | 31 ++-- .../client/src/views/admin/SystemSettings.vue | 74 ++++++++-- apps/server/package.json | 3 +- .../src/resources/system/settings/business.ts | 19 ++- .../src/resources/system/settings/router.ts | 10 +- apps/server/src/utils/config.ts | 133 ++++++++++++++++++ apps/server/src/utils/fastify.ts | 4 +- packages/shared/src/contracts/system.ts | 2 - packages/shared/src/schemas/system.ts | 16 ++- pnpm-lock.yaml | 3 + 12 files changed, 259 insertions(+), 50 deletions(-) create mode 100644 apps/server/src/utils/config.ts diff --git a/apps/client/src/App.vue b/apps/client/src/App.vue index 65d86f56f..02fa047bc 100644 --- a/apps/client/src/App.vue +++ b/apps/client/src/App.vue @@ -1,4 +1,5 @@