@sarimarcus/content-sites-core 0.57.1 → 0.58.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/CHANGELOG.md +4 -0
- package/dist/articles/schema.d.ts +4 -0
- package/dist/articles/schema.js +1 -0
- package/package.json +1 -1
- package/src/articles/schema.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
All packages in the platform release in lockstep; entries are per release version.
|
|
4
4
|
|
|
5
|
+
## 0.58.0 (2026-11-05)
|
|
6
|
+
|
|
7
|
+
- `createArticleSchema`: optional `imageCaption` (one line under the hero photo, inline markdown), beside `imageAlt` and `imageTitle` (SLA-3889).
|
|
8
|
+
|
|
5
9
|
## 0.57.1 (2026-11-05)
|
|
6
10
|
|
|
7
11
|
- Version bump only; no source change (SLA-3887).
|
|
@@ -140,6 +140,7 @@ export declare function articleSchemaFields(z: ZodLike, options: ArticleSchemaOp
|
|
|
140
140
|
image: Zod.ZodOptional<Zod.ZodString>;
|
|
141
141
|
imageAlt: Zod.ZodString;
|
|
142
142
|
imageTitle: Zod.ZodOptional<Zod.ZodString>;
|
|
143
|
+
imageCaption: Zod.ZodOptional<Zod.ZodString>;
|
|
143
144
|
semanticField: Zod.ZodArray<Zod.ZodString>;
|
|
144
145
|
audiences: Zod.ZodOptional<Zod.ZodArray<Zod.ZodString>> | Zod.ZodOptional<Zod.ZodArray<Zod.ZodEnum<{
|
|
145
146
|
[x: string]: string;
|
|
@@ -244,6 +245,7 @@ export declare function articleSchemaFields(z: ZodLike, options: ArticleSchemaOp
|
|
|
244
245
|
image: Zod.ZodOptional<Zod.ZodString>;
|
|
245
246
|
imageAlt: Zod.ZodString;
|
|
246
247
|
imageTitle: Zod.ZodOptional<Zod.ZodString>;
|
|
248
|
+
imageCaption: Zod.ZodOptional<Zod.ZodString>;
|
|
247
249
|
semanticField: Zod.ZodArray<Zod.ZodString>;
|
|
248
250
|
audiences: Zod.ZodOptional<Zod.ZodArray<Zod.ZodString>> | Zod.ZodOptional<Zod.ZodArray<Zod.ZodEnum<{
|
|
249
251
|
[x: string]: string;
|
|
@@ -354,6 +356,7 @@ export declare function createArticleSchema(z: ZodLike, options: ArticleSchemaOp
|
|
|
354
356
|
image: Zod.ZodOptional<Zod.ZodString>;
|
|
355
357
|
imageAlt: Zod.ZodString;
|
|
356
358
|
imageTitle: Zod.ZodOptional<Zod.ZodString>;
|
|
359
|
+
imageCaption: Zod.ZodOptional<Zod.ZodString>;
|
|
357
360
|
semanticField: Zod.ZodArray<Zod.ZodString>;
|
|
358
361
|
audiences: Zod.ZodOptional<Zod.ZodArray<Zod.ZodString>> | Zod.ZodOptional<Zod.ZodArray<Zod.ZodEnum<{
|
|
359
362
|
[x: string]: string;
|
|
@@ -458,6 +461,7 @@ export declare function createArticleSchema(z: ZodLike, options: ArticleSchemaOp
|
|
|
458
461
|
image: Zod.ZodOptional<Zod.ZodString>;
|
|
459
462
|
imageAlt: Zod.ZodString;
|
|
460
463
|
imageTitle: Zod.ZodOptional<Zod.ZodString>;
|
|
464
|
+
imageCaption: Zod.ZodOptional<Zod.ZodString>;
|
|
461
465
|
semanticField: Zod.ZodArray<Zod.ZodString>;
|
|
462
466
|
audiences: Zod.ZodOptional<Zod.ZodArray<Zod.ZodString>> | Zod.ZodOptional<Zod.ZodArray<Zod.ZodEnum<{
|
|
463
467
|
[x: string]: string;
|
package/dist/articles/schema.js
CHANGED
|
@@ -136,6 +136,7 @@ export function articleSchemaFields(z, options) {
|
|
|
136
136
|
image: z.string().optional(),
|
|
137
137
|
imageAlt: z.string(),
|
|
138
138
|
imageTitle: z.string().optional(),
|
|
139
|
+
imageCaption: z.string().optional(),
|
|
139
140
|
semanticField: z.array(z.string()).min(3),
|
|
140
141
|
audiences: audiencesSchema,
|
|
141
142
|
category: categorySchema,
|
package/package.json
CHANGED
package/src/articles/schema.ts
CHANGED
|
@@ -193,6 +193,7 @@ export function articleSchemaFields(z: ZodLike, options: ArticleSchemaOptions) {
|
|
|
193
193
|
image: z.string().optional(),
|
|
194
194
|
imageAlt: z.string(),
|
|
195
195
|
imageTitle: z.string().optional(),
|
|
196
|
+
imageCaption: z.string().optional(),
|
|
196
197
|
semanticField: z.array(z.string()).min(3),
|
|
197
198
|
audiences: audiencesSchema,
|
|
198
199
|
category: categorySchema,
|