feat: move migrators to helpers

This commit is contained in:
Dominik Pschenitschni 2024-11-07 18:20:32 +01:00
parent bc3d80a6e5
commit 8c749bd601
10 changed files with 9 additions and 9 deletions

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 471 B

After

Width:  |  Height:  |  Size: 471 B

View File

Before

Width:  |  Height:  |  Size: 745 B

After

Width:  |  Height:  |  Size: 745 B

View File

Before

Width:  |  Height:  |  Size: 512 B

After

Width:  |  Height:  |  Size: 512 B

View File

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

View File

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

@ -1,9 +1,9 @@
import wunderlistIcon from './icons/wunderlist.jpg'
import todoistIcon from './icons/todoist.svg?url'
import trelloIcon from './icons/trello.svg?url'
import microsoftTodoIcon from './icons/microsoft-todo.svg?url'
import vikunjaFileIcon from './icons/vikunja-file.png?url'
import tickTickIcon from './icons/ticktick.svg?url'
import wunderlistIcon from '@/assets/migrators/wunderlist.jpg'
import todoistIcon from '@/assets/migrators/todoist.svg?url'
import trelloIcon from '@/assets/migrators/trello.svg?url'
import microsoftTodoIcon from '@/assets/migrators/microsoft-todo.svg?url'
import vikunjaFileIcon from '@/assets/migrators/vikunja-file.png?url'
import tickTickIcon from '@/assets/migrators/ticktick.svg?url'
export interface Migrator {
id: string

View File

@ -133,7 +133,7 @@ import AbstractMigrationFileService from '@/services/migrator/abstractMigrationF
import {formatDateLong} from '@/helpers/time/formatDate'
import {parseDateOrNull} from '@/helpers/parseDateOrNull'
import {MIGRATORS, type Migrator} from './migrators'
import {MIGRATORS, type Migrator} from '@/helpers/migrators'
import {useTitle} from '@/composables/useTitle'
import {useProjectStore} from '@/stores/projects'
import {getErrorText} from '@/message'

View File

@ -24,7 +24,7 @@
import {computed} from 'vue'
import {useI18n} from 'vue-i18n'
import {MIGRATORS} from './migrators'
import {MIGRATORS} from '@/helpers/migrators'
import {useTitle} from '@/composables/useTitle'
import {useConfigStore} from '@/stores/config'

View File

@ -6,7 +6,7 @@ import {HTTPFactory} from '@/helpers/fetcher'
import {objectToCamelCase} from '@/helpers/case'
import type {IProvider} from '@/types/IProvider'
import type {MIGRATORS} from '@/views/migrate/migrators'
import type {MIGRATORS} from '@/helpers/migrators'
import {InvalidApiUrlProvidedError} from '@/helpers/checkAndSetApiUrl'
export interface ConfigState {