breaking code down
All checks were successful
Build Authoring Service / build (push) Successful in 8s

This commit is contained in:
2026-05-13 22:52:47 +01:00
parent 5822ac2c6d
commit 023eb8f70e
14 changed files with 5339 additions and 5219 deletions

View File

@@ -0,0 +1,34 @@
"""Shared data models."""
from __future__ import annotations
from dataclasses import dataclass
@dataclass
class OrgPage:
path: str
page_type: str
title: str
slug: str
tags: list[str]
content: str
date: str
comments: bool
options: str
wip: str | None = None
@dataclass
class ContentPage:
path: str
page_type: str
title: str
slug: str
tags: list[str]
content: str
date: str
comments: bool
options: str
format: str
wip: str | None = None