mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 01:15:22 +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
12 lines
296 B
TypeScript
12 lines
296 B
TypeScript
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
|
|
import sendRequest from "services";
|
|
import endpoints from "fleet/endpoints";
|
|
|
|
export default {
|
|
getCounts: () => {
|
|
const { STATUS_LABEL_COUNTS } = endpoints;
|
|
|
|
return sendRequest("GET", STATUS_LABEL_COUNTS);
|
|
},
|
|
};
|