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.
37 lines
1.8 KiB
37 lines
1.8 KiB
interface ProjectFile<L extends string = string> {
|
|
path: string;
|
|
language: L;
|
|
contents: string;
|
|
}
|
|
declare type AppleLanguage = 'objc' | 'objcpp' | 'swift';
|
|
export declare type AppDelegateProjectFile = ProjectFile<AppleLanguage>;
|
|
export declare function getAppDelegateHeaderFilePath(projectRoot: string): string;
|
|
export declare function getAppDelegateFilePath(projectRoot: string): string;
|
|
export declare function getAppDelegateObjcHeaderFilePath(projectRoot: string): string;
|
|
export declare function getFileInfo(filePath: string): {
|
|
path: string;
|
|
contents: string;
|
|
language: AppleLanguage;
|
|
};
|
|
export declare function getAppDelegate(projectRoot: string): AppDelegateProjectFile;
|
|
export declare function getSourceRoot(projectRoot: string): string;
|
|
export declare function findSchemePaths(projectRoot: string): string[];
|
|
export declare function findSchemeNames(projectRoot: string): string[];
|
|
export declare function getAllXcodeProjectPaths(projectRoot: string): string[];
|
|
/**
|
|
* Get the pbxproj for the given path
|
|
*/
|
|
export declare function getXcodeProjectPath(projectRoot: string): string;
|
|
export declare function getAllPBXProjectPaths(projectRoot: string): string[];
|
|
export declare function getPBXProjectPath(projectRoot: string): string;
|
|
export declare function getAllInfoPlistPaths(projectRoot: string): string[];
|
|
export declare function getInfoPlistPath(projectRoot: string): string;
|
|
export declare function getAllEntitlementsPaths(projectRoot: string): string[];
|
|
/**
|
|
* @deprecated: use Entitlements.getEntitlementsPath instead
|
|
*/
|
|
export declare function getEntitlementsPath(projectRoot: string): string | null;
|
|
export declare function getSupportingPath(projectRoot: string): string;
|
|
export declare function getExpoPlistPath(projectRoot: string): string;
|
|
export {};
|