UNPKG
@proofkit/cli
Version:
beta (2.0.0-beta.9)
latest (1.1.8)
2.0.0-beta.9
2.0.0-beta.6
2.0.0-beta.5
2.0.0-beta.4
1.2.0-beta.2
1.2.0-beta.1
1.2.0-beta.0
1.1.8
1.1.6
1.1.5
1.0.0
1.0.0-beta.0
Create web application with the ProofKit stack
github.com/proofgeist/proofkit
proofgeist/proofkit
@proofkit/cli
/
template
/
pages
/
nextjs
/
table-edit
/
schema.ts
5 lines
(3 loc)
•
235 B
text/typescript
View Raw
1
2
3
4
5
import
{
type
__TYPE_NAME__ }
from
"@/config/schemas/__SOURCE_NAME__/__SCHEMA_NAME__"
;
//
TODO:
Make sure this variable is properly set to your primary key field
export
const
idFieldName
: keyof __TYPE_NAME__ =
"__FIRST_FIELD_NAME__"
;