Add 'any' presentation type for the status protection command.

This commit is contained in:
gnuxie
2023-02-11 14:20:46 +00:00
committed by Gnuxie
parent 079f0dfcab
commit cd9230dcda
@@ -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