Skip to content

Commit

Permalink
chore(docs): cleanup docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Kosai106 committed Oct 12, 2024
1 parent 621ef99 commit daf739d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/docs/pages/modifiers/email.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/pages/modifiers/enumerator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion apps/docs/pages/modifiers/max.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion apps/docs/pages/modifiers/min.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit daf739d

Please sign in to comment.