@fiduswriter/document 0.1.0-alpha.5 → 0.1.0-alpha.7

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.
@@ -3,5 +3,5 @@ export { updateFile } from "./update.js";
3
3
  export { updateTemplateFile } from "./update_template.js";
4
4
  export { extractTemplate } from "./extract_template.js";
5
5
  export { NativeImporter } from "./importer.js";
6
- export { FidusFileImporter } from "./file.js";
6
+ export { FidusFileImporter, MIN_FW_DOCUMENT_VERSION, MAX_FW_DOCUMENT_VERSION } from "./file.js";
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/importer/native/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAA;AACzC,OAAO,EAAC,UAAU,EAAC,MAAM,aAAa,CAAA;AACtC,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAA;AACvD,OAAO,EAAC,eAAe,EAAC,MAAM,uBAAuB,CAAA;AACrD,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAA;AAC5C,OAAO,EAAC,iBAAiB,EAAC,MAAM,WAAW,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/importer/native/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAA;AACzC,OAAO,EAAC,UAAU,EAAC,MAAM,aAAa,CAAA;AACtC,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAA;AACvD,OAAO,EAAC,eAAe,EAAC,MAAM,uBAAuB,CAAA;AACrD,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAA;AAC5C,OAAO,EACH,iBAAiB,EACjB,uBAAuB,EACvB,uBAAuB,EAC1B,MAAM,WAAW,CAAA"}
@@ -3,5 +3,5 @@ export { updateFile } from "./update.js";
3
3
  export { updateTemplateFile } from "./update_template.js";
4
4
  export { extractTemplate } from "./extract_template.js";
5
5
  export { NativeImporter } from "./importer.js";
6
- export { FidusFileImporter } from "./file.js";
6
+ export { FidusFileImporter, MIN_FW_DOCUMENT_VERSION, MAX_FW_DOCUMENT_VERSION } from "./file.js";
7
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/importer/native/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAA;AACzC,OAAO,EAAC,UAAU,EAAC,MAAM,aAAa,CAAA;AACtC,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAA;AACvD,OAAO,EAAC,eAAe,EAAC,MAAM,uBAAuB,CAAA;AACrD,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAA;AAC5C,OAAO,EAAC,iBAAiB,EAAC,MAAM,WAAW,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/importer/native/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAA;AACzC,OAAO,EAAC,UAAU,EAAC,MAAM,aAAa,CAAA;AACtC,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAA;AACvD,OAAO,EAAC,eAAe,EAAC,MAAM,uBAAuB,CAAA;AACrD,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAA;AAC5C,OAAO,EACH,iBAAiB,EACjB,uBAAuB,EACvB,uBAAuB,EAC1B,MAAM,WAAW,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiduswriter/document",
3
- "version": "0.1.0-alpha.5",
3
+ "version": "0.1.0-alpha.7",
4
4
  "description": "Fidus Writer document schema, importers and exporters",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,10 +24,30 @@
24
24
  "types": "./dist/schema/*.d.ts",
25
25
  "default": "./dist/schema/*.js"
26
26
  },
27
+ "./importer/native": {
28
+ "types": "./dist/importer/native/index.d.ts",
29
+ "default": "./dist/importer/native/index.js"
30
+ },
31
+ "./importer/docx": {
32
+ "types": "./dist/importer/docx/index.d.ts",
33
+ "default": "./dist/importer/docx/index.js"
34
+ },
35
+ "./importer/odt": {
36
+ "types": "./dist/importer/odt/index.d.ts",
37
+ "default": "./dist/importer/odt/index.js"
38
+ },
39
+ "./importer/pandoc": {
40
+ "types": "./dist/importer/pandoc/index.d.ts",
41
+ "default": "./dist/importer/pandoc/index.js"
42
+ },
27
43
  "./importer/*": {
28
44
  "types": "./dist/importer/*.d.ts",
29
45
  "default": "./dist/importer/*.js"
30
46
  },
47
+ "./exporter/native": {
48
+ "types": "./dist/exporter/native/index.d.ts",
49
+ "default": "./dist/exporter/native/index.js"
50
+ },
31
51
  "./exporter/*": {
32
52
  "types": "./dist/exporter/*.d.ts",
33
53
  "default": "./dist/exporter/*.js"
@@ -3,4 +3,8 @@ export {updateFile} from "./update.js"
3
3
  export {updateTemplateFile} from "./update_template.js"
4
4
  export {extractTemplate} from "./extract_template.js"
5
5
  export {NativeImporter} from "./importer.js"
6
- export {FidusFileImporter} from "./file.js"
6
+ export {
7
+ FidusFileImporter,
8
+ MIN_FW_DOCUMENT_VERSION,
9
+ MAX_FW_DOCUMENT_VERSION
10
+ } from "./file.js"