This commit is contained in:
pa
2026-03-11 22:03:57 +09:00
parent bf9b66bdf4
commit 884744cb30
35 changed files with 892 additions and 515 deletions
+16
View File
@@ -187,6 +187,20 @@ export const useAvatarStore = defineStore('Avatar', () => {
database.clearAvatarHistory();
}
/**
* @param {Array} value
*/
function setAvatarHistory(value) {
avatarHistory.value = value;
}
/**
* @param {*} value
*/
function setLoadingToastId(value) {
loadingToastId.value = value;
}
return {
avatarDialog,
avatarHistory,
@@ -200,6 +214,8 @@ export const useAvatarStore = defineStore('Avatar', () => {
getAvatarGallery,
updateVRChatAvatarCache,
clearAvatarHistory,
setAvatarHistory,
setLoadingToastId,
setAvatarDialogVisible,
setAvatarDialogIsFavorite,
setAvatarDialogLoading