Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/EmphasisMarkType.resi
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/** @see https://docx.js.org/api/enums/EmphasisMarkType.html */
type t = DOT
type t = | @as("Dot") DOT
5 changes: 4 additions & 1 deletion src/LevelSuffix.resi
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
type t = NOTHING | SPACE | TAB
type t =
| @as("nothing") NOTHING
| @as("space") SPACE
| @as("tab") TAB
1 change: 1 addition & 0 deletions src/Paragraph.res
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ type options = {
wordWrap?: bool,
scale?: float,
autoSpaceEastAsianText?: bool,
style?: string,
/* <- */
text?: string,
children?: array<ParagraphChild.t>,
Expand Down
2 changes: 1 addition & 1 deletion src/SectionPropertiesOptions.res
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ type rec t = {
footerWrapperGroup?: Headers.headerFooterGroup<Headers.FooterWrapper.t>,
lineNumbers?: LineNumberAttributes.t,
titlePage?: bool,
vertialAlign?: [#bottom | #center | #top],
verticalAlign?: [#bottom | #center | #top],
column?: Columns.attributes,
@as("type") type_?: [#nextPage | #nextColumn | #continuous | #evenPage | #oddPage],
}
Expand Down
1 change: 1 addition & 0 deletions src/StylesOptions.res
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ type paragraphStylesPropertiesOptions = {
keepNext?: bool,
leftTabStop?: float,
numbering?: Util.Types.numbering,
spacing?: SpacingProperties.t,
}

type baseCharacterStyleOptions = {
Expand Down
9 changes: 8 additions & 1 deletion src/TextEffect.resi
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
/** @see https://docx.js.org/api/enums/TextEffect.html */
type t = BLINK_BACKGROUND | LIGHTS | ANTS_BLACK | ANTS_RED | SHIMMER | NONE | SPARKLE
type t =
| @as("blinkBackground") BLINK_BACKGROUND
| @as("lights") LIGHTS
| @as("antsBlack") ANTS_BLACK
| @as("antsRed") ANTS_RED
| @as("shimmer") SHIMMER
| @as("none") NONE
| @as("sparkle") SPARKLE
Loading