@mittwald/cli 1.0.0-alpha.9 → 1.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1287) hide show
  1. package/README.md +83 -2425
  2. package/bin/dev.cmd +1 -1
  3. package/bin/dev.js +5 -0
  4. package/bin/run.js +1 -1
  5. package/dist/commands/app/copy.d.ts +18 -0
  6. package/dist/commands/app/copy.js +40 -0
  7. package/dist/commands/app/create/node.d.ts +12 -0
  8. package/dist/commands/app/create/node.js +16 -0
  9. package/dist/commands/app/create/php.d.ts +12 -0
  10. package/dist/commands/app/create/php.js +13 -0
  11. package/dist/commands/app/create/python.d.ts +12 -0
  12. package/dist/commands/app/create/python.js +13 -0
  13. package/dist/commands/app/create/static.d.ts +12 -0
  14. package/dist/commands/app/create/static.js +13 -0
  15. package/dist/commands/app/dependency/list.d.ts +22 -0
  16. package/dist/commands/app/dependency/list.js +24 -0
  17. package/dist/commands/app/dependency/update.d.ts +20 -0
  18. package/dist/commands/app/dependency/update.js +104 -0
  19. package/dist/commands/app/dependency/versions.d.ts +24 -0
  20. package/dist/commands/app/dependency/versions.js +36 -0
  21. package/dist/commands/app/download.d.ts +20 -0
  22. package/dist/commands/app/download.js +60 -0
  23. package/dist/commands/app/get.d.ts +12 -0
  24. package/dist/commands/app/get.js +21 -0
  25. package/dist/commands/app/install/contao.d.ts +11 -0
  26. package/dist/commands/app/install/contao.js +23 -0
  27. package/dist/commands/app/install/drupal.d.ts +12 -0
  28. package/dist/commands/app/install/drupal.js +20 -0
  29. package/dist/commands/app/install/grav.d.ts +11 -0
  30. package/dist/commands/app/install/grav.js +21 -0
  31. package/dist/commands/app/install/humhub.d.ts +12 -0
  32. package/dist/commands/app/install/humhub.js +22 -0
  33. package/dist/commands/app/install/joomla.d.ts +11 -0
  34. package/dist/commands/app/install/joomla.js +22 -0
  35. package/dist/commands/app/install/magento2.d.ts +12 -0
  36. package/dist/commands/app/install/magento2.js +27 -0
  37. package/dist/commands/app/install/matomo.d.ts +11 -0
  38. package/dist/commands/app/install/matomo.js +20 -0
  39. package/dist/commands/app/install/moodle.d.ts +12 -0
  40. package/dist/commands/app/install/moodle.js +20 -0
  41. package/dist/commands/app/install/neos.d.ts +12 -0
  42. package/dist/commands/app/install/neos.js +20 -0
  43. package/dist/commands/app/install/nextcloud.d.ts +11 -0
  44. package/dist/commands/app/install/nextcloud.js +20 -0
  45. package/dist/commands/app/install/prestashop.d.ts +12 -0
  46. package/dist/commands/app/install/prestashop.js +22 -0
  47. package/dist/commands/app/install/shopware5.d.ts +11 -0
  48. package/dist/commands/app/install/shopware5.js +25 -0
  49. package/dist/commands/app/install/shopware6.d.ts +12 -0
  50. package/dist/commands/app/install/shopware6.js +25 -0
  51. package/dist/commands/app/install/typo3.d.ts +12 -0
  52. package/dist/commands/app/install/typo3.js +21 -0
  53. package/dist/commands/app/install/wordpress.d.ts +12 -0
  54. package/dist/commands/app/install/wordpress.js +20 -0
  55. package/dist/commands/app/list-upgrade-candidates.d.ts +24 -0
  56. package/dist/commands/app/list-upgrade-candidates.js +37 -0
  57. package/dist/commands/app/list.d.ts +31 -0
  58. package/dist/commands/app/list.js +79 -0
  59. package/dist/commands/app/ssh.d.ts +16 -0
  60. package/dist/commands/app/ssh.js +61 -0
  61. package/dist/commands/app/uninstall.d.ts +9 -0
  62. package/dist/commands/app/uninstall.js +17 -0
  63. package/dist/commands/app/update.d.ts +16 -0
  64. package/dist/commands/app/update.js +80 -0
  65. package/dist/commands/app/upgrade.d.ts +18 -0
  66. package/dist/commands/app/upgrade.js +172 -0
  67. package/dist/commands/app/upload.d.ts +20 -0
  68. package/dist/commands/app/upload.js +63 -0
  69. package/dist/commands/app/versions.d.ts +12 -0
  70. package/dist/commands/app/versions.js +44 -0
  71. package/dist/commands/backup/create.d.ts +21 -0
  72. package/dist/commands/backup/create.js +60 -0
  73. package/dist/commands/backup/delete.d.ts +15 -0
  74. package/dist/commands/backup/delete.js +18 -0
  75. package/dist/commands/backup/download.d.ts +29 -0
  76. package/dist/commands/backup/download.js +174 -0
  77. package/dist/commands/backup/get.d.ts +14 -0
  78. package/dist/commands/backup/get.js +26 -0
  79. package/dist/commands/backup/list.d.ts +25 -0
  80. package/dist/commands/backup/list.js +36 -0
  81. package/dist/commands/backup/schedule/create.d.ts +18 -0
  82. package/dist/commands/backup/schedule/create.js +57 -0
  83. package/dist/commands/backup/schedule/delete.d.ts +12 -0
  84. package/dist/commands/backup/schedule/delete.js +32 -0
  85. package/dist/commands/backup/schedule/list.d.ts +25 -0
  86. package/dist/commands/backup/schedule/list.js +28 -0
  87. package/dist/commands/backup/schedule/update.d.ts +18 -0
  88. package/dist/commands/backup/schedule/update.js +55 -0
  89. package/dist/commands/context/get.d.ts +10 -0
  90. package/dist/commands/context/get.js +74 -0
  91. package/dist/commands/context/reset.d.ts +6 -0
  92. package/dist/commands/context/reset.js +9 -0
  93. package/dist/commands/context/set.d.ts +12 -0
  94. package/dist/commands/context/set.js +42 -0
  95. package/dist/commands/conversation/categories.d.ts +21 -0
  96. package/dist/commands/conversation/categories.js +21 -0
  97. package/dist/commands/conversation/close.d.ts +8 -0
  98. package/dist/commands/conversation/close.js +20 -0
  99. package/dist/commands/conversation/create.d.ts +13 -0
  100. package/dist/commands/conversation/create.js +50 -0
  101. package/dist/commands/conversation/list.d.ts +21 -0
  102. package/dist/commands/conversation/list.js +33 -0
  103. package/dist/commands/conversation/reply.d.ts +13 -0
  104. package/dist/commands/conversation/reply.js +25 -0
  105. package/dist/commands/conversation/show.d.ts +9 -0
  106. package/dist/commands/conversation/show.js +97 -0
  107. package/dist/commands/conversation/show.test.js +100 -0
  108. package/dist/commands/cronjob/create.d.ts +24 -0
  109. package/dist/commands/cronjob/create.js +88 -0
  110. package/dist/commands/cronjob/delete.d.ts +13 -0
  111. package/dist/commands/cronjob/delete.js +21 -0
  112. package/dist/commands/cronjob/execute.d.ts +17 -0
  113. package/dist/commands/cronjob/execute.js +42 -0
  114. package/dist/commands/cronjob/execution/abort.d.ts +18 -0
  115. package/dist/commands/cronjob/execution/abort.js +41 -0
  116. package/dist/commands/cronjob/execution/get.d.ts +17 -0
  117. package/dist/commands/cronjob/execution/get.js +26 -0
  118. package/dist/commands/cronjob/execution/list.d.ts +24 -0
  119. package/dist/commands/cronjob/execution/list.js +39 -0
  120. package/dist/commands/cronjob/execution/logs.d.ts +17 -0
  121. package/dist/commands/cronjob/execution/logs.js +77 -0
  122. package/dist/commands/cronjob/get.d.ts +14 -0
  123. package/dist/commands/cronjob/get.js +30 -0
  124. package/dist/commands/cronjob/list.d.ts +25 -0
  125. package/dist/commands/cronjob/list.js +40 -0
  126. package/dist/commands/cronjob/update.d.ts +25 -0
  127. package/dist/commands/cronjob/update.js +84 -0
  128. package/dist/commands/database/mysql/charsets.d.ts +22 -0
  129. package/dist/commands/database/mysql/charsets.js +20 -0
  130. package/dist/commands/database/mysql/create.d.ts +25 -0
  131. package/dist/commands/database/mysql/create.js +108 -0
  132. package/dist/commands/database/mysql/create.test.js +117 -0
  133. package/dist/commands/database/mysql/delete.d.ts +13 -0
  134. package/dist/commands/database/mysql/delete.js +16 -0
  135. package/dist/commands/database/mysql/dump.d.ts +21 -0
  136. package/dist/commands/database/mysql/dump.js +72 -0
  137. package/dist/commands/database/mysql/get.d.ts +15 -0
  138. package/dist/commands/database/mysql/get.js +15 -0
  139. package/dist/commands/database/mysql/import.d.ts +21 -0
  140. package/dist/commands/database/mysql/import.js +72 -0
  141. package/dist/commands/database/mysql/list.d.ts +22 -0
  142. package/dist/commands/database/mysql/list.js +54 -0
  143. package/dist/commands/database/mysql/phpmyadmin.d.ts +8 -0
  144. package/dist/commands/database/mysql/phpmyadmin.js +25 -0
  145. package/dist/commands/database/mysql/port-forward.d.ts +17 -0
  146. package/dist/commands/database/mysql/port-forward.js +44 -0
  147. package/dist/commands/database/mysql/shell.d.ts +17 -0
  148. package/dist/commands/database/mysql/shell.js +38 -0
  149. package/dist/commands/database/mysql/user/create.d.ts +20 -0
  150. package/dist/commands/database/mysql/user/create.js +67 -0
  151. package/dist/commands/database/mysql/user/delete.d.ts +13 -0
  152. package/dist/commands/database/mysql/user/delete.js +30 -0
  153. package/dist/commands/database/mysql/user/get.d.ts +14 -0
  154. package/dist/commands/database/mysql/user/get.js +19 -0
  155. package/dist/commands/database/mysql/user/list.d.ts +22 -0
  156. package/dist/commands/database/mysql/user/list.js +44 -0
  157. package/dist/commands/database/mysql/user/update.d.ts +21 -0
  158. package/dist/commands/database/mysql/user/update.js +111 -0
  159. package/dist/commands/database/mysql/versions.d.ts +21 -0
  160. package/dist/commands/database/mysql/versions.js +18 -0
  161. package/dist/commands/database/redis/create.d.ts +20 -0
  162. package/dist/commands/database/redis/create.js +83 -0
  163. package/dist/commands/database/redis/get.d.ts +14 -0
  164. package/dist/commands/database/redis/get.js +19 -0
  165. package/dist/commands/database/redis/list.d.ts +22 -0
  166. package/dist/commands/database/redis/list.js +27 -0
  167. package/dist/commands/database/redis/shell.d.ts +16 -0
  168. package/dist/commands/database/redis/shell.js +37 -0
  169. package/dist/commands/database/redis/versions.d.ts +22 -0
  170. package/dist/commands/database/redis/versions.js +23 -0
  171. package/dist/commands/ddev/init.d.ts +34 -0
  172. package/dist/commands/ddev/init.js +179 -0
  173. package/dist/commands/ddev/render-config.d.ts +14 -0
  174. package/dist/commands/ddev/render-config.js +25 -0
  175. package/dist/commands/domain/dnszone/get.d.ts +17 -0
  176. package/dist/commands/domain/dnszone/get.js +32 -0
  177. package/dist/commands/domain/dnszone/list.d.ts +22 -0
  178. package/dist/commands/domain/dnszone/list.js +68 -0
  179. package/dist/commands/domain/dnszone/update.d.ts +28 -0
  180. package/dist/commands/domain/dnszone/update.js +176 -0
  181. package/dist/commands/domain/get.d.ts +17 -0
  182. package/dist/commands/domain/get.js +32 -0
  183. package/dist/commands/domain/list.d.ts +22 -0
  184. package/dist/commands/domain/list.js +40 -0
  185. package/dist/commands/domain/virtualhost/create.d.ts +25 -0
  186. package/dist/commands/domain/virtualhost/create.js +106 -0
  187. package/dist/commands/domain/virtualhost/delete.d.ts +13 -0
  188. package/dist/commands/domain/virtualhost/delete.js +21 -0
  189. package/dist/commands/domain/virtualhost/get.d.ts +14 -0
  190. package/dist/commands/domain/virtualhost/get.js +74 -0
  191. package/dist/commands/domain/virtualhost/list.d.ts +23 -0
  192. package/dist/commands/domain/virtualhost/list.js +65 -0
  193. package/dist/commands/login/reset.d.ts +12 -0
  194. package/dist/commands/login/reset.js +42 -0
  195. package/dist/commands/login/status.d.ts +5 -0
  196. package/dist/commands/login/status.js +23 -0
  197. package/dist/commands/login/token.d.ts +13 -0
  198. package/dist/commands/login/token.js +49 -0
  199. package/dist/commands/mail/address/create.d.ts +34 -0
  200. package/dist/commands/mail/address/create.js +158 -0
  201. package/dist/commands/mail/address/delete.d.ts +13 -0
  202. package/dist/commands/mail/address/delete.js +22 -0
  203. package/dist/commands/mail/address/get.d.ts +16 -0
  204. package/dist/commands/mail/address/get.js +22 -0
  205. package/dist/commands/mail/address/list.d.ts +22 -0
  206. package/dist/commands/mail/address/list.js +50 -0
  207. package/dist/commands/mail/address/update.d.ts +35 -0
  208. package/dist/commands/mail/address/update.js +167 -0
  209. package/dist/commands/mail/deliverybox/create.d.ts +28 -0
  210. package/dist/commands/mail/deliverybox/create.js +91 -0
  211. package/dist/commands/mail/deliverybox/delete.d.ts +13 -0
  212. package/dist/commands/mail/deliverybox/delete.js +22 -0
  213. package/dist/commands/mail/deliverybox/get.d.ts +16 -0
  214. package/dist/commands/mail/deliverybox/get.js +22 -0
  215. package/dist/commands/mail/deliverybox/list.d.ts +23 -0
  216. package/dist/commands/mail/deliverybox/list.js +27 -0
  217. package/dist/commands/mail/deliverybox/update.d.ts +28 -0
  218. package/dist/commands/mail/deliverybox/update.js +91 -0
  219. package/dist/commands/org/delete.d.ts +13 -0
  220. package/dist/commands/org/delete.js +16 -0
  221. package/dist/commands/org/get.d.ts +14 -0
  222. package/dist/commands/org/get.js +52 -0
  223. package/dist/commands/org/invite/list-own.d.ts +57 -0
  224. package/dist/commands/org/invite/list-own.js +39 -0
  225. package/dist/commands/org/invite/list.d.ts +22 -0
  226. package/dist/commands/org/invite/list.js +33 -0
  227. package/dist/commands/org/invite/revoke.d.ts +17 -0
  228. package/dist/commands/org/invite/revoke.js +39 -0
  229. package/dist/commands/org/invite.d.ts +21 -0
  230. package/dist/commands/org/invite.js +53 -0
  231. package/dist/commands/org/list.d.ts +23 -0
  232. package/dist/commands/org/list.js +41 -0
  233. package/dist/commands/org/membership/list-own.d.ts +57 -0
  234. package/dist/commands/org/membership/list-own.js +39 -0
  235. package/dist/commands/org/membership/list.d.ts +56 -0
  236. package/dist/commands/org/membership/list.js +44 -0
  237. package/dist/commands/org/membership/revoke.d.ts +17 -0
  238. package/dist/commands/org/membership/revoke.js +43 -0
  239. package/dist/commands/project/create.d.ts +21 -0
  240. package/dist/commands/project/create.js +66 -0
  241. package/dist/commands/project/delete.d.ts +13 -0
  242. package/dist/commands/project/delete.js +16 -0
  243. package/dist/commands/project/filesystem/usage.d.ts +14 -0
  244. package/dist/commands/project/filesystem/usage.js +58 -0
  245. package/dist/commands/project/get.d.ts +14 -0
  246. package/dist/commands/project/get.js +82 -0
  247. package/dist/commands/project/invite/get.d.ts +14 -0
  248. package/dist/commands/project/invite/get.js +19 -0
  249. package/dist/commands/project/invite/list-own.d.ts +21 -0
  250. package/dist/commands/project/invite/list-own.js +34 -0
  251. package/dist/commands/project/invite/list.d.ts +22 -0
  252. package/dist/commands/project/invite/list.js +35 -0
  253. package/dist/commands/project/list.d.ts +21 -0
  254. package/dist/commands/project/list.js +36 -0
  255. package/dist/commands/project/membership/get-own.d.ts +12 -0
  256. package/dist/commands/project/membership/get-own.js +16 -0
  257. package/dist/commands/project/membership/get.d.ts +14 -0
  258. package/dist/commands/project/membership/get.js +19 -0
  259. package/dist/commands/project/membership/list-own.d.ts +21 -0
  260. package/dist/commands/project/membership/list-own.js +31 -0
  261. package/dist/commands/project/membership/list.d.ts +39 -0
  262. package/dist/commands/project/membership/list.js +54 -0
  263. package/dist/commands/project/ssh.d.ts +13 -0
  264. package/dist/commands/project/ssh.js +23 -0
  265. package/dist/commands/project/update.d.ts +17 -0
  266. package/dist/commands/project/update.js +41 -0
  267. package/dist/commands/server/get.d.ts +14 -0
  268. package/dist/commands/server/get.js +15 -0
  269. package/dist/commands/server/list.d.ts +21 -0
  270. package/dist/commands/server/list.js +46 -0
  271. package/dist/commands/sftp-user/create.d.ts +21 -0
  272. package/dist/commands/sftp-user/create.js +79 -0
  273. package/dist/commands/sftp-user/delete.d.ts +13 -0
  274. package/dist/commands/sftp-user/delete.js +21 -0
  275. package/dist/commands/sftp-user/list.d.ts +24 -0
  276. package/dist/commands/sftp-user/list.js +30 -0
  277. package/dist/commands/sftp-user/update.d.ts +23 -0
  278. package/dist/commands/sftp-user/update.js +96 -0
  279. package/dist/commands/ssh-user/create.d.ts +19 -0
  280. package/dist/commands/ssh-user/create.js +66 -0
  281. package/dist/commands/ssh-user/delete.d.ts +13 -0
  282. package/dist/commands/ssh-user/delete.js +21 -0
  283. package/dist/commands/ssh-user/list.d.ts +24 -0
  284. package/dist/commands/ssh-user/list.js +28 -0
  285. package/dist/commands/ssh-user/update.d.ts +21 -0
  286. package/dist/commands/ssh-user/update.js +85 -0
  287. package/dist/commands/user/api-token/create.d.ts +16 -0
  288. package/dist/commands/user/api-token/create.js +53 -0
  289. package/dist/commands/user/api-token/get.d.ts +14 -0
  290. package/dist/commands/user/api-token/get.js +19 -0
  291. package/dist/commands/user/api-token/list.d.ts +21 -0
  292. package/dist/commands/user/api-token/list.js +27 -0
  293. package/dist/commands/user/api-token/revoke.d.ts +13 -0
  294. package/dist/commands/user/api-token/revoke.js +21 -0
  295. package/dist/commands/user/get.d.ts +15 -0
  296. package/dist/commands/user/get.js +20 -0
  297. package/dist/commands/user/session/get.d.ts +14 -0
  298. package/dist/commands/user/session/get.js +19 -0
  299. package/dist/commands/user/session/list.d.ts +21 -0
  300. package/dist/commands/user/session/list.js +32 -0
  301. package/dist/commands/user/ssh-key/create.d.ts +14 -0
  302. package/dist/commands/user/ssh-key/create.js +69 -0
  303. package/dist/commands/user/ssh-key/delete.d.ts +13 -0
  304. package/dist/commands/user/ssh-key/delete.js +22 -0
  305. package/dist/commands/user/ssh-key/get.d.ts +14 -0
  306. package/dist/commands/user/ssh-key/get.js +19 -0
  307. package/dist/commands/user/ssh-key/import.d.ts +11 -0
  308. package/dist/commands/user/ssh-key/import.js +56 -0
  309. package/dist/commands/user/ssh-key/list.d.ts +23 -0
  310. package/dist/commands/user/ssh-key/list.js +26 -0
  311. package/dist/lib/apiutil/SuccessfulResponse.d.ts +19 -0
  312. package/dist/lib/apiutil/SuccessfulResponse.js +1 -0
  313. package/dist/lib/apiutil/api_consistency.d.ts +2 -0
  314. package/dist/lib/apiutil/api_consistency.js +27 -0
  315. package/dist/lib/apiutil/api_logging.d.ts +8 -0
  316. package/dist/lib/apiutil/api_logging.js +20 -0
  317. package/dist/lib/apiutil/api_retry.d.ts +2 -0
  318. package/dist/lib/apiutil/api_retry.js +43 -0
  319. package/dist/lib/apiutil/assert_success.d.ts +3 -0
  320. package/dist/lib/apiutil/assert_success.js +7 -0
  321. package/dist/lib/auth/token.d.ts +13 -0
  322. package/dist/lib/auth/token.js +44 -0
  323. package/dist/lib/basecommands/BaseCommand.d.ts +7 -0
  324. package/dist/lib/basecommands/BaseCommand.js +25 -0
  325. package/dist/lib/basecommands/CommandFlags.d.ts +6 -0
  326. package/dist/lib/basecommands/CommandFlags.js +1 -0
  327. package/dist/lib/basecommands/DeleteBaseCommand.d.ts +12 -0
  328. package/dist/lib/basecommands/DeleteBaseCommand.js +43 -0
  329. package/dist/lib/basecommands/ExecRenderBaseCommand.d.ts +8 -0
  330. package/dist/lib/basecommands/ExecRenderBaseCommand.js +25 -0
  331. package/dist/lib/basecommands/ExtendedBaseCommand.d.ts +11 -0
  332. package/dist/lib/basecommands/ExtendedBaseCommand.js +28 -0
  333. package/dist/lib/basecommands/GetBaseCommand.d.ts +16 -0
  334. package/dist/lib/basecommands/GetBaseCommand.js +25 -0
  335. package/dist/lib/basecommands/ListBaseCommand.d.ts +30 -0
  336. package/dist/lib/basecommands/ListBaseCommand.js +73 -0
  337. package/dist/lib/basecommands/RenderBaseCommand.d.ts +22 -0
  338. package/dist/lib/basecommands/RenderBaseCommand.js +62 -0
  339. package/dist/lib/context/Context.d.ts +37 -0
  340. package/dist/lib/context/Context.js +65 -0
  341. package/dist/lib/context/ContextProvider.d.ts +6 -0
  342. package/dist/lib/context/ContextProvider.js +1 -0
  343. package/dist/lib/context/DDEVContextProvider.d.ts +21 -0
  344. package/dist/lib/context/DDEVContextProvider.js +81 -0
  345. package/dist/lib/context/FlagSet.d.ts +23 -0
  346. package/dist/lib/context/FlagSet.js +1 -0
  347. package/dist/lib/context/FlagSetBuilder.d.ts +65 -0
  348. package/dist/lib/context/FlagSetBuilder.js +148 -0
  349. package/dist/lib/context/TerraformContextProvider.d.ts +7 -0
  350. package/dist/lib/context/TerraformContextProvider.js +55 -0
  351. package/dist/lib/context/UserContextProvider.d.ts +13 -0
  352. package/dist/lib/context/UserContextProvider.js +54 -0
  353. package/dist/lib/context/WritableContextProvider.d.ts +14 -0
  354. package/dist/lib/context/WritableContextProvider.js +1 -0
  355. package/dist/lib/ddev/config.d.ts +41 -0
  356. package/dist/lib/ddev/config.js +28 -0
  357. package/dist/lib/ddev/config_builder.d.ts +18 -0
  358. package/dist/lib/ddev/config_builder.js +138 -0
  359. package/dist/lib/ddev/config_loader.d.ts +2 -0
  360. package/dist/lib/ddev/config_loader.js +13 -0
  361. package/dist/lib/ddev/config_render.d.ts +2 -0
  362. package/dist/lib/ddev/config_render.js +6 -0
  363. package/dist/lib/ddev/flags.d.ts +12 -0
  364. package/dist/lib/ddev/flags.js +29 -0
  365. package/dist/lib/ddev/init_assert.d.ts +3 -0
  366. package/dist/lib/ddev/init_assert.js +22 -0
  367. package/dist/lib/ddev/init_database.d.ts +19 -0
  368. package/dist/lib/ddev/init_database.js +59 -0
  369. package/dist/lib/ddev/init_projecttype.d.ts +32 -0
  370. package/dist/lib/ddev/init_projecttype.js +102 -0
  371. package/dist/lib/error/InteractiveInputRequiredError.d.ts +7 -0
  372. package/dist/lib/error/InteractiveInputRequiredError.js +11 -0
  373. package/dist/lib/error/UnexpectedShortIDPassedError.d.ts +5 -0
  374. package/dist/lib/error/UnexpectedShortIDPassedError.js +10 -0
  375. package/dist/lib/error/handleError.d.ts +11 -0
  376. package/dist/lib/error/handleError.js +21 -0
  377. package/dist/lib/flags/expireFlags.d.ts +7 -0
  378. package/dist/lib/flags/expireFlags.js +18 -0
  379. package/dist/lib/resources/app/Installer.d.ts +27 -0
  380. package/dist/lib/resources/app/Installer.js +56 -0
  381. package/dist/lib/resources/app/custom_installation.d.ts +7 -0
  382. package/dist/lib/resources/app/custom_installation.js +16 -0
  383. package/dist/lib/resources/app/flags.d.ts +34 -0
  384. package/dist/lib/resources/app/flags.js +236 -0
  385. package/dist/lib/resources/app/hooks.d.ts +12 -0
  386. package/dist/lib/resources/app/hooks.js +43 -0
  387. package/dist/lib/resources/app/install.d.ts +10 -0
  388. package/dist/lib/resources/app/install.js +42 -0
  389. package/dist/lib/resources/app/sync.d.ts +15 -0
  390. package/dist/lib/resources/app/sync.js +55 -0
  391. package/dist/lib/resources/app/upgrade.d.ts +1 -0
  392. package/dist/lib/resources/app/upgrade.js +1 -0
  393. package/dist/lib/resources/app/uuid.d.ts +49 -0
  394. package/dist/lib/resources/app/uuid.js +86 -0
  395. package/dist/lib/resources/app/versions.d.ts +11 -0
  396. package/dist/lib/resources/app/versions.js +85 -0
  397. package/dist/lib/resources/app/wait.d.ts +4 -0
  398. package/dist/lib/resources/app/wait.js +17 -0
  399. package/dist/lib/resources/backup/flags.d.ts +5 -0
  400. package/dist/lib/resources/backup/flags.js +4 -0
  401. package/dist/lib/resources/backup/schedule/flags.d.ts +14 -0
  402. package/dist/lib/resources/backup/schedule/flags.js +18 -0
  403. package/dist/lib/resources/conversation/flags.d.ts +6 -0
  404. package/dist/lib/resources/conversation/flags.js +12 -0
  405. package/dist/lib/resources/conversation/message_input.d.ts +10 -0
  406. package/dist/lib/resources/cronjob/destination.d.ts +4 -0
  407. package/dist/lib/resources/cronjob/destination.js +22 -0
  408. package/dist/lib/resources/cronjob/flags.d.ts +26 -0
  409. package/dist/lib/resources/cronjob/flags.js +28 -0
  410. package/dist/lib/resources/database/common.d.ts +9 -0
  411. package/dist/lib/resources/database/common.js +17 -0
  412. package/dist/lib/resources/database/mysql/connect.d.ts +31 -0
  413. package/dist/lib/resources/database/mysql/connect.js +68 -0
  414. package/dist/lib/resources/database/mysql/flags.d.ts +16 -0
  415. package/dist/lib/resources/database/mysql/flags.js +48 -0
  416. package/dist/lib/resources/database/mysql/temp_user.d.ts +13 -0
  417. package/dist/lib/resources/database/mysql/temp_user.js +52 -0
  418. package/dist/lib/resources/database/mysql/user/flags.d.ts +22 -0
  419. package/dist/lib/resources/database/mysql/user/flags.js +25 -0
  420. package/dist/lib/resources/database/redis/connect.d.ts +8 -0
  421. package/dist/lib/resources/database/redis/connect.js +21 -0
  422. package/dist/lib/resources/database/redis/flags.d.ts +10 -0
  423. package/dist/lib/resources/database/redis/flags.js +35 -0
  424. package/dist/lib/resources/domain/dnszone/flags.d.ts +5 -0
  425. package/dist/lib/resources/domain/dnszone/flags.js +19 -0
  426. package/dist/lib/resources/domain/dnszone/records.d.ts +18 -0
  427. package/dist/lib/resources/domain/dnszone/records.js +18 -0
  428. package/dist/lib/resources/domain/flags.d.ts +5 -0
  429. package/dist/lib/resources/domain/flags.js +20 -0
  430. package/dist/lib/resources/login/useOwnAccount.d.ts +11 -0
  431. package/dist/lib/resources/login/useOwnAccount.js +7 -0
  432. package/dist/lib/resources/mail/commons.d.ts +2 -0
  433. package/dist/lib/resources/mail/commons.js +9 -0
  434. package/dist/lib/resources/mail/flags.d.ts +10 -0
  435. package/dist/lib/resources/mail/flags.js +22 -0
  436. package/dist/lib/resources/org/flags.d.ts +6 -0
  437. package/dist/lib/resources/org/flags.js +10 -0
  438. package/dist/lib/resources/project/flags.d.ts +19 -0
  439. package/dist/lib/resources/project/flags.js +78 -0
  440. package/dist/lib/resources/project/hooks.d.ts +4 -0
  441. package/dist/lib/resources/project/hooks.js +11 -0
  442. package/dist/lib/resources/project/ingress.d.ts +2 -0
  443. package/dist/lib/resources/project/ingress.js +16 -0
  444. package/dist/lib/resources/project/shortId.d.ts +2 -0
  445. package/dist/lib/resources/project/shortId.js +11 -0
  446. package/dist/lib/resources/projectbackup/hooks.d.ts +6 -0
  447. package/dist/lib/resources/projectbackup/hooks.js +19 -0
  448. package/dist/lib/resources/server/flags.d.ts +6 -0
  449. package/dist/lib/resources/server/flags.js +10 -0
  450. package/dist/lib/resources/sftp/flags.d.ts +22 -0
  451. package/dist/lib/resources/sftp/flags.js +28 -0
  452. package/dist/lib/resources/ssh/appinstall.d.ts +3 -0
  453. package/dist/lib/resources/ssh/appinstall.js +28 -0
  454. package/dist/lib/resources/ssh/connection.d.ts +22 -0
  455. package/dist/lib/resources/ssh/connection.js +19 -0
  456. package/dist/lib/resources/ssh/doc.d.ts +10 -0
  457. package/dist/lib/resources/ssh/doc.js +14 -0
  458. package/dist/lib/resources/ssh/exec.d.ts +18 -0
  459. package/dist/lib/resources/ssh/exec.js +52 -0
  460. package/dist/lib/resources/ssh/flags.d.ts +22 -0
  461. package/dist/lib/resources/ssh/flags.js +43 -0
  462. package/dist/lib/resources/ssh/project.d.ts +3 -0
  463. package/dist/lib/resources/ssh/project.js +18 -0
  464. package/dist/lib/resources/ssh/types.d.ts +5 -0
  465. package/dist/lib/resources/ssh/types.js +1 -0
  466. package/dist/lib/units/ByteQuantity.d.ts +23 -0
  467. package/dist/lib/units/ByteQuantity.js +49 -0
  468. package/dist/lib/units/Duration.d.ts +23 -0
  469. package/dist/lib/units/Duration.js +57 -0
  470. package/dist/lib/util/fs/hasBinaryInPath.d.ts +9 -0
  471. package/dist/lib/util/fs/hasBinaryInPath.js +25 -0
  472. package/dist/lib/util/fs/isNotFound.d.ts +8 -0
  473. package/dist/lib/util/fs/isNotFound.js +10 -0
  474. package/dist/lib/util/fs/pathExists.d.ts +7 -0
  475. package/dist/lib/util/fs/pathExists.js +20 -0
  476. package/dist/lib/util/language/articleForWord.d.ts +10 -0
  477. package/dist/lib/util/language/articleForWord.js +12 -0
  478. package/dist/lib/util/maybe.d.ts +12 -0
  479. package/dist/lib/util/maybe.js +17 -0
  480. package/dist/lib/util/mergeObjects.d.ts +7 -0
  481. package/dist/lib/util/mergeObjects.js +12 -0
  482. package/dist/lib/util/password/generatePassword.d.ts +9 -0
  483. package/dist/lib/util/password/generatePassword.js +12 -0
  484. package/dist/lib/util/password/generatePasswordWithSpecialChars.d.ts +9 -0
  485. package/dist/lib/util/password/generatePasswordWithSpecialChars.js +24 -0
  486. package/dist/lib/wait.d.ts +8 -0
  487. package/dist/lib/wait.js +24 -0
  488. package/dist/rendering/Printer.d.ts +12 -0
  489. package/dist/rendering/Printer.js +24 -0
  490. package/dist/rendering/formatter/GetFormatter.d.ts +14 -0
  491. package/dist/rendering/formatter/GetFormatter.js +24 -0
  492. package/dist/rendering/formatter/ListDateColumnFormatter.d.ts +26 -0
  493. package/dist/rendering/formatter/ListDateColumnFormatter.js +28 -0
  494. package/dist/rendering/formatter/ListFormatter.d.ts +29 -0
  495. package/dist/rendering/formatter/ListFormatter.js +85 -0
  496. package/dist/rendering/formatter/Table.d.ts +48 -0
  497. package/dist/rendering/formatter/Table.js +44 -0
  498. package/dist/rendering/formatter/Table.test.d.ts +1 -0
  499. package/dist/rendering/formatter/Table.test.js +105 -0
  500. package/dist/rendering/formatter/TableCSVRenderer.d.ts +12 -0
  501. package/dist/rendering/formatter/TableCSVRenderer.js +41 -0
  502. package/dist/rendering/formatter/TableColumnRenderer.d.ts +38 -0
  503. package/dist/rendering/formatter/TableColumnRenderer.js +128 -0
  504. package/dist/rendering/formatter/TableRenderer.d.ts +15 -0
  505. package/dist/rendering/formatter/TableRenderer.js +1 -0
  506. package/dist/rendering/formatter/printHeader.d.ts +7 -0
  507. package/dist/rendering/formatter/printHeader.js +12 -0
  508. package/dist/rendering/formatter/printKeyValues.d.ts +7 -0
  509. package/dist/rendering/formatter/printKeyValues.js +14 -0
  510. package/dist/rendering/formatter/smartPad.d.ts +1 -0
  511. package/dist/rendering/formatter/smartPad.js +8 -0
  512. package/dist/rendering/formatter/smartPadOrTruncate.d.ts +1 -0
  513. package/dist/rendering/formatter/smartPadOrTruncate.js +5 -0
  514. package/dist/rendering/formatter/smartTruncate.d.ts +1 -0
  515. package/dist/rendering/formatter/smartTruncate.js +9 -0
  516. package/dist/rendering/formatter/smartTruncate.test.d.ts +1 -0
  517. package/dist/rendering/formatter/smartTruncate.test.js +13 -0
  518. package/dist/rendering/lib/getTerminalWidth.d.ts +7 -0
  519. package/dist/rendering/lib/getTerminalWidth.js +9 -0
  520. package/dist/rendering/process/components/InteractiveInputDisabled.d.ts +1 -0
  521. package/dist/rendering/process/components/InteractiveInputDisabled.js +3 -0
  522. package/dist/rendering/process/components/ProcessConfirmation.d.ts +6 -0
  523. package/dist/rendering/process/components/ProcessConfirmation.js +12 -0
  524. package/dist/rendering/process/components/ProcessConfirmationStateSummary.d.ts +5 -0
  525. package/dist/rendering/process/components/ProcessConfirmationStateSummary.js +18 -0
  526. package/dist/rendering/process/components/ProcessError.d.ts +4 -0
  527. package/dist/rendering/process/components/ProcessError.js +10 -0
  528. package/dist/rendering/process/components/ProcessInput.d.ts +6 -0
  529. package/dist/rendering/process/components/ProcessInput.js +15 -0
  530. package/dist/rendering/process/components/ProcessInputStateSummary.d.ts +5 -0
  531. package/dist/rendering/process/components/ProcessInputStateSummary.js +13 -0
  532. package/dist/rendering/process/components/ProcessSelect.d.ts +6 -0
  533. package/dist/rendering/process/components/ProcessSelect.js +63 -0
  534. package/dist/rendering/process/components/ProcessSelectStateSummary.d.ts +4 -0
  535. package/dist/rendering/process/components/ProcessSelectStateSummary.js +10 -0
  536. package/dist/rendering/process/components/ProcessState.d.ts +5 -0
  537. package/dist/rendering/process/components/ProcessState.js +8 -0
  538. package/dist/rendering/process/components/ProcessStateIcon.d.ts +5 -0
  539. package/dist/rendering/process/components/ProcessStateIcon.js +24 -0
  540. package/dist/rendering/process/components/ProcessStateSummary.d.ts +5 -0
  541. package/dist/rendering/process/components/ProcessStateSummary.js +34 -0
  542. package/dist/rendering/process/components/ProcessValidationErrors.d.ts +8 -0
  543. package/dist/rendering/process/components/ProcessValidationErrors.js +17 -0
  544. package/dist/rendering/process/process.d.ts +68 -0
  545. package/dist/rendering/process/process.js +49 -0
  546. package/dist/rendering/process/process_exec.d.ts +3 -0
  547. package/dist/rendering/process/process_exec.js +30 -0
  548. package/dist/rendering/process/process_fancy.d.ts +24 -0
  549. package/dist/rendering/process/process_fancy.js +166 -0
  550. package/dist/rendering/process/process_flags.d.ts +20 -0
  551. package/dist/rendering/process/process_flags.js +29 -0
  552. package/dist/rendering/process/process_quiet.d.ts +16 -0
  553. package/dist/rendering/process/process_quiet.js +43 -0
  554. package/dist/rendering/react/ComponentPrinter.d.ts +7 -0
  555. package/dist/rendering/react/components/AppInstallation/AppInstallationDetails.d.ts +9 -0
  556. package/dist/rendering/react/components/AppInstallation/AppInstallationDetails.js +51 -0
  557. package/dist/rendering/react/components/AppInstallation/AppInstallationStatus.d.ts +10 -0
  558. package/dist/rendering/react/components/AppInstallation/AppInstallationStatus.js +12 -0
  559. package/dist/rendering/react/components/AppInstallation/AppSystemSoftware.d.ts +7 -0
  560. package/dist/rendering/react/components/AppInstallation/AppSystemSoftware.js +18 -0
  561. package/dist/rendering/react/components/BooleanValue.d.ts +4 -0
  562. package/dist/rendering/react/components/BooleanValue.js +9 -0
  563. package/dist/rendering/react/components/ByteFormat.d.ts +12 -0
  564. package/dist/rendering/react/components/ByteFormat.js +11 -0
  565. package/dist/rendering/react/components/CreatedAt.js +10 -0
  566. package/dist/rendering/react/components/CronJob/CronJobDetails.d.ts +8 -0
  567. package/dist/rendering/react/components/CronJob/CronJobDetails.js +48 -0
  568. package/dist/rendering/react/components/DDEV/DDEVInitSuccess.d.ts +1 -0
  569. package/dist/rendering/react/components/DDEV/DDEVInitSuccess.js +9 -0
  570. package/dist/rendering/react/components/DnsZone/DnsZoneDetails.d.ts +7 -0
  571. package/dist/rendering/react/components/DnsZone/DnsZoneDetails.js +12 -0
  572. package/dist/rendering/react/components/DnsZone/DnsZoneRecords.d.ts +7 -0
  573. package/dist/rendering/react/components/DnsZone/DnsZoneRecords.js +17 -0
  574. package/dist/rendering/react/components/DnsZone/DnsZoneRecordsA.d.ts +5 -0
  575. package/dist/rendering/react/components/DnsZone/DnsZoneRecordsA.js +14 -0
  576. package/dist/rendering/react/components/DnsZone/DnsZoneRecordsAAAA.d.ts +5 -0
  577. package/dist/rendering/react/components/DnsZone/DnsZoneRecordsAAAA.js +14 -0
  578. package/dist/rendering/react/components/DnsZone/DnsZoneRecordsMX.d.ts +5 -0
  579. package/dist/rendering/react/components/DnsZone/DnsZoneRecordsMX.js +13 -0
  580. package/dist/rendering/react/components/DnsZone/DnsZoneRecordsSRV.d.ts +5 -0
  581. package/dist/rendering/react/components/DnsZone/DnsZoneRecordsSRV.js +9 -0
  582. package/dist/rendering/react/components/DnsZone/DnsZoneRecordsTXT.d.ts +5 -0
  583. package/dist/rendering/react/components/DnsZone/DnsZoneRecordsTXT.js +9 -0
  584. package/dist/rendering/react/components/DnsZone/RecordComponent.d.ts +4 -0
  585. package/dist/rendering/react/components/DnsZone/RecordComponent.js +1 -0
  586. package/dist/rendering/react/components/DnsZone/RecordSetManagedByMittwald.d.ts +1 -0
  587. package/dist/rendering/react/components/DnsZone/RecordSetManagedByMittwald.js +3 -0
  588. package/dist/rendering/react/components/DnsZone/RecordSetValues.d.ts +4 -0
  589. package/dist/rendering/react/components/DnsZone/RecordSetValues.js +5 -0
  590. package/dist/rendering/react/components/Domain/DomainBaseDetails.d.ts +7 -0
  591. package/dist/rendering/react/components/Domain/DomainBaseDetails.js +13 -0
  592. package/dist/rendering/react/components/Domain/DomainDetails.d.ts +7 -0
  593. package/dist/rendering/react/components/Domain/DomainDetails.js +7 -0
  594. package/dist/rendering/react/components/Domain/DomainHandle.d.ts +8 -0
  595. package/dist/rendering/react/components/Domain/DomainHandle.js +24 -0
  596. package/dist/rendering/react/components/Error/APIError.d.ts +13 -0
  597. package/dist/rendering/react/components/Error/APIError.js +41 -0
  598. package/dist/rendering/react/components/Error/ErrorBox.d.ts +4 -0
  599. package/dist/rendering/react/components/Error/ErrorBox.js +14 -0
  600. package/dist/rendering/react/components/Error/ErrorStack.d.ts +4 -0
  601. package/dist/rendering/react/components/Error/ErrorStack.js +7 -0
  602. package/dist/rendering/react/components/Error/ErrorText.d.ts +3 -0
  603. package/dist/rendering/react/components/Error/ErrorText.js +6 -0
  604. package/dist/rendering/react/components/Error/GenericError.d.ts +12 -0
  605. package/dist/rendering/react/components/Error/GenericError.js +13 -0
  606. package/dist/rendering/react/components/Error/InvalidArgsError.d.ts +4 -0
  607. package/dist/rendering/react/components/Error/InvalidArgsError.js +8 -0
  608. package/dist/rendering/react/components/Error/InvalidFlagsError.d.ts +6 -0
  609. package/dist/rendering/react/components/Error/InvalidFlagsError.js +8 -0
  610. package/dist/rendering/react/components/Error/UnexpectedShortIDPassedErrorBox.d.ts +4 -0
  611. package/dist/rendering/react/components/Error/UnexpectedShortIDPassedErrorBox.js +7 -0
  612. package/dist/rendering/react/components/ErrorBoundary.d.ts +20 -0
  613. package/dist/rendering/react/components/ErrorBoundary.js +32 -0
  614. package/dist/rendering/react/components/ErrorBox.d.ts +10 -0
  615. package/dist/rendering/react/components/ErrorBox.js +38 -0
  616. package/dist/rendering/react/components/FormattedDate.d.ts +8 -0
  617. package/dist/rendering/react/components/FormattedDate.js +16 -0
  618. package/dist/rendering/react/components/Ingress/DnsValidationErrors.d.ts +8 -0
  619. package/dist/rendering/react/components/Ingress/DnsValidationErrors.js +17 -0
  620. package/dist/rendering/react/components/LocalFilename.d.ts +5 -0
  621. package/dist/rendering/react/components/LocalFilename.js +14 -0
  622. package/dist/rendering/react/components/Note.d.ts +10 -0
  623. package/dist/rendering/react/components/Note.js +8 -0
  624. package/dist/rendering/react/components/OptionalValue.d.ts +13 -0
  625. package/dist/rendering/react/components/OptionalValue.js +16 -0
  626. package/dist/rendering/react/components/Organization/CustomerIDAndNumber.d.ts +7 -0
  627. package/dist/rendering/react/components/Organization/CustomerIDAndNumber.js +6 -0
  628. package/dist/rendering/react/components/Organization/OrganizationOrderEligibility.d.ts +6 -0
  629. package/dist/rendering/react/components/Organization/OrganizationOrderEligibility.js +9 -0
  630. package/dist/rendering/react/components/Organization/OrganizationOwner.d.ts +7 -0
  631. package/dist/rendering/react/components/Organization/OrganizationOwner.js +14 -0
  632. package/dist/rendering/react/components/Project/ProjectSimpleStatus.d.ts +7 -0
  633. package/dist/rendering/react/components/Project/ProjectSimpleStatus.js +19 -0
  634. package/dist/rendering/react/components/Project/ProjectStatus.d.ts +18 -0
  635. package/dist/rendering/react/components/Project/ProjectStatus.js +8 -0
  636. package/dist/rendering/react/components/ProjectBackup/ProjectBackupDetails.d.ts +7 -0
  637. package/dist/rendering/react/components/ProjectBackup/ProjectBackupDetails.js +29 -0
  638. package/dist/rendering/react/components/ProjectBackup/ProjectBackupStatus.d.ts +7 -0
  639. package/dist/rendering/react/components/ProjectBackup/ProjectBackupStatus.js +8 -0
  640. package/dist/rendering/react/components/Success.d.ts +10 -0
  641. package/dist/rendering/react/components/Success.js +8 -0
  642. package/dist/rendering/react/components/Value.d.ts +6 -0
  643. package/dist/rendering/react/components/Value.js +8 -0
  644. package/dist/rendering/react/components/Warning.d.ts +4 -0
  645. package/dist/rendering/react/components/Warning.js +7 -0
  646. package/dist/rendering/react/context.d.ts +8 -0
  647. package/dist/rendering/react/error.d.ts +7 -0
  648. package/dist/rendering/react/error.js +12 -0
  649. package/dist/rendering/react/hooks/useIncreaseInkStdoutColumns.d.ts +1 -0
  650. package/dist/rendering/react/hooks/useIncreaseInkStdoutColumns.js +9 -0
  651. package/dist/rendering/react/json/context.d.ts +4 -0
  652. package/dist/rendering/react/lib/observable-value/types.js +1 -0
  653. package/dist/rendering/setup/FlagSupportedSetup.d.ts +12 -0
  654. package/dist/rendering/setup/FlagSupportedSetup.js +22 -0
  655. package/dist/rendering/textformat/formatDate.d.ts +6 -0
  656. package/dist/rendering/textformat/formatDate.js +40 -0
  657. package/dist/rendering/textformat/removeLineBreaks.d.ts +6 -0
  658. package/dist/rendering/textformat/removeLineBreaks.js +8 -0
  659. package/package.json +117 -54
  660. package/bin/dev +0 -17
  661. package/dist/esm/BaseCommand.d.ts +0 -11
  662. package/dist/esm/BaseCommand.js +0 -44
  663. package/dist/esm/DeleteBaseCommand.d.ts +0 -12
  664. package/dist/esm/DeleteBaseCommand.js +0 -43
  665. package/dist/esm/ExtendedBaseCommand.d.ts +0 -7
  666. package/dist/esm/ExtendedBaseCommand.js +0 -16
  667. package/dist/esm/Flags.d.ts +0 -1
  668. package/dist/esm/Flags.js +0 -1
  669. package/dist/esm/Formatter.d.ts +0 -18
  670. package/dist/esm/Formatter.js +0 -33
  671. package/dist/esm/GetBaseCommand.d.ts +0 -17
  672. package/dist/esm/GetBaseCommand.js +0 -27
  673. package/dist/esm/Helpers.d.ts +0 -6
  674. package/dist/esm/Helpers.js +0 -30
  675. package/dist/esm/ListBaseCommand.d.ts +0 -20
  676. package/dist/esm/ListBaseCommand.js +0 -60
  677. package/dist/esm/Printer.d.ts +0 -15
  678. package/dist/esm/Printer.js +0 -30
  679. package/dist/esm/Translator.d.ts +0 -6
  680. package/dist/esm/Translator.js +0 -64
  681. package/dist/esm/commands/app/delete.d.ts +0 -12
  682. package/dist/esm/commands/app/delete.js +0 -45
  683. package/dist/esm/commands/app/dependency/getSystemsoftware.d.ts +0 -3
  684. package/dist/esm/commands/app/dependency/getSystemsoftware.js +0 -6
  685. package/dist/esm/commands/app/dependency/getSystemsoftwareversion.d.ts +0 -3
  686. package/dist/esm/commands/app/dependency/getSystemsoftwareversion.js +0 -6
  687. package/dist/esm/commands/app/dependency/listSystemsoftwares.d.ts +0 -9
  688. package/dist/esm/commands/app/dependency/listSystemsoftwares.js +0 -6
  689. package/dist/esm/commands/app/dependency/listSystemsoftwareversions.d.ts +0 -9
  690. package/dist/esm/commands/app/dependency/listSystemsoftwareversions.js +0 -6
  691. package/dist/esm/commands/app/get.d.ts +0 -3
  692. package/dist/esm/commands/app/get.js +0 -6
  693. package/dist/esm/commands/app/install/wordpress.d.ts +0 -14
  694. package/dist/esm/commands/app/install/wordpress.js +0 -76
  695. package/dist/esm/commands/app/list.d.ts +0 -16
  696. package/dist/esm/commands/app/list.js +0 -64
  697. package/dist/esm/commands/app/versions.d.ts +0 -12
  698. package/dist/esm/commands/app/versions.js +0 -53
  699. package/dist/esm/commands/article/get.d.ts +0 -3
  700. package/dist/esm/commands/article/get.js +0 -6
  701. package/dist/esm/commands/article/list.d.ts +0 -9
  702. package/dist/esm/commands/article/list.js +0 -6
  703. package/dist/esm/commands/context/get.d.ts +0 -10
  704. package/dist/esm/commands/context/get.js +0 -39
  705. package/dist/esm/commands/context/set.d.ts +0 -11
  706. package/dist/esm/commands/context/set.js +0 -37
  707. package/dist/esm/commands/contract/getBaseItemOfContract.d.ts +0 -3
  708. package/dist/esm/commands/contract/getBaseItemOfContract.js +0 -6
  709. package/dist/esm/commands/contract/getDetailOfContract.d.ts +0 -3
  710. package/dist/esm/commands/contract/getDetailOfContract.js +0 -6
  711. package/dist/esm/commands/contract/getDetailOfContractByDomain.d.ts +0 -3
  712. package/dist/esm/commands/contract/getDetailOfContractByDomain.js +0 -6
  713. package/dist/esm/commands/contract/getDetailOfContractByProject.d.ts +0 -3
  714. package/dist/esm/commands/contract/getDetailOfContractByProject.js +0 -6
  715. package/dist/esm/commands/contract/getDetailOfContractByServer.d.ts +0 -3
  716. package/dist/esm/commands/contract/getDetailOfContractByServer.js +0 -6
  717. package/dist/esm/commands/contract/getDetailOfContractItem.d.ts +0 -3
  718. package/dist/esm/commands/contract/getDetailOfContractItem.js +0 -6
  719. package/dist/esm/commands/contract/getNextTerminationDateForItem.d.ts +0 -3
  720. package/dist/esm/commands/contract/getNextTerminationDateForItem.js +0 -6
  721. package/dist/esm/commands/contract/invoiceDetailOfInvoice.d.ts +0 -3
  722. package/dist/esm/commands/contract/invoiceDetailOfInvoice.js +0 -6
  723. package/dist/esm/commands/contract/invoiceGetDetailOfInvoiceSettings.d.ts +0 -3
  724. package/dist/esm/commands/contract/invoiceGetDetailOfInvoiceSettings.js +0 -6
  725. package/dist/esm/commands/contract/invoiceListCustomerInvoices.d.ts +0 -9
  726. package/dist/esm/commands/contract/invoiceListCustomerInvoices.js +0 -6
  727. package/dist/esm/commands/contract/listContracts.d.ts +0 -9
  728. package/dist/esm/commands/contract/listContracts.js +0 -6
  729. package/dist/esm/commands/contract/orderGetOrder.d.ts +0 -3
  730. package/dist/esm/commands/contract/orderGetOrder.js +0 -6
  731. package/dist/esm/commands/contract/orderListCustomerOrders.d.ts +0 -9
  732. package/dist/esm/commands/contract/orderListCustomerOrders.js +0 -6
  733. package/dist/esm/commands/contract/orderListProjectOrders.d.ts +0 -9
  734. package/dist/esm/commands/contract/orderListProjectOrders.js +0 -6
  735. package/dist/esm/commands/conversation/categories.d.ts +0 -11
  736. package/dist/esm/commands/conversation/categories.js +0 -16
  737. package/dist/esm/commands/conversation/close.d.ts +0 -8
  738. package/dist/esm/commands/conversation/close.js +0 -24
  739. package/dist/esm/commands/conversation/create.d.ts +0 -13
  740. package/dist/esm/commands/conversation/create.js +0 -50
  741. package/dist/esm/commands/conversation/list.d.ts +0 -11
  742. package/dist/esm/commands/conversation/list.js +0 -28
  743. package/dist/esm/commands/conversation/reply.d.ts +0 -13
  744. package/dist/esm/commands/conversation/reply.js +0 -30
  745. package/dist/esm/commands/conversation/show.d.ts +0 -8
  746. package/dist/esm/commands/conversation/show.js +0 -78
  747. package/dist/esm/commands/conversation/show2.d.ts +0 -11
  748. package/dist/esm/commands/conversation/show2.js +0 -40
  749. package/dist/esm/commands/database/mysql/charsets.d.ts +0 -9
  750. package/dist/esm/commands/database/mysql/charsets.js +0 -6
  751. package/dist/esm/commands/database/mysql/get.d.ts +0 -3
  752. package/dist/esm/commands/database/mysql/get.js +0 -6
  753. package/dist/esm/commands/database/mysql/list.d.ts +0 -11
  754. package/dist/esm/commands/database/mysql/list.js +0 -54
  755. package/dist/esm/commands/database/mysql/user/get.d.ts +0 -3
  756. package/dist/esm/commands/database/mysql/user/get.js +0 -6
  757. package/dist/esm/commands/database/mysql/user/getMysqlUserPhpMyAdminUrl.d.ts +0 -3
  758. package/dist/esm/commands/database/mysql/user/getMysqlUserPhpMyAdminUrl.js +0 -7
  759. package/dist/esm/commands/database/mysql/user/list.d.ts +0 -9
  760. package/dist/esm/commands/database/mysql/user/list.js +0 -6
  761. package/dist/esm/commands/database/mysql/versions.d.ts +0 -9
  762. package/dist/esm/commands/database/mysql/versions.js +0 -6
  763. package/dist/esm/commands/database/redis/get.d.ts +0 -3
  764. package/dist/esm/commands/database/redis/get.js +0 -6
  765. package/dist/esm/commands/database/redis/list.d.ts +0 -9
  766. package/dist/esm/commands/database/redis/list.js +0 -6
  767. package/dist/esm/commands/database/redis/versions.d.ts +0 -9
  768. package/dist/esm/commands/database/redis/versions.js +0 -6
  769. package/dist/esm/commands/domain/dnszone/get.d.ts +0 -3
  770. package/dist/esm/commands/domain/dnszone/get.js +0 -6
  771. package/dist/esm/commands/domain/dnszone/list.d.ts +0 -3
  772. package/dist/esm/commands/domain/dnszone/list.js +0 -6
  773. package/dist/esm/commands/domain/get-handle.d.ts +0 -3
  774. package/dist/esm/commands/domain/get-handle.js +0 -6
  775. package/dist/esm/commands/domain/get.d.ts +0 -3
  776. package/dist/esm/commands/domain/get.js +0 -6
  777. package/dist/esm/commands/domain/list.d.ts +0 -17
  778. package/dist/esm/commands/domain/list.js +0 -20
  779. package/dist/esm/commands/domain/ownership/get.d.ts +0 -3
  780. package/dist/esm/commands/domain/ownership/get.js +0 -6
  781. package/dist/esm/commands/domain/ownership/list.d.ts +0 -9
  782. package/dist/esm/commands/domain/ownership/list.js +0 -6
  783. package/dist/esm/commands/domain/tld/get.d.ts +0 -3
  784. package/dist/esm/commands/domain/tld/get.js +0 -6
  785. package/dist/esm/commands/domain/tld/list.d.ts +0 -9
  786. package/dist/esm/commands/domain/tld/list.js +0 -6
  787. package/dist/esm/commands/domain/virtualhost/get.d.ts +0 -3
  788. package/dist/esm/commands/domain/virtualhost/get.js +0 -6
  789. package/dist/esm/commands/domain/virtualhost/list.d.ts +0 -20
  790. package/dist/esm/commands/domain/virtualhost/list.js +0 -52
  791. package/dist/esm/commands/login/reset.d.ts +0 -12
  792. package/dist/esm/commands/login/reset.js +0 -39
  793. package/dist/esm/commands/login/status.d.ts +0 -5
  794. package/dist/esm/commands/login/status.js +0 -29
  795. package/dist/esm/commands/login/token.d.ts +0 -10
  796. package/dist/esm/commands/login/token.js +0 -40
  797. package/dist/esm/commands/mail/address/create.d.ts +0 -20
  798. package/dist/esm/commands/mail/address/create.js +0 -61
  799. package/dist/esm/commands/mail/address/delete.d.ts +0 -13
  800. package/dist/esm/commands/mail/address/delete.js +0 -22
  801. package/dist/esm/commands/mail/address/get.d.ts +0 -3
  802. package/dist/esm/commands/mail/address/get.js +0 -6
  803. package/dist/esm/commands/mail/address/list.d.ts +0 -20
  804. package/dist/esm/commands/mail/address/list.js +0 -63
  805. package/dist/esm/commands/mail/deliverybox/get.d.ts +0 -3
  806. package/dist/esm/commands/mail/deliverybox/get.js +0 -6
  807. package/dist/esm/commands/mail/deliverybox/list.d.ts +0 -12
  808. package/dist/esm/commands/mail/deliverybox/list.js +0 -25
  809. package/dist/esm/commands/org/can-order.d.ts +0 -3
  810. package/dist/esm/commands/org/can-order.js +0 -6
  811. package/dist/esm/commands/org/get.d.ts +0 -3
  812. package/dist/esm/commands/org/get.js +0 -6
  813. package/dist/esm/commands/org/invite/get.d.ts +0 -3
  814. package/dist/esm/commands/org/invite/get.js +0 -6
  815. package/dist/esm/commands/org/invite/list-own.d.ts +0 -9
  816. package/dist/esm/commands/org/invite/list-own.js +0 -6
  817. package/dist/esm/commands/org/invite/list.d.ts +0 -9
  818. package/dist/esm/commands/org/invite/list.js +0 -6
  819. package/dist/esm/commands/org/list.d.ts +0 -11
  820. package/dist/esm/commands/org/list.js +0 -28
  821. package/dist/esm/commands/org/membership/get.d.ts +0 -3
  822. package/dist/esm/commands/org/membership/get.js +0 -6
  823. package/dist/esm/commands/org/membership/list-own.d.ts +0 -9
  824. package/dist/esm/commands/org/membership/list-own.js +0 -6
  825. package/dist/esm/commands/org/membership/list.d.ts +0 -9
  826. package/dist/esm/commands/org/membership/list.js +0 -6
  827. package/dist/esm/commands/project/backup/get.d.ts +0 -3
  828. package/dist/esm/commands/project/backup/get.js +0 -6
  829. package/dist/esm/commands/project/backup/list.d.ts +0 -19
  830. package/dist/esm/commands/project/backup/list.js +0 -32
  831. package/dist/esm/commands/project/backupschedule/get.d.ts +0 -3
  832. package/dist/esm/commands/project/backupschedule/get.js +0 -6
  833. package/dist/esm/commands/project/backupschedule/list.d.ts +0 -13
  834. package/dist/esm/commands/project/backupschedule/list.js +0 -21
  835. package/dist/esm/commands/project/create.d.ts +0 -18
  836. package/dist/esm/commands/project/create.js +0 -65
  837. package/dist/esm/commands/project/cronjob/execution/get.d.ts +0 -16
  838. package/dist/esm/commands/project/cronjob/execution/get.js +0 -27
  839. package/dist/esm/commands/project/cronjob/execution/list.d.ts +0 -18
  840. package/dist/esm/commands/project/cronjob/execution/list.js +0 -42
  841. package/dist/esm/commands/project/cronjob/execution/logs.d.ts +0 -15
  842. package/dist/esm/commands/project/cronjob/execution/logs.js +0 -74
  843. package/dist/esm/commands/project/cronjob/get.d.ts +0 -3
  844. package/dist/esm/commands/project/cronjob/get.js +0 -6
  845. package/dist/esm/commands/project/cronjob/list.d.ts +0 -19
  846. package/dist/esm/commands/project/cronjob/list.js +0 -45
  847. package/dist/esm/commands/project/delete.d.ts +0 -14
  848. package/dist/esm/commands/project/delete.js +0 -20
  849. package/dist/esm/commands/project/filesystem/usage.d.ts +0 -14
  850. package/dist/esm/commands/project/filesystem/usage.js +0 -53
  851. package/dist/esm/commands/project/get.d.ts +0 -14
  852. package/dist/esm/commands/project/get.js +0 -78
  853. package/dist/esm/commands/project/invite/get.d.ts +0 -3
  854. package/dist/esm/commands/project/invite/get.js +0 -6
  855. package/dist/esm/commands/project/invite/list-own.d.ts +0 -11
  856. package/dist/esm/commands/project/invite/list-own.js +0 -29
  857. package/dist/esm/commands/project/invite/list.d.ts +0 -12
  858. package/dist/esm/commands/project/invite/list.js +0 -32
  859. package/dist/esm/commands/project/list-react.d.ts +0 -11
  860. package/dist/esm/commands/project/list-react.js +0 -42
  861. package/dist/esm/commands/project/list.d.ts +0 -12
  862. package/dist/esm/commands/project/list.js +0 -33
  863. package/dist/esm/commands/project/membership/get-own.d.ts +0 -4
  864. package/dist/esm/commands/project/membership/get-own.js +0 -11
  865. package/dist/esm/commands/project/membership/get.d.ts +0 -3
  866. package/dist/esm/commands/project/membership/get.js +0 -6
  867. package/dist/esm/commands/project/membership/list-own.d.ts +0 -11
  868. package/dist/esm/commands/project/membership/list-own.js +0 -28
  869. package/dist/esm/commands/project/membership/list.d.ts +0 -25
  870. package/dist/esm/commands/project/membership/list.js +0 -46
  871. package/dist/esm/commands/project/sftp-user/list.d.ts +0 -13
  872. package/dist/esm/commands/project/sftp-user/list.js +0 -24
  873. package/dist/esm/commands/project/ssh-user/list.d.ts +0 -13
  874. package/dist/esm/commands/project/ssh-user/list.js +0 -24
  875. package/dist/esm/commands/project/ssh.d.ts +0 -8
  876. package/dist/esm/commands/project/ssh.js +0 -26
  877. package/dist/esm/commands/project/update.d.ts +0 -8
  878. package/dist/esm/commands/project/update.js +0 -12
  879. package/dist/esm/commands/server/get.d.ts +0 -3
  880. package/dist/esm/commands/server/get.js +0 -6
  881. package/dist/esm/commands/server/list.d.ts +0 -11
  882. package/dist/esm/commands/server/list.js +0 -41
  883. package/dist/esm/commands/user/api-token/create.d.ts +0 -17
  884. package/dist/esm/commands/user/api-token/create.js +0 -64
  885. package/dist/esm/commands/user/api-token/get.d.ts +0 -3
  886. package/dist/esm/commands/user/api-token/get.js +0 -6
  887. package/dist/esm/commands/user/api-token/list.d.ts +0 -11
  888. package/dist/esm/commands/user/api-token/list.js +0 -23
  889. package/dist/esm/commands/user/api-token/revoke.d.ts +0 -13
  890. package/dist/esm/commands/user/api-token/revoke.js +0 -21
  891. package/dist/esm/commands/user/get.d.ts +0 -3
  892. package/dist/esm/commands/user/get.js +0 -6
  893. package/dist/esm/commands/user/session/get.d.ts +0 -3
  894. package/dist/esm/commands/user/session/get.js +0 -6
  895. package/dist/esm/commands/user/session/list.d.ts +0 -11
  896. package/dist/esm/commands/user/session/list.js +0 -26
  897. package/dist/esm/commands/user/ssh-key/create.d.ts +0 -13
  898. package/dist/esm/commands/user/ssh-key/create.js +0 -77
  899. package/dist/esm/commands/user/ssh-key/delete.d.ts +0 -13
  900. package/dist/esm/commands/user/ssh-key/delete.js +0 -22
  901. package/dist/esm/commands/user/ssh-key/get.d.ts +0 -3
  902. package/dist/esm/commands/user/ssh-key/get.js +0 -6
  903. package/dist/esm/commands/user/ssh-key/list.d.ts +0 -11
  904. package/dist/esm/commands/user/ssh-key/list.js +0 -21
  905. package/dist/esm/generated/app/getApp.d.ts +0 -16
  906. package/dist/esm/generated/app/getApp.js +0 -25
  907. package/dist/esm/generated/app/getAppinstallation.d.ts +0 -16
  908. package/dist/esm/generated/app/getAppinstallation.js +0 -25
  909. package/dist/esm/generated/app/getAppversion.d.ts +0 -16
  910. package/dist/esm/generated/app/getAppversion.js +0 -29
  911. package/dist/esm/generated/app/getSystemsoftware.d.ts +0 -16
  912. package/dist/esm/generated/app/getSystemsoftware.js +0 -25
  913. package/dist/esm/generated/app/getSystemsoftwareversion.d.ts +0 -16
  914. package/dist/esm/generated/app/getSystemsoftwareversion.js +0 -29
  915. package/dist/esm/generated/app/listAppinstallations.d.ts +0 -13
  916. package/dist/esm/generated/app/listAppinstallations.js +0 -24
  917. package/dist/esm/generated/app/listApps.d.ts +0 -13
  918. package/dist/esm/generated/app/listApps.js +0 -17
  919. package/dist/esm/generated/app/listAppversions.d.ts +0 -13
  920. package/dist/esm/generated/app/listAppversions.js +0 -24
  921. package/dist/esm/generated/app/listSystemsoftwares.d.ts +0 -13
  922. package/dist/esm/generated/app/listSystemsoftwares.js +0 -17
  923. package/dist/esm/generated/app/listSystemsoftwareversions.d.ts +0 -13
  924. package/dist/esm/generated/app/listSystemsoftwareversions.js +0 -24
  925. package/dist/esm/generated/app/retrieveStatus.d.ts +0 -14
  926. package/dist/esm/generated/app/retrieveStatus.js +0 -24
  927. package/dist/esm/generated/article/getArticle.d.ts +0 -16
  928. package/dist/esm/generated/article/getArticle.js +0 -25
  929. package/dist/esm/generated/article/listArticles.d.ts +0 -13
  930. package/dist/esm/generated/article/listArticles.js +0 -17
  931. package/dist/esm/generated/backup/getProjectBackup.d.ts +0 -16
  932. package/dist/esm/generated/backup/getProjectBackup.js +0 -25
  933. package/dist/esm/generated/backup/getProjectBackupSchedule.d.ts +0 -16
  934. package/dist/esm/generated/backup/getProjectBackupSchedule.js +0 -25
  935. package/dist/esm/generated/backup/listProjectBackupSchedules.d.ts +0 -13
  936. package/dist/esm/generated/backup/listProjectBackupSchedules.js +0 -24
  937. package/dist/esm/generated/backup/listProjectBackups.d.ts +0 -13
  938. package/dist/esm/generated/backup/listProjectBackups.js +0 -24
  939. package/dist/esm/generated/contract/getBaseItemOfContract.d.ts +0 -14
  940. package/dist/esm/generated/contract/getBaseItemOfContract.js +0 -24
  941. package/dist/esm/generated/contract/getDetailOfContract.d.ts +0 -16
  942. package/dist/esm/generated/contract/getDetailOfContract.js +0 -25
  943. package/dist/esm/generated/contract/getDetailOfContractByDomain.d.ts +0 -14
  944. package/dist/esm/generated/contract/getDetailOfContractByDomain.js +0 -24
  945. package/dist/esm/generated/contract/getDetailOfContractByProject.d.ts +0 -14
  946. package/dist/esm/generated/contract/getDetailOfContractByProject.js +0 -24
  947. package/dist/esm/generated/contract/getDetailOfContractByServer.d.ts +0 -14
  948. package/dist/esm/generated/contract/getDetailOfContractByServer.js +0 -24
  949. package/dist/esm/generated/contract/getDetailOfContractItem.d.ts +0 -16
  950. package/dist/esm/generated/contract/getDetailOfContractItem.js +0 -29
  951. package/dist/esm/generated/contract/getNextTerminationDateForItem.d.ts +0 -15
  952. package/dist/esm/generated/contract/getNextTerminationDateForItem.js +0 -28
  953. package/dist/esm/generated/contract/invoiceDetailOfInvoice.d.ts +0 -16
  954. package/dist/esm/generated/contract/invoiceDetailOfInvoice.js +0 -29
  955. package/dist/esm/generated/contract/invoiceGetDetailOfInvoiceSettings.d.ts +0 -14
  956. package/dist/esm/generated/contract/invoiceGetDetailOfInvoiceSettings.js +0 -24
  957. package/dist/esm/generated/contract/invoiceListCustomerInvoices.d.ts +0 -13
  958. package/dist/esm/generated/contract/invoiceListCustomerInvoices.js +0 -24
  959. package/dist/esm/generated/contract/listContracts.d.ts +0 -13
  960. package/dist/esm/generated/contract/listContracts.js +0 -24
  961. package/dist/esm/generated/contract/orderGetOrder.d.ts +0 -16
  962. package/dist/esm/generated/contract/orderGetOrder.js +0 -25
  963. package/dist/esm/generated/contract/orderListCustomerOrders.d.ts +0 -13
  964. package/dist/esm/generated/contract/orderListCustomerOrders.js +0 -24
  965. package/dist/esm/generated/contract/orderListProjectOrders.d.ts +0 -13
  966. package/dist/esm/generated/contract/orderListProjectOrders.js +0 -24
  967. package/dist/esm/generated/conversation/getCategory.d.ts +0 -16
  968. package/dist/esm/generated/conversation/getCategory.js +0 -25
  969. package/dist/esm/generated/conversation/getConversation.d.ts +0 -16
  970. package/dist/esm/generated/conversation/getConversation.js +0 -25
  971. package/dist/esm/generated/conversation/listCategories.d.ts +0 -13
  972. package/dist/esm/generated/conversation/listCategories.js +0 -17
  973. package/dist/esm/generated/conversation/listConversations.d.ts +0 -13
  974. package/dist/esm/generated/conversation/listConversations.js +0 -17
  975. package/dist/esm/generated/conversation/listMessagesByConversation.d.ts +0 -13
  976. package/dist/esm/generated/conversation/listMessagesByConversation.js +0 -24
  977. package/dist/esm/generated/cronjob/getCronjob.d.ts +0 -16
  978. package/dist/esm/generated/cronjob/getCronjob.js +0 -25
  979. package/dist/esm/generated/cronjob/getExecution.d.ts +0 -16
  980. package/dist/esm/generated/cronjob/getExecution.js +0 -29
  981. package/dist/esm/generated/customer/getCustomer.d.ts +0 -16
  982. package/dist/esm/generated/customer/getCustomer.js +0 -25
  983. package/dist/esm/generated/customer/getCustomerCategory.d.ts +0 -16
  984. package/dist/esm/generated/customer/getCustomerCategory.js +0 -25
  985. package/dist/esm/generated/customer/getCustomerInvite.d.ts +0 -16
  986. package/dist/esm/generated/customer/getCustomerInvite.js +0 -25
  987. package/dist/esm/generated/customer/getCustomerMembership.d.ts +0 -16
  988. package/dist/esm/generated/customer/getCustomerMembership.js +0 -25
  989. package/dist/esm/generated/customer/getCustomerTokenInvite.d.ts +0 -14
  990. package/dist/esm/generated/customer/getCustomerTokenInvite.js +0 -16
  991. package/dist/esm/generated/customer/isCustomerLegallyCompetent.d.ts +0 -14
  992. package/dist/esm/generated/customer/isCustomerLegallyCompetent.js +0 -24
  993. package/dist/esm/generated/customer/listCustomerInvites.d.ts +0 -13
  994. package/dist/esm/generated/customer/listCustomerInvites.js +0 -17
  995. package/dist/esm/generated/customer/listCustomerMemberships.d.ts +0 -13
  996. package/dist/esm/generated/customer/listCustomerMemberships.js +0 -17
  997. package/dist/esm/generated/customer/listCustomers.d.ts +0 -13
  998. package/dist/esm/generated/customer/listCustomers.js +0 -17
  999. package/dist/esm/generated/customer/listInvitesForCustomer.d.ts +0 -13
  1000. package/dist/esm/generated/customer/listInvitesForCustomer.js +0 -24
  1001. package/dist/esm/generated/customer/listMembershipsForCustomer.d.ts +0 -13
  1002. package/dist/esm/generated/customer/listMembershipsForCustomer.js +0 -24
  1003. package/dist/esm/generated/customer/listOfCustomerCategories.d.ts +0 -13
  1004. package/dist/esm/generated/customer/listOfCustomerCategories.js +0 -17
  1005. package/dist/esm/generated/database/getMysqlDatabase.d.ts +0 -16
  1006. package/dist/esm/generated/database/getMysqlDatabase.js +0 -25
  1007. package/dist/esm/generated/database/getMysqlUser.d.ts +0 -16
  1008. package/dist/esm/generated/database/getMysqlUser.js +0 -25
  1009. package/dist/esm/generated/database/getMysqlUserPhpMyAdminUrl.d.ts +0 -14
  1010. package/dist/esm/generated/database/getMysqlUserPhpMyAdminUrl.js +0 -24
  1011. package/dist/esm/generated/database/getRedisDatabase.d.ts +0 -16
  1012. package/dist/esm/generated/database/getRedisDatabase.js +0 -25
  1013. package/dist/esm/generated/database/listMysqlCharsets.d.ts +0 -13
  1014. package/dist/esm/generated/database/listMysqlCharsets.js +0 -17
  1015. package/dist/esm/generated/database/listMysqlDatabases.d.ts +0 -13
  1016. package/dist/esm/generated/database/listMysqlDatabases.js +0 -24
  1017. package/dist/esm/generated/database/listMysqlUsers.d.ts +0 -13
  1018. package/dist/esm/generated/database/listMysqlUsers.js +0 -24
  1019. package/dist/esm/generated/database/listMysqlVersions.d.ts +0 -13
  1020. package/dist/esm/generated/database/listMysqlVersions.js +0 -17
  1021. package/dist/esm/generated/database/listRedisDatabases.d.ts +0 -13
  1022. package/dist/esm/generated/database/listRedisDatabases.js +0 -24
  1023. package/dist/esm/generated/database/listRedisVersions.d.ts +0 -13
  1024. package/dist/esm/generated/database/listRedisVersions.js +0 -17
  1025. package/dist/esm/generated/domain/dnsZoneGetSpecific.d.ts +0 -16
  1026. package/dist/esm/generated/domain/dnsZoneGetSpecific.js +0 -25
  1027. package/dist/esm/generated/domain/dnsZonesForProject.d.ts +0 -14
  1028. package/dist/esm/generated/domain/dnsZonesForProject.js +0 -24
  1029. package/dist/esm/generated/domain/getDomain.d.ts +0 -16
  1030. package/dist/esm/generated/domain/getDomain.js +0 -25
  1031. package/dist/esm/generated/domain/getHandleFields.d.ts +0 -16
  1032. package/dist/esm/generated/domain/getHandleFields.js +0 -25
  1033. package/dist/esm/generated/domain/getSpecificDomainOwnership.d.ts +0 -16
  1034. package/dist/esm/generated/domain/getSpecificDomainOwnership.js +0 -25
  1035. package/dist/esm/generated/domain/getToplevelDomain.d.ts +0 -16
  1036. package/dist/esm/generated/domain/getToplevelDomain.js +0 -25
  1037. package/dist/esm/generated/domain/ingressGetSpecific.d.ts +0 -16
  1038. package/dist/esm/generated/domain/ingressGetSpecific.js +0 -25
  1039. package/dist/esm/generated/domain/listDomainOwnerships.d.ts +0 -13
  1040. package/dist/esm/generated/domain/listDomainOwnerships.js +0 -24
  1041. package/dist/esm/generated/domain/listToplevelDomains.d.ts +0 -13
  1042. package/dist/esm/generated/domain/listToplevelDomains.js +0 -17
  1043. package/dist/esm/generated/file/getFile.d.ts +0 -16
  1044. package/dist/esm/generated/file/getFile.js +0 -25
  1045. package/dist/esm/generated/file/getFileMeta.d.ts +0 -14
  1046. package/dist/esm/generated/file/getFileMeta.js +0 -24
  1047. package/dist/esm/generated/file/getFileTokenRules.d.ts +0 -16
  1048. package/dist/esm/generated/file/getFileTokenRules.js +0 -25
  1049. package/dist/esm/generated/file/getFileTypeRules.d.ts +0 -16
  1050. package/dist/esm/generated/file/getFileTypeRules.js +0 -25
  1051. package/dist/esm/generated/mail/deliveryboxGetSpecific.d.ts +0 -16
  1052. package/dist/esm/generated/mail/deliveryboxGetSpecific.js +0 -25
  1053. package/dist/esm/generated/mail/deliveryboxList.d.ts +0 -13
  1054. package/dist/esm/generated/mail/deliveryboxList.js +0 -24
  1055. package/dist/esm/generated/mail/mailaddressGetSpecific.d.ts +0 -16
  1056. package/dist/esm/generated/mail/mailaddressGetSpecific.js +0 -25
  1057. package/dist/esm/generated/mail/mailaddressList.d.ts +0 -13
  1058. package/dist/esm/generated/mail/mailaddressList.js +0 -24
  1059. package/dist/esm/generated/mail/projectsettingGetSpecific.d.ts +0 -14
  1060. package/dist/esm/generated/mail/projectsettingGetSpecific.js +0 -24
  1061. package/dist/esm/generated/notification/newsletterGetInfo.d.ts +0 -14
  1062. package/dist/esm/generated/notification/newsletterGetInfo.js +0 -16
  1063. package/dist/esm/generated/notification/scountUnreadNotifications.d.ts +0 -14
  1064. package/dist/esm/generated/notification/scountUnreadNotifications.js +0 -16
  1065. package/dist/esm/generated/notification/slistNotifications.d.ts +0 -13
  1066. package/dist/esm/generated/notification/slistNotifications.js +0 -17
  1067. package/dist/esm/generated/project/getProject.d.ts +0 -16
  1068. package/dist/esm/generated/project/getProject.js +0 -25
  1069. package/dist/esm/generated/project/getProjectInvite.d.ts +0 -16
  1070. package/dist/esm/generated/project/getProjectInvite.js +0 -25
  1071. package/dist/esm/generated/project/getProjectMembership.d.ts +0 -16
  1072. package/dist/esm/generated/project/getProjectMembership.js +0 -25
  1073. package/dist/esm/generated/project/getProjectTokenInvite.d.ts +0 -14
  1074. package/dist/esm/generated/project/getProjectTokenInvite.js +0 -16
  1075. package/dist/esm/generated/project/getSelfMembershipForProject.d.ts +0 -14
  1076. package/dist/esm/generated/project/getSelfMembershipForProject.js +0 -24
  1077. package/dist/esm/generated/project/getServer.d.ts +0 -16
  1078. package/dist/esm/generated/project/getServer.js +0 -25
  1079. package/dist/esm/generated/project/listInvitesForProject.d.ts +0 -13
  1080. package/dist/esm/generated/project/listInvitesForProject.js +0 -24
  1081. package/dist/esm/generated/project/listMembershipsForProject.d.ts +0 -13
  1082. package/dist/esm/generated/project/listMembershipsForProject.js +0 -24
  1083. package/dist/esm/generated/project/listProjectInvites.d.ts +0 -13
  1084. package/dist/esm/generated/project/listProjectInvites.js +0 -17
  1085. package/dist/esm/generated/project/listProjectMemberships.d.ts +0 -13
  1086. package/dist/esm/generated/project/listProjectMemberships.js +0 -17
  1087. package/dist/esm/generated/project/listProjects.d.ts +0 -13
  1088. package/dist/esm/generated/project/listProjects.js +0 -17
  1089. package/dist/esm/generated/project/listServers.d.ts +0 -13
  1090. package/dist/esm/generated/project/listServers.js +0 -17
  1091. package/dist/esm/generated/sshsftpUser/sftpUserGetSftpUser.d.ts +0 -16
  1092. package/dist/esm/generated/sshsftpUser/sftpUserGetSftpUser.js +0 -25
  1093. package/dist/esm/generated/sshsftpUser/sftpUserListSftpUsers.d.ts +0 -13
  1094. package/dist/esm/generated/sshsftpUser/sftpUserListSftpUsers.js +0 -24
  1095. package/dist/esm/generated/sshsftpUser/sshUserGetSshUser.d.ts +0 -16
  1096. package/dist/esm/generated/sshsftpUser/sshUserGetSshUser.js +0 -25
  1097. package/dist/esm/generated/sshsftpUser/sshUserListSshUsers.d.ts +0 -13
  1098. package/dist/esm/generated/sshsftpUser/sshUserListSshUsers.js +0 -24
  1099. package/dist/esm/generated/user/getApiToken.d.ts +0 -16
  1100. package/dist/esm/generated/user/getApiToken.js +0 -25
  1101. package/dist/esm/generated/user/getEmail.d.ts +0 -14
  1102. package/dist/esm/generated/user/getEmail.js +0 -16
  1103. package/dist/esm/generated/user/getMfaStatus.d.ts +0 -14
  1104. package/dist/esm/generated/user/getMfaStatus.js +0 -16
  1105. package/dist/esm/generated/user/getOwnProfile.d.ts +0 -14
  1106. package/dist/esm/generated/user/getOwnProfile.js +0 -16
  1107. package/dist/esm/generated/user/getPasswordUpdatedAt.d.ts +0 -14
  1108. package/dist/esm/generated/user/getPasswordUpdatedAt.js +0 -16
  1109. package/dist/esm/generated/user/getPersonalizedSettings.d.ts +0 -14
  1110. package/dist/esm/generated/user/getPersonalizedSettings.js +0 -24
  1111. package/dist/esm/generated/user/getSession.d.ts +0 -16
  1112. package/dist/esm/generated/user/getSession.js +0 -25
  1113. package/dist/esm/generated/user/getSshKey.d.ts +0 -16
  1114. package/dist/esm/generated/user/getSshKey.js +0 -25
  1115. package/dist/esm/generated/user/getUser.d.ts +0 -14
  1116. package/dist/esm/generated/user/getUser.js +0 -16
  1117. package/dist/esm/generated/user/listApiTokens.d.ts +0 -13
  1118. package/dist/esm/generated/user/listApiTokens.js +0 -17
  1119. package/dist/esm/generated/user/listFeedback.d.ts +0 -13
  1120. package/dist/esm/generated/user/listFeedback.js +0 -24
  1121. package/dist/esm/generated/user/listSessions.d.ts +0 -13
  1122. package/dist/esm/generated/user/listSessions.js +0 -17
  1123. package/dist/esm/generated/user/listSshKeys.d.ts +0 -13
  1124. package/dist/esm/generated/user/listSshKeys.js +0 -17
  1125. package/dist/esm/generated/user/supportCodeRequest.d.ts +0 -14
  1126. package/dist/esm/generated/user/supportCodeRequest.js +0 -16
  1127. package/dist/esm/lib/app/appHelpers.d.ts +0 -4
  1128. package/dist/esm/lib/app/appHelpers.js +0 -43
  1129. package/dist/esm/lib/app/appVersionHelpers.d.ts +0 -5
  1130. package/dist/esm/lib/app/appVersionHelpers.js +0 -35
  1131. package/dist/esm/lib/bytes.d.ts +0 -1
  1132. package/dist/esm/lib/bytes.js +0 -16
  1133. package/dist/esm/lib/context.d.ts +0 -16
  1134. package/dist/esm/lib/context.js +0 -42
  1135. package/dist/esm/lib/context_flags.d.ts +0 -18
  1136. package/dist/esm/lib/context_flags.js +0 -42
  1137. package/dist/esm/lib/conversation/message_input.d.ts +0 -10
  1138. package/dist/esm/lib/handleError.d.ts +0 -4
  1139. package/dist/esm/lib/handleError.js +0 -17
  1140. package/dist/esm/lib/mergeObjects.d.ts +0 -1
  1141. package/dist/esm/lib/mergeObjects.js +0 -6
  1142. package/dist/esm/lib/notify.d.ts +0 -2
  1143. package/dist/esm/lib/notify.js +0 -5
  1144. package/dist/esm/lib/project/flags.d.ts +0 -5
  1145. package/dist/esm/lib/project/flags.js +0 -3
  1146. package/dist/esm/lib/server/flags.d.ts +0 -5
  1147. package/dist/esm/lib/server/flags.js +0 -3
  1148. package/dist/esm/lib/viewhelpers/date.d.ts +0 -5
  1149. package/dist/esm/lib/viewhelpers/date.js +0 -23
  1150. package/dist/esm/lib/viewhelpers/removeLineBreaks.d.ts +0 -1
  1151. package/dist/esm/lib/viewhelpers/removeLineBreaks.js +0 -1
  1152. package/dist/esm/lib/viewhelpers/size.d.ts +0 -1
  1153. package/dist/esm/lib/viewhelpers/size.js +0 -4
  1154. package/dist/esm/lib/viewhelpers/tui.d.ts +0 -2
  1155. package/dist/esm/lib/viewhelpers/tui.js +0 -13
  1156. package/dist/esm/rendering/lib/getTerminalWidth.d.ts +0 -1
  1157. package/dist/esm/rendering/lib/getTerminalWidth.js +0 -2
  1158. package/dist/esm/rendering/react/ComponentPrinter.d.ts +0 -7
  1159. package/dist/esm/rendering/react/ExecRenderBaseCommand.d.ts +0 -8
  1160. package/dist/esm/rendering/react/ExecRenderBaseCommand.js +0 -15
  1161. package/dist/esm/rendering/react/RenderBaseCommand.d.ts +0 -19
  1162. package/dist/esm/rendering/react/RenderBaseCommand.js +0 -45
  1163. package/dist/esm/rendering/react/components/ByteFormat.d.ts +0 -4
  1164. package/dist/esm/rendering/react/components/ByteFormat.js +0 -12
  1165. package/dist/esm/rendering/react/components/Conversation/ConversationMessage.d.ts +0 -8
  1166. package/dist/esm/rendering/react/components/Conversation/ConversationMessage.js +0 -12
  1167. package/dist/esm/rendering/react/components/Conversation/ConversationMessages.d.ts +0 -8
  1168. package/dist/esm/rendering/react/components/Conversation/ConversationMessages.js +0 -13
  1169. package/dist/esm/rendering/react/components/Conversation/ConversationMeta.d.ts +0 -6
  1170. package/dist/esm/rendering/react/components/Conversation/ConversationMeta.js +0 -25
  1171. package/dist/esm/rendering/react/components/Conversation/ConversationStatusUpdate.d.ts +0 -8
  1172. package/dist/esm/rendering/react/components/Conversation/ConversationStatusUpdate.js +0 -6
  1173. package/dist/esm/rendering/react/components/CreatedAt.js +0 -10
  1174. package/dist/esm/rendering/react/components/FormattedDate.d.ts +0 -7
  1175. package/dist/esm/rendering/react/components/FormattedDate.js +0 -18
  1176. package/dist/esm/rendering/react/components/Note.d.ts +0 -10
  1177. package/dist/esm/rendering/react/components/Note.js +0 -8
  1178. package/dist/esm/rendering/react/components/ProjectReadiness.d.ts +0 -7
  1179. package/dist/esm/rendering/react/components/ProjectReadiness.js +0 -16
  1180. package/dist/esm/rendering/react/components/ProjectStatus.d.ts +0 -7
  1181. package/dist/esm/rendering/react/components/ProjectStatus.js +0 -8
  1182. package/dist/esm/rendering/react/components/Success.d.ts +0 -9
  1183. package/dist/esm/rendering/react/components/Success.js +0 -6
  1184. package/dist/esm/rendering/react/components/Table/BodyCell.d.ts +0 -7
  1185. package/dist/esm/rendering/react/components/Table/BodyCell.js +0 -7
  1186. package/dist/esm/rendering/react/components/Table/BodyRow.d.ts +0 -7
  1187. package/dist/esm/rendering/react/components/Table/BodyRow.js +0 -7
  1188. package/dist/esm/rendering/react/components/Table/BodyRows.d.ts +0 -7
  1189. package/dist/esm/rendering/react/components/Table/BodyRows.js +0 -6
  1190. package/dist/esm/rendering/react/components/Table/CellData.d.ts +0 -6
  1191. package/dist/esm/rendering/react/components/Table/CellData.js +0 -32
  1192. package/dist/esm/rendering/react/components/Table/CellLayout.d.ts +0 -8
  1193. package/dist/esm/rendering/react/components/Table/CellLayout.js +0 -17
  1194. package/dist/esm/rendering/react/components/Table/HeaderCell.d.ts +0 -7
  1195. package/dist/esm/rendering/react/components/Table/HeaderCell.js +0 -7
  1196. package/dist/esm/rendering/react/components/Table/HeaderRow.d.ts +0 -8
  1197. package/dist/esm/rendering/react/components/Table/HeaderRow.js +0 -7
  1198. package/dist/esm/rendering/react/components/Table/RowLayout.d.ts +0 -5
  1199. package/dist/esm/rendering/react/components/Table/RowLayout.js +0 -3
  1200. package/dist/esm/rendering/react/components/Table/Table.d.ts +0 -10
  1201. package/dist/esm/rendering/react/components/Table/Table.js +0 -21
  1202. package/dist/esm/rendering/react/components/Table/context.d.ts +0 -9
  1203. package/dist/esm/rendering/react/components/Table/context.js +0 -7
  1204. package/dist/esm/rendering/react/components/Table/index.d.ts +0 -1
  1205. package/dist/esm/rendering/react/components/Table/index.js +0 -1
  1206. package/dist/esm/rendering/react/components/Table/model/Cell.d.ts +0 -19
  1207. package/dist/esm/rendering/react/components/Table/model/Cell.js +0 -24
  1208. package/dist/esm/rendering/react/components/Table/model/Column.d.ts +0 -16
  1209. package/dist/esm/rendering/react/components/Table/model/Column.js +0 -35
  1210. package/dist/esm/rendering/react/components/Table/model/ColumnName.d.ts +0 -7
  1211. package/dist/esm/rendering/react/components/Table/model/ColumnName.js +0 -17
  1212. package/dist/esm/rendering/react/components/Table/model/ColumnOptions.d.ts +0 -25
  1213. package/dist/esm/rendering/react/components/Table/model/ColumnOptions.js +0 -41
  1214. package/dist/esm/rendering/react/components/Table/model/Row.d.ts +0 -14
  1215. package/dist/esm/rendering/react/components/Table/model/Row.js +0 -37
  1216. package/dist/esm/rendering/react/components/Table/model/Table.d.ts +0 -19
  1217. package/dist/esm/rendering/react/components/Table/model/Table.js +0 -48
  1218. package/dist/esm/rendering/react/components/Table/model/index.d.ts +0 -5
  1219. package/dist/esm/rendering/react/components/Table/model/index.js +0 -5
  1220. package/dist/esm/rendering/react/components/Value.d.ts +0 -5
  1221. package/dist/esm/rendering/react/components/Value.js +0 -8
  1222. package/dist/esm/rendering/react/components/WithoutLineBreaks.d.ts +0 -2
  1223. package/dist/esm/rendering/react/components/WithoutLineBreaks.js +0 -7
  1224. package/dist/esm/rendering/react/context.d.ts +0 -9
  1225. package/dist/esm/rendering/react/hooks/useMyUserProfile.d.ts +0 -2
  1226. package/dist/esm/rendering/react/hooks/useMyUserProfile.js +0 -11
  1227. package/dist/esm/rendering/react/json/context.d.ts +0 -5
  1228. package/dist/esm/rendering/react/measure/MeasureChildren.d.ts +0 -8
  1229. package/dist/esm/rendering/react/measure/MeasureChildren.js +0 -19
  1230. package/dist/esm/rendering/react/measure/MeasureContextProvider.d.ts +0 -2
  1231. package/dist/esm/rendering/react/measure/MeasureContextProvider.js +0 -10
  1232. package/dist/esm/rendering/react/measure/MeasureRenderer.d.ts +0 -2
  1233. package/dist/esm/rendering/react/measure/MeasureRenderer.js +0 -22
  1234. package/dist/esm/rendering/react/measure/context.d.ts +0 -18
  1235. package/dist/esm/rendering/react/measure/context.js +0 -48
  1236. package/dist/esm/rendering/react/process.d.ts +0 -42
  1237. package/dist/esm/rendering/react/process.js +0 -24
  1238. package/dist/esm/rendering/react/process_fancy.d.ts +0 -28
  1239. package/dist/esm/rendering/react/process_fancy.js +0 -213
  1240. package/dist/esm/rendering/react/process_flags.d.ts +0 -9
  1241. package/dist/esm/rendering/react/process_flags.js +0 -15
  1242. package/dist/esm/rendering/react/process_quiet.d.ts +0 -12
  1243. package/dist/esm/rendering/react/process_quiet.js +0 -29
  1244. package/dist/esm/rendering/setup/FlagSupportedSetup.d.ts +0 -15
  1245. package/dist/esm/rendering/setup/FlagSupportedSetup.js +0 -22
  1246. package/dist/esm/rendering/setup/TableRenderSetup.d.ts +0 -11
  1247. package/dist/esm/rendering/setup/TableRenderSetup.js +0 -24
  1248. package/dist/esm/rendering/setup/usePromiseSetup.d.ts +0 -12
  1249. package/dist/esm/rendering/setup/usePromiseSetup.js +0 -11
  1250. package/dist/esm/types.d.ts +0 -8
  1251. /package/bin/{mw.cmd → run.cmd} +0 -0
  1252. /package/dist/{esm/rendering/react/lib/observable-value/types.js → commands/conversation/show.test.d.ts} +0 -0
  1253. /package/dist/{esm/types.js → commands/database/mysql/create.test.d.ts} +0 -0
  1254. /package/dist/{esm/lib → lib/resources}/conversation/message_input.js +0 -0
  1255. /package/dist/{esm/rendering → rendering}/react/ComponentPrinter.js +0 -0
  1256. /package/dist/{esm/rendering → rendering}/react/components/CreatedAt.d.ts +0 -0
  1257. /package/dist/{esm/rendering → rendering}/react/components/Filename.d.ts +0 -0
  1258. /package/dist/{esm/rendering → rendering}/react/components/Filename.js +0 -0
  1259. /package/dist/{esm/rendering → rendering}/react/components/Header.d.ts +0 -0
  1260. /package/dist/{esm/rendering → rendering}/react/components/Header.js +0 -0
  1261. /package/dist/{esm/rendering → rendering}/react/components/IDAndShortID.d.ts +0 -0
  1262. /package/dist/{esm/rendering → rendering}/react/components/IDAndShortID.js +0 -0
  1263. /package/dist/{esm/rendering → rendering}/react/components/JSONView.d.ts +0 -0
  1264. /package/dist/{esm/rendering → rendering}/react/components/JSONView.js +0 -0
  1265. /package/dist/{esm/rendering → rendering}/react/components/ListItem.d.ts +0 -0
  1266. /package/dist/{esm/rendering → rendering}/react/components/ListItem.js +0 -0
  1267. /package/dist/{esm/rendering/react/components → rendering/react/components/Project}/ProjectEnabled.d.ts +0 -0
  1268. /package/dist/{esm/rendering/react/components → rendering/react/components/Project}/ProjectEnabled.js +0 -0
  1269. /package/dist/{esm/rendering → rendering}/react/components/Render.d.ts +0 -0
  1270. /package/dist/{esm/rendering → rendering}/react/components/Render.js +0 -0
  1271. /package/dist/{esm/rendering → rendering}/react/components/SingleResult.d.ts +0 -0
  1272. /package/dist/{esm/rendering → rendering}/react/components/SingleResult.js +0 -0
  1273. /package/dist/{esm/rendering → rendering}/react/context.js +0 -0
  1274. /package/dist/{esm/rendering → rendering}/react/json/JsonCollectionProvider.d.ts +0 -0
  1275. /package/dist/{esm/rendering → rendering}/react/json/JsonCollectionProvider.js +0 -0
  1276. /package/dist/{esm/rendering → rendering}/react/json/JsonRenderer.d.ts +0 -0
  1277. /package/dist/{esm/rendering → rendering}/react/json/JsonRenderer.js +0 -0
  1278. /package/dist/{esm/rendering → rendering}/react/json/RenderJson.d.ts +0 -0
  1279. /package/dist/{esm/rendering → rendering}/react/json/RenderJson.js +0 -0
  1280. /package/dist/{esm/rendering → rendering}/react/json/context.js +0 -0
  1281. /package/dist/{esm/rendering → rendering}/react/json/lib/unpackJsonData.d.ts +0 -0
  1282. /package/dist/{esm/rendering → rendering}/react/json/lib/unpackJsonData.js +0 -0
  1283. /package/dist/{esm/rendering → rendering}/react/lib/observable-value/ObservableValue.d.ts +0 -0
  1284. /package/dist/{esm/rendering → rendering}/react/lib/observable-value/ObservableValue.js +0 -0
  1285. /package/dist/{esm/rendering → rendering}/react/lib/observable-value/types.d.ts +0 -0
  1286. /package/dist/{esm/rendering → rendering}/react/lib/observable-value/useWatchObservableValue.d.ts +0 -0
  1287. /package/dist/{esm/rendering → rendering}/react/lib/observable-value/useWatchObservableValue.js +0 -0
@@ -0,0 +1,8 @@
1
+ import stringWidth from "string-width";
2
+ export default function smartPad(str, length) {
3
+ const underlength = length - stringWidth(str);
4
+ if (underlength <= 0) {
5
+ return str;
6
+ }
7
+ return str + " ".repeat(underlength);
8
+ }
@@ -0,0 +1 @@
1
+ export default function smartPadOrTruncate(str: string, length: number): string;
@@ -0,0 +1,5 @@
1
+ import smartTruncate from "./smartTruncate.js";
2
+ import smartPad from "./smartPad.js";
3
+ export default function smartPadOrTruncate(str, length) {
4
+ return smartTruncate(smartPad(str, length), length);
5
+ }
@@ -0,0 +1 @@
1
+ export default function smartTruncate(str: string, length: number): string;
@@ -0,0 +1,9 @@
1
+ import stringWidth from "string-width";
2
+ import sliceAnsi from "slice-ansi";
3
+ export default function smartTruncate(str, length) {
4
+ const overlength = stringWidth(str) - length;
5
+ if (overlength <= 0) {
6
+ return str;
7
+ }
8
+ return sliceAnsi(str, 0, length - 1) + "…";
9
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,13 @@
1
+ import smartTruncate from "./smartTruncate.js";
2
+ import { expect, describe, it } from "@jest/globals";
3
+ describe("smartTruncate", () => {
4
+ it("leaves short strings as is", () => {
5
+ expect(smartTruncate("short string", 100)).toBe("short string");
6
+ });
7
+ it("truncates long strings", () => {
8
+ expect(smartTruncate("1234567890", 5)).toBe("1234…");
9
+ });
10
+ it("truncates long strings with ANSI escape codes", () => {
11
+ expect(smartTruncate("\u001b[33m1234567890\u001b[0m", 5)).toBe("\u001b[33m1234\u001b[39m…");
12
+ });
13
+ });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Get the width of the terminal, if available.
3
+ *
4
+ * @returns The with of the terminal in characters; undefined if process is not
5
+ * attached to a TTY
6
+ */
7
+ export declare function getTerminalWidth(): number | undefined;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Get the width of the terminal, if available.
3
+ *
4
+ * @returns The with of the terminal in characters; undefined if process is not
5
+ * attached to a TTY
6
+ */
7
+ export function getTerminalWidth() {
8
+ return process.stdout.isTTY ? process.stdout.getWindowSize()[0] : undefined;
9
+ }
@@ -0,0 +1 @@
1
+ export declare const InteractiveInputDisabled: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Text } from "ink";
3
+ export const InteractiveInputDisabled = () => (_jsx(Text, { color: "red", children: "interactive input required; inspect this command's --help page to learn how to pass the required input non-interactively." }));
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ import { ProcessStep } from "../process.js";
3
+ export declare const ProcessConfirmation: React.FC<{
4
+ step: ProcessStep;
5
+ onConfirm: (_: boolean) => void;
6
+ }>;
@@ -0,0 +1,12 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { ProcessState } from "./ProcessState.js";
3
+ import { useInput, useStdin } from "ink";
4
+ export const ProcessConfirmation = ({ step, onConfirm }) => {
5
+ const { isRawModeSupported } = useStdin();
6
+ if (isRawModeSupported) {
7
+ useInput((input) => {
8
+ onConfirm(input === "y");
9
+ });
10
+ }
11
+ return _jsx(ProcessState, { step: step });
12
+ };
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ import { ProcessStepConfirm } from "../process.js";
3
+ export declare const ProcessConfirmationStateSummary: React.FC<{
4
+ step: ProcessStepConfirm;
5
+ }>;
@@ -0,0 +1,18 @@
1
+ import { jsxs as _jsxs, jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { Text, useStdin } from "ink";
3
+ const InteractiveConfirmationDisabled = () => (_jsxs(Text, { color: "red", children: [" ", "interactive input required; start this command with --force or --quiet to disable interactive prompts"] }));
4
+ export const ProcessConfirmationStateSummary = ({ step }) => {
5
+ const { isRawModeSupported } = useStdin();
6
+ if (!isRawModeSupported) {
7
+ return _jsx(InteractiveConfirmationDisabled, {});
8
+ }
9
+ if (step.confirmed) {
10
+ return _jsx(Text, { color: "green", children: " confirmed" });
11
+ }
12
+ else if (step.confirmed === false) {
13
+ return _jsx(Text, { color: "yellow", children: " not confirmed" });
14
+ }
15
+ else {
16
+ return (_jsxs(_Fragment, { children: [_jsx(Text, { children: ": press " }), _jsx(Text, { color: "blue", children: "y" }), _jsx(Text, { children: " or " }), _jsx(Text, { color: "blue", children: "n" }), _jsxs(Text, { color: "gray", children: [" ", "(use the --force or --quiet flags to disable this prompt)"] })] }));
17
+ }
18
+ };
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ export declare const ProcessError: React.FC<{
3
+ err: unknown;
4
+ }>;
@@ -0,0 +1,10 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { isValidationError } from "../../../lib/error/handleError.js";
3
+ import { ProcessValidationErrors } from "./ProcessValidationErrors.js";
4
+ import { Box, Text } from "ink";
5
+ export const ProcessError = ({ err }) => {
6
+ if (isValidationError(err)) {
7
+ return _jsx(ProcessValidationErrors, { err: err.response.data });
8
+ }
9
+ return (_jsxs(Box, { marginY: 1, marginX: 5, flexDirection: "column", children: [_jsx(Text, { color: "red", children: "An error occurred during this operation:" }), _jsx(Text, { color: "red", bold: true, children: err?.toString() })] }));
10
+ };
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ import { ProcessStepInput } from "../process.js";
3
+ export declare const ProcessInput: React.FC<{
4
+ step: ProcessStepInput;
5
+ onSubmit: (_: string) => void;
6
+ }>;
@@ -0,0 +1,15 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { useState } from "react";
3
+ import { ProcessStateIcon } from "./ProcessStateIcon.js";
4
+ import { ProcessState } from "./ProcessState.js";
5
+ import { Box, Text, useStdin } from "ink";
6
+ import TextInput from "ink-text-input";
7
+ import { InteractiveInputDisabled } from "./InteractiveInputDisabled.js";
8
+ export const ProcessInput = ({ step, onSubmit }) => {
9
+ const [value, setValue] = useState("");
10
+ if (!step.value) {
11
+ const { isRawModeSupported } = useStdin();
12
+ return (_jsx(_Fragment, { children: _jsxs(Box, { marginX: 2, children: [_jsx(ProcessStateIcon, { step: step }), _jsxs(Text, { children: [step.title, ": "] }), isRawModeSupported ? (_jsx(Text, { color: "blue", children: _jsx(TextInput, { mask: step.mask ? "*" : undefined, value: value, onChange: setValue, onSubmit: onSubmit }) })) : (_jsx(InteractiveInputDisabled, {}))] }) }));
13
+ }
14
+ return _jsx(ProcessState, { step: step });
15
+ };
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ import { ProcessStepInput } from "../process.js";
3
+ export declare const ProcessInputStateSummary: React.FC<{
4
+ step: ProcessStepInput;
5
+ }>;
@@ -0,0 +1,13 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Text } from "ink";
3
+ export const ProcessInputStateSummary = ({ step }) => {
4
+ if (step.value && step.mask) {
5
+ return (_jsxs(_Fragment, { children: [_jsx(Text, { children: ": " }), _jsx(Text, { color: "blue", children: "[secret]" })] }));
6
+ }
7
+ if (step.value) {
8
+ return (_jsxs(_Fragment, { children: [_jsx(Text, { children: ": " }), _jsx(Text, { color: "green", children: step.value })] }));
9
+ }
10
+ else {
11
+ return _jsx(Text, { children: ": " });
12
+ }
13
+ };
@@ -0,0 +1,6 @@
1
+ import { ProcessStepSelect } from "../process.js";
2
+ export declare function ProcessSelect<TVal>({ step, onSubmit, onError, }: {
3
+ step: ProcessStepSelect<TVal>;
4
+ onSubmit: (_: TVal) => void;
5
+ onError?: (err: unknown) => void;
6
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,63 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { useEffect, useState } from "react";
3
+ import { ProcessStateIcon } from "./ProcessStateIcon.js";
4
+ import { ProcessState } from "./ProcessState.js";
5
+ import { Box, Text, useInput, useStdin } from "ink";
6
+ import { InteractiveInputDisabled } from "./InteractiveInputDisabled.js";
7
+ import InteractiveInputRequiredError from "../../../lib/error/InteractiveInputRequiredError.js";
8
+ function useSelectControls(initial, length, onSelect) {
9
+ const { isRawModeSupported } = useStdin();
10
+ const [value, setValue] = useState(initial);
11
+ const [extraUsageHint, setExtraUsageHint] = useState(false);
12
+ if (!isRawModeSupported) {
13
+ return {
14
+ value: undefined,
15
+ extraUsageHint: false,
16
+ };
17
+ }
18
+ useInput((_, key) => {
19
+ if (key.return) {
20
+ if (value !== undefined) {
21
+ setValue(value);
22
+ onSelect(value);
23
+ }
24
+ else {
25
+ setExtraUsageHint(true);
26
+ }
27
+ }
28
+ else if (key.downArrow) {
29
+ setExtraUsageHint(false);
30
+ setValue((prev) => prev === undefined ? 0 : Math.min(length - 1, prev + 1));
31
+ }
32
+ else if (key.upArrow) {
33
+ setExtraUsageHint(false);
34
+ setValue((prev) => (prev === undefined ? 0 : Math.max(prev - 1, 0)));
35
+ }
36
+ });
37
+ return {
38
+ value,
39
+ extraUsageHint,
40
+ };
41
+ }
42
+ export function ProcessSelect({ step, onSubmit, onError, }) {
43
+ const { value, extraUsageHint } = useSelectControls(Math.max(step.options.findIndex((o) => o.value === step.selected), 0), step.options.length, (idx) => onSubmit(step.options[idx].value));
44
+ const { isRawModeSupported } = useStdin();
45
+ if (step.selected === undefined) {
46
+ if (!isRawModeSupported) {
47
+ useEffect(() => {
48
+ if (onError) {
49
+ onError(new InteractiveInputRequiredError());
50
+ }
51
+ });
52
+ return (_jsxs(Box, { flexDirection: "column", children: [_jsxs(Box, { marginX: 2, children: [_jsx(ProcessStateIcon, { step: step }), _jsxs(Text, { children: [step.title, ": "] })] }), _jsx(Box, { marginX: 8, children: _jsx(InteractiveInputDisabled, {}) })] }));
53
+ }
54
+ return (_jsxs(_Fragment, { children: [_jsxs(Box, { marginX: 2, children: [_jsx(ProcessStateIcon, { step: step }), _jsxs(Text, { children: [step.title, ": "] })] }), _jsxs(Box, { flexDirection: "column", children: [_jsx(SelectUsageHint, { extraHint: extraUsageHint }), step.options.map((option, index) => (_jsx(SelectOption, { selected: index === value, label: option.label }, index)))] })] }));
55
+ }
56
+ return _jsx(ProcessState, { step: step });
57
+ }
58
+ function SelectUsageHint({ extraHint }) {
59
+ return (_jsx(Box, { marginLeft: 4, children: _jsx(Text, { color: extraHint ? "red" : "gray", bold: extraHint, children: "(use the up and down keys to select an option)" }) }));
60
+ }
61
+ function SelectOption({ selected, label, }) {
62
+ return (_jsx(Box, { marginLeft: 4, children: _jsxs(Text, { color: "blue", children: [selected ? "👉︎ " : " ", label] }) }));
63
+ }
@@ -0,0 +1,4 @@
1
+ import { ProcessStepSelect } from "../process.js";
2
+ export declare function ProcessSelectStateSummary<TVal>({ step, }: {
3
+ step: ProcessStepSelect<TVal>;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,10 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Text } from "ink";
3
+ export function ProcessSelectStateSummary({ step, }) {
4
+ if (step.selected) {
5
+ return (_jsxs(_Fragment, { children: [_jsx(Text, { children: ": " }), _jsx(Text, { color: "green", children: step.options.find((o) => o.value === step.selected)?.label })] }));
6
+ }
7
+ else {
8
+ return _jsx(Text, { children: ": " });
9
+ }
10
+ }
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ import { ProcessStep } from "../process.js";
3
+ export declare const ProcessState: React.FC<{
4
+ step: ProcessStep;
5
+ }>;
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { ProcessStateIcon } from "./ProcessStateIcon.js";
3
+ import { ProcessStateSummary } from "./ProcessStateSummary.js";
4
+ import { ProcessError } from "./ProcessError.js";
5
+ import { Box, Text } from "ink";
6
+ export const ProcessState = ({ step }) => {
7
+ return (_jsxs(_Fragment, { children: [_jsxs(Box, { marginX: 2, children: [_jsx(ProcessStateIcon, { step: step }), _jsx(Text, { children: step.title }), _jsx(ProcessStateSummary, { step: step })] }), step.type === "step" && step.output ? (_jsx(Box, { marginX: 6, children: _jsx(Text, { color: "gray", children: step.output.split("\n").slice(-10).join("\n") }) })) : null, step.type === "step" && step.error ? (_jsx(ProcessError, { err: step.error })) : null] }));
8
+ };
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ import { ProcessStep } from "../process.js";
3
+ export declare const ProcessStateIcon: React.FC<{
4
+ step: ProcessStep;
5
+ }>;
@@ -0,0 +1,24 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Text } from "ink";
3
+ export const ProcessStateIcon = ({ step }) => {
4
+ if (step.type === "info") {
5
+ return _jsx(Text, { children: "\uD83D\uDCA1 " });
6
+ }
7
+ else if (step.type === "confirm" ||
8
+ step.type === "input" ||
9
+ step.type === "select") {
10
+ return _jsx(Text, { children: "\u2753" });
11
+ }
12
+ else if (step.phase === "completed") {
13
+ return _jsx(Text, { children: "\u2705" });
14
+ }
15
+ else if (step.phase === "aborted") {
16
+ return _jsx(Text, { children: "\u23E9\uFE0F " });
17
+ }
18
+ else if (step.phase === "failed") {
19
+ return _jsx(Text, { children: "\u274C" });
20
+ }
21
+ else {
22
+ return _jsx(Text, { children: "\uD83D\uDD01 " });
23
+ }
24
+ };
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ import { ProcessStep } from "../process.js";
3
+ export declare const ProcessStateSummary: React.FC<{
4
+ step: ProcessStep;
5
+ }>;
@@ -0,0 +1,34 @@
1
+ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { ProcessConfirmationStateSummary } from "./ProcessConfirmationStateSummary.js";
3
+ import { ProcessInputStateSummary } from "./ProcessInputStateSummary.js";
4
+ import { Text } from "ink";
5
+ import { ProcessSelectStateSummary } from "./ProcessSelectStateSummary.js";
6
+ export const ProcessStateSummary = ({ step, }) => {
7
+ if (step.type === "info") {
8
+ return _jsx(_Fragment, {});
9
+ }
10
+ else if (step.type === "confirm") {
11
+ return _jsx(ProcessConfirmationStateSummary, { step: step });
12
+ }
13
+ else if (step.type === "input") {
14
+ return _jsx(ProcessInputStateSummary, { step: step });
15
+ }
16
+ else if (step.type === "select") {
17
+ return _jsx(ProcessSelectStateSummary, { step: step });
18
+ }
19
+ else if (step.phase === "completed") {
20
+ return (_jsxs(_Fragment, { children: [_jsx(Text, { children: ". " }), _jsx(Text, { color: "green", children: "done" })] }));
21
+ }
22
+ else if (step.phase === "aborted") {
23
+ return (_jsxs(_Fragment, { children: [_jsx(Text, { children: ". " }), _jsx(Text, { color: "yellow", children: "cancelled" })] }));
24
+ }
25
+ else if (step.phase === "failed") {
26
+ return (_jsxs(_Fragment, { children: [_jsx(Text, { children: ". " }), _jsx(Text, { color: "red", children: "error" })] }));
27
+ }
28
+ else {
29
+ if (step.progress) {
30
+ return (_jsxs(_Fragment, { children: [_jsx(Text, { children: "... " }), _jsx(Text, { color: "blue", children: step.progress })] }));
31
+ }
32
+ return _jsx(Text, { children: "..." });
33
+ }
34
+ };
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import type { MittwaldAPIV2 } from "@mittwald/api-client";
3
+ type CommonsValidationErrors = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
4
+ export declare const ProcessValidationErrors: React.FC<{
5
+ err: CommonsValidationErrors;
6
+ color?: string;
7
+ }>;
8
+ export {};
@@ -0,0 +1,17 @@
1
+ import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
2
+ import { Box, Text } from "ink";
3
+ const boxProps = {
4
+ marginY: 1,
5
+ marginX: 5,
6
+ paddingX: 1,
7
+ borderColor: "color",
8
+ borderStyle: "round",
9
+ flexDirection: "column",
10
+ width: 80,
11
+ };
12
+ export const ProcessValidationErrors = ({ err, color = "red" }) => {
13
+ const errorItems = err.validationErrors.map((e, idx) => {
14
+ return (_jsxs(Box, { flexDirection: "row", children: [e.path && (_jsx(Box, { minWidth: e.path + 2, children: _jsxs(Text, { color: color, bold: true, children: [e.path, ":", " "] }) })), _jsx(Text, { color: color, children: e.message })] }, idx));
15
+ });
16
+ return (_jsxs(Box, { ...boxProps, children: [_jsx(Text, { color: color, children: "Your input contained invalid data:" }), _jsx(Box, { flexDirection: "column", marginY: 1, children: errorItems }), _jsx(Text, { color: color, children: "Please correct the errors and try again. Consult this command's help page (by invoking it with the --help flag) for more information." })] }));
17
+ };
@@ -0,0 +1,68 @@
1
+ import { ReactElement, ReactNode } from "react";
2
+ export type ProcessStepInfo = {
3
+ type: "info";
4
+ title: ReactNode;
5
+ };
6
+ export type ProcessStepRunnable = {
7
+ type: "step";
8
+ title: ReactNode;
9
+ phase: "running" | "completed" | "failed" | "aborted";
10
+ error?: unknown;
11
+ progress?: string;
12
+ output?: string;
13
+ };
14
+ export type ProcessStepConfirm = {
15
+ type: "confirm";
16
+ title: ReactNode;
17
+ confirmed: boolean | undefined;
18
+ };
19
+ export type ProcessStepInput = {
20
+ type: "input";
21
+ title: ReactNode;
22
+ mask?: boolean;
23
+ value?: string;
24
+ };
25
+ export type ProcessStepSelect<TVal> = {
26
+ type: "select";
27
+ title: ReactNode;
28
+ options: {
29
+ value: TVal;
30
+ label: ReactNode;
31
+ }[];
32
+ selected?: TVal;
33
+ };
34
+ export type ProcessStep = ProcessStepInfo | ProcessStepRunnable | ProcessStepConfirm | ProcessStepInput | ProcessStepSelect<unknown>;
35
+ export type CleanupFunction = {
36
+ title: ReactNode;
37
+ fn: () => Promise<unknown>;
38
+ };
39
+ export declare class RunnableHandler {
40
+ private readonly listener;
41
+ private readonly processStep;
42
+ private readonly promise;
43
+ private resolve;
44
+ private reject;
45
+ constructor(state: ProcessStepRunnable, l: () => void);
46
+ get done(): boolean;
47
+ wait(): Promise<void>;
48
+ abort(): void;
49
+ complete(): void;
50
+ progress(p: string): void;
51
+ appendOutput(o: string): void;
52
+ error(err: unknown): void;
53
+ }
54
+ export interface ProcessRenderer {
55
+ start(): void;
56
+ addStep(title: ReactNode): RunnableHandler;
57
+ runStep<TRes>(title: ReactNode, fn: () => Promise<TRes>): Promise<TRes>;
58
+ addInfo(title: ReactNode): void;
59
+ addConfirmation(question: ReactNode): Promise<boolean>;
60
+ addInput(question: ReactNode, mask?: boolean): Promise<string>;
61
+ addSelect<TVal>(question: ReactNode, options: {
62
+ value: TVal;
63
+ label: ReactNode;
64
+ }[]): Promise<TVal>;
65
+ addCleanup(title: ReactNode, fn: () => Promise<unknown>): void;
66
+ complete(summary: ReactElement): Promise<void>;
67
+ error(err: unknown): Promise<void>;
68
+ }
@@ -0,0 +1,49 @@
1
+ export class RunnableHandler {
2
+ listener;
3
+ processStep;
4
+ promise;
5
+ resolve = () => { };
6
+ reject = () => { };
7
+ constructor(state, l) {
8
+ this.processStep = state;
9
+ this.listener = l;
10
+ this.promise = new Promise((res, rej) => {
11
+ this.resolve = res;
12
+ this.reject = rej;
13
+ });
14
+ this.promise.catch(() => { });
15
+ }
16
+ get done() {
17
+ return this.processStep.phase !== "running";
18
+ }
19
+ wait() {
20
+ return this.promise;
21
+ }
22
+ abort() {
23
+ this.processStep.phase = "aborted";
24
+ this.listener();
25
+ this.resolve();
26
+ }
27
+ complete() {
28
+ this.processStep.phase = "completed";
29
+ this.listener();
30
+ this.resolve();
31
+ }
32
+ progress(p) {
33
+ this.processStep.progress = p;
34
+ this.listener();
35
+ }
36
+ appendOutput(o) {
37
+ if (this.processStep.output === undefined) {
38
+ this.processStep.output = "";
39
+ }
40
+ this.processStep.output += o;
41
+ this.listener();
42
+ }
43
+ error(err) {
44
+ this.processStep.phase = "failed";
45
+ this.processStep.error = err;
46
+ this.listener();
47
+ this.reject(err);
48
+ }
49
+ }
@@ -0,0 +1,3 @@
1
+ import { ProcessRenderer } from "./process.js";
2
+ import { ReactNode } from "react";
3
+ export declare function spawnInProcess(r: ProcessRenderer, title: ReactNode, cmd: string, args: string[]): Promise<void>;
@@ -0,0 +1,30 @@
1
+ import { spawn } from "child_process";
2
+ import debug from "debug";
3
+ const d = debug("mw:exec");
4
+ export async function spawnInProcess(r, title, cmd, args) {
5
+ const step = r.addStep(title);
6
+ d("spawning %o with args %o", cmd, args);
7
+ const child = spawn(cmd, args, {
8
+ shell: false,
9
+ stdio: ["inherit", "pipe", "pipe"],
10
+ });
11
+ const appendOutput = (chunk) => {
12
+ if (typeof chunk === "string") {
13
+ step.appendOutput(chunk);
14
+ }
15
+ if (Buffer.isBuffer(chunk)) {
16
+ step.appendOutput(chunk.toString());
17
+ }
18
+ };
19
+ child.stdout.on("data", appendOutput);
20
+ child.stderr.on("data", appendOutput);
21
+ child.on("exit", (code) => {
22
+ if (code === 0) {
23
+ step.complete();
24
+ }
25
+ else {
26
+ step.error(new Error(`${cmd} exited with code ${code}`));
27
+ }
28
+ });
29
+ await step.wait();
30
+ }
@@ -0,0 +1,24 @@
1
+ import React, { ReactElement, ReactNode } from "react";
2
+ import { ProcessRenderer, RunnableHandler } from "./process.js";
3
+ export declare class FancyProcessRenderer implements ProcessRenderer {
4
+ private readonly title;
5
+ private started;
6
+ private currentHandler;
7
+ private cleanupFns;
8
+ constructor(title: string);
9
+ start(): void;
10
+ addStep(title: ReactNode): RunnableHandler;
11
+ runStep<TRes>(title: ReactNode, fn: () => Promise<TRes>): Promise<TRes>;
12
+ addInfo(title: ReactNode): void;
13
+ addInput(question: React.ReactElement, mask?: boolean): Promise<string>;
14
+ addSelect<TVal>(question: React.ReactNode, options: {
15
+ value: TVal;
16
+ label: React.ReactNode;
17
+ }[]): Promise<TVal>;
18
+ addConfirmation(question: ReactElement): Promise<boolean>;
19
+ complete(summary: ReactElement): Promise<void>;
20
+ error(err: unknown): Promise<void>;
21
+ private renderStart;
22
+ addCleanup(title: ReactNode, fn: () => Promise<unknown>): void;
23
+ private cleanup;
24
+ }