siyuan 0.9.6 → 0.9.7

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/types/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from "./config";
1
2
  export * from "./events";
2
3
  export * from "./protyle";
3
4
  export * from "./response";
@@ -38,9 +38,11 @@ interface IToolbarItem {
38
38
  click?(protyle: Protyle): void;
39
39
  }
40
40
 
41
+ export type TEditorMode = "preview" | "wysiwyg"
42
+
41
43
  export interface IProtyleOption {
42
44
  action?: TProtyleAction[];
43
- mode?: "preview" | "wysiwyg";
45
+ mode?: TEditorMode;
44
46
  toolbar?: Array<string | IToolbarItem>;
45
47
  blockId?: string;
46
48
  key?: string;