@nocobase/client 2.1.0-alpha.39 → 2.1.0-alpha.40

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.
@@ -10,10 +10,13 @@ import type { DevDynamicImport } from '../Application';
10
10
  import type { PluginClass } from '../PluginManager';
11
11
  import type { PluginData } from '../PluginManager';
12
12
  import type { RequireJS } from './requirejs';
13
+ type RemotePluginModule = PluginClass<any> | ({
14
+ default?: PluginClass<any>;
15
+ } & Record<string, unknown>);
13
16
  /**
14
17
  * @internal
15
18
  */
16
- export declare function defineDevPlugins(plugins: Record<string, PluginClass<any>>): void;
19
+ export declare function defineDevPlugins(plugins: Record<string, RemotePluginModule>): void;
17
20
  /**
18
21
  * @internal
19
22
  */