fleet/frontend/interfaces/errors.ts
RachelElysia a2fe3bae7e
Edit Packs Page: Refactor and revamp (#1400)
* New query pack table renders
* services/entities created/updated with 5+ needed APIs requests for EditPacksPage
* Refactor jsx to tsx PackQueriesListWrapper, EditPackForm, EditPackPage
* Refactor to new patterns on useQuery, useEffect, and useState
* Refactor to new pattern formData formatting
* Edit, remove pack query modals
* e2e test: packflow built to test create, update, delete of pack, fix brittle teamflow
2021-10-04 16:26:10 -04:00

17 lines
267 B
TypeScript

import PropTypes from "prop-types";
export default PropTypes.shape({
http_status: PropTypes.number,
base: PropTypes.string,
});
export interface IError {
name: string;
reason: string;
}
export interface IApiError {
message: string;
errors: IError[];
}