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

View File

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