From f9c9f6efbe71bf22c47f81144b1de8ce60bcdb1e Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Fri, 21 May 2021 01:42:41 +0200 Subject: [PATCH] [core] Seperated plugin and api types into subproject --- package.json | 5 +- src/boot/plugins.ts | 8 +- src/components/Notification.vue | 2 +- .../navigation/EssentialExpansionLink.vue | 2 +- src/components/navigation/EssentialLink.vue | 2 +- src/components/navigation/ShortcutLink.vue | 2 +- src/flaschengeist.d.ts | 137 ------------------ src/layouts/MainLayout.vue | 6 +- src/layouts/OutLayout.vue | 2 +- src/pages/Dashboard.vue | 2 +- src/pages/about/About.vue | 11 +- src/plugins.d.ts | 117 --------------- src/plugins/balance/plugin.ts | 4 +- src/plugins/balance/routes/index.ts | 2 +- src/plugins/pricelist/plugin.ts | 2 +- src/plugins/pricelist/routes/index.ts | 2 +- src/plugins/schedule/plugin.ts | 4 +- src/plugins/schedule/routes/index.ts | 2 +- src/plugins/user/plugin.ts | 4 +- src/plugins/user/routes/index.ts | 2 +- src/stores/index.ts | 2 +- tsconfig.json | 5 +- 22 files changed, 35 insertions(+), 290 deletions(-) delete mode 100644 src/flaschengeist.d.ts delete mode 100644 src/plugins.d.ts diff --git a/package.json b/package.json index ef67c68..51aa48d 100644 --- a/package.json +++ b/package.json @@ -2,8 +2,8 @@ "private": true, "license": "MIT", "version": "2.0.0-alpha.1", - "productName": "Flaschengeist", - "name": "flaschengeist-frontend", + "productName": "flaschengeist-frontend", + "name": "flaschengeist", "author": "Tim Gröger ", "homepage": "https://flaschengeist.dev/Flaschengeist", "description": "Modular student club administration system", @@ -21,6 +21,7 @@ "quasar": "^2.0.0-beta.17" }, "devDependencies": { + "@flaschengeist/typings": "file:../flaschengeist-typings", "@quasar/app": "^3.0.0-beta.25", "@quasar/extras": "^1.10.4", "@quasar/quasar-app-extension-qcalendar": "4.0.0-alpha.8", diff --git a/src/boot/plugins.ts b/src/boot/plugins.ts index 4966893..8df25d7 100644 --- a/src/boot/plugins.ts +++ b/src/boot/plugins.ts @@ -1,10 +1,10 @@ -import { boot } from 'quasar/wrappers'; -import { FG_Plugin } from 'src/plugins'; -import routes from 'src/router/routes'; +import { Notify } from 'quasar'; import { api } from 'boot/axios'; +import { boot } from 'quasar/wrappers'; +import routes from 'src/router/routes'; import { AxiosResponse } from 'axios'; import { RouteRecordRaw } from 'vue-router'; -import { Notify } from 'quasar'; +import { FG_Plugin } from '@flaschengeist/typings'; const config: { [key: string]: Array } = { // Do not change required Modules !! diff --git a/src/components/Notification.vue b/src/components/Notification.vue index 1bee05b..3f375b7 100644 --- a/src/components/Notification.vue +++ b/src/components/Notification.vue @@ -35,7 +35,7 @@