mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
7926734266
* add messaging in autocomplete dropdown to show reason why user cannot be selected * user permission utils * doc autocomplete dropdown and move it closer to wehre its used * test for select teams form * test for data table and transfer host endpoint gss * moving host actions and entities to ts * change host transfer to new endpoint: * added more tests to data table * change some comments * change import path * fix build TS errors * change data table test string
17 lines
260 B
TypeScript
17 lines
260 B
TypeScript
import PropTypes from "prop-types";
|
|
|
|
export default PropTypes.shape({
|
|
http_status: PropTypes.number,
|
|
base: PropTypes.string,
|
|
});
|
|
|
|
interface IError {
|
|
name: string;
|
|
reason: string;
|
|
}
|
|
|
|
export interface IApiError {
|
|
message: string;
|
|
errors: IError[];
|
|
}
|