Guest User

Untitled

a guest
Nov 13th, 2018
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. interface IDataSourceConnection {
  2.   username: string;
  3.   password: string;
  4.  
  5.   hostname: string;
  6.   port: number;
  7.  
  8.   userSql: string;
  9.   roleSql: string;
  10.   userToRoleAssignmentSql: string
  11. }
  12.  
  13. interface IMySQLConnection extends IDataSourceConnection {
  14.   databaseName: string;
  15. }
  16.  
  17. interface IMSSQLConnection extends IDataSourceConnection {
  18.   databaseName: string;
  19. }
  20.  
  21. interface IOracleConnection extends IDataSourceConnection {
  22.   sid: string;
  23.   serviceName: string;
  24. }
  25.  
  26. export enum DatabaseTypes {
  27.   MYSQL = 'MYSQL',
  28.   ORACLE = 'ORACLE',
  29.   MSSQL = 'MSSQL'
  30. }
Add Comment
Please, Sign In to add comment