1 | import { CommandLineOptions, IConfig, ILogger, ProjectType, StarterList, StarterManifest, StarterTemplate } from '../definitions';
|
2 | export declare const STARTER_BASE_URL = "https://d2ql0qc7j8u4b2.cloudfront.net";
|
3 | export interface BaseAppSchema {
|
4 | projectId: string;
|
5 | projectDir: string;
|
6 | packageId?: string;
|
7 | appflowId?: string;
|
8 | }
|
9 | export interface NewAppSchema extends BaseAppSchema {
|
10 | cloned: false;
|
11 | name: string;
|
12 | type: ProjectType;
|
13 | template: string;
|
14 | themeColor?: string;
|
15 | }
|
16 | export interface ClonedAppSchema extends BaseAppSchema {
|
17 | cloned: true;
|
18 | url: string;
|
19 | }
|
20 | export declare type AppSchema = NewAppSchema | ClonedAppSchema;
|
21 | export declare function verifyOptions(options: CommandLineOptions, { log }: {
|
22 | log: ILogger;
|
23 | }): void;
|
24 | export declare function readStarterManifest(p: string): Promise<StarterManifest>;
|
25 | export declare function getAdvertisement(): string;
|
26 | export declare function getStarterList(config: IConfig, tag?: string): Promise<StarterList>;
|
27 | export declare function getStarterProjectTypes(): string[];
|
28 | export interface SupportedFramework {
|
29 | name: string;
|
30 | type: ProjectType;
|
31 | description: string;
|
32 | }
|
33 | export declare const SUPPORTED_FRAMEWORKS: readonly SupportedFramework[];
|
34 | export declare const STARTER_TEMPLATES: StarterTemplate[];
|