feat(FE) : json role

This commit is contained in:
Yusron alamsyah
2026-02-18 08:21:58 +07:00
parent 6c6b842d3b
commit 466dc076c3
29 changed files with 1539 additions and 172 deletions

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ export interface AntreanOperasi {
kodeSpesialis?: string;
kodeSubSpesialis?: string;
idKategoriOperasi?: number;
status?: string;
StatusOperasi?: string;
}
export interface Spesialis {
+1
View File
@@ -40,6 +40,7 @@ export interface SessionResponse {
success?: boolean // Add success indicator
user: User | null
accessToken?: string
idToken?: string // ID token for API authentication
refreshToken?: string // Often useful to track
expiresAt?: number
error?: string // For error cases
+4 -4
View File
@@ -1,16 +1,16 @@
// Types for Setting related functionality
export interface User {
id: number;
id: string;
namaUser: string;
username: string;
email: string;
hakAkses: string;
hakAkses: string[];
status: string;
}
export interface HakAkses {
id: number;
id: string;
namaHakAkses: string;
status: string;
pages: string[];
}