obsidian-integration-testing 10.4.0 → 11.0.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/README.md +1 -1
- package/dist/lib/cjs/eval-in-obsidian.cjs +1 -1
- package/dist/lib/cjs/eval-in-obsidian.d.cts +55 -2
- package/dist/lib/cjs/index.cjs +4 -1
- package/dist/lib/cjs/index.d.cts +7 -4
- package/dist/lib/cjs/library.cjs +1 -1
- package/dist/lib/cjs/namespace-bootstrap.cjs +45 -2
- package/dist/lib/cjs/obsidian-metadata.cjs +1135 -332
- package/dist/lib/cjs/obsidian-metadata.d.cts +57 -6
- package/dist/lib/cjs/open-obsidian-settings-tab.cjs +51 -0
- package/dist/lib/cjs/open-obsidian-settings-tab.d.cts +49 -0
- package/dist/lib/cjs/transport-desktop-cdp.cjs +1 -1
- package/dist/lib/cjs/transport-desktop-cdp.d.cts +1 -2
- package/dist/lib/esm/eval-in-obsidian.d.mts +55 -2
- package/dist/lib/esm/eval-in-obsidian.mjs +1 -1
- package/dist/lib/esm/index.d.mts +7 -4
- package/dist/lib/esm/index.mjs +3 -1
- package/dist/lib/esm/library.mjs +1 -1
- package/dist/lib/esm/namespace-bootstrap.mjs +45 -2
- package/dist/lib/esm/obsidian-metadata.d.mts +57 -6
- package/dist/lib/esm/obsidian-metadata.mjs +1135 -332
- package/dist/lib/esm/open-obsidian-settings-tab.d.mts +49 -0
- package/dist/lib/esm/open-obsidian-settings-tab.mjs +27 -0
- package/dist/lib/esm/transport-desktop-cdp.d.mts +1 -2
- package/dist/lib/esm/transport-desktop-cdp.mjs +1 -1
- package/package.json +12 -12
|
@@ -53,6 +53,41 @@ export interface ObsidianRuntimeVersions {
|
|
|
53
53
|
*/
|
|
54
54
|
readonly v8: string;
|
|
55
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* The changelog page URLs for a version, one per publication target, baked into
|
|
58
|
+
* `metadata.json` from Obsidian's own changelog feed (`obsidian.md/changelog.xml`
|
|
59
|
+
* — see the `metadata.json` section in `CLAUDE.md`).
|
|
60
|
+
*
|
|
61
|
+
* Obsidian publishes a *separate* changelog page per platform (desktop / mobile)
|
|
62
|
+
* and per channel (public / catalyst "early access"), each at its own dated slug
|
|
63
|
+
* — the catalyst page typically predates the public one by about a day. Every
|
|
64
|
+
* key is optional: a version carries only the pages the feed actually published
|
|
65
|
+
* for it (a catalyst-only build has no `desktop`, a desktop-only release has no
|
|
66
|
+
* `mobile`, and the oldest versions predate the mobile app entirely).
|
|
67
|
+
*
|
|
68
|
+
* Caveat for the mobile keys: before **1.4.8** (2023-09-05) the mobile app ran
|
|
69
|
+
* its own version line, so a same-keyed mobile page documents a *different*
|
|
70
|
+
* release than the desktop page beside it (mobile `1.4.5` shipped 2023-05-23,
|
|
71
|
+
* desktop `1.4.5` 2023-08-31). From 1.4.8 on the two lines track within days.
|
|
72
|
+
*/
|
|
73
|
+
export interface ObsidianVersionChangelogUrls {
|
|
74
|
+
/**
|
|
75
|
+
The public desktop changelog page URL.
|
|
76
|
+
*/
|
|
77
|
+
readonly desktop?: string;
|
|
78
|
+
/**
|
|
79
|
+
The catalyst ("early access") desktop changelog page URL.
|
|
80
|
+
*/
|
|
81
|
+
readonly desktopCatalyst?: string;
|
|
82
|
+
/**
|
|
83
|
+
The public mobile changelog page URL.
|
|
84
|
+
*/
|
|
85
|
+
readonly mobile?: string;
|
|
86
|
+
/**
|
|
87
|
+
The catalyst ("early access") mobile changelog page URL.
|
|
88
|
+
*/
|
|
89
|
+
readonly mobileCatalyst?: string;
|
|
90
|
+
}
|
|
56
91
|
/**
|
|
57
92
|
* The pre-resolved asset download URLs for a version, baked into `metadata.json`
|
|
58
93
|
* from the upstream `obsidian-versions.json` catalog (see the `metadata.json`
|
|
@@ -61,12 +96,26 @@ export interface ObsidianRuntimeVersions {
|
|
|
61
96
|
* These are the exact URLs the version's assets are published at, so the
|
|
62
97
|
* integration-time download paths can skip the GitHub release-API lookup and the
|
|
63
98
|
* historical dot-vs-hyphen asset-name guessing. Only the assets this library
|
|
64
|
-
* actually downloads are carried: the app `asar
|
|
65
|
-
* A field is absent when the version publishes no such
|
|
66
|
-
* build ships only the `asar`), in which case the caller
|
|
67
|
-
* hand-rolled resolution.
|
|
99
|
+
* actually downloads are carried: the app `asar`, the x64 desktop installers,
|
|
100
|
+
* and the Android `apk`. A field is absent when the version publishes no such
|
|
101
|
+
* asset (e.g. a catalyst build ships only the `asar`), in which case the caller
|
|
102
|
+
* falls back to its hand-rolled resolution.
|
|
68
103
|
*/
|
|
69
104
|
export interface ObsidianVersionDownloads {
|
|
105
|
+
/**
|
|
106
|
+
* The public Android `.apk` URL. Published as a GitHub release asset named
|
|
107
|
+
* uniformly `Obsidian-<version>.apk` — the asset first appears at 1.5.8 and is
|
|
108
|
+
* hyphenated from the start, so it has no dot-separator era to guess around
|
|
109
|
+
* (unlike the desktop installers `installer-asset.ts` handles).
|
|
110
|
+
*
|
|
111
|
+
* There is deliberately no catalyst counterpart. Unlike the desktop catalyst
|
|
112
|
+
* asar, the mobile catalyst build is not published at a URL at all: Obsidian
|
|
113
|
+
* distributes it through a Discord-gated channel, per
|
|
114
|
+
* https://obsidian.md/help/early-access. What this table can carry for a
|
|
115
|
+
* catalyst mobile build is its changelog —
|
|
116
|
+
* {@link ObsidianVersionChangelogUrls.mobileCatalyst}.
|
|
117
|
+
*/
|
|
118
|
+
readonly apk?: string;
|
|
70
119
|
/**
|
|
71
120
|
The `obsidian-<version>.asar.gz` package URL.
|
|
72
121
|
*/
|
|
@@ -96,9 +145,11 @@ export interface ObsidianVersionMetadata {
|
|
|
96
145
|
*/
|
|
97
146
|
readonly available?: boolean;
|
|
98
147
|
/**
|
|
99
|
-
|
|
148
|
+
* The version's changelog page URLs, one per publication target (desktop /
|
|
149
|
+
* mobile × public / catalyst), baked from Obsidian's changelog feed. Absent
|
|
150
|
+
* for the few versions the feed never published a page for.
|
|
100
151
|
*/
|
|
101
|
-
readonly changelogUrl?:
|
|
152
|
+
readonly changelogUrl?: ObsidianVersionChangelogUrls;
|
|
102
153
|
/**
|
|
103
154
|
The release channel: `'public'`, `'catalyst'`, or `'public+catalyst'`.
|
|
104
155
|
*/
|