document-operations 1.1.3 → 1.1.4
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 +12 -12
- package/dist/index.d.ts +12 -12
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -172,9 +172,9 @@ declare const ComputeFormulaOutputSchema: z.ZodObject<{
|
|
|
172
172
|
kind: z.ZodLiteral<"quantity">;
|
|
173
173
|
magnitude: z.ZodNumber;
|
|
174
174
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
175
|
+
time: "time";
|
|
175
176
|
length: "length";
|
|
176
177
|
mass: "mass";
|
|
177
|
-
time: "time";
|
|
178
178
|
electricCurrent: "electricCurrent";
|
|
179
179
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
180
180
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -185,9 +185,9 @@ declare const ComputeFormulaOutputSchema: z.ZodObject<{
|
|
|
185
185
|
min: z.ZodNumber;
|
|
186
186
|
max: z.ZodNumber;
|
|
187
187
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
188
|
+
time: "time";
|
|
188
189
|
length: "length";
|
|
189
190
|
mass: "mass";
|
|
190
|
-
time: "time";
|
|
191
191
|
electricCurrent: "electricCurrent";
|
|
192
192
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
193
193
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -237,9 +237,9 @@ declare const computeFormulaOperation: {
|
|
|
237
237
|
kind: z.ZodLiteral<"quantity">;
|
|
238
238
|
magnitude: z.ZodNumber;
|
|
239
239
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
240
|
+
time: "time";
|
|
240
241
|
length: "length";
|
|
241
242
|
mass: "mass";
|
|
242
|
-
time: "time";
|
|
243
243
|
electricCurrent: "electricCurrent";
|
|
244
244
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
245
245
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -250,9 +250,9 @@ declare const computeFormulaOperation: {
|
|
|
250
250
|
min: z.ZodNumber;
|
|
251
251
|
max: z.ZodNumber;
|
|
252
252
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
253
|
+
time: "time";
|
|
253
254
|
length: "length";
|
|
254
255
|
mass: "mass";
|
|
255
|
-
time: "time";
|
|
256
256
|
electricCurrent: "electricCurrent";
|
|
257
257
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
258
258
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -300,9 +300,9 @@ declare const computeFormulaOperation: {
|
|
|
300
300
|
kind: z.ZodLiteral<"quantity">;
|
|
301
301
|
magnitude: z.ZodNumber;
|
|
302
302
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
303
|
+
time: "time";
|
|
303
304
|
length: "length";
|
|
304
305
|
mass: "mass";
|
|
305
|
-
time: "time";
|
|
306
306
|
electricCurrent: "electricCurrent";
|
|
307
307
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
308
308
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -313,9 +313,9 @@ declare const computeFormulaOperation: {
|
|
|
313
313
|
min: z.ZodNumber;
|
|
314
314
|
max: z.ZodNumber;
|
|
315
315
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
316
|
+
time: "time";
|
|
316
317
|
length: "length";
|
|
317
318
|
mass: "mass";
|
|
318
|
-
time: "time";
|
|
319
319
|
electricCurrent: "electricCurrent";
|
|
320
320
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
321
321
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -341,12 +341,12 @@ declare const computeFormulaOperation: {
|
|
|
341
341
|
bindings?: Record<string, {
|
|
342
342
|
kind: "quantity";
|
|
343
343
|
magnitude: number;
|
|
344
|
-
dimension: Partial<Record<"length" | "
|
|
344
|
+
dimension: Partial<Record<"length" | "time" | "mass" | "electricCurrent" | "thermodynamicTemperature" | "amountOfSubstance" | "luminousIntensity", number>>;
|
|
345
345
|
} | {
|
|
346
346
|
kind: "interval";
|
|
347
347
|
min: number;
|
|
348
348
|
max: number;
|
|
349
|
-
dimension: Partial<Record<"length" | "
|
|
349
|
+
dimension: Partial<Record<"length" | "time" | "mass" | "electricCurrent" | "thermodynamicTemperature" | "amountOfSubstance" | "luminousIntensity", number>>;
|
|
350
350
|
}> | undefined;
|
|
351
351
|
}, context?: DocumentOperationContext): Promise<{
|
|
352
352
|
sourceFormat: "docx" | "pptx" | "xlsx" | "odt" | "odp" | "ods" | "odg" | "svg" | "odf" | "csv" | "markdown" | "rtf" | "doc" | "xls" | "ppt" | "wpd" | "epub" | "pdf";
|
|
@@ -360,12 +360,12 @@ declare const computeFormulaOperation: {
|
|
|
360
360
|
result: {
|
|
361
361
|
kind: "quantity";
|
|
362
362
|
magnitude: number;
|
|
363
|
-
dimension: Partial<Record<"length" | "
|
|
363
|
+
dimension: Partial<Record<"length" | "time" | "mass" | "electricCurrent" | "thermodynamicTemperature" | "amountOfSubstance" | "luminousIntensity", number>>;
|
|
364
364
|
} | {
|
|
365
365
|
kind: "interval";
|
|
366
366
|
min: number;
|
|
367
367
|
max: number;
|
|
368
|
-
dimension: Partial<Record<"length" | "
|
|
368
|
+
dimension: Partial<Record<"length" | "time" | "mass" | "electricCurrent" | "thermodynamicTemperature" | "amountOfSubstance" | "luminousIntensity", number>>;
|
|
369
369
|
};
|
|
370
370
|
} | {
|
|
371
371
|
status: "no-content";
|
|
@@ -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
|
-
right: "right";
|
|
821
820
|
center: "center";
|
|
821
|
+
right: "right";
|
|
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" | "center" | "right" | "justify" | undefined;
|
|
862
862
|
runs?: {
|
|
863
863
|
text?: string | undefined;
|
|
864
864
|
bold?: boolean | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -172,9 +172,9 @@ declare const ComputeFormulaOutputSchema: z.ZodObject<{
|
|
|
172
172
|
kind: z.ZodLiteral<"quantity">;
|
|
173
173
|
magnitude: z.ZodNumber;
|
|
174
174
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
175
|
+
time: "time";
|
|
175
176
|
length: "length";
|
|
176
177
|
mass: "mass";
|
|
177
|
-
time: "time";
|
|
178
178
|
electricCurrent: "electricCurrent";
|
|
179
179
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
180
180
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -185,9 +185,9 @@ declare const ComputeFormulaOutputSchema: z.ZodObject<{
|
|
|
185
185
|
min: z.ZodNumber;
|
|
186
186
|
max: z.ZodNumber;
|
|
187
187
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
188
|
+
time: "time";
|
|
188
189
|
length: "length";
|
|
189
190
|
mass: "mass";
|
|
190
|
-
time: "time";
|
|
191
191
|
electricCurrent: "electricCurrent";
|
|
192
192
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
193
193
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -237,9 +237,9 @@ declare const computeFormulaOperation: {
|
|
|
237
237
|
kind: z.ZodLiteral<"quantity">;
|
|
238
238
|
magnitude: z.ZodNumber;
|
|
239
239
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
240
|
+
time: "time";
|
|
240
241
|
length: "length";
|
|
241
242
|
mass: "mass";
|
|
242
|
-
time: "time";
|
|
243
243
|
electricCurrent: "electricCurrent";
|
|
244
244
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
245
245
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -250,9 +250,9 @@ declare const computeFormulaOperation: {
|
|
|
250
250
|
min: z.ZodNumber;
|
|
251
251
|
max: z.ZodNumber;
|
|
252
252
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
253
|
+
time: "time";
|
|
253
254
|
length: "length";
|
|
254
255
|
mass: "mass";
|
|
255
|
-
time: "time";
|
|
256
256
|
electricCurrent: "electricCurrent";
|
|
257
257
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
258
258
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -300,9 +300,9 @@ declare const computeFormulaOperation: {
|
|
|
300
300
|
kind: z.ZodLiteral<"quantity">;
|
|
301
301
|
magnitude: z.ZodNumber;
|
|
302
302
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
303
|
+
time: "time";
|
|
303
304
|
length: "length";
|
|
304
305
|
mass: "mass";
|
|
305
|
-
time: "time";
|
|
306
306
|
electricCurrent: "electricCurrent";
|
|
307
307
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
308
308
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -313,9 +313,9 @@ declare const computeFormulaOperation: {
|
|
|
313
313
|
min: z.ZodNumber;
|
|
314
314
|
max: z.ZodNumber;
|
|
315
315
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
316
|
+
time: "time";
|
|
316
317
|
length: "length";
|
|
317
318
|
mass: "mass";
|
|
318
|
-
time: "time";
|
|
319
319
|
electricCurrent: "electricCurrent";
|
|
320
320
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
321
321
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -341,12 +341,12 @@ declare const computeFormulaOperation: {
|
|
|
341
341
|
bindings?: Record<string, {
|
|
342
342
|
kind: "quantity";
|
|
343
343
|
magnitude: number;
|
|
344
|
-
dimension: Partial<Record<"length" | "
|
|
344
|
+
dimension: Partial<Record<"length" | "time" | "mass" | "electricCurrent" | "thermodynamicTemperature" | "amountOfSubstance" | "luminousIntensity", number>>;
|
|
345
345
|
} | {
|
|
346
346
|
kind: "interval";
|
|
347
347
|
min: number;
|
|
348
348
|
max: number;
|
|
349
|
-
dimension: Partial<Record<"length" | "
|
|
349
|
+
dimension: Partial<Record<"length" | "time" | "mass" | "electricCurrent" | "thermodynamicTemperature" | "amountOfSubstance" | "luminousIntensity", number>>;
|
|
350
350
|
}> | undefined;
|
|
351
351
|
}, context?: DocumentOperationContext): Promise<{
|
|
352
352
|
sourceFormat: "docx" | "pptx" | "xlsx" | "odt" | "odp" | "ods" | "odg" | "svg" | "odf" | "csv" | "markdown" | "rtf" | "doc" | "xls" | "ppt" | "wpd" | "epub" | "pdf";
|
|
@@ -360,12 +360,12 @@ declare const computeFormulaOperation: {
|
|
|
360
360
|
result: {
|
|
361
361
|
kind: "quantity";
|
|
362
362
|
magnitude: number;
|
|
363
|
-
dimension: Partial<Record<"length" | "
|
|
363
|
+
dimension: Partial<Record<"length" | "time" | "mass" | "electricCurrent" | "thermodynamicTemperature" | "amountOfSubstance" | "luminousIntensity", number>>;
|
|
364
364
|
} | {
|
|
365
365
|
kind: "interval";
|
|
366
366
|
min: number;
|
|
367
367
|
max: number;
|
|
368
|
-
dimension: Partial<Record<"length" | "
|
|
368
|
+
dimension: Partial<Record<"length" | "time" | "mass" | "electricCurrent" | "thermodynamicTemperature" | "amountOfSubstance" | "luminousIntensity", number>>;
|
|
369
369
|
};
|
|
370
370
|
} | {
|
|
371
371
|
status: "no-content";
|
|
@@ -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
|
-
right: "right";
|
|
821
820
|
center: "center";
|
|
821
|
+
right: "right";
|
|
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" | "center" | "right" | "justify" | undefined;
|
|
862
862
|
runs?: {
|
|
863
863
|
text?: string | undefined;
|
|
864
864
|
bold?: boolean | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "document-operations",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
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.
|
|
86
|
-
"document-outline.js": "3.7.
|
|
85
|
+
"document-compute.js": "1.5.7",
|
|
86
|
+
"document-outline.js": "3.7.3",
|
|
87
87
|
"document-schema.js": "7.11.1",
|
|
88
|
-
"documents.js": "7.20.
|
|
88
|
+
"documents.js": "7.20.4",
|
|
89
89
|
"zod": "4.4.3"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|