siyuan 0.6.1 → 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 +3 -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.6.1",
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,8 @@ 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
+ export function getBazzarWidget(): Promise<any>;
80
81
  }
81
82
 
82
83
  declare module 'siyuan/api/client-api' {
@@ -101,6 +102,7 @@ declare module 'siyuan/internal/classes/menu' {
101
102
  bind?: (element: HTMLElement) => void;
102
103
  }
103
104
  export class Menu {
105
+ menu: any;
104
106
  constructor(id: string);
105
107
  addItem(item: MenuItem): this;
106
108
  addSeparator(): this;