pptx-viewer-mcp 1.2.1 → 1.2.2
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/CHANGELOG.md +2 -0
- package/dist/codec/index.d.ts +18 -17
- package/dist/codec/index.d.ts.map +1 -0
- package/dist/index.d.ts +584 -563
- package/dist/index.d.ts.map +1 -0
- package/dist/mcp/index.d.ts +1 -1
- package/dist/schemas/index.d.ts +499 -483
- package/dist/schemas/index.d.ts.map +1 -0
- package/package.json +5 -4
- package/dist/codec/index.d.mts +0 -57
- package/dist/index.d.mts +0 -862
- package/dist/mcp/index.d.mts +0 -1
- package/dist/schemas/index.d.mts +0 -576
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,8 @@ All notable changes to this project are documented here.
|
|
|
4
4
|
This file is generated from [Conventional Commits](https://www.conventionalcommits.org)
|
|
5
5
|
by [git-cliff](https://git-cliff.org); do not edit it by hand.
|
|
6
6
|
|
|
7
|
+
## [1.2.1](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-viewer-mcp@1.2.1) - 2026-07-11
|
|
8
|
+
|
|
7
9
|
## [1.2.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-viewer-mcp@1.2.0) - 2026-07-06
|
|
8
10
|
|
|
9
11
|
## [1.1.26](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-viewer-mcp@1.1.26) - 2026-06-21
|
package/dist/codec/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Doc } from
|
|
2
|
-
|
|
1
|
+
import { Doc } from "yjs";
|
|
2
|
+
//#region src/codec/pptx-codec.d.ts
|
|
3
3
|
declare const ORIGIN_FILE_LOAD = "file-load";
|
|
4
4
|
/**
|
|
5
5
|
* Bidirectional format codec: file bytes <-> Y.Doc shared types.
|
|
@@ -17,11 +17,11 @@ declare const ORIGIN_FILE_LOAD = "file-load";
|
|
|
17
17
|
* layouts are similar but NOT interchangeable on the same Y.Doc.
|
|
18
18
|
*/
|
|
19
19
|
interface FormatCodec {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
readonly formatId: string;
|
|
21
|
+
readonly extensions: string[];
|
|
22
|
+
hydrate: (ydoc: Doc, bytes: Uint8Array, origin?: string) => Promise<void>;
|
|
23
|
+
dehydrate: (ydoc: Doc, dirtyPaths?: string[]) => Promise<Uint8Array>;
|
|
24
|
+
observe: (ydoc: Doc, onChange: () => void) => () => void;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* Field coverage is derived from `pptx-viewer-core`'s
|
|
@@ -43,15 +43,16 @@ declare const COMPLEX_FIELD_MAP: Record<string, string>;
|
|
|
43
43
|
declare const SCALAR_SLIDE_KEYS: Set<string>;
|
|
44
44
|
declare const COMPLEX_SLIDE_FIELD_MAP: Record<string, string>;
|
|
45
45
|
declare class PptxCodec implements FormatCodec {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
46
|
+
readonly formatId = "pptx";
|
|
47
|
+
readonly extensions: string[];
|
|
48
|
+
hydrate(ydoc: Doc, bytes: Uint8Array, origin?: string): Promise<void>;
|
|
49
|
+
dehydrate(ydoc: Doc, _dirtyPaths?: string[]): Promise<Uint8Array>;
|
|
50
|
+
observe(ydoc: Doc, onChange: () => void): () => void;
|
|
51
|
+
private _slideToYMap;
|
|
52
|
+
private _yMapToSlide;
|
|
53
|
+
private _elementToYMap;
|
|
54
|
+
private _yMapToElement;
|
|
55
55
|
}
|
|
56
|
-
|
|
56
|
+
//#endregion
|
|
57
57
|
export { COMPLEX_FIELD_MAP, COMPLEX_SLIDE_FIELD_MAP, type FormatCodec, ORIGIN_FILE_LOAD, PptxCodec, SCALAR_ELEMENT_KEYS, SCALAR_SLIDE_KEYS };
|
|
58
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/codec/pptx-codec.ts"],"mappings":";;cAMa;;;;;;;;;;;;;;;;UAiBI;WACP;WACA;EACT,UAAU,MAAM,KAAM,OAAO,YAAY,oBAAoB;EAC7D,YAAY,MAAM,KAAM,0BAA0B,QAAQ;EAC1D,UAAU,MAAM,KAAM;;;;;;;;;;;;;;;;;cAoBV,qBAAmB;cAQnB,mBAAmB;cAWnB,mBAAiB;cAOjB,yBAAyB;cAWzB,qBAAqB;WACxB;WACA;EAEH,QAAQ,MAAM,KAAM,OAAO,YAAY,kBAAkB;EA+BzD,UAAU,MAAM,KAAM,yBAAyB,QAAQ;EA2B7D,QAAQ,MAAM,KAAM;UAWZ;UAqBA;UA6BA;UAsBA"}
|