This commit is contained in:
Your Name
2026-08-11 17:41:36 +08:00
parent cfe4c82c90
commit 03fe4ddf9d
18771 changed files with 3617239 additions and 0 deletions
@@ -0,0 +1,25 @@
import { type UniVitePlugin } from '@dcloudio/uni-cli-shared';
import type { ResolvedConfig } from 'vite';
export declare function createUniOptions(platform: 'app-android' | 'app-ios' | 'app-harmony'): UniVitePlugin['uni'];
export declare function isManifest(id: string): boolean;
export declare function isPages(id: string): boolean;
export declare function configResolved(config: ResolvedConfig, isAndroidX?: boolean): void;
export declare function relativeInputDir(filename: string): string;
export declare function normalizeManifestJson(userManifestJson: Record<string, any>): {
id: any;
name: any;
description: any;
version: {
name: any;
code: any;
};
'uni-app-x': any;
app: any;
'app-harmony': any;
};
export declare function updateHarmonyManifestModules(manifest: Record<string, any>, modules: string[]): Record<string, any>;
export declare function updateManifestModules(manifest: Record<string, any>, modules: string[]): Record<string, any>;
export declare function setGlobalPageOrientation(value: string): void;
export declare function getGlobalPageOrientation(): string;
export declare function addExtApiComponents(components: string[]): void;
export declare function getExtApiComponents(): Set<string>;