@seed-hypermedia/client 0.0.45 → 0.0.47
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.
|
@@ -268,6 +268,7 @@ var HMDocumentMetadataSchema = z.object({
|
|
|
268
268
|
showOutline: z.boolean().optional(),
|
|
269
269
|
showActivity: z.boolean().optional(),
|
|
270
270
|
contentWidth: z.union([z.literal("S"), z.literal("M"), z.literal("L")]).optional(),
|
|
271
|
+
childrenType: HMBlockChildrenTypeSchema.optional(),
|
|
271
272
|
theme: z.object({
|
|
272
273
|
headerLayout: z.union([z.literal("Center"), z.literal("")]).optional()
|
|
273
274
|
}).optional(),
|
|
@@ -344,7 +345,8 @@ var HMGenerationInfoSchema = z.object({
|
|
|
344
345
|
});
|
|
345
346
|
var HMRedirectInfoSchema = z.object({
|
|
346
347
|
type: z.literal("redirect"),
|
|
347
|
-
target: z.string()
|
|
348
|
+
target: z.string(),
|
|
349
|
+
republish: z.boolean().optional()
|
|
348
350
|
});
|
|
349
351
|
var HMDocumentInfoSchema = z.object({
|
|
350
352
|
type: z.literal("document"),
|
|
@@ -493,7 +495,8 @@ var HMResourceCommentSchema = z.object({
|
|
|
493
495
|
var HMResourceRedirectSchema = z.object({
|
|
494
496
|
type: z.literal("redirect"),
|
|
495
497
|
id: unpackedHmIdSchema,
|
|
496
|
-
redirectTarget: unpackedHmIdSchema
|
|
498
|
+
redirectTarget: unpackedHmIdSchema,
|
|
499
|
+
republish: z.boolean().optional().default(false)
|
|
497
500
|
});
|
|
498
501
|
var HMResourceNotFoundSchema = z.object({
|
|
499
502
|
type: z.literal("not-found"),
|