responsive and config

This commit is contained in:
Julian Krauser 2024-11-06 08:59:07 +01:00
parent e74c6a5a23
commit 5f4aedff31
10 changed files with 54 additions and 41 deletions

View file

@ -10,6 +10,11 @@ export default interface ContentField
format: "unordered" | "ordered";
children: Array<{ type: "list-item"; children: Array<TypeField> }>;
}
| {
type: "code";
children: Array<{ type: "list-item"; children: Array<TypeField> }>;
language: "plaintext";
}
> {}
export type TypeField = TextField | { type: "link"; url: string; children: Array<TextField> };