@obsidian-typings/obsidian-catalyst-1.15.1 0.0.0 → 1.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/CHANGELOG.md +59 -0
- package/LICENSE +21 -0
- package/README.md +24 -2
- package/dist/cjs/electron.d.cts +17 -0
- package/dist/cjs/implementations.cjs +1476 -0
- package/dist/cjs/implementations.d.cts +50220 -0
- package/dist/cjs/pdfjs.d.cts +27 -0
- package/dist/cjs/pixi.d.cts +29 -0
- package/dist/cjs/types.d.cts +78392 -0
- package/dist/esm/electron.d.mts +17 -0
- package/dist/esm/implementations.d.mts +50220 -0
- package/dist/esm/implementations.mjs +1457 -0
- package/dist/esm/pdfjs.d.mts +27 -0
- package/dist/esm/pixi.d.mts +29 -0
- package/dist/esm/types.d.mts +78392 -0
- package/dist/obsidian-typings.api.json +372426 -0
- package/implementations/package.json +5 -0
- package/package.json +174 -4
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# CHANGELOG
|
|
2
|
+
|
|
3
|
+
## 1.1.0
|
|
4
|
+
|
|
5
|
+
**Models:** Obsidian `1.15.1` (`catalyst` channel). Internal members can differ in other app versions, so guard the ones you use when your `minAppVersion` is older.
|
|
6
|
+
|
|
7
|
+
**Branch:** [`release/obsidian-catalyst/1.15.1`](https://github.com/obsidian-typings/obsidian-typings/tree/release/obsidian-catalyst/1.15.1)
|
|
8
|
+
|
|
9
|
+
**Commits:** [`obsidian-public-1.15.0-v1.1.0...obsidian-catalyst-1.15.1-v1.1.0`](https://github.com/obsidian-typings/obsidian-typings/compare/obsidian-public-1.15.0-v1.1.0...obsidian-catalyst-1.15.1-v1.1.0) -- the first release from this branch, so the range opens at `obsidian-public-1.15.0-v1.1.0`, the nearest earlier release it was cut from
|
|
10
|
+
|
|
11
|
+
### Breaking changes
|
|
12
|
+
|
|
13
|
+
- fix(pdfjs)!: reconcile the vendored PDFWorker static API ([`5f48b6d`](https://github.com/obsidian-typings/obsidian-typings/commit/5f48b6d56fed217732254af97530097c23270d24))
|
|
14
|
+
|
|
15
|
+
### Other changes
|
|
16
|
+
|
|
17
|
+
- feat: add opt-in PDF.js type interoperability ([`2014cd9`](https://github.com/obsidian-typings/obsidian-typings/commit/2014cd9b0b60c3b9e2c2d05f45046f8b88c7c904))
|
|
18
|
+
- chore: generate README.md from template ([`f80b0b2`](https://github.com/obsidian-typings/obsidian-typings/commit/f80b0b2b808519f16fffa9754cb0aa1a06af82c6))
|
|
19
|
+
- feat: add opt-in Electron type interoperability ([`7310319`](https://github.com/obsidian-typings/obsidian-typings/commit/73103194f1a943fa2ccd74120672955b7947957c))
|
|
20
|
+
- feat: add opt-in Pixi type interoperability ([`037f730`](https://github.com/obsidian-typings/obsidian-typings/commit/037f7301d97f897a251c0b12301f71b71b65f649))
|
|
21
|
+
- docs: explain retention of bookmarks with missing targets ([`cc62005`](https://github.com/obsidian-typings/obsidian-typings/commit/cc62005a78bd1ebf1bab0ee7b1f23265a13dc1de))
|
|
22
|
+
|
|
23
|
+
### Declared API changes
|
|
24
|
+
|
|
25
|
+
Names only, compared with `obsidian-public-1.15.0-v1.1.0`.
|
|
26
|
+
|
|
27
|
+
**Added (27):**
|
|
28
|
+
|
|
29
|
+
- `ElectronInterop`
|
|
30
|
+
- `ElectronModuleMember`
|
|
31
|
+
- `InteropApplication`
|
|
32
|
+
- `InteropContainer`
|
|
33
|
+
- `InteropElectronBrowserWindow`
|
|
34
|
+
- `InteropElectronModule`
|
|
35
|
+
- `InteropElectronRemote`
|
|
36
|
+
- `InteropElectronWebContents`
|
|
37
|
+
- `InteropGraphics`
|
|
38
|
+
- `InteropICanvas`
|
|
39
|
+
- `InteropPDFDocumentLoadingTask`
|
|
40
|
+
- `InteropPDFDocumentProxy`
|
|
41
|
+
- `InteropPDFPageProxy`
|
|
42
|
+
- `InteropPDFWorker`
|
|
43
|
+
- `InteropPdfJsModule`
|
|
44
|
+
- `InteropPixiModule`
|
|
45
|
+
- `InteropPixiText`
|
|
46
|
+
- `InteropRenderTask`
|
|
47
|
+
- `InteropSprite`
|
|
48
|
+
- `InteropTextStyle`
|
|
49
|
+
- `ObsidianElectronTypes`
|
|
50
|
+
- `ObsidianPdfJsTypes`
|
|
51
|
+
- `ObsidianPixiTypes`
|
|
52
|
+
- `PDFWorker.create`
|
|
53
|
+
- `PDFWorker.workerSrc`
|
|
54
|
+
- `PdfJsInterop`
|
|
55
|
+
- `PixiInterop`
|
|
56
|
+
|
|
57
|
+
**Removed (1):**
|
|
58
|
+
|
|
59
|
+
- `PDFWorker.getWorkerSrc`
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 Fevol
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
-
|
|
1
|
+
<center>
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
# Obsidian Typings
|
|
4
|
+
|
|
5
|
+
</center>
|
|
6
|
+
|
|
7
|
+
<div align="center">
|
|
8
|
+
<a href="https://obsidian.md/changelog/2026-11-03-desktop-v1.15.1/"><img src="https://img.shields.io/badge/Obsidian_version-1.15.1_catalyst-blue?logo=obsidian" alt="Obsidian version: 1.15.1 catalyst"></a>
|
|
9
|
+
<a href="https://github.com/obsidian-typings/obsidian-typings/tree/release/obsidian-catalyst/1.15.1"><img src="https://img.shields.io/badge/Git_branch-release/obsidian--catalyst/1.15.1-red?logo=git" alt="Git branch: release/obsidian-catalyst/1.15.1"></a>
|
|
10
|
+
<a href="https://www.npmjs.com/package/@obsidian-typings/obsidian-catalyst-1.15.1"><img src="https://img.shields.io/npm/v/@obsidian-typings/obsidian-catalyst-1.15.1?logo=npm&logoColor=white&label=npm" alt="npm: @obsidian-typings/obsidian-catalyst-1.15.1"></a>
|
|
11
|
+
</div>
|
|
12
|
+
|
|
13
|
+
This branch contains the typings for Obsidian version [`1.15.1 catalyst`](https://obsidian.md/changelog/2026-11-03-desktop-v1.15.1/).
|
|
14
|
+
|
|
15
|
+
## Installation
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npm install --save-dev @obsidian-typings/obsidian-catalyst-1.15.1
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
> [!WARNING]
|
|
22
|
+
>
|
|
23
|
+
> If you are making a PR to this branch, please make sure to verify that all your changes are applicable to this version.
|
|
24
|
+
|
|
25
|
+
[See full docs](https://github.com/obsidian-typings/obsidian-typings/blob/main/README.md)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type * as Electron from 'electron';
|
|
2
|
+
|
|
3
|
+
export {};
|
|
4
|
+
|
|
5
|
+
declare global {
|
|
6
|
+
/** Installed Electron types selected by the explicit integration import. */
|
|
7
|
+
interface ObsidianElectronTypes {
|
|
8
|
+
/** Installed browser window. */
|
|
9
|
+
ElectronBrowserWindow: Electron.BrowserWindow;
|
|
10
|
+
/** Installed IPC renderer, combined with Obsidian's channel overloads at the boundary. */
|
|
11
|
+
ElectronIpcRenderer: Electron.IpcRenderer;
|
|
12
|
+
/** Installed public module exports. */
|
|
13
|
+
ElectronNamespace: typeof import('electron');
|
|
14
|
+
/** Installed web contents. */
|
|
15
|
+
ElectronWebContents: Electron.WebContents;
|
|
16
|
+
}
|
|
17
|
+
}
|