Skip to content

Reference ​

Every name each entry point exports, read from its source. Anything not listed is internal and may change in any release. The client, host and testing pages explain the API in prose, and How it fits together shows which entry point runs where.

Entry pointRuns inImports React or Node
@adecore/databaseThe pageReact
@adecore/database/hostThe app's backend, Bun or NodeNode
@adecore/database/protocolAnywhereNeither
@adecore/database/testingAnywhereNeither

Exports ​

@adecore/database ​

The views, DatabaseProvider and the client they read through.

NameKindSource
createDatabaseClientfunctionclient/index
DatabaseRequestErrorclassclient/index
Connectiontypeclient/index
DatabaseClienttypeclient/index
DatabaseClientOptionstypeclient/index
DatabaseSessiontypeclient/index
DatabaseTransporttypeclient/index
ExecuteOptionstypeclient/index
ExecuteResulttypeclient/index
ExportRequesttypeclient/index
ExportResulttypeclient/index
ImportRequesttypeclient/index
PageQuerytypeclient/index
RequestOptionstypeclient/index
RowsQuerytypeclient/index
SchemaChangetypeclient/index
TableReftypeclient/index
DatabaseActiontypeactions
DatabaseFilestypeactions
DatabaseNoticetypeactions
DatabaseStoragetypeactions
ExplorerSelectiontypeactions
Celltypeprotocol/index
Valuetypeprotocol/index
ValueKindtypeprotocol/index
SortDirectiontypesql
ConnectionFormcomponentconnections/ConnectionForm
ConnectionFormPropstypeconnections/ConnectionForm
isValidConfigfunctionconnections/connection-config
ConfigProblemtypeconnections/connection-config
ConfigProblemstypeconnections/connection-config
ConnectionManagercomponentconnections/ConnectionManager
ConnectionManagerPropstypeconnections/ConnectionManager
connectionFromContainerfunctionconnections/docker
containerTitlefunctionconnections/docker
isMysqlContainerfunctionconnections/docker
DatabaseExplorercomponentexplorer/DatabaseExplorer
DatabaseExplorerPropstypeexplorer/DatabaseExplorer
ExplorerFoldertypeexplorer/folders
ExplorerItemtypeexplorer/folders
TableDesignercomponentdesigner/TableDesigner
TableDesignerPropstypedesigner/TableDesigner
DatabaseProvidercomponentDatabaseProvider
DatabaseProviderPropstypeDatabaseProvider
useDatabaseClienthookclient-context
DataGridcomponentgrid/DataGrid
DataGridPropstypegrid/DataGrid
GridLayouttypegrid/column-layout
NumberNotationtypegrid/display
GridSorttypegrid/sort
FocusedCelltypegrid/types
GridColumntypegrid/types
GridMenuContexttypegrid/types
GridRowtypegrid/types
GridRowStatetypegrid/types
QueryConsolecomponentconsole/QueryConsole
QueryConsolePropstypeconsole/QueryConsole
QueryConsoleEditorHandletypeconsole/editor-slot
QueryConsoleEditorPropstypeconsole/editor-slot
QueryConsoleRunScopetypeconsole/editor-slot
runScopeOffunctionconsole/shortcuts
StructureViewcomponentstructure/StructureView
StructureViewPropstypestructure/StructureView
TableViewcomponenttable/TableView
TableViewPropstypetable/TableView
DatabaseWorkbenchcomponentworkbench/DatabaseWorkbench
DatabaseWorkbenchPropstypeworkbench/DatabaseWorkbench
DATABASE_NAMESPACEconstlocales
DATABASE_RESOURCESconstlocales

@adecore/database/host ​

The host for the app's backend, and the functions that find and start the helper.

NameKindSource
helperPathfunctionhost/helper-path
HelperPathOptionstypehost/helper-path
createDatabaseHostfunctionhost/host
spawnHelperfunctionhost/spawn
SpawnHelperOptionstypehost/spawn
DatabaseHosttypehost/types
DatabaseHostOptionstypehost/types
HelperProcesstypehost/types
parseRequestfunctionhost/validate
ParsedRequesttypehost/validate

@adecore/database/protocol ​

The messages between the page, the host and the helper: types, PROTOCOL_VERSION and valueOfCell. See Protocol.

NameKindSource
ConnectionConfigtypeprotocol/connection
DockerContainertypeprotocol/connection
DockerTunneltypeprotocol/connection
Enginetypeprotocol/connection
MysqlConnectionConfigtypeprotocol/connection
MysqlTlsModetypeprotocol/connection
ServerInfotypeprotocol/connection
SqliteConnectionConfigtypeprotocol/connection
SshTunneltypeprotocol/connection
Tunneltypeprotocol/connection
DatabaseErrortypeprotocol/errors
DatabaseErrorCodetypeprotocol/errors
PROTOCOL_VERSIONconstprotocol/messages
DatabaseMethodtypeprotocol/messages
DatabaseMethodstypeprotocol/messages
DatabaseParamstypeprotocol/messages
DatabaseRequesttypeprotocol/messages
DatabaseResponsetypeprotocol/messages
DatabaseResulttypeprotocol/messages
ExportSourcetypeprotocol/messages
FileFormattypeprotocol/messages
RowChangetypeprotocol/messages
RowKeytypeprotocol/messages
RowsResulttypeprotocol/messages
StatementResulttypeprotocol/messages
CheckInfotypeprotocol/schema
ColumnInfotypeprotocol/schema
ColumnSourcetypeprotocol/schema
ForeignKeyInfotypeprotocol/schema
IndexInfotypeprotocol/schema
ResultColumntypeprotocol/schema
SchemaInfotypeprotocol/schema
TableInfotypeprotocol/schema
TableKindtypeprotocol/schema
TableStructuretypeprotocol/schema
TriggerInfotypeprotocol/schema
valueOfCellfunctionprotocol/values
BinaryCelltypeprotocol/values
BinaryValuetypeprotocol/values
Celltypeprotocol/values
EditValuetypeprotocol/values
LongTextCelltypeprotocol/values
Valuetypeprotocol/values
ValueKindtypeprotocol/values

@adecore/database/testing ​

An in-memory transport that answers the protocol, for demos and tests.

NameKindSource
fakeDatabaseTransportfunctiontesting/fake
FakeDatabasetypetesting/fake
FakeDatabaseTransportOptionstypetesting/fake
FakeTabletypetesting/fake

Licenses and third-party notices are listed in each package.