init repo
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import logger from 'log'
|
||||
|
||||
import {Ok} from './helpers'
|
||||
|
||||
// TODO : re-export types used to describe schema
|
||||
|
||||
const log = logger('config')
|
||||
|
||||
export async function parse<S>(schema: S): Promise<Ok<unknown>> {
|
||||
log.info("Parse configuration from env")
|
||||
|
||||
// TODO : Read config from env
|
||||
|
||||
// TODO : maybe double check config
|
||||
|
||||
return {ok: false}
|
||||
}
|
||||
Reference in New Issue
Block a user