Ghost
New
phantomknight287
/
saturn
public
The operating system for your freelance business.
Star
0
Fork
0
Code
Issues
0
Pull requests
0
1c5ae86
1
branch
Go to file
t
Code
saturn
src
api
entities.ts
add free plan limits
098c138
6 months ago
15 lines · 376 B
1
import
z
from
'
zod
'
2
import
{
projectStatus
}
3
4
export
const
ProjectEntity
=
5
.
object
(
{
6
id
:
z
.
string
7
name
:
z
.
string
8
slug
:
z
.
string
9
dueDate
:
z
.
date
10
status
:
z
.
enum
11
createdAt
:
z
.
date
12
updatedAt
:
z
.
date
13
description
:
z
.
string
14
}
)
15
.
openapi
(
'
Project
'
)
from
'
@/server/db/schema
'
z
()
,
()
,
()
,
()
.
nullable
()
,
(
projectStatus
.
enumValues
)
,
()
,
()
,
()
.
nullable
()
,