-
-
Notifications
You must be signed in to change notification settings - Fork 197
/
Copy pathproject.d.ts
30 lines (26 loc) · 869 Bytes
/
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
interface IProjectService {
createProject(projectName: string, projectId: string): IFuture<void>;
ensureProject(): void;
}
interface IProjectData {
projectDir: string;
projectName: string;
platformsDir: string;
projectFilePath: string;
projectId?: string;
}
interface IProjectTemplatesService {
defaultTemplatePath: IFuture<string>;
}
interface IPlatformProjectService {
createProject(platform: string): IFuture<void>;
buildProject(platform: string): IFuture<void>;
prepareProject(normalizedPlatformName: string, platforms: string[]): IFuture<void>;
}
interface IPlatformSpecificProjectService {
validate(): IFuture<void>;
createProject(projectRoot: string, frameworkDir: string): IFuture<void>;
interpolateData(projectRoot: string): void;
executePlatformSpecificAction(projectRoot: string): void;
buildProject(projectRoot: string): IFuture<void>;
}