@osdk/cli 0.24.0-beta.13 → 0.24.0-beta.14

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 (420) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/build/browser/chunk-5AQYUXAY.js +17 -0
  3. package/build/browser/chunk-5AQYUXAY.js.map +1 -0
  4. package/build/browser/chunk-DAYFZSC6.js +42 -0
  5. package/build/browser/chunk-DAYFZSC6.js.map +1 -0
  6. package/build/browser/chunk-IK6CLC6I.js +221 -0
  7. package/build/browser/chunk-IK6CLC6I.js.map +1 -0
  8. package/build/browser/chunk-Q2H7XAS4.js +88 -0
  9. package/build/browser/chunk-Q2H7XAS4.js.map +1 -0
  10. package/build/browser/chunk-VDO5KGGR.js +127 -0
  11. package/build/browser/chunk-VDO5KGGR.js.map +1 -0
  12. package/build/browser/handleGenerate-37Z73JKR.js +409 -0
  13. package/build/browser/handleGenerate-37Z73JKR.js.map +1 -0
  14. package/build/browser/index.js +597 -16
  15. package/build/browser/index.js.map +1 -1
  16. package/build/browser/loginFlow-622FU6FR.js +4 -0
  17. package/build/browser/loginFlow-622FU6FR.js.map +1 -0
  18. package/build/browser/siteDeployCommand-KV7OEWSZ.js +140 -0
  19. package/build/browser/siteDeployCommand-KV7OEWSZ.js.map +1 -0
  20. package/build/browser/versionDeleteCommand-JALRWV7N.js +35 -0
  21. package/build/browser/versionDeleteCommand-JALRWV7N.js.map +1 -0
  22. package/build/browser/versionGetCommand-ZWABO75R.js +29 -0
  23. package/build/browser/versionGetCommand-ZWABO75R.js.map +1 -0
  24. package/build/browser/versionListCommand-S7ZNXKLB.js +34 -0
  25. package/build/browser/versionListCommand-S7ZNXKLB.js.map +1 -0
  26. package/build/browser/versionSetCommand-D25C3HBN.js +29 -0
  27. package/build/browser/versionSetCommand-D25C3HBN.js.map +1 -0
  28. package/build/browser/versionUnsetCommand-YL7WZDYA.js +34 -0
  29. package/build/browser/versionUnsetCommand-YL7WZDYA.js.map +1 -0
  30. package/build/esm/chunk-5AQYUXAY.js +17 -0
  31. package/build/esm/chunk-5AQYUXAY.js.map +1 -0
  32. package/build/esm/chunk-DAYFZSC6.js +42 -0
  33. package/build/esm/chunk-DAYFZSC6.js.map +1 -0
  34. package/build/esm/chunk-IK6CLC6I.js +221 -0
  35. package/build/esm/chunk-IK6CLC6I.js.map +1 -0
  36. package/build/esm/chunk-Q2H7XAS4.js +88 -0
  37. package/build/esm/chunk-Q2H7XAS4.js.map +1 -0
  38. package/build/esm/chunk-VDO5KGGR.js +127 -0
  39. package/build/esm/chunk-VDO5KGGR.js.map +1 -0
  40. package/build/esm/handleGenerate-37Z73JKR.js +409 -0
  41. package/build/esm/handleGenerate-37Z73JKR.js.map +1 -0
  42. package/build/esm/index.js +597 -16
  43. package/build/esm/index.js.map +1 -1
  44. package/build/esm/loginFlow-622FU6FR.js +4 -0
  45. package/build/esm/loginFlow-622FU6FR.js.map +1 -0
  46. package/build/esm/siteDeployCommand-KV7OEWSZ.js +140 -0
  47. package/build/esm/siteDeployCommand-KV7OEWSZ.js.map +1 -0
  48. package/build/esm/versionDeleteCommand-JALRWV7N.js +35 -0
  49. package/build/esm/versionDeleteCommand-JALRWV7N.js.map +1 -0
  50. package/build/esm/versionGetCommand-ZWABO75R.js +29 -0
  51. package/build/esm/versionGetCommand-ZWABO75R.js.map +1 -0
  52. package/build/esm/versionListCommand-S7ZNXKLB.js +34 -0
  53. package/build/esm/versionListCommand-S7ZNXKLB.js.map +1 -0
  54. package/build/esm/versionSetCommand-D25C3HBN.js +29 -0
  55. package/build/esm/versionSetCommand-D25C3HBN.js.map +1 -0
  56. package/build/esm/versionUnsetCommand-YL7WZDYA.js +34 -0
  57. package/build/esm/versionUnsetCommand-YL7WZDYA.js.map +1 -0
  58. package/package.json +6 -6
  59. package/build/browser/cli.d.ts +0 -7
  60. package/build/browser/cli.d.ts.map +0 -1
  61. package/build/browser/cli.js +0 -42
  62. package/build/browser/cli.js.map +0 -1
  63. package/build/browser/commands/auth/index.d.ts +0 -5
  64. package/build/browser/commands/auth/index.d.ts.map +0 -1
  65. package/build/browser/commands/auth/index.js +0 -34
  66. package/build/browser/commands/auth/index.js.map +0 -1
  67. package/build/browser/commands/auth/login/index.d.ts +0 -5
  68. package/build/browser/commands/auth/login/index.d.ts.map +0 -1
  69. package/build/browser/commands/auth/login/index.js +0 -34
  70. package/build/browser/commands/auth/login/index.js.map +0 -1
  71. package/build/browser/commands/site/CommonSiteArgs.d.ts +0 -9
  72. package/build/browser/commands/site/CommonSiteArgs.d.ts.map +0 -1
  73. package/build/browser/commands/site/CommonSiteArgs.js +0 -17
  74. package/build/browser/commands/site/CommonSiteArgs.js.map +0 -1
  75. package/build/browser/commands/site/deploy/SiteDeployArgs.d.ts +0 -10
  76. package/build/browser/commands/site/deploy/SiteDeployArgs.d.ts.map +0 -1
  77. package/build/browser/commands/site/deploy/SiteDeployArgs.js +0 -17
  78. package/build/browser/commands/site/deploy/SiteDeployArgs.js.map +0 -1
  79. package/build/browser/commands/site/deploy/index.d.ts +0 -6
  80. package/build/browser/commands/site/deploy/index.d.ts.map +0 -1
  81. package/build/browser/commands/site/deploy/index.js +0 -108
  82. package/build/browser/commands/site/deploy/index.js.map +0 -1
  83. package/build/browser/commands/site/deploy/logDeployCommandConfigFileOverride.d.ts +0 -5
  84. package/build/browser/commands/site/deploy/logDeployCommandConfigFileOverride.d.ts.map +0 -1
  85. package/build/browser/commands/site/deploy/logDeployCommandConfigFileOverride.js +0 -28
  86. package/build/browser/commands/site/deploy/logDeployCommandConfigFileOverride.js.map +0 -1
  87. package/build/browser/commands/site/deploy/siteDeployCommand.d.mts +0 -10
  88. package/build/browser/commands/site/deploy/siteDeployCommand.d.mts.map +0 -1
  89. package/build/browser/commands/site/deploy/siteDeployCommand.js +0 -98
  90. package/build/browser/commands/site/deploy/siteDeployCommand.js.map +0 -1
  91. package/build/browser/commands/site/deploy/siteDeployCommand.mjs +0 -90
  92. package/build/browser/commands/site/index.d.ts +0 -6
  93. package/build/browser/commands/site/index.d.ts.map +0 -1
  94. package/build/browser/commands/site/index.js +0 -69
  95. package/build/browser/commands/site/index.js.map +0 -1
  96. package/build/browser/commands/site/logSiteCommandConfigFileOverride.d.ts +0 -5
  97. package/build/browser/commands/site/logSiteCommandConfigFileOverride.d.ts.map +0 -1
  98. package/build/browser/commands/site/logSiteCommandConfigFileOverride.js +0 -25
  99. package/build/browser/commands/site/logSiteCommandConfigFileOverride.js.map +0 -1
  100. package/build/browser/commands/site/version/delete/VersionDeleteArgs.d.ts +0 -6
  101. package/build/browser/commands/site/version/delete/VersionDeleteArgs.d.ts.map +0 -1
  102. package/build/browser/commands/site/version/delete/VersionDeleteArgs.js +0 -17
  103. package/build/browser/commands/site/version/delete/VersionDeleteArgs.js.map +0 -1
  104. package/build/browser/commands/site/version/delete/index.d.ts +0 -6
  105. package/build/browser/commands/site/version/delete/index.d.ts.map +0 -1
  106. package/build/browser/commands/site/version/delete/index.js +0 -36
  107. package/build/browser/commands/site/version/delete/index.js.map +0 -1
  108. package/build/browser/commands/site/version/delete/versionDeleteCommand.d.mts +0 -3
  109. package/build/browser/commands/site/version/delete/versionDeleteCommand.d.mts.map +0 -1
  110. package/build/browser/commands/site/version/delete/versionDeleteCommand.js +0 -41
  111. package/build/browser/commands/site/version/delete/versionDeleteCommand.js.map +0 -1
  112. package/build/browser/commands/site/version/delete/versionDeleteCommand.mjs +0 -32
  113. package/build/browser/commands/site/version/get/VersionGetArgs.d.ts +0 -4
  114. package/build/browser/commands/site/version/get/VersionGetArgs.d.ts.map +0 -1
  115. package/build/browser/commands/site/version/get/VersionGetArgs.js +0 -17
  116. package/build/browser/commands/site/version/get/VersionGetArgs.js.map +0 -1
  117. package/build/browser/commands/site/version/get/index.d.ts +0 -6
  118. package/build/browser/commands/site/version/get/index.d.ts.map +0 -1
  119. package/build/browser/commands/site/version/get/index.js +0 -28
  120. package/build/browser/commands/site/version/get/index.js.map +0 -1
  121. package/build/browser/commands/site/version/get/versionGetCommand.d.mts +0 -3
  122. package/build/browser/commands/site/version/get/versionGetCommand.d.mts.map +0 -1
  123. package/build/browser/commands/site/version/get/versionGetCommand.js +0 -36
  124. package/build/browser/commands/site/version/get/versionGetCommand.js.map +0 -1
  125. package/build/browser/commands/site/version/get/versionGetCommand.mjs +0 -32
  126. package/build/browser/commands/site/version/index.d.ts +0 -5
  127. package/build/browser/commands/site/version/index.d.ts.map +0 -1
  128. package/build/browser/commands/site/version/index.js +0 -30
  129. package/build/browser/commands/site/version/index.js.map +0 -1
  130. package/build/browser/commands/site/version/list/VersionListArgs.d.ts +0 -4
  131. package/build/browser/commands/site/version/list/VersionListArgs.d.ts.map +0 -1
  132. package/build/browser/commands/site/version/list/VersionListArgs.js +0 -17
  133. package/build/browser/commands/site/version/list/VersionListArgs.js.map +0 -1
  134. package/build/browser/commands/site/version/list/index.d.ts +0 -6
  135. package/build/browser/commands/site/version/list/index.d.ts.map +0 -1
  136. package/build/browser/commands/site/version/list/index.js +0 -28
  137. package/build/browser/commands/site/version/list/index.js.map +0 -1
  138. package/build/browser/commands/site/version/list/versionListCommand.d.mts +0 -3
  139. package/build/browser/commands/site/version/list/versionListCommand.d.mts.map +0 -1
  140. package/build/browser/commands/site/version/list/versionListCommand.js +0 -41
  141. package/build/browser/commands/site/version/list/versionListCommand.js.map +0 -1
  142. package/build/browser/commands/site/version/list/versionListCommand.mjs +0 -42
  143. package/build/browser/commands/site/version/set/VersionSetArgs.d.ts +0 -5
  144. package/build/browser/commands/site/version/set/VersionSetArgs.d.ts.map +0 -1
  145. package/build/browser/commands/site/version/set/VersionSetArgs.js +0 -17
  146. package/build/browser/commands/site/version/set/VersionSetArgs.js.map +0 -1
  147. package/build/browser/commands/site/version/set/index.d.ts +0 -6
  148. package/build/browser/commands/site/version/set/index.d.ts.map +0 -1
  149. package/build/browser/commands/site/version/set/index.js +0 -32
  150. package/build/browser/commands/site/version/set/index.js.map +0 -1
  151. package/build/browser/commands/site/version/set/versionSetCommand.d.mts +0 -3
  152. package/build/browser/commands/site/version/set/versionSetCommand.d.mts.map +0 -1
  153. package/build/browser/commands/site/version/set/versionSetCommand.js +0 -36
  154. package/build/browser/commands/site/version/set/versionSetCommand.js.map +0 -1
  155. package/build/browser/commands/site/version/set/versionSetCommand.mjs +0 -28
  156. package/build/browser/commands/site/version/unset/VersionUnsetArgs.d.ts +0 -5
  157. package/build/browser/commands/site/version/unset/VersionUnsetArgs.d.ts.map +0 -1
  158. package/build/browser/commands/site/version/unset/VersionUnsetArgs.js +0 -17
  159. package/build/browser/commands/site/version/unset/VersionUnsetArgs.js.map +0 -1
  160. package/build/browser/commands/site/version/unset/index.d.ts +0 -6
  161. package/build/browser/commands/site/version/unset/index.d.ts.map +0 -1
  162. package/build/browser/commands/site/version/unset/index.js +0 -32
  163. package/build/browser/commands/site/version/unset/index.js.map +0 -1
  164. package/build/browser/commands/site/version/unset/versionUnsetCommand.d.mts +0 -3
  165. package/build/browser/commands/site/version/unset/versionUnsetCommand.d.mts.map +0 -1
  166. package/build/browser/commands/site/version/unset/versionUnsetCommand.js +0 -40
  167. package/build/browser/commands/site/version/unset/versionUnsetCommand.js.map +0 -1
  168. package/build/browser/commands/site/version/unset/versionUnsetCommand.mjs +0 -32
  169. package/build/browser/consola/handlePromptCancel.d.ts +0 -2
  170. package/build/browser/consola/handlePromptCancel.d.ts.map +0 -1
  171. package/build/browser/consola/handlePromptCancel.js +0 -25
  172. package/build/browser/consola/handlePromptCancel.js.map +0 -1
  173. package/build/browser/index.d.ts +0 -2
  174. package/build/browser/index.d.ts.map +0 -1
  175. package/build/browser/net/ThirdPartyAppRid.d.ts +0 -2
  176. package/build/browser/net/ThirdPartyAppRid.d.ts.map +0 -1
  177. package/build/browser/net/ThirdPartyAppRid.js +0 -17
  178. package/build/browser/net/ThirdPartyAppRid.js.map +0 -1
  179. package/build/browser/net/UserAgent.d.ts +0 -2
  180. package/build/browser/net/UserAgent.d.ts.map +0 -1
  181. package/build/browser/net/UserAgent.js +0 -17
  182. package/build/browser/net/UserAgent.js.map +0 -1
  183. package/build/browser/net/createFetch.d.mts +0 -2
  184. package/build/browser/net/createFetch.d.mts.map +0 -1
  185. package/build/browser/net/createFetch.js +0 -66
  186. package/build/browser/net/createFetch.js.map +0 -1
  187. package/build/browser/net/createFetch.mjs +0 -71
  188. package/build/browser/net/createInternalClientContext.d.mts +0 -3
  189. package/build/browser/net/createInternalClientContext.d.mts.map +0 -1
  190. package/build/browser/net/createInternalClientContext.js +0 -22
  191. package/build/browser/net/createInternalClientContext.js.map +0 -1
  192. package/build/browser/net/createInternalClientContext.mjs +0 -21
  193. package/build/browser/net/index.d.mts +0 -3
  194. package/build/browser/net/index.d.mts.map +0 -1
  195. package/build/browser/net/index.js +0 -18
  196. package/build/browser/net/index.js.map +0 -1
  197. package/build/browser/net/index.mjs +0 -17
  198. package/build/browser/net/internalClientContext.d.mts +0 -5
  199. package/build/browser/net/internalClientContext.d.mts.map +0 -1
  200. package/build/browser/net/internalClientContext.js +0 -17
  201. package/build/browser/net/internalClientContext.js.map +0 -1
  202. package/build/browser/net/internalClientContext.mjs +0 -16
  203. package/build/browser/net/third-party-applications/DeployWebsiteRequest.d.mts +0 -4
  204. package/build/browser/net/third-party-applications/DeployWebsiteRequest.d.mts.map +0 -1
  205. package/build/browser/net/third-party-applications/DeployWebsiteRequest.js +0 -17
  206. package/build/browser/net/third-party-applications/DeployWebsiteRequest.js.map +0 -1
  207. package/build/browser/net/third-party-applications/DeployWebsiteRequest.mjs +0 -16
  208. package/build/browser/net/third-party-applications/ListVersionsResponse.d.mts +0 -6
  209. package/build/browser/net/third-party-applications/ListVersionsResponse.d.mts.map +0 -1
  210. package/build/browser/net/third-party-applications/ListVersionsResponse.js +0 -17
  211. package/build/browser/net/third-party-applications/ListVersionsResponse.js.map +0 -1
  212. package/build/browser/net/third-party-applications/ListVersionsResponse.mjs +0 -16
  213. package/build/browser/net/third-party-applications/Version.d.mts +0 -4
  214. package/build/browser/net/third-party-applications/Version.d.mts.map +0 -1
  215. package/build/browser/net/third-party-applications/Version.js +0 -17
  216. package/build/browser/net/third-party-applications/Version.js.map +0 -1
  217. package/build/browser/net/third-party-applications/Version.mjs +0 -16
  218. package/build/browser/net/third-party-applications/Website.d.mts +0 -5
  219. package/build/browser/net/third-party-applications/Website.d.mts.map +0 -1
  220. package/build/browser/net/third-party-applications/Website.js +0 -17
  221. package/build/browser/net/third-party-applications/Website.js.map +0 -1
  222. package/build/browser/net/third-party-applications/Website.mjs +0 -16
  223. package/build/browser/net/third-party-applications/deleteVersion.d.mts +0 -4
  224. package/build/browser/net/third-party-applications/deleteVersion.d.mts.map +0 -1
  225. package/build/browser/net/third-party-applications/deleteVersion.js +0 -24
  226. package/build/browser/net/third-party-applications/deleteVersion.js.map +0 -1
  227. package/build/browser/net/third-party-applications/deleteVersion.mjs +0 -23
  228. package/build/browser/net/third-party-applications/deployWebsite.d.mts +0 -6
  229. package/build/browser/net/third-party-applications/deployWebsite.d.mts.map +0 -1
  230. package/build/browser/net/third-party-applications/deployWebsite.js +0 -29
  231. package/build/browser/net/third-party-applications/deployWebsite.js.map +0 -1
  232. package/build/browser/net/third-party-applications/deployWebsite.mjs +0 -28
  233. package/build/browser/net/third-party-applications/getWebsite.d.mts +0 -5
  234. package/build/browser/net/third-party-applications/getWebsite.d.mts.map +0 -1
  235. package/build/browser/net/third-party-applications/getWebsite.js +0 -33
  236. package/build/browser/net/third-party-applications/getWebsite.js.map +0 -1
  237. package/build/browser/net/third-party-applications/getWebsite.mjs +0 -35
  238. package/build/browser/net/third-party-applications/index.d.mts +0 -11
  239. package/build/browser/net/third-party-applications/index.d.mts.map +0 -1
  240. package/build/browser/net/third-party-applications/index.js +0 -22
  241. package/build/browser/net/third-party-applications/index.js.map +0 -1
  242. package/build/browser/net/third-party-applications/index.mjs +0 -21
  243. package/build/browser/net/third-party-applications/listVersions.d.mts +0 -5
  244. package/build/browser/net/third-party-applications/listVersions.d.mts.map +0 -1
  245. package/build/browser/net/third-party-applications/listVersions.js +0 -23
  246. package/build/browser/net/third-party-applications/listVersions.js.map +0 -1
  247. package/build/browser/net/third-party-applications/listVersions.mjs +0 -22
  248. package/build/browser/net/third-party-applications/undeployWebsite.d.mts +0 -4
  249. package/build/browser/net/third-party-applications/undeployWebsite.d.mts.map +0 -1
  250. package/build/browser/net/third-party-applications/undeployWebsite.js +0 -24
  251. package/build/browser/net/third-party-applications/undeployWebsite.js.map +0 -1
  252. package/build/browser/net/third-party-applications/undeployWebsite.mjs +0 -23
  253. package/build/browser/net/third-party-applications/uploadVersion.d.mts +0 -5
  254. package/build/browser/net/third-party-applications/uploadVersion.d.mts.map +0 -1
  255. package/build/browser/net/third-party-applications/uploadVersion.js +0 -30
  256. package/build/browser/net/third-party-applications/uploadVersion.js.map +0 -1
  257. package/build/browser/net/third-party-applications/uploadVersion.mjs +0 -29
  258. package/build/browser/util/autoVersion.d.ts +0 -9
  259. package/build/browser/util/autoVersion.d.ts.map +0 -1
  260. package/build/browser/util/autoVersion.js +0 -62
  261. package/build/browser/util/autoVersion.js.map +0 -1
  262. package/build/browser/util/autoVersion.test.d.ts +0 -2
  263. package/build/browser/util/autoVersion.test.d.ts.map +0 -1
  264. package/build/browser/util/autoVersion.test.js +0 -71
  265. package/build/browser/util/autoVersion.test.js.map +0 -1
  266. package/build/browser/util/config.d.ts +0 -26
  267. package/build/browser/util/config.d.ts.map +0 -1
  268. package/build/browser/util/config.js +0 -102
  269. package/build/browser/util/config.js.map +0 -1
  270. package/build/browser/util/config.test.d.ts +0 -2
  271. package/build/browser/util/config.test.d.ts.map +0 -1
  272. package/build/browser/util/config.test.js +0 -110
  273. package/build/browser/util/config.test.js.map +0 -1
  274. package/build/browser/util/configLoader.d.ts +0 -4
  275. package/build/browser/util/configLoader.d.ts.map +0 -1
  276. package/build/browser/util/configLoader.js +0 -25
  277. package/build/browser/util/configLoader.js.map +0 -1
  278. package/build/browser/util/isValidSemver.test.d.ts +0 -2
  279. package/build/browser/util/isValidSemver.test.d.ts.map +0 -1
  280. package/build/browser/util/isValidSemver.test.js +0 -41
  281. package/build/browser/util/isValidSemver.test.js.map +0 -1
  282. package/build/browser/util/token.d.ts +0 -22
  283. package/build/browser/util/token.d.ts.map +0 -1
  284. package/build/browser/util/token.js +0 -84
  285. package/build/browser/util/token.js.map +0 -1
  286. package/build/browser/util/token.test.d.ts +0 -2
  287. package/build/browser/util/token.test.d.ts.map +0 -1
  288. package/build/browser/util/token.test.js +0 -62
  289. package/build/browser/util/token.test.js.map +0 -1
  290. package/build/browser/yargs/logConfigFileMiddleware.d.ts +0 -2
  291. package/build/browser/yargs/logConfigFileMiddleware.d.ts.map +0 -1
  292. package/build/browser/yargs/logConfigFileMiddleware.js +0 -29
  293. package/build/browser/yargs/logConfigFileMiddleware.js.map +0 -1
  294. package/build/esm/cli.js +0 -42
  295. package/build/esm/cli.js.map +0 -1
  296. package/build/esm/commands/auth/index.js +0 -34
  297. package/build/esm/commands/auth/index.js.map +0 -1
  298. package/build/esm/commands/auth/login/index.js +0 -34
  299. package/build/esm/commands/auth/login/index.js.map +0 -1
  300. package/build/esm/commands/site/CommonSiteArgs.js +0 -17
  301. package/build/esm/commands/site/CommonSiteArgs.js.map +0 -1
  302. package/build/esm/commands/site/deploy/SiteDeployArgs.js +0 -17
  303. package/build/esm/commands/site/deploy/SiteDeployArgs.js.map +0 -1
  304. package/build/esm/commands/site/deploy/index.js +0 -108
  305. package/build/esm/commands/site/deploy/index.js.map +0 -1
  306. package/build/esm/commands/site/deploy/logDeployCommandConfigFileOverride.js +0 -28
  307. package/build/esm/commands/site/deploy/logDeployCommandConfigFileOverride.js.map +0 -1
  308. package/build/esm/commands/site/deploy/siteDeployCommand.js +0 -98
  309. package/build/esm/commands/site/deploy/siteDeployCommand.js.map +0 -1
  310. package/build/esm/commands/site/deploy/siteDeployCommand.mjs +0 -90
  311. package/build/esm/commands/site/index.js +0 -69
  312. package/build/esm/commands/site/index.js.map +0 -1
  313. package/build/esm/commands/site/logSiteCommandConfigFileOverride.js +0 -25
  314. package/build/esm/commands/site/logSiteCommandConfigFileOverride.js.map +0 -1
  315. package/build/esm/commands/site/version/delete/VersionDeleteArgs.js +0 -17
  316. package/build/esm/commands/site/version/delete/VersionDeleteArgs.js.map +0 -1
  317. package/build/esm/commands/site/version/delete/index.js +0 -36
  318. package/build/esm/commands/site/version/delete/index.js.map +0 -1
  319. package/build/esm/commands/site/version/delete/versionDeleteCommand.js +0 -41
  320. package/build/esm/commands/site/version/delete/versionDeleteCommand.js.map +0 -1
  321. package/build/esm/commands/site/version/delete/versionDeleteCommand.mjs +0 -32
  322. package/build/esm/commands/site/version/get/VersionGetArgs.js +0 -17
  323. package/build/esm/commands/site/version/get/VersionGetArgs.js.map +0 -1
  324. package/build/esm/commands/site/version/get/index.js +0 -28
  325. package/build/esm/commands/site/version/get/index.js.map +0 -1
  326. package/build/esm/commands/site/version/get/versionGetCommand.js +0 -36
  327. package/build/esm/commands/site/version/get/versionGetCommand.js.map +0 -1
  328. package/build/esm/commands/site/version/get/versionGetCommand.mjs +0 -32
  329. package/build/esm/commands/site/version/index.js +0 -30
  330. package/build/esm/commands/site/version/index.js.map +0 -1
  331. package/build/esm/commands/site/version/list/VersionListArgs.js +0 -17
  332. package/build/esm/commands/site/version/list/VersionListArgs.js.map +0 -1
  333. package/build/esm/commands/site/version/list/index.js +0 -28
  334. package/build/esm/commands/site/version/list/index.js.map +0 -1
  335. package/build/esm/commands/site/version/list/versionListCommand.js +0 -41
  336. package/build/esm/commands/site/version/list/versionListCommand.js.map +0 -1
  337. package/build/esm/commands/site/version/list/versionListCommand.mjs +0 -42
  338. package/build/esm/commands/site/version/set/VersionSetArgs.js +0 -17
  339. package/build/esm/commands/site/version/set/VersionSetArgs.js.map +0 -1
  340. package/build/esm/commands/site/version/set/index.js +0 -32
  341. package/build/esm/commands/site/version/set/index.js.map +0 -1
  342. package/build/esm/commands/site/version/set/versionSetCommand.js +0 -36
  343. package/build/esm/commands/site/version/set/versionSetCommand.js.map +0 -1
  344. package/build/esm/commands/site/version/set/versionSetCommand.mjs +0 -28
  345. package/build/esm/commands/site/version/unset/VersionUnsetArgs.js +0 -17
  346. package/build/esm/commands/site/version/unset/VersionUnsetArgs.js.map +0 -1
  347. package/build/esm/commands/site/version/unset/index.js +0 -32
  348. package/build/esm/commands/site/version/unset/index.js.map +0 -1
  349. package/build/esm/commands/site/version/unset/versionUnsetCommand.js +0 -40
  350. package/build/esm/commands/site/version/unset/versionUnsetCommand.js.map +0 -1
  351. package/build/esm/commands/site/version/unset/versionUnsetCommand.mjs +0 -32
  352. package/build/esm/consola/handlePromptCancel.js +0 -25
  353. package/build/esm/consola/handlePromptCancel.js.map +0 -1
  354. package/build/esm/net/ThirdPartyAppRid.js +0 -17
  355. package/build/esm/net/ThirdPartyAppRid.js.map +0 -1
  356. package/build/esm/net/UserAgent.js +0 -17
  357. package/build/esm/net/UserAgent.js.map +0 -1
  358. package/build/esm/net/createFetch.js +0 -66
  359. package/build/esm/net/createFetch.js.map +0 -1
  360. package/build/esm/net/createFetch.mjs +0 -71
  361. package/build/esm/net/createInternalClientContext.js +0 -22
  362. package/build/esm/net/createInternalClientContext.js.map +0 -1
  363. package/build/esm/net/createInternalClientContext.mjs +0 -21
  364. package/build/esm/net/index.js +0 -18
  365. package/build/esm/net/index.js.map +0 -1
  366. package/build/esm/net/index.mjs +0 -17
  367. package/build/esm/net/internalClientContext.js +0 -17
  368. package/build/esm/net/internalClientContext.js.map +0 -1
  369. package/build/esm/net/internalClientContext.mjs +0 -16
  370. package/build/esm/net/third-party-applications/DeployWebsiteRequest.js +0 -17
  371. package/build/esm/net/third-party-applications/DeployWebsiteRequest.js.map +0 -1
  372. package/build/esm/net/third-party-applications/DeployWebsiteRequest.mjs +0 -16
  373. package/build/esm/net/third-party-applications/ListVersionsResponse.js +0 -17
  374. package/build/esm/net/third-party-applications/ListVersionsResponse.js.map +0 -1
  375. package/build/esm/net/third-party-applications/ListVersionsResponse.mjs +0 -16
  376. package/build/esm/net/third-party-applications/Version.js +0 -17
  377. package/build/esm/net/third-party-applications/Version.js.map +0 -1
  378. package/build/esm/net/third-party-applications/Version.mjs +0 -16
  379. package/build/esm/net/third-party-applications/Website.js +0 -17
  380. package/build/esm/net/third-party-applications/Website.js.map +0 -1
  381. package/build/esm/net/third-party-applications/Website.mjs +0 -16
  382. package/build/esm/net/third-party-applications/deleteVersion.js +0 -24
  383. package/build/esm/net/third-party-applications/deleteVersion.js.map +0 -1
  384. package/build/esm/net/third-party-applications/deleteVersion.mjs +0 -23
  385. package/build/esm/net/third-party-applications/deployWebsite.js +0 -29
  386. package/build/esm/net/third-party-applications/deployWebsite.js.map +0 -1
  387. package/build/esm/net/third-party-applications/deployWebsite.mjs +0 -28
  388. package/build/esm/net/third-party-applications/getWebsite.js +0 -33
  389. package/build/esm/net/third-party-applications/getWebsite.js.map +0 -1
  390. package/build/esm/net/third-party-applications/getWebsite.mjs +0 -35
  391. package/build/esm/net/third-party-applications/index.js +0 -22
  392. package/build/esm/net/third-party-applications/index.js.map +0 -1
  393. package/build/esm/net/third-party-applications/index.mjs +0 -21
  394. package/build/esm/net/third-party-applications/listVersions.js +0 -23
  395. package/build/esm/net/third-party-applications/listVersions.js.map +0 -1
  396. package/build/esm/net/third-party-applications/listVersions.mjs +0 -22
  397. package/build/esm/net/third-party-applications/undeployWebsite.js +0 -24
  398. package/build/esm/net/third-party-applications/undeployWebsite.js.map +0 -1
  399. package/build/esm/net/third-party-applications/undeployWebsite.mjs +0 -23
  400. package/build/esm/net/third-party-applications/uploadVersion.js +0 -30
  401. package/build/esm/net/third-party-applications/uploadVersion.js.map +0 -1
  402. package/build/esm/net/third-party-applications/uploadVersion.mjs +0 -29
  403. package/build/esm/util/autoVersion.js +0 -62
  404. package/build/esm/util/autoVersion.js.map +0 -1
  405. package/build/esm/util/autoVersion.test.js +0 -71
  406. package/build/esm/util/autoVersion.test.js.map +0 -1
  407. package/build/esm/util/config.js +0 -102
  408. package/build/esm/util/config.js.map +0 -1
  409. package/build/esm/util/config.test.js +0 -110
  410. package/build/esm/util/config.test.js.map +0 -1
  411. package/build/esm/util/configLoader.js +0 -25
  412. package/build/esm/util/configLoader.js.map +0 -1
  413. package/build/esm/util/isValidSemver.test.js +0 -41
  414. package/build/esm/util/isValidSemver.test.js.map +0 -1
  415. package/build/esm/util/token.js +0 -84
  416. package/build/esm/util/token.js.map +0 -1
  417. package/build/esm/util/token.test.js +0 -62
  418. package/build/esm/util/token.test.js.map +0 -1
  419. package/build/esm/yargs/logConfigFileMiddleware.js +0 -29
  420. package/build/esm/yargs/logConfigFileMiddleware.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"versionListCommand.d.mts","sourceRoot":"","sources":["../../../../../../src/commands/site/version/list/versionListCommand.mts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D,wBAA8B,kBAAkB,CAC9C,EAAE,UAAU,EAAE,WAAW,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,eAAe,iBAiC/D"}
@@ -1,41 +0,0 @@
1
- /*
2
- * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { createInternalClientContext, thirdPartyApplications } from "#net";
17
- import { consola } from "consola";
18
- import { colorize } from "consola/utils";
19
- import { loadToken } from "../../../../util/token.js";
20
- export default async function versionListCommand({
21
- foundryUrl,
22
- application,
23
- token,
24
- tokenFile
25
- }) {
26
- const loadedToken = await loadToken(token, tokenFile);
27
- const clientCtx = createInternalClientContext(foundryUrl, () => loadedToken);
28
- consola.start("Fetching versions & deployed version");
29
- const [versions, website] = await Promise.all([thirdPartyApplications.listVersions(clientCtx, application), thirdPartyApplications.getWebsite(clientCtx, application)]);
30
- if (versions.data.length === 0) {
31
- consola.info("No site versions found");
32
- return;
33
- }
34
- consola.success("Found versions:");
35
- const semver = await import("semver");
36
- const sortedVersions = semver.rsort(versions.data.map(v => v.version).filter(v => semver.valid(v)));
37
- for (const version of sortedVersions) {
38
- consola.log(` - ${version}${website?.deployedVersion && version === website?.deployedVersion ? colorize("green", ` (deployed)`) : ""}`);
39
- }
40
- }
41
- //# sourceMappingURL=versionListCommand.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"versionListCommand.js","names":["createInternalClientContext","thirdPartyApplications","consola","colorize","loadToken","versionListCommand","foundryUrl","application","token","tokenFile","loadedToken","clientCtx","start","versions","website","Promise","all","listVersions","getWebsite","data","length","info","success","semver","sortedVersions","rsort","map","v","version","filter","valid","log","deployedVersion"],"sources":["versionListCommand.mjs"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { createInternalClientContext, thirdPartyApplications } from \"#net\";\nimport { consola } from \"consola\";\nimport { colorize } from \"consola/utils\";\nimport { loadToken } from \"../../../../util/token.js\";\nexport default async function versionListCommand({ foundryUrl, application, token, tokenFile }) {\n const loadedToken = await loadToken(token, tokenFile);\n const tokenProvider = () => loadedToken;\n const clientCtx = createInternalClientContext(foundryUrl, tokenProvider);\n consola.start(\"Fetching versions & deployed version\");\n const [versions, website] = await Promise.all([\n thirdPartyApplications.listVersions(clientCtx, application),\n thirdPartyApplications.getWebsite(clientCtx, application),\n ]);\n if (versions.data.length === 0) {\n consola.info(\"No site versions found\");\n return;\n }\n consola.success(\"Found versions:\");\n const semver = await import(\"semver\");\n const sortedVersions = semver.rsort(versions.data.map(v => v.version).filter(v => semver.valid(v)));\n for (const version of sortedVersions) {\n consola.log(` - ${version}${website?.deployedVersion\n && version === website?.deployedVersion\n ? colorize(\"green\", ` (deployed)`)\n : \"\"}`);\n }\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,2BAA2B,EAAEC,sBAAsB,QAAQ,MAAM;AAC1E,SAASC,OAAO,QAAQ,SAAS;AACjC,SAASC,QAAQ,QAAQ,eAAe;AACxC,SAASC,SAAS,QAAQ,2BAA2B;AACrD,eAAe,eAAeC,kBAAkBA,CAAC;EAAEC,UAAU;EAAEC,WAAW;EAAEC,KAAK;EAAEC;AAAU,CAAC,EAAE;EAC5F,MAAMC,WAAW,GAAG,MAAMN,SAAS,CAACI,KAAK,EAAEC,SAAS,CAAC;EAErD,MAAME,SAAS,GAAGX,2BAA2B,CAACM,UAAU,EADlC,MAAMI,WAC2C,CAAC;EACxER,OAAO,CAACU,KAAK,CAAC,sCAAsC,CAAC;EACrD,MAAM,CAACC,QAAQ,EAAEC,OAAO,CAAC,GAAG,MAAMC,OAAO,CAACC,GAAG,CAAC,CAC1Cf,sBAAsB,CAACgB,YAAY,CAACN,SAAS,EAAEJ,WAAW,CAAC,EAC3DN,sBAAsB,CAACiB,UAAU,CAACP,SAAS,EAAEJ,WAAW,CAAC,CAC5D,CAAC;EACF,IAAIM,QAAQ,CAACM,IAAI,CAACC,MAAM,KAAK,CAAC,EAAE;IAC5BlB,OAAO,CAACmB,IAAI,CAAC,wBAAwB,CAAC;IACtC;EACJ;EACAnB,OAAO,CAACoB,OAAO,CAAC,iBAAiB,CAAC;EAClC,MAAMC,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC;EACrC,MAAMC,cAAc,GAAGD,MAAM,CAACE,KAAK,CAACZ,QAAQ,CAACM,IAAI,CAACO,GAAG,CAACC,CAAC,IAAIA,CAAC,CAACC,OAAO,CAAC,CAACC,MAAM,CAACF,CAAC,IAAIJ,MAAM,CAACO,KAAK,CAACH,CAAC,CAAC,CAAC,CAAC;EACnG,KAAK,MAAMC,OAAO,IAAIJ,cAAc,EAAE;IAClCtB,OAAO,CAAC6B,GAAG,CAAC,SAASH,OAAO,GAAGd,OAAO,EAAEkB,eAAe,IAChDJ,OAAO,KAAKd,OAAO,EAAEkB,eAAe,GACrC7B,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC,GAChC,EAAE,EAAE,CAAC;EACf;AACJ","ignoreList":[]}
@@ -1,42 +0,0 @@
1
- /*
2
- * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { createInternalClientContext, thirdPartyApplications } from "#net";
17
- import { consola } from "consola";
18
- import { colorize } from "consola/utils";
19
- import { loadToken } from "../../../../util/token.js";
20
- export default async function versionListCommand({ foundryUrl, application, token, tokenFile }) {
21
- const loadedToken = await loadToken(token, tokenFile);
22
- const tokenProvider = () => loadedToken;
23
- const clientCtx = createInternalClientContext(foundryUrl, tokenProvider);
24
- consola.start("Fetching versions & deployed version");
25
- const [versions, website] = await Promise.all([
26
- thirdPartyApplications.listVersions(clientCtx, application),
27
- thirdPartyApplications.getWebsite(clientCtx, application),
28
- ]);
29
- if (versions.data.length === 0) {
30
- consola.info("No site versions found");
31
- return;
32
- }
33
- consola.success("Found versions:");
34
- const semver = await import("semver");
35
- const sortedVersions = semver.rsort(versions.data.map(v => v.version).filter(v => semver.valid(v)));
36
- for (const version of sortedVersions) {
37
- consola.log(` - ${version}${website?.deployedVersion
38
- && version === website?.deployedVersion
39
- ? colorize("green", ` (deployed)`)
40
- : ""}`);
41
- }
42
- }
@@ -1,5 +0,0 @@
1
- import type { CommonSiteArgs } from "../../CommonSiteArgs.js";
2
- export interface VersionSetArgs extends CommonSiteArgs {
3
- version: string;
4
- }
5
- //# sourceMappingURL=VersionSetArgs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"VersionSetArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/site/version/set/VersionSetArgs.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAE9D,MAAM,WAAW,cAAe,SAAQ,cAAc;IACpD,OAAO,EAAE,MAAM,CAAC;CACjB"}
@@ -1,17 +0,0 @@
1
- /*
2
- * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export {};
17
- //# sourceMappingURL=VersionSetArgs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"VersionSetArgs.js","names":[],"sources":["VersionSetArgs.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- import type { CommandModule } from "yargs";
2
- import type { CommonSiteArgs } from "../../CommonSiteArgs.js";
3
- import type { VersionSetArgs } from "./VersionSetArgs.js";
4
- declare const command: CommandModule<CommonSiteArgs, VersionSetArgs>;
5
- export default command;
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/site/version/set/index.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D,QAAA,MAAM,OAAO,EAAE,aAAa,CAC1B,cAAc,EACd,cAAc,CAgBf,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,32 +0,0 @@
1
- /*
2
- * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- const command = {
17
- command: "set <version>",
18
- describe: "Set live site version",
19
- builder: argv => {
20
- return argv.positional("version", {
21
- type: "string",
22
- demandOption: true,
23
- description: "Version to set as live"
24
- });
25
- },
26
- handler: async args => {
27
- const command = await import("./versionSetCommand.mjs");
28
- await command.default(args);
29
- }
30
- };
31
- export default command;
32
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":["command","describe","builder","argv","positional","type","demandOption","description","handler","args","default"],"sources":["index.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst command = {\n command: \"set <version>\",\n describe: \"Set live site version\",\n builder: (argv) => {\n return argv\n .positional(\"version\", {\n type: \"string\",\n demandOption: true,\n description: \"Version to set as live\",\n });\n },\n handler: async (args) => {\n const command = await import(\"./versionSetCommand.mjs\");\n await command.default(args);\n },\n};\nexport default command;\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,OAAO,GAAG;EACZA,OAAO,EAAE,eAAe;EACxBC,QAAQ,EAAE,uBAAuB;EACjCC,OAAO,EAAGC,IAAI,IAAK;IACf,OAAOA,IAAI,CACNC,UAAU,CAAC,SAAS,EAAE;MACvBC,IAAI,EAAE,QAAQ;MACdC,YAAY,EAAE,IAAI;MAClBC,WAAW,EAAE;IACjB,CAAC,CAAC;EACN,CAAC;EACDC,OAAO,EAAE,MAAOC,IAAI,IAAK;IACrB,MAAMT,OAAO,GAAG,MAAM,MAAM,CAAC,yBAAyB,CAAC;IACvD,MAAMA,OAAO,CAACU,OAAO,CAACD,IAAI,CAAC;EAC/B;AACJ,CAAC;AACD,eAAeT,OAAO","ignoreList":[]}
@@ -1,3 +0,0 @@
1
- import type { VersionSetArgs } from "./VersionSetArgs.js";
2
- export default function versionSetCommand({ version, application, foundryUrl, token, tokenFile }: VersionSetArgs): Promise<void>;
3
- //# sourceMappingURL=versionSetCommand.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"versionSetCommand.d.mts","sourceRoot":"","sources":["../../../../../../src/commands/site/version/set/versionSetCommand.mts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D,wBAA8B,iBAAiB,CAC7C,EAAE,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,cAAc,iBAgBvE"}
@@ -1,36 +0,0 @@
1
- /*
2
- * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { consola } from "consola";
17
- import { createInternalClientContext, thirdPartyApplications } from "#net";
18
- import { loadToken } from "../../../../util/token.js";
19
- export default async function versionSetCommand({
20
- version,
21
- application,
22
- foundryUrl,
23
- token,
24
- tokenFile
25
- }) {
26
- consola.start(`Setting live version`);
27
- const loadedToken = await loadToken(token, tokenFile);
28
- const clientCtx = createInternalClientContext(foundryUrl, () => loadedToken);
29
- if (version) {
30
- await thirdPartyApplications.deployWebsite(clientCtx, application, {
31
- version
32
- });
33
- }
34
- consola.success(`Set live version to ${version}`);
35
- }
36
- //# sourceMappingURL=versionSetCommand.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"versionSetCommand.js","names":["consola","createInternalClientContext","thirdPartyApplications","loadToken","versionSetCommand","version","application","foundryUrl","token","tokenFile","start","loadedToken","clientCtx","deployWebsite","success"],"sources":["versionSetCommand.mjs"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { consola } from \"consola\";\nimport { createInternalClientContext, thirdPartyApplications } from \"#net\";\nimport { loadToken } from \"../../../../util/token.js\";\nexport default async function versionSetCommand({ version, application, foundryUrl, token, tokenFile }) {\n consola.start(`Setting live version`);\n const loadedToken = await loadToken(token, tokenFile);\n const tokenProvider = () => loadedToken;\n const clientCtx = createInternalClientContext(foundryUrl, tokenProvider);\n if (version) {\n await thirdPartyApplications.deployWebsite(clientCtx, application, { version });\n }\n consola.success(`Set live version to ${version}`);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,OAAO,QAAQ,SAAS;AACjC,SAASC,2BAA2B,EAAEC,sBAAsB,QAAQ,MAAM;AAC1E,SAASC,SAAS,QAAQ,2BAA2B;AACrD,eAAe,eAAeC,iBAAiBA,CAAC;EAAEC,OAAO;EAAEC,WAAW;EAAEC,UAAU;EAAEC,KAAK;EAAEC;AAAU,CAAC,EAAE;EACpGT,OAAO,CAACU,KAAK,CAAC,sBAAsB,CAAC;EACrC,MAAMC,WAAW,GAAG,MAAMR,SAAS,CAACK,KAAK,EAAEC,SAAS,CAAC;EAErD,MAAMG,SAAS,GAAGX,2BAA2B,CAACM,UAAU,EADlC,MAAMI,WAC2C,CAAC;EACxE,IAAIN,OAAO,EAAE;IACT,MAAMH,sBAAsB,CAACW,aAAa,CAACD,SAAS,EAAEN,WAAW,EAAE;MAAED;IAAQ,CAAC,CAAC;EACnF;EACAL,OAAO,CAACc,OAAO,CAAC,uBAAuBT,OAAO,EAAE,CAAC;AACrD","ignoreList":[]}
@@ -1,28 +0,0 @@
1
- /*
2
- * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { consola } from "consola";
17
- import { createInternalClientContext, thirdPartyApplications } from "#net";
18
- import { loadToken } from "../../../../util/token.js";
19
- export default async function versionSetCommand({ version, application, foundryUrl, token, tokenFile }) {
20
- consola.start(`Setting live version`);
21
- const loadedToken = await loadToken(token, tokenFile);
22
- const tokenProvider = () => loadedToken;
23
- const clientCtx = createInternalClientContext(foundryUrl, tokenProvider);
24
- if (version) {
25
- await thirdPartyApplications.deployWebsite(clientCtx, application, { version });
26
- }
27
- consola.success(`Set live version to ${version}`);
28
- }
@@ -1,5 +0,0 @@
1
- import type { CommonSiteArgs } from "../../CommonSiteArgs.js";
2
- export interface VersionUnsetArgs extends CommonSiteArgs {
3
- yes?: boolean;
4
- }
5
- //# sourceMappingURL=VersionUnsetArgs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"VersionUnsetArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/site/version/unset/VersionUnsetArgs.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAE9D,MAAM,WAAW,gBAAiB,SAAQ,cAAc;IACtD,GAAG,CAAC,EAAE,OAAO,CAAC;CACf"}
@@ -1,17 +0,0 @@
1
- /*
2
- * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export {};
17
- //# sourceMappingURL=VersionUnsetArgs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"VersionUnsetArgs.js","names":[],"sources":["VersionUnsetArgs.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- import type { CommandModule } from "yargs";
2
- import type { CommonSiteArgs } from "../../CommonSiteArgs.js";
3
- import type { VersionUnsetArgs } from "./VersionUnsetArgs.js";
4
- declare const command: CommandModule<CommonSiteArgs, VersionUnsetArgs>;
5
- export default command;
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/site/version/unset/index.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9D,QAAA,MAAM,OAAO,EAAE,aAAa,CAC1B,cAAc,EACd,gBAAgB,CAgBjB,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,32 +0,0 @@
1
- /*
2
- * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- const command = {
17
- command: "unset",
18
- describe: "Clear live site version",
19
- builder: argv => {
20
- return argv.option("yes", {
21
- alias: "y",
22
- type: "boolean",
23
- description: "Automatically confirm destructive changes"
24
- }).group(["yes"], "Unset Options");
25
- },
26
- handler: async args => {
27
- const command = await import("./versionUnsetCommand.mjs");
28
- await command.default(args);
29
- }
30
- };
31
- export default command;
32
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":["command","describe","builder","argv","option","alias","type","description","group","handler","args","default"],"sources":["index.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst command = {\n command: \"unset\",\n describe: \"Clear live site version\",\n builder: (argv) => {\n return argv.option(\"yes\", {\n alias: \"y\",\n type: \"boolean\",\n description: \"Automatically confirm destructive changes\",\n })\n .group([\"yes\"], \"Unset Options\");\n },\n handler: async (args) => {\n const command = await import(\"./versionUnsetCommand.mjs\");\n await command.default(args);\n },\n};\nexport default command;\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,OAAO,GAAG;EACZA,OAAO,EAAE,OAAO;EAChBC,QAAQ,EAAE,yBAAyB;EACnCC,OAAO,EAAGC,IAAI,IAAK;IACf,OAAOA,IAAI,CAACC,MAAM,CAAC,KAAK,EAAE;MACtBC,KAAK,EAAE,GAAG;MACVC,IAAI,EAAE,SAAS;MACfC,WAAW,EAAE;IACjB,CAAC,CAAC,CACGC,KAAK,CAAC,CAAC,KAAK,CAAC,EAAE,eAAe,CAAC;EACxC,CAAC;EACDC,OAAO,EAAE,MAAOC,IAAI,IAAK;IACrB,MAAMV,OAAO,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC;IACzD,MAAMA,OAAO,CAACW,OAAO,CAACD,IAAI,CAAC;EAC/B;AACJ,CAAC;AACD,eAAeV,OAAO","ignoreList":[]}
@@ -1,3 +0,0 @@
1
- import type { VersionUnsetArgs } from "./VersionUnsetArgs.js";
2
- export default function versionUnsetCommand({ yes, application, foundryUrl, token, tokenFile }: VersionUnsetArgs): Promise<void>;
3
- //# sourceMappingURL=versionUnsetCommand.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"versionUnsetCommand.d.mts","sourceRoot":"","sources":["../../../../../../src/commands/site/version/unset/versionUnsetCommand.mts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9D,wBAA8B,mBAAmB,CAC/C,EAAE,GAAG,EAAE,WAAW,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,gBAAgB,iBAqBrE"}
@@ -1,40 +0,0 @@
1
- /*
2
- * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { consola } from "consola";
17
- import { createInternalClientContext, thirdPartyApplications } from "#net";
18
- import { colorize } from "consola/utils";
19
- import { handlePromptCancel } from "../../../../consola/handlePromptCancel.js";
20
- import { loadToken } from "../../../../util/token.js";
21
- export default async function versionUnsetCommand({
22
- yes,
23
- application,
24
- foundryUrl,
25
- token,
26
- tokenFile
27
- }) {
28
- if (!yes) {
29
- const confirmed = await consola.prompt(`Are you sure you want to clear the live site version?\n${colorize("bold", "Your site will no longer be accessible until a new live site version is set.")}`, {
30
- type: "confirm"
31
- });
32
- handlePromptCancel(confirmed);
33
- }
34
- const loadedToken = await loadToken(token, tokenFile);
35
- const clientCtx = createInternalClientContext(foundryUrl, () => loadedToken);
36
- consola.start("Clearing live site version");
37
- await thirdPartyApplications.undeployWebsite(clientCtx, application);
38
- consola.success("Cleared live site version");
39
- }
40
- //# sourceMappingURL=versionUnsetCommand.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"versionUnsetCommand.js","names":["consola","createInternalClientContext","thirdPartyApplications","colorize","handlePromptCancel","loadToken","versionUnsetCommand","yes","application","foundryUrl","token","tokenFile","confirmed","prompt","type","loadedToken","clientCtx","start","undeployWebsite","success"],"sources":["versionUnsetCommand.mjs"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { consola } from \"consola\";\nimport { createInternalClientContext, thirdPartyApplications } from \"#net\";\nimport { colorize } from \"consola/utils\";\nimport { handlePromptCancel } from \"../../../../consola/handlePromptCancel.js\";\nimport { loadToken } from \"../../../../util/token.js\";\nexport default async function versionUnsetCommand({ yes, application, foundryUrl, token, tokenFile }) {\n if (!yes) {\n const confirmed = await consola.prompt(`Are you sure you want to clear the live site version?\\n${colorize(\"bold\", \"Your site will no longer be accessible until a new live site version is set.\")}`, { type: \"confirm\" });\n handlePromptCancel(confirmed);\n }\n const loadedToken = await loadToken(token, tokenFile);\n const tokenProvider = () => loadedToken;\n const clientCtx = createInternalClientContext(foundryUrl, tokenProvider);\n consola.start(\"Clearing live site version\");\n await thirdPartyApplications.undeployWebsite(clientCtx, application);\n consola.success(\"Cleared live site version\");\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,OAAO,QAAQ,SAAS;AACjC,SAASC,2BAA2B,EAAEC,sBAAsB,QAAQ,MAAM;AAC1E,SAASC,QAAQ,QAAQ,eAAe;AACxC,SAASC,kBAAkB,QAAQ,2CAA2C;AAC9E,SAASC,SAAS,QAAQ,2BAA2B;AACrD,eAAe,eAAeC,mBAAmBA,CAAC;EAAEC,GAAG;EAAEC,WAAW;EAAEC,UAAU;EAAEC,KAAK;EAAEC;AAAU,CAAC,EAAE;EAClG,IAAI,CAACJ,GAAG,EAAE;IACN,MAAMK,SAAS,GAAG,MAAMZ,OAAO,CAACa,MAAM,CAAC,0DAA0DV,QAAQ,CAAC,MAAM,EAAE,8EAA8E,CAAC,EAAE,EAAE;MAAEW,IAAI,EAAE;IAAU,CAAC,CAAC;IACzNV,kBAAkB,CAACQ,SAAS,CAAC;EACjC;EACA,MAAMG,WAAW,GAAG,MAAMV,SAAS,CAACK,KAAK,EAAEC,SAAS,CAAC;EAErD,MAAMK,SAAS,GAAGf,2BAA2B,CAACQ,UAAU,EADlC,MAAMM,WAC2C,CAAC;EACxEf,OAAO,CAACiB,KAAK,CAAC,4BAA4B,CAAC;EAC3C,MAAMf,sBAAsB,CAACgB,eAAe,CAACF,SAAS,EAAER,WAAW,CAAC;EACpER,OAAO,CAACmB,OAAO,CAAC,2BAA2B,CAAC;AAChD","ignoreList":[]}
@@ -1,32 +0,0 @@
1
- /*
2
- * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { consola } from "consola";
17
- import { createInternalClientContext, thirdPartyApplications } from "#net";
18
- import { colorize } from "consola/utils";
19
- import { handlePromptCancel } from "../../../../consola/handlePromptCancel.js";
20
- import { loadToken } from "../../../../util/token.js";
21
- export default async function versionUnsetCommand({ yes, application, foundryUrl, token, tokenFile }) {
22
- if (!yes) {
23
- const confirmed = await consola.prompt(`Are you sure you want to clear the live site version?\n${colorize("bold", "Your site will no longer be accessible until a new live site version is set.")}`, { type: "confirm" });
24
- handlePromptCancel(confirmed);
25
- }
26
- const loadedToken = await loadToken(token, tokenFile);
27
- const tokenProvider = () => loadedToken;
28
- const clientCtx = createInternalClientContext(foundryUrl, tokenProvider);
29
- consola.start("Clearing live site version");
30
- await thirdPartyApplications.undeployWebsite(clientCtx, application);
31
- consola.success("Cleared live site version");
32
- }
@@ -1,2 +0,0 @@
1
- export declare function handlePromptCancel(promptResponse: any): void;
2
- //# sourceMappingURL=handlePromptCancel.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"handlePromptCancel.d.ts","sourceRoot":"","sources":["../../../src/consola/handlePromptCancel.ts"],"names":[],"mappings":"AAkBA,wBAAgB,kBAAkB,CAAC,cAAc,EAAE,GAAG,QASrD"}
@@ -1,25 +0,0 @@
1
- /*
2
- * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { consola } from "consola";
17
- export function handlePromptCancel(promptResponse) {
18
- // https://github.com/unjs/consola/issues/251
19
- const isSigInt = typeof promptResponse === "symbol" && promptResponse.toString() === "Symbol(clack:cancel)";
20
- if (isSigInt || typeof promptResponse === "boolean" && !promptResponse) {
21
- consola.fail("Operation cancelled");
22
- process.exit(0);
23
- }
24
- }
25
- //# sourceMappingURL=handlePromptCancel.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"handlePromptCancel.js","names":["consola","handlePromptCancel","promptResponse","isSigInt","toString","fail","process","exit"],"sources":["handlePromptCancel.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { consola } from \"consola\";\nexport function handlePromptCancel(promptResponse) {\n const isFalse = typeof promptResponse === \"boolean\" && !promptResponse;\n // https://github.com/unjs/consola/issues/251\n const isSigInt = typeof promptResponse === \"symbol\"\n && promptResponse.toString() === \"Symbol(clack:cancel)\";\n if (isSigInt || isFalse) {\n consola.fail(\"Operation cancelled\");\n process.exit(0);\n }\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,OAAO,QAAQ,SAAS;AACjC,OAAO,SAASC,kBAAkBA,CAACC,cAAc,EAAE;EAE/C;EACA,MAAMC,QAAQ,GAAG,OAAOD,cAAc,KAAK,QAAQ,IAC5CA,cAAc,CAACE,QAAQ,CAAC,CAAC,KAAK,sBAAsB;EAC3D,IAAID,QAAQ,IAJI,OAAOD,cAAc,KAAK,SAAS,IAAI,CAACA,cAIjC,EAAE;IACrBF,OAAO,CAACK,IAAI,CAAC,qBAAqB,CAAC;IACnCC,OAAO,CAACC,IAAI,CAAC,CAAC,CAAC;EACnB;AACJ","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- export { cli } from "./cli.js";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC"}
@@ -1,2 +0,0 @@
1
- export type ThirdPartyAppRid = `ri.third-party-applications.main.application.${string}`;
2
- //# sourceMappingURL=ThirdPartyAppRid.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThirdPartyAppRid.d.ts","sourceRoot":"","sources":["../../../src/net/ThirdPartyAppRid.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,gBAAgB,GAC1B,gDAAgD,MAAM,EAAE,CAAC"}
@@ -1,17 +0,0 @@
1
- /*
2
- * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export {};
17
- //# sourceMappingURL=ThirdPartyAppRid.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThirdPartyAppRid.js","names":[],"sources":["ThirdPartyAppRid.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport {};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- export declare const USER_AGENT: string;
2
- //# sourceMappingURL=UserAgent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UserAgent.d.ts","sourceRoot":"","sources":["../../../src/net/UserAgent.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,UAAU,QAA4C,CAAC"}
@@ -1,17 +0,0 @@
1
- /*
2
- * Copyright 2023 Palantir Technologies, Inc. All rights reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export const USER_AGENT = `osdk-cli/${"0.24.0-beta.13"}`;
17
- //# sourceMappingURL=UserAgent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UserAgent.js","names":["USER_AGENT"],"sources":["UserAgent.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport const USER_AGENT = `osdk-cli/${process.env.PACKAGE_VERSION}`;\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,UAAU,GAAG,8BAAyC","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- export declare function createFetch(tokenProvider: () => Promise<string> | string, fetchFn?: typeof fetch): typeof fetch;
2
- //# sourceMappingURL=createFetch.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createFetch.d.mts","sourceRoot":"","sources":["../../../src/net/createFetch.mts"],"names":[],"mappings":"AAyBA,wBAAgB,WAAW,CACzB,aAAa,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,GAAG,MAAM,EAC7C,OAAO,GAAE,OAAO,KAAa,gBAe9B"}