-
Notifications
You must be signed in to change notification settings - Fork 6
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
Module versions #1802
base: development
Are you sure you want to change the base?
Module versions #1802
Conversation
…whats overwritten
Copilot
AI
left a comment
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.
Copilot reviewed 64 out of 79 changed files in this pull request and generated 1 suggestion.
Files not reviewed (15)
- packages/app-api/package.json: Language not supported
- packages/app-api/src/domainInit.ts: Evaluated as low risk
- packages/app-api/src/controllers/tests/GameServerController.integration.test.ts: Evaluated as low risk
- packages/app-api/src/controllers/GameServerController.ts: Evaluated as low risk
- packages/app-api/src/controllers/tests/modifyBuiltinModules.integration.test.ts: Evaluated as low risk
- packages/app-api/src/db/gameserver.ts: Evaluated as low risk
- packages/app-api/src/controllers/tests/CronJobController.integration.test.ts: Evaluated as low risk
- packages/app-api/src/controllers/tests/ModuleConfig.integration.test.ts: Evaluated as low risk
- packages/app-api/src/controllers/tests/CommandController.integration.test.ts: Evaluated as low risk
- packages/app-api/src/db/role.ts: Evaluated as low risk
- packages/app-api/src/controllers/tests/ModuleAssignments.integration.test.ts: Evaluated as low risk
- deploy/compose/docker-compose.yml: Evaluated as low risk
- packages/app-api/src/controllers/tests/HookController.integration.test.ts: Evaluated as low risk
- packages/app-api/src/controllers/Module/modules.ts: Evaluated as low risk
- packages/app-api/src/controllers/tests/ModuleController.integration.test.ts: Evaluated as low risk
Comments skipped due to low confidence (5)
packages/app-api/src/controllers/Module/installations.ts:64
- [nitpick] The method name
getInstalledModules
is misleading. It should be renamed tosearchModuleInstallations
to better reflect its functionality.
async getInstalledModules(@Req() req: AuthenticatedRequest, @Res() res: Response, @Body() query: ModuleInstallationSearchInputDTO) {
packages/app-api/src/controllers/Module/versions.ts:157
- The
description
field in theBuiltinModule
constructor is not always present in theversion
object.
const output = new BuiltinModule(mod.name, version.description, version.tag, version.configSchema, version.uiSchema);
packages/app-api/src/controllers/Module/versions.ts:136
- The
params
parameter is not used in thetagVersion
function.
async tagVersion(@Req() req: AuthenticatedRequest, @Params() params: ParamId, @Body() data: ModuleVersionCreateAPIDTO) {
packages/app-api/src/controllers/Module/versions.ts:136
- Ensure that the
tag
field inModuleVersionCreateAPIDTO
is validated properly.
async tagVersion(@Req() req: AuthenticatedRequest, @Params() params: ParamId, @Body() data: ModuleVersionCreateAPIDTO) {
packages/app-api/src/db/module.ts:455
- Ensure that InstallModuleDTO is correctly validated before being used.
async installModule(installDto: InstallModuleDTO) {
No description provided.