-
-
Notifications
You must be signed in to change notification settings - Fork 197
/
Copy pathproject.d.ts
35 lines (31 loc) · 1.14 KB
/
project.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
interface IProjectService {
createProject(projectName: string): IFuture<void>;
}
interface IProjectData {
projectDir: string;
projectName: string;
platformsDir: string;
projectFilePath: string;
projectId?: string;
}
interface IProjectDataService {
initialize(projectDir: string): void;
getValue(propertyName: string): IFuture<any>;
setValue(key: string, value: any): IFuture<void>;
}
interface IProjectTemplatesService {
defaultTemplatePath: IFuture<string>;
}
interface IPlatformProjectService {
platformData: IPlatformData;
validate(): IFuture<void>;
createProject(projectRoot: string, frameworkDir: string): IFuture<void>;
interpolateData(projectRoot: string): IFuture<void>;
afterCreateProject(projectRoot: string): IFuture<void>;
prepareProject(platformData: IPlatformData): IFuture<string>;
buildProject(projectRoot: string): IFuture<void>;
isPlatformPrepared(projectRoot: string): IFuture<boolean>;
addLibrary(platformData: IPlatformData, libraryPath: string): IFuture<void>;
canUpdatePlatform(currentVersion: string, newVersion: string): IFuture<boolean>;
updatePlatform(currentVersion: string, newVersion: string): IFuture<void>;
}