mirror of
https://github.com/the-draupnir-project/Draupnir.git
synced 2026-09-22 18:44:20 +00:00
Add 'any' presentation type for the status protection command.
This commit is contained in:
@@ -114,6 +114,11 @@ makePresentationType({
|
||||
validator: simpleTypeValidator('boolean', (item: ReadItem) => item === 'true' ? true : item === 'false')
|
||||
})
|
||||
|
||||
makePresentationType({
|
||||
name: 'any',
|
||||
validator: simpleTypeValidator('any', (_item: ReadItem) => true)
|
||||
})
|
||||
|
||||
/**
|
||||
* Describes a rest parameter for a command.
|
||||
* This consumes any arguments left over in the call to a command
|
||||
|
||||
Reference in New Issue
Block a user