siyuan 1.0.7 → 1.0.8

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## v1.0.9 2025-01
4
+
5
+ ## v1.0.8 2024-12-24
6
+
7
+ * [Add plugin function `getAllModels`](https://github.com/siyuan-note/siyuan/issues/13579)
8
+ * [Add `renderAVAttribute` method to Protyle](https://github.com/siyuan-note/siyuan/pull/13547)
9
+ * [Remove Sentry reporting diagnostic data](https://github.com/siyuan-note/siyuan/issues/13522)
10
+
3
11
  ## v1.0.7 2024-12-10
4
12
 
5
13
  * [Support HarmonyOS NEXT system](https://github.com/siyuan-note/siyuan/issues/13184)
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "README.md",
13
13
  "siyuan.d.ts"
14
14
  ],
15
- "version": "1.0.7",
15
+ "version": "1.0.8",
16
16
  "repository": {
17
17
  "type": "git",
18
18
  "url": "git+https://github.com/siyuan-note/petal.git"
package/siyuan.d.ts CHANGED
@@ -289,6 +289,20 @@ export function exitSiYuan(): void
289
289
 
290
290
  export function getAllEditor(): Protyle[]
291
291
 
292
+ export function getAllModels(): {
293
+ editor: [],
294
+ graph: [],
295
+ asset: [],
296
+ outline: [],
297
+ backlink: [],
298
+ search: [],
299
+ inbox: [],
300
+ files: [],
301
+ bookmark: [],
302
+ tag: [],
303
+ custom: [],
304
+ }
305
+
292
306
  export function getModelByDockType(type: TDock | string): Model | any;
293
307
 
294
308
  /**
package/types/config.d.ts CHANGED
@@ -1527,10 +1527,6 @@ export namespace Config {
1527
1527
  * Operating system platform name
1528
1528
  */
1529
1529
  osPlatform: string;
1530
- /**
1531
- * Whether to upload error logs
1532
- */
1533
- uploadErrLog: boolean;
1534
1530
  /**
1535
1531
  * The absolute path of the workspace directory
1536
1532
  */
@@ -606,4 +606,6 @@ export class Protyle {
606
606
  public disable(): void
607
607
 
608
608
  public enable(): void
609
+
610
+ public renderAVAttribute(element: HTMLElement, id: string, cb?: (element: HTMLElement) => void): void
609
611
  }