2021-10-26 22:21:19 +02:00
|
|
|
import wunderlistIcon from './icons/wunderlist.jpg'
|
2021-11-13 15:16:14 +01:00
|
|
|
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'
|
2021-10-26 22:21:19 +02:00
|
|
|
|
|
|
|
export interface Migrator {
|
|
|
|
id: string
|
|
|
|
name: string
|
|
|
|
isFileMigrator?: boolean
|
|
|
|
icon: string
|
|
|
|
}
|
|
|
|
|
|
|
|
interface IMigratorRecord {
|
|
|
|
[key: Migrator['id']]: Migrator
|
|
|
|
}
|
|
|
|
|
|
|
|
export const MIGRATORS: IMigratorRecord = {
|
|
|
|
wunderlist: {
|
|
|
|
id: 'wunderlist',
|
|
|
|
name: 'Wunderlist',
|
|
|
|
icon: wunderlistIcon,
|
|
|
|
},
|
|
|
|
todoist: {
|
|
|
|
id: 'todoist',
|
|
|
|
name: 'Todoist',
|
2022-01-05 11:05:44 +01:00
|
|
|
icon: todoistIcon as string,
|
2021-10-26 22:21:19 +02:00
|
|
|
},
|
|
|
|
trello: {
|
|
|
|
id: 'trello',
|
|
|
|
name: 'Trello',
|
2022-01-05 11:05:44 +01:00
|
|
|
icon: trelloIcon as string,
|
2021-10-26 22:21:19 +02:00
|
|
|
},
|
|
|
|
'microsoft-todo': {
|
|
|
|
id: 'microsoft-todo',
|
|
|
|
name: 'Microsoft Todo',
|
2022-01-05 11:05:44 +01:00
|
|
|
icon: microsoftTodoIcon as string,
|
2021-10-26 22:21:19 +02:00
|
|
|
},
|
|
|
|
'vikunja-file': {
|
|
|
|
id: 'vikunja-file',
|
|
|
|
name: 'Vikunja Export',
|
|
|
|
icon: vikunjaFileIcon,
|
|
|
|
isFileMigrator: true,
|
|
|
|
},
|
|
|
|
}
|