mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 12:33:03 +00:00
move page stores into pages folder
This commit is contained in:
@@ -34,15 +34,15 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import useVisibility from "@/composables/useVisibility";
|
||||
import useNavStore from "@/stores/nav";
|
||||
import useAlbumStore from "@/stores/pages/album";
|
||||
import { ref } from "vue";
|
||||
import { playSources } from "../../composables/enums";
|
||||
import { formatSeconds } from "../../composables/perks";
|
||||
import { paths } from "../../config";
|
||||
import { AlbumInfo } from "../../interfaces";
|
||||
import PlayBtnRect from "../shared/PlayBtnRect.vue";
|
||||
import useVisibility from "@/composables/useVisibility";
|
||||
import useNavStore from "@/stores/nav";
|
||||
import useAlbumStore from "@/stores/album";
|
||||
|
||||
defineProps<{
|
||||
album: AlbumInfo;
|
||||
|
||||
@@ -39,18 +39,18 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { playSources, ContextSrc } from "../../composables/enums";
|
||||
import useVisibility from "@/composables/useVisibility";
|
||||
import useNavStore from "@/stores/nav";
|
||||
import usePStore from "@/stores/pages/playlist";
|
||||
import { ref } from "vue";
|
||||
import { ContextSrc, playSources } from "../../composables/enums";
|
||||
import { paths } from "../../config";
|
||||
import pContext from "../../contexts/playlist";
|
||||
import { Playlist } from "../../interfaces";
|
||||
import PlayBtnRect from "../shared/PlayBtnRect.vue";
|
||||
import useContextStore from "../../stores/context";
|
||||
import useModalStore from "../../stores/modal";
|
||||
import Option from "../shared/Option.vue";
|
||||
import pContext from "../../contexts/playlist";
|
||||
import useContextStore from "../../stores/context";
|
||||
import { paths } from "../../config";
|
||||
import usePStore from "@/stores/p.ptracks";
|
||||
import useVisibility from "@/composables/useVisibility";
|
||||
import { ref } from "vue";
|
||||
import useNavStore from "@/stores/nav";
|
||||
import PlayBtnRect from "../shared/PlayBtnRect.vue";
|
||||
|
||||
const imguri = paths.images.playlist;
|
||||
const context = useContextStore();
|
||||
|
||||
@@ -21,7 +21,7 @@ import { useRoute } from "vue-router";
|
||||
import { createNewPlaylist } from "../../composables/playlists";
|
||||
import { Track } from "../../interfaces";
|
||||
import { Notification, NotifType } from "../../stores/notification";
|
||||
import usePlaylistStore from "../../stores/playlists";
|
||||
import usePlaylistStore from "@/stores/pages/playlists";
|
||||
|
||||
const props = defineProps<{
|
||||
track?: Track;
|
||||
|
||||
@@ -47,10 +47,10 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { onMounted, ref } from "vue";
|
||||
import { Playlist } from "../../interfaces";
|
||||
import usePStore from "@/stores/pages/playlist";
|
||||
import { onMounted } from "vue";
|
||||
import { updatePlaylist } from "../../composables/playlists";
|
||||
import usePStore from "../../stores/p.ptracks";
|
||||
import { Playlist } from "../../interfaces";
|
||||
|
||||
const pStore = usePStore();
|
||||
|
||||
|
||||
@@ -8,14 +8,14 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import useAlbumStore from "@/stores/album";
|
||||
import usePStore from "@/stores/p.ptracks";
|
||||
|
||||
import PlayBtn from "@/components/shared/PlayBtn.vue";
|
||||
import { playSources, Routes } from "@/composables/enums";
|
||||
import useAlbumStore from "@/stores/pages/album";
|
||||
import usePStore from "@/stores/pages/playlist";
|
||||
import { computed } from "@vue/reactivity";
|
||||
import { useRoute } from "vue-router";
|
||||
|
||||
|
||||
const things = computed(() => {
|
||||
const route = useRoute();
|
||||
let thing = {
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { playSources } from "@/composables/enums";
|
||||
import useAlbumStore from "@/stores/album";
|
||||
import usePlaylistStore from "@/stores/p.ptracks";
|
||||
import useAlbumStore from "@/stores/pages/album";
|
||||
import usePlaylistStore from "@/stores/pages/playlist";
|
||||
import usePlayFrom from "@/composables/usePlayFrom";
|
||||
import useQStore from "@/stores/queue";
|
||||
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
<script setup lang="ts">
|
||||
import { playSources } from "@/composables/enums";
|
||||
import usePlayFrom from "@/composables/usePlayFrom";
|
||||
import useQStore from "@/stores/queue";
|
||||
import useFStore from "@/stores/folder";
|
||||
import useAStore from "@/stores/album";
|
||||
import usePStore from "@/stores/p.ptracks";
|
||||
import useAStore from "@/stores/pages/album";
|
||||
import usePStore from "@/stores/pages/playlist";
|
||||
import useQStore from "@/stores/queue";
|
||||
|
||||
defineProps<{
|
||||
source: playSources;
|
||||
|
||||
Reference in New Issue
Block a user