Early draft of website content
This commit is contained in:
parent
ef8aaa6f6d
commit
f7bc525310
8 changed files with 163 additions and 23 deletions
|
@ -1,7 +1,29 @@
|
|||
import { Element } from "antihtml";
|
||||
import type { Node, Element } from "antihtml";
|
||||
|
||||
export interface Page {
|
||||
title: string,
|
||||
ref: string,
|
||||
content: Element,
|
||||
}
|
||||
|
||||
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,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue