UNPKG
nest-shrimpy
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
Shrimpy wrapper for NestJS
nest-shrimpy
/
src
/
nest-shrimpy.providers.ts
15 lines
(12 loc)
•
277 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import
{
NestShrimpyOptions
}
from
'./interfaces'
;
import
{
NEST_SHRIMPY_OPTIONS
}
from
'./constants'
;
export
function
createNestShrimpyProviders
(
options: NestShrimpyOptions,
) {
return
[ {
provide
:
NEST_SHRIMPY_OPTIONS
,
useValue
: options, }, ]; }