aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts/src/types.ts
blob: e285d908210e7e7301e44a933d9db3d7f6ff6c71 (plain) (blame)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import { PackageJSON } from '@0x/types';

export interface UpdatedPackage {
    name: string;
    version: string;
    private: boolean;
}

export interface Change {
    note: string;
    pr?: number;
}

export type Changelog = VersionChangelog[];

export interface VersionChangelog {
    timestamp?: number;
    version: string;
    changes: Change[];
}

export interface PackageToNextVersion {
    [name: string]: string;
}

export interface PackageRegistryJson {
    versions: {
        [version: string]: any;
    };
    time: {
        [version: string]: string;
    };
}

export interface GitTagsByPackageName {
    [packageName: string]: string[];
}

export interface Package {
    location: string;
    packageJson: PackageJSON;
}

export interface DocGenConfigs {
    DOC_JSON_VERSION: string;
    EXTERNAL_TYPE_TO_LINK: { [externalType: string]: string };
    EXTERNAL_EXPORT_TO_LINK: { [externalExport: string]: string };
    CLASSES_WITH_HIDDEN_CONSTRUCTORS: string[];
    IGNORED_EXCESSIVE_TYPES: string[];
    TYPES_ONLY_LIBRARIES: string[];
}

export interface ExportPathToExportedItems {
    [pkgName: string]: string[];
}

export interface ExportInfo {
    exportPathToExportedItems: ExportPathToExportedItems;
    exportPathOrder: string[];
}

export interface ExportNameToTypedocNames {
    [exportName: string]: string[];
}