diff --git a/manifest.config.ts b/manifest.config.ts index 2446468..9aad389 100644 --- a/manifest.config.ts +++ b/manifest.config.ts @@ -34,12 +34,14 @@ export default defineManifestConfig({ '', '', '', - '', + '', '', + '', + '', + '', '', '', '', - '', '', '', '', diff --git a/src/auto-imports.d.ts b/src/auto-imports.d.ts index 956bb72..ebdb95e 100644 --- a/src/auto-imports.d.ts +++ b/src/auto-imports.d.ts @@ -329,6 +329,7 @@ declare global { const watchTriggerable: typeof import('@vueuse/core')['watchTriggerable'] const watchWithFilter: typeof import('@vueuse/core')['watchWithFilter'] const whenever: typeof import('@vueuse/core')['whenever'] + const wifi: typeof import('./utils/wifi')['default'] } // for type re-export declare global { @@ -338,6 +339,9 @@ declare global { // @ts-ignore export type { SystemInfo } from './utils/device' import('./utils/device') + // @ts-ignore + export type { WifiInfo, ConnectWifiParams, WifiStateCallback, WifiScanCallback } from './utils/wifi' + import('./utils/wifi') } // for vue template auto import @@ -667,5 +671,6 @@ declare module 'vue' { readonly watchTriggerable: UnwrapRef readonly watchWithFilter: UnwrapRef readonly whenever: UnwrapRef + readonly wifi: UnwrapRef } } \ No newline at end of file diff --git a/src/components/settings/wifiNetwork.vue b/src/components/settings/wifiNetwork.vue index 2e4750f..84462ee 100644 --- a/src/components/settings/wifiNetwork.vue +++ b/src/components/settings/wifiNetwork.vue @@ -1,4 +1,6 @@