taruvi-refine-frontend
Installation
SKILL.md
Taruvi Refine frontend
Use @taruvi/refine-providers to connect Refine.dev admin UIs to Taruvi. This skill covers the six providers, how to wire resources, the meta vocabulary that unlocks Taruvi-specific features (populate, aggregate, graph, upsert), and the gotchas that aren't obvious from the package API alone.
This skill is the frontend layer. If you're provisioning backend resources, switch to taruvi-backend-provisioning. If you're writing Python for a Taruvi function body, switch to taruvi-functions.
Core principles
- Resource name = datatable name by default. Override with
meta.tableNamewhen they must differ (e.g.,resource: "active_users"queriestableName: "users"with a filter). - Meta is the control surface. Refine's
metaobject is how you reach Taruvi-specific features (populate, aggregate, graph, bucketName, idColumnName, upsert, deleteByFilter). Don't try to push these through filters or query params. - Multiple providers, one client. Register all six providers against the same
Clientinstance. Select providers bydataProviderNamein hooks. - Auth is redirect-based. There is no credentials login in the default Refine flow.
authProvider.login()redirects to Taruvi's login endpoint. - AccessControl batches. Permission checks are debounced 50ms via DataLoader. Tests that don't
awaitwill flake.