mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-13 13:55:23 -05:00
feat: Optionally include URL when importing via HTML/JSON (#6709)
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
import type { RequestResponse } from "~/lib/api/types/non-generated";
|
||||
import type { ValidationResponse } from "~/lib/api/types/response";
|
||||
import { required, email, whitespace, url, minLength, maxLength } from "~/lib/validators";
|
||||
import { required, email, whitespace, url, urlOptional, minLength, maxLength } from "~/lib/validators";
|
||||
|
||||
export const validators = {
|
||||
required,
|
||||
email,
|
||||
whitespace,
|
||||
url,
|
||||
urlOptional,
|
||||
minLength,
|
||||
maxLength,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user