mirror of
https://github.com/NebulaServices/Nebula.git
synced 2025-05-13 03:50:02 -04:00
Functionality is all done!
This commit is contained in:
parent
82e169150e
commit
c04c83c22a
3 changed files with 22 additions and 3 deletions
|
@ -262,4 +262,15 @@ class Marketplace {
|
|||
}
|
||||
}
|
||||
|
||||
export { Marketplace }
|
||||
export {
|
||||
Marketplace,
|
||||
type PluginType,
|
||||
type MarketplacePluginType,
|
||||
type PackageType,
|
||||
type Plug,
|
||||
type SWPagePlugin,
|
||||
type SWPluginFunction,
|
||||
type Events,
|
||||
type SWPlugin,
|
||||
type Theme
|
||||
}
|
||||
|
|
10
src/utils/marketplaceUserTypes.ts
Normal file
10
src/utils/marketplaceUserTypes.ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
import { type SWPluginFunction as PluginFunction, type SWPagePlugin, type SWPlugin } from "./marketplace";
|
||||
|
||||
interface PagePlugin extends Omit<SWPagePlugin, "type"> {}
|
||||
interface ServiceWorkerPlugin extends Omit<SWPlugin, "type"> {}
|
||||
|
||||
declare global {
|
||||
function entryFunc(): PagePlugin | ServiceWorkerPlugin;
|
||||
}
|
||||
|
||||
export { type PagePlugin, type ServiceWorkerPlugin, type PluginFunction };
|
|
@ -105,6 +105,4 @@ const Settings = {
|
|||
initDefaults
|
||||
}
|
||||
|
||||
window.settings = Settings;
|
||||
|
||||
export { Settings };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue