chore: notification -> utils

This commit is contained in:
Matthias 2024-07-05 14:50:13 +02:00
parent 631c834bf8
commit 0680329fbd
3 changed files with 3 additions and 1 deletions

View File

@ -137,6 +137,7 @@ declare global {
const shallowReadonly: typeof import('vue')['shallowReadonly'] const shallowReadonly: typeof import('vue')['shallowReadonly']
const shallowRef: typeof import('vue')['shallowRef'] const shallowRef: typeof import('vue')['shallowRef']
const showAlert: typeof import('./utils/alerts')['showAlert'] const showAlert: typeof import('./utils/alerts')['showAlert']
const showNotification: typeof import('./utils/notifications')['showNotification']
const splitTradePair: typeof import('./utils/formatters/pairFormat')['splitTradePair'] const splitTradePair: typeof import('./utils/formatters/pairFormat')['splitTradePair']
const storeToRefs: typeof import('pinia')['storeToRefs'] const storeToRefs: typeof import('pinia')['storeToRefs']
const syncRef: typeof import('@vueuse/core')['syncRef'] const syncRef: typeof import('@vueuse/core')['syncRef']
@ -496,6 +497,7 @@ declare module 'vue' {
readonly shallowReadonly: UnwrapRef<typeof import('vue')['shallowReadonly']> readonly shallowReadonly: UnwrapRef<typeof import('vue')['shallowReadonly']>
readonly shallowRef: UnwrapRef<typeof import('vue')['shallowRef']> readonly shallowRef: UnwrapRef<typeof import('vue')['shallowRef']>
readonly showAlert: UnwrapRef<typeof import('./utils/alerts')['showAlert']> readonly showAlert: UnwrapRef<typeof import('./utils/alerts')['showAlert']>
readonly showNotification: UnwrapRef<typeof import('./utils/notifications')['showNotification']>
readonly splitTradePair: UnwrapRef<typeof import('./utils/formatters/pairFormat')['splitTradePair']> readonly splitTradePair: UnwrapRef<typeof import('./utils/formatters/pairFormat')['splitTradePair']>
readonly storeToRefs: UnwrapRef<typeof import('pinia')['storeToRefs']> readonly storeToRefs: UnwrapRef<typeof import('pinia')['storeToRefs']>
readonly syncRef: UnwrapRef<typeof import('@vueuse/core')['syncRef']> readonly syncRef: UnwrapRef<typeof import('@vueuse/core')['syncRef']>
@ -847,6 +849,7 @@ declare module '@vue/runtime-core' {
readonly shallowReadonly: UnwrapRef<typeof import('vue')['shallowReadonly']> readonly shallowReadonly: UnwrapRef<typeof import('vue')['shallowReadonly']>
readonly shallowRef: UnwrapRef<typeof import('vue')['shallowRef']> readonly shallowRef: UnwrapRef<typeof import('vue')['shallowRef']>
readonly showAlert: UnwrapRef<typeof import('./utils/alerts')['showAlert']> readonly showAlert: UnwrapRef<typeof import('./utils/alerts')['showAlert']>
readonly showNotification: UnwrapRef<typeof import('./utils/notifications')['showNotification']>
readonly splitTradePair: UnwrapRef<typeof import('./utils/formatters/pairFormat')['splitTradePair']> readonly splitTradePair: UnwrapRef<typeof import('./utils/formatters/pairFormat')['splitTradePair']>
readonly storeToRefs: UnwrapRef<typeof import('pinia')['storeToRefs']> readonly storeToRefs: UnwrapRef<typeof import('pinia')['storeToRefs']>
readonly syncRef: UnwrapRef<typeof import('@vueuse/core')['syncRef']> readonly syncRef: UnwrapRef<typeof import('@vueuse/core')['syncRef']>

View File

@ -56,7 +56,6 @@ import {
import axios, { AxiosResponse } from 'axios'; import axios, { AxiosResponse } from 'axios';
import { useWebSocket } from '@vueuse/core'; import { useWebSocket } from '@vueuse/core';
import { FTWsMessage, FtWsMessageTypes } from '@/types/wsMessageTypes'; import { FTWsMessage, FtWsMessageTypes } from '@/types/wsMessageTypes';
import { showNotification } from '@/shared/notifications';
export function createBotSubStore(botId: string, botName: string) { export function createBotSubStore(botId: string, botName: string) {
const userService = useUserService(botId); const userService = useUserService(botId);