Add 'exists' flags to content types and set them

This commit is contained in:
itsfinniii
2026-03-20 16:55:33 +01:00
parent 4bb3fa3671
commit b6f3fdd15e
10 changed files with 36 additions and 9 deletions

View File

@@ -24,6 +24,9 @@ export async function getAllProjects(settings: GlobalSettings): Promise<ProjectP
];
const project: ProjectPost = {
type: "ProjectPost",
exists: true,
lastModified: new Date(),
title: projectRecord["title"],
content: projectRecord["content"],
@@ -91,6 +94,9 @@ export async function getProject(settings: GlobalSettings, route: string): Promi
];
const project: ProjectPost = {
type: "ProjectPost",
exists: true,
lastModified: new Date(),
title: projectRecord["title"],
content: projectRecord["content"],