@mastergo/plugin-typings 1.4.0 → 1.5.0
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/dist/index.d.ts +6 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -55,7 +55,7 @@ declare global {
|
|
|
55
55
|
hyperlink: Hyperlink
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
type PluginEventType = 'selectionchange' | 'currentpagechange' | 'close' | 'themechange' | 'drop'
|
|
58
|
+
type PluginEventType = 'selectionchange' | 'currentpagechange' | 'close' | 'themechange' | 'drop' | 'run'
|
|
59
59
|
type ThemeColor = 'dark' | 'light'
|
|
60
60
|
|
|
61
61
|
interface PluginAPI {
|
|
@@ -69,6 +69,8 @@ declare global {
|
|
|
69
69
|
|
|
70
70
|
readonly documentId: number
|
|
71
71
|
|
|
72
|
+
readonly command: string
|
|
73
|
+
|
|
72
74
|
readonly clientStorage: ClientStorageAPI
|
|
73
75
|
|
|
74
76
|
readonly viewport: ViewportAPI
|
|
@@ -1122,7 +1124,7 @@ declare global {
|
|
|
1122
1124
|
hyperlink: Hyperlink
|
|
1123
1125
|
}
|
|
1124
1126
|
|
|
1125
|
-
type PluginEventType = 'selectionchange' | 'currentpagechange' | 'close' | 'themechange' | 'drop'
|
|
1127
|
+
type PluginEventType = 'selectionchange' | 'currentpagechange' | 'close' | 'themechange' | 'drop' | 'run'
|
|
1126
1128
|
type ThemeColor = 'dark' | 'light'
|
|
1127
1129
|
|
|
1128
1130
|
interface PluginAPI {
|
|
@@ -1136,6 +1138,8 @@ declare global {
|
|
|
1136
1138
|
|
|
1137
1139
|
readonly documentId: number
|
|
1138
1140
|
|
|
1141
|
+
readonly command: string
|
|
1142
|
+
|
|
1139
1143
|
readonly clientStorage: ClientStorageAPI
|
|
1140
1144
|
|
|
1141
1145
|
readonly viewport: ViewportAPI
|