Добавил скрытие постов без даты публикации и пример скрытого поста
This commit is contained in:
parent
fb9f52b254
commit
715e3fdc86
4 changed files with 18 additions and 8 deletions
8
src/app.d.ts
vendored
8
src/app.d.ts
vendored
|
|
@ -1,5 +1,3 @@
|
|||
import type { Member } from '$lib/types/Member';
|
||||
|
||||
declare global {
|
||||
namespace App {
|
||||
// interface Error {}
|
||||
|
|
@ -23,12 +21,12 @@ declare global {
|
|||
interface BlogPost {
|
||||
slug: string;
|
||||
title: string;
|
||||
thumbnail: string;
|
||||
date: string;
|
||||
thumbnail?: string;
|
||||
date?: string;
|
||||
description: string;
|
||||
publisher: string;
|
||||
published?: boolean;
|
||||
member?: Member;
|
||||
projects?: string[];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue