-
-
Notifications
You must be signed in to change notification settings - Fork 197
/
Copy pathplatform.d.ts
40 lines (37 loc) · 1.4 KB
/
platform.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
interface IPlatformService {
addPlatforms(platforms: string[]): IFuture<void>;
getInstalledPlatforms(): IFuture<string[]>;
getAvailablePlatforms(): IFuture<string[]>;
getPreparedPlatforms(): IFuture<string[]>;
removePlatforms(platforms: string[]): IFuture<void>;
updatePlatforms(platforms: string[]): IFuture<void>;
runPlatform(platform: string): IFuture<void>;
debugPlatform(platform: string): IFuture<void>;
preparePlatform(platform: string): IFuture<void>;
buildPlatform(platform: string): IFuture<void>;
deployOnDevice(platform: string): IFuture<void>;
deployOnEmulator(platform: string): IFuture<void>;
validatePlatformInstalled(platform: string): void;
validatePlatform(platform: string): void;
addLibrary(platform: string, libraryPath: string): IFuture<void>;
}
interface IPlatformData {
frameworkPackageName: string;
platformProjectService: IPlatformProjectService;
emulatorServices: Mobile.IEmulatorPlatformServices;
projectRoot: string;
normalizedPlatformName: string;
deviceBuildOutputPath: string;
emulatorBuildOutputPath?: string;
validPackageNamesForDevice: string[];
validPackageNamesForEmulator?: string[];
frameworkFilesExtensions: string[];
frameworkDirectoriesExtensions?: string[];
frameworkDirectoriesNames?: string[];
targetedOS?: string[];
}
interface IPlatformsData {
availablePlatforms: any;
platformsNames: string[];
getPlatformData(platform: string): IPlatformData;
}