@lvce-editor/extension-management-worker 4.74.1 → 4.74.2
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.
|
@@ -6000,6 +6000,8 @@ const invokeForApplication = async (applicationId, method, ...args) => {
|
|
|
6000
6000
|
return handleFileChanges(args[0], applicationId);
|
|
6001
6001
|
case 'Extensions.sendMessagePortToFileSystemWorker':
|
|
6002
6002
|
return createFileSystemPort(application, args[0]);
|
|
6003
|
+
case 'Extensions.showNotification':
|
|
6004
|
+
return invoke('Application.execute', applicationId, 'Notification.create', ...args);
|
|
6003
6005
|
default:
|
|
6004
6006
|
throw new Error(`Extension command does not support application context: ${method}`);
|
|
6005
6007
|
}
|