Expose settings json (#265)

* chore: expose settings json

* 0.0.181
main
bokuweb 2021-03-26 11:01:43 +09:00 committed by GitHub
parent 19e8708057
commit e33f4b292d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 8 deletions

View File

@ -35,14 +35,16 @@ export type DocxJSON = {
comments: CommentJSON[]; comments: CommentJSON[];
}; };
numberings: NumberingsJSON; numberings: NumberingsJSON;
settings: { settings: SettingsJSON;
fontTable: {};
};
export type SettingsJSON = {
// w15:docId // w15:docId
docId: string | null; docId: string | null;
defaultTabStop: number; defaultTabStop: number;
zoom: number; zoom: number;
docVars: { name: string; val: string }[]; docVars: { name: string; val: string }[];
};
fontTable: {};
}; };
export * from "./styles"; export * from "./styles";

View File

@ -1,6 +1,6 @@
{ {
"name": "docx-wasm", "name": "docx-wasm",
"version": "0.0.180", "version": "0.0.181",
"main": "dist/node/index.js", "main": "dist/node/index.js",
"browser": "dist/web/index.js", "browser": "dist/web/index.js",
"author": "bokuweb <bokuweb12@gmail.com>", "author": "bokuweb <bokuweb12@gmail.com>",