UNPKG

928 BTypeScriptView Raw
1export interface Neighbors {
2 [key: string]: number;
3}
4export interface Graph {
5 [key: string]: Neighbors;
6}
7export interface Module {
8 modulePath: string;
9 parentModulePath: string;
10}
11export interface RoutingModule {
12 path: string;
13 modulePath: string;
14 parentModulePath: string | null;
15 lazy: boolean;
16}
17export interface Connection {
18 from: string;
19 weight: number;
20 to: string;
21}
22export interface Period {
23 startDate: Date;
24 endDate: Date;
25}
26export declare enum ProjectType {
27 AngularCLI = "angular-cli",
28 CreateReactApp = "create-react-app",
29 PreactCLI = "preact-cli",
30 Gatsby = "gatsby",
31 CreateReactAppTypeScript = "create-react-app-typescript"
32}
33export interface ProjectLayout {
34 typescript?: string;
35 tsconfigPath?: string;
36 sourceDir?: string;
37}
38export interface ProjectMetadata {
39 type: ProjectType;
40 version: string;
41 details?: ProjectLayout;
42}