Add Docs for Server Config Definitions#5581
Merged
Conversation
Member
dplewis
commented
May 10, 2019
- Add generated definitions to release cycle
- Sort definitions alphabetically
- Update ReadMe.MD
- Update Contribution.MD
- Fix protectedFields default
Codecov Report
@@ Coverage Diff @@
## master #5581 +/- ##
==========================================
+ Coverage 93.98% 94.06% +0.07%
==========================================
Files 129 129
Lines 9194 9212 +18
==========================================
+ Hits 8641 8665 +24
+ Misses 553 547 -6
Continue to review full report at Codecov.
|
acinader
approved these changes
May 11, 2019
| echo "<meta http-equiv='refresh' content='0; url=/parse-server/api/${DEST}'>" > "docs/api/index.html" | ||
| fi | ||
|
|
||
| npm run definitions |
Contributor
There was a problem hiding this comment.
ok to leave, but not sure we need this, right. Since the output is committed.
Member
Author
There was a problem hiding this comment.
I added it here since people have been manually changing the file.
resources/buildConfigDefinitions.js
Outdated
|
|
||
| function doInterface(iface) { | ||
| return iface.body.properties | ||
| .sort((p1, p2) => p1.key.name > p2.key.name ? 1 : -1) |
Contributor
There was a problem hiding this comment.
.sort((a, b) => a.localeCompare(b));
| litteralValue = t.objectExpression(props); | ||
| literalValue = t.objectExpression(props); | ||
| } | ||
| if (type == 'ProtectedFields') { |
TomWFox
approved these changes
May 11, 2019
Contributor
TomWFox
left a comment
There was a problem hiding this comment.
Minor wording suggestion
TomWFox
reviewed
May 11, 2019
TomWFox
reviewed
May 11, 2019
README.md
Outdated
| Parse Server can be configured using the following options. You may pass these as parameters when running a standalone `parse-server`, or by loading a configuration file in JSON format using `parse-server path/to/configuration.json`. If you're using Parse Server on Express, you may also pass these to the `ParseServer` object as options. | ||
|
|
||
| For the full list of available options, run `parse-server --help`. | ||
| For the full list of available options, run `parse-server --help` or [Parse Server Configurations](http://parseplatform.org/parse-server/api/master/ParseServerOptions.html). |
Contributor
There was a problem hiding this comment.
Suggested change
| For the full list of available options, run `parse-server --help` or [Parse Server Configurations](http://parseplatform.org/parse-server/api/master/ParseServerOptions.html). | |
| For the full list of available options, run `parse-server --help` or take a look at [Parse Server Configurations](http://parseplatform.org/parse-server/api/master/ParseServerOptions.html). |
UnderratedDev
pushed a commit
to UnderratedDev/parse-server
that referenced
this pull request
Mar 21, 2020
* Add Docs for Server Config Definitions * protected field and sort alphabetically * Add links * nits
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

