Initial commit
Deploy / validate-dispatch (push) Successful in 43s
Deploy / scheduled-rebuild-dev (push) Skipped
Deploy / scheduled-rebuild-master (push) Skipped
Deploy / rollback-dev (push) Skipped
Deploy / rollback-master (push) Skipped
Deploy / changes (push) Successful in 13s
Deploy / secret-scan (push) Successful in 9s
Deploy / app-quality (push) Successful in 11m21s
Deploy / security-deps (push) Successful in 14s
Deploy / context (push) Failing after 1s
Deploy / app-image (push) Skipped
Deploy / deploy-dev (push) Skipped
Deploy / deploy-master (push) Skipped
Deploy / validate-dispatch (push) Successful in 43s
Deploy / scheduled-rebuild-dev (push) Skipped
Deploy / scheduled-rebuild-master (push) Skipped
Deploy / rollback-dev (push) Skipped
Deploy / rollback-master (push) Skipped
Deploy / changes (push) Successful in 13s
Deploy / secret-scan (push) Successful in 9s
Deploy / app-quality (push) Successful in 11m21s
Deploy / security-deps (push) Successful in 14s
Deploy / context (push) Failing after 1s
Deploy / app-image (push) Skipped
Deploy / deploy-dev (push) Skipped
Deploy / deploy-master (push) Skipped
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
/**
|
||||
* @fileoverview Zentrale TypeScript-Definitionen der Website
|
||||
*
|
||||
* Diese Datei enthält die zentralen TypeScript-Schnittstellen für alle Datenstrukturen
|
||||
* der Anwendung, einschließlich Beiträge, Kalenderereignisse und Downloads.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Metadaten eines Beitrags
|
||||
* @interface PostMetadata
|
||||
* @property {string} id - Eindeutige ID des Beitrags
|
||||
* @property {string} title - Titel des Beitrags
|
||||
* @property {string} author - Name des Autors
|
||||
* @property {Date} createdAt - Erstellungsdatum
|
||||
* @property {Date} updatedAt - Letztes Änderungsdatum
|
||||
* @property {boolean} published - Gibt an, ob der Beitrag veröffentlicht ist
|
||||
* @property {string} [excerpt] - Kurzbeschreibung des Beitrags
|
||||
* @property {string} [plainText] - Reiner Textinhalt (ohne Markdown)
|
||||
*/
|
||||
export interface PostMetadata {
|
||||
id: string;
|
||||
title: string;
|
||||
author: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
published: boolean;
|
||||
excerpt?: string;
|
||||
plainText?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Ein Kalenderereignis
|
||||
* @interface CalendarEvent
|
||||
* @property {string} id - Eindeutige ID des Ereignisses
|
||||
* @property {string} title - Titel des Ereignisses
|
||||
* @property {string|null} description - Detailierte Beschreibung des Ereignisses
|
||||
* @property {string|null} location - Ort des Ereignisses
|
||||
* @property {string} start - Startzeitpunkt (ISO-Format)
|
||||
* @property {string} end - Endzeitpunkt (ISO-Format)
|
||||
* @property {boolean} allDay - Gibt an, ob das Ereignis den ganzen Tag dauert
|
||||
* @property {string} timeZone - Zeitzone des Ereignisses (z.B. "Europe/Berlin")
|
||||
*/
|
||||
export interface CalendarEvent {
|
||||
id: string;
|
||||
title: string;
|
||||
description: string | null;
|
||||
location: string | null;
|
||||
start: string;
|
||||
end: string;
|
||||
allDay: boolean;
|
||||
timeZone: string;
|
||||
special: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* Ein Download-Objekt für Dokumente und Dateien
|
||||
* @interface Download
|
||||
* @property {string} name - Dateiname
|
||||
* @property {string} description - Kurzbeschreibung der Datei
|
||||
* @property {string} download_url - URL zum Herunterladen der Datei
|
||||
*/
|
||||
export interface Download {
|
||||
name: string;
|
||||
description: string;
|
||||
download_url: string;
|
||||
}
|
||||
Reference in New Issue
Block a user