diff --git a/src/auto-imports.d.ts b/src/auto-imports.d.ts index 129e5a16..284b6a9b 100644 --- a/src/auto-imports.d.ts +++ b/src/auto-imports.d.ts @@ -137,6 +137,7 @@ declare global { const shallowReadonly: typeof import('vue')['shallowReadonly'] const shallowRef: typeof import('vue')['shallowRef'] const showAlert: typeof import('./utils/alerts')['showAlert'] + const showNotification: typeof import('./utils/notifications')['showNotification'] const splitTradePair: typeof import('./utils/formatters/pairFormat')['splitTradePair'] const storeToRefs: typeof import('pinia')['storeToRefs'] const syncRef: typeof import('@vueuse/core')['syncRef'] @@ -496,6 +497,7 @@ declare module 'vue' { readonly shallowReadonly: UnwrapRef readonly shallowRef: UnwrapRef readonly showAlert: UnwrapRef + readonly showNotification: UnwrapRef readonly splitTradePair: UnwrapRef readonly storeToRefs: UnwrapRef readonly syncRef: UnwrapRef @@ -847,6 +849,7 @@ declare module '@vue/runtime-core' { readonly shallowReadonly: UnwrapRef readonly shallowRef: UnwrapRef readonly showAlert: UnwrapRef + readonly showNotification: UnwrapRef readonly splitTradePair: UnwrapRef readonly storeToRefs: UnwrapRef readonly syncRef: UnwrapRef diff --git a/src/stores/ftbot.ts b/src/stores/ftbot.ts index 5dbbf2f9..2dfd82b0 100644 --- a/src/stores/ftbot.ts +++ b/src/stores/ftbot.ts @@ -56,7 +56,6 @@ import { import axios, { AxiosResponse } from 'axios'; import { useWebSocket } from '@vueuse/core'; import { FTWsMessage, FtWsMessageTypes } from '@/types/wsMessageTypes'; -import { showNotification } from '@/shared/notifications'; export function createBotSubStore(botId: string, botName: string) { const userService = useUserService(botId); diff --git a/src/shared/notifications.ts b/src/utils/notifications.ts similarity index 100% rename from src/shared/notifications.ts rename to src/utils/notifications.ts