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