hooks-public
Installation
SKILL.md
hooks-public
React Query hooks for the public API — provides typed query and mutation hooks for 129 tables and 71 custom operations
Usage
// Import hooks
import { useOrgGetManagersQuery } from './hooks';
// Query hooks: use<Model>Query, use<Model>sQuery
// Mutation hooks: useCreate<Model>Mutation, useUpdate<Model>Mutation, useDelete<Model>Mutation
const { data, isLoading } = useOrgGetManagersQuery({
selection: { fields: { id: true } },
});