Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
funkwhale
funkwhale
Commits
32b611c4
Commit
32b611c4
authored
Apr 23, 2022
by
Kasper Seweryn
🥞
Committed by
Kasper Seweryn
Jul 03, 2022
Browse files
Move ~/modules to ~/init
parent
d4cf14ec
Changes
21
Hide whitespace changes
Inline
Side-by-side
front/src/components/About.vue
View file @
32b611c4
...
...
@@ -252,7 +252,7 @@
import
{
mapState
}
from
'
vuex
'
import
{
get
}
from
'
lodash-es
'
import
showdown
from
'
showdown
'
import
{
humanSize
}
from
'
~/
modules
/filters
'
import
{
humanSize
}
from
'
~/
init
/filters
'
import
SignupForm
from
'
~/components/auth/SignupForm.vue
'
import
LogoText
from
'
~/components/LogoText.vue
'
...
...
front/src/components/Home.vue
View file @
32b611c4
...
...
@@ -332,7 +332,7 @@ import AlbumWidget from '~/components/audio/album/Widget.vue'
import
ChannelsWidget
from
'
~/components/audio/ChannelsWidget.vue
'
import
LoginForm
from
'
~/components/auth/LoginForm.vue
'
import
SignupForm
from
'
~/components/auth/SignupForm.vue
'
import
{
humanSize
}
from
'
~/
modules
/filters
'
import
{
humanSize
}
from
'
~/
init
/filters
'
export
default
{
components
:
{
...
...
front/src/components/audio/ChannelCard.vue
View file @
32b611c4
...
...
@@ -78,7 +78,7 @@
import
PlayButton
from
'
~/components/audio/PlayButton.vue
'
import
TagsList
from
'
~/components/tags/List.vue
'
import
{
momentFormat
}
from
'
~/
modules
/filters
'
import
{
momentFormat
}
from
'
~/
init
/filters
'
import
moment
from
'
moment
'
export
default
{
...
...
front/src/components/audio/track/Table.vue
View file @
32b611c4
...
...
@@ -163,7 +163,7 @@ import axios from 'axios'
import
TrackRow
from
'
~/components/audio/track/Row.vue
'
import
TrackMobileRow
from
'
~/components/audio/track/MobileRow.vue
'
import
Pagination
from
'
~/components/Pagination.vue
'
import
{
unique
}
from
'
~/
modules
/filters
'
import
{
unique
}
from
'
~/
init
/filters
'
export
default
{
components
:
{
...
...
front/src/components/channels/UploadModal.vue
View file @
32b611c4
...
...
@@ -144,7 +144,7 @@
<
script
>
import
Modal
from
'
~/components/semantic/Modal.vue
'
import
ChannelUploadForm
from
'
~/components/channels/UploadForm.vue
'
import
{
humanSize
}
from
'
~/
modules
/filters
'
import
{
humanSize
}
from
'
~/
init
/filters
'
export
default
{
components
:
{
...
...
front/src/components/common/Duration.vue
View file @
32b611c4
...
...
@@ -13,7 +13,7 @@
</span>
</
template
>
<
script
>
import
{
secondsToObject
}
from
'
~/
modules
/filters
'
import
{
secondsToObject
}
from
'
~/
init
/filters
'
export
default
{
props
:
{
seconds
:
{
type
:
Number
,
default
:
null
}
},
...
...
front/src/components/library/TrackBase.vue
View file @
32b611c4
...
...
@@ -229,7 +229,7 @@ import TrackPlaylistIcon from '~/components/playlists/TrackPlaylistIcon.vue'
import
Modal
from
'
~/components/semantic/Modal.vue
'
import
EmbedWizard
from
'
~/components/audio/EmbedWizard.vue
'
import
ReportMixin
from
'
~/components/mixins/Report.vue
'
import
{
momentFormat
}
from
'
~/
modules
/filters
'
import
{
momentFormat
}
from
'
~/
init
/filters
'
import
updateQueryString
from
'
~/composables/updateQueryString
'
const
FETCH_URL
=
'
tracks/
'
...
...
front/src/
modules
/axios.ts
→
front/src/
init
/axios.ts
View file @
32b611c4
File moved
front/src/
modules
/directives.ts
→
front/src/
init
/directives.ts
View file @
32b611c4
File moved
front/src/
modules
/filters.ts
→
front/src/
init
/filters.ts
View file @
32b611c4
File moved
front/src/
modules
/globalComponents.ts
→
front/src/
init
/globalComponents.ts
View file @
32b611c4
File moved
front/src/
modules
/instance.ts
→
front/src/
init
/instance.ts
View file @
32b611c4
File moved
front/src/
modules
/internalLinks.ts
→
front/src/
init
/internalLinks.ts
View file @
32b611c4
File moved
front/src/
modules
/locale.ts
→
front/src/
init
/locale.ts
View file @
32b611c4
File moved
front/src/
modules
/semantic.ts
→
front/src/
init
/semantic.ts
View file @
32b611c4
File moved
front/src/
modules
/serviceWorker.ts
→
front/src/
init
/serviceWorker.ts
View file @
32b611c4
File moved
front/src/
modules
/webSocket.ts
→
front/src/
init
/webSocket.ts
View file @
32b611c4
File moved
front/src/
modules
/window.ts
→
front/src/
init
/window.ts
View file @
32b611c4
File moved
front/src/main.ts
View file @
32b611c4
...
...
@@ -38,7 +38,7 @@ app.use(VueCompositionAPI)
app
.
use
(
VueLazyload
)
const
modules
:
Promise
<
unknown
>
[]
=
[]
for
(
const
module
of
Object
.
values
(
import
.
meta
.
globEager
(
'
./
modules
/*.ts
'
)))
{
for
(
const
module
of
Object
.
values
(
import
.
meta
.
globEager
(
'
./
init
/*.ts
'
)))
{
modules
.
push
(
module
.
install
?.({
app
,
router
,
...
...
front/src/views/content/Home.vue
View file @
32b611c4
...
...
@@ -82,7 +82,7 @@
</
template
>
<
script
>
import
{
humanSize
}
from
'
~/
modules
/filters
'
import
{
humanSize
}
from
'
~/
init
/filters
'
export
default
{
computed
:
{
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment