better imports organization
This commit is contained in:
parent
6f5eb6c442
commit
42930252b1
167 changed files with 663 additions and 445 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import { Socket } from 'phoenix'
|
||||
|
||||
import { useInterfaceStore } from 'src/stores/interface.js'
|
||||
import { useShoutStore } from 'src/stores/shout.js'
|
||||
import { WSConnectionStatus } from '../services/api/api.service.js'
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import { find, omitBy, orderBy, sumBy } from 'lodash'
|
||||
import { reactive } from 'vue'
|
||||
|
||||
import chatService from '../services/chat_service/chat_service.js'
|
||||
import { maybeShowChatNotification } from '../services/chat_utils/chat_utils.js'
|
||||
import {
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
import Cookies from 'js-cookie'
|
||||
import { set } from 'lodash'
|
||||
|
||||
import { useI18nStore } from 'src/stores/i18n.js'
|
||||
import { useInterfaceStore } from 'src/stores/interface.js'
|
||||
import messages from '../i18n/messages'
|
||||
import localeService from '../services/locale/locale.service.js'
|
||||
import { applyConfig } from '../services/style_setter/style_setter.js'
|
||||
|
||||
import { defaultState, instanceDefaultConfig } from './default_config_state.js'
|
||||
|
||||
const BACKEND_LANGUAGE_COOKIE_NAME = 'userLanguage'
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
// See build/emojis_plugin for more details
|
||||
import { annotationsLoader } from 'virtual:pleroma-fe/emoji-annotations'
|
||||
|
||||
import { useInterfaceStore } from 'src/stores/interface.js'
|
||||
import { ensureFinalFallback } from '../i18n/languages.js'
|
||||
import apiService from '../services/api/api.service.js'
|
||||
|
|
@ -9,6 +9,8 @@ import {
|
|||
staticOrApiConfigDefault,
|
||||
} from './default_config_state.js'
|
||||
|
||||
import { annotationsLoader } from 'virtual:pleroma-fe/emoji-annotations'
|
||||
|
||||
const SORTED_EMOJI_GROUP_IDS = [
|
||||
'smileys-and-emotion',
|
||||
'people-and-body',
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
import { useReportsStore } from 'src/stores/reports.js'
|
||||
import { useServerSideStorageStore } from 'src/stores/serverSideStorage'
|
||||
import apiService from '../services/api/api.service.js'
|
||||
|
||||
import {
|
||||
closeAllDesktopNotifications,
|
||||
closeDesktopNotification,
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ import {
|
|||
remove,
|
||||
slice,
|
||||
} from 'lodash'
|
||||
|
||||
import { useInterfaceStore } from 'src/stores/interface'
|
||||
import apiService from '../services/api/api.service.js'
|
||||
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ import {
|
|||
mergeWith,
|
||||
uniq,
|
||||
} from 'lodash'
|
||||
|
||||
import { declarations } from 'src/modules/config_declaration'
|
||||
import { useInterfaceStore } from 'src/stores/interface.js'
|
||||
import { useOAuthStore } from 'src/stores/oauth.js'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue