mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 01:15:22 +00:00
22 lines
341 B
TypeScript
22 lines
341 B
TypeScript
import PropTypes from "prop-types";
|
|
|
|
export default PropTypes.shape({
|
|
http_status: PropTypes.number,
|
|
base: PropTypes.string,
|
|
});
|
|
|
|
export interface IOldApiError {
|
|
http_status: number;
|
|
base: string;
|
|
}
|
|
|
|
export interface IError {
|
|
name: string;
|
|
reason: string;
|
|
}
|
|
|
|
export interface IApiError {
|
|
message: string;
|
|
errors: IError[];
|
|
}
|