UNPKG
@n4it/utility-api-key
Version:
latest (1.2.3)
1.2.3
1.2.2
1.2.1
1.2.0
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.7
1.0.7-y.0
1.0.7-alpha.5
1.0.7-alpha.3
1.0.7-alpha.2
1.0.7-alpha.1
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Package to manage API Keys in NestJS.
github.com/nest4it/nestjs-utility
@n4it/utility-api-key
/
dist
/
api-key.configure-module.d.ts
5 lines
(4 loc)
•
257 B
TypeScript
View Raw
1
2
3
4
5
import
{
ApiKeyModuleConfig
}
from
'./models/config'
;
export
declare
const
ConfigurableModuleClass
:
import
(
"@nestjs/common"
).
ConfigurableModuleCls
<
ApiKeyModuleConfig
,
"register"
,
"create"
, {
isGlobal
:
boolean
; }>,
MODULE_OPTIONS_TOKEN
:
string
|
symbol
;