Ghost
New
phantomknight287
/
saturn
public
The operating system for your freelance business.
Star
0
Fork
0
Code
Issues
0
Pull requests
0
b9edb70
1
branch
Go to file
t
Code
saturn
src
types.ts
feat: here comes the money
442302e
7 months ago
8 lines · 301 B
1
import
type
Link
from
'
next/link
'
2
import
type
{
roles
3
import
type
{
statusEnum
4
5
export
type
Status
6
export
type
Role
7
8
export
type
RouteImpl
}
from
'
./server/auth/permissions
'
}
from
'
./server/db/schema
'
=
(
typeof
statusEnum
.
enumValues
)[
number
]
=
keyof
typeof
roles
=
Parameters
<
typeof
Link
>
[
0
][
'
href
'
]