siyuan 0.7.0 → 0.7.1

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/siyuan.d.ts +2 -1
package/package.json CHANGED
@@ -2,6 +2,6 @@
2
2
  "name": "siyuan",
3
3
  "author": "zuoez02",
4
4
  "types": "siyuan.d.ts",
5
- "version": "0.7.0",
6
- "repository": "https://github.com/zuoez02/siyuan-package"
5
+ "version": "0.7.1",
6
+ "repository": "https://github.com/siyuan-note/petal/type"
7
7
  }
package/siyuan.d.ts CHANGED
@@ -76,7 +76,7 @@ declare module 'siyuan/api/server-api' {
76
76
  export function pushErrMsg(message?: any, text?: any, timeout?: number): Promise<any>;
77
77
  export function setStorageVal(key: string, val: any): Promise<any>;
78
78
  export function getLocalStorage(): Promise<any>;
79
- export function renderSprig(template: string): Promise<any>;
79
+ export function renderSprig(sprig: string): Promise<any>;
80
80
  export function getBazzarWidget(): Promise<any>;
81
81
  }
82
82
 
@@ -102,6 +102,7 @@ declare module 'siyuan/internal/classes/menu' {
102
102
  bind?: (element: HTMLElement) => void;
103
103
  }
104
104
  export class Menu {
105
+ menu: any;
105
106
  constructor(id: string);
106
107
  addItem(item: MenuItem): this;
107
108
  addSeparator(): this;