feat: 完成權限管理系統、統一頁面標題樣式與表格對齊規範

This commit is contained in:
2026-01-13 13:30:51 +08:00
parent 6770a4ec2f
commit ecfcbb93ed
28 changed files with 2333 additions and 34 deletions

View File

@@ -1,6 +1,25 @@
import { AxiosInstance } from 'axios';
import { route as routeFn } from 'ziggy-js';
export interface AuthUser {
id: number;
name: string;
email: string;
username?: string;
roles: string[];
permissions: string[];
}
export interface PageProps {
auth: {
user: AuthUser | null;
};
flash: {
success?: string;
error?: string;
};
}
declare global {
interface Window {
axios: AxiosInstance;