feat: news

This commit is contained in:
Ivan Rezchikov
2026-06-20 18:30:39 +03:00
parent 674fd11aa9
commit 95fd6ae716
19 changed files with 886 additions and 159 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
- PageVersion { id, pageId, title, blocks (Json snapshot), createdAt, createdBy }
TypeScript типы:
- PageType = "NEWS" | "LAW" | "DEPARTMENT" | "FAQ" | "STATIC"
- PageType = "NEWS"
- PageStatus = "DRAFT" | "PUBLISHED" | "ARCHIVED"
- BlockContent = discriminated union по type
- PageMeta = { description?, ogImage?, location?, tags?, coverUrl?, lawNumber?, signedAt? }