- Deleted `CharacterComponent` and `CharacterDetail` files from the project. - Refactored related logic to improve code maintainability and reduce redundancy.
18 lines
342 B
TypeScript
Executable File
18 lines
342 B
TypeScript
Executable File
export interface QueryDataResponse<T> {
|
|
valid: boolean,
|
|
message?: string,
|
|
data?: T
|
|
}
|
|
|
|
export interface FormResponse {
|
|
valid: boolean,
|
|
message?: string,
|
|
id?: number | string
|
|
}
|
|
|
|
export interface SelectBoxProps {
|
|
label: string;
|
|
value: string;
|
|
}
|
|
|
|
export type ViewMode = 'list' | 'detail' | 'edit'; |