forked from PalisadoesFoundation/talawa-api
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documentation :TSDoc Comments in config, directives, helpers directory (
PalisadoesFoundation#2380) * config folder done * directives done * helpers done * lint fixed
- Loading branch information
1 parent
71c17b9
commit dccb451
Showing
20 changed files
with
391 additions
and
240 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,20 @@ | ||
/** | ||
* Application configuration settings. | ||
* This object contains various configuration options for the application. | ||
*/ | ||
export const appConfig = { | ||
/** The current environment of the application (e.g., 'development', 'production'). */ | ||
env: process.env.NODE_ENV, | ||
|
||
/** Determines if logs should be colorized. */ | ||
colorize_logs: process.env.COLORIZE_LOGS, | ||
|
||
/** The logging level for the application (e.g., 'info', 'error'). */ | ||
log_level: process.env.LOG_LEVEL, | ||
|
||
/** The default language for the application. */ | ||
defaultLocale: "en", | ||
|
||
/** An array of supported language for the application. */ | ||
supportedLocales: ["hi", "en", "zh", "fr", "sp"], | ||
}; |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
/** | ||
* Exports all configurations from the appConfig module. | ||
* This allows other modules to import configurations easily. | ||
*/ | ||
export * from "./appConfig"; |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.