@tinywork/glass 1.0.4 → 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/package.json +1 -1
- package/src/index.ts +5 -2
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -199,7 +199,8 @@ declare global {
|
|
|
199
199
|
| "version"
|
|
200
200
|
| "plan"
|
|
201
201
|
| "case"
|
|
202
|
-
| "association"
|
|
202
|
+
| "association"
|
|
203
|
+
| "unknow";
|
|
203
204
|
|
|
204
205
|
type ContextMenuParams =
|
|
205
206
|
| { type: "log"; data: NetLog }
|
|
@@ -210,7 +211,8 @@ declare global {
|
|
|
210
211
|
| { type: "version"; data: Version }
|
|
211
212
|
| { type: "plan"; data: Plan }
|
|
212
213
|
| { type: "case"; data: Case }
|
|
213
|
-
| { type: "association"; data: Association }
|
|
214
|
+
| { type: "association"; data: Association }
|
|
215
|
+
| { type: "unknow" };
|
|
214
216
|
|
|
215
217
|
type SyncDataType =
|
|
216
218
|
| "group"
|
|
@@ -356,6 +358,7 @@ declare global {
|
|
|
356
358
|
/** 右键请求日志 */
|
|
357
359
|
onContextMenu?: IGlassExtensionEvent<{
|
|
358
360
|
params: ContextMenuParams;
|
|
361
|
+
menus?: MenuItem[];
|
|
359
362
|
}>;
|
|
360
363
|
|
|
361
364
|
onRuleDefault?: IGlassExtensionEvent<{
|