2025-01-25 08:55:26 +01:00
|
|
|
import type { Node, Element } from "antihtml";
|
2025-01-22 04:54:03 +01:00
|
|
|
|
|
|
|
export interface Page {
|
|
|
|
title: string,
|
|
|
|
ref: string,
|
|
|
|
content: Element,
|
|
|
|
}
|
2025-01-25 08:55:26 +01:00
|
|
|
|
|
|
|
export interface ProjectMeta {
|
|
|
|
status: 'draft' | 'published',
|
|
|
|
title: string,
|
|
|
|
ref: string,
|
|
|
|
startedAt: string,
|
|
|
|
endedAt?: string,
|
|
|
|
};
|
|
|
|
|
|
|
|
export interface Project extends ProjectMeta {
|
|
|
|
content: Node,
|
|
|
|
};
|
|
|
|
|
|
|
|
export interface WordsMeta {
|
|
|
|
status: "draft" | "published",
|
|
|
|
title: string,
|
|
|
|
ref: string,
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface Words extends WordsMeta {
|
|
|
|
content: Node,
|
|
|
|
};
|