Run Prettier's automated formatting over the codebase.

This commit is contained in:
gbuomprisco
2024-11-08 14:35:30 +08:00
parent c5d7464e61
commit 3fad846821
13 changed files with 43 additions and 34 deletions

View File

@@ -66,7 +66,10 @@ function getKeystaticCollections(path: string) {
format: { contentField: 'content' },
schema: {
title: fields.slug({ name: { label: 'Title' } }),
label: fields.text({ label: 'Label', validation: { isRequired: false } }),
label: fields.text({
label: 'Label',
validation: { isRequired: false },
}),
image: fields.image({
label: 'Image',
directory: 'public/site/images',
@@ -102,7 +105,10 @@ function getKeystaticCollections(path: string) {
format: { contentField: 'content' },
schema: {
title: fields.slug({ name: { label: 'Title' } }),
label: fields.text({ label: 'Label', validation: { isRequired: false } }),
label: fields.text({
label: 'Label',
validation: { isRequired: false },
}),
content: getContentField(),
image: fields.image({
label: 'Image',