@adecore/database 0.24.2 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -4
- package/dist/protocol/index.d.ts +1 -1
- package/package.json +7 -7
- package/src/index.ts +4 -4
- package/src/protocol/index.ts +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { createDatabaseClient, DatabaseRequestError, type Connection, type DatabaseClient, type DatabaseClientOptions, type DatabaseSession, type DatabaseTransport, type ExecuteOptions, type ExecuteResult, type ExportRequest, type ExportResult, type ImportRequest, type PageQuery, type RequestOptions, type RowsQuery, type SchemaChange, type TableRef } from './client/index.ts';
|
|
2
2
|
export type { DatabaseAction, DatabaseFiles, DatabaseNotice, DatabaseStorage, ExplorerSelection } from './actions.ts';
|
|
3
3
|
export { ConnectionForm, type ConnectionFormProps } from './connections/ConnectionForm.tsx';
|
|
4
|
-
export {
|
|
4
|
+
export { isValidConfig, type ConfigProblem, type ConfigProblems } from './connections/connection-config.ts';
|
|
5
5
|
export { ConnectionManager, type ConnectionManagerProps } from './connections/ConnectionManager.tsx';
|
|
6
|
-
export { connectionFromContainer, containerTitle, isMysqlContainer
|
|
6
|
+
export { connectionFromContainer, containerTitle, isMysqlContainer } from './connections/docker.ts';
|
|
7
7
|
export { DatabaseExplorer, type DatabaseExplorerProps } from './explorer/DatabaseExplorer.tsx';
|
|
8
8
|
export type { ExplorerFolder, ExplorerItem } from './explorer/folders.ts';
|
|
9
9
|
export { TableDesigner, type TableDesignerProps } from './designer/TableDesigner.tsx';
|
|
@@ -12,8 +12,8 @@ export { useDatabaseClient } from './client-context.ts';
|
|
|
12
12
|
export type { NumberNotation } from './grid/display.ts';
|
|
13
13
|
export { QueryConsole, type QueryConsoleProps } from './console/QueryConsole.tsx';
|
|
14
14
|
export type { QueryConsoleEditorHandle, QueryConsoleEditorProps, QueryConsoleRunScope } from './console/editor-slot.ts';
|
|
15
|
-
export {
|
|
15
|
+
export { runScopeOf } from './console/shortcuts.ts';
|
|
16
16
|
export { StructureView, type StructureViewProps } from './structure/StructureView.tsx';
|
|
17
17
|
export { TableView, type TableViewProps } from './table/TableView.tsx';
|
|
18
18
|
export { DatabaseWorkbench, type DatabaseWorkbenchProps } from './workbench/DatabaseWorkbench.tsx';
|
|
19
|
-
export {
|
|
19
|
+
export { DATABASE_NAMESPACE, DATABASE_RESOURCES } from './locales.ts';
|
package/dist/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/* The views of the package and the client they read through. Every name here is public API; `exports.test.ts` turns a change to this list into a diff someone has to accept. */
|
|
2
2
|
export { createDatabaseClient, DatabaseRequestError } from './client/index.js';
|
|
3
3
|
export { ConnectionForm } from './connections/ConnectionForm.js';
|
|
4
|
-
export {
|
|
4
|
+
export { isValidConfig } from './connections/connection-config.js';
|
|
5
5
|
export { ConnectionManager } from './connections/ConnectionManager.js';
|
|
6
|
-
export { connectionFromContainer, containerTitle, isMysqlContainer
|
|
6
|
+
export { connectionFromContainer, containerTitle, isMysqlContainer } from './connections/docker.js';
|
|
7
7
|
export { DatabaseExplorer } from './explorer/DatabaseExplorer.js';
|
|
8
8
|
export { TableDesigner } from './designer/TableDesigner.js';
|
|
9
9
|
export { DatabaseProvider } from './DatabaseProvider.js';
|
|
10
10
|
export { useDatabaseClient } from './client-context.js';
|
|
11
11
|
export { QueryConsole } from './console/QueryConsole.js';
|
|
12
|
-
export {
|
|
12
|
+
export { runScopeOf } from './console/shortcuts.js';
|
|
13
13
|
export { StructureView } from './structure/StructureView.js';
|
|
14
14
|
export { TableView } from './table/TableView.js';
|
|
15
15
|
export { DatabaseWorkbench } from './workbench/DatabaseWorkbench.js';
|
|
16
|
-
export {
|
|
16
|
+
export { DATABASE_NAMESPACE, DATABASE_RESOURCES } from './locales.js';
|
package/dist/protocol/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { ConnectionConfig, DockerContainer, DockerTunnel, Engine, MysqlConnectionConfig, MysqlTlsMode, ServerInfo, SqliteConnectionConfig, SshTunnel, Tunnel } from './connection.ts';
|
|
2
2
|
export type { DatabaseError, DatabaseErrorCode } from './errors.ts';
|
|
3
|
-
export { PROTOCOL_VERSION, type DatabaseMethod, type DatabaseMethods, type DatabaseParams, type DatabaseRequest, type DatabaseResponse, type DatabaseResult, type ExportSource, type FileFormat, type
|
|
3
|
+
export { PROTOCOL_VERSION, type DatabaseMethod, type DatabaseMethods, type DatabaseParams, type DatabaseRequest, type DatabaseResponse, type DatabaseResult, type ExportSource, type FileFormat, type RowChange, type RowKey, type RowsResult, type StatementResult } from './messages.ts';
|
|
4
4
|
export type { CheckInfo, ColumnInfo, ColumnSource, ForeignKeyInfo, IndexInfo, ResultColumn, SchemaInfo, TableInfo, TableKind, TableStructure, TriggerInfo } from './schema.ts';
|
|
5
5
|
export { valueOfCell, type BinaryCell, type BinaryValue, type Cell, type EditValue, type LongTextCell, type Value, type ValueKind } from './values.ts';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adecore/database",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.0",
|
|
4
4
|
"description": "Browse, query and edit SQLite and MySQL databases: React views for the page, a host for the backend and a native helper that talks to the server.",
|
|
5
5
|
"license": "FSL-1.1-MIT",
|
|
6
6
|
"author": "Bas Milius",
|
|
@@ -61,20 +61,20 @@
|
|
|
61
61
|
"lucide-react": "^1.47.0"
|
|
62
62
|
},
|
|
63
63
|
"optionalDependencies": {
|
|
64
|
-
"@adecore/database-darwin-arm64": "0.
|
|
65
|
-
"@adecore/database-linux-arm64": "0.
|
|
66
|
-
"@adecore/database-linux-x64": "0.
|
|
67
|
-
"@adecore/database-win32-x64": "0.
|
|
64
|
+
"@adecore/database-darwin-arm64": "0.25.0",
|
|
65
|
+
"@adecore/database-linux-arm64": "0.25.0",
|
|
66
|
+
"@adecore/database-linux-x64": "0.25.0",
|
|
67
|
+
"@adecore/database-win32-x64": "0.25.0"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
|
-
"@adecore/ui": "^0.
|
|
70
|
+
"@adecore/ui": "^0.25.0",
|
|
71
71
|
"i18next": "^26.4.2",
|
|
72
72
|
"react": "^19.3.0",
|
|
73
73
|
"react-dom": "^19.3.0",
|
|
74
74
|
"react-i18next": "^17.0.15"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
|
-
"@adecore/ui": "0.
|
|
77
|
+
"@adecore/ui": "0.25.0",
|
|
78
78
|
"@happy-dom/global-registrator": "^20.14.5",
|
|
79
79
|
"@types/bun": "^1.4.2",
|
|
80
80
|
"@types/node": "^24.13.6",
|
package/src/index.ts
CHANGED
|
@@ -23,9 +23,9 @@ export {
|
|
|
23
23
|
export type { DatabaseAction, DatabaseFiles, DatabaseNotice, DatabaseStorage, ExplorerSelection } from './actions.ts';
|
|
24
24
|
|
|
25
25
|
export { ConnectionForm, type ConnectionFormProps } from './connections/ConnectionForm.tsx';
|
|
26
|
-
export {
|
|
26
|
+
export { isValidConfig, type ConfigProblem, type ConfigProblems } from './connections/connection-config.ts';
|
|
27
27
|
export { ConnectionManager, type ConnectionManagerProps } from './connections/ConnectionManager.tsx';
|
|
28
|
-
export { connectionFromContainer, containerTitle, isMysqlContainer
|
|
28
|
+
export { connectionFromContainer, containerTitle, isMysqlContainer } from './connections/docker.ts';
|
|
29
29
|
export { DatabaseExplorer, type DatabaseExplorerProps } from './explorer/DatabaseExplorer.tsx';
|
|
30
30
|
export type { ExplorerFolder, ExplorerItem } from './explorer/folders.ts';
|
|
31
31
|
export { TableDesigner, type TableDesignerProps } from './designer/TableDesigner.tsx';
|
|
@@ -34,9 +34,9 @@ export { useDatabaseClient } from './client-context.ts';
|
|
|
34
34
|
export type { NumberNotation } from './grid/display.ts';
|
|
35
35
|
export { QueryConsole, type QueryConsoleProps } from './console/QueryConsole.tsx';
|
|
36
36
|
export type { QueryConsoleEditorHandle, QueryConsoleEditorProps, QueryConsoleRunScope } from './console/editor-slot.ts';
|
|
37
|
-
export {
|
|
37
|
+
export { runScopeOf } from './console/shortcuts.ts';
|
|
38
38
|
export { StructureView, type StructureViewProps } from './structure/StructureView.tsx';
|
|
39
39
|
export { TableView, type TableViewProps } from './table/TableView.tsx';
|
|
40
40
|
export { DatabaseWorkbench, type DatabaseWorkbenchProps } from './workbench/DatabaseWorkbench.tsx';
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { DATABASE_NAMESPACE, DATABASE_RESOURCES } from './locales.ts';
|