UNPKG
@ijodkor/nest-payme
Version:
latest (1.0.7)
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
NestJs ilovalar uchun Payme ETT bilan integratsiya qilish uchun kutubxona.
@ijodkor/nest-payme
/
src
/
support
/
definitions
/
route-guard.options.ts
13 lines
(10 loc)
•
260 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
import
{
AuthOption
}
from
"../config/auth-option.config"
;
interface
AuthParams
{
username
:
string
password
:
string
}
export
interface
RouteGuardOptions
<T> {
auth
:
AuthOption
,
params
?:
AuthParams
,
useFactory
?:
(
...
args
:
any
[]
) =>
T |
Promise
<T>; }