@joeygrable94/utm-src-pub-validators 0.0.37 → 0.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +16 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18 -1
- package/dist/index.d.ts +18 -1
- package/dist/index.js +16 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -900,6 +900,21 @@ var SResetPasswordUserDocument = v14__namespace.object({
|
|
|
900
900
|
passwordConfirmation: IsValidPassword,
|
|
901
901
|
code: v14__namespace.string()
|
|
902
902
|
});
|
|
903
|
+
var SChangePassword = v14__namespace.pipe(
|
|
904
|
+
v14__namespace.object({
|
|
905
|
+
currentPassword: IsValidPassword,
|
|
906
|
+
password: IsValidPassword,
|
|
907
|
+
passwordConfirmation: IsValidPassword
|
|
908
|
+
}),
|
|
909
|
+
v14__namespace.forward(
|
|
910
|
+
v14__namespace.partialCheck(
|
|
911
|
+
[["password"], ["passwordConfirmation"]],
|
|
912
|
+
(input) => input.password === input.passwordConfirmation,
|
|
913
|
+
"Your new passwords do not match."
|
|
914
|
+
),
|
|
915
|
+
["passwordConfirmation"]
|
|
916
|
+
)
|
|
917
|
+
);
|
|
903
918
|
var SRequestConfirmEmail = v14__namespace.object({
|
|
904
919
|
email: IsValidEmail
|
|
905
920
|
});
|
|
@@ -1743,6 +1758,7 @@ exports.MEDIUM_PAGINATION_DEFAULT_SIZE_LIMIT = MEDIUM_PAGINATION_DEFAULT_SIZE_LI
|
|
|
1743
1758
|
exports.MEDIUM_PAGINATION_MAX_SIZE_LIMIT = MEDIUM_PAGINATION_MAX_SIZE_LIMIT;
|
|
1744
1759
|
exports.REGEX_DOMAIN = REGEX_DOMAIN;
|
|
1745
1760
|
exports.REGEX_VALUE = REGEX_VALUE;
|
|
1761
|
+
exports.SChangePassword = SChangePassword;
|
|
1746
1762
|
exports.SCreateCampaignIdDocument = SCreateCampaignIdDocument;
|
|
1747
1763
|
exports.SCreateCampaignIdDocumentRequest = SCreateCampaignIdDocumentRequest;
|
|
1748
1764
|
exports.SCreateCampaignKeyDocument = SCreateCampaignKeyDocument;
|