Convert all store files from JavaScript to TypeScript

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-06 14:47:57 +08:00
parent 90048d0505
commit a619be7881
65 changed files with 2031 additions and 5066 deletions

12
src/stores/loading.ts Normal file
View File

@@ -0,0 +1,12 @@
import { defineStore } from "pinia";
export const useLoadingStore = defineStore('loadingStore', {
state: () => ({
isLoading: true,
}),
actions: {
setIsLoading(isLoadingBoolean) {
this.isLoading = isLoadingBoolean;
}
},
});