Skip to content

Refactor stuff#5

Open
Knerio wants to merge 5 commits intomainfrom
refactor-stuff
Open

Refactor stuff#5
Knerio wants to merge 5 commits intomainfrom
refactor-stuff

Conversation

@Knerio
Copy link
Copy Markdown
Member

@Knerio Knerio commented Mar 27, 2026

close #4

@Knerio Knerio requested a review from nicosammito March 27, 2026 21:39
@Knerio Knerio self-assigned this Mar 27, 2026
Copy link
Copy Markdown
Contributor

@nicosammito nicosammito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And why not defining the type inside the definition file? This would increase readability and understanding

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 28, 2026

GitLab Pipeline Action

General information

Link to pipeline: https://gitlab.com/code0-tech/development/centaurus/-/pipelines/2415718244

Status: Passed
Duration: 1 minutes

Knerio and others added 2 commits March 28, 2026 15:56
Co-authored-by: Nico Sammito <nsammito@code0.tech>
Signed-off-by: Dario Pranjic <96529060+Knerio@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@nicosammito nicosammito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. tests should be moved outside of source and should be named test.
  2. Each test file should also have the suffix test.ts
  3. You have a lot of duplicated code like register... Why not just exporting the definition directly?
  4. You have some test files inside the functions directory
  5. Better folder structure for so many files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Split up large files

2 participants