@nuasite/cms-marker 0.0.81 → 0.0.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/manifest-writer.d.ts.map +1 -1
- package/dist/types/seo-processor.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dist/types/types.d.ts +9 -0
- package/dist/types/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/html-processor.ts +280 -70
- package/src/index.ts +1 -0
- package/src/manifest-writer.ts +15 -1
- package/src/seo-processor.ts +1 -11
- package/src/types.ts +10 -0
package/src/types.ts
CHANGED
|
@@ -525,6 +525,14 @@ export interface ManifestMetadata {
|
|
|
525
525
|
sourceFileHashes?: Record<string, string>
|
|
526
526
|
}
|
|
527
527
|
|
|
528
|
+
/** Page entry for the global manifest */
|
|
529
|
+
export interface PageEntry {
|
|
530
|
+
/** Page URL pathname (e.g., '/', '/about') */
|
|
531
|
+
pathname: string
|
|
532
|
+
/** Page title from SEO data */
|
|
533
|
+
title?: string
|
|
534
|
+
}
|
|
535
|
+
|
|
528
536
|
export interface CmsManifest {
|
|
529
537
|
/** Manifest metadata for versioning and conflict detection */
|
|
530
538
|
metadata?: ManifestMetadata
|
|
@@ -539,6 +547,8 @@ export interface CmsManifest {
|
|
|
539
547
|
availableColors?: AvailableColors
|
|
540
548
|
/** Available text styles from the project's Tailwind config */
|
|
541
549
|
availableTextStyles?: AvailableTextStyles
|
|
550
|
+
/** All pages in the site with pathname and title */
|
|
551
|
+
pages?: PageEntry[]
|
|
542
552
|
}
|
|
543
553
|
|
|
544
554
|
// === SEO Types ===
|