@whook/whook
Version:
Build strong and efficient REST web services.
25 lines (24 loc) • 638 B
TypeScript
import { type LogService } from 'common-services';
export type WhookConfig = {
name: string;
description?: string;
baseURL?: string;
};
export type WhookBaseURL = string;
export type WhookBaseURLEnv = {
DEV_MODE?: string;
};
export type WhookBaseURLConfig = {
CONFIG: WhookConfig;
PROTOCOL?: string;
HOST?: string;
PORT?: number;
};
export type WhookBaseURLDependencies = WhookBaseURLConfig & {
ENV: WhookBaseURLEnv;
HOST: string;
PORT: number;
log?: LogService;
};
declare const _default: import("knifecycle").ServiceInitializer<WhookBaseURLDependencies, string>;
export default _default;