18 lines
261 B
TypeScript
18 lines
261 B
TypeScript
export interface UserData {
|
|
id: number
|
|
username: string
|
|
roles: string[]
|
|
}
|
|
|
|
export type UserPayload = {
|
|
username?: string
|
|
password?: string
|
|
roles?: string[]
|
|
}
|
|
|
|
export type UserFormData = {
|
|
username: string
|
|
password: string
|
|
role: string
|
|
}
|