Reorganise source files into src and web
Use a more traditional source code layout with the code located in the src/ dir and static web content in the web/ dir, while the other places are for data not related to code or content.
This commit is contained in:
parent
82323c9158
commit
c8527f17f7
20 changed files with 35 additions and 36 deletions
|
@ -1,29 +0,0 @@
|
|||
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