better imports organization

This commit is contained in:
Henry Jameson 2026-01-08 17:26:52 +02:00
commit 42930252b1
167 changed files with 663 additions and 445 deletions

View file

@ -1,4 +1,5 @@
import { defineStore } from 'pinia'
import { useOAuthStore } from 'src/stores/oauth.js'
const PASSWORD_STRATEGY = 'password'

View file

@ -1,4 +1,5 @@
import { defineStore } from 'pinia'
import fileTypeService from '../services/file_type/file_type.service.js'
const supportedTypes = new Set(['image', 'video', 'audio', 'flash'])

View file

@ -1,4 +1,5 @@
import { defineStore } from 'pinia'
import {
createApp,
getClientToken,

View file

@ -1,5 +1,6 @@
import filter from 'lodash/filter'
import { defineStore } from 'pinia'
import { useInterfaceStore } from 'src/stores/interface'
export const useReportsStore = defineStore('reports', {

View file

@ -13,9 +13,10 @@ import {
unset,
} from 'lodash'
import { defineStore } from 'pinia'
import { CURRENT_UPDATE_COUNTER } from 'src/components/update_notification/update_notification.js'
import { toRaw } from 'vue'
import { CURRENT_UPDATE_COUNTER } from 'src/components/update_notification/update_notification.js'
export const VERSION = 1
export const NEW_USER_DATE = new Date('2022-08-04') // date of writing this, basically