-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[REFACTORING]: refactoring of the imports and duplicated components #99
base: main
Are you sure you want to change the base?
Conversation
12d79a6
to
3a17a0c
Compare
205bd27
to
626bce9
Compare
…ared-ui and core-logic
626bce9
to
656be7b
Compare
656be7b
to
89c434a
Compare
@@ -39,27 +37,16 @@ const SERVER_ENV_CONFIGURATION = { | |||
/** | |||
* Get the current context of the server. | |||
*/ | |||
const getCurrentContext = () => (execEnv?.includes('--dev') ? 'development' : 'production'); | |||
const currentContext = getEnvironmentContext(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getEnvContext
import { ServerConfigType, ServerEnvConfigType } from '../types/ServerConfigType.ts'; | ||
import { getEnvironmentContext } from './getEnvironmentContext.ts'; | ||
|
||
export const getServerConfig = ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Garder que getServerConfig sans exposer getEnvContext
@@ -1,4 +1,4 @@ | |||
import { AppLogger, ServerUtils } from '@v6y/core-logic'; | |||
import { AppLogger, CorsOptions, ServerUtils } from '@v6y/core-logic'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ajouter à getServerConfig
try { | ||
if (!dependencies?.length) { | ||
if (!data?.length) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add to @Core-Logic : core avec zipUtils, FileUtils... Rename CsvUtils -> exportDataToCsv
a386601
to
3bdf44a
Compare
7086b83
to
c0e8c70
Compare
Pull Request Template
✨ Title
📄 Description
Please explain in detail what this PR does, why it is needed, and how it addresses a specific problem. Include any relevant context and background information.
✅ Checklist
🔗 Contextual Links (optional)
Add any relevant links to tracking tickets, previous discussions, or other resources.
📸 Visuals (optional)
If possible, include images or videos that show the result of your changes.
🔍 Reviewers
Please assign at least one reviewer for this PR. The PR cannot be merged until it is approved by the reviewer(s).