Add 'exists' flags to content types and set them
This commit is contained in:
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user