Demo
Get Started
Join the community
Documentation
Tutorials
01. Installation instructions
02. Adding resources
03. Customize resources
04. Customize actions
05. Writing your own Components
06. Using AdminJS features
07. Customize dashboard
08. Role-Based Access Control
09. Internationalization (i18n)
11. Content Management System
Documentation
Modules / Utilities
@adminjs/bundler
Modules
@adminjs/design-system
@adminjs/koa
flat
Modules / Plugins
@adminjs/express
@adminjs/fastify
@adminjs/hapi
@adminjs/nestjs
Modules / Features
@adminjs/import-export
@adminjs/logger
@adminjs/passwords
@adminjs/upload
Modules / Adapters
@adminjs/mikroorm
@adminjs/mongoose
@adminjs/prisma
@adminjs/sequelize
@adminjs/typeorm
Namespaces
Router
Classes
ActionDecorator
AdminJS
AdminJS
ApiClient
ApiController
ApiController
BaseProperty
BaseProvider
BaseRecord
BaseResource
ConfigurationError
Filter
ForbiddenError
AdminModule
NotFoundError
NotImplementedError
PropertyDecorator
Resource
ResourceDecorator
ValidationError
ViewHelpers
Classes / Hooks
useAction
useCurrentAdmin
useLocalStorage
useNotice
useRecord
useRecords
useResource
useSelectedRecords
useTranslation
Interfaces
Action
AdminJSOptions
CoreScripts
PropertyOptions
ResourceOptions
Theme
TranslateFunctions
Interfaces / Frontend
ActionJSON
PageJSON
PropertyJSON
RecordJSON
ResourceJSON
Components / Application
ActionButton
ActionHeader
BaseActionComponent
BasePropertyComponent
DrawerPortal
RecordsTable
RecordsTableHeader
SidebarResourceSection
Components / Atoms
Badge
Box
Button
CheckBox
CurrencyInput
Header
Icon
Illustration
Input
Label
Link
Loader
Placeholder
Radio
Section
Table
Text
TextArea
Tooltip
Components / Organisms
ButtonGroup
CurrentUserNav
Navigation
Components / Molecules
DatePicker
Drawer
DropDown
DropZone
DropZoneItem
FormGroup
InfoBox
LoggedUser
MessageBox
Modal
NavGroup
NavigationElement
Pagination
RichText
Step
Stepper
ValueGroup
Components / HOC
withNotice
Global
buildFeature
CustomParser
lowerCase
mergeResourceOptions
populator
relativeFilePathResolver
sessionAuth
validatePropertiesGlobally
Base
Classes
BaseDatabase
BaseProperty
BaseRecord
BaseResource
Decorators
Classes
ActionDecorator
PropertyDecorator
ResourceDecorator
Errors
Classes
ConfigurationError
ForbiddenError
NotFoundError
NotImplementedError
ValidationError
Class
useResource
useResource
View Source
adminjs/src/frontend/hooks/use-resource/use-resource.ts
,
line 12