Core CRUD functionality built on top of data providers
@repo/crud
package, providing enhanced CRUD operations with support for plugins, permissions, and auditing. It wraps a data provider from the @repo/data
package and adds additional functionality.
plugins
array. For example, if you have three plugins:
getList
operation would be:
pluginA.hooks.beforeGetList
pluginB.hooks.beforeGetList
pluginC.hooks.beforeGetList
getList
operationpluginC.hooks.afterGetList
pluginB.hooks.afterGetList
pluginA.hooks.afterGetList
next-intl
package for translations. You can use the useTranslation
hook to get translations: