erfan-flmngr-server-fixed
Version:
> Node.js Backend for Flmngr file manager
28 lines (27 loc) • 1.1 kB
TypeScript
import { IConfig } from "../lib/config/IConfig";
export declare class ServletConfig implements IConfig {
protected m_conf: any;
protected m_testConf: {
[key: string]: string;
};
constructor(conf: any);
setTestConfig(testConf: {
[key: string]: string;
}): void;
protected getParameter(name: string, defaultValue: any, doAddTrailingSlash: boolean): any;
protected addTrailingSlash(value: string, doAddTrailingSlash: boolean): string;
protected getParameterStr(name: string, defaultValue: string): string;
protected getParameterInt(name: string, defaultValue: number): number;
protected getParameterBool(name: string, defaultValue: boolean): boolean;
getBaseDir(): string;
getTmpDir(): string;
getMaxUploadFileSize(): number;
getAllowedExtensions(): string[];
getJpegQuality(): number;
getMaxImageResizeWidth(): number;
getMaxImageResizeHeight(): number;
getCrossDomainUrl(): string;
doKeepUploads(): boolean;
isTestAllowed(): boolean;
getRelocateFromHosts(): string[];
}