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

View File

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