@@ -23,6 +23,104 @@ interface ISpawnFromEventOptions {
2323 ignoreError ?: boolean ;
2424}
2525
26+ interface ISysInfoData {
27+ // os stuff
28+ /** os platform flavour, reported by os.platform */
29+ platform : string ;
30+ /** Full os name, like `uname -a` on unix, registry query on win */
31+ os : string ;
32+ /** .net version, applicable to windows only */
33+ dotNetVer : string ;
34+ /** The command shell in use, usually bash or cmd */
35+ shell : string ;
36+
37+ // node stuff
38+ /** node.js version, returned by `process.version` */
39+ nodeVer : string ;
40+ /** npm version, returned by `npm -v` */
41+ npmVer : string ;
42+ /** Process architecture, returned by `process.arch` */
43+ procArch : string ;
44+ /** node-gyp version as returned by `node-gyp -v`*/
45+ nodeGypVer : string ;
46+
47+ // dependencies
48+ /** version of java, as returned by `java -version` */
49+ javaVer : string ;
50+ /** Xcode version string as returned by `xcodebuild -version`. Valid only on Mac */
51+ xcodeVer : string ;
52+ /** Version string of adb, as returned by `adb version` */
53+ adbVer : string ;
54+ /** Whether iTunes is installed on the machine */
55+ itunesInstalled : boolean ;
56+ /** Whether `android` executable can be run */
57+ androidInstalled : boolean ;
58+ /** mono version, relevant on Mac only **/
59+ monoVer : string ;
60+ /** git version string, as returned by `git --version` **/
61+ gitVer : string ;
62+ /** gradle version string as returned by `gradle -v` **/
63+ gradleVer : string ;
64+ /** javac version string as returned by `javac -version` **/
65+ javacVersion : string ;
66+ /** pod version string, as returned by `pod --version` **/
67+ cocoapodVer : string ;
68+ /** xcodeproj gem location, as returned by `which gem xcodeproj` **/
69+ xcodeprojGemLocation : string ;
70+ /** true id CocoaPods can successfully execute pod install **/
71+ isCocoaPodsWorkingCorrectly : boolean ;
72+ }
73+
74+ /**
75+ * Describes single registry available for search.
76+ */
77+ interface IHiveId {
78+ /**
79+ * Name of the registry that will be checked.
80+ */
81+ registry : string ;
82+ }
83+
84+ /**
85+ * Describes available for search registry ids.
86+ */
87+ interface IHiveIds {
88+ /**
89+ * HKEY_LOCAL_MACHINE
90+ */
91+ HKLM : IHiveId ;
92+
93+ /**
94+ * HKEY_CURRENT_USER
95+ */
96+ HKCU : IHiveId ;
97+
98+ /**
99+ * HKEY_CLASSES_ROOT
100+ */
101+ HKCR : IHiveId ;
102+
103+ /**
104+ * HKEY_CURRENT_CONFIG
105+ */
106+ HKCC : IHiveId ;
107+
108+ /**
109+ * HKEY_USERS
110+ */
111+ HKU : IHiveId ;
112+ }
113+
114+ /**
115+ * Describes warning returned from nativescript-doctor check.
116+ */
117+ interface IWarning {
118+ /** The warning. */
119+ warning : string ;
120+ /** Additional information for the warning. */
121+ additionalInformation : string ;
122+ }
123+
26124interface IDictionary < T > {
27125 [ key : string ] : T
28126}
0 commit comments