From a28d3f7407989d225d73f2f2de63dd0c65ca9323 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 | 14 +- pnpm-lock.yaml | 3 + 12 files changed, 258 insertions(+), 49 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 65d86f56f0..02fa047bc0 100644 --- a/apps/client/src/App.vue +++ b/apps/client/src/App.vue @@ -1,4 +1,5 @@