document-operations 1.1.13 → 1.1.15
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.d.cts +8 -8
- package/dist/index.d.ts +8 -8
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -418,8 +418,8 @@ declare const ConvertDocumentOutputSchema: z.ZodObject<{
|
|
|
418
418
|
}, z.core.$strip>]>;
|
|
419
419
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
420
420
|
severity: z.ZodEnum<{
|
|
421
|
-
info: "info";
|
|
422
421
|
warning: "warning";
|
|
422
|
+
info: "info";
|
|
423
423
|
}>;
|
|
424
424
|
code: z.ZodString;
|
|
425
425
|
message: z.ZodString;
|
|
@@ -573,8 +573,8 @@ declare const convertDocumentOperation: {
|
|
|
573
573
|
}, z.core.$strip>]>;
|
|
574
574
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
575
575
|
severity: z.ZodEnum<{
|
|
576
|
-
info: "info";
|
|
577
576
|
warning: "warning";
|
|
577
|
+
info: "info";
|
|
578
578
|
}>;
|
|
579
579
|
code: z.ZodString;
|
|
580
580
|
message: z.ZodString;
|
|
@@ -621,7 +621,7 @@ declare const convertDocumentOperation: {
|
|
|
621
621
|
large?: true | undefined;
|
|
622
622
|
};
|
|
623
623
|
diagnostics: {
|
|
624
|
-
severity: "
|
|
624
|
+
severity: "warning" | "info";
|
|
625
625
|
code: string;
|
|
626
626
|
message: string;
|
|
627
627
|
pageIndex?: number | undefined;
|
|
@@ -817,8 +817,8 @@ declare const documentAppendParagraphsOperation: {
|
|
|
817
817
|
headingLevel: z.ZodOptional<z.ZodNumber>;
|
|
818
818
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
819
819
|
left: "left";
|
|
820
|
-
center: "center";
|
|
821
820
|
right: "right";
|
|
821
|
+
center: "center";
|
|
822
822
|
justify: "justify";
|
|
823
823
|
}>>;
|
|
824
824
|
runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -858,7 +858,7 @@ declare const documentAppendParagraphsOperation: {
|
|
|
858
858
|
text?: string | undefined;
|
|
859
859
|
styleId?: string | undefined;
|
|
860
860
|
headingLevel?: number | undefined;
|
|
861
|
-
alignment?: "left" | "
|
|
861
|
+
alignment?: "left" | "right" | "center" | "justify" | undefined;
|
|
862
862
|
runs?: {
|
|
863
863
|
text?: string | undefined;
|
|
864
864
|
bold?: boolean | undefined;
|
|
@@ -1222,7 +1222,7 @@ interface OdtHeaderFooterPart {
|
|
|
1222
1222
|
readonly blocks: ContentBlock[];
|
|
1223
1223
|
}
|
|
1224
1224
|
//#endregion
|
|
1225
|
-
//#region ../odf.js/dist/forms-
|
|
1225
|
+
//#region ../odf.js/dist/forms-BqnTdkp0.d.ts
|
|
1226
1226
|
//#region src/typed/shared/forms.d.ts
|
|
1227
1227
|
interface OdbFormControl {
|
|
1228
1228
|
tag: string;
|
|
@@ -1244,7 +1244,7 @@ interface OdbFormDefinition {
|
|
|
1244
1244
|
subForms: OdbFormDefinition[];
|
|
1245
1245
|
}
|
|
1246
1246
|
//#endregion
|
|
1247
|
-
//#region ../odf.js/dist/form-
|
|
1247
|
+
//#region ../odf.js/dist/form-CSGlFwZO.d.ts
|
|
1248
1248
|
//#region src/typed/odb/form.d.ts
|
|
1249
1249
|
interface OdbForm {
|
|
1250
1250
|
name: string;
|
|
@@ -2041,7 +2041,7 @@ declare const pdfInspectOperation: {
|
|
|
2041
2041
|
font: {
|
|
2042
2042
|
family: string;
|
|
2043
2043
|
weight: "bold" | "normal";
|
|
2044
|
-
style: "
|
|
2044
|
+
style: "italic" | "normal";
|
|
2045
2045
|
};
|
|
2046
2046
|
sizePt: number;
|
|
2047
2047
|
color: {
|
package/dist/index.d.ts
CHANGED
|
@@ -418,8 +418,8 @@ declare const ConvertDocumentOutputSchema: z.ZodObject<{
|
|
|
418
418
|
}, z.core.$strip>]>;
|
|
419
419
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
420
420
|
severity: z.ZodEnum<{
|
|
421
|
-
info: "info";
|
|
422
421
|
warning: "warning";
|
|
422
|
+
info: "info";
|
|
423
423
|
}>;
|
|
424
424
|
code: z.ZodString;
|
|
425
425
|
message: z.ZodString;
|
|
@@ -573,8 +573,8 @@ declare const convertDocumentOperation: {
|
|
|
573
573
|
}, z.core.$strip>]>;
|
|
574
574
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
575
575
|
severity: z.ZodEnum<{
|
|
576
|
-
info: "info";
|
|
577
576
|
warning: "warning";
|
|
577
|
+
info: "info";
|
|
578
578
|
}>;
|
|
579
579
|
code: z.ZodString;
|
|
580
580
|
message: z.ZodString;
|
|
@@ -621,7 +621,7 @@ declare const convertDocumentOperation: {
|
|
|
621
621
|
large?: true | undefined;
|
|
622
622
|
};
|
|
623
623
|
diagnostics: {
|
|
624
|
-
severity: "
|
|
624
|
+
severity: "warning" | "info";
|
|
625
625
|
code: string;
|
|
626
626
|
message: string;
|
|
627
627
|
pageIndex?: number | undefined;
|
|
@@ -817,8 +817,8 @@ declare const documentAppendParagraphsOperation: {
|
|
|
817
817
|
headingLevel: z.ZodOptional<z.ZodNumber>;
|
|
818
818
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
819
819
|
left: "left";
|
|
820
|
-
center: "center";
|
|
821
820
|
right: "right";
|
|
821
|
+
center: "center";
|
|
822
822
|
justify: "justify";
|
|
823
823
|
}>>;
|
|
824
824
|
runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -858,7 +858,7 @@ declare const documentAppendParagraphsOperation: {
|
|
|
858
858
|
text?: string | undefined;
|
|
859
859
|
styleId?: string | undefined;
|
|
860
860
|
headingLevel?: number | undefined;
|
|
861
|
-
alignment?: "left" | "
|
|
861
|
+
alignment?: "left" | "right" | "center" | "justify" | undefined;
|
|
862
862
|
runs?: {
|
|
863
863
|
text?: string | undefined;
|
|
864
864
|
bold?: boolean | undefined;
|
|
@@ -1222,7 +1222,7 @@ interface OdtHeaderFooterPart {
|
|
|
1222
1222
|
readonly blocks: ContentBlock[];
|
|
1223
1223
|
}
|
|
1224
1224
|
//#endregion
|
|
1225
|
-
//#region ../odf.js/dist/forms-
|
|
1225
|
+
//#region ../odf.js/dist/forms-BqnTdkp0.d.ts
|
|
1226
1226
|
//#region src/typed/shared/forms.d.ts
|
|
1227
1227
|
interface OdbFormControl {
|
|
1228
1228
|
tag: string;
|
|
@@ -1244,7 +1244,7 @@ interface OdbFormDefinition {
|
|
|
1244
1244
|
subForms: OdbFormDefinition[];
|
|
1245
1245
|
}
|
|
1246
1246
|
//#endregion
|
|
1247
|
-
//#region ../odf.js/dist/form-
|
|
1247
|
+
//#region ../odf.js/dist/form-CSGlFwZO.d.ts
|
|
1248
1248
|
//#region src/typed/odb/form.d.ts
|
|
1249
1249
|
interface OdbForm {
|
|
1250
1250
|
name: string;
|
|
@@ -2041,7 +2041,7 @@ declare const pdfInspectOperation: {
|
|
|
2041
2041
|
font: {
|
|
2042
2042
|
family: string;
|
|
2043
2043
|
weight: "bold" | "normal";
|
|
2044
|
-
style: "
|
|
2044
|
+
style: "italic" | "normal";
|
|
2045
2045
|
};
|
|
2046
2046
|
sizePt: number;
|
|
2047
2047
|
color: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "document-operations",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.15",
|
|
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.5.
|
|
85
|
+
"document-compute.js": "1.5.18",
|
|
86
86
|
"document-outline.js": "3.9.1",
|
|
87
87
|
"document-schema.js": "7.11.3",
|
|
88
|
-
"documents.js": "7.20.
|
|
88
|
+
"documents.js": "7.20.15",
|
|
89
89
|
"zod": "4.4.3"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"@vitest/coverage-v8": "4.1.11",
|
|
99
99
|
"eslint": "10.8.1",
|
|
100
100
|
"husky": "9.1.7",
|
|
101
|
-
"odf.js": "7.25.
|
|
101
|
+
"odf.js": "7.25.5",
|
|
102
102
|
"publint": "0.3.22",
|
|
103
103
|
"semantic-release": "25.0.9",
|
|
104
104
|
"tsdown": "0.22.14",
|