document-operations 1.1.78 → 1.1.79
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/index.cjs +3 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -205,7 +205,9 @@ const convertDocumentOperation = defineOperation({
|
|
|
205
205
|
italic: font.italic,
|
|
206
206
|
bytes: (0, documents_js.base64ToBytes)(font.bytesBase64)
|
|
207
207
|
})),
|
|
208
|
-
onFontSubstitution: wantsFontSubstitutionDiagnostics ? (substitution) =>
|
|
208
|
+
onFontSubstitution: wantsFontSubstitutionDiagnostics ? (substitution) => {
|
|
209
|
+
fontSubstitutions.push(substitution);
|
|
210
|
+
} : void 0,
|
|
209
211
|
images: images === void 0 ? void 0 : (destination) => {
|
|
210
212
|
const base64 = images[destination];
|
|
211
213
|
return base64 === void 0 ? void 0 : { bytes: (0, documents_js.base64ToBytes)(base64) };
|
package/dist/index.d.cts
CHANGED
|
@@ -779,8 +779,8 @@ declare const documentAppendParagraphsOperation: {
|
|
|
779
779
|
headingLevel: z.ZodOptional<z.ZodNumber>;
|
|
780
780
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
781
781
|
left: "left";
|
|
782
|
-
right: "right";
|
|
783
782
|
center: "center";
|
|
783
|
+
right: "right";
|
|
784
784
|
justify: "justify";
|
|
785
785
|
}>>;
|
|
786
786
|
runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
package/dist/index.d.ts
CHANGED
|
@@ -779,8 +779,8 @@ declare const documentAppendParagraphsOperation: {
|
|
|
779
779
|
headingLevel: z.ZodOptional<z.ZodNumber>;
|
|
780
780
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
781
781
|
left: "left";
|
|
782
|
-
right: "right";
|
|
783
782
|
center: "center";
|
|
783
|
+
right: "right";
|
|
784
784
|
justify: "justify";
|
|
785
785
|
}>>;
|
|
786
786
|
runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
package/dist/index.js
CHANGED
|
@@ -204,7 +204,9 @@ const convertDocumentOperation = defineOperation({
|
|
|
204
204
|
italic: font.italic,
|
|
205
205
|
bytes: base64ToBytes(font.bytesBase64)
|
|
206
206
|
})),
|
|
207
|
-
onFontSubstitution: wantsFontSubstitutionDiagnostics ? (substitution) =>
|
|
207
|
+
onFontSubstitution: wantsFontSubstitutionDiagnostics ? (substitution) => {
|
|
208
|
+
fontSubstitutions.push(substitution);
|
|
209
|
+
} : void 0,
|
|
208
210
|
images: images === void 0 ? void 0 : (destination) => {
|
|
209
211
|
const base64 = images[destination];
|
|
210
212
|
return base64 === void 0 ? void 0 : { bytes: base64ToBytes(base64) };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "document-operations",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.79",
|
|
4
4
|
"description": "The canonical set of document-conversion, editing, inspection, and .odb operations documents.js exposes — one Zod input/output schema and one transport-agnostic run() function per operation, shared by document-mcp, document-cli, and a REST API server rather than each defining its own copy.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -82,10 +82,10 @@
|
|
|
82
82
|
"license": "MIT",
|
|
83
83
|
"packageManager": "pnpm@12.4.1+sha512.2e81e399d73fe8390dab25e06aa788ab7a5908248d2f5a370f82b481147a6a7a367bf8048f9a6fdb6460f21a66f0542dedb8b94ca2c8723596741920b1656d4c",
|
|
84
84
|
"dependencies": {
|
|
85
|
-
"document-compute.js": "1.6.
|
|
86
|
-
"document-outline.js": "3.10.
|
|
85
|
+
"document-compute.js": "1.6.27",
|
|
86
|
+
"document-outline.js": "3.10.16",
|
|
87
87
|
"document-schema.js": "7.15.0",
|
|
88
|
-
"documents.js": "14.4.
|
|
88
|
+
"documents.js": "14.4.18",
|
|
89
89
|
"zod": "4.4.3"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|