feat: 实现动态 DOCX 模板与样式映射
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { z } from "zod";
|
||||
import { documentProfileNameSchema } from "./document-profile.js";
|
||||
import { docxThemeStyleSchema } from "./docx-style.js";
|
||||
import {
|
||||
footerSchema,
|
||||
headerSchema,
|
||||
@@ -50,6 +51,7 @@ export const themeManifestSchema = z.object({
|
||||
footer: footerSchema.optional()
|
||||
})
|
||||
.optional(),
|
||||
docxStyle: docxThemeStyleSchema.optional(),
|
||||
bundled: z.boolean()
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user