@nuasite/cms 0.9.3 → 0.10.0

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/src/types.ts CHANGED
@@ -420,6 +420,10 @@ export interface PageSeoData {
420
420
  openGraph?: OpenGraphData
421
421
  /** Twitter Card metadata */
422
422
  twitterCard?: TwitterCardData
423
+ /** Browser theme color (meta name="theme-color") */
424
+ themeColor?: SeoMetaTag
425
+ /** Robots directives (meta name="robots") */
426
+ robots?: SeoMetaTag
423
427
  /** JSON-LD structured data blocks */
424
428
  jsonLd?: JsonLdEntry[]
425
429
  }
@@ -568,3 +572,15 @@ export type CmsPostMessage =
568
572
  | CmsReadyMessage
569
573
  | CmsStateChangedMessage
570
574
  | CmsPageNavigatedMessage
575
+
576
+ // ============================================================================
577
+ // Inbound messages (parent → editor iframe)
578
+ // ============================================================================
579
+
580
+ /** Message sent from parent to deselect the currently selected element/component */
581
+ export interface CmsDeselectElementMessage {
582
+ type: 'cms-deselect-element'
583
+ }
584
+
585
+ /** All possible CMS postMessage types sent from the parent to the editor iframe */
586
+ export type CmsInboundMessage = CmsDeselectElementMessage