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