@atlas.js/atlas
Advanced tools
Comparing version 2.2.0-alpha.0 to 2.2.0-alpha.1
{ | ||
"name": "@atlas.js/atlas", | ||
"description": "A component-based Node.js library to reduce boilerplate and provide sane project structure 🍻", | ||
"version": "2.2.0-alpha.0", | ||
"version": "2.2.0-alpha.1", | ||
"author": "Robert Rossmann <robert.rossmann@strv.com>", | ||
@@ -34,3 +34,3 @@ "bugs": "https://github.com/strvcom/atlas.js/issues", | ||
}, | ||
"gitHead": "8b6af27b5ca8e64ba5dffa05e92c01d804dbf6f1" | ||
"gitHead": "e58999d8f2eee67c5e5e0f079f273f65ee9932fa" | ||
} |
@@ -10,3 +10,3 @@ import * as Ajv from 'ajv' | ||
/** Input options for `Atlas.init()` */ | ||
declare interface InitOptions extends Options { | ||
declare type InitOptions = Options & { | ||
/** | ||
@@ -36,3 +36,3 @@ * Path to a module from which service components should be loaded | ||
/** Input options for `Atlas.bootstrap()` */ | ||
declare interface BootstrapOptions extends Options { | ||
declare type BootstrapOptions = Options & { | ||
/** | ||
@@ -58,3 +58,3 @@ * All services to be added to Atlas. The key is the alias for the component and the value is | ||
*/ | ||
declare interface ComponentOptions { | ||
declare type ComponentOptions = { | ||
/** | ||
@@ -71,3 +71,3 @@ * If this component requires other components, you must specify their aliases you chose for | ||
/** Input options for the second argument of `atlas.require()` */ | ||
declare interface RequireOptions { | ||
declare type RequireOptions = { | ||
/** If true, do not throw if the module does not exist */ | ||
@@ -85,3 +85,3 @@ optional: boolean, | ||
/** Input options for the `new Atlas()` constructor */ | ||
declare interface Options { | ||
declare type Options = { | ||
/** | ||
@@ -111,3 +111,3 @@ * Environment to run Atlas in | ||
*/ | ||
declare interface Config { | ||
declare type Config = { | ||
/** Configuration options for Atlas itself */ | ||
@@ -281,3 +281,3 @@ atlas?: Atlas.Config | ||
/** Configuration options for Atlas */ | ||
export interface Config { | ||
export type Config = { | ||
/** Configuration options for Atlas' pino logger */ | ||
@@ -284,0 +284,0 @@ log?: Pino.LoggerOptions |
399741