Foundation + Schemas

This commit is contained in:
2026-09-21 16:59:08 +02:00
parent 3a27b60be4
commit f82d631ba6
25 changed files with 391 additions and 78 deletions

View File

@@ -0,0 +1,18 @@
import { fields } from '@keystatic/core'
export const dates = fields.object(
{
published: fields.datetime({
label: 'Published',
defaultValue: {
kind: 'now',
},
}),
updated: fields.datetime({
label: 'Updated',
}),
},
{
label: 'Dates',
},
)