alan
5 years ago
8 changed files with 22 additions and 15 deletions
@ -0,0 +1,2 @@
|
||||
export const CONSTANT_PLUGIN_TYPES = 'dec.constant.database.conf.connect.types'; |
||||
BI.constant(CONSTANT_PLUGIN_TYPES, []); |
@ -0,0 +1,9 @@
|
||||
import { CONSTANT_PLUGIN_TYPES } from './app.constant'; |
||||
|
||||
BI.provider('dec.connection.provider.datebase', function() { |
||||
this.registerDatabaseType = (config: any) => { |
||||
BI.config(CONSTANT_PLUGIN_TYPES, connections => BI.concat(connections, config)); |
||||
}; |
||||
this.$get = () => BI.inherit(BI.OB, { |
||||
}); |
||||
}); |
@ -1,3 +0,0 @@
|
||||
export const CONSTANT_PLUGIN_TYPES = 'dec.constant.database.conf.connect.types'; |
||||
export const CONSTANT_PLUGIN_SHOW = 'dec.constant.database.conf.connect.form.${databaseType}.show'; |
||||
export const CONSTANT_PLUGIN_EDIT = 'dec.constant.database.conf.connect.form.${databaseType}.edit'; |
Loading…
Reference in new issue