UNPKG
bb-inspired
Version:
latest (0.1.4)
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Core library for BB-inspired NestJS backend
bb-inspired
/
dist
/
modules
/
auth
/
pipes
/
tenant-validation.pipe.d.ts
8 lines
(7 loc)
•
249 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
PipeTransform
}
from
'@nestjs/common'
;
export
declare
class
TenantValidationPipe
implements
PipeTransform
{
private
readonly
logger;
transform
(
value
:
string
|
number
| {
tenantId
:
string
|
number
; }):
string
|
number
; }