fleet/frontend/interfaces/errors.ts
Gabe Hernandez 7926734266
test and team feature improvements (#804)
* 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
2021-05-21 17:29:28 +01:00

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[];
}