Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
This commit is contained in:
Max Schmidt 2023-05-19 14:35:46 +02:00
parent d60357917e
commit bb54d5e30c
2 changed files with 6 additions and 0 deletions

View File

@ -16,6 +16,7 @@ export interface Config {
export interface Post {
id: string;
title?: string;
hallo?: string;
publishedDate?: string;
content?: {
[k: string]: unknown;
@ -38,6 +39,7 @@ export interface User {
}
export interface Media {
id: string;
alt?: string;
updatedAt: string;
createdAt: string;
url?: string;

View File

@ -42,6 +42,10 @@ const Posts: CollectionConfig = {
name: "title",
type: "text",
},
{
name: "hallo",
type: "text",
},
{
name: "publishedDate",
type: "date",