| name | hooks-api |
| description | React Query hooks for the api API — provides typed query and mutation hooks for 47 tables and 9 custom operations |
hooks-api
React Query hooks for the api API — provides typed query and mutation hooks for 47 tables and 9 custom operations
Usage
import { useApisQuery } from './hooks';
const { data, isLoading } = useApisQuery({
selection: { fields: { id: true } },
});
Examples
Query records
const { data, isLoading } = useApisQuery({
selection: { fields: { id: true } },
});
References
See the references/ directory for detailed per-entity API documentation: