UNPKG

1.36 kBTypeScriptView Raw
1export interface NodeInfoLabels {
2 [key: string]: string | undefined;
3 checksum: string;
4 repository?: string;
5 externalSourcePodspec?: string;
6 externalSourcePath?: string;
7 externalSourceGit?: string;
8 externalSourceTag?: string;
9 externalSourceCommit?: string;
10 externalSourceBranch?: string;
11 checkoutOptionsPodspec?: string;
12 checkoutOptionsPath?: string;
13 checkoutOptionsGit?: string;
14 checkoutOptionsTag?: string;
15 checkoutOptionsCommit?: string;
16 checkoutOptionsBranch?: string;
17}
18export interface Lockfile {
19 PODS: PodEntry[];
20 DEPENDENCIES: string[];
21 'SPEC REPOS'?: {
22 [key: string]: string[];
23 };
24 'EXTERNAL SOURCES'?: {
25 [key: string]: ExternalSourceInfo;
26 };
27 'CHECKOUT OPTIONS'?: {
28 [key: string]: CheckoutOptions;
29 };
30 'SPEC CHECKSUMS': {
31 [key: string]: string;
32 };
33 'PODFILE CHECKSUM'?: string;
34 COCOAPODS?: string;
35}
36declare type PodEntry = string | {
37 [key: string]: string[];
38};
39export declare type ExternalSourceInfoKey = ':podspec' | ':path' | ':git' | ':tag' | ':commit' | ':branch';
40export declare type ExternalSourceInfo = {
41 [K in ExternalSourceInfoKey]?: string;
42};
43export declare type CheckoutOptionKey = ExternalSourceInfoKey;
44export declare type CheckoutOptions = {
45 [K in CheckoutOptionKey]?: string;
46};
47export {};