Skip to content

Commit 792c841

Browse files
committed
feat: type profile helper
1 parent f6968a8 commit 792c841

File tree

14 files changed

+297
-220
lines changed

14 files changed

+297
-220
lines changed

apps/app-frontend/src/components/GridDisplay.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { Button, DropdownSelect } from '@modrinth/ui'
1616
import { formatCategoryHeader } from '@modrinth/utils'
1717
import ContextMenu from '@/components/ui/ContextMenu.vue'
1818
import dayjs from 'dayjs'
19-
import { duplicate, remove } from '@/helpers/profile.js'
19+
import { duplicate, remove } from '@/helpers/profile'
2020
import { handleError } from '@/store/notifications.js'
2121
import ConfirmModalWrapper from '@/components/ui/modal/ConfirmModalWrapper.vue'
2222

apps/app-frontend/src/components/RowDisplay.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import ContextMenu from '@/components/ui/ContextMenu.vue'
1919
import ProjectCard from '@/components/ui/ProjectCard.vue'
2020
import { get_by_profile_path } from '@/helpers/process.js'
2121
import { handleError } from '@/store/notifications.js'
22-
import { duplicate, kill, remove, run } from '@/helpers/profile.js'
22+
import { duplicate, kill, remove, run } from '@/helpers/profile'
2323
import { useRouter } from 'vue-router'
2424
import { showProfileInFolder } from '@/helpers/utils.js'
2525
import { trackEvent } from '@/helpers/analytics'

apps/app-frontend/src/components/ui/AddContentButton.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { DropdownIcon, PlusIcon, FolderOpenIcon } from '@modrinth/assets'
33
import { ButtonStyled, OverflowMenu } from '@modrinth/ui'
44
import { open } from '@tauri-apps/plugin-dialog'
5-
import { add_project_from_path } from '@/helpers/profile.js'
5+
import { add_project_from_path } from '@/helpers/profile'
66
import { handleError } from '@/store/notifications.js'
77
import { useRouter } from 'vue-router'
88

apps/app-frontend/src/components/ui/ErrorModal.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { login as login_flow, set_default_user } from '@/helpers/auth.js'
66
import { handleError } from '@/store/notifications.js'
77
import { handleSevereError } from '@/store/error.js'
88
import { cancel_directory_change } from '@/helpers/settings.js'
9-
import { install } from '@/helpers/profile.js'
9+
import { install } from '@/helpers/profile'
1010
import { trackEvent } from '@/helpers/analytics'
1111
import ModalWrapper from '@/components/ui/modal/ModalWrapper.vue'
1212

apps/app-frontend/src/components/ui/ExportModal.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { XIcon, PlusIcon } from '@modrinth/assets'
33
import { Button, Checkbox } from '@modrinth/ui'
44
import { PackageIcon, VersionIcon } from '@/assets/icons'
55
import { ref } from 'vue'
6-
import { export_profile_mrpack, get_pack_export_candidates } from '@/helpers/profile.js'
6+
import { export_profile_mrpack, get_pack_export_candidates } from '@/helpers/profile'
77
import { open } from '@tauri-apps/plugin-dialog'
88
import { handleError } from '@/store/notifications.js'
99
import ModalWrapper from '@/components/ui/modal/ModalWrapper.vue'

apps/app-frontend/src/components/ui/RunningAppBar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ import { useRouter } from 'vue-router'
106106
import { progress_bars_list } from '@/helpers/state.js'
107107
import ProgressBar from '@/components/ui/ProgressBar.vue'
108108
import { handleError } from '@/store/notifications.js'
109-
import { get_many } from '@/helpers/profile.js'
109+
import { get_many } from '@/helpers/profile'
110110
import { trackEvent } from '@/helpers/analytics'
111111
112112
const router = useRouter()

apps/app-frontend/src/helpers/profile.js

Lines changed: 0 additions & 204 deletions
This file was deleted.

0 commit comments

Comments
 (0)