@dsaplatform/content-sdk 1.5.0 → 1.6.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/dist/server.d.mts CHANGED
@@ -42,6 +42,10 @@ interface Article {
42
42
  pillar_name?: string;
43
43
  cluster_name?: string;
44
44
  content_type?: string;
45
+ /** Author info from site settings (E-E-A-T) */
46
+ author?: ArticleAuthor | null;
47
+ /** Publisher info from site settings (E-E-A-T) */
48
+ publisher?: ArticlePublisher | null;
45
49
  }
46
50
  /**
47
51
  * Abbreviated article for lists
@@ -85,6 +89,25 @@ interface InternalLink {
85
89
  slug: string;
86
90
  anchor_text: string;
87
91
  }
92
+ /**
93
+ * Author information (E-E-A-T) — populated from site settings
94
+ */
95
+ interface ArticleAuthor {
96
+ name: string;
97
+ url?: string | null;
98
+ bio?: string | null;
99
+ image_url?: string | null;
100
+ job_title?: string | null;
101
+ socials?: Record<string, string>;
102
+ }
103
+ /**
104
+ * Publisher information (E-E-A-T) — populated from site settings
105
+ */
106
+ interface ArticlePublisher {
107
+ name: string;
108
+ logo_url?: string | null;
109
+ url?: string | null;
110
+ }
88
111
  /**
89
112
  * Category with clusters
90
113
  */
package/dist/server.d.ts CHANGED
@@ -42,6 +42,10 @@ interface Article {
42
42
  pillar_name?: string;
43
43
  cluster_name?: string;
44
44
  content_type?: string;
45
+ /** Author info from site settings (E-E-A-T) */
46
+ author?: ArticleAuthor | null;
47
+ /** Publisher info from site settings (E-E-A-T) */
48
+ publisher?: ArticlePublisher | null;
45
49
  }
46
50
  /**
47
51
  * Abbreviated article for lists
@@ -85,6 +89,25 @@ interface InternalLink {
85
89
  slug: string;
86
90
  anchor_text: string;
87
91
  }
92
+ /**
93
+ * Author information (E-E-A-T) — populated from site settings
94
+ */
95
+ interface ArticleAuthor {
96
+ name: string;
97
+ url?: string | null;
98
+ bio?: string | null;
99
+ image_url?: string | null;
100
+ job_title?: string | null;
101
+ socials?: Record<string, string>;
102
+ }
103
+ /**
104
+ * Publisher information (E-E-A-T) — populated from site settings
105
+ */
106
+ interface ArticlePublisher {
107
+ name: string;
108
+ logo_url?: string | null;
109
+ url?: string | null;
110
+ }
88
111
  /**
89
112
  * Category with clusters
90
113
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dsaplatform/content-sdk",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "description": "React SDK for DSA Content Operating System — fetch and render SEO content, embed lead capture forms",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",