import Knex = require("knex")

export declare type NotificationSeverity = 'Info' | 'Important' | 'Error';

export type AdminConf = { 
    httpPort: number,
    dbConf:Knex.Config, 
    eventBusConf: { [topic in string]: NotificationSeverity}
}

export type TableDefiniton = {
    name: string, 
    tableBuilder: (table: Knex.CreateTableBuilder) => void
}