feat(FE) : json role
This commit is contained in:
No files matched your search
+1
-1
@@ -25,7 +25,7 @@ export interface AntreanOperasi {
|
||||
kodeSpesialis?: string;
|
||||
kodeSubSpesialis?: string;
|
||||
idKategoriOperasi?: number;
|
||||
status?: string;
|
||||
StatusOperasi?: string;
|
||||
}
|
||||
|
||||
export interface Spesialis {
|
||||
|
||||
@@ -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
@@ -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[];
|
||||
}
|
||||
Reference in New Issue
Block a user