Skip to content

Commit 0bbc6f9

Browse files
authored
Revert tsrs (#846)
* fix: revert ts-rs * fix * fix * fix
1 parent 1d5d041 commit 0bbc6f9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+90
-125
lines changed

Cargo.lock

Lines changed: 50 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docx-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ serde_json = {version = "1.0.142" }
3232
base64 = "0.22.1"
3333
image = { version = "0.25.6", default-features = false, features=["gif", "jpeg", "png", "bmp", "tiff"], optional = true }
3434
wasm-bindgen = { version = "0.2.92", optional = true }
35-
ts-rs = { version = "11.0.1", optional = true }
35+
ts-rs = { version = "6.1", optional = true }
3636

3737
[dev-dependencies]
3838
pretty_assertions = "1.4.1"

docx-core/bindings/FontGroup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
22
import type { FontSchemeFont } from "./FontSchemeFont";
33

4-
export type FontGroup = { latin: string, ea: string, cs: string, fonts: Array<FontSchemeFont>, };
4+
export interface FontGroup { latin: string, ea: string, cs: string, fonts: Array<FontSchemeFont>, }

docx-core/bindings/FontScheme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
22
import type { FontGroup } from "./FontGroup";
33

4-
export type FontScheme = { majorFont: FontGroup, minorFont: FontGroup, };
4+
export interface FontScheme { majorFont: FontGroup, minorFont: FontGroup, }
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
22

3-
export type FontSchemeFont = { script: string, typeface: string, };
3+
export interface FontSchemeFont { script: string, typeface: string, }

docx-core/bindings/Theme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
22
import type { FontScheme } from "./FontScheme";
33

4-
export type Theme = { fontSchema: FontScheme, };
4+
export interface Theme { fontSchema: FontScheme, }
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
22

3-
export type AlignmentType = "both" | "center" | "distribute" | "start" | "end" | "left" | "right" | "justified";
3+
export type AlignmentType = "both" | "center" | "distribute" | "start" | "end" | "left" | "right" | "justified";
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
22

3-
export type BorderType = "nil" | "none" | "single" | "thick" | "double" | "dotted" | "dashed" | "dotDash" | "dotDotDash" | "triple" | "thinThickSmallGap" | "thickThinSmallGap" | "thinThickThinSmallGap" | "thinThickMediumGap" | "thickThinMediumGap" | "thinThickThinMediumGap" | "thinThickLargeGap" | "thickThinLargeGap" | "thinThickThinLargeGap" | "wave" | "doubleWave" | "dashSmallGap" | "dashDotStroked" | "threeDEmboss" | "threeDEngrave" | "outset" | "inset" | "apples" | "archedScallops" | "babyPacifier" | "babyRattle";
3+
export type BorderType = "nil" | "none" | "single" | "thick" | "double" | "dotted" | "dashed" | "dotDash" | "dotDotDash" | "triple" | "thinThickSmallGap" | "thickThinSmallGap" | "thinThickThinSmallGap" | "thinThickMediumGap" | "thickThinMediumGap" | "thinThickThinMediumGap" | "thinThickLargeGap" | "thickThinLargeGap" | "thinThickThinLargeGap" | "wave" | "doubleWave" | "dashSmallGap" | "dashDotStroked" | "threeDEmboss" | "threeDEngrave" | "outset" | "inset" | "apples" | "archedScallops" | "babyPacifier" | "babyRattle";
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
22
import type { PicAlign } from "./PicAlign";
33

4-
export type DrawingPosition = { "offset": number } | { "align": PicAlign };
4+
export type DrawingPosition = { offset: number } | { align: PicAlign };
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
22

3-
export type DrawingPositionType = "anchor" | "inline";
3+
export type DrawingPositionType = "anchor" | "inline";

0 commit comments

Comments
 (0)