You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* Enable (or disable) the addition of a unique hash to the file names
76
-
:ENV: PARSE_SERVER_PRESERVE_FILE_NAME */
77
-
preserveFileName: ?boolean;// = false
78
-
/* Personally identifiable information fields in the user table the should be removed for non-authorized users. */
79
-
userSensitiveFields: ?(string[]);// = ["email"]
81
+
:ENV: PARSE_SERVER_PRESERVE_FILE_NAME
82
+
:DEFAULT: false */
83
+
preserveFileName: ?boolean;
84
+
/* Personally identifiable information fields in the user table the should be removed for non-authorized users.
85
+
:DEFAULT: ["email"] */
86
+
userSensitiveFields: ?(string[]);
80
87
/* Enable (or disable) anon users, defaults to true
81
-
:ENV: PARSE_SERVER_ENABLE_ANON_USERS */
82
-
enableAnonymousUsers: ?boolean;// = true
88
+
:ENV: PARSE_SERVER_ENABLE_ANON_USERS
89
+
:DEFAULT: true */
90
+
enableAnonymousUsers: ?boolean;
83
91
/* Enable (or disable) client class creation, defaults to true
84
-
:ENV: PARSE_SERVER_ALLOW_CLIENT_CLASS_CREATION */
85
-
allowClientClassCreation: ?boolean;// = true
92
+
:ENV: PARSE_SERVER_ALLOW_CLIENT_CLASS_CREATION
93
+
:DEFAULT: true */
94
+
allowClientClassCreation: ?boolean;
86
95
/* Configuration for your authentication providers, as stringified JSON. See http://docs.parseplatform.org/parse-server/guide/#oauth-and-3rd-party-authentication
87
96
:ENV: PARSE_SERVER_AUTH_PROVIDERS */
88
97
auth: ?any;
89
-
/* Max file size for uploads, defaults to 20mb */
90
-
maxUploadSize: ?string;// = 20mb
91
-
/* Enable (or disable) user email validation, defaults to false */
92
-
verifyUserEmails: ?boolean;// = false
93
-
/* Prevent user from login if email is not verified and PARSE_SERVER_VERIFY_USER_EMAILS is true, defaults to false */
/* Session duration, in seconds, defaults to 1 year */
113
-
sessionLength: ?number;// = 31536000
125
+
/* Session duration, in seconds, defaults to 1 year
126
+
:DEFAULT: 31536000 */
127
+
sessionLength: ?number;
114
128
/* Max value for limit option on queries, defaults to unlimited */
115
129
maxLimit: ?number;
116
-
/* Sets wether we should expire the inactive sessions, defaults to true */
117
-
expireInactiveSessions: ?boolean;// = true
118
-
/* When a user changes their password, either through the reset password email or while logged in, all sessions are revoked if this is true. Set to false if you don't want to revoke sessions. */
119
-
revokeSessionOnPasswordReset: ?boolean;// = true
120
-
/* The TTL for caching the schema for optimizing read/write operations. You should put a long TTL when your DB is in production. default to 5000; set 0 to disable. */
121
-
schemaCacheTTL: ?number;// = 5000
122
-
/* Sets the TTL for the in memory cache (in ms), defaults to 5000 (5 seconds) */
123
-
cacheTTL: ?number;// = 5000
124
-
/* Sets the maximum size for the in memory cache, defaults to 10000 */
125
-
cacheMaxSize: ?number;// = 10000
126
-
/* 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. */
127
-
enableSingleSchemaCache: ?boolean;// = false
128
-
/* Enables the default express error handler for all errors */
129
-
enableExpressErrorHandler: ?boolean;// = false
130
-
/* Sets the number of characters in generated object id's, default 10 */
131
-
objectIdSize: ?number;// = 10
130
+
/* Sets wether we should expire the inactive sessions, defaults to true
131
+
:DEFAULT: true */
132
+
expireInactiveSessions: ?boolean;
133
+
/* When a user changes their password, either through the reset password email or while logged in, all sessions are revoked if this is true. Set to false if you don't want to revoke sessions.
134
+
:DEFAULT: true */
135
+
revokeSessionOnPasswordReset: ?boolean;
136
+
/* The TTL for caching the schema for optimizing read/write operations. You should put a long TTL when your DB is in production. default to 5000; set 0 to disable.
137
+
:DEFAULT: 5000 */
138
+
schemaCacheTTL: ?number;
139
+
/* Sets the TTL for the in memory cache (in ms), defaults to 5000 (5 seconds)
140
+
:DEFAULT: 5000 */
141
+
cacheTTL: ?number;
142
+
/* Sets the maximum size for the in memory cache, defaults to 10000
143
+
:DEFAULT: 10000 */
144
+
cacheMaxSize: ?number;
145
+
/* 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.
146
+
:DEFAULT: false */
147
+
enableSingleSchemaCache: ?boolean;
148
+
/* Enables the default express error handler for all errors
149
+
:DEFAULT: false */
150
+
enableExpressErrorHandler: ?boolean;
151
+
/* Sets the number of characters in generated object id's, default 10
152
+
:DEFAULT: 10 */
153
+
objectIdSize: ?number;
132
154
/* The port to run the ParseServer, defaults to 1337.
133
-
:ENV: PORT */
134
-
port: ?number;// = 1337
135
-
/* The host to serve ParseServer on, defaults to 0.0.0.0 */
136
-
host: ?string;// = 0.0.0.0
137
-
/* Mount path for the server, defaults to /parse */
138
-
mountPath: ?string;// = /parse
155
+
:ENV: PORT
156
+
:DEFAULT: 1337 */
157
+
port: ?number;
158
+
/* The host to serve ParseServer on, defaults to 0.0.0.0
159
+
:DEFAULT: 0.0.0.0 */
160
+
host: ?string;
161
+
/* Mount path for the server, defaults to /parse
162
+
:DEFAULT: /parse */
163
+
mountPath: ?string;
139
164
/* Run with cluster, optionally set the number of processes default to os.cpus().length */
140
165
cluster: ?NumberOrBoolean;
141
166
/* middleware for express server, can be string or function */
0 commit comments