Global

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.

View Source decorators.ts, line 17

# async execute(command)

Executes a shell command asynchronously.

Executes a shell command asynchronously.

Parameters:
Name Type Description
command

The shell command to execute.

View Source cli-module.ts, line 89

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.

View Source cli-module.ts, line 117

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.

View Source cli-module.ts, line 107

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

View Source types.ts, line 6