uni-ticket-system/node_modules/@dcloudio/uni-app-uts/dist/plugins/utils.d.ts
2023-12-05 10:11:10 +08:00

29 lines
1.2 KiB
TypeScript

export declare const UVUE_CLASS_NAME_PREFIX = "Gen";
export declare const DEFAULT_APPID = "HBuilder";
export declare const ENTRY_FILENAME = "index.uts";
export declare function parseImports(code: string): Promise<string>;
export declare function kotlinOutDir(): string;
export declare function uvueOutDir(): string;
export declare function isVue(filename: string): boolean;
export declare function stringifyMap(obj: unknown, ts?: boolean): string;
export declare function parseUTSRelativeFilename(filename: string): string;
export declare function parseUTSImportFilename(filename: string): string;
type UniCloudSpace = {
provider: string;
spaceName: string;
spaceId: string;
clientSecret?: string;
endpoint?: string;
workspaceFolder?: string;
};
export declare function getUniCloudSpaceList(): Array<UniCloudSpace>;
type UniCloudObjectInfo = {
name: string;
methodList: string[];
};
export declare function getUniCloudObjectInfo(uniCloudSpaceList: Array<UniCloudSpace>): Array<UniCloudObjectInfo>;
export declare function addExtApiComponents(components: string[]): void;
export declare function getExtApiComponents(): Set<string>;
export declare function genClassName(fileName: string, prefix?: string): string;
export {};