18 lines
339 B
TypeScript
18 lines
339 B
TypeScript
import { StateProfileStatus } from '../redusers/ProfileSlice.ts'
|
|
|
|
export type ProfileDataType = {
|
|
email: string
|
|
firstName: string
|
|
lastName: string
|
|
role: string
|
|
roles: number[]
|
|
permissions: string[]
|
|
idleTimeoutMs: number
|
|
}
|
|
|
|
export type ProfileType = {
|
|
profile: ProfileDataType
|
|
status: StateProfileStatus
|
|
error: string
|
|
}
|