@speedkit/cli 4.36.1 → 4.37.0

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 (310) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +12 -5
  3. package/dist/base/sk-command.d.ts +41 -0
  4. package/dist/base/sk-command.js +56 -0
  5. package/dist/commands/auto-prewarm.d.ts +6 -4
  6. package/dist/commands/auto-prewarm.js +13 -66
  7. package/dist/commands/autocomplete/fish.d.ts +2 -2
  8. package/dist/commands/autocomplete/fish.js +3 -2
  9. package/dist/commands/browser/clean.d.ts +2 -2
  10. package/dist/commands/browser/clean.js +6 -6
  11. package/dist/commands/browser/list.d.ts +2 -2
  12. package/dist/commands/browser/list.js +6 -7
  13. package/dist/commands/browser/update.d.ts +2 -2
  14. package/dist/commands/browser/update.js +9 -11
  15. package/dist/commands/bulk-deploy.d.ts +4 -2
  16. package/dist/commands/bulk-deploy.js +7 -37
  17. package/dist/commands/config/edit.d.ts +2 -2
  18. package/dist/commands/config/edit.js +2 -2
  19. package/dist/commands/config/setup.d.ts +5 -2
  20. package/dist/commands/config/setup.js +9 -19
  21. package/dist/commands/deploy.d.ts +12 -3
  22. package/dist/commands/deploy.js +14 -20
  23. package/dist/commands/diff-url-parameters.d.ts +3 -2
  24. package/dist/commands/diff-url-parameters.js +19 -16
  25. package/dist/commands/extension/add.d.ts +2 -2
  26. package/dist/commands/extension/add.js +6 -6
  27. package/dist/commands/extension/devtools.d.ts +2 -2
  28. package/dist/commands/extension/devtools.js +6 -7
  29. package/dist/commands/extension/list.d.ts +2 -2
  30. package/dist/commands/extension/list.js +5 -6
  31. package/dist/commands/extension/remove.d.ts +2 -2
  32. package/dist/commands/extension/remove.js +6 -6
  33. package/dist/commands/extension/update.d.ts +2 -2
  34. package/dist/commands/extension/update.js +5 -6
  35. package/dist/commands/find-pops.d.ts +2 -2
  36. package/dist/commands/find-pops.js +10 -11
  37. package/dist/commands/generate-customer-config.d.ts +5 -2
  38. package/dist/commands/generate-customer-config.js +9 -27
  39. package/dist/commands/generate-pop-config.d.ts +2 -2
  40. package/dist/commands/generate-pop-config.js +19 -15
  41. package/dist/commands/login.d.ts +2 -2
  42. package/dist/commands/login.js +6 -9
  43. package/dist/commands/onboarding.d.ts +19 -3
  44. package/dist/commands/onboarding.js +15 -11
  45. package/dist/commands/origin-request.d.ts +4 -2
  46. package/dist/commands/origin-request.js +10 -42
  47. package/dist/commands/prewarm.d.ts +4 -2
  48. package/dist/commands/prewarm.js +12 -56
  49. package/dist/commands/pull.d.ts +4 -2
  50. package/dist/commands/pull.js +9 -14
  51. package/dist/commands/query/parameter.d.ts +4 -2
  52. package/dist/commands/query/parameter.js +12 -19
  53. package/dist/commands/query/prewarm.d.ts +4 -2
  54. package/dist/commands/query/prewarm.js +16 -23
  55. package/dist/commands/revalidate.d.ts +4 -2
  56. package/dist/commands/revalidate.js +13 -56
  57. package/dist/commands/wpt-launcher.d.ts +2 -2
  58. package/dist/commands/wpt-launcher.js +16 -17
  59. package/dist/hooks/init/first-run.js +9 -10
  60. package/dist/models/context.d.ts +24 -0
  61. package/dist/models/context.js +31 -0
  62. package/dist/services/athena/athena-flags.d.ts +18 -0
  63. package/dist/services/athena/athena-flags.js +29 -0
  64. package/dist/services/athena/athena-service-build-context.d.ts +25 -0
  65. package/dist/services/athena/athena-service-build-context.js +4 -0
  66. package/dist/services/athena/athena-service-factory.d.ts +3 -16
  67. package/dist/services/athena/athena-service-factory.js +11 -27
  68. package/dist/services/athena/baqend-athena-service.d.ts +3 -14
  69. package/dist/services/athena/baqend-athena-service.js +8 -16
  70. package/dist/services/athena/index.d.ts +1 -0
  71. package/dist/services/athena/index.js +1 -0
  72. package/dist/services/athena/spec/baqend-athena-service.spec.js +2 -2
  73. package/dist/services/browser-fetch/browser-origin-fetch.d.ts +2 -2
  74. package/dist/services/browser-fetch/browser-origin-fetch.js +1 -1
  75. package/dist/services/browser-fetch/browser-origin-fetcher.d.ts +3 -3
  76. package/dist/services/browser-fetch/browser-origin-fetcher.js +5 -5
  77. package/dist/services/browser-fetch/spec/browser-origin-fetch.spec.js +10 -10
  78. package/dist/services/cli/cli-environment-factory.d.ts +25 -0
  79. package/dist/services/cli/cli-environment-factory.js +30 -0
  80. package/dist/services/cli/cli-environment.d.ts +73 -0
  81. package/dist/services/cli/cli-environment.js +216 -0
  82. package/dist/services/cli/cli-service-build-context.d.ts +10 -0
  83. package/dist/services/cli/cli-service-build-context.js +4 -0
  84. package/dist/services/cli/cli-service-factory.d.ts +7 -7
  85. package/dist/services/cli/cli-service-factory.js +7 -7
  86. package/dist/services/cli/cli-service-model.d.ts +0 -4
  87. package/dist/services/cli/cli-service-model.js +0 -6
  88. package/dist/services/cli/cli-service.d.ts +16 -2
  89. package/dist/services/cli/cli-service.js +17 -18
  90. package/dist/services/cli/cli-settings.d.ts +37 -0
  91. package/dist/services/cli/cli-settings.js +23 -0
  92. package/dist/services/cli/command-build-context.d.ts +23 -0
  93. package/dist/services/cli/index.d.ts +5 -1
  94. package/dist/services/cli/index.js +5 -1
  95. package/dist/services/cli/spec/cli-environment-detection.spec.js +52 -0
  96. package/dist/services/cli/spec/cli-environment.spec.js +125 -0
  97. package/dist/services/cli/spec/cli-service.spec.js +9 -19
  98. package/dist/services/config-api/client.d.ts +3 -3
  99. package/dist/services/config-api/client.js +4 -4
  100. package/dist/services/config-api/config-api-factory.js +3 -3
  101. package/dist/services/config-api/entity-manager-provider.d.ts +11 -0
  102. package/dist/services/config-api/{entity-manager-factory.js → entity-manager-provider.js} +7 -1
  103. package/dist/services/customer-config/customer-config-service-build-context.d.ts +33 -0
  104. package/dist/services/customer-config/customer-config-service-build-context.js +36 -0
  105. package/dist/services/customer-config/customer-config-service-factory.d.ts +3 -4
  106. package/dist/services/customer-config/customer-config-service-factory.js +5 -8
  107. package/dist/services/customer-config/customer-config-service.d.ts +2 -2
  108. package/dist/services/customer-config/index.d.ts +1 -1
  109. package/dist/services/customer-config/index.js +1 -1
  110. package/dist/services/customer-config/site-analyzer/index.d.ts +1 -0
  111. package/dist/services/customer-config/site-analyzer/index.js +1 -0
  112. package/dist/services/customer-config/site-analyzer/site-analyzer-service-build-context.d.ts +6 -0
  113. package/dist/services/customer-config/site-analyzer/site-analyzer-service-build-context.js +4 -0
  114. package/dist/services/customer-config/site-analyzer/site-analyzer-service-factory.d.ts +3 -3
  115. package/dist/services/customer-config/site-analyzer/site-analyzer-service-factory.js +4 -5
  116. package/dist/services/deploy/bulk/bulk-deploy-model.d.ts +0 -25
  117. package/dist/services/deploy/bulk/bulk-deploy-model.js +1 -27
  118. package/dist/services/deploy/bulk/bulk-deploy-service-build-context.d.ts +51 -0
  119. package/dist/services/deploy/bulk/bulk-deploy-service-build-context.js +50 -0
  120. package/dist/services/deploy/bulk/bulk-deploy-service-factory.d.ts +2 -4
  121. package/dist/services/deploy/bulk/bulk-deploy-service-factory.js +2 -5
  122. package/dist/services/deploy/bulk/bulk-deploy-service.d.ts +3 -2
  123. package/dist/services/deploy/bulk/config-deploy-factory.d.ts +3 -3
  124. package/dist/services/deploy/bulk/config-deploy-factory.js +16 -8
  125. package/dist/services/deploy/bulk/index.d.ts +1 -0
  126. package/dist/services/deploy/bulk/index.js +1 -0
  127. package/dist/services/deploy/checks/activation/customer-approval-check.d.ts +3 -1
  128. package/dist/services/deploy/checks/activation/customer-approval-check.js +4 -2
  129. package/dist/services/deploy/checks/pre-deploy/device-detection-changed-check.d.ts +3 -1
  130. package/dist/services/deploy/checks/pre-deploy/device-detection-changed-check.js +4 -2
  131. package/dist/services/deploy/checks/pre-deploy/split-change-check.d.ts +3 -1
  132. package/dist/services/deploy/checks/pre-deploy/split-change-check.js +4 -2
  133. package/dist/services/deploy/deploy-service-build-context.d.ts +63 -0
  134. package/dist/services/deploy/deploy-service-build-context.js +64 -0
  135. package/dist/services/deploy/deploy-service-factory.d.ts +5 -8
  136. package/dist/services/deploy/deploy-service-factory.js +28 -19
  137. package/dist/services/deploy/mr/base-config-reader.d.ts +6 -4
  138. package/dist/services/deploy/mr/base-config-reader.js +6 -8
  139. package/dist/services/deploy/mr/index.d.ts +1 -0
  140. package/dist/services/deploy/mr/index.js +1 -0
  141. package/dist/services/deploy/mr/merge-request-deploy-model.d.ts +0 -35
  142. package/dist/services/deploy/mr/merge-request-deploy-model.js +0 -34
  143. package/dist/services/deploy/mr/merge-request-deploy-service-build-context.d.ts +32 -0
  144. package/dist/services/deploy/mr/merge-request-deploy-service-build-context.js +20 -0
  145. package/dist/services/deploy/mr/merge-request-deploy-service-factory.d.ts +2 -4
  146. package/dist/services/deploy/mr/merge-request-deploy-service-factory.js +31 -10
  147. package/dist/services/deploy/mr/merge-request-deploy-service.d.ts +3 -2
  148. package/dist/services/deploy/spec/bulk/bulk-deploy-service.spec.js +14 -3
  149. package/dist/services/deploy/spec/checks/activation/customer-approval-check.spec.js +7 -5
  150. package/dist/services/deploy/spec/checks/pre-deploy/split-change-check.spec.js +2 -1
  151. package/dist/services/diff/diff-service-build-context.d.ts +14 -0
  152. package/dist/services/diff/diff-service-build-context.js +4 -0
  153. package/dist/services/diff/diff-service-factory.d.ts +4 -5
  154. package/dist/services/diff/diff-service-factory.js +4 -7
  155. package/dist/services/diff/index.d.ts +1 -1
  156. package/dist/services/diff/index.js +1 -1
  157. package/dist/services/document-handler-runtime/{context/document-handler-runtime-context.d.ts → document-handler-runtime-model.d.ts} +0 -5
  158. package/dist/services/document-handler-runtime/document-handler-runtime-service-build-context.d.ts +11 -0
  159. package/dist/services/document-handler-runtime/document-handler-runtime-service-build-context.js +4 -0
  160. package/dist/services/document-handler-runtime/document-handler-server.js +2 -2
  161. package/dist/services/document-handler-runtime/factory/document-handler-runtime-service-factory.d.ts +3 -6
  162. package/dist/services/document-handler-runtime/factory/document-handler-runtime-service-factory.js +14 -14
  163. package/dist/services/document-handler-runtime/server/request.js +1 -1
  164. package/dist/services/document-handler-runtime/templates/database-mock.d.ts +1 -1
  165. package/dist/services/document-handler-runtime/templates/database-mock.js +1 -1
  166. package/dist/services/integration-api/customer-config-flags.d.ts +16 -0
  167. package/dist/services/integration-api/customer-config-flags.js +30 -0
  168. package/dist/services/integration-api/handler/install-resource-handler.d.ts +8 -0
  169. package/dist/services/integration-api/handler/install-resource-handler.js +10 -1
  170. package/dist/services/integration-api/index.d.ts +1 -0
  171. package/dist/services/integration-api/index.js +1 -0
  172. package/dist/services/integration-api/integration-api-factory.d.ts +4 -6
  173. package/dist/services/integration-api/integration-api-factory.js +11 -11
  174. package/dist/services/integration-api/integration-api-model.d.ts +0 -9
  175. package/dist/services/integration-api/integration-api-model.js +0 -16
  176. package/dist/services/integration-api/integration-api-service-build-context.d.ts +19 -0
  177. package/dist/services/integration-api/integration-api-service-build-context.js +4 -0
  178. package/dist/services/integration-api/spec/config-plugin.spec.js +1 -1
  179. package/dist/services/integration-api/spec/integration-api-service.spec.js +7 -3
  180. package/dist/services/integration-api/spec/speed-kit-config-file.spec.js +9 -2
  181. package/dist/services/integration-api/struct/config-plugin.d.ts +1 -1
  182. package/dist/services/integration-api/struct/config-plugin.js +12 -7
  183. package/dist/services/integration-api/struct/speed-kit-config-file.d.ts +18 -2
  184. package/dist/services/integration-api/struct/speed-kit-config-file.js +22 -12
  185. package/dist/services/integration-api/struct/speed-kit-config.d.ts +1 -1
  186. package/dist/services/onboarding/browse/browse-service.d.ts +18 -0
  187. package/dist/services/onboarding/browse/browse-service.js +61 -0
  188. package/dist/services/onboarding/browse/browse-url.d.ts +10 -0
  189. package/dist/services/onboarding/browse/browse-url.js +19 -0
  190. package/dist/services/onboarding/browser/config/browser-config.d.ts +3 -3
  191. package/dist/services/onboarding/browser/config/browser-config.js +5 -5
  192. package/dist/services/onboarding/browser/executable/executable-validator.d.ts +3 -3
  193. package/dist/services/onboarding/browser/executable/executable-validator.js +20 -16
  194. package/dist/services/onboarding/browser/extension/extension-downloader.d.ts +3 -3
  195. package/dist/services/onboarding/browser/extension/extension-downloader.js +8 -6
  196. package/dist/services/onboarding/browser/extension/extension-validator.d.ts +3 -3
  197. package/dist/services/onboarding/browser/extension/extension-validator.js +4 -4
  198. package/dist/services/onboarding/browser/launch-browser.d.ts +9 -0
  199. package/dist/services/onboarding/browser/launch-browser.js +20 -0
  200. package/dist/services/onboarding/error/browse-domain-error.d.ts +6 -0
  201. package/dist/services/onboarding/error/browse-domain-error.js +11 -0
  202. package/dist/services/onboarding/error/missing-customer-path-error.d.ts +6 -0
  203. package/dist/services/onboarding/error/missing-customer-path-error.js +11 -0
  204. package/dist/services/onboarding/file-events/file-watcher.js +1 -0
  205. package/dist/services/onboarding/index.d.ts +1 -1
  206. package/dist/services/onboarding/index.js +1 -1
  207. package/dist/services/onboarding/onboarding-model.d.ts +8 -24
  208. package/dist/services/onboarding/onboarding-model.js +19 -87
  209. package/dist/services/onboarding/onboarding-service-build-context.d.ts +61 -0
  210. package/dist/services/onboarding/onboarding-service-build-context.js +79 -0
  211. package/dist/services/onboarding/onboarding-service-factory.d.ts +31 -6
  212. package/dist/services/onboarding/onboarding-service-factory.js +120 -48
  213. package/dist/services/onboarding/onboarding-service.d.ts +2 -0
  214. package/dist/services/onboarding/onboarding-service.js +5 -16
  215. package/dist/services/onboarding/spec/browse/browse-url.spec.d.ts +1 -0
  216. package/dist/services/onboarding/spec/browse/browse-url.spec.js +28 -0
  217. package/dist/services/onboarding/spec/onboarding-model.spec.js +11 -6
  218. package/dist/services/onboarding/spec/onboarding-service-factory.spec.d.ts +1 -0
  219. package/dist/services/onboarding/spec/onboarding-service-factory.spec.js +155 -0
  220. package/dist/services/origin-request/index.d.ts +1 -1
  221. package/dist/services/origin-request/index.js +1 -1
  222. package/dist/services/origin-request/origin-request-service-build-context.d.ts +52 -0
  223. package/dist/services/origin-request/origin-request-service-build-context.js +54 -0
  224. package/dist/services/origin-request/origin-request-service-factory.d.ts +2 -5
  225. package/dist/services/origin-request/origin-request-service-factory.js +12 -12
  226. package/dist/services/origin-request/origin-request-service.d.ts +2 -2
  227. package/dist/services/pop-config/index.d.ts +1 -0
  228. package/dist/services/pop-config/index.js +1 -0
  229. package/dist/services/pop-config/pop-config-factory.d.ts +4 -1
  230. package/dist/services/pop-config/pop-config-factory.js +10 -3
  231. package/dist/services/pop-config/pop-config-service-build-context.d.ts +10 -0
  232. package/dist/services/pop-config/pop-config-service-build-context.js +4 -0
  233. package/dist/services/prewarm/auto-pre-warm-factory.d.ts +3 -31
  234. package/dist/services/prewarm/auto-pre-warm-factory.js +6 -11
  235. package/dist/services/prewarm/auto-pre-warm-service-build-context.d.ts +84 -0
  236. package/dist/services/prewarm/auto-pre-warm-service-build-context.js +68 -0
  237. package/dist/services/prewarm/index.d.ts +2 -0
  238. package/dist/services/prewarm/index.js +2 -0
  239. package/dist/services/prewarm/pre-warm-factory.d.ts +4 -5
  240. package/dist/services/prewarm/pre-warm-factory.js +6 -8
  241. package/dist/services/prewarm/pre-warm-model.d.ts +0 -10
  242. package/dist/services/prewarm/pre-warm-model.js +0 -18
  243. package/dist/services/prewarm/pre-warm-service-build-context.d.ts +47 -0
  244. package/dist/services/prewarm/pre-warm-service-build-context.js +64 -0
  245. package/dist/services/pull/index.d.ts +1 -0
  246. package/dist/services/pull/index.js +1 -0
  247. package/dist/services/pull/pull-service-build-context.d.ts +28 -0
  248. package/dist/services/pull/pull-service-build-context.js +17 -0
  249. package/dist/services/pull/pull-service-factory.d.ts +3 -5
  250. package/dist/services/pull/pull-service-factory.js +13 -14
  251. package/dist/services/pull/pull-service-model.d.ts +0 -5
  252. package/dist/services/pull/pull-service-model.js +0 -9
  253. package/dist/services/query-builder/query-builder-factory.d.ts +9 -7
  254. package/dist/services/query-builder/query-builder-factory.js +26 -15
  255. package/dist/{models/cli-parameters.d.ts → services/query-builder/query-builder-flags.d.ts} +1 -120
  256. package/dist/services/query-builder/query-builder-flags.js +150 -0
  257. package/dist/services/query-builder/query-builder-model.d.ts +1 -14
  258. package/dist/services/query-builder/query-builder-service-build-context.d.ts +113 -0
  259. package/dist/services/query-builder/query-builder-service-build-context.js +68 -0
  260. package/dist/services/query-builder/query-builder-service.d.ts +3 -3
  261. package/dist/services/query-builder/spec/query-builder-flags.spec.d.ts +1 -0
  262. package/dist/{models/spec/cli-parameters.spec.js → services/query-builder/spec/query-builder-flags.spec.js} +1 -1
  263. package/dist/services/revalidate/index.d.ts +1 -0
  264. package/dist/services/revalidate/index.js +1 -0
  265. package/dist/services/revalidate/revalidate-factory.d.ts +3 -5
  266. package/dist/services/revalidate/revalidate-factory.js +2 -6
  267. package/dist/services/revalidate/revalidate-model.d.ts +0 -9
  268. package/dist/services/revalidate/revalidate-model.js +0 -8
  269. package/dist/services/revalidate/revalidate-service-build-context.d.ts +38 -0
  270. package/dist/services/revalidate/revalidate-service-build-context.js +59 -0
  271. package/dist/services/setup/browser/browser-setup-service.d.ts +3 -4
  272. package/dist/services/setup/browser/browser-setup-service.js +16 -18
  273. package/dist/services/setup/difftool/difftool-setup-service.d.ts +3 -4
  274. package/dist/services/setup/difftool/difftool-setup-service.js +5 -7
  275. package/dist/services/setup/extension/extension-setup-service.d.ts +3 -4
  276. package/dist/services/setup/extension/extension-setup-service.js +8 -10
  277. package/dist/services/setup/index.d.ts +1 -1
  278. package/dist/services/setup/index.js +1 -1
  279. package/dist/services/setup/setup-service-build-context.d.ts +27 -0
  280. package/dist/services/setup/setup-service-build-context.js +26 -0
  281. package/dist/services/setup/setup-service-factory.d.ts +2 -6
  282. package/dist/services/setup/setup-service-factory.js +10 -18
  283. package/dist/services/setup/setup-service.d.ts +4 -5
  284. package/dist/services/setup/setup-service.js +6 -7
  285. package/oclif.manifest.json +155 -147
  286. package/package.json +4 -2
  287. package/dist/models/cli-parameters.js +0 -297
  288. package/dist/services/cli/cli-config.d.ts +0 -59
  289. package/dist/services/cli/cli-config.js +0 -180
  290. package/dist/services/cli/environment.d.ts +0 -15
  291. package/dist/services/cli/environment.js +0 -40
  292. package/dist/services/cli/spec/cli-config.spec.js +0 -117
  293. package/dist/services/cli/spec/environment.spec.js +0 -28
  294. package/dist/services/config-api/entity-manager-factory.d.ts +0 -5
  295. package/dist/services/customer-config/customer-config-service-context.d.ts +0 -13
  296. package/dist/services/customer-config/customer-config-service-context.js +0 -21
  297. package/dist/services/deploy/context/deploy-context.d.ts +0 -32
  298. package/dist/services/deploy/context/deploy-context.js +0 -72
  299. package/dist/services/diff/diff-model.d.ts +0 -9
  300. package/dist/services/diff/diff-model.js +0 -12
  301. package/dist/services/origin-request/origin-request-context.d.ts +0 -13
  302. package/dist/services/origin-request/origin-request-context.js +0 -23
  303. package/dist/services/query-builder/query-command.d.ts +0 -28
  304. package/dist/services/query-builder/query-command.js +0 -37
  305. package/dist/services/setup/setup-context.d.ts +0 -14
  306. package/dist/services/setup/setup-context.js +0 -15
  307. /package/dist/{models/spec/cli-parameters.spec.d.ts → services/cli/command-build-context.js} +0 -0
  308. /package/dist/services/cli/spec/{cli-config.spec.d.ts → cli-environment-detection.spec.d.ts} +0 -0
  309. /package/dist/services/cli/spec/{environment.spec.d.ts → cli-environment.spec.d.ts} +0 -0
  310. /package/dist/services/document-handler-runtime/{context/document-handler-runtime-context.js → document-handler-runtime-model.js} +0 -0
@@ -2,4 +2,6 @@ export * from "./pre-warm-service.js";
2
2
  export * from "./pre-warm-factory.js";
3
3
  export * from "./auto-pre-warm-factory.js";
4
4
  export * from "./pre-warm-model.js";
5
+ export * from "./pre-warm-service-build-context.js";
6
+ export * from "./auto-pre-warm-service-build-context.js";
5
7
  export * from "./prewarm-targets.js";
@@ -2,4 +2,6 @@ export * from "./pre-warm-service.js";
2
2
  export * from "./pre-warm-factory.js";
3
3
  export * from "./auto-pre-warm-factory.js";
4
4
  export * from "./pre-warm-model.js";
5
+ export * from "./pre-warm-service-build-context.js";
6
+ export * from "./auto-pre-warm-service-build-context.js";
5
7
  export * from "./prewarm-targets.js";
@@ -1,10 +1,9 @@
1
- import { CliServiceInterface } from "../cli/index.js";
2
- import { PreWarmContext, PreWarmService } from "./index.js";
1
+ import { PreWarmService } from "./pre-warm-service.js";
2
+ import { PreWarmServiceBuildContext } from "./pre-warm-service-build-context.js";
3
3
  import { CsvReader } from "./csv-reader.js";
4
4
  export declare class PreWarmFactory {
5
- private context;
6
- private cli?;
7
- constructor(context: PreWarmContext, cli?: CliServiceInterface);
5
+ private readonly context;
6
+ constructor(context: PreWarmServiceBuildContext);
8
7
  getService(): Promise<PreWarmService>;
9
8
  }
10
9
  /**
@@ -1,22 +1,20 @@
1
- import { CliContext, CliServiceFactory, } from "../cli/index.js";
2
- import { DEFAULT_VARIATION, PreWarmService, toPrewarmTargets, VARIATION_SEPARATOR, } from "./index.js";
1
+ import { DEFAULT_VARIATION, VARIATION_SEPARATOR } from "./pre-warm-model.js";
2
+ import { PreWarmService } from "./pre-warm-service.js";
3
+ import { toPrewarmTargets } from "./prewarm-targets.js";
3
4
  import { AssetApiClient } from "./assets/asset-api-client.js";
4
5
  import { CsvReader } from "./csv-reader.js";
5
6
  import { ConfigApiContext, ConfigApiServiceFactory, } from "../config-api/index.js";
6
7
  export class PreWarmFactory {
7
8
  context;
8
- cli;
9
- constructor(context, cli) {
9
+ constructor(context) {
10
10
  this.context = context;
11
- this.cli = cli;
12
11
  }
13
12
  async getService() {
14
- const cli = this.cli ??
15
- new CliServiceFactory(new CliContext(this.context.quiet)).getService();
13
+ const cli = this.context.environment.cli;
16
14
  const configApi = new ConfigApiServiceFactory(new ConfigApiContext(this.context.app)).getService();
17
15
  const entityManager = await configApi.client.getEntityManager();
18
16
  const csvReader = new CsvReader();
19
- const assetApiClient = new AssetApiClient(entityManager.token, this.context.app, this.context.keepParameterSorting, cli);
17
+ const assetApiClient = new AssetApiClient(entityManager.token, this.context.app, this.context.sortParameters, cli);
20
18
  const rows = csvReader.readList(this.context.path);
21
19
  const named = this.context.variation ?? this.context.variationPath;
22
20
  if (named && rows.some((row) => row.variation)) {
@@ -1,13 +1,3 @@
1
- export declare class PreWarmContext {
2
- readonly app: string;
3
- readonly path: string;
4
- readonly variation?: string;
5
- readonly variationPath?: string;
6
- readonly keepParameterSorting: boolean;
7
- readonly quiet: boolean;
8
- readonly verbose: boolean;
9
- constructor(app: string, path: string, variation?: string, variationPath?: string, keepParameterSorting?: boolean, quiet?: boolean, verbose?: boolean);
10
- }
11
1
  /**
12
2
  * One url to warm, in one variation. A pre-warm list is a list of these: the
13
3
  * variation is a fact about the url, not a dimension crossed over the whole
@@ -1,21 +1,3 @@
1
- export class PreWarmContext {
2
- app;
3
- path;
4
- variation;
5
- variationPath;
6
- keepParameterSorting;
7
- quiet;
8
- verbose;
9
- constructor(app, path, variation, variationPath, keepParameterSorting = true, quiet = false, verbose = false) {
10
- this.app = app;
11
- this.path = path;
12
- this.variation = variation;
13
- this.variationPath = variationPath;
14
- this.keepParameterSorting = keepParameterSorting;
15
- this.quiet = quiet;
16
- this.verbose = verbose;
17
- }
18
- }
19
1
  export var ItemStatus;
20
2
  (function (ItemStatus) {
21
3
  ItemStatus["DONE"] = "done";
@@ -0,0 +1,47 @@
1
+ import { Interfaces } from "@oclif/core";
2
+ import { CommandContextValues, CliEnvironment } from "../cli/index.js";
3
+ declare const args: {
4
+ app: Interfaces.Arg<string, Record<string, unknown>>;
5
+ path: Interfaces.Arg<string, {
6
+ exists?: boolean;
7
+ }>;
8
+ };
9
+ declare const flags: {
10
+ variation: Interfaces.OptionFlag<string, Interfaces.CustomOptions>;
11
+ variationPath: Interfaces.OptionFlag<string, Interfaces.CustomOptions>;
12
+ keepParameterSorting: Interfaces.BooleanFlag<boolean>;
13
+ quiet: Interfaces.BooleanFlag<boolean>;
14
+ verbose: Interfaces.BooleanFlag<boolean>;
15
+ delay: Interfaces.OptionFlag<number, Interfaces.CustomOptions>;
16
+ };
17
+ export interface PreWarmServiceBuildContextValues extends CommandContextValues {
18
+ readonly app: string;
19
+ /** The CSV list of urls to warm. */
20
+ readonly path: string;
21
+ readonly variation?: string;
22
+ readonly variationPath?: string;
23
+ /** Whether query parameters are sorted before a url is warmed. */
24
+ readonly sortParameters: boolean;
25
+ readonly quiet: boolean;
26
+ readonly verbose: boolean;
27
+ }
28
+ declare const PreWarmServiceBuildContext_base: new (values: PreWarmServiceBuildContextValues) => Readonly<PreWarmServiceBuildContextValues>;
29
+ /** What `sk prewarm` warms: a list of urls of one app. */
30
+ export declare class PreWarmServiceBuildContext extends PreWarmServiceBuildContext_base {
31
+ static readonly args: {
32
+ app: Interfaces.Arg<string, Record<string, unknown>>;
33
+ path: Interfaces.Arg<string, {
34
+ exists?: boolean;
35
+ }>;
36
+ };
37
+ static readonly flags: {
38
+ variation: Interfaces.OptionFlag<string, Interfaces.CustomOptions>;
39
+ variationPath: Interfaces.OptionFlag<string, Interfaces.CustomOptions>;
40
+ keepParameterSorting: Interfaces.BooleanFlag<boolean>;
41
+ quiet: Interfaces.BooleanFlag<boolean>;
42
+ verbose: Interfaces.BooleanFlag<boolean>;
43
+ delay: Interfaces.OptionFlag<number, Interfaces.CustomOptions>;
44
+ };
45
+ static create(parsedArgs: Interfaces.InferredArgs<typeof args>, parsedFlags: Interfaces.InferredFlags<typeof flags>, environment: CliEnvironment): PreWarmServiceBuildContext;
46
+ }
47
+ export {};
@@ -0,0 +1,64 @@
1
+ import { Args, Flags } from "@oclif/core";
2
+ import { Context } from "../../models/context.js";
3
+ const args = {
4
+ app: Args.string({
5
+ name: "app", // name of arg to show in help and reference with args[name]
6
+ required: true, // make the arg required with `required: true`
7
+ description: "The customer app name", // help description
8
+ }),
9
+ path: Args.file({
10
+ name: "path", // name of arg to show in help and reference with args[name]
11
+ required: true, // make the arg required with `required: true`
12
+ description: "path to prewarmFile.csv", // help description
13
+ }),
14
+ };
15
+ const flags = {
16
+ // No default: the list may already name a variation per url, and only a
17
+ // flag the caller really gave should be reported as ignored then.
18
+ variation: Flags.string({
19
+ char: "v",
20
+ description: "Warm every url of the list in each of these variations, e.g. 'desktop,mobile'. Ignored for a list that names a variation itself",
21
+ }),
22
+ variationPath: Flags.file({
23
+ char: "p",
24
+ exclusive: ["variation"],
25
+ description: "path to variations.csv",
26
+ }),
27
+ keepParameterSorting: Flags.boolean({
28
+ char: "k",
29
+ default: false,
30
+ description: "Prevents alphabetical sorting of the URL parameters",
31
+ }),
32
+ quiet: Flags.boolean({
33
+ char: "q",
34
+ default: false,
35
+ description: "less output non interactive",
36
+ }),
37
+ verbose: Flags.boolean({
38
+ default: false,
39
+ description: "Log information about failed requests",
40
+ }),
41
+ ["delay"]: Flags.integer({
42
+ char: "d",
43
+ description: "Request delay in ms (deprecated)",
44
+ deprecated: true,
45
+ }),
46
+ };
47
+ /** What `sk prewarm` warms: a list of urls of one app. */
48
+ export class PreWarmServiceBuildContext extends Context() {
49
+ static args = args;
50
+ static flags = flags;
51
+ static create(parsedArgs, parsedFlags, environment) {
52
+ return new PreWarmServiceBuildContext({
53
+ environment,
54
+ app: parsedArgs.app,
55
+ path: parsedArgs.path,
56
+ variation: parsedFlags.variation,
57
+ variationPath: parsedFlags.variationPath,
58
+ sortParameters: !parsedFlags.keepParameterSorting,
59
+ quiet: parsedFlags.quiet ?? false,
60
+ verbose: parsedFlags.verbose ?? false,
61
+ });
62
+ }
63
+ }
64
+ PreWarmServiceBuildContext;
@@ -1,3 +1,4 @@
1
+ export * from "./pull-service-build-context.js";
1
2
  export * from "./pull-service-model.js";
2
3
  export * from "./pull-service-factory.js";
3
4
  export * from "./pull-service.js";
@@ -1,3 +1,4 @@
1
+ export * from "./pull-service-build-context.js";
1
2
  export * from "./pull-service-model.js";
2
3
  export * from "./pull-service-factory.js";
3
4
  export * from "./pull-service.js";
@@ -0,0 +1,28 @@
1
+ import { Interfaces } from "@oclif/core";
2
+ import { CliEnvironment, CommandContextValues } from "../cli/index.js";
3
+ declare const args: {
4
+ customerPath: Interfaces.Arg<string, {
5
+ exists?: boolean;
6
+ }>;
7
+ };
8
+ declare const flags: {
9
+ configName: Interfaces.OptionFlag<string, Interfaces.CustomOptions>;
10
+ };
11
+ export interface PullServiceBuildContextValues extends CommandContextValues {
12
+ readonly customerPath: string;
13
+ readonly configName: string;
14
+ }
15
+ declare const PullServiceBuildContext_base: new (values: PullServiceBuildContextValues) => Readonly<PullServiceBuildContextValues>;
16
+ /** What `sk pull` pulls: one config of one customer. */
17
+ export declare class PullServiceBuildContext extends PullServiceBuildContext_base {
18
+ static readonly args: {
19
+ customerPath: Interfaces.Arg<string, {
20
+ exists?: boolean;
21
+ }>;
22
+ };
23
+ static readonly flags: {
24
+ configName: Interfaces.OptionFlag<string, Interfaces.CustomOptions>;
25
+ };
26
+ static create(parsedArgs: Interfaces.InferredArgs<typeof args>, parsedFlags: Interfaces.InferredFlags<typeof flags>, environment: CliEnvironment): PullServiceBuildContext;
27
+ }
28
+ export {};
@@ -0,0 +1,17 @@
1
+ import { CLI_CONFIG_NAME, CLI_CUSTOMER_CONFIG, } from "../integration-api/customer-config-flags.js";
2
+ import { Context } from "../../models/context.js";
3
+ const args = { ...CLI_CUSTOMER_CONFIG };
4
+ const flags = { ...CLI_CONFIG_NAME };
5
+ /** What `sk pull` pulls: one config of one customer. */
6
+ export class PullServiceBuildContext extends Context() {
7
+ static args = args;
8
+ static flags = flags;
9
+ static create(parsedArgs, parsedFlags, environment) {
10
+ return new PullServiceBuildContext({
11
+ environment,
12
+ customerPath: parsedArgs.customerPath,
13
+ configName: parsedFlags.configName,
14
+ });
15
+ }
16
+ }
17
+ PullServiceBuildContext;
@@ -1,11 +1,9 @@
1
- import { CliServiceInterface, UserCliConfig } from "../cli/index.js";
2
- import { PullContext, PullService } from "./index.js";
1
+ import { PullService } from "./pull-service.js";
2
+ import { PullServiceBuildContext } from "./pull-service-build-context.js";
3
3
  export declare class PullServiceFactory {
4
4
  private readonly context;
5
- private userConfig;
6
- private readonly cli?;
7
5
  private service?;
8
- constructor(context: PullContext, userConfig: UserCliConfig, cli?: CliServiceInterface);
6
+ constructor(context: PullServiceBuildContext);
9
7
  buildService(): Promise<PullService>;
10
8
  private build;
11
9
  private getIntegrationFiles;
@@ -1,16 +1,10 @@
1
- import { IntegrationApiContext, IntegrationApiFactory, } from "../integration-api/index.js";
2
- import { CliServiceFactory, } from "../cli/index.js";
3
- import { PullService } from "./index.js";
1
+ import { IntegrationApiServiceBuildContext, IntegrationApiFactory, } from "../integration-api/index.js";
2
+ import { PullService } from "./pull-service.js";
4
3
  import { ConfigApiContext, ConfigApiServiceFactory, } from "../config-api/index.js";
5
4
  export class PullServiceFactory {
6
5
  context;
7
- userConfig;
8
- cli;
9
6
  service = undefined;
10
- constructor(context, userConfig, cli) {
11
- this.context = context;
12
- this.userConfig = userConfig;
13
- this.cli = cli;
7
+ constructor(context) {
14
8
  this.context = context;
15
9
  }
16
10
  async buildService() {
@@ -20,16 +14,21 @@ export class PullServiceFactory {
20
14
  return this.service;
21
15
  }
22
16
  async build() {
23
- const cliService = this.cli ?? new CliServiceFactory().getService();
24
- const files = await this.getIntegrationFiles(cliService);
17
+ const cliService = this.context.environment.cli;
18
+ const files = await this.getIntegrationFiles();
25
19
  const customer = files.getCustomerConfig().config;
26
20
  const configName = customer.name || this.context.configName;
27
21
  const configApi = this.getConfigApi(customer.app);
28
22
  this.service = new PullService(files, cliService, configApi, configName, this.context.customerPath);
29
23
  }
30
- async getIntegrationFiles(cli) {
31
- const integrationApiContext = new IntegrationApiContext(this.context.customerPath, this.context.configName, []);
32
- const integrationApi = new IntegrationApiFactory(integrationApiContext, this.userConfig, cli).buildService();
24
+ async getIntegrationFiles() {
25
+ const integrationApiContext = new IntegrationApiServiceBuildContext({
26
+ environment: this.context.environment,
27
+ basePath: this.context.customerPath,
28
+ configName: this.context.configName,
29
+ whitelist: [],
30
+ });
31
+ const integrationApi = new IntegrationApiFactory(integrationApiContext).buildService();
33
32
  return await integrationApi.run();
34
33
  }
35
34
  getConfigApi(app) {
@@ -1,8 +1,3 @@
1
- export declare class PullContext {
2
- readonly customerPath: string;
3
- readonly configName: string;
4
- constructor(customerPath: string, configName?: string);
5
- }
6
1
  export declare const InstallResourceToFileMapping: {
7
2
  config: {
8
3
  fileName: string;
@@ -1,14 +1,5 @@
1
1
  import * as dotenv from "dotenv";
2
2
  dotenv.config({ quiet: true });
3
- const DEFAULT_CONFIG_NAME = "production";
4
- export class PullContext {
5
- customerPath;
6
- configName;
7
- constructor(customerPath, configName = DEFAULT_CONFIG_NAME) {
8
- this.customerPath = customerPath;
9
- this.configName = configName;
10
- }
11
- }
12
3
  export const InstallResourceToFileMapping = {
13
4
  config: { fileName: "config_SpeedKit", extension: "js" },
14
5
  documentHandlerConfig: {
@@ -1,12 +1,14 @@
1
1
  import { QueryBuilderService } from "./query-builder-service.js";
2
- import { QueryBuilderFactoryContext, QueryType } from "./query-builder-model.js";
3
- import { CliServiceInterface, UserCliConfig } from "../cli/index.js";
2
+ import { QueryServiceBuildContext } from "./query-builder-service-build-context.js";
4
3
  export declare class QueryBuilderFactory {
5
- private context;
6
- private userConfig;
7
- private cli?;
8
- constructor(context: QueryBuilderFactoryContext, userConfig: UserCliConfig, cli?: CliServiceInterface);
9
- buildService(queryType: QueryType): Promise<QueryBuilderService>;
4
+ private readonly context;
5
+ /**
6
+ * @param context a {@link PrewarmQueryServiceBuildContext} for the prewarm
7
+ * query, a {@link ParameterQueryServiceBuildContext} for the parameter
8
+ * query; the context says which query is built
9
+ */
10
+ constructor(context: QueryServiceBuildContext);
11
+ buildService(): Promise<QueryBuilderService>;
10
12
  private getIntegrationFiles;
11
13
  private getSpeedKitConfig;
12
14
  }
@@ -1,23 +1,24 @@
1
1
  import { QueryBuilderService } from "./query-builder-service.js";
2
2
  import { parseRuleSets } from "./rules/index.js";
3
- import { IntegrationApiContext, IntegrationApiFactory, } from "../integration-api/index.js";
3
+ import { IntegrationApiServiceBuildContext, IntegrationApiFactory, } from "../integration-api/index.js";
4
4
  import { INTEGRATION_FILES } from "../../models/files.js";
5
- import { CliServiceFactory, } from "../cli/index.js";
6
- import { AthenaServiceFactory } from "../athena/index.js";
5
+ import { AthenaServiceBuildContext, AthenaServiceFactory, } from "../athena/index.js";
7
6
  import { safe } from "../../helpers/safe.js";
8
7
  import { ParseConfigSpeedKitError } from "./error/parse-config-speed-kit-error.js";
9
8
  export class QueryBuilderFactory {
10
9
  context;
11
- userConfig;
12
- cli;
13
- constructor(context, userConfig, cli) {
10
+ /**
11
+ * @param context a {@link PrewarmQueryServiceBuildContext} for the prewarm
12
+ * query, a {@link ParameterQueryServiceBuildContext} for the parameter
13
+ * query; the context says which query is built
14
+ */
15
+ constructor(context) {
14
16
  this.context = context;
15
- this.userConfig = userConfig;
16
- this.cli = cli;
17
17
  }
18
- async buildService(queryType) {
19
- const cli = this.cli ?? new CliServiceFactory().getService();
20
- const files = await this.getIntegrationFiles(cli);
18
+ async buildService() {
19
+ const queryType = this.context.queryType;
20
+ const cli = this.context.environment.cli;
21
+ const files = await this.getIntegrationFiles();
21
22
  const customerConfig = files.getCustomerConfig().config;
22
23
  const app = customerConfig.app;
23
24
  const origins = customerConfig.origins ?? [];
@@ -48,13 +49,23 @@ export class QueryBuilderFactory {
48
49
  // The Athena service is only needed when the query is executed directly —
49
50
  // which `--count` is, a count query being of no use as text.
50
51
  const athenaService = this.context.execute || this.context.count
51
- ? await new AthenaServiceFactory(app, this.context.workgroup, this.context.catalog, cli).getService()
52
+ ? await new AthenaServiceFactory(new AthenaServiceBuildContext({
53
+ environment: this.context.environment,
54
+ app,
55
+ workgroup: this.context.workgroup,
56
+ catalog: this.context.catalog,
57
+ })).getService()
52
58
  : undefined;
53
59
  return new QueryBuilderService(serviceContext, parseRuleSets(speedKitConfig), cli, athenaService);
54
60
  }
55
- async getIntegrationFiles(cli) {
56
- const integrationApiContext = new IntegrationApiContext(this.context.customerPath, this.context.configName, [INTEGRATION_FILES.CONFIG.SPEED_KIT]);
57
- const integrationApi = new IntegrationApiFactory(integrationApiContext, this.userConfig, cli).buildService();
61
+ async getIntegrationFiles() {
62
+ const integrationApiContext = new IntegrationApiServiceBuildContext({
63
+ environment: this.context.environment,
64
+ basePath: this.context.customerPath,
65
+ configName: this.context.configName,
66
+ whitelist: [INTEGRATION_FILES.CONFIG.SPEED_KIT],
67
+ });
68
+ const integrationApi = new IntegrationApiFactory(integrationApiContext).buildService();
58
69
  return await integrationApi.run();
59
70
  }
60
71
  async getSpeedKitConfig(app, origin, speedKitConfigFile) {
@@ -1,101 +1,4 @@
1
- export declare enum CLIParameters {
2
- AppName = "app",
3
- Artifacts = "artifacts",
4
- ConfigName = "configName",
5
- ContentTypes = "contentTypes",
6
- Catalog = "catalog",
7
- Cookies = "cookies",
8
- Count = "count",
9
- CustomerPath = "customerPath",
10
- CustomersDirectory = "customersDirectory",
11
- Days = "days",
12
- Delay = "delay",
13
- Device = "device",
14
- Domain = "domain",
15
- DryRun = "dryRun",
16
- Execute = "execute",
17
- BySet = "bySet",
18
- ExcludeNoindex = "excludeNoindex",
19
- ExcludeNotFound = "excludeNotFound",
20
- ExcludeSuspicious = "excludeSuspicious",
21
- Explain = "explain",
22
- Group = "group",
23
- HardNavigationsOnly = "hardNavigationsOnly",
24
- HideDiff = "hideDiff",
25
- Ips = "ips",
26
- KeepParameterSorting = "keepParameterSorting",
27
- Limit = "limit",
28
- Match = "match",
29
- MinHits = "minHits",
30
- MinImpressions = "minImpressions",
31
- Quiet = "quiet",
32
- Mobile = "mobile",
33
- PageUrl = "pageUrl",
34
- Path = "path",
35
- SlackToken = "slackToken",
36
- TestId = "testId",
37
- Urls = "urls",
38
- Variation = "variation",
39
- VariationPath = "variationPath",
40
- Verbose = "verbose",
41
- Workgroup = "workgroup",
42
- useTestConfig = "useTestConfig"
43
- }
44
- export declare enum CLIParametersChar {
45
- AppName = "a",
46
- Artifacts = "a",
47
- ConfigName = "c",
48
- ContentTypes = "c",
49
- Cookies = "c",
50
- CustomerPath = "p",
51
- CustomersDirectory = "d",
52
- Days = "d",
53
- Delay = "d",
54
- Domain = "d",
55
- DryRun = "d",
56
- Execute = "e",
57
- Group = "g",
58
- HideDiff = "h",
59
- Ips = "i",
60
- KeepParameterSorting = "k",
61
- Mobile = "m",
62
- SlackToken = "t",
63
- Path = "p",
64
- Variation = "v",
65
- VariationPath = "p",
66
- Quiet = "q",
67
- useTestConfig = "t"
68
- }
69
- export declare enum CLIParametersExample {
70
- AppName = "decathlon",
71
- Artifacts = "dynamic,SpeedKit",
72
- ConfigName = "production",
73
- ContentTypes = "image,style",
74
- Cookies = "consentCookies",
75
- CustomerPath = "customers/decathlon.de",
76
- CustomersDirectory = "customers",
77
- Delay = "1200",
78
- Devices = "desktop,mobile",
79
- Domain = "www.decathlon.de",
80
- Group = "B",
81
- Ips = "151.101.120.194",
82
- Match = "^/p/",
83
- Mobile = "Y",
84
- PageUrl = "https://www.decathlon.de/",
85
- Path = "C:\\Users\\testUser\\file.csv",
86
- SlackToken = "someSlackToken",
87
- TestId = "listing-50vs50",
88
- Urls = "url1,url2,url3",
89
- Variation = "MOBILE",
90
- Variations = "MOBILE,DESKTOP",
91
- VariationPath = "C:\\Users\\testUser\\variations.csv"
92
- }
93
- export declare const CLI_CONFIG_NAME: {
94
- configName: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
95
- };
96
- export declare const CLI_CONFIG_IS_TEST: {
97
- useTestConfig: import("@oclif/core/interfaces").BooleanFlag<boolean>;
98
- };
1
+ /** The flags of the commands that build a query. */
99
2
  /** Shared wording, so every query command describes the window the same way. */
100
3
  export declare const CLI_QUERY_DAYS_DESCRIPTION = "Number of days the query looks back";
101
4
  /**
@@ -166,30 +69,8 @@ export declare const CLI_QUERY_PREWARM: {
166
69
  device: import("@oclif/core/interfaces").OptionFlag<string[], import("@oclif/core/interfaces").CustomOptions>;
167
70
  variation: import("@oclif/core/interfaces").OptionFlag<string[], import("@oclif/core/interfaces").CustomOptions>;
168
71
  };
169
- /**
170
- * Where a query that is executed actually runs.
171
- *
172
- * The catalog is the account's, not the query's: our own logins reach the rum
173
- * tables under `live`, while a role scoped to one account reaches the same
174
- * tables under `AwsDataCatalog`. `SK_ATHENA_CATALOG` lets a CI job say so once.
175
- *
176
- * Athena resolves the account's default workgroup when none is named, which is
177
- * only right where the credentials are allowed to use it — a role scoped to one
178
- * workgroup is refused on any other, and the result location is a workgroup
179
- * setting too. `SK_ATHENA_WORKGROUP` lets a CI job set it once for every
180
- * command in the job.
181
- */
182
- export declare const CLI_ATHENA: {
183
- catalog: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
184
- workgroup: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
185
- };
186
72
  /** How the parameter query presents what it found. */
187
73
  export declare const CLI_QUERY_PARAMETER: {
188
74
  bySet: import("@oclif/core/interfaces").BooleanFlag<boolean>;
189
75
  minImpressions: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
190
76
  };
191
- export declare const CLI_CUSTOMER_CONFIG: {
192
- customerPath: import("@oclif/core/interfaces").Arg<string, {
193
- exists?: boolean;
194
- }>;
195
- };