siyuan 1.0.5 → 1.0.6

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,6 +1,10 @@
1
1
  # Changelog
2
2
 
3
- ## v1.0.6 2024-11
3
+ ## v1.0.7 2024-11
4
+
5
+ ## v1.0.6 2024-11-19
6
+
7
+ * [Add plugin method `updateProtyleToolbar`](https://github.com/siyuan-note/plugin-sample/issues/24)
4
8
 
5
9
  ## v1.0.5 2024-11-05
6
10
 
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "README.md",
13
13
  "siyuan.d.ts"
14
14
  ],
15
- "version": "1.0.5",
15
+ "version": "1.0.6",
16
16
  "repository": {
17
17
  "type": "git",
18
18
  "url": "git+https://github.com/siyuan-note/petal.git"
package/siyuan.d.ts CHANGED
@@ -20,6 +20,7 @@ import {
20
20
  App,
21
21
  Files,
22
22
  Tab, Model,
23
+ IMenuItem,
23
24
  } from "./types";
24
25
 
25
26
  export * from "./types";
@@ -396,6 +397,8 @@ export abstract class Plugin {
396
397
  }): void;
397
398
 
398
399
  updateCards(options: ICardData): Promise<ICardData> | ICardData;
400
+
401
+ updateProtyleToolbar(toolbar: Array<string | IMenuItem>) : Array<string | IMenuItem>;
399
402
  }
400
403
 
401
404
  export class Setting {