document-operations 1.1.8 → 1.1.9
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 +6 -6
- package/dist/index.d.ts +6 -6
- package/package.json +3 -3
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
|
-
warning: "warning";
|
|
422
421
|
info: "info";
|
|
422
|
+
warning: "warning";
|
|
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
|
-
warning: "warning";
|
|
577
576
|
info: "info";
|
|
577
|
+
warning: "warning";
|
|
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: "info" | "warning";
|
|
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;
|
|
@@ -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
|
-
warning: "warning";
|
|
422
421
|
info: "info";
|
|
422
|
+
warning: "warning";
|
|
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
|
-
warning: "warning";
|
|
577
576
|
info: "info";
|
|
577
|
+
warning: "warning";
|
|
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: "info" | "warning";
|
|
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;
|
|
@@ -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.9",
|
|
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@11.6.0",
|
|
84
84
|
"dependencies": {
|
|
85
|
-
"document-compute.js": "1.5.
|
|
85
|
+
"document-compute.js": "1.5.12",
|
|
86
86
|
"document-outline.js": "3.9.0",
|
|
87
87
|
"document-schema.js": "7.11.2",
|
|
88
|
-
"documents.js": "7.20.
|
|
88
|
+
"documents.js": "7.20.9",
|
|
89
89
|
"zod": "4.4.3"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|