Make clear description of anonymous user (#6655)
* Make clear description of anonymous user * Properly generate definitions Co-authored-by: dplewis <findlewis@gmail.com>
This commit is contained in:
@@ -135,7 +135,7 @@ module.exports.ParseServerOptions = {
|
|||||||
},
|
},
|
||||||
enableAnonymousUsers: {
|
enableAnonymousUsers: {
|
||||||
env: 'PARSE_SERVER_ENABLE_ANON_USERS',
|
env: 'PARSE_SERVER_ENABLE_ANON_USERS',
|
||||||
help: 'Enable (or disable) anon users, defaults to true',
|
help: 'Enable (or disable) anonymous users, defaults to true',
|
||||||
action: parsers.booleanParser,
|
action: parsers.booleanParser,
|
||||||
default: true,
|
default: true,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
* @property {String} dotNetKey Key for Unity and .Net SDK
|
* @property {String} dotNetKey Key for Unity and .Net SDK
|
||||||
* @property {Adapter<MailAdapter>} emailAdapter Adapter module for email sending
|
* @property {Adapter<MailAdapter>} emailAdapter Adapter module for email sending
|
||||||
* @property {Number} emailVerifyTokenValidityDuration Email verification token validity duration, in seconds
|
* @property {Number} emailVerifyTokenValidityDuration Email verification token validity duration, in seconds
|
||||||
* @property {Boolean} enableAnonymousUsers Enable (or disable) anon users, defaults to true
|
* @property {Boolean} enableAnonymousUsers Enable (or disable) anonymous users, defaults to true
|
||||||
* @property {Boolean} enableExpressErrorHandler Enables the default express error handler for all errors
|
* @property {Boolean} enableExpressErrorHandler Enables the default express error handler for all errors
|
||||||
* @property {Boolean} enableSingleSchemaCache Use a single schema cache shared across requests. Reduces number of queries made to _SCHEMA, defaults to false, i.e. unique schema cache per request.
|
* @property {Boolean} enableSingleSchemaCache Use a single schema cache shared across requests. Reduces number of queries made to _SCHEMA, defaults to false, i.e. unique schema cache per request.
|
||||||
* @property {Boolean} expireInactiveSessions Sets wether we should expire the inactive sessions, defaults to true
|
* @property {Boolean} expireInactiveSessions Sets wether we should expire the inactive sessions, defaults to true
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ export interface ParseServerOptions {
|
|||||||
/* Protected fields that should be treated with extra security when fetching details.
|
/* Protected fields that should be treated with extra security when fetching details.
|
||||||
:DEFAULT: {"_User": {"*": ["email"]}} */
|
:DEFAULT: {"_User": {"*": ["email"]}} */
|
||||||
protectedFields: ?ProtectedFields;
|
protectedFields: ?ProtectedFields;
|
||||||
/* Enable (or disable) anon users, defaults to true
|
/* Enable (or disable) anonymous users, defaults to true
|
||||||
:ENV: PARSE_SERVER_ENABLE_ANON_USERS
|
:ENV: PARSE_SERVER_ENABLE_ANON_USERS
|
||||||
:DEFAULT: true */
|
:DEFAULT: true */
|
||||||
enableAnonymousUsers: ?boolean;
|
enableAnonymousUsers: ?boolean;
|
||||||
|
|||||||
Reference in New Issue
Block a user