fix: align PocketBase type definitions with actual schema

Remove slug field from PageContentRecord (intro/bio collections have none).
Remove number field from SectionRecord (not stored in PocketBase); derive
zero-padded display number from the order field at render time.
This commit is contained in:
Ilia Mashkov
2026-05-12 13:57:25 +03:00
parent 30f8e4be95
commit e8bf8b502e
4 changed files with 5 additions and 12 deletions
-4
View File
@@ -12,10 +12,6 @@ export type SectionRecord = BaseRecord & {
* Display name of the section
*/
title: string;
/**
* Visual numbering prefix (e.g., "01")
*/
number: string;
/**
* Sorting weight for section order
*/