mirror of
https://github.com/chartdb/chartdb.git
synced 2025-11-09 16:36:27 +00:00
add import database dialog
This commit is contained in:
committed by
Guy Ben-Aharon
parent
970bd4d801
commit
45f4bf88a8
@@ -23,6 +23,10 @@ export interface DialogContext {
|
||||
// Create relationship dialog
|
||||
openCreateRelationshipDialog: () => void;
|
||||
closeCreateRelationshipDialog: () => void;
|
||||
|
||||
// Import database dialog
|
||||
openImportDatabaseDialog: (params: { databaseType: DatabaseType }) => void;
|
||||
closeImportDatabaseDialog: () => void;
|
||||
}
|
||||
|
||||
export const dialogContext = createContext<DialogContext>({
|
||||
@@ -36,4 +40,6 @@ export const dialogContext = createContext<DialogContext>({
|
||||
showAlert: emptyFn,
|
||||
closeCreateRelationshipDialog: emptyFn,
|
||||
openCreateRelationshipDialog: emptyFn,
|
||||
openImportDatabaseDialog: emptyFn,
|
||||
closeImportDatabaseDialog: emptyFn,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user