move environment to src/environment add smtp env vars, move some other items
Some checks failed
Code quality checks / biome (push) Failing after 13s
Some checks failed
Code quality checks / biome (push) Failing after 13s
This commit is contained in:
parent
421043c9b5
commit
00a7417936
30 changed files with 470 additions and 42 deletions
|
@ -10,4 +10,24 @@ type validationResult = {
|
|||
name?: string;
|
||||
};
|
||||
|
||||
export type { genericValidation, validationResult };
|
||||
interface UrlValidationOptions {
|
||||
failOnTrailingSlash?: boolean;
|
||||
removeTrailingSlash?: boolean;
|
||||
allowedProtocols?: string[];
|
||||
requireProtocol?: boolean;
|
||||
allowLocalhost?: boolean;
|
||||
allowIP?: boolean;
|
||||
maxLength?: number;
|
||||
}
|
||||
|
||||
interface UrlValidationResult extends validationResult {
|
||||
url?: string;
|
||||
normalizedUrl?: string;
|
||||
}
|
||||
|
||||
export type {
|
||||
genericValidation,
|
||||
validationResult,
|
||||
UrlValidationOptions,
|
||||
UrlValidationResult,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue