We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c93bc28 commit 178bf4aCopy full SHA for 178bf4a
src/lib/types/auth_forms.ts
@@ -7,14 +7,14 @@
7
* @property {boolean} [required] - Whether the field is mandatory and must have a value
8
* @property {string} [pattern] - Regular expression pattern that the field value must match
9
*/
10
-type FieldConstraints = {
+export type FieldConstraints = {
11
minlength?: number;
12
maxlength?: number;
13
required?: boolean;
14
pattern?: string;
15
};
16
17
-type AuthFormConstraints = {
+export type AuthFormConstraints = {
18
username?: FieldConstraints;
19
password?: FieldConstraints;
20
0 commit comments