Search
Preparing search index...
The search index is not available
@nestjs/core
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
PipesContextCreator
Class PipesContextCreator
Hierarchy
ContextCreator
PipesContextCreator
Index
Constructors
constructor
Properties
config
container
module
Context
Methods
create
create
Concrete
Context
create
Context
get
Global
Metadata
get
Instance
ByMetatype
get
Pipe
Instance
reflect
Class
Metadata
reflect
Method
Metadata
set
Module
Context
Constructors
constructor
new
Pipes
Context
Creator
(
container
:
NestContainer
, config
?:
ApplicationConfig
)
:
PipesContextCreator
Parameters
container:
NestContainer
Optional
config:
ApplicationConfig
Returns
PipesContextCreator
Properties
Private
Optional
Readonly
config
config
:
ApplicationConfig
Private
Readonly
container
container
:
NestContainer
Private
module
Context
module
Context
:
string
Methods
create
create
(
instance
:
Controller
, callback
:
(
...
args
:
unknown
[]
)
=>
unknown
, moduleKey
:
string
, contextId
?:
ContextId
, inquirerId
?:
string
)
:
PipeTransform
[]
Parameters
instance:
Controller
callback:
(
...
args
:
unknown
[]
)
=>
unknown
(
...
args
:
unknown
[]
)
:
unknown
Parameters
Rest
...
args:
unknown
[]
Returns
unknown
moduleKey:
string
Default value
contextId:
ContextId
= STATIC_CONTEXT
Optional
inquirerId:
string
Returns
PipeTransform
[]
create
Concrete
Context
create
Concrete
Context<T, R>
(
metadata
:
T
, contextId
?:
ContextId
, inquirerId
?:
string
)
:
R
Type parameters
T
:
any
[]
R
:
any
[]
Parameters
metadata:
T
Default value
contextId:
ContextId
= STATIC_CONTEXT
Optional
inquirerId:
string
Returns
R
create
Context
create
Context<T, R>
(
instance
:
Controller
, callback
:
(
...
args
:
any
[]
)
=>
void
, metadataKey
:
string
, contextId
?:
ContextId
, inquirerId
?:
string
)
:
R
Type parameters
T
:
unknown
[]
=
any
R
:
unknown
[]
=
any
Parameters
instance:
Controller
callback:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
metadataKey:
string
Default value
contextId:
ContextId
= STATIC_CONTEXT
Optional
inquirerId:
string
Returns
R
get
Global
Metadata
get
Global
Metadata<T>
(
contextId
?:
ContextId
, inquirerId
?:
string
)
:
T
Type parameters
T
:
unknown
[]
Parameters
Default value
contextId:
ContextId
= STATIC_CONTEXT
Optional
inquirerId:
string
Returns
T
get
Instance
ByMetatype
get
Instance
ByMetatype<T>
(
metatype
:
T
)
:
InstanceWrapper
|
undefined
Type parameters
T
:
Record
<
"name"
,
string
>
=
any
Parameters
metatype:
T
Returns
InstanceWrapper
|
undefined
get
Pipe
Instance
get
Pipe
Instance
(
pipe
:
Function
|
PipeTransform
, contextId
?:
ContextId
, inquirerId
?:
string
)
:
PipeTransform
|
null
Parameters
pipe:
Function
|
PipeTransform
Default value
contextId:
ContextId
= STATIC_CONTEXT
Optional
inquirerId:
string
Returns
PipeTransform
|
null
reflect
Class
Metadata
reflect
Class
Metadata<T>
(
instance
:
Controller
, metadataKey
:
string
)
:
T
Type parameters
T
Parameters
instance:
Controller
metadataKey:
string
Returns
T
reflect
Method
Metadata
reflect
Method
Metadata<T>
(
callback
:
(
...
args
:
unknown
[]
)
=>
unknown
, metadataKey
:
string
)
:
T
Type parameters
T
Parameters
callback:
(
...
args
:
unknown
[]
)
=>
unknown
(
...
args
:
unknown
[]
)
:
unknown
Parameters
Rest
...
args:
unknown
[]
Returns
unknown
metadataKey:
string
Returns
T
set
Module
Context
set
Module
Context
(
context
:
string
)
:
void
Parameters
context:
string
Returns
void
Globals
Pipes
Context
Creator
constructor
config
container
module
Context
create
create
Concrete
Context
create
Context
get
Global
Metadata
get
Instance
ByMetatype
get
Pipe
Instance
reflect
Class
Metadata
reflect
Method
Metadata
set
Module
Context
Generated using
TypeDoc