16 lines
363 B
TypeScript

import {UrlWithStringQuery} from 'url'
import {ConnectionOptions} from 'typeorm'
export interface IConfig {
readonly app: {
readonly name: string
readonly baseUrl: UrlWithStringQuery
readonly context: string
readonly session: {
readonly name: string
readonly secret: string | string[]
}
readonly db: ConnectionOptions
}
}