feat: news
This commit is contained in:
@@ -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? }
|
||||
|
||||
Reference in New Issue
Block a user