Update various configuration files, components, and assets; enhance notification system and API endpoints; improve documentation and styles across the application.

This commit is contained in:
Haqeem Solehan
2025-10-16 16:05:39 +08:00
commit b124ff8092
336 changed files with 94392 additions and 0 deletions

22
stores/user.js Normal file
View File

@@ -0,0 +1,22 @@
import { defineStore } from "pinia";
export const useUserStore = defineStore({
id: "user",
state: () => ({
username: null,
roles: null,
isAuth: false,
}),
persist: true,
actions: {
setUsername(username) {
this.username = username;
},
setRoles(roles) {
this.roles = roles;
},
setIsAuthenticated(isAuth) {
this.isAuth = isAuth;
},
},
});