Skip to content

Commit 40dbb83

Browse files
committed
docs: add ValidationProps typedef
1 parent e22b22a commit 40dbb83

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,7 @@ All notable changes to this project will be documented in this file.
1717
### Fixed
1818

1919
- Broken docs links.
20+
21+
### Added
22+
23+
- `ValidationProps` type definition.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# ValidationProps
2+
3+
### `client`
4+
5+
- Type: [`Client`](https://old.discordjs.dev/#/docs/discord.js/main/class/Client)
6+
7+
### `commandObj`
8+
9+
- Type: [`CommandObject`](/docs/typedef/CommandObject)
10+
11+
### `handler`
12+
13+
- Type: [`CommandKit`](/docs/typedef/CommandKit)
14+
15+
### `interaction`
16+
17+
- Type: [`ChatInputCommandInteraction`](https://old.discordjs.dev/#/docs/discord.js/main/class/ContextMenuCommandInteraction) | [`ContextMenuCommandInteraction`](https://old.discordjs.dev/#/docs/discord.js/main/class/ContextMenuCommandInteraction) | [`AutocompleteInteraction`](https://old.discordjs.dev/#/docs/discord.js/main/class/AutocompleteInteraction)

apps/docs/pages/docs/typedef/_meta.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"CommandObject": "CommandObject",
66
"CommandOptions": "CommandOptions",
77
"ContextMenuCommandProps": "ContextMenuCommandProps",
8-
"SlashCommandProps": "SlashCommandProps"
8+
"SlashCommandProps": "SlashCommandProps",
9+
"ValidationProps": "ValidationProps"
910
}

0 commit comments

Comments
 (0)