12 lines
396 B
TypeScript
12 lines
396 B
TypeScript
|
import ApplicationComponent from "../ApplicationComponent";
|
||
|
import { Express, Router } from "express";
|
||
|
import { Store } from "express-session";
|
||
|
export default class RedisComponent extends ApplicationComponent<void> {
|
||
|
private redisClient?;
|
||
|
private store?;
|
||
|
start(app: Express, router: Router): Promise<void>;
|
||
|
stop(): Promise<void>;
|
||
|
getStore(): Store;
|
||
|
canServe(): boolean;
|
||
|
}
|