pptxtojson 2.0.5 → 2.1.0

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.
package/dist/index.d.ts CHANGED
@@ -54,14 +54,27 @@ export interface AutoFit {
54
54
  fontScale?: number
55
55
  }
56
56
 
57
- export interface TextInset {
58
- l: number
59
- t: number
60
- r: number
61
- b: number
62
- }
63
-
64
- export interface Shape {
57
+ export interface TextInset {
58
+ l: number
59
+ t: number
60
+ r: number
61
+ b: number
62
+ }
63
+
64
+ export interface PathViewBox {
65
+ x: number
66
+ y: number
67
+ width: number
68
+ height: number
69
+ }
70
+
71
+ export interface LineEnd {
72
+ type: 'none' | 'triangle' | 'stealth' | 'diamond' | 'oval' | 'arrow'
73
+ width?: 'sm' | 'med' | 'lg'
74
+ length?: 'sm' | 'med' | 'lg'
75
+ }
76
+
77
+ export interface Shape {
65
78
  type: 'shape'
66
79
  left: number
67
80
  top: number
@@ -78,10 +91,13 @@ export interface Shape {
78
91
  isFlipH: boolean
79
92
  rotate: number
80
93
  shapType: string
81
- vAlign: string
82
- path?: string
83
- strokeOnly?: boolean
84
- keypoints?: Record<string, number>
94
+ vAlign: string
95
+ path?: string
96
+ pathViewBox?: PathViewBox
97
+ headEnd?: LineEnd
98
+ tailEnd?: LineEnd
99
+ strokeOnly?: boolean
100
+ keypoints?: Record<string, number>
85
101
  name: string
86
102
  order: number
87
103
  autoFit?: AutoFit