Skip to content

Commit 1b6d5c7

Browse files
committed
fix: definitions
1 parent 5d405e9 commit 1b6d5c7

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/Options/Definitions.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,12 @@ module.exports.ParseServerOptions = {
402402
'Maximum query complexity for GraphQL queries. Controls depth and number of operations.* Format: { depth: number, fields: number }* - depth: Maximum depth of nested field selections* - fields: Maximum number of operations (queries/mutations) in a single request* If both maxIncludeQueryComplexity and maxGraphQLQueryComplexity are provided, maxIncludeQueryComplexity values* must be lower than maxGraphQLQueryComplexity values to avoid validation conflicts.',
403403
action: parsers.objectParser,
404404
},
405+
maxIncludeQueryComplexity: {
406+
env: 'PARSE_SERVER_MAX_INCLUDE_QUERY_COMPLEXITY',
407+
help:
408+
'Maximum query complexity for REST API includes. Controls depth and number of include fields.* Format: { depth: number, count: number }* - depth: Maximum depth of nested includes (e.g., foo.bar.baz = depth 3)* - count: Maximum number of include fields (e.g., foo,bar,baz = 3 fields)* If both maxIncludeQueryComplexity and maxGraphQLQueryComplexity are provided, maxIncludeQueryComplexity values* must be lower than maxGraphQLQueryComplexity values to avoid validation conflicts.',
409+
action: parsers.objectParser,
410+
},
405411
maxLimit: {
406412
env: 'PARSE_SERVER_MAX_LIMIT',
407413
help: 'Max value for limit option on queries, defaults to unlimited',
@@ -413,12 +419,6 @@ module.exports.ParseServerOptions = {
413419
"Maximum number of logs to keep. If not set, no logs will be removed. This can be a number of files or number of days. If using days, add 'd' as the suffix. (default: null)",
414420
action: parsers.numberOrStringParser('maxLogFiles'),
415421
},
416-
maxIncludeQueryComplexity: {
417-
env: 'PARSE_SERVER_MAX_INCLUDE_QUERY_COMPLEXITY',
418-
help:
419-
'Maximum query complexity for REST API includes. Controls depth and number of include fields.* Format: { depth: number, count: number }* - depth: Maximum depth of nested includes (e.g., foo.bar.baz = depth 3)* - count: Maximum number of include fields (e.g., foo,bar,baz = 3 fields)* If both maxIncludeQueryComplexity and maxGraphQLQueryComplexity are provided, maxIncludeQueryComplexity values* must be lower than maxGraphQLQueryComplexity values to avoid validation conflicts.',
420-
action: parsers.objectParser,
421-
},
422422
maxUploadSize: {
423423
env: 'PARSE_SERVER_MAX_UPLOAD_SIZE',
424424
help: 'Max file size for uploads, defaults to 20mb',

src/Options/docs.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)