-
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.
fix(api): Refactor password validation directory structure
This commit deletes the existing 'main.ts' file and creates a new one within the 'api' directory. Additionally, it renames and moves some files from the 'api/standard' directory to the 'validator' directory. Changes to package.json and various import file paths support these modifications. The rearrangement enhances code organization and improves navigability.
- Loading branch information
1 parent
479e2a2
commit 1f3c1ab
Showing
7 changed files
with
26 additions
and
26 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
export * from "../validator/Util.js"; | ||
export * from "../validator/Validator.js"; | ||
export * from "../validator/DigitValidator.js"; | ||
export * from "../validator/ValidationResult.js"; | ||
export * from "../validator/ValidatorManager.js"; | ||
export * from "../validator/ValidatorCategory.js"; | ||
export * from "../validator/PasswordValidator.js"; | ||
export * from "../validator/LowerCaseValidator.js"; | ||
export * from "../validator/MaxLengthValidator.js"; | ||
export * from "../validator/UpperCaseValidator.js"; | ||
export * from "../validator/MinLengthValidator.js"; | ||
export * from "./standard/PasswordValidatorManager.js"; | ||
export * from "../validator/NoSpaceCharacterValidator.js"; | ||
export * from "../validator/SpecialCharacterValidator.js"; | ||
export * from "../validator/PasswordValidatorConflictException.js"; |
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 was deleted.
Oops, something went wrong.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...password/api/standard/ValidatorManager.ts → src/password/validator/ValidatorManager.ts
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
1f3c1ab
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.
Coverage report
Test suite run success
63 tests passing in 1 suite.
Report generated by 🧪jest coverage report action from 1f3c1ab