@lvce-editor/test-worker 4.30.0 → 4.31.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/api.d.ts +4 -1
- package/dist/testWorkerMain.js +13 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -131,6 +131,9 @@ declare const openFeature: (featureName: string) => Promise<void>;
|
|
|
131
131
|
declare const openThemes: () => Promise<void>;
|
|
132
132
|
declare const openCommands: () => Promise<void>;
|
|
133
133
|
declare const openWebViews: () => Promise<void>;
|
|
134
|
+
declare const openRuntimeStatus: () => Promise<void>;
|
|
135
|
+
declare const openJsonValidation: () => Promise<void>;
|
|
136
|
+
declare const openSettings: () => Promise<void>;
|
|
134
137
|
declare const handleScroll: (scrollTop: number) => Promise<void>;
|
|
135
138
|
declare const writeFile: (path: string, content: string) => Promise<void>;
|
|
136
139
|
declare const mkdir: (path: string) => Promise<void>;
|
|
@@ -309,7 +312,7 @@ declare namespace Extension {
|
|
|
309
312
|
export { addNodeExtension, addWebExtension };
|
|
310
313
|
}
|
|
311
314
|
declare namespace ExtensionDetail {
|
|
312
|
-
export { handleScroll, open, openCommands, openFeature, openThemes, openWebViews, selectChangelog, selectDetails, selectFeature, selectFeatures, selectTab };
|
|
315
|
+
export { handleScroll, open, openCommands, openFeature, openJsonValidation, openRuntimeStatus, openSettings, openThemes, openWebViews, selectChangelog, selectDetails, selectFeature, selectFeatures, selectTab };
|
|
313
316
|
}
|
|
314
317
|
declare namespace FileSystem {
|
|
315
318
|
export { chmod, createExecutable, createExecutableFrom, getTmpDir, mkdir, remove, writeFile };
|
package/dist/testWorkerMain.js
CHANGED
|
@@ -2198,7 +2198,7 @@ const openFeature = featureName => {
|
|
|
2198
2198
|
return invoke('ExtensionDetail.handleFeaturesClick', featureName);
|
|
2199
2199
|
};
|
|
2200
2200
|
const openThemes = async () => {
|
|
2201
|
-
await openFeature('
|
|
2201
|
+
await openFeature('Theme');
|
|
2202
2202
|
};
|
|
2203
2203
|
const openCommands = async () => {
|
|
2204
2204
|
await openFeature('Commands');
|
|
@@ -2206,6 +2206,15 @@ const openCommands = async () => {
|
|
|
2206
2206
|
const openWebViews = async () => {
|
|
2207
2207
|
await openFeature('WebView');
|
|
2208
2208
|
};
|
|
2209
|
+
const openRuntimeStatus = async () => {
|
|
2210
|
+
await openFeature('RuntimeStatus');
|
|
2211
|
+
};
|
|
2212
|
+
const openJsonValidation = async () => {
|
|
2213
|
+
await openFeature('JsonValidation');
|
|
2214
|
+
};
|
|
2215
|
+
const openSettings = async () => {
|
|
2216
|
+
await openFeature('Settings');
|
|
2217
|
+
};
|
|
2209
2218
|
const handleScroll = async scrollTop => {
|
|
2210
2219
|
// @ts-ignore
|
|
2211
2220
|
return invoke('ExtensionDetail.handleScroll', scrollTop);
|
|
@@ -2217,6 +2226,9 @@ const TestFrameWorkComponentExtensionDetail = {
|
|
|
2217
2226
|
open: open$4,
|
|
2218
2227
|
openCommands,
|
|
2219
2228
|
openFeature,
|
|
2229
|
+
openJsonValidation,
|
|
2230
|
+
openRuntimeStatus,
|
|
2231
|
+
openSettings,
|
|
2220
2232
|
openThemes,
|
|
2221
2233
|
openWebViews,
|
|
2222
2234
|
selectChangelog,
|