dok-db-manager
Version:
Managing data client with a nice UI
21 lines (20 loc) • 534 B
TypeScript
import express from "express";
import { RedisWrapConfig } from "@dobuki/data-client/dist/redis/redis-wrap";
export interface Config {
redisConfig?: RedisWrapConfig;
github: {
owner: string;
repo: string;
};
newgrounds?: {
key: string;
skey: string;
}[];
secret?: {
secret: string;
};
nocache?: boolean;
nolock?: boolean;
moderator?: (imageUrl: string) => Promise<boolean>;
}
export declare function addRoutes(app: express.Express, config: Config): void;