Search
Preparing search index...
The search index is not available
@nestjs/common
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
ClassSerializerInterceptor
Class ClassSerializerInterceptor
Hierarchy
ClassSerializerInterceptor
Implements
any
Index
Constructors
constructor
Properties
reflector
Methods
get
Context
Options
intercept
reflect
Serialize
Metadata
serialize
transform
ToPlain
Constructors
constructor
new
Class
Serializer
Interceptor
(
reflector
:
any
)
:
ClassSerializerInterceptor
Parameters
reflector:
any
Returns
ClassSerializerInterceptor
Properties
Protected
reflector
reflector
:
any
Methods
Private
get
Context
Options
get
Context
Options
(
context
:
ExecutionContext
)
:
ClassTransformOptions
|
undefined
Parameters
context:
ExecutionContext
Returns
ClassTransformOptions
|
undefined
intercept
intercept
(
context
:
ExecutionContext
, next
:
CallHandler
)
:
Observable
<
any
>
Parameters
context:
ExecutionContext
next:
CallHandler
Returns
Observable
<
any
>
Private
reflect
Serialize
Metadata
reflect
Serialize
Metadata
(
obj
:
any
|
Function
)
:
ClassTransformOptions
|
undefined
Parameters
obj:
any
|
Function
Returns
ClassTransformOptions
|
undefined
serialize
serialize
(
response
:
PlainLiteralObject
|
Array
<
PlainLiteralObject
>
, options
:
ClassTransformOptions
)
:
PlainLiteralObject
|
PlainLiteralObject
[]
Parameters
response:
PlainLiteralObject
|
Array
<
PlainLiteralObject
>
options:
ClassTransformOptions
Returns
PlainLiteralObject
|
PlainLiteralObject
[]
transform
ToPlain
transform
ToPlain
(
plainOrClass
:
any
, options
:
ClassTransformOptions
)
:
PlainLiteralObject
Parameters
plainOrClass:
any
options:
ClassTransformOptions
Returns
PlainLiteralObject
Globals
Class
Serializer
Interceptor
constructor
reflector
get
Context
Options
intercept
reflect
Serialize
Metadata
serialize
transform
ToPlain
Generated using
TypeDoc