Skip to main content

types/AdminForthConfig

Index

Enumerations

EnumerationDescription
ActionCheckSource-
AdminForthDataTypes-
AdminForthFilterOperators-
AdminForthMenuTypes-
AdminForthResourcePages-
AdminForthSortDirections-
AllowedActionsEnum-

Classes

ClassDescription
Filters-
Sorts-

Interfaces

InterfaceDescription
IAdminForth-
IAdminForthAuth-
IAdminForthDataSourceConnector-
IAdminForthDataSourceConnectorBaseInterface that exposes methods to interact with AdminForth in standard way
IAdminForthDataSourceConnectorConstructor-
IAdminForthFilter-
IAdminForthHttpResponse-
IAdminForthPlugin-
IAdminForthSort-
ICodeInjector-
IConfigValidator-
IExpressHttpServerImplement this interface to create custom HTTP server adapter for AdminForth.
IHttpServerImplement this interface to create custom HTTP server adapter for AdminForth.
IOperationalResource-

Type Aliases

Type aliasDescription
AdminForthBulkAction-
AdminForthColumnEnumItem-
AdminForthComponentDeclaration-
AdminForthComponentDeclarationFull-
AdminForthConfigMain configuration object for AdminForth
AdminForthConfigMenuItemMenu item which displayed in the left sidebar of the admin panel.
AdminForthDataSourceData source describes database connection which will be used to fetch data for resources. Each resource should use one data source.
AdminForthFieldComponents-
AdminForthForeignResource-
AdminForthResourceResource describes one table or collection in database. AdminForth generates set of pages for 'list', 'show', 'edit', 'create', 'filter' operations for each resource.
AdminForthResourceColumnColumn describes one field in the table or collection in database.
AdminUser-
AfterDataSourceResponseFunctionModify response to change how data is returned after fetching from database. Return ok: false and error: string to stop execution and show error message to user. Return ok: true to continue execution.
AfterSaveFunctionModify record to change how data is saved to database. Return ok: false and error: string to stop execution and show error message to user. Return ok: true to continue execution.
AllowedActionValueDefines whether user has access to an action, can statically be Boolean or function which returns Boolean or string with error message
AllowedActionsObject which describes allowed actions for user.
AllowedActionsResolved-
BeforeDataSourceRequestFunctionModify query to change how data is fetched from database. Return ok: false and error: string to stop execution and show error message to user. Return ok: true to continue execution.
BeforeLoginConfirmationFunctionAllow to get user data before login confirmation, will triger when user try to login.
BeforeSaveFunctionModify record to change how data is saved to database. Return ok: false and error: string to stop execution and show error message to user. Return ok: true to continue execution.
FDataFilter-
FDataSort-
ValidationObject-