@grouparoo/core
Version:
The Grouparoo Core
67 lines (66 loc) • 1.85 kB
TypeScript
import { ActionheroLogLevel } from "actionhero";
declare const namespace = "general";
declare module "actionhero" {
interface ActionheroConfigInterface {
[namespace]: ReturnType<typeof DEFAULT[typeof namespace]>;
}
}
export declare const DEFAULT: {
general: (config: Record<string, any>) => {
apiVersion: string;
serverName: string;
id: string;
welcomeMessage: string;
serverToken: string;
cachePrefix: string;
lockPrefix: string;
lockDuration: number;
simultaneousActions: number;
enforceConnectionProperties: boolean;
disableParamScrubbing: boolean;
enableResponseLogging: boolean;
filteredParams: () => any[];
filteredResponse: string[] | (() => string[]);
missingParamChecks: string[];
directoryFileType: string;
fileRequestLogLevel: ActionheroLogLevel;
defaultMiddlewarePriority: number;
channel: string;
rpcTimeout: number;
cliIncludeInternal: boolean;
paths: {
action: string[];
task: string[];
server: string[];
cli: string[];
initializer: string[];
public: string[];
next: any[];
pid: string[];
log: string[];
plugin: string[];
test: string[];
src: string;
dist: string;
};
startingChatRooms: {
"system:status": {};
"system:cli": {};
};
};
};
export declare const test: {
general: () => {
startingChatRooms: {
defaultRoom: {};
otherRoom: {};
};
rpcTimeout: number;
};
};
export declare const production: {
general: () => {
fileRequestLogLevel: string;
};
};
export {};