@wocker/core
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -11,2 +11,4 @@ import { AppConfig } from "../types/AppConfig"; | ||
abstract getAppConfig(): Promise<AppConfig>; | ||
abstract getMeta(name: string, defaultValue?: string): Promise<string | undefined>; | ||
abstract setMeta(name: string, value: string | number | undefined): Promise<void>; | ||
abstract getAllEnvVariables(): Promise<AppConfig["env"]>; | ||
@@ -13,0 +15,0 @@ abstract getEnvVariable(name: string, defaultValue?: string): Promise<string | undefined>; |
import { EnvConfig } from "./EnvConfig"; | ||
export type AppConfig = { | ||
debug?: boolean; | ||
meta: EnvConfig; | ||
env: EnvConfig; | ||
@@ -5,0 +6,0 @@ plugins: string[]; |
{ | ||
"name": "@wocker/core", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"author": "Kris Papercut <krispcut@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "Wocker Core", |
33571
868