Members
Methods
# ApiOperationFromModel()
Decorador de rota condicional:
- Se bloqueado: aplica somente
@ApiExcludeEndpoint()→ Swagger oculta; e como NÃO aplica @Get/@Post/etc, Nest NÃO registra rota.
Decorador de rota condicional:
- Se bloqueado: aplica somente
@ApiExcludeEndpoint()→ Swagger oculta; e como NÃO aplica @Get/@Post/etc, Nest NÃO registra rota. - Se permitido: aplica o decorador HTTP correspondente.
# async execute(command)
Executes a shell command asynchronously.
Executes a shell command asynchronously.
Parameters:
| Name | Type | Description |
|---|---|---|
command |
The shell command to execute. |
A Promise that resolves with the command's stdout output as a string if successful, or rejects with an error message if the command fails or produces stderr output.
# validateProject(value)
Validates if the given project value is a valid enum member of Projects.
Validates if the given project value is a valid enum member of Projects.
Parameters:
| Name | Type | Description |
|---|---|---|
value |
The project value to validate. |
A boolean indicating whether the value is a valid Projects enum member.
# validateType(value)
Validates if the given type value is a valid enum member of Types.
Validates if the given type value is a valid enum member of Types.
Parameters:
| Name | Type | Description |
|---|---|---|
value |
The type value to validate. |
A boolean indicating whether the value is a valid Types enum member.
Type Definitions
object
# DecafModuleOptions
Properties:
| Name | Type | Attributes | Description |
|---|---|---|---|
adapter |
Constructor.<A>
|
||
conf |
CONF
|
||
alias |
string
|
<optional> |
|
autoControllers |
boolean
|