Skip to content

Commit

Permalink
Update src/Options/index.js
Browse files Browse the repository at this point in the history
Co-authored-by: Manuel <[email protected]>
Signed-off-by: Mattia Faraci <[email protected]>
  • Loading branch information
mattia1208 and mtrezza authored Nov 11, 2023
1 parent f292d28 commit 622dffa
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/Options/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,12 @@ export interface ParseServerOptions {
/* Optional. If set to `true`, the collation rule of case comparison for queries and indexes is enabled. Enable this option to run Parse Server with MongoDB Atlas Serverless or AWS Amazon DocumentDB. If `false`, the collation rule of case comparison is disabled. Default is `false`.
:DEFAULT: false */
enableCollationCaseComparison: ?boolean;
/* Transform Email to lowercase on create/update/login/signup. On queries client needs to ensure to send Email in lowercase format. */
transformEmailToLowerCase: ?boolean;
/* Transform Username to lowercase on create/update/login/signup. On queries client needs to ensure to send Username in lowercase format. */
transformUsernameToLowerCase: ?boolean;
/* Optional. If set to `true`, the `email` property of a user is automatically converted to lowercase before being stored in the database. Consequently, queries must match the case as stored in the database, which would be lowercase in this scenario. If `false`, the `email` property is stored as set, without any case modifications. Default is `false`.
:DEFAULT: false */
convertEmailToLowercase: ?boolean;
/* Optional. If set to `true`, the `username` property of a user is automatically converted to lowercase before being stored in the database. Consequently, queries must match the case as stored in the database, which would be lowercase in this scenario. If `false`, the `username` property is stored as set, without any case modifications. Default is `false`.
:DEFAULT: false */
convertUsernameToLowercase: ?boolean;
/* Full path to your cloud code main.js */
cloud: ?string;
/* A collection prefix for the classes
Expand Down

0 comments on commit 622dffa

Please sign in to comment.