From daf739dd47cf0956eb7db65fceb6b0620b8ed0fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20=C3=98sterkilde?= Date: Sat, 12 Oct 2024 22:39:36 +0200 Subject: [PATCH] chore(docs): cleanup docs --- apps/docs/pages/modifiers/email.mdx | 2 +- apps/docs/pages/modifiers/enumerator.mdx | 2 +- apps/docs/pages/modifiers/max.mdx | 3 ++- apps/docs/pages/modifiers/min.mdx | 3 ++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/apps/docs/pages/modifiers/email.mdx b/apps/docs/pages/modifiers/email.mdx index 61ff1d9..c5494b9 100644 --- a/apps/docs/pages/modifiers/email.mdx +++ b/apps/docs/pages/modifiers/email.mdx @@ -9,7 +9,7 @@ A modifier which creates a validation rule to ensure that a given string is an e ## Arguments - `domain` (Optional): The domain that the email should end with. -- `message` (Optional): A custom object with errors messages to be displayed when validation fails or there are type errors. +- `message` (Optional): A custom object with error messages to be displayed when validation fails or there are type errors. ## Example diff --git a/apps/docs/pages/modifiers/enumerator.mdx b/apps/docs/pages/modifiers/enumerator.mdx index 79b6450..f8102cb 100644 --- a/apps/docs/pages/modifiers/enumerator.mdx +++ b/apps/docs/pages/modifiers/enumerator.mdx @@ -10,7 +10,7 @@ A modifier which creates a validation rule to ensure that a given value is less ## Arguments - `input` (number[] | string[]): The array of values which the input value must be one of. -- `message` (Optional): A custom object with errors messages to be displayed when validation fails or there are type errors. +- `message` (Optional): A custom object with error messages to be displayed when validation fails or there are type errors. ## Example diff --git a/apps/docs/pages/modifiers/max.mdx b/apps/docs/pages/modifiers/max.mdx index 52d242f..6d66dd5 100644 --- a/apps/docs/pages/modifiers/max.mdx +++ b/apps/docs/pages/modifiers/max.mdx @@ -7,11 +7,12 @@ A modifier which creates a validation rule to ensure that a given value is less - `number`: [Learn more](/schemas/number). - `string`: [Learn more](/schemas/string). - `date`: [Learn more](/schemas/date). +- `array`: [Learn more](/schemas/array). ## Arguments - `max` (number | date): The maximum value that the input value must meet or exceed. -- `message` (Optional): A custom object with errors messages to be displayed when validation fails or there are type errors. +- `message` (Optional): A custom object with error messages to be displayed when validation fails or there are type errors. ## Example diff --git a/apps/docs/pages/modifiers/min.mdx b/apps/docs/pages/modifiers/min.mdx index 527b7cd..f385012 100644 --- a/apps/docs/pages/modifiers/min.mdx +++ b/apps/docs/pages/modifiers/min.mdx @@ -7,11 +7,12 @@ A modifier which creates a validation rule to ensure that a given value is longe - `number`: [Learn more](/schemas/number). - `string`: [Learn more](/schemas/string). - `date`: [Learn more](/schemas/date). +- `array`: [Learn more](/schemas/array). ## Arguments - `min` (number | date): The minimum value that the input value must be more or equal to. -- `message` (Optional): A custom object with errors messages to be displayed when validation fails or there are type errors. +- `message` (Optional): A custom object with error messages to be displayed when validation fails or there are type errors. ## Example