Functionality is all done!

This commit is contained in:
MotorTruck1221 2025-01-10 01:34:13 -07:00
parent 82e169150e
commit c04c83c22a
No known key found for this signature in database
GPG key ID: 08F417E2B8B61EA4
3 changed files with 22 additions and 3 deletions

View file

@ -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
}

View 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 };

View file

@ -105,6 +105,4 @@ const Settings = {
initDefaults initDefaults
} }
window.settings = Settings;
export { Settings }; export { Settings };