move page stores into pages folder

This commit is contained in:
geoffrey45
2022-06-10 17:08:29 +03:00
parent 67d19fb6e3
commit 75123f5384
18 changed files with 60 additions and 61 deletions
@@ -1,10 +1,10 @@
import { defineStore } from "pinia";
import { Track, Artist, AlbumInfo } from "../interfaces";
import { Track, Artist, AlbumInfo } from "../../interfaces";
import {
getAlbumTracks,
getAlbumArtists,
getAlbumBio,
} from "../composables/album";
} from "../../composables/album";
export default defineStore("album", {
state: () => ({
@@ -1,7 +1,7 @@
import { defineStore } from "pinia";
import { Folder, Track } from "../interfaces";
import { Folder, Track } from "../../interfaces";
import fetchThem from "../composables/getFilesAndFolders";
import fetchThem from "../../composables/getFilesAndFolders";
export default defineStore("FolderDirs&Tracks", {
state: () => ({
@@ -1,6 +1,6 @@
import { defineStore } from "pinia";
import { getPlaylist } from "../composables/playlists";
import { Track, Playlist } from "../interfaces";
import { getPlaylist } from "../../composables/playlists";
import { Track, Playlist } from "../../interfaces";
export default defineStore("playlist-tracks", {
state: () => ({
@@ -1,6 +1,6 @@
import { defineStore } from "pinia";
import { Playlist } from "../interfaces";
import { getAllPlaylists } from "../composables/playlists";
import { Playlist } from "../../interfaces";
import { getAllPlaylists } from "../../composables/playlists";
export default defineStore("playlists", {
state: () => ({