import type { GameDataValue } from '#layers/types/api/gameData' export const useGameDataStore = defineStore('gameData', () => { const gameData = ref(null) const langCode = ref(null) const setGameData = (data: GameDataValue) => { gameData.value = data } const clearGameData = () => { gameData.value = null } return { langCode, gameData, setGameData, clearGameData, } })