feat: move migrators to helpers
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 471 B After Width: | Height: | Size: 471 B |
|
Before Width: | Height: | Size: 745 B After Width: | Height: | Size: 745 B |
|
Before Width: | Height: | Size: 512 B After Width: | Height: | Size: 512 B |
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.9 KiB |
|
|
@ -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
|
||||
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||