LiveQuery: Add options for Redis (#5584)

Closes: https://github.com/parse-community/parse-server/issues/5387
This commit is contained in:
Diamond Lewis
2019-05-11 19:13:41 -05:00
committed by GitHub
parent b9c936f594
commit 0ce4eeae72
7 changed files with 41 additions and 6 deletions

View File

@@ -196,6 +196,8 @@ export interface LiveQueryOptions {
/* parse-server's LiveQuery classNames
:ENV: PARSE_SERVER_LIVEQUERY_CLASSNAMES */
classNames: ?(string[]);
/* parse-server's LiveQuery redisOptions */
redisOptions: ?any;
/* parse-server's LiveQuery redisURL */
redisURL: ?string;
/* LiveQuery pubsub adapter */
@@ -220,6 +222,8 @@ export interface LiveQueryServerOptions {
/* The port to run the LiveQuery server, defaults to 1337.
:DEFAULT: 1337 */
port: ?number;
/* parse-server's LiveQuery redisOptions */
redisOptions: ?any;
/* parse-server's LiveQuery redisURL */
redisURL: ?string;
/* LiveQuery pubsub adapter */