diff --git a/astro/src/types.ts b/astro/src/types.ts index 5167c44..19e7826 100755 --- a/astro/src/types.ts +++ b/astro/src/types.ts @@ -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; diff --git a/payload/src/collections/Posts.ts b/payload/src/collections/Posts.ts index ff52e0b..c5ae35c 100644 --- a/payload/src/collections/Posts.ts +++ b/payload/src/collections/Posts.ts @@ -42,6 +42,10 @@ const Posts: CollectionConfig = { name: "title", type: "text", }, + { + name: "hallo", + type: "text", + }, { name: "publishedDate", type: "date",