@codiac.io/codiac-cli 1.2.175 → 1.2.202

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 (1274) hide show
  1. package/README.md +4696 -4634
  2. package/bin/dev +16 -16
  3. package/bin/dev.cmd +2 -2
  4. package/bin/run +3 -3
  5. package/bin/run.cmd +3 -3
  6. package/codiac.json +1 -1
  7. package/dist/apis/codiac-api/common/api-client-base.d.ts +165 -0
  8. package/dist/apis/codiac-api/common/api-client-base.js +548 -0
  9. package/dist/apis/codiac-api/common/api-client-base.js.map +1 -0
  10. package/dist/apis/codiac-api/common/api-user-creds.d.ts +7 -0
  11. package/dist/apis/codiac-api/common/api-user-creds.js +19 -0
  12. package/dist/apis/codiac-api/common/api-user-creds.js.map +1 -0
  13. package/dist/apis/codiac-api/common/config-loader.d.ts +6 -0
  14. package/dist/apis/codiac-api/common/config-loader.js +19 -0
  15. package/dist/apis/codiac-api/common/endpoint-spec.d.ts +17 -0
  16. package/dist/apis/codiac-api/common/endpoint-spec.js +28 -0
  17. package/dist/apis/codiac-api/common/security/api-auth-methods-legacy.d.ts +87 -0
  18. package/dist/apis/codiac-api/common/security/api-auth-methods-legacy.js +368 -0
  19. package/dist/apis/codiac-api/common/security/api-auth-methods-legacy.js.map +1 -0
  20. package/dist/apis/codiac-api/common/security/auth-constants.d.ts +15 -0
  21. package/dist/apis/codiac-api/common/security/auth-constants.js +22 -0
  22. package/dist/apis/codiac-api/common/security/i-auth-client.d.ts +44 -0
  23. package/dist/apis/codiac-api/common/security/i-auth-client.js +3 -0
  24. package/dist/apis/codiac-api/common/security/token-holder.d.ts +13 -0
  25. package/dist/apis/codiac-api/common/security/token-holder.js +18 -0
  26. package/dist/apis/codiac-api/common/utils.d.ts +23 -0
  27. package/dist/apis/codiac-api/common/utils.js +83 -0
  28. package/dist/apis/codiac-api/contracts/index.d.ts +1 -0
  29. package/dist/apis/codiac-api/contracts/index.js +5 -0
  30. package/dist/apis/codiac-api/gen/client-config.d.ts +10 -0
  31. package/dist/apis/codiac-api/gen/client-config.js +29 -0
  32. package/dist/apis/codiac-api/gen/client-config.js.map +1 -0
  33. package/dist/apis/codiac-api/gen/client.d.ts +1663 -0
  34. package/dist/apis/codiac-api/gen/client.js +15630 -0
  35. package/dist/apis/codiac-api/gen/client.js.map +1 -0
  36. package/dist/apis/codiac-api/gen/contracts.d.ts +2722 -0
  37. package/dist/apis/codiac-api/gen/contracts.js +403 -0
  38. package/dist/apis/codiac-api/index.d.ts +3 -0
  39. package/dist/apis/codiac-api/index.js +9 -0
  40. package/dist/apis/codiac-relay/common/api-client-base.d.ts +165 -0
  41. package/dist/apis/codiac-relay/common/api-client-base.js +548 -0
  42. package/dist/apis/codiac-relay/common/api-client-base.js.map +1 -0
  43. package/dist/apis/codiac-relay/common/api-user-creds.d.ts +7 -0
  44. package/dist/apis/codiac-relay/common/api-user-creds.js +19 -0
  45. package/dist/apis/codiac-relay/common/api-user-creds.js.map +1 -0
  46. package/dist/apis/codiac-relay/common/config-loader.d.ts +6 -0
  47. package/dist/apis/codiac-relay/common/config-loader.js +19 -0
  48. package/dist/apis/codiac-relay/common/endpoint-spec.d.ts +17 -0
  49. package/dist/apis/codiac-relay/common/endpoint-spec.js +28 -0
  50. package/dist/apis/codiac-relay/common/security/api-auth-methods-legacy.d.ts +87 -0
  51. package/dist/apis/codiac-relay/common/security/api-auth-methods-legacy.js +368 -0
  52. package/dist/apis/codiac-relay/common/security/api-auth-methods-legacy.js.map +1 -0
  53. package/dist/apis/codiac-relay/common/security/auth-constants.d.ts +15 -0
  54. package/dist/apis/codiac-relay/common/security/auth-constants.js +22 -0
  55. package/dist/apis/codiac-relay/common/security/i-auth-client.d.ts +44 -0
  56. package/dist/apis/codiac-relay/common/security/i-auth-client.js +3 -0
  57. package/dist/apis/codiac-relay/common/security/token-holder.d.ts +13 -0
  58. package/dist/apis/codiac-relay/common/security/token-holder.js +18 -0
  59. package/dist/apis/codiac-relay/common/utils.d.ts +23 -0
  60. package/dist/apis/codiac-relay/common/utils.js +83 -0
  61. package/dist/apis/codiac-relay/contracts/index.d.ts +1 -0
  62. package/dist/apis/codiac-relay/contracts/index.js +5 -0
  63. package/dist/apis/codiac-relay/gen/client-config.d.ts +10 -0
  64. package/dist/apis/codiac-relay/gen/client-config.js +29 -0
  65. package/dist/apis/codiac-relay/gen/client-config.js.map +1 -0
  66. package/dist/apis/codiac-relay/gen/client.d.ts +244 -0
  67. package/dist/apis/codiac-relay/gen/client.js +1863 -0
  68. package/dist/apis/codiac-relay/gen/client.js.map +1 -0
  69. package/dist/apis/codiac-relay/gen/contracts.d.ts +3111 -0
  70. package/dist/apis/codiac-relay/gen/contracts.js +435 -0
  71. package/dist/apis/codiac-relay/index.d.ts +3 -0
  72. package/dist/apis/codiac-relay/index.js +9 -0
  73. package/dist/cli-common/ImagesList.js +67 -0
  74. package/dist/cli-common/argument-manager.d.ts +28 -0
  75. package/dist/cli-common/argument-manager.js +195 -0
  76. package/dist/cli-common/built-in-cli-user-input.d.ts +18 -0
  77. package/dist/cli-common/built-in-cli-user-input.js +310 -0
  78. package/dist/cli-common/built-in-cli-user-input.js.map +1 -0
  79. package/dist/cli-common/cli-interfaces.js +7 -0
  80. package/dist/cli-common/command-base.d.ts +72 -0
  81. package/dist/cli-common/command-base.js +182 -0
  82. package/dist/cli-common/entities/index.d.ts +1 -0
  83. package/dist/cli-common/entities/index.js +5 -0
  84. package/dist/cli-common/entities/prompt-choice.d.ts +7 -0
  85. package/dist/cli-common/entities/prompt-choice.js +3 -0
  86. package/dist/cli-common/file-selector.d.ts +48 -0
  87. package/dist/cli-common/file-selector.js +187 -0
  88. package/dist/cli-common/i-user-input-provider.js +19 -0
  89. package/dist/cli-common/index.d.ts +4 -0
  90. package/dist/cli-common/index.js +11 -0
  91. package/dist/cli-common/mock-ui.d.ts +27 -0
  92. package/dist/cli-common/mock-ui.js +83 -0
  93. package/dist/cli-common/prompt-select-fuzzy.d.ts +19 -0
  94. package/dist/cli-common/prompt-select-fuzzy.js +119 -0
  95. package/dist/cli-common/prompt-select-fuzzy.js.map +1 -0
  96. package/dist/cli-common/tenant-contextualizer.js +436 -0
  97. package/dist/cli-common/test/tenant-contextualizer.spec.js +143 -0
  98. package/dist/cli-entities/output-format-enum.d.ts +7 -0
  99. package/dist/cli-entities/output-format-enum.js +12 -0
  100. package/dist/cli-entities/prompt-choice.js +6 -0
  101. package/dist/codiac-constants.d.ts +35 -0
  102. package/dist/codiac-constants.js +41 -0
  103. package/dist/codiac-entities/asset-binding.d.ts +12 -0
  104. package/dist/codiac-entities/asset-binding.js +18 -0
  105. package/dist/codiac-entities/azure-container-registry.d.ts +4 -0
  106. package/dist/codiac-entities/azure-container-registry.js +3 -0
  107. package/dist/codiac-entities/azure-service-principal.d.ts +23 -0
  108. package/dist/codiac-entities/azure-service-principal.js +24 -0
  109. package/dist/codiac-entities/cloud-account-ref.d.ts +28 -0
  110. package/dist/codiac-entities/cloud-account-ref.js +37 -0
  111. package/dist/codiac-entities/deployment-temp.js +133 -0
  112. package/dist/codiac-entities/i-cloud-account-ref.d.ts +5 -0
  113. package/dist/codiac-entities/i-cloud-account-ref.js +3 -0
  114. package/dist/command-base-enterprise.d.ts +121 -0
  115. package/dist/command-base-enterprise.js +524 -0
  116. package/dist/command-base-tenantless.d.ts +44 -0
  117. package/dist/command-base-tenantless.js +180 -0
  118. package/dist/commands/asset/create.d.ts +42 -0
  119. package/dist/commands/asset/create.js +467 -0
  120. package/dist/commands/asset/destroy.d.ts +20 -0
  121. package/dist/commands/asset/destroy.js +129 -0
  122. package/dist/commands/asset/helm.d.ts +23 -0
  123. package/dist/commands/asset/helm.js +153 -0
  124. package/dist/commands/asset/list.d.ts +28 -0
  125. package/dist/commands/asset/list.js +172 -0
  126. package/dist/commands/asset/probe/create.d.ts +38 -0
  127. package/dist/commands/asset/probe/create.js +187 -0
  128. package/dist/commands/asset/recycle.d.ts +23 -0
  129. package/dist/commands/asset/recycle.js +175 -0
  130. package/dist/commands/asset/view.d.ts +188 -0
  131. package/dist/commands/asset/view.js +1365 -0
  132. package/dist/commands/asset/volume/create.d.ts +23 -0
  133. package/dist/commands/asset/volume/create.js +176 -0
  134. package/dist/commands/asset/volume/delete.d.ts +19 -0
  135. package/dist/commands/asset/volume/delete.js +112 -0
  136. package/dist/commands/asset/volume/list.d.ts +19 -0
  137. package/dist/commands/asset/volume/list.js +70 -0
  138. package/dist/commands/branch/current.d.ts +10 -0
  139. package/dist/commands/branch/current.js +34 -0
  140. package/dist/commands/branch/list.d.ts +15 -0
  141. package/dist/commands/branch/list.js +56 -0
  142. package/dist/commands/branch.d.ts +12 -0
  143. package/dist/commands/branch.js +42 -0
  144. package/dist/commands/build.d.ts +38 -0
  145. package/dist/commands/build.js +120 -0
  146. package/dist/commands/cabinet/create.d.ts +21 -0
  147. package/dist/commands/cabinet/create.js +108 -0
  148. package/dist/commands/cabinet/list.d.ts +23 -0
  149. package/dist/commands/cabinet/list.js +134 -0
  150. package/dist/commands/cabinet/obliterate.d.ts +20 -0
  151. package/dist/commands/cabinet/obliterate.js +83 -0
  152. package/dist/commands/cli.d.ts +10 -0
  153. package/dist/commands/cli.js +100 -0
  154. package/dist/commands/commit.d.ts +11 -0
  155. package/dist/commands/commit.js +40 -0
  156. package/dist/commands/config/add.d.ts +78 -0
  157. package/dist/commands/config/add.js +560 -0
  158. package/dist/commands/config/delete.d.ts +18 -0
  159. package/dist/commands/config/delete.js +119 -0
  160. package/dist/commands/config/deploy.d.ts +22 -0
  161. package/dist/commands/config/deploy.js +125 -0
  162. package/dist/commands/config/import.d.ts +27 -0
  163. package/dist/commands/config/import.js +196 -0
  164. package/dist/commands/config/view.d.ts +25 -0
  165. package/dist/commands/config/view.js +121 -0
  166. package/dist/commands/csp/login.d.ts +18 -0
  167. package/dist/commands/csp/login.js +123 -0
  168. package/dist/commands/csp/logout.d.ts +15 -0
  169. package/dist/commands/csp/logout.js +74 -0
  170. package/dist/commands/dep/create.d.ts +13 -0
  171. package/dist/commands/dep/create.js +41 -0
  172. package/dist/commands/dep/install.d.ts +9 -0
  173. package/dist/commands/dep/install.js +30 -0
  174. package/dist/commands/dep/list.d.ts +55 -0
  175. package/dist/commands/dep/list.js +98 -0
  176. package/dist/commands/dep/remove.d.ts +12 -0
  177. package/dist/commands/dep/remove.js +62 -0
  178. package/dist/commands/dep/source.d.ts +13 -0
  179. package/dist/commands/dep/source.js +83 -0
  180. package/dist/commands/dep/syncup.d.ts +11 -0
  181. package/dist/commands/dep/syncup.js +54 -0
  182. package/dist/commands/dep/unsource.d.ts +14 -0
  183. package/dist/commands/dep/unsource.js +68 -0
  184. package/dist/commands/dep/upgrade.d.ts +44 -0
  185. package/dist/commands/dep/upgrade.js +244 -0
  186. package/dist/commands/dep.d.ts +12 -0
  187. package/dist/commands/dep.js +51 -0
  188. package/dist/commands/deploy.d.ts +38 -0
  189. package/dist/commands/deploy.js +386 -0
  190. package/dist/commands/enterprise/create.d.ts +20 -0
  191. package/dist/commands/enterprise/create.js +98 -0
  192. package/dist/commands/enterprise/list.d.ts +14 -0
  193. package/dist/commands/enterprise/list.js +84 -0
  194. package/dist/commands/env/add.d.ts +22 -0
  195. package/dist/commands/env/add.js +200 -0
  196. package/dist/commands/environment/create.d.ts +19 -0
  197. package/dist/commands/environment/create.js +89 -0
  198. package/dist/commands/environment/list.d.ts +25 -0
  199. package/dist/commands/environment/list.js +158 -0
  200. package/dist/commands/filestore/capture.d.ts +31 -0
  201. package/dist/commands/filestore/capture.js +342 -0
  202. package/dist/commands/host/map.d.ts +33 -0
  203. package/dist/commands/host/map.js +347 -0
  204. package/dist/commands/identity/delete.d.ts +15 -0
  205. package/dist/commands/identity/delete.js +83 -0
  206. package/dist/commands/identity/list.d.ts +11 -0
  207. package/dist/commands/identity/list.js +43 -0
  208. package/dist/commands/identity.d.ts +22 -0
  209. package/dist/commands/identity.js +77 -0
  210. package/dist/commands/imageRegistry/capture.d.ts +27 -0
  211. package/dist/commands/imageRegistry/capture.js +160 -0
  212. package/dist/commands/imageRegistry/forget.d.ts +23 -0
  213. package/dist/commands/imageRegistry/forget.js +161 -0
  214. package/dist/commands/imageRegistry/pullSecret/set.d.ts +27 -0
  215. package/dist/commands/imageRegistry/pullSecret/set.js +300 -0
  216. package/dist/commands/imageRegistry/pullSecret/unset.d.ts +24 -0
  217. package/dist/commands/imageRegistry/pullSecret/unset.js +243 -0
  218. package/dist/commands/images/add.d.ts +25 -0
  219. package/dist/commands/images/add.js +76 -0
  220. package/dist/commands/images/list.d.ts +14 -0
  221. package/dist/commands/images/list.js +72 -0
  222. package/dist/commands/images/patch.d.ts +14 -0
  223. package/dist/commands/images/patch.js +93 -0
  224. package/dist/commands/images/remove.d.ts +12 -0
  225. package/dist/commands/images/remove.js +38 -0
  226. package/dist/commands/images/version/bump.d.ts +18 -0
  227. package/dist/commands/images/version/bump.js +61 -0
  228. package/dist/commands/images/version.d.ts +16 -0
  229. package/dist/commands/images/version.js +65 -0
  230. package/dist/commands/init.d.ts +17 -0
  231. package/dist/commands/init.js +131 -0
  232. package/dist/commands/kit/create.d.ts +25 -0
  233. package/dist/commands/kit/create.js +142 -0
  234. package/dist/commands/login.d.ts +22 -0
  235. package/dist/commands/login.js +93 -0
  236. package/dist/commands/logout.d.ts +8 -0
  237. package/dist/commands/logout.js +37 -0
  238. package/dist/commands/merge.d.ts +12 -0
  239. package/dist/commands/merge.js +43 -0
  240. package/dist/commands/noc/cluster/create.d.ts +28 -0
  241. package/dist/commands/noc/cluster/create.js +133 -0
  242. package/dist/commands/noc/cluster/deinit.d.ts +17 -0
  243. package/dist/commands/noc/cluster/deinit.js +117 -0
  244. package/dist/commands/noc/cluster/destroy.d.ts +20 -0
  245. package/dist/commands/noc/cluster/destroy.js +138 -0
  246. package/dist/commands/noc/cluster/forget.d.ts +16 -0
  247. package/dist/commands/noc/cluster/forget.js +137 -0
  248. package/dist/commands/noc/cluster/grant.d.ts +24 -0
  249. package/dist/commands/noc/cluster/grant.js +160 -0
  250. package/dist/commands/noc/cluster/init.d.ts +17 -0
  251. package/dist/commands/noc/cluster/init.js +117 -0
  252. package/dist/commands/noc/cluster/list.d.ts +21 -0
  253. package/dist/commands/noc/cluster/list.js +84 -0
  254. package/dist/commands/noc/cluster/recreate.d.ts +28 -0
  255. package/dist/commands/noc/cluster/recreate.js +186 -0
  256. package/dist/commands/pkg/add.d.ts +15 -0
  257. package/dist/commands/pkg/add.js +43 -0
  258. package/dist/commands/pkg/list.d.ts +9 -0
  259. package/dist/commands/pkg/list.js +33 -0
  260. package/dist/commands/pkg/patch.d.ts +13 -0
  261. package/dist/commands/pkg/patch.js +79 -0
  262. package/dist/commands/pkg/remove.d.ts +12 -0
  263. package/dist/commands/pkg/remove.js +70 -0
  264. package/dist/commands/portal.d.ts +11 -0
  265. package/dist/commands/portal.js +82 -0
  266. package/dist/commands/publish.d.ts +21 -0
  267. package/dist/commands/publish.js +52 -0
  268. package/dist/commands/pull.d.ts +13 -0
  269. package/dist/commands/pull.js +30 -0
  270. package/dist/commands/push.d.ts +13 -0
  271. package/dist/commands/push.js +30 -0
  272. package/dist/commands/run.d.ts +35 -0
  273. package/dist/commands/run.js +194 -0
  274. package/dist/commands/secretStore/capture.d.ts +27 -0
  275. package/dist/commands/secretStore/capture.js +175 -0
  276. package/dist/commands/secretStore/forget.d.ts +20 -0
  277. package/dist/commands/secretStore/forget.js +147 -0
  278. package/dist/commands/stage.d.ts +13 -0
  279. package/dist/commands/stage.js +65 -0
  280. package/dist/commands/stash.d.ts +13 -0
  281. package/dist/commands/stash.js +31 -0
  282. package/dist/commands/status.d.ts +12 -0
  283. package/dist/commands/status.js +49 -0
  284. package/dist/commands/stop.d.ts +10 -0
  285. package/dist/commands/stop.js +52 -0
  286. package/dist/commands/switch.d.ts +11 -0
  287. package/dist/commands/switch.js +42 -0
  288. package/dist/commands/sync.d.ts +14 -0
  289. package/dist/commands/sync.js +21 -0
  290. package/dist/commands/tenant/create.d.ts +27 -0
  291. package/dist/commands/tenant/create.js +120 -0
  292. package/dist/commands/tenant/switch.d.ts +24 -0
  293. package/dist/commands/tenant/switch.js +109 -0
  294. package/dist/commands/test.d.ts +13 -0
  295. package/dist/commands/test.js +32 -0
  296. package/dist/commands/test.js.map +1 -0
  297. package/dist/commands/testent.d.ts +13 -0
  298. package/dist/commands/testent.js +33 -0
  299. package/dist/commands/testent.js.map +1 -0
  300. package/dist/commands/unstage.d.ts +12 -0
  301. package/dist/commands/unstage.js +58 -0
  302. package/dist/commands/whereami.d.ts +15 -0
  303. package/dist/commands/whereami.js +123 -0
  304. package/dist/commands/whoami.d.ts +8 -0
  305. package/dist/commands/whoami.js +40 -0
  306. package/dist/errors/NoMembershipError.d.ts +8 -0
  307. package/dist/errors/NoMembershipError.js +15 -0
  308. package/dist/index.d.ts +1 -0
  309. package/dist/index.js +17 -0
  310. package/dist/log-update-wrapper.d.ts +24 -0
  311. package/dist/log-update-wrapper.js +29 -0
  312. package/dist/log4js-logger.d.ts +26 -0
  313. package/dist/log4js-logger.js +138 -0
  314. package/dist/log4js-logger.js.map +1 -0
  315. package/dist/ops/INTERFACES_CLI.d.ts +3 -0
  316. package/dist/ops/INTERFACES_CLI.js +8 -0
  317. package/dist/ops/LocalOps.d.ts +417 -0
  318. package/dist/ops/LocalOps.js +3122 -0
  319. package/dist/ops/LocalOps.js.map +1 -0
  320. package/dist/ops/azure-container-registry-client/azure-container-registry-client.js +148 -0
  321. package/dist/ops/cli-path-walker.js +55 -0
  322. package/dist/ops/codiac-entities/dependency.d.ts +5 -0
  323. package/dist/ops/codiac-entities/dependency.js +11 -0
  324. package/dist/ops/codiac-entities/index.d.ts +1 -0
  325. package/dist/ops/codiac-entities/index.js +5 -0
  326. package/dist/ops/composite-image-registry-client.js +74 -0
  327. package/dist/ops/data/cli-context-repo.d.ts +61 -0
  328. package/dist/ops/data/cli-context-repo.js +270 -0
  329. package/dist/ops/data/cli-context-repo.js.map +1 -0
  330. package/dist/ops/data/index.d.ts +2 -0
  331. package/dist/ops/data/index.js +6 -0
  332. package/dist/ops/data/npm-config-repo.d.ts +13 -0
  333. package/dist/ops/data/npm-config-repo.js +65 -0
  334. package/dist/ops/docker-config.js +131 -0
  335. package/dist/ops/docker-constants.js +22 -0
  336. package/dist/ops/docker-credentials-store.js +238 -0
  337. package/dist/ops/docker-registry-api-client/docker-registry-api-client.js +289 -0
  338. package/dist/ops/docker-registry-api-client/entities/blob-sum.d.ts +7 -0
  339. package/dist/ops/docker-registry-api-client/entities/blob-sum.js +13 -0
  340. package/dist/ops/docker-registry-api-client/entities/docker-access-actions-enum.d.ts +5 -0
  341. package/dist/ops/docker-registry-api-client/entities/docker-access-actions-enum.js +10 -0
  342. package/dist/ops/docker-registry-api-client/entities/docker-auth-token-criteria.d.ts +30 -0
  343. package/dist/ops/docker-registry-api-client/entities/docker-auth-token-criteria.js +36 -0
  344. package/dist/ops/docker-registry-api-client/entities/i-docker-error-response.d.ts +55 -0
  345. package/dist/ops/docker-registry-api-client/entities/i-docker-error-response.js +52 -0
  346. package/dist/ops/docker-registry-api-client/entities/i-docker-list-response.d.ts +7 -0
  347. package/dist/ops/docker-registry-api-client/entities/i-docker-list-response.js +3 -0
  348. package/dist/ops/docker-registry-api-client/entities/image-repository.d.ts +31 -0
  349. package/dist/ops/docker-registry-api-client/entities/image-repository.js +30 -0
  350. package/dist/ops/docker-registry-api-client/entities/image-tag-criteria.d.ts +8 -0
  351. package/dist/ops/docker-registry-api-client/entities/image-tag-criteria.js +14 -0
  352. package/dist/ops/docker-registry-api-client/entities/image-tag-list.d.ts +7 -0
  353. package/dist/ops/docker-registry-api-client/entities/image-tag-list.js +13 -0
  354. package/dist/ops/docker-registry-api-client/entities/manifest-criteria.d.ts +9 -0
  355. package/dist/ops/docker-registry-api-client/entities/manifest-criteria.js +15 -0
  356. package/dist/ops/docker-registry-api-client/entities/manifest.d.ts +15 -0
  357. package/dist/ops/docker-registry-api-client/entities/manifest.js +21 -0
  358. package/dist/ops/docker-registry-api-client/entities/repository-criteria.d.ts +16 -0
  359. package/dist/ops/docker-registry-api-client/entities/repository-criteria.js +24 -0
  360. package/dist/ops/docker-registry-api-client/entities/token-response.d.ts +15 -0
  361. package/dist/ops/docker-registry-api-client/entities/token-response.js +15 -0
  362. package/dist/ops/docker-registry-api-client/entities/token.d.ts +17 -0
  363. package/dist/ops/docker-registry-api-client/entities/token.js +22 -0
  364. package/dist/ops/docker-registry-api-client/entities/version-check-criteria.d.ts +4 -0
  365. package/dist/ops/docker-registry-api-client/entities/version-check-criteria.js +10 -0
  366. package/dist/ops/dx-constants.d.ts +26 -0
  367. package/dist/ops/dx-constants.js +43 -0
  368. package/dist/ops/entities/ImageBuildContext.d.ts +12 -0
  369. package/dist/ops/entities/ImageBuildContext.js +19 -0
  370. package/dist/ops/entities/PipelineContext.d.ts +21 -0
  371. package/dist/ops/entities/PipelineContext.js +23 -0
  372. package/dist/ops/entities/TenantContext.d.ts +10 -0
  373. package/dist/ops/entities/TenantContext.js +16 -0
  374. package/dist/ops/entities/ThaulConfig.js +30 -0
  375. package/dist/ops/entities/azure-service-principal.d.ts +23 -0
  376. package/dist/ops/entities/azure-service-principal.js +24 -0
  377. package/dist/ops/entities/better-logger.js +2 -0
  378. package/dist/ops/entities/branch.d.ts +13 -0
  379. package/dist/ops/entities/branch.js +16 -0
  380. package/dist/ops/entities/cli-config.d.ts +48 -0
  381. package/dist/ops/entities/cli-config.js +61 -0
  382. package/dist/ops/entities/cli-config.js.map +1 -0
  383. package/dist/ops/entities/docker-image.d.ts +60 -0
  384. package/dist/ops/entities/docker-image.js +3 -0
  385. package/dist/ops/entities/helm-spec.d.ts +15 -0
  386. package/dist/ops/entities/helm-spec.js +23 -0
  387. package/dist/ops/entities/index.d.ts +4 -0
  388. package/dist/ops/entities/index.js +12 -0
  389. package/dist/ops/entities/operation-meta.d.ts +8 -0
  390. package/dist/ops/entities/operation-meta.js +19 -0
  391. package/dist/ops/entities/operation-meta.js.map +1 -0
  392. package/dist/ops/entities/scaffolding.d.ts +19 -0
  393. package/dist/ops/entities/scaffolding.js +21 -0
  394. package/dist/ops/extensions/azart-identity-adapter.d.ts +19 -0
  395. package/dist/ops/extensions/azart-identity-adapter.js +97 -0
  396. package/dist/ops/extensions/npm-identity-adapter-base.d.ts +13 -0
  397. package/dist/ops/extensions/npm-identity-adapter-base.js +3 -0
  398. package/dist/ops/extensions/npmjs-identity-adapter.d.ts +13 -0
  399. package/dist/ops/extensions/npmjs-identity-adapter.js +64 -0
  400. package/dist/ops/git-ops.d.ts +8 -0
  401. package/dist/ops/git-ops.js +14 -0
  402. package/dist/ops/i-client-for-image-registry.js +17 -0
  403. package/dist/ops/i-identity-handler.d.ts +33 -0
  404. package/dist/ops/i-identity-handler.js +165 -0
  405. package/dist/ops/i-output-styler.js +17 -0
  406. package/dist/ops/index.d.ts +12 -0
  407. package/dist/ops/index.js +15 -0
  408. package/dist/ops/json-utils.js +59 -0
  409. package/dist/ops/no-style-output-styler.js +30 -0
  410. package/dist/ops/oauth2-client.ts/oauth2-client.d.ts +23 -0
  411. package/dist/ops/oauth2-client.ts/oauth2-client.js +64 -0
  412. package/dist/ops/oauth2-client.ts/oauth2-client.js.map +1 -0
  413. package/dist/ops/project-initializer.d.ts +36 -0
  414. package/dist/ops/project-initializer.js +219 -0
  415. package/dist/ops/scaffolding/base-scaffolding.d.ts +7 -0
  416. package/dist/ops/scaffolding/base-scaffolding.js +21 -0
  417. package/dist/ops/scaffolding/base-scaffolding.js.map +1 -0
  418. package/dist/ops/scaffolding/codiac-api-scaffolding.d.ts +7 -0
  419. package/dist/ops/scaffolding/codiac-api-scaffolding.js +64 -0
  420. package/dist/ops/scaffolding/codiac-api-scaffolding.js.map +1 -0
  421. package/dist/ops/scaffolding/typescript-scaffolding.d.ts +15 -0
  422. package/dist/ops/scaffolding/typescript-scaffolding.js +163 -0
  423. package/dist/ops/scaffolding/typescript-scaffolding.js.map +1 -0
  424. package/dist/ops/test/mock-ui.d.ts +26 -0
  425. package/dist/ops/test/mock-ui.js +88 -0
  426. package/dist/ops/test/test-extensions.d.ts +13 -0
  427. package/dist/ops/test/test-extensions.js +71 -0
  428. package/dist/ops/test/when-a-recursive-file-search-is-run.spec.d.ts +2 -0
  429. package/dist/ops/test/when-a-recursive-file-search-is-run.spec.js +55 -0
  430. package/dist/ops/test/when-git-branchline-is-attempted.spec.d.ts +2 -0
  431. package/dist/ops/test/when-git-branchline-is-attempted.spec.js +38 -0
  432. package/dist/ops/test/when-versions-are-parsed.spec.d.ts +2 -0
  433. package/dist/ops/test/when-versions-are-parsed.spec.js +62 -0
  434. package/dist/ops/throwing-user-input-provider.js +37 -0
  435. package/dist/ops/workspace-versioner.d.ts +122 -0
  436. package/dist/ops/workspace-versioner.js +292 -0
  437. package/dist/ops/workspace-versioner.js.map +1 -0
  438. package/dist/prettify.d.ts +7 -0
  439. package/dist/prettify.js +24 -0
  440. package/dist/read-stdin.d.ts +2 -0
  441. package/dist/read-stdin.js +29 -0
  442. package/dist/relay/contracts/contracts.d.ts +207 -0
  443. package/dist/relay/contracts/contracts.js +230 -0
  444. package/dist/relay/extended-relay-client.d.ts +27 -0
  445. package/dist/relay/extended-relay-client.js +28 -0
  446. package/dist/relay/relay-container.d.ts +41 -0
  447. package/dist/relay/relay-container.js +298 -0
  448. package/dist/relay/relay-container.js.map +1 -0
  449. package/dist/relay/wsclient/relay-socket-listener.d.ts +68 -0
  450. package/dist/relay/wsclient/relay-socket-listener.js +165 -0
  451. package/dist/relay/wsclient/relay-socket-listener.js.map +1 -0
  452. package/dist/relay/wsclient/relay-websocket-client.d.ts +33 -0
  453. package/dist/relay/wsclient/relay-websocket-client.js +179 -0
  454. package/dist/relay/wsclient/relay-websocket-client.js.map +1 -0
  455. package/dist/relay/wsclient/rx-websocket-subject.d.ts +25 -0
  456. package/dist/relay/wsclient/rx-websocket-subject.js +134 -0
  457. package/dist/relay/wsclient/rx-websocket-subject.js.map +1 -0
  458. package/dist/relay/wsclient/socket-contracts.d.ts +22 -0
  459. package/dist/relay/wsclient/socket-contracts.js +3 -0
  460. package/dist/standard-probes.d.ts +5 -0
  461. package/dist/standard-probes.js +22 -0
  462. package/dist/uilogic/build-configurator.d.ts +21 -0
  463. package/dist/uilogic/build-configurator.js +111 -0
  464. package/dist/uilogic/cloud-provider-contextualizer.d.ts +46 -0
  465. package/dist/uilogic/cloud-provider-contextualizer.js +194 -0
  466. package/dist/uilogic/cloud-provider-contextualizer.js.map +1 -0
  467. package/dist/uilogic/cloud-resource-configurator-factory.d.ts +41 -0
  468. package/dist/uilogic/cloud-resource-configurator-factory.js +158 -0
  469. package/dist/uilogic/cloud-resource-configurator-factory.js.map +1 -0
  470. package/dist/uilogic/cloud-resource-configurators/aws-resource-configurator.d.ts +38 -0
  471. package/dist/uilogic/cloud-resource-configurators/aws-resource-configurator.js +348 -0
  472. package/dist/uilogic/cloud-resource-configurators/aws-resource-configurator.js.map +1 -0
  473. package/dist/uilogic/cloud-resource-configurators/az-acr-cli-authenticator.js +78 -0
  474. package/dist/uilogic/cloud-resource-configurators/az-interactive-login-configurator.d.ts +42 -0
  475. package/dist/uilogic/cloud-resource-configurators/az-interactive-login-configurator.js +248 -0
  476. package/dist/uilogic/cloud-resource-configurators/az-interactive-login-configurator.js.map +1 -0
  477. package/dist/uilogic/cloud-resource-configurators/azure-resource-configurator.d.ts +110 -0
  478. package/dist/uilogic/cloud-resource-configurators/azure-resource-configurator.js +782 -0
  479. package/dist/uilogic/cloud-resource-configurators/azure-resource-configurator.js.map +1 -0
  480. package/dist/uilogic/cloud-resource-configurators/azure-types.js +10 -0
  481. package/dist/uilogic/cloud-resource-configurators/docker-hub-resource-configurator.d.ts +24 -0
  482. package/dist/uilogic/cloud-resource-configurators/docker-hub-resource-configurator.js +106 -0
  483. package/dist/uilogic/cloud-resource-configurators/docker-hub-resource-configurator.js.map +1 -0
  484. package/dist/uilogic/cloud-resource-configurators/helm-resource-configurator.d.ts +16 -0
  485. package/dist/uilogic/cloud-resource-configurators/helm-resource-configurator.js +45 -0
  486. package/dist/uilogic/cloud-resource-configurators/helm-resource-configurator.js.map +1 -0
  487. package/dist/uilogic/cloud-resource-configurators/unsupported-resource-configurator.d.ts +18 -0
  488. package/dist/uilogic/cloud-resource-configurators/unsupported-resource-configurator.js +62 -0
  489. package/dist/uilogic/cloud-resource-configurators/unsupported-resource-configurator.js.map +1 -0
  490. package/dist/uilogic/enterprise-contextualizer.d.ts +76 -0
  491. package/dist/uilogic/enterprise-contextualizer.js +671 -0
  492. package/dist/uilogic/environment-contextualizer.d.ts +15 -0
  493. package/dist/uilogic/environment-contextualizer.js +43 -0
  494. package/dist/uilogic/i-cluster-configurator.d.ts +9 -0
  495. package/dist/uilogic/i-cluster-configurator.js +3 -0
  496. package/dist/uilogic/i-login-configurator.d.ts +6 -0
  497. package/dist/uilogic/i-login-configurator.js +3 -0
  498. package/dist/uilogic/i-registry-configurator.d.ts +6 -0
  499. package/dist/uilogic/i-registry-configurator.js +3 -0
  500. package/dist/uilogic/i-secret-store-configurator.d.ts +7 -0
  501. package/dist/uilogic/i-secret-store-configurator.js +3 -0
  502. package/dist/uilogic/image-configurator.d.ts +133 -0
  503. package/dist/uilogic/image-configurator.js +578 -0
  504. package/dist/uilogic/image-configurator.js.map +1 -0
  505. package/dist/uilogic/image-contextualizer.d.ts +24 -0
  506. package/dist/uilogic/image-contextualizer.js +90 -0
  507. package/dist/uilogic/image-contextualizer.js.map +1 -0
  508. package/dist/uilogic/image-registry-contextualizer.d.ts +28 -0
  509. package/dist/uilogic/image-registry-contextualizer.js +127 -0
  510. package/dist/uilogic/image-registry-contextualizer.js.map +1 -0
  511. package/dist/uilogic/index.d.ts +9 -0
  512. package/dist/uilogic/index.js +14 -0
  513. package/dist/uilogic/prompt-select-fuzzy.js +139 -0
  514. package/dist/uilogic/render-methods.d.ts +12 -0
  515. package/dist/uilogic/render-methods.js +65 -0
  516. package/dist/uilogic/tenant-contextualizer.d.ts +79 -0
  517. package/dist/uilogic/tenant-contextualizer.js +578 -0
  518. package/dist/user-context-loader.d.ts +60 -0
  519. package/dist/user-context-loader.js +184 -0
  520. package/oclif.manifest.json +67 -1
  521. package/package.json +149 -150
  522. package/scaffolding/api/.gitignore-scaffolding +68 -68
  523. package/scaffolding/api/.vscode/launch.json +16 -16
  524. package/scaffolding/api/.vscode/settings.json +7 -7
  525. package/scaffolding/api/.vscode/tasks.json +15 -15
  526. package/scaffolding/api/src/app-config.json +2 -2
  527. package/scaffolding/api/src/index.ts-scaffolding +13 -13
  528. package/scaffolding/api/src/myApiDef.ts-scaffolding +25 -25
  529. package/scaffolding/default/.gitignore-scaffolding +2 -2
  530. package/scaffolding/typescript/.gitignore-scaffolding +69 -69
  531. package/scaffolding/typescript/.vscode/launch.json +16 -16
  532. package/scaffolding/typescript/.vscode/settings.json +7 -7
  533. package/scaffolding/typescript/.vscode/tasks.json +15 -15
  534. package/lib/apis/codiac-api/common/api-client-base.d.ts +0 -165
  535. package/lib/apis/codiac-api/common/api-client-base.js +0 -548
  536. package/lib/apis/codiac-api/common/api-client-base.js.map +0 -1
  537. package/lib/apis/codiac-api/common/api-user-creds.d.ts +0 -7
  538. package/lib/apis/codiac-api/common/api-user-creds.js +0 -19
  539. package/lib/apis/codiac-api/common/api-user-creds.js.map +0 -1
  540. package/lib/apis/codiac-api/common/config-loader.d.ts +0 -6
  541. package/lib/apis/codiac-api/common/config-loader.js +0 -19
  542. package/lib/apis/codiac-api/common/endpoint-spec.d.ts +0 -17
  543. package/lib/apis/codiac-api/common/endpoint-spec.js +0 -28
  544. package/lib/apis/codiac-api/common/security/api-auth-methods-legacy.d.ts +0 -87
  545. package/lib/apis/codiac-api/common/security/api-auth-methods-legacy.js +0 -368
  546. package/lib/apis/codiac-api/common/security/api-auth-methods-legacy.js.map +0 -1
  547. package/lib/apis/codiac-api/common/security/auth-constants.d.ts +0 -15
  548. package/lib/apis/codiac-api/common/security/auth-constants.js +0 -22
  549. package/lib/apis/codiac-api/common/security/i-auth-client.d.ts +0 -44
  550. package/lib/apis/codiac-api/common/security/i-auth-client.js +0 -3
  551. package/lib/apis/codiac-api/common/security/token-holder.d.ts +0 -13
  552. package/lib/apis/codiac-api/common/security/token-holder.js +0 -18
  553. package/lib/apis/codiac-api/common/utils.d.ts +0 -23
  554. package/lib/apis/codiac-api/common/utils.js +0 -83
  555. package/lib/apis/codiac-api/contracts/index.d.ts +0 -1
  556. package/lib/apis/codiac-api/contracts/index.js +0 -5
  557. package/lib/apis/codiac-api/gen/client-config.d.ts +0 -10
  558. package/lib/apis/codiac-api/gen/client-config.js +0 -29
  559. package/lib/apis/codiac-api/gen/client-config.js.map +0 -1
  560. package/lib/apis/codiac-api/gen/client.d.ts +0 -1663
  561. package/lib/apis/codiac-api/gen/client.js +0 -15630
  562. package/lib/apis/codiac-api/gen/client.js.map +0 -1
  563. package/lib/apis/codiac-api/gen/contracts.d.ts +0 -2722
  564. package/lib/apis/codiac-api/gen/contracts.js +0 -403
  565. package/lib/apis/codiac-api/index.d.ts +0 -3
  566. package/lib/apis/codiac-api/index.js +0 -9
  567. package/lib/apis/codiac-relay/common/api-client-base.d.ts +0 -165
  568. package/lib/apis/codiac-relay/common/api-client-base.js +0 -548
  569. package/lib/apis/codiac-relay/common/api-client-base.js.map +0 -1
  570. package/lib/apis/codiac-relay/common/api-user-creds.d.ts +0 -7
  571. package/lib/apis/codiac-relay/common/api-user-creds.js +0 -19
  572. package/lib/apis/codiac-relay/common/api-user-creds.js.map +0 -1
  573. package/lib/apis/codiac-relay/common/config-loader.d.ts +0 -6
  574. package/lib/apis/codiac-relay/common/config-loader.js +0 -19
  575. package/lib/apis/codiac-relay/common/endpoint-spec.d.ts +0 -17
  576. package/lib/apis/codiac-relay/common/endpoint-spec.js +0 -28
  577. package/lib/apis/codiac-relay/common/security/api-auth-methods-legacy.d.ts +0 -87
  578. package/lib/apis/codiac-relay/common/security/api-auth-methods-legacy.js +0 -368
  579. package/lib/apis/codiac-relay/common/security/api-auth-methods-legacy.js.map +0 -1
  580. package/lib/apis/codiac-relay/common/security/auth-constants.d.ts +0 -15
  581. package/lib/apis/codiac-relay/common/security/auth-constants.js +0 -22
  582. package/lib/apis/codiac-relay/common/security/i-auth-client.d.ts +0 -44
  583. package/lib/apis/codiac-relay/common/security/i-auth-client.js +0 -3
  584. package/lib/apis/codiac-relay/common/security/token-holder.d.ts +0 -13
  585. package/lib/apis/codiac-relay/common/security/token-holder.js +0 -18
  586. package/lib/apis/codiac-relay/common/utils.d.ts +0 -23
  587. package/lib/apis/codiac-relay/common/utils.js +0 -83
  588. package/lib/apis/codiac-relay/contracts/index.d.ts +0 -1
  589. package/lib/apis/codiac-relay/contracts/index.js +0 -5
  590. package/lib/apis/codiac-relay/gen/client-config.d.ts +0 -10
  591. package/lib/apis/codiac-relay/gen/client-config.js +0 -29
  592. package/lib/apis/codiac-relay/gen/client-config.js.map +0 -1
  593. package/lib/apis/codiac-relay/gen/client.d.ts +0 -244
  594. package/lib/apis/codiac-relay/gen/client.js +0 -1863
  595. package/lib/apis/codiac-relay/gen/client.js.map +0 -1
  596. package/lib/apis/codiac-relay/gen/contracts.d.ts +0 -3111
  597. package/lib/apis/codiac-relay/gen/contracts.js +0 -435
  598. package/lib/apis/codiac-relay/index.d.ts +0 -3
  599. package/lib/apis/codiac-relay/index.js +0 -9
  600. package/lib/cli-common/ImagesList.js +0 -67
  601. package/lib/cli-common/argument-manager.d.ts +0 -28
  602. package/lib/cli-common/argument-manager.js +0 -195
  603. package/lib/cli-common/built-in-cli-user-input.d.ts +0 -18
  604. package/lib/cli-common/built-in-cli-user-input.js +0 -310
  605. package/lib/cli-common/built-in-cli-user-input.js.map +0 -1
  606. package/lib/cli-common/cli-interfaces.js +0 -7
  607. package/lib/cli-common/command-base.d.ts +0 -72
  608. package/lib/cli-common/command-base.js +0 -182
  609. package/lib/cli-common/entities/index.d.ts +0 -1
  610. package/lib/cli-common/entities/index.js +0 -5
  611. package/lib/cli-common/entities/prompt-choice.d.ts +0 -7
  612. package/lib/cli-common/entities/prompt-choice.js +0 -3
  613. package/lib/cli-common/file-selector.d.ts +0 -48
  614. package/lib/cli-common/file-selector.js +0 -187
  615. package/lib/cli-common/i-user-input-provider.js +0 -19
  616. package/lib/cli-common/index.d.ts +0 -4
  617. package/lib/cli-common/index.js +0 -11
  618. package/lib/cli-common/mock-ui.d.ts +0 -27
  619. package/lib/cli-common/mock-ui.js +0 -83
  620. package/lib/cli-common/prompt-select-fuzzy.d.ts +0 -19
  621. package/lib/cli-common/prompt-select-fuzzy.js +0 -119
  622. package/lib/cli-common/prompt-select-fuzzy.js.map +0 -1
  623. package/lib/cli-common/tenant-contextualizer.js +0 -436
  624. package/lib/cli-common/test/tenant-contextualizer.spec.js +0 -143
  625. package/lib/cli-entities/output-format-enum.d.ts +0 -7
  626. package/lib/cli-entities/output-format-enum.js +0 -12
  627. package/lib/cli-entities/prompt-choice.js +0 -6
  628. package/lib/codiac-constants.d.ts +0 -35
  629. package/lib/codiac-constants.js +0 -41
  630. package/lib/codiac-entities/asset-binding.d.ts +0 -12
  631. package/lib/codiac-entities/asset-binding.js +0 -18
  632. package/lib/codiac-entities/azure-container-registry.d.ts +0 -4
  633. package/lib/codiac-entities/azure-container-registry.js +0 -3
  634. package/lib/codiac-entities/azure-service-principal.d.ts +0 -23
  635. package/lib/codiac-entities/azure-service-principal.js +0 -24
  636. package/lib/codiac-entities/cloud-account-ref.d.ts +0 -28
  637. package/lib/codiac-entities/cloud-account-ref.js +0 -37
  638. package/lib/codiac-entities/deployment-temp.js +0 -133
  639. package/lib/codiac-entities/i-cloud-account-ref.d.ts +0 -5
  640. package/lib/codiac-entities/i-cloud-account-ref.js +0 -3
  641. package/lib/command-base-enterprise.d.ts +0 -121
  642. package/lib/command-base-enterprise.js +0 -524
  643. package/lib/command-base-tenantless.d.ts +0 -44
  644. package/lib/command-base-tenantless.js +0 -180
  645. package/lib/commands/asset/create.d.ts +0 -42
  646. package/lib/commands/asset/create.js +0 -467
  647. package/lib/commands/asset/destroy.d.ts +0 -20
  648. package/lib/commands/asset/destroy.js +0 -129
  649. package/lib/commands/asset/helm.d.ts +0 -23
  650. package/lib/commands/asset/helm.js +0 -153
  651. package/lib/commands/asset/list.d.ts +0 -28
  652. package/lib/commands/asset/list.js +0 -172
  653. package/lib/commands/asset/probe/create.d.ts +0 -38
  654. package/lib/commands/asset/probe/create.js +0 -187
  655. package/lib/commands/asset/recycle.d.ts +0 -23
  656. package/lib/commands/asset/recycle.js +0 -175
  657. package/lib/commands/asset/view.d.ts +0 -188
  658. package/lib/commands/asset/view.js +0 -1365
  659. package/lib/commands/asset/volume/create.d.ts +0 -23
  660. package/lib/commands/asset/volume/create.js +0 -176
  661. package/lib/commands/asset/volume/delete.d.ts +0 -19
  662. package/lib/commands/asset/volume/delete.js +0 -112
  663. package/lib/commands/asset/volume/list.d.ts +0 -19
  664. package/lib/commands/asset/volume/list.js +0 -70
  665. package/lib/commands/branch/current.d.ts +0 -10
  666. package/lib/commands/branch/current.js +0 -34
  667. package/lib/commands/branch/list.d.ts +0 -15
  668. package/lib/commands/branch/list.js +0 -56
  669. package/lib/commands/branch.d.ts +0 -12
  670. package/lib/commands/branch.js +0 -42
  671. package/lib/commands/build.d.ts +0 -38
  672. package/lib/commands/build.js +0 -120
  673. package/lib/commands/cabinet/create.d.ts +0 -21
  674. package/lib/commands/cabinet/create.js +0 -108
  675. package/lib/commands/cabinet/list.d.ts +0 -23
  676. package/lib/commands/cabinet/list.js +0 -134
  677. package/lib/commands/cabinet/obliterate.d.ts +0 -20
  678. package/lib/commands/cabinet/obliterate.js +0 -83
  679. package/lib/commands/cli.d.ts +0 -10
  680. package/lib/commands/cli.js +0 -100
  681. package/lib/commands/commit.d.ts +0 -11
  682. package/lib/commands/commit.js +0 -40
  683. package/lib/commands/config/add.d.ts +0 -78
  684. package/lib/commands/config/add.js +0 -560
  685. package/lib/commands/config/delete.d.ts +0 -18
  686. package/lib/commands/config/delete.js +0 -119
  687. package/lib/commands/config/deploy.d.ts +0 -22
  688. package/lib/commands/config/deploy.js +0 -125
  689. package/lib/commands/config/import.d.ts +0 -27
  690. package/lib/commands/config/import.js +0 -196
  691. package/lib/commands/config/view.d.ts +0 -25
  692. package/lib/commands/config/view.js +0 -121
  693. package/lib/commands/csp/login.d.ts +0 -18
  694. package/lib/commands/csp/login.js +0 -123
  695. package/lib/commands/csp/logout.d.ts +0 -15
  696. package/lib/commands/csp/logout.js +0 -74
  697. package/lib/commands/dep/create.d.ts +0 -13
  698. package/lib/commands/dep/create.js +0 -41
  699. package/lib/commands/dep/install.d.ts +0 -9
  700. package/lib/commands/dep/install.js +0 -30
  701. package/lib/commands/dep/list.d.ts +0 -55
  702. package/lib/commands/dep/list.js +0 -98
  703. package/lib/commands/dep/remove.d.ts +0 -12
  704. package/lib/commands/dep/remove.js +0 -62
  705. package/lib/commands/dep/source.d.ts +0 -13
  706. package/lib/commands/dep/source.js +0 -83
  707. package/lib/commands/dep/syncup.d.ts +0 -11
  708. package/lib/commands/dep/syncup.js +0 -54
  709. package/lib/commands/dep/unsource.d.ts +0 -14
  710. package/lib/commands/dep/unsource.js +0 -68
  711. package/lib/commands/dep/upgrade.d.ts +0 -44
  712. package/lib/commands/dep/upgrade.js +0 -244
  713. package/lib/commands/dep.d.ts +0 -12
  714. package/lib/commands/dep.js +0 -51
  715. package/lib/commands/deploy.d.ts +0 -38
  716. package/lib/commands/deploy.js +0 -386
  717. package/lib/commands/enterprise/create.d.ts +0 -20
  718. package/lib/commands/enterprise/create.js +0 -98
  719. package/lib/commands/enterprise/list.d.ts +0 -14
  720. package/lib/commands/enterprise/list.js +0 -84
  721. package/lib/commands/env/add.d.ts +0 -22
  722. package/lib/commands/env/add.js +0 -200
  723. package/lib/commands/environment/create.d.ts +0 -19
  724. package/lib/commands/environment/create.js +0 -89
  725. package/lib/commands/environment/list.d.ts +0 -25
  726. package/lib/commands/environment/list.js +0 -158
  727. package/lib/commands/filestore/capture.d.ts +0 -31
  728. package/lib/commands/filestore/capture.js +0 -342
  729. package/lib/commands/host/map.d.ts +0 -33
  730. package/lib/commands/host/map.js +0 -347
  731. package/lib/commands/identity/delete.d.ts +0 -15
  732. package/lib/commands/identity/delete.js +0 -83
  733. package/lib/commands/identity/list.d.ts +0 -11
  734. package/lib/commands/identity/list.js +0 -43
  735. package/lib/commands/identity.d.ts +0 -22
  736. package/lib/commands/identity.js +0 -77
  737. package/lib/commands/imageRegistry/capture.d.ts +0 -27
  738. package/lib/commands/imageRegistry/capture.js +0 -160
  739. package/lib/commands/imageRegistry/forget.d.ts +0 -23
  740. package/lib/commands/imageRegistry/forget.js +0 -161
  741. package/lib/commands/imageRegistry/pullSecret/set.d.ts +0 -27
  742. package/lib/commands/imageRegistry/pullSecret/set.js +0 -300
  743. package/lib/commands/imageRegistry/pullSecret/unset.d.ts +0 -24
  744. package/lib/commands/imageRegistry/pullSecret/unset.js +0 -243
  745. package/lib/commands/images/add.d.ts +0 -25
  746. package/lib/commands/images/add.js +0 -76
  747. package/lib/commands/images/list.d.ts +0 -14
  748. package/lib/commands/images/list.js +0 -72
  749. package/lib/commands/images/patch.d.ts +0 -14
  750. package/lib/commands/images/patch.js +0 -93
  751. package/lib/commands/images/remove.d.ts +0 -12
  752. package/lib/commands/images/remove.js +0 -38
  753. package/lib/commands/images/version/bump.d.ts +0 -18
  754. package/lib/commands/images/version/bump.js +0 -61
  755. package/lib/commands/images/version.d.ts +0 -16
  756. package/lib/commands/images/version.js +0 -65
  757. package/lib/commands/init.d.ts +0 -17
  758. package/lib/commands/init.js +0 -131
  759. package/lib/commands/kit/create.d.ts +0 -25
  760. package/lib/commands/kit/create.js +0 -142
  761. package/lib/commands/login.d.ts +0 -22
  762. package/lib/commands/login.js +0 -93
  763. package/lib/commands/logout.d.ts +0 -8
  764. package/lib/commands/logout.js +0 -37
  765. package/lib/commands/merge.d.ts +0 -12
  766. package/lib/commands/merge.js +0 -43
  767. package/lib/commands/noc/cluster/create.d.ts +0 -28
  768. package/lib/commands/noc/cluster/create.js +0 -133
  769. package/lib/commands/noc/cluster/deinit.d.ts +0 -17
  770. package/lib/commands/noc/cluster/deinit.js +0 -117
  771. package/lib/commands/noc/cluster/destroy.d.ts +0 -20
  772. package/lib/commands/noc/cluster/destroy.js +0 -138
  773. package/lib/commands/noc/cluster/forget.d.ts +0 -16
  774. package/lib/commands/noc/cluster/forget.js +0 -137
  775. package/lib/commands/noc/cluster/grant.d.ts +0 -24
  776. package/lib/commands/noc/cluster/grant.js +0 -160
  777. package/lib/commands/noc/cluster/init.d.ts +0 -17
  778. package/lib/commands/noc/cluster/init.js +0 -117
  779. package/lib/commands/noc/cluster/list.d.ts +0 -21
  780. package/lib/commands/noc/cluster/list.js +0 -84
  781. package/lib/commands/noc/cluster/recreate.d.ts +0 -28
  782. package/lib/commands/noc/cluster/recreate.js +0 -186
  783. package/lib/commands/pkg/add.d.ts +0 -15
  784. package/lib/commands/pkg/add.js +0 -43
  785. package/lib/commands/pkg/list.d.ts +0 -9
  786. package/lib/commands/pkg/list.js +0 -33
  787. package/lib/commands/pkg/patch.d.ts +0 -13
  788. package/lib/commands/pkg/patch.js +0 -79
  789. package/lib/commands/pkg/remove.d.ts +0 -12
  790. package/lib/commands/pkg/remove.js +0 -70
  791. package/lib/commands/portal.d.ts +0 -11
  792. package/lib/commands/portal.js +0 -82
  793. package/lib/commands/publish.d.ts +0 -21
  794. package/lib/commands/publish.js +0 -52
  795. package/lib/commands/pull.d.ts +0 -13
  796. package/lib/commands/pull.js +0 -30
  797. package/lib/commands/push.d.ts +0 -13
  798. package/lib/commands/push.js +0 -30
  799. package/lib/commands/run.d.ts +0 -35
  800. package/lib/commands/run.js +0 -194
  801. package/lib/commands/secretStore/capture.d.ts +0 -27
  802. package/lib/commands/secretStore/capture.js +0 -175
  803. package/lib/commands/secretStore/forget.d.ts +0 -20
  804. package/lib/commands/secretStore/forget.js +0 -147
  805. package/lib/commands/stage.d.ts +0 -13
  806. package/lib/commands/stage.js +0 -65
  807. package/lib/commands/stash.d.ts +0 -13
  808. package/lib/commands/stash.js +0 -31
  809. package/lib/commands/status.d.ts +0 -12
  810. package/lib/commands/status.js +0 -49
  811. package/lib/commands/stop.d.ts +0 -10
  812. package/lib/commands/stop.js +0 -52
  813. package/lib/commands/switch.d.ts +0 -11
  814. package/lib/commands/switch.js +0 -42
  815. package/lib/commands/sync.d.ts +0 -14
  816. package/lib/commands/sync.js +0 -21
  817. package/lib/commands/tenant/create.d.ts +0 -27
  818. package/lib/commands/tenant/create.js +0 -120
  819. package/lib/commands/tenant/switch.d.ts +0 -24
  820. package/lib/commands/tenant/switch.js +0 -109
  821. package/lib/commands/unstage.d.ts +0 -12
  822. package/lib/commands/unstage.js +0 -58
  823. package/lib/commands/whereami.d.ts +0 -15
  824. package/lib/commands/whereami.js +0 -123
  825. package/lib/commands/whoami.d.ts +0 -8
  826. package/lib/commands/whoami.js +0 -40
  827. package/lib/errors/NoMembershipError.d.ts +0 -8
  828. package/lib/errors/NoMembershipError.js +0 -15
  829. package/lib/index.d.ts +0 -1
  830. package/lib/index.js +0 -17
  831. package/lib/log-update-wrapper.d.ts +0 -24
  832. package/lib/log-update-wrapper.js +0 -29
  833. package/lib/log4js-logger.d.ts +0 -26
  834. package/lib/log4js-logger.js +0 -138
  835. package/lib/log4js-logger.js.map +0 -1
  836. package/lib/ops/INTERFACES_CLI.d.ts +0 -3
  837. package/lib/ops/INTERFACES_CLI.js +0 -8
  838. package/lib/ops/LocalOps.d.ts +0 -417
  839. package/lib/ops/LocalOps.js +0 -3122
  840. package/lib/ops/LocalOps.js.map +0 -1
  841. package/lib/ops/azure-container-registry-client/azure-container-registry-client.js +0 -148
  842. package/lib/ops/cli-path-walker.js +0 -55
  843. package/lib/ops/codiac-entities/dependency.d.ts +0 -5
  844. package/lib/ops/codiac-entities/dependency.js +0 -11
  845. package/lib/ops/codiac-entities/index.d.ts +0 -1
  846. package/lib/ops/codiac-entities/index.js +0 -5
  847. package/lib/ops/composite-image-registry-client.js +0 -74
  848. package/lib/ops/data/cli-context-repo.d.ts +0 -61
  849. package/lib/ops/data/cli-context-repo.js +0 -270
  850. package/lib/ops/data/cli-context-repo.js.map +0 -1
  851. package/lib/ops/data/index.d.ts +0 -2
  852. package/lib/ops/data/index.js +0 -6
  853. package/lib/ops/data/npm-config-repo.d.ts +0 -13
  854. package/lib/ops/data/npm-config-repo.js +0 -65
  855. package/lib/ops/docker-config.js +0 -131
  856. package/lib/ops/docker-constants.js +0 -22
  857. package/lib/ops/docker-credentials-store.js +0 -238
  858. package/lib/ops/docker-registry-api-client/docker-registry-api-client.js +0 -289
  859. package/lib/ops/docker-registry-api-client/entities/blob-sum.d.ts +0 -7
  860. package/lib/ops/docker-registry-api-client/entities/blob-sum.js +0 -13
  861. package/lib/ops/docker-registry-api-client/entities/docker-access-actions-enum.d.ts +0 -5
  862. package/lib/ops/docker-registry-api-client/entities/docker-access-actions-enum.js +0 -10
  863. package/lib/ops/docker-registry-api-client/entities/docker-auth-token-criteria.d.ts +0 -30
  864. package/lib/ops/docker-registry-api-client/entities/docker-auth-token-criteria.js +0 -36
  865. package/lib/ops/docker-registry-api-client/entities/i-docker-error-response.d.ts +0 -55
  866. package/lib/ops/docker-registry-api-client/entities/i-docker-error-response.js +0 -52
  867. package/lib/ops/docker-registry-api-client/entities/i-docker-list-response.d.ts +0 -7
  868. package/lib/ops/docker-registry-api-client/entities/i-docker-list-response.js +0 -3
  869. package/lib/ops/docker-registry-api-client/entities/image-repository.d.ts +0 -31
  870. package/lib/ops/docker-registry-api-client/entities/image-repository.js +0 -30
  871. package/lib/ops/docker-registry-api-client/entities/image-tag-criteria.d.ts +0 -8
  872. package/lib/ops/docker-registry-api-client/entities/image-tag-criteria.js +0 -14
  873. package/lib/ops/docker-registry-api-client/entities/image-tag-list.d.ts +0 -7
  874. package/lib/ops/docker-registry-api-client/entities/image-tag-list.js +0 -13
  875. package/lib/ops/docker-registry-api-client/entities/manifest-criteria.d.ts +0 -9
  876. package/lib/ops/docker-registry-api-client/entities/manifest-criteria.js +0 -15
  877. package/lib/ops/docker-registry-api-client/entities/manifest.d.ts +0 -15
  878. package/lib/ops/docker-registry-api-client/entities/manifest.js +0 -21
  879. package/lib/ops/docker-registry-api-client/entities/repository-criteria.d.ts +0 -16
  880. package/lib/ops/docker-registry-api-client/entities/repository-criteria.js +0 -24
  881. package/lib/ops/docker-registry-api-client/entities/token-response.d.ts +0 -15
  882. package/lib/ops/docker-registry-api-client/entities/token-response.js +0 -15
  883. package/lib/ops/docker-registry-api-client/entities/token.d.ts +0 -17
  884. package/lib/ops/docker-registry-api-client/entities/token.js +0 -22
  885. package/lib/ops/docker-registry-api-client/entities/version-check-criteria.d.ts +0 -4
  886. package/lib/ops/docker-registry-api-client/entities/version-check-criteria.js +0 -10
  887. package/lib/ops/dx-constants.d.ts +0 -26
  888. package/lib/ops/dx-constants.js +0 -43
  889. package/lib/ops/entities/ImageBuildContext.d.ts +0 -12
  890. package/lib/ops/entities/ImageBuildContext.js +0 -19
  891. package/lib/ops/entities/PipelineContext.d.ts +0 -21
  892. package/lib/ops/entities/PipelineContext.js +0 -23
  893. package/lib/ops/entities/TenantContext.d.ts +0 -10
  894. package/lib/ops/entities/TenantContext.js +0 -16
  895. package/lib/ops/entities/ThaulConfig.js +0 -30
  896. package/lib/ops/entities/azure-service-principal.d.ts +0 -23
  897. package/lib/ops/entities/azure-service-principal.js +0 -24
  898. package/lib/ops/entities/better-logger.js +0 -2
  899. package/lib/ops/entities/branch.d.ts +0 -13
  900. package/lib/ops/entities/branch.js +0 -16
  901. package/lib/ops/entities/cli-config.d.ts +0 -48
  902. package/lib/ops/entities/cli-config.js +0 -61
  903. package/lib/ops/entities/cli-config.js.map +0 -1
  904. package/lib/ops/entities/docker-image.d.ts +0 -60
  905. package/lib/ops/entities/docker-image.js +0 -3
  906. package/lib/ops/entities/helm-spec.d.ts +0 -15
  907. package/lib/ops/entities/helm-spec.js +0 -23
  908. package/lib/ops/entities/index.d.ts +0 -4
  909. package/lib/ops/entities/index.js +0 -12
  910. package/lib/ops/entities/operation-meta.d.ts +0 -8
  911. package/lib/ops/entities/operation-meta.js +0 -19
  912. package/lib/ops/entities/operation-meta.js.map +0 -1
  913. package/lib/ops/entities/scaffolding.d.ts +0 -19
  914. package/lib/ops/entities/scaffolding.js +0 -21
  915. package/lib/ops/extensions/azart-identity-adapter.d.ts +0 -19
  916. package/lib/ops/extensions/azart-identity-adapter.js +0 -97
  917. package/lib/ops/extensions/npm-identity-adapter-base.d.ts +0 -13
  918. package/lib/ops/extensions/npm-identity-adapter-base.js +0 -3
  919. package/lib/ops/extensions/npmjs-identity-adapter.d.ts +0 -13
  920. package/lib/ops/extensions/npmjs-identity-adapter.js +0 -64
  921. package/lib/ops/git-ops.d.ts +0 -8
  922. package/lib/ops/git-ops.js +0 -14
  923. package/lib/ops/i-client-for-image-registry.js +0 -17
  924. package/lib/ops/i-identity-handler.d.ts +0 -33
  925. package/lib/ops/i-identity-handler.js +0 -165
  926. package/lib/ops/i-output-styler.js +0 -17
  927. package/lib/ops/index.d.ts +0 -12
  928. package/lib/ops/index.js +0 -15
  929. package/lib/ops/json-utils.js +0 -59
  930. package/lib/ops/no-style-output-styler.js +0 -30
  931. package/lib/ops/oauth2-client.ts/oauth2-client.d.ts +0 -23
  932. package/lib/ops/oauth2-client.ts/oauth2-client.js +0 -64
  933. package/lib/ops/oauth2-client.ts/oauth2-client.js.map +0 -1
  934. package/lib/ops/project-initializer.d.ts +0 -36
  935. package/lib/ops/project-initializer.js +0 -219
  936. package/lib/ops/scaffolding/base-scaffolding.d.ts +0 -7
  937. package/lib/ops/scaffolding/base-scaffolding.js +0 -21
  938. package/lib/ops/scaffolding/base-scaffolding.js.map +0 -1
  939. package/lib/ops/scaffolding/codiac-api-scaffolding.d.ts +0 -7
  940. package/lib/ops/scaffolding/codiac-api-scaffolding.js +0 -64
  941. package/lib/ops/scaffolding/codiac-api-scaffolding.js.map +0 -1
  942. package/lib/ops/scaffolding/typescript-scaffolding.d.ts +0 -15
  943. package/lib/ops/scaffolding/typescript-scaffolding.js +0 -163
  944. package/lib/ops/scaffolding/typescript-scaffolding.js.map +0 -1
  945. package/lib/ops/test/mock-ui.d.ts +0 -26
  946. package/lib/ops/test/mock-ui.js +0 -88
  947. package/lib/ops/test/test-extensions.d.ts +0 -13
  948. package/lib/ops/test/test-extensions.js +0 -71
  949. package/lib/ops/test/when-a-recursive-file-search-is-run.spec.d.ts +0 -2
  950. package/lib/ops/test/when-a-recursive-file-search-is-run.spec.js +0 -55
  951. package/lib/ops/test/when-git-branchline-is-attempted.spec.d.ts +0 -2
  952. package/lib/ops/test/when-git-branchline-is-attempted.spec.js +0 -38
  953. package/lib/ops/test/when-versions-are-parsed.spec.d.ts +0 -2
  954. package/lib/ops/test/when-versions-are-parsed.spec.js +0 -62
  955. package/lib/ops/throwing-user-input-provider.js +0 -37
  956. package/lib/ops/workspace-versioner.d.ts +0 -122
  957. package/lib/ops/workspace-versioner.js +0 -292
  958. package/lib/ops/workspace-versioner.js.map +0 -1
  959. package/lib/prettify.d.ts +0 -7
  960. package/lib/prettify.js +0 -24
  961. package/lib/read-stdin.d.ts +0 -2
  962. package/lib/read-stdin.js +0 -29
  963. package/lib/relay/contracts/contracts.d.ts +0 -207
  964. package/lib/relay/contracts/contracts.js +0 -230
  965. package/lib/relay/extended-relay-client.d.ts +0 -27
  966. package/lib/relay/extended-relay-client.js +0 -28
  967. package/lib/relay/relay-container.d.ts +0 -41
  968. package/lib/relay/relay-container.js +0 -298
  969. package/lib/relay/relay-container.js.map +0 -1
  970. package/lib/relay/wsclient/relay-socket-listener.d.ts +0 -68
  971. package/lib/relay/wsclient/relay-socket-listener.js +0 -165
  972. package/lib/relay/wsclient/relay-socket-listener.js.map +0 -1
  973. package/lib/relay/wsclient/relay-websocket-client.d.ts +0 -33
  974. package/lib/relay/wsclient/relay-websocket-client.js +0 -179
  975. package/lib/relay/wsclient/relay-websocket-client.js.map +0 -1
  976. package/lib/relay/wsclient/rx-websocket-subject.d.ts +0 -25
  977. package/lib/relay/wsclient/rx-websocket-subject.js +0 -134
  978. package/lib/relay/wsclient/rx-websocket-subject.js.map +0 -1
  979. package/lib/relay/wsclient/socket-contracts.d.ts +0 -22
  980. package/lib/relay/wsclient/socket-contracts.js +0 -3
  981. package/lib/standard-probes.d.ts +0 -5
  982. package/lib/standard-probes.js +0 -22
  983. package/lib/uilogic/build-configurator.d.ts +0 -21
  984. package/lib/uilogic/build-configurator.js +0 -111
  985. package/lib/uilogic/cloud-provider-contextualizer.d.ts +0 -46
  986. package/lib/uilogic/cloud-provider-contextualizer.js +0 -194
  987. package/lib/uilogic/cloud-provider-contextualizer.js.map +0 -1
  988. package/lib/uilogic/cloud-resource-configurator-factory.d.ts +0 -41
  989. package/lib/uilogic/cloud-resource-configurator-factory.js +0 -158
  990. package/lib/uilogic/cloud-resource-configurator-factory.js.map +0 -1
  991. package/lib/uilogic/cloud-resource-configurators/aws-resource-configurator.d.ts +0 -38
  992. package/lib/uilogic/cloud-resource-configurators/aws-resource-configurator.js +0 -348
  993. package/lib/uilogic/cloud-resource-configurators/aws-resource-configurator.js.map +0 -1
  994. package/lib/uilogic/cloud-resource-configurators/az-acr-cli-authenticator.js +0 -78
  995. package/lib/uilogic/cloud-resource-configurators/az-interactive-login-configurator.d.ts +0 -42
  996. package/lib/uilogic/cloud-resource-configurators/az-interactive-login-configurator.js +0 -248
  997. package/lib/uilogic/cloud-resource-configurators/az-interactive-login-configurator.js.map +0 -1
  998. package/lib/uilogic/cloud-resource-configurators/azure-resource-configurator.d.ts +0 -110
  999. package/lib/uilogic/cloud-resource-configurators/azure-resource-configurator.js +0 -782
  1000. package/lib/uilogic/cloud-resource-configurators/azure-resource-configurator.js.map +0 -1
  1001. package/lib/uilogic/cloud-resource-configurators/azure-types.js +0 -10
  1002. package/lib/uilogic/cloud-resource-configurators/docker-hub-resource-configurator.d.ts +0 -24
  1003. package/lib/uilogic/cloud-resource-configurators/docker-hub-resource-configurator.js +0 -106
  1004. package/lib/uilogic/cloud-resource-configurators/docker-hub-resource-configurator.js.map +0 -1
  1005. package/lib/uilogic/cloud-resource-configurators/helm-resource-configurator.d.ts +0 -16
  1006. package/lib/uilogic/cloud-resource-configurators/helm-resource-configurator.js +0 -45
  1007. package/lib/uilogic/cloud-resource-configurators/helm-resource-configurator.js.map +0 -1
  1008. package/lib/uilogic/cloud-resource-configurators/unsupported-resource-configurator.d.ts +0 -18
  1009. package/lib/uilogic/cloud-resource-configurators/unsupported-resource-configurator.js +0 -62
  1010. package/lib/uilogic/cloud-resource-configurators/unsupported-resource-configurator.js.map +0 -1
  1011. package/lib/uilogic/enterprise-contextualizer.d.ts +0 -76
  1012. package/lib/uilogic/enterprise-contextualizer.js +0 -671
  1013. package/lib/uilogic/environment-contextualizer.d.ts +0 -15
  1014. package/lib/uilogic/environment-contextualizer.js +0 -43
  1015. package/lib/uilogic/i-cluster-configurator.d.ts +0 -9
  1016. package/lib/uilogic/i-cluster-configurator.js +0 -3
  1017. package/lib/uilogic/i-login-configurator.d.ts +0 -6
  1018. package/lib/uilogic/i-login-configurator.js +0 -3
  1019. package/lib/uilogic/i-registry-configurator.d.ts +0 -6
  1020. package/lib/uilogic/i-registry-configurator.js +0 -3
  1021. package/lib/uilogic/i-secret-store-configurator.d.ts +0 -7
  1022. package/lib/uilogic/i-secret-store-configurator.js +0 -3
  1023. package/lib/uilogic/image-configurator.d.ts +0 -133
  1024. package/lib/uilogic/image-configurator.js +0 -578
  1025. package/lib/uilogic/image-configurator.js.map +0 -1
  1026. package/lib/uilogic/image-contextualizer.d.ts +0 -24
  1027. package/lib/uilogic/image-contextualizer.js +0 -90
  1028. package/lib/uilogic/image-contextualizer.js.map +0 -1
  1029. package/lib/uilogic/image-registry-contextualizer.d.ts +0 -28
  1030. package/lib/uilogic/image-registry-contextualizer.js +0 -127
  1031. package/lib/uilogic/image-registry-contextualizer.js.map +0 -1
  1032. package/lib/uilogic/index.d.ts +0 -9
  1033. package/lib/uilogic/index.js +0 -14
  1034. package/lib/uilogic/prompt-select-fuzzy.js +0 -139
  1035. package/lib/uilogic/render-methods.d.ts +0 -12
  1036. package/lib/uilogic/render-methods.js +0 -65
  1037. package/lib/uilogic/tenant-contextualizer.d.ts +0 -79
  1038. package/lib/uilogic/tenant-contextualizer.js +0 -578
  1039. package/lib/user-context-loader.d.ts +0 -60
  1040. package/lib/user-context-loader.js +0 -184
  1041. /package/{lib → dist}/apis/codiac-api/common/config-loader.js.map +0 -0
  1042. /package/{lib → dist}/apis/codiac-api/common/endpoint-spec.js.map +0 -0
  1043. /package/{lib → dist}/apis/codiac-api/common/security/auth-constants.js.map +0 -0
  1044. /package/{lib → dist}/apis/codiac-api/common/security/i-auth-client.js.map +0 -0
  1045. /package/{lib → dist}/apis/codiac-api/common/security/token-holder.js.map +0 -0
  1046. /package/{lib → dist}/apis/codiac-api/common/utils.js.map +0 -0
  1047. /package/{lib → dist}/apis/codiac-api/contracts/index.js.map +0 -0
  1048. /package/{lib → dist}/apis/codiac-api/gen/contracts.js.map +0 -0
  1049. /package/{lib → dist}/apis/codiac-api/index.js.map +0 -0
  1050. /package/{lib → dist}/apis/codiac-relay/common/config-loader.js.map +0 -0
  1051. /package/{lib → dist}/apis/codiac-relay/common/endpoint-spec.js.map +0 -0
  1052. /package/{lib → dist}/apis/codiac-relay/common/security/auth-constants.js.map +0 -0
  1053. /package/{lib → dist}/apis/codiac-relay/common/security/i-auth-client.js.map +0 -0
  1054. /package/{lib → dist}/apis/codiac-relay/common/security/token-holder.js.map +0 -0
  1055. /package/{lib → dist}/apis/codiac-relay/common/utils.js.map +0 -0
  1056. /package/{lib → dist}/apis/codiac-relay/contracts/index.js.map +0 -0
  1057. /package/{lib → dist}/apis/codiac-relay/gen/contracts.js.map +0 -0
  1058. /package/{lib → dist}/apis/codiac-relay/index.js.map +0 -0
  1059. /package/{lib → dist}/cli-common/ImagesList.d.ts +0 -0
  1060. /package/{lib → dist}/cli-common/ImagesList.js.map +0 -0
  1061. /package/{lib → dist}/cli-common/argument-manager.js.map +0 -0
  1062. /package/{lib → dist}/cli-common/cli-interfaces.d.ts +0 -0
  1063. /package/{lib → dist}/cli-common/cli-interfaces.js.map +0 -0
  1064. /package/{lib → dist}/cli-common/command-base.js.map +0 -0
  1065. /package/{lib → dist}/cli-common/entities/index.js.map +0 -0
  1066. /package/{lib → dist}/cli-common/entities/prompt-choice.js.map +0 -0
  1067. /package/{lib → dist}/cli-common/file-selector.js.map +0 -0
  1068. /package/{lib → dist}/cli-common/i-user-input-provider.d.ts +0 -0
  1069. /package/{lib → dist}/cli-common/i-user-input-provider.js.map +0 -0
  1070. /package/{lib → dist}/cli-common/index.js.map +0 -0
  1071. /package/{lib → dist}/cli-common/mock-ui.js.map +0 -0
  1072. /package/{lib → dist}/cli-common/tenant-contextualizer.d.ts +0 -0
  1073. /package/{lib → dist}/cli-common/tenant-contextualizer.js.map +0 -0
  1074. /package/{lib → dist}/cli-common/test/tenant-contextualizer.spec.d.ts +0 -0
  1075. /package/{lib → dist}/cli-common/test/tenant-contextualizer.spec.js.map +0 -0
  1076. /package/{lib → dist}/cli-entities/output-format-enum.js.map +0 -0
  1077. /package/{lib → dist}/cli-entities/prompt-choice.d.ts +0 -0
  1078. /package/{lib → dist}/cli-entities/prompt-choice.js.map +0 -0
  1079. /package/{lib → dist}/codiac-constants.js.map +0 -0
  1080. /package/{lib → dist}/codiac-entities/asset-binding.js.map +0 -0
  1081. /package/{lib → dist}/codiac-entities/azure-container-registry.js.map +0 -0
  1082. /package/{lib → dist}/codiac-entities/azure-service-principal.js.map +0 -0
  1083. /package/{lib → dist}/codiac-entities/cloud-account-ref.js.map +0 -0
  1084. /package/{lib → dist}/codiac-entities/deployment-temp.d.ts +0 -0
  1085. /package/{lib → dist}/codiac-entities/deployment-temp.js.map +0 -0
  1086. /package/{lib → dist}/codiac-entities/i-cloud-account-ref.js.map +0 -0
  1087. /package/{lib → dist}/command-base-enterprise.js.map +0 -0
  1088. /package/{lib → dist}/command-base-tenantless.js.map +0 -0
  1089. /package/{lib → dist}/commands/asset/create.js.map +0 -0
  1090. /package/{lib → dist}/commands/asset/destroy.js.map +0 -0
  1091. /package/{lib → dist}/commands/asset/helm.js.map +0 -0
  1092. /package/{lib → dist}/commands/asset/list.js.map +0 -0
  1093. /package/{lib → dist}/commands/asset/probe/create.js.map +0 -0
  1094. /package/{lib → dist}/commands/asset/recycle.js.map +0 -0
  1095. /package/{lib → dist}/commands/asset/view.js.map +0 -0
  1096. /package/{lib → dist}/commands/asset/volume/create.js.map +0 -0
  1097. /package/{lib → dist}/commands/asset/volume/delete.js.map +0 -0
  1098. /package/{lib → dist}/commands/asset/volume/list.js.map +0 -0
  1099. /package/{lib → dist}/commands/branch/current.js.map +0 -0
  1100. /package/{lib → dist}/commands/branch/list.js.map +0 -0
  1101. /package/{lib → dist}/commands/branch.js.map +0 -0
  1102. /package/{lib → dist}/commands/build.js.map +0 -0
  1103. /package/{lib → dist}/commands/cabinet/create.js.map +0 -0
  1104. /package/{lib → dist}/commands/cabinet/list.js.map +0 -0
  1105. /package/{lib → dist}/commands/cabinet/obliterate.js.map +0 -0
  1106. /package/{lib → dist}/commands/cli.js.map +0 -0
  1107. /package/{lib → dist}/commands/commit.js.map +0 -0
  1108. /package/{lib → dist}/commands/config/add.js.map +0 -0
  1109. /package/{lib → dist}/commands/config/delete.js.map +0 -0
  1110. /package/{lib → dist}/commands/config/deploy.js.map +0 -0
  1111. /package/{lib → dist}/commands/config/import.js.map +0 -0
  1112. /package/{lib → dist}/commands/config/view.js.map +0 -0
  1113. /package/{lib → dist}/commands/csp/login.js.map +0 -0
  1114. /package/{lib → dist}/commands/csp/logout.js.map +0 -0
  1115. /package/{lib → dist}/commands/dep/create.js.map +0 -0
  1116. /package/{lib → dist}/commands/dep/install.js.map +0 -0
  1117. /package/{lib → dist}/commands/dep/list.js.map +0 -0
  1118. /package/{lib → dist}/commands/dep/remove.js.map +0 -0
  1119. /package/{lib → dist}/commands/dep/source.js.map +0 -0
  1120. /package/{lib → dist}/commands/dep/syncup.js.map +0 -0
  1121. /package/{lib → dist}/commands/dep/unsource.js.map +0 -0
  1122. /package/{lib → dist}/commands/dep/upgrade.js.map +0 -0
  1123. /package/{lib → dist}/commands/dep.js.map +0 -0
  1124. /package/{lib → dist}/commands/deploy.js.map +0 -0
  1125. /package/{lib → dist}/commands/enterprise/create.js.map +0 -0
  1126. /package/{lib → dist}/commands/enterprise/list.js.map +0 -0
  1127. /package/{lib → dist}/commands/env/add.js.map +0 -0
  1128. /package/{lib → dist}/commands/environment/create.js.map +0 -0
  1129. /package/{lib → dist}/commands/environment/list.js.map +0 -0
  1130. /package/{lib → dist}/commands/filestore/capture.js.map +0 -0
  1131. /package/{lib → dist}/commands/host/map.js.map +0 -0
  1132. /package/{lib → dist}/commands/identity/delete.js.map +0 -0
  1133. /package/{lib → dist}/commands/identity/list.js.map +0 -0
  1134. /package/{lib → dist}/commands/identity.js.map +0 -0
  1135. /package/{lib → dist}/commands/imageRegistry/capture.js.map +0 -0
  1136. /package/{lib → dist}/commands/imageRegistry/forget.js.map +0 -0
  1137. /package/{lib → dist}/commands/imageRegistry/pullSecret/set.js.map +0 -0
  1138. /package/{lib → dist}/commands/imageRegistry/pullSecret/unset.js.map +0 -0
  1139. /package/{lib → dist}/commands/images/add.js.map +0 -0
  1140. /package/{lib → dist}/commands/images/list.js.map +0 -0
  1141. /package/{lib → dist}/commands/images/patch.js.map +0 -0
  1142. /package/{lib → dist}/commands/images/remove.js.map +0 -0
  1143. /package/{lib → dist}/commands/images/version/bump.js.map +0 -0
  1144. /package/{lib → dist}/commands/images/version.js.map +0 -0
  1145. /package/{lib → dist}/commands/init.js.map +0 -0
  1146. /package/{lib → dist}/commands/kit/create.js.map +0 -0
  1147. /package/{lib → dist}/commands/login.js.map +0 -0
  1148. /package/{lib → dist}/commands/logout.js.map +0 -0
  1149. /package/{lib → dist}/commands/merge.js.map +0 -0
  1150. /package/{lib → dist}/commands/noc/cluster/create.js.map +0 -0
  1151. /package/{lib → dist}/commands/noc/cluster/deinit.js.map +0 -0
  1152. /package/{lib → dist}/commands/noc/cluster/destroy.js.map +0 -0
  1153. /package/{lib → dist}/commands/noc/cluster/forget.js.map +0 -0
  1154. /package/{lib → dist}/commands/noc/cluster/grant.js.map +0 -0
  1155. /package/{lib → dist}/commands/noc/cluster/init.js.map +0 -0
  1156. /package/{lib → dist}/commands/noc/cluster/list.js.map +0 -0
  1157. /package/{lib → dist}/commands/noc/cluster/recreate.js.map +0 -0
  1158. /package/{lib → dist}/commands/pkg/add.js.map +0 -0
  1159. /package/{lib → dist}/commands/pkg/list.js.map +0 -0
  1160. /package/{lib → dist}/commands/pkg/patch.js.map +0 -0
  1161. /package/{lib → dist}/commands/pkg/remove.js.map +0 -0
  1162. /package/{lib → dist}/commands/portal.js.map +0 -0
  1163. /package/{lib → dist}/commands/publish.js.map +0 -0
  1164. /package/{lib → dist}/commands/pull.js.map +0 -0
  1165. /package/{lib → dist}/commands/push.js.map +0 -0
  1166. /package/{lib → dist}/commands/run.js.map +0 -0
  1167. /package/{lib → dist}/commands/secretStore/capture.js.map +0 -0
  1168. /package/{lib → dist}/commands/secretStore/forget.js.map +0 -0
  1169. /package/{lib → dist}/commands/stage.js.map +0 -0
  1170. /package/{lib → dist}/commands/stash.js.map +0 -0
  1171. /package/{lib → dist}/commands/status.js.map +0 -0
  1172. /package/{lib → dist}/commands/stop.js.map +0 -0
  1173. /package/{lib → dist}/commands/switch.js.map +0 -0
  1174. /package/{lib → dist}/commands/sync.js.map +0 -0
  1175. /package/{lib → dist}/commands/tenant/create.js.map +0 -0
  1176. /package/{lib → dist}/commands/tenant/switch.js.map +0 -0
  1177. /package/{lib → dist}/commands/unstage.js.map +0 -0
  1178. /package/{lib → dist}/commands/whereami.js.map +0 -0
  1179. /package/{lib → dist}/commands/whoami.js.map +0 -0
  1180. /package/{lib → dist}/errors/NoMembershipError.js.map +0 -0
  1181. /package/{lib → dist}/index.js.map +0 -0
  1182. /package/{lib → dist}/log-update-wrapper.js.map +0 -0
  1183. /package/{lib → dist}/ops/INTERFACES_CLI.js.map +0 -0
  1184. /package/{lib → dist}/ops/azure-container-registry-client/azure-container-registry-client.d.ts +0 -0
  1185. /package/{lib → dist}/ops/azure-container-registry-client/azure-container-registry-client.js.map +0 -0
  1186. /package/{lib → dist}/ops/cli-path-walker.d.ts +0 -0
  1187. /package/{lib → dist}/ops/cli-path-walker.js.map +0 -0
  1188. /package/{lib → dist}/ops/codiac-entities/dependency.js.map +0 -0
  1189. /package/{lib → dist}/ops/codiac-entities/index.js.map +0 -0
  1190. /package/{lib → dist}/ops/composite-image-registry-client.d.ts +0 -0
  1191. /package/{lib → dist}/ops/composite-image-registry-client.js.map +0 -0
  1192. /package/{lib → dist}/ops/data/index.js.map +0 -0
  1193. /package/{lib → dist}/ops/data/npm-config-repo.js.map +0 -0
  1194. /package/{lib → dist}/ops/docker-config.d.ts +0 -0
  1195. /package/{lib → dist}/ops/docker-config.js.map +0 -0
  1196. /package/{lib → dist}/ops/docker-constants.d.ts +0 -0
  1197. /package/{lib → dist}/ops/docker-constants.js.map +0 -0
  1198. /package/{lib → dist}/ops/docker-credentials-store.d.ts +0 -0
  1199. /package/{lib → dist}/ops/docker-credentials-store.js.map +0 -0
  1200. /package/{lib → dist}/ops/docker-registry-api-client/docker-registry-api-client.d.ts +0 -0
  1201. /package/{lib → dist}/ops/docker-registry-api-client/docker-registry-api-client.js.map +0 -0
  1202. /package/{lib → dist}/ops/docker-registry-api-client/entities/blob-sum.js.map +0 -0
  1203. /package/{lib → dist}/ops/docker-registry-api-client/entities/docker-access-actions-enum.js.map +0 -0
  1204. /package/{lib → dist}/ops/docker-registry-api-client/entities/docker-auth-token-criteria.js.map +0 -0
  1205. /package/{lib → dist}/ops/docker-registry-api-client/entities/i-docker-error-response.js.map +0 -0
  1206. /package/{lib → dist}/ops/docker-registry-api-client/entities/i-docker-list-response.js.map +0 -0
  1207. /package/{lib → dist}/ops/docker-registry-api-client/entities/image-repository.js.map +0 -0
  1208. /package/{lib → dist}/ops/docker-registry-api-client/entities/image-tag-criteria.js.map +0 -0
  1209. /package/{lib → dist}/ops/docker-registry-api-client/entities/image-tag-list.js.map +0 -0
  1210. /package/{lib → dist}/ops/docker-registry-api-client/entities/manifest-criteria.js.map +0 -0
  1211. /package/{lib → dist}/ops/docker-registry-api-client/entities/manifest.js.map +0 -0
  1212. /package/{lib → dist}/ops/docker-registry-api-client/entities/repository-criteria.js.map +0 -0
  1213. /package/{lib → dist}/ops/docker-registry-api-client/entities/token-response.js.map +0 -0
  1214. /package/{lib → dist}/ops/docker-registry-api-client/entities/token.js.map +0 -0
  1215. /package/{lib → dist}/ops/docker-registry-api-client/entities/version-check-criteria.js.map +0 -0
  1216. /package/{lib → dist}/ops/dx-constants.js.map +0 -0
  1217. /package/{lib → dist}/ops/entities/ImageBuildContext.js.map +0 -0
  1218. /package/{lib → dist}/ops/entities/PipelineContext.js.map +0 -0
  1219. /package/{lib → dist}/ops/entities/TenantContext.js.map +0 -0
  1220. /package/{lib → dist}/ops/entities/ThaulConfig.d.ts +0 -0
  1221. /package/{lib → dist}/ops/entities/ThaulConfig.js.map +0 -0
  1222. /package/{lib → dist}/ops/entities/azure-service-principal.js.map +0 -0
  1223. /package/{lib → dist}/ops/entities/better-logger.d.ts +0 -0
  1224. /package/{lib → dist}/ops/entities/better-logger.js.map +0 -0
  1225. /package/{lib → dist}/ops/entities/branch.js.map +0 -0
  1226. /package/{lib → dist}/ops/entities/docker-image.js.map +0 -0
  1227. /package/{lib → dist}/ops/entities/helm-spec.js.map +0 -0
  1228. /package/{lib → dist}/ops/entities/index.js.map +0 -0
  1229. /package/{lib → dist}/ops/entities/scaffolding.js.map +0 -0
  1230. /package/{lib → dist}/ops/extensions/azart-identity-adapter.js.map +0 -0
  1231. /package/{lib → dist}/ops/extensions/npm-identity-adapter-base.js.map +0 -0
  1232. /package/{lib → dist}/ops/extensions/npmjs-identity-adapter.js.map +0 -0
  1233. /package/{lib → dist}/ops/git-ops.js.map +0 -0
  1234. /package/{lib → dist}/ops/i-client-for-image-registry.d.ts +0 -0
  1235. /package/{lib → dist}/ops/i-client-for-image-registry.js.map +0 -0
  1236. /package/{lib → dist}/ops/i-identity-handler.js.map +0 -0
  1237. /package/{lib → dist}/ops/i-output-styler.d.ts +0 -0
  1238. /package/{lib → dist}/ops/i-output-styler.js.map +0 -0
  1239. /package/{lib → dist}/ops/index.js.map +0 -0
  1240. /package/{lib → dist}/ops/json-utils.d.ts +0 -0
  1241. /package/{lib → dist}/ops/json-utils.js.map +0 -0
  1242. /package/{lib → dist}/ops/no-style-output-styler.d.ts +0 -0
  1243. /package/{lib → dist}/ops/no-style-output-styler.js.map +0 -0
  1244. /package/{lib → dist}/ops/project-initializer.js.map +0 -0
  1245. /package/{lib → dist}/ops/test/mock-ui.js.map +0 -0
  1246. /package/{lib → dist}/ops/test/test-extensions.js.map +0 -0
  1247. /package/{lib → dist}/ops/test/when-a-recursive-file-search-is-run.spec.js.map +0 -0
  1248. /package/{lib → dist}/ops/test/when-git-branchline-is-attempted.spec.js.map +0 -0
  1249. /package/{lib → dist}/ops/test/when-versions-are-parsed.spec.js.map +0 -0
  1250. /package/{lib → dist}/ops/throwing-user-input-provider.d.ts +0 -0
  1251. /package/{lib → dist}/ops/throwing-user-input-provider.js.map +0 -0
  1252. /package/{lib → dist}/prettify.js.map +0 -0
  1253. /package/{lib → dist}/read-stdin.js.map +0 -0
  1254. /package/{lib → dist}/relay/contracts/contracts.js.map +0 -0
  1255. /package/{lib → dist}/relay/extended-relay-client.js.map +0 -0
  1256. /package/{lib → dist}/relay/wsclient/socket-contracts.js.map +0 -0
  1257. /package/{lib → dist}/standard-probes.js.map +0 -0
  1258. /package/{lib → dist}/uilogic/build-configurator.js.map +0 -0
  1259. /package/{lib → dist}/uilogic/cloud-resource-configurators/az-acr-cli-authenticator.d.ts +0 -0
  1260. /package/{lib → dist}/uilogic/cloud-resource-configurators/az-acr-cli-authenticator.js.map +0 -0
  1261. /package/{lib → dist}/uilogic/cloud-resource-configurators/azure-types.d.ts +0 -0
  1262. /package/{lib → dist}/uilogic/cloud-resource-configurators/azure-types.js.map +0 -0
  1263. /package/{lib → dist}/uilogic/enterprise-contextualizer.js.map +0 -0
  1264. /package/{lib → dist}/uilogic/environment-contextualizer.js.map +0 -0
  1265. /package/{lib → dist}/uilogic/i-cluster-configurator.js.map +0 -0
  1266. /package/{lib → dist}/uilogic/i-login-configurator.js.map +0 -0
  1267. /package/{lib → dist}/uilogic/i-registry-configurator.js.map +0 -0
  1268. /package/{lib → dist}/uilogic/i-secret-store-configurator.js.map +0 -0
  1269. /package/{lib → dist}/uilogic/index.js.map +0 -0
  1270. /package/{lib → dist}/uilogic/prompt-select-fuzzy.d.ts +0 -0
  1271. /package/{lib → dist}/uilogic/prompt-select-fuzzy.js.map +0 -0
  1272. /package/{lib → dist}/uilogic/render-methods.js.map +0 -0
  1273. /package/{lib → dist}/uilogic/tenant-contextualizer.js.map +0 -0
  1274. /package/{lib → dist}/user-context-loader.js.map +0 -0
@@ -1,417 +0,0 @@
1
- import { Container } from "inversify";
2
- import { Result } from "@codiac.io/codiac-common/contracts";
3
- import { IdentitySet, TokenizedIdentity, ProjectUserConfig } from '@codiac.io/codiac-relay-contracts';
4
- import { ProjectConfig, Submodule, ImageExport, PackageExport, RegistryTarget, PublishingMode } from '@codiac.io/codiac-relay-contracts';
5
- import { Branch } from './entities/branch';
6
- import { ImageBuildContext } from './entities/ImageBuildContext';
7
- import { CliEnviro } from ".";
8
- import { WorkspaceVersioner } from "./workspace-versioner";
9
- export declare class LocalOps {
10
- private ioc;
11
- constructor(ioc: Container);
12
- get _projectRoot(): string;
13
- _cliEnviro: CliEnviro | undefined;
14
- get cliEnviro(): CliEnviro;
15
- private _projEnviro;
16
- private get projEnviro();
17
- private __projCfgRepo;
18
- private get _projCfgRepo();
19
- get _projCfg(): ProjectConfig;
20
- protected __projCfg: ProjectConfig | undefined;
21
- get _projUserCfg(): ProjectUserConfig;
22
- protected __projUserCfg: ProjectUserConfig | undefined;
23
- private __cliConfig;
24
- private get cliConfig();
25
- private _ux;
26
- private get ux();
27
- private _styler;
28
- private get styler();
29
- private __cliExec;
30
- private get _cliExec();
31
- private _logger;
32
- private get logger();
33
- get _workspaceVersioner(): WorkspaceVersioner;
34
- protected __workspaceVersioner: WorkspaceVersioner | undefined;
35
- /** Shows the ascii art product name and the version in the console */
36
- renderTitleBlock(): void;
37
- /**
38
- * ***OBSOLETE!!! Use CliPathWalker.getProjectRoot() instead!!***
39
- *
40
- * Gets the Toyhauler project root folder
41
- * that is in scope for the current working directory
42
- * or the given folder.
43
- * IMPORTANT: Throws by default when no Toyhauler config file exists up the parent folder chain.
44
- * @param folder (optional, defaults to current working directory) The folder containing the thaul config file, or any folder underneath that one.
45
- * @param errorWhenNotFound Setting to false will return an empty string if folder is not contained in a project root.
46
- *
47
- * @deprecated Use `CliPathWalker.getProjectRoot()` instead!
48
- */
49
- getConfigRoot(folder?: string, errorWhenNotFound?: boolean): string;
50
- /** Deserializes the Toyhauler config file in scope for the current working directory.
51
- * Throws if none is defined up the folder tree. */
52
- readCodiacProjectConfig(folder?: string): ProjectConfig;
53
- npmSyncIdentitiesWithNpmrc(...identities: TokenizedIdentity[]): Promise<void>;
54
- /** Deserializes the npm package.json file in the given directory.
55
- * Returns undefined if not found.
56
- * Throws if no toyhauler project is defined up the folder tree.
57
- * @param pkgRoot (Optional: defaults to the thaul project root) Fully qualified path to the folder containing the package.json file. */
58
- readNpmPackageJson(pkgRoot?: string, fileName?: string): any;
59
- /** Serializes the given object as the package.json for the project.
60
- * @param config the npm package.json as an object in memory.
61
- * @param projectRoot fully qualified target folder to write the package.json file (optional: defaults to the thaul project root)
62
- */
63
- writeNpmPackageJson(config: packageJson, projectRoot?: string): packageJson;
64
- /** Deletes the package.json file in the project root. */
65
- deleteNpmPackageJson(): void;
66
- /** Deletes the package.json file in the project root. */
67
- clearNpmNodeModulesFolder(): void;
68
- /** Retrieves a list of all production dependencies for the npm project with the given root folder.
69
- * @param projectRoot The fully qualified pathg to the folder containing the package.json file.
70
- */
71
- getNpmDependencies(projectRoot: string): Promise<string[]>;
72
- /** Instantiates the tsconfig.json object from its file in the project root.
73
- * NOTE: Returns undefined if no tsconfig.json is found.
74
- * @param typescriptRoot (optional: defaults to main project root) Fully qualified path to the folder containing the typescript config file to load.
75
- */
76
- readTsConfig(typescriptRoot?: string): tsconfigJson | undefined;
77
- /** Retrieves the fully qualified local path to the root folder
78
- * of the source control repository clone
79
- * (aka: the folder into which the repo was originally cloned).
80
- * Though it is best that this folder coincide with the toyhauler project root,
81
- * there are cases where it may not, such as with submodules,
82
- * or subfolders that contain their own typescript and npm configs.
83
- * @param projectRoot Fully qualified local path to the root of the thaul project (aka: nearest upstream folder containing a .codiac.json) */
84
- getRepoRoot(projectRoot: string): Promise<string>;
85
- APP_CONFIG_FILENAME: string;
86
- /** Array of built-in app config keys that are supported by the api framework. */
87
- AVAIL_CONFIG_KEYS_FILENAME: string;
88
- /** Deserializes the app config file if it exists
89
- * @param relFolder The folder relative to the root to read from:
90
- * eg: Either the project source folder "./src" or the build output folder "/bin".
91
- */
92
- loadConfig(relFolder?: string): any;
93
- /** Serializes the app config object to a file. */
94
- writeConfig(appConfig: any): void;
95
- deleteConfigFile(): void;
96
- /** Loads the list of names of the built in app-config settings
97
- * supported by the framework
98
- * (Reads from a json file in the cli executable folder). */
99
- loadConfigKeys(
100
- /** Path to the folder containing the CLI executable
101
- * (from an oclif Command class, use "this.config.root"). */
102
- execRoot: string): string[];
103
- /** Synchronously deletes the given file. Throws any exceptions.
104
- * @param relPathName Path and filename of file relative to the project root
105
- * (eg: "src/app-config.json").
106
- */
107
- deleteProjectFile(relPathName: string): void;
108
- /** Synchronously deletes all contents of the given folder without deleting the folder itself.
109
- * Throws any exceptions.
110
- * @param relPathName Path of target folder relative to the project root
111
- * (eg: "src/my-outdated-stuff").
112
- */
113
- clearProjectFolder(relPathName: string): void;
114
- /** Reads the current version of the main project.
115
- * Uses npm's package.json as the system of record for the version. */
116
- npmGetCurrentVersion(pkgRoot?: string): string;
117
- getCodeVersion(pkgRoot?: string): Promise<string>;
118
- /** Loads the source code for the given repo as a git submodule of the project.
119
- * DOES NOT interface with npm or any other tool - just git.
120
- * @param packageName The official name of the project dependency whose repo is being submoduled (including any scope prefix, eg: "@codiac/").
121
- * @param cloneUrl The url of the git repo that will be used to pull the source code.
122
- * @param lastPkgVersion The version of its package that the project is currently depending on.
123
- * @param nameOverride (optional: defaults to the repo name) The unique identifier for this submodule within the current project.
124
- */
125
- addSubmodule(cloneUrl: string, packageName: string, lastPkgVersion?: string, nameOverride?: string, branch?: string): Promise<Submodule>;
126
- /** Replaces the installed package of the dependency with the local submodule folder as the source of the code references.
127
- * ie: allows the developer to debug the submoduled source code instead of the code that was installed from the package.
128
- * NOTE: There is no guarantee that the submodule code being linked
129
- * matches that of the installed dependency.
130
- * @param submodule A valid dependency sourced into the project.
131
- */
132
- symLinkSubmodule(submodule: Submodule): Promise<void>;
133
- /** Reverts a linked submodule reference back to the installed package dependency.
134
- * @param name Unique identifier in this project for the submodule (typically the package name).
135
- */
136
- unSymLinkSubmodule(name: string): Promise<void>;
137
- /** Fully exorcises a git submodule from the project.
138
- * Returns the submodule object that was removed.
139
- * NOTE: Does NOT remove the project package dependency that corresponds to the submodule.
140
- *
141
- * @param name Unique identifier in this project for the submodule (typically the package name without any scope prefix).
142
- * @param discardChanges Discards all uncommitted changes (staged and unstaged) before unsourcing, and goes back to the previously installed version of the dependency. Again, uncomitted changes are LOST when this flag is set!
143
- */
144
- removeSubmodule(name: string, discardChanges?: boolean): Promise<Submodule>;
145
- /** Returns a valid submodule object from the given name or prompts for one.
146
- * Guarantees a valid submodule reference, an undefined, or throws an exception.
147
- * NOTE: The user can also cancel the operation entirely (CTRL-C), which will exit the whole process itself.
148
- * @param actionIntended The verb for the process for which the submodule is being selected. (eg: 'remove' which will get used in user prompt as '...please select the dependency source to remove...')
149
- * @param name Unique identifier in this project for the submodule (typically the package name).
150
- * @param projectConfig The toyhauler settings for the current project.
151
- */
152
- protected chooseSubmodule(actionIntended: string, name?: string, projectConfig?: ProjectConfig): Promise<Submodule | undefined>;
153
- /** npm sends its warnings down the stderr pipe rather than stdout,
154
- * so we have to parse it to find out if it is indeed an error.
155
- * Fortunately they prefix them with "npm WARN" or "npm ERR!".
156
- */
157
- npmStdErrIsJustAWarning(stderr: string): boolean;
158
- protected buildVersionTag(mainVersionNumber: string, workingFolder: string): Promise<string>;
159
- /** Creates and publishes to the npm registry any configured npm packages
160
- * for the main project and its sourced dependencies.
161
- * NOTE: Determines whether to publish based on the occurrence of commits since the last package date.
162
- * @param force Publishes regardless of whether package contents have changed or not.
163
- * */
164
- npmPublish(force?: boolean): Promise<void>;
165
- /** Determines whether the given npm module has changes
166
- * that require the package to be rebuilt.
167
- * Used to gate the publish of a package to avoid unnecessary processing. */
168
- protected npmIsPublishable(workingFolder: string, fullPackageName: string, version: string): Promise<boolean>;
169
- /** Installs any missing dependency packages. */
170
- dependencyInstallAll(): Promise<void>;
171
- dependencyInstall(name: string, version?: string): Promise<void>;
172
- /**
173
- * Sources a new dependency into the project
174
- * from an existing repo url,
175
- * initializes it with npm if it is not already,
176
- * publishes the npm package if it does not already exist,
177
- * and sources the dependency.
178
- * Uses the version currently specified in its package.json
179
- * for the dependency reference in this project.
180
- *
181
- * @param cloneUrl The official clone url for the repository.
182
- * @param branch The source code branch to switch the dependency to.
183
- * @param packageName (Optional: defaults to the repo name) The globally unique name to use for the npm package if initializing npm, including any scope prefix, eg: "@codiac/").
184
- * @param initVersion (Optional: defaults to the built in initial version number 0.0.0-1) The version number to use if initializing npm for the dependency.
185
- */
186
- dependencyAuthorNew(cloneUrl: string, packageName: string, branch?: string, initVersion?: string): Promise<void>;
187
- dependencyUpgrade(dep: string, version?: string): Promise<void>;
188
- /** Forces local source control to refresh its status
189
- * and returns true when uncommitted changes exist
190
- * on the local machine (staged AND unstaged)
191
- * for the git repo corresponding to the given working directory.
192
- * @param workingDirectory The fully qualified path in which to run the git status command.
193
- */
194
- private gitHasChanges;
195
- /** Returns a distinct list of branch names (without any prefixes such as "remotes/origin/").
196
- * @param remotes (optional: defaults to false) Flag to include remote branches.
197
- * @param locals (optional: defaults to true) Flag to include local branches.
198
- * @param repoRoot (optional: defaults to toyhauler project root) root folder of the repo being queried (used as the working folder for the git commands).
199
- */
200
- gitListBranches(remotes?: boolean, locals?: boolean, repoRoot?: string): Promise<string[]>;
201
- /** Returns a distinct list of branch names (without any prefixes such as "remotes/origin/").
202
- * @param branchName duh.
203
- * @param remotes (optional: defaults to false) Flag to include remote branches.
204
- * @param locals (optional: defaults to true) Flag to include local branches.
205
- * @param repoRoot (optional: defaults to toyhauler project root) root folder of the repo being queried (used as the working directory for the git commands).
206
- */
207
- gitBranchExists(branchName: string, remotes?: boolean, locals?: boolean, repoRoot?: string): Promise<boolean>;
208
- /** Switches the main project and any sourced dependencies to the given source code branch.
209
- * @param branchName duh.
210
- * @param autoCreate (optional: defaults to true) Turn this off to prevent creation of the branch in the sourced dependencies (if missing). CAUTION: This will lead to sourced dependencies on different branches than the main project.
211
- * @param track (Optional: defaults to false) If autoCreate is set and branches are created, creates a matching upstream branch at origin.
212
- */
213
- gitSwitchToBranch(branchName: string, autoCreate?: boolean, track?: boolean): Promise<void>;
214
- /** Creates a new branch in repo rooted in the the given folder. DOES NOT SWITCH TO IT.
215
- * @param branchName duh.
216
- * @param track (Optional: defaults to false) Creates a matching upstream branch at origin.
217
- * @param repoRoot (optional: defaults to toyhauler project root) root folder of the repo being queried (used as the working directory for the git commands).
218
- */
219
- gitCreateBranch(branchName: string, track?: boolean, repoRoot?: string): Promise<void>;
220
- /** Returns the current branch for the main proiject and any currently sourced dependencies. */
221
- gitEachCurrentBranch(): Promise<{
222
- [module: string]: Branch;
223
- }>;
224
- /** Retrieves just the abbreviated name of the current branch. */
225
- gitCurrentBranchNameFor(workingFolder: string): Promise<string>;
226
- /** Retrieves the current branch for the given folder.
227
- * (Cuz git somehow makes that nontrivial).
228
- * @param workingFolder The folder from which to run the git command. */
229
- protected gitCurrentBranchFor(workingFolder: string): Promise<Branch>;
230
- /** Merges the given branch with the current one
231
- * for the main project and all sourced dependencies.
232
- * @param branchName The branch to merge into the current one.
233
- * @param commit Commits if merge succeeds. */
234
- gitMerge(branchName: string, commit?: boolean): Promise<void>;
235
- /** Syncs the current branch with the given branch by merging the given branch into it. */
236
- gitSyncWith(branchToPullFrom: string, includeDependencies?: boolean, targetDependency?: string): Promise<void>;
237
- /** Lists uncommitted changed files (staged, unstaged, or both).
238
- * All paths are relative to the main project root.
239
- * (if both staged and unstaged are ignored, then both are returned)
240
- * @param unstaged Include unstaged files.
241
- * @param staged Include staged files.
242
- * @param repoRoot (optional: defaults to main project root) fully qualified path to the root folder of the cloned repo.
243
- */
244
- gitListChanges(status: "staged" | "unstaged" | "all", repoRoot?: string): Promise<string[]>;
245
- /** Stages the given files for a commit.
246
- * @param files (optional: defaults to "all") the space-delimited list of files to stage
247
- */
248
- gitStage(files?: string[]): Promise<void>;
249
- /** Removes the given files from the git commit index.
250
- * @param files (optional: defaults to "all") the space-delimited list of files to stage
251
- */
252
- gitUnstage(files?: string[]): Promise<void>;
253
- /** Stages or unstages the given files for/from a commit.
254
- * @param files (optional: defaults to "all") the space-delimited list of files to stage
255
- */
256
- protected gitPerformStaging(operation: "stage" | "unstage", files?: string[]): Promise<void>;
257
- /** Standard git clone call
258
- * @param url valid git url to clone from.
259
- * @param targetFolder relative path to the folder into which the repo is to be cloned.
260
- */
261
- gitClone(url: string, targetFolder?: string): Promise<void>;
262
- /** Debug-Logs any failure but doesn't throw errors.
263
- * @param directory Absolute folder path to open.
264
- */
265
- tryOpenVsCode(directory: string): Promise<void>;
266
- /** Commits the currently staged changes on the current branch
267
- * of the main project and on any sourced dependencies.
268
- * @param message The description for this particular commit.
269
- */
270
- gitCommit(message: string): Promise<void>;
271
- /** Returns the hash in the git log that identifies the most recent commit. */
272
- gitReadLatestCommitId(): Promise<string>;
273
- /** Pushes upstream any local commits on the current branch
274
- * of the main project and on any sourced dependencies.
275
- * @param only (optional, defaults to "all") The name of a specific sourced dependency to pull instead of everything in the project. Pulls latest only for the sourced dependency specified by this parameter.
276
- */
277
- gitPushProject(only?: string): Promise<void>;
278
- private gitPush;
279
- /** Retrieves remote changesets on the current branch
280
- * of the main project and on any sourced dependencies.
281
- * @param only (optional, defaults to "all") The name of a specific sourced dependency to pull instead of everything in the project. Pulls latest only for the sourced dependency specified by this parameter.
282
- */
283
- gitPull(only?: string): Promise<void>;
284
- /** Fails if the branch has pending changes or a pending merge status.
285
- * Set the discardChanges argument to ignore any pending status and force the delete.
286
- * @param branchName Must be a valid existing branch
287
- * @param discardChanges (optional: default = false) Ignores any pending changes or merge status and forces the delete of the branch.
288
- */
289
- gitDeleteBranch(branchName: string, discardChanges?: boolean): Promise<void>;
290
- private hasYetToBePublished;
291
- /** OBSOLETE!! Use build() instead. */
292
- typescriptBuild(newVersion?: VersionBump, buildDef?: string[], clear?: boolean): Promise<string>;
293
- /** Increments the version and builds each sourced dependency
294
- * and then the main project.
295
- * Returns the build number. */
296
- build(increment?: VersionBump, buildDef?: string[], clear?: boolean): Promise<string>;
297
- /** Bumps the version as specified.
298
- * NOTE!!! Currently uses npm for this!
299
- *
300
- * ***TODO: Move version persistence to image exports in codiac.json and get off of npm.***
301
- */
302
- private npmIncrementVersion;
303
- /**
304
- * @param subm The sourced dependency project to build.
305
- * @param clear (Optional: defaults to false) Clears the output folder before build.
306
- */
307
- private buildSubmodule;
308
- /** Determines the build output folder as specified in the given tsconfig doc.
309
- * @param tsConfigFolder The root folder for the typescript project (contains the tsconfig.json file).
310
- * @param tsconfig The typescript configuration documetn for the project.
311
- */
312
- private getTsOutputFolder;
313
- private clearTsOutputFolder;
314
- private clearFolder;
315
- /** Builds the container image based on the given container definition file.
316
- * @param requestedFrameworkVersion (Optional: defaults to latest) Explicitly sets the version of the codiac base image to use.
317
- * @param noCache (Optional: defaults to false) Ignores the local Docker image cache, thereby forcing a fresh download of each image from its container registry layer in the build.
318
- * @param identitySet (Optional) The collection of the current user's auth tokens to inject into the build env (eg: for enabling private packages in npm).
319
- * @param targetStage (Optional) For images defined with multi-stage builds, the name of the only build stage to be built on this pass.
320
- * @param imagesToBuild (Optional) Limits the list of images to build. Each value must match the name property of an image export defined in the codiac project file (codiac.json). Ignored if empty.
321
- */
322
- buildProjectImages(buildNumber: string, versionBump?: VersionBump, requestedFrameworkVersion?: string, noCache?: boolean, identitySet?: IdentitySet, targetStage?: string, imagesToBuild?: string[]): Promise<void>;
323
- /** Currently conventional - check if the branch is main or master.
324
- *
325
- * TODO: This is too specific. Make this configurable in the codiac.json, backed by the cli config, backed by this convention..
326
- */
327
- private isMainBranch;
328
- /**
329
- *
330
- * @param imageExport
331
- * @param thisVersion
332
- * @param noCache
333
- * @param cntx
334
- * @param targetStage (Optional) For an image defined with a multi-stage build, the name of the only build stage to be built on this pass.
335
- */
336
- buildSingleImage(imageExport: ImageExport, thisVersion: string, noCache: boolean, cntx: ImageBuildContext, targetStage?: string): Promise<void>;
337
- /**
338
- * Cherry Picking single property output from Docker inspection, and stored in the project > imgs > export cfg for:
339
- * Os - needed to support multi-platform nodepooling
340
- * Architecture - currently dont need it, but I have feeling it wont be long
341
- */
342
- private updateConfigWithImageMetaFromInspection;
343
- /** Housekeeping method that deletes any untagged images
344
- * that get leftover after multiple builds of the same image. */
345
- dockerPruneDanglingImages(): Promise<void>;
346
- /** Legacy logic to hydrate the build env and the npmrc file with token values. */
347
- private npmHydrateTokensInNpmrc;
348
- /** Retrieves the version of the api framework that is currently installed in the project
349
- * from the npm package.json dependencies list.
350
- * NOTE: Removes any version-support prefixes (eg: ^).
351
- * NOTE: Returns "latest" when not installed. */
352
- private getInstalledFrameworkVersion;
353
- /** Constructs from scratch the contents of a dockerfile from which to build an image.
354
- * @param frameworkVersion The version of the api framework to use within the image. That is, the api framework base image will need this version number applied to it.
355
- * @param distPath The path to the typescript output folder, relative to the project root (eg: "./dist").
356
- * @param prefixToProjRoot path prefix that, when applied to the image def file, resolves to the project root (ie: if using ".temp/jit.docker", this parameter would need to be "../") If this dockerfile exists within the project root itself, then any of "./" or "" or undefined are valid.
357
- * @param identities (Optional) The collection of tokenized identities registeed for the current user that are to be put into scope during the image build..
358
- */
359
- private generateDockerImageDef;
360
- declarePackageExport(config: ProjectConfig, target: RegistryTarget, sourceFile?: string): Promise<{
361
- package?: PackageExport;
362
- name?: string;
363
- operation: string;
364
- }>;
365
- /** Adds container image specifications to the project,
366
- * which will add the image spec into the build, publish, and deploy sequences.
367
- */
368
- declareImageExport(config: ProjectConfig, imageName: string, target: RegistryTarget, sourceFile?: string, port?: number, buildParams?: {
369
- [arg: string]: string | undefined;
370
- }): Promise<{
371
- image?: ImageExport;
372
- operation: string;
373
- }>;
374
- /** Returns the pedigree of the current branch
375
- * starting with itself, through each parent, up to the root. */
376
- gitBranchLine(startingBranch: string): Promise<string[]>;
377
- /** Returns the parent source code branch of the given one,
378
- * based on the commit history (because apparently git doesnt track branching history).
379
- * Returns undefined if the given branch has no parent (eg: master). */
380
- gitParent(branch: string): Promise<string | undefined>;
381
- /** Returns the parent source code branch of the given one,
382
- * based on the commit history (because apparently git doesnt track branching history).
383
- * Returns undefined if the given branch has no parent (eg: master). */
384
- gitParent_LinuxOnly(branch: string): Promise<string | undefined>;
385
- /** It is possible that a registry target has not been defined for the given params. */
386
- getTargetImageRegistry(imageConfig: ImageExport, remoteOrLocal: PublishingMode, branch: string): Promise<RegistryTarget | undefined>;
387
- /** Builds the container image based on the given container definition file.
388
- * @param targetRemote If set, publishes to the appropriate remote container registry
389
- * mapped for the current branch, or to the local built-in container registry. When not set, defaults to the previously set value, or to the system default of "local".
390
- * @param only (optional, defaults to "all") The name of a specific sourced dependency to pull instead of everything in the project. Pulls latest only for the sourced dependency specified by this parameter.
391
- */
392
- projectPublishImages(targetRemote?: boolean, only?: string, imagesToPublish?: string[], username?: string, password?: string): Promise<void>;
393
- private publishImages;
394
- protected pushLegacy(): Promise<void>;
395
- /** This was lifted Copy-Paste from AzureContainerRegistryClient in the relay. */
396
- protected pushToAzure(fullImageId: string, registryDomain: string): Promise<Result>;
397
- /** Ensures that the current azure subscription matches the one that owns the registry for the given image. */
398
- setRelevantAzSubscription(): Promise<void>;
399
- /** Fires off the given commands
400
- * and commits the changes to source control.
401
- * @param commands The list of cli statements to execute
402
- * @param desc The comment applied to the commit; should be a description of the overall operation.
403
- * @param workingDirectory The fully qualified path from which to run the given commands and the source control commit statements...
404
- */
405
- protected execAndCommit(commands: string[], desc: string, workingDirectory: string): Promise<void>;
406
- }
407
- type packageJson = any;
408
- type tsconfigJson = any;
409
- export type VersionBump = {
410
- fullName?: string;
411
- major?: boolean;
412
- minor?: boolean;
413
- patch?: boolean;
414
- prerelease?: boolean;
415
- preId?: string;
416
- };
417
- export {};