mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
a2fe3bae7e
* 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
17 lines
267 B
TypeScript
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[];
|
|
}
|