From 1fea643e32ddab923e8e4f150308ae98befbc2ae Mon Sep 17 00:00:00 2001 From: Adrien Zaganelli Date: Thu, 3 Oct 2024 14:39:27 +0200 Subject: [PATCH] refactor(plugin): moved ipInfo plugin in a separate file --- playground/app.vue | 3 +- src/runtime/core/README.md | 30 ------------ src/runtime/core/core.ts | 7 +-- src/runtime/core/plugins/ipInfoPlugin.ts | 47 ++++++++++++++++++ src/runtime/core/types.ts | 13 +++-- src/runtime/database/lib/tables.ts | 7 --- .../{lib => }/sqlite/schema.sqlite.ts | 2 +- src/runtime/nuxt/defaults.ts | 2 +- src/runtime/server/utils/useSlipAuth.ts | 48 +------------------ 9 files changed, 65 insertions(+), 94 deletions(-) delete mode 100644 src/runtime/core/README.md create mode 100644 src/runtime/core/plugins/ipInfoPlugin.ts delete mode 100644 src/runtime/database/lib/tables.ts rename src/runtime/database/{lib => }/sqlite/schema.sqlite.ts (97%) diff --git a/playground/app.vue b/playground/app.vue index 29b4578..160d906 100644 --- a/playground/app.vue +++ b/playground/app.vue @@ -1,4 +1,5 @@ - +