Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
moahmedwafy
/
modarb-be
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
b76416f
modarb-be
/
src
/
common
/
interfaces
/
jwt-payload.interface.ts
Last commit not found
raw
Copy download link
history
blame
Safe
221 Bytes
import
{
Role
}
from
"@common/enums/role.enum"
;
export
type
IJwtLoginPayload
= {
id
:
string
;
email
:
string
;
name
:
string
;
} & (
| {
role
:
Role
;
type
:
"admin"
;
}
| {
type
:
"user"
;
}
);