@json-to-office/core-docx 3.2.0 → 3.3.0
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/blueprints/index.d.ts +45 -0
- package/dist/blueprints/index.d.ts.map +1 -0
- package/dist/core/structure.d.ts.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +786 -8
- package/dist/index.js.map +1 -1
- package/dist/plugin/example/index.js +55 -4
- package/dist/plugin/example/index.js.map +1 -1
- package/dist/quality/facts.d.ts +28 -1
- package/dist/quality/facts.d.ts.map +1 -1
- package/dist/quality/preflight.d.ts.map +1 -1
- package/dist/quality/rules.d.ts +40 -0
- package/dist/quality/rules.d.ts.map +1 -1
- package/dist/templates/blueprints/client-report.docx.blueprint.json +473 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/serviceClient.d.ts +6 -0
- package/dist/utils/serviceClient.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -35,5 +35,11 @@ export interface PostJsonOptions {
|
|
|
35
35
|
* POST a JSON body to `${url}${path}` with a timeout. Returns the Response on a
|
|
36
36
|
* 2xx; throws a normalized Error on timeout, connection failure, or non-2xx.
|
|
37
37
|
*/
|
|
38
|
+
/**
|
|
39
|
+
* A dependency that did not answer. The code lets a server route tell a
|
|
40
|
+
* missing export server apart from a defect in the document or in itself,
|
|
41
|
+
* and hand the caller the message that says how to start it.
|
|
42
|
+
*/
|
|
43
|
+
export declare const SERVICE_UNAVAILABLE_CODE = "SERVICE_UNAVAILABLE";
|
|
38
44
|
export declare function postJsonToService(opts: PostJsonOptions): Promise<Response>;
|
|
39
45
|
//# sourceMappingURL=serviceClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceClient.d.ts","sourceRoot":"","sources":["../../src/utils/serviceClient.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAEH,MAAM,MAAM,cAAc,GACt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,MAAM,GAAG,SAAS,EAC5B,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,UAAU,EAAE,MAAM,GACjB,MAAM,CAIR;AAED,MAAM,WAAW,eAAe;IAC9B,iDAAiD;IACjD,GAAG,EAAE,MAAM,CAAC;IACZ,qEAAqE;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,sCAAsC;IACtC,IAAI,EAAE,OAAO,CAAC;IACd,8DAA8D;IAC9D,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,yCAAyC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+DAA+D;IAC/D,YAAY,EAAE,MAAM,CAAC;IACrB,0EAA0E;IAC1E,aAAa,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CACvD;AAED;;;GAGG;AACH;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,wBAAwB,CAAC;AAM9D,wBAAsB,iBAAiB,CACrC,IAAI,EAAE,eAAe,GACpB,OAAO,CAAC,QAAQ,CAAC,CAwCnB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@json-to-office/core-docx",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"description": "Core DOCX document generation engine",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"date-fns": "3.6.0",
|
|
26
26
|
"probe-image-size": "7.2.3",
|
|
27
27
|
"@json-to-office/quality": "^3.0.0",
|
|
28
|
-
"@json-to-office/shared": "^3.
|
|
29
|
-
"@json-to-office/shared-docx": "^3.
|
|
28
|
+
"@json-to-office/shared": "^3.3.0",
|
|
29
|
+
"@json-to-office/shared-docx": "^3.3.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"docx": "9.7.1"
|