You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
571 B
16 lines
571 B
|
2 months ago
|
interface ParseMiniProgramProjectJsonOptions {
|
||
|
|
template: Record<string, any>;
|
||
|
|
pagesJson: UniApp.PagesJson;
|
||
|
|
}
|
||
|
|
interface ProjectConfig {
|
||
|
|
appid: string;
|
||
|
|
projectname: string;
|
||
|
|
condition?: {
|
||
|
|
miniprogram?: UniApp.PagesJson['condition'];
|
||
|
|
};
|
||
|
|
}
|
||
|
|
export declare const projectKeys: string[];
|
||
|
|
export declare function isMiniProgramProjectJsonKey(name: string): boolean;
|
||
|
|
export declare function parseMiniProgramProjectJson(jsonStr: string, platform: UniApp.PLATFORM, { template, pagesJson }: ParseMiniProgramProjectJsonOptions): ProjectConfig;
|
||
|
|
export {};
|