initial commit

This commit is contained in:
CamelAIorg 2025-07-29 23:57:16 +08:00
commit f6dd426830
1145 changed files with 102834 additions and 0 deletions

View file

@ -0,0 +1,17 @@
// src/helpers/password.ts
import { KnownErrors } from "..";
var minLength = 8;
var maxLength = 70;
function getPasswordError(password) {
if (password.length < minLength) {
return new KnownErrors.PasswordTooShort(minLength);
}
if (password.length > maxLength) {
return new KnownErrors.PasswordTooLong(maxLength);
}
return void 0;
}
export {
getPasswordError
};
//# sourceMappingURL=password.js.map