pptxtojson 0.0.2 → 0.0.3
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/README.md +1 -1
- package/dist/index.d.ts +8 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
- package/rollup.config.js +0 -1
package/README.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -17,7 +17,6 @@ export interface Shape {
|
|
|
17
17
|
shapType: string
|
|
18
18
|
id: string
|
|
19
19
|
name: string
|
|
20
|
-
idx: number
|
|
21
20
|
}
|
|
22
21
|
|
|
23
22
|
export interface Text {
|
|
@@ -36,7 +35,6 @@ export interface Text {
|
|
|
36
35
|
content: string
|
|
37
36
|
id: string
|
|
38
37
|
name: string
|
|
39
|
-
idx: number
|
|
40
38
|
}
|
|
41
39
|
|
|
42
40
|
export interface Image {
|
|
@@ -111,4 +109,12 @@ export type Element = BaseElement | Group
|
|
|
111
109
|
export interface Slide {
|
|
112
110
|
fill: string
|
|
113
111
|
elements: Element[],
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export const parse: (file: File) => {
|
|
115
|
+
slides: Slide[]
|
|
116
|
+
size: {
|
|
117
|
+
width: number
|
|
118
|
+
height: number
|
|
119
|
+
}
|
|
114
120
|
}
|