@gitpod/gitpod-protocol 0.1.5-wth-test.41 → 0.1.5-wv-add-image-builds-to-dashboard.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 (431) hide show
  1. package/data/gitpod-schema.json +150 -8
  2. package/lib/accounting-protocol.d.ts +19 -11
  3. package/lib/accounting-protocol.d.ts.map +1 -1
  4. package/lib/accounting-protocol.js +35 -33
  5. package/lib/accounting-protocol.js.map +1 -1
  6. package/lib/admin-protocol.d.ts +29 -1
  7. package/lib/admin-protocol.d.ts.map +1 -1
  8. package/lib/admin-protocol.js +1 -1
  9. package/lib/admin-protocol.js.map +1 -1
  10. package/lib/analytics.d.ts +5 -6
  11. package/lib/analytics.d.ts.map +1 -1
  12. package/lib/analytics.js +1 -1
  13. package/lib/analytics.js.map +1 -1
  14. package/lib/attribution.d.ts +24 -0
  15. package/lib/attribution.d.ts.map +1 -0
  16. package/lib/attribution.js +54 -0
  17. package/lib/attribution.js.map +1 -0
  18. package/lib/auth.d.ts +1 -1
  19. package/lib/auth.d.ts.map +1 -1
  20. package/lib/auth.js +1 -1
  21. package/lib/billing-mode.d.ts +45 -0
  22. package/lib/billing-mode.d.ts.map +1 -0
  23. package/lib/billing-mode.js +44 -0
  24. package/lib/billing-mode.js.map +1 -0
  25. package/lib/blocked-repositories-protocol.d.ts +13 -0
  26. package/lib/blocked-repositories-protocol.d.ts.map +1 -0
  27. package/lib/blocked-repositories-protocol.js +8 -0
  28. package/lib/blocked-repositories-protocol.js.map +1 -0
  29. package/lib/context-url.d.ts +19 -7
  30. package/lib/context-url.d.ts.map +1 -1
  31. package/lib/context-url.js +60 -9
  32. package/lib/context-url.js.map +1 -1
  33. package/lib/context-url.spec.d.ts +3 -3
  34. package/lib/context-url.spec.d.ts.map +1 -1
  35. package/lib/context-url.spec.js +20 -12
  36. package/lib/context-url.spec.js.map +1 -1
  37. package/lib/encryption/container-module.d.ts +1 -1
  38. package/lib/encryption/container-module.d.ts.map +1 -1
  39. package/lib/encryption/container-module.js +2 -2
  40. package/lib/encryption/container-module.js.map +1 -1
  41. package/lib/encryption/encryption-engine.d.ts +1 -1
  42. package/lib/encryption/encryption-engine.d.ts.map +1 -1
  43. package/lib/encryption/encryption-engine.js +10 -10
  44. package/lib/encryption/encryption-engine.js.map +1 -1
  45. package/lib/encryption/encryption-engine.spec.d.ts +1 -1
  46. package/lib/encryption/encryption-engine.spec.d.ts.map +1 -1
  47. package/lib/encryption/encryption-engine.spec.js +3 -4
  48. package/lib/encryption/encryption-engine.spec.js.map +1 -1
  49. package/lib/encryption/encryption-service.d.ts +1 -1
  50. package/lib/encryption/encryption-service.d.ts.map +1 -1
  51. package/lib/encryption/encryption-service.js +2 -2
  52. package/lib/encryption/encryption-service.js.map +1 -1
  53. package/lib/encryption/key-provider.d.ts +1 -1
  54. package/lib/encryption/key-provider.d.ts.map +1 -1
  55. package/lib/encryption/key-provider.js +8 -10
  56. package/lib/encryption/key-provider.js.map +1 -1
  57. package/lib/env.d.ts +1 -6
  58. package/lib/env.d.ts.map +1 -1
  59. package/lib/env.js +2 -21
  60. package/lib/env.js.map +1 -1
  61. package/lib/experiments/always-default.d.ts +8 -0
  62. package/lib/experiments/always-default.d.ts.map +1 -0
  63. package/lib/experiments/always-default.js +20 -0
  64. package/lib/experiments/always-default.js.map +1 -0
  65. package/lib/experiments/configcat-server.d.ts +10 -0
  66. package/lib/experiments/configcat-server.d.ts.map +1 -0
  67. package/lib/experiments/configcat-server.js +37 -0
  68. package/lib/experiments/configcat-server.js.map +1 -0
  69. package/lib/experiments/configcat.d.ts +21 -0
  70. package/lib/experiments/configcat.d.ts.map +1 -0
  71. package/lib/experiments/configcat.js +51 -0
  72. package/lib/experiments/configcat.js.map +1 -0
  73. package/lib/experiments/types.d.ts +22 -0
  74. package/lib/experiments/types.d.ts.map +1 -0
  75. package/lib/experiments/types.js +10 -0
  76. package/lib/experiments/types.js.map +1 -0
  77. package/lib/gitpod-file-parser.d.ts +1 -1
  78. package/lib/gitpod-file-parser.d.ts.map +1 -1
  79. package/lib/gitpod-file-parser.js +7 -7
  80. package/lib/gitpod-file-parser.js.map +1 -1
  81. package/lib/gitpod-file-parser.spec.d.ts +1 -1
  82. package/lib/gitpod-file-parser.spec.js +43 -40
  83. package/lib/gitpod-file-parser.spec.js.map +1 -1
  84. package/lib/gitpod-service.d.ts +93 -48
  85. package/lib/gitpod-service.d.ts.map +1 -1
  86. package/lib/gitpod-service.js +57 -36
  87. package/lib/gitpod-service.js.map +1 -1
  88. package/lib/headless-workspace-log.d.ts +2 -1
  89. package/lib/headless-workspace-log.d.ts.map +1 -1
  90. package/lib/headless-workspace-log.js +3 -2
  91. package/lib/headless-workspace-log.js.map +1 -1
  92. package/lib/ide-frontend-service.d.ts +2 -2
  93. package/lib/ide-frontend-service.js +1 -1
  94. package/lib/ide-protocol.d.ts +126 -0
  95. package/lib/ide-protocol.d.ts.map +1 -0
  96. package/lib/ide-protocol.js +18 -0
  97. package/lib/ide-protocol.js.map +1 -0
  98. package/lib/index.d.ts +17 -15
  99. package/lib/index.d.ts.map +1 -1
  100. package/lib/index.js +4 -2
  101. package/lib/index.js.map +1 -1
  102. package/lib/installation-admin-protocol.d.ts +30 -0
  103. package/lib/installation-admin-protocol.d.ts.map +1 -0
  104. package/lib/installation-admin-protocol.js +31 -0
  105. package/lib/installation-admin-protocol.js.map +1 -0
  106. package/lib/license-protocol.d.ts +8 -1
  107. package/lib/license-protocol.d.ts.map +1 -1
  108. package/lib/license-protocol.js +1 -1
  109. package/lib/license-protocol.js.map +1 -1
  110. package/lib/messaging/browser/connection.d.ts +1 -1
  111. package/lib/messaging/browser/connection.d.ts.map +1 -1
  112. package/lib/messaging/browser/connection.js +19 -19
  113. package/lib/messaging/browser/connection.js.map +1 -1
  114. package/lib/messaging/browser/window-connection.d.ts +5 -5
  115. package/lib/messaging/browser/window-connection.d.ts.map +1 -1
  116. package/lib/messaging/browser/window-connection.js +10 -7
  117. package/lib/messaging/browser/window-connection.js.map +1 -1
  118. package/lib/messaging/client-call-metrics.d.ts +5 -19
  119. package/lib/messaging/client-call-metrics.d.ts.map +1 -1
  120. package/lib/messaging/client-call-metrics.js +35 -23
  121. package/lib/messaging/client-call-metrics.js.map +1 -1
  122. package/lib/messaging/error.d.ts +11 -2
  123. package/lib/messaging/error.d.ts.map +1 -1
  124. package/lib/messaging/error.js +22 -4
  125. package/lib/messaging/error.js.map +1 -1
  126. package/lib/messaging/handler.d.ts.map +1 -1
  127. package/lib/messaging/handler.js +1 -1
  128. package/lib/messaging/node/connection.d.ts +1 -17
  129. package/lib/messaging/node/connection.d.ts.map +1 -1
  130. package/lib/messaging/node/connection.js +23 -59
  131. package/lib/messaging/node/connection.js.map +1 -1
  132. package/lib/messaging/proxy-factory.d.ts +1 -1
  133. package/lib/messaging/proxy-factory.d.ts.map +1 -1
  134. package/lib/messaging/proxy-factory.js +7 -9
  135. package/lib/messaging/proxy-factory.js.map +1 -1
  136. package/lib/oss-allowlist.d.ts +14 -0
  137. package/lib/oss-allowlist.d.ts.map +1 -0
  138. package/lib/oss-allowlist.js +8 -0
  139. package/lib/oss-allowlist.js.map +1 -0
  140. package/lib/payment-protocol.d.ts +1 -1
  141. package/lib/payment-protocol.d.ts.map +1 -1
  142. package/lib/payment-protocol.js +2 -2
  143. package/lib/payment-protocol.js.map +1 -1
  144. package/lib/permission.d.ts +10 -4
  145. package/lib/permission.d.ts.map +1 -1
  146. package/lib/permission.js +35 -26
  147. package/lib/permission.js.map +1 -1
  148. package/lib/plans.d.ts +5 -4
  149. package/lib/plans.d.ts.map +1 -1
  150. package/lib/plans.js +211 -172
  151. package/lib/plans.js.map +1 -1
  152. package/lib/protocol.d.ts +192 -99
  153. package/lib/protocol.d.ts.map +1 -1
  154. package/lib/protocol.js +293 -105
  155. package/lib/protocol.js.map +1 -1
  156. package/lib/protocol.spec.d.ts +7 -0
  157. package/lib/protocol.spec.d.ts.map +1 -0
  158. package/lib/protocol.spec.js +127 -0
  159. package/lib/protocol.spec.js.map +1 -0
  160. package/lib/snapshot-url.d.ts +1 -1
  161. package/lib/snapshot-url.js +1 -1
  162. package/lib/snapshot-url.spec.d.ts +1 -1
  163. package/lib/snapshot-url.spec.js +1 -1
  164. package/lib/snapshot-url.spec.js.map +1 -1
  165. package/lib/team-subscription-protocol.d.ts +23 -4
  166. package/lib/team-subscription-protocol.d.ts.map +1 -1
  167. package/lib/team-subscription-protocol.js +21 -6
  168. package/lib/team-subscription-protocol.js.map +1 -1
  169. package/lib/teams-projects-protocol.d.ts +35 -5
  170. package/lib/teams-projects-protocol.d.ts.map +1 -1
  171. package/lib/teams-projects-protocol.js +9 -2
  172. package/lib/teams-projects-protocol.js.map +1 -1
  173. package/lib/typings/globals.d.ts +3 -3
  174. package/lib/typings/globals.d.ts.map +1 -1
  175. package/lib/typings/globals.js +1 -1
  176. package/lib/usage.d.ts +73 -0
  177. package/lib/usage.d.ts.map +1 -0
  178. package/lib/usage.js +20 -0
  179. package/lib/usage.js.map +1 -0
  180. package/lib/util/analytics.d.ts +1 -1
  181. package/lib/util/analytics.d.ts.map +1 -1
  182. package/lib/util/analytics.js +13 -4
  183. package/lib/util/analytics.js.map +1 -1
  184. package/lib/util/async-iterator.d.ts +1 -1
  185. package/lib/util/async-iterator.d.ts.map +1 -1
  186. package/lib/util/async-iterator.js +4 -4
  187. package/lib/util/async-iterator.js.map +1 -1
  188. package/lib/util/cancelable.d.ts +1 -1
  189. package/lib/util/cancelable.js +1 -1
  190. package/lib/util/cancelable.js.map +1 -1
  191. package/lib/util/date-time.d.ts +1 -1
  192. package/lib/util/date-time.js +7 -7
  193. package/lib/util/date-time.js.map +1 -1
  194. package/lib/util/debug-app.d.ts +25 -0
  195. package/lib/util/debug-app.d.ts.map +1 -0
  196. package/lib/util/debug-app.js +100 -0
  197. package/lib/util/debug-app.js.map +1 -0
  198. package/lib/util/deep-partial.d.ts +1 -1
  199. package/lib/util/deep-partial.js +1 -1
  200. package/lib/util/deferred.d.ts +1 -1
  201. package/lib/util/deferred.js +1 -1
  202. package/lib/util/deferred.js.map +1 -1
  203. package/lib/util/disposable.d.ts.map +1 -1
  204. package/lib/util/disposable.js +2 -2
  205. package/lib/util/disposable.js.map +1 -1
  206. package/lib/util/event.d.ts.map +1 -1
  207. package/lib/util/event.js +5 -3
  208. package/lib/util/event.js.map +1 -1
  209. package/lib/util/garbage-collected-cache.d.ts +2 -1
  210. package/lib/util/garbage-collected-cache.d.ts.map +1 -1
  211. package/lib/util/garbage-collected-cache.js +12 -3
  212. package/lib/util/garbage-collected-cache.js.map +1 -1
  213. package/lib/util/generate-workspace-id.d.ts +6 -1
  214. package/lib/util/generate-workspace-id.d.ts.map +1 -1
  215. package/lib/util/generate-workspace-id.js +461 -440
  216. package/lib/util/generate-workspace-id.js.map +1 -1
  217. package/lib/util/generate-workspace-id.spec.d.ts +1 -1
  218. package/lib/util/generate-workspace-id.spec.js +37 -2
  219. package/lib/util/generate-workspace-id.spec.js.map +1 -1
  220. package/lib/util/gitpod-cookie.d.ts +2 -2
  221. package/lib/util/gitpod-cookie.d.ts.map +1 -1
  222. package/lib/util/gitpod-cookie.js +1 -4
  223. package/lib/util/gitpod-cookie.js.map +1 -1
  224. package/lib/util/gitpod-host-url.d.ts +6 -2
  225. package/lib/util/gitpod-host-url.d.ts.map +1 -1
  226. package/lib/util/gitpod-host-url.js +61 -37
  227. package/lib/util/gitpod-host-url.js.map +1 -1
  228. package/lib/util/gitpod-host-url.spec.d.ts +1 -1
  229. package/lib/util/gitpod-host-url.spec.d.ts.map +1 -1
  230. package/lib/util/gitpod-host-url.spec.js +16 -6
  231. package/lib/util/gitpod-host-url.spec.js.map +1 -1
  232. package/lib/util/grpc.d.ts +21 -1
  233. package/lib/util/grpc.d.ts.map +1 -1
  234. package/lib/util/grpc.js +74 -2
  235. package/lib/util/grpc.js.map +1 -1
  236. package/lib/util/jaeger-client-types.d.ts +68 -0
  237. package/lib/util/jaeger-client-types.d.ts.map +1 -0
  238. package/lib/{theia-plugins.js → util/jaeger-client-types.js} +2 -2
  239. package/lib/util/jaeger-client-types.js.map +1 -0
  240. package/lib/util/logging.d.ts +2 -2
  241. package/lib/util/logging.d.ts.map +1 -1
  242. package/lib/util/logging.js +32 -26
  243. package/lib/util/logging.js.map +1 -1
  244. package/lib/util/logging.spec.d.ts +7 -0
  245. package/lib/util/logging.spec.d.ts.map +1 -0
  246. package/lib/util/logging.spec.js +52 -0
  247. package/lib/util/logging.spec.js.map +1 -0
  248. package/lib/util/make-link.d.ts +1 -1
  249. package/lib/util/make-link.js +6 -6
  250. package/lib/util/make-link.js.map +1 -1
  251. package/lib/util/nice-grpc.d.ts +9 -0
  252. package/lib/util/nice-grpc.d.ts.map +1 -0
  253. package/lib/util/nice-grpc.js +121 -0
  254. package/lib/util/nice-grpc.js.map +1 -0
  255. package/lib/util/parse-workspace-id.d.ts +1 -1
  256. package/lib/util/parse-workspace-id.d.ts.map +1 -1
  257. package/lib/util/parse-workspace-id.js +3 -4
  258. package/lib/util/parse-workspace-id.js.map +1 -1
  259. package/lib/util/parse-workspace-id.spec.d.ts +1 -1
  260. package/lib/util/parse-workspace-id.spec.d.ts.map +1 -1
  261. package/lib/util/parse-workspace-id.spec.js +1 -1
  262. package/lib/util/parse-workspace-id.spec.js.map +1 -1
  263. package/lib/util/queue.d.ts +1 -1
  264. package/lib/util/queue.js +1 -1
  265. package/lib/util/queue.spec.d.ts +1 -1
  266. package/lib/util/queue.spec.js +10 -7
  267. package/lib/util/queue.spec.js.map +1 -1
  268. package/lib/util/repeat.d.ts +15 -0
  269. package/lib/util/repeat.d.ts.map +1 -0
  270. package/lib/util/repeat.js +55 -0
  271. package/lib/util/repeat.js.map +1 -0
  272. package/lib/util/semaphore.d.ts +1 -1
  273. package/lib/util/semaphore.d.ts.map +1 -1
  274. package/lib/util/semaphore.js +1 -1
  275. package/lib/util/semaphore.js.map +1 -1
  276. package/lib/util/skip-if.d.ts +1 -1
  277. package/lib/util/skip-if.d.ts.map +1 -1
  278. package/lib/util/skip-if.js +1 -1
  279. package/lib/util/skip-if.js.map +1 -1
  280. package/lib/util/timeutil.d.ts +3 -1
  281. package/lib/util/timeutil.d.ts.map +1 -1
  282. package/lib/util/timeutil.js +16 -4
  283. package/lib/util/timeutil.js.map +1 -1
  284. package/lib/util/timeutil.spec.d.ts +3 -1
  285. package/lib/util/timeutil.spec.d.ts.map +1 -1
  286. package/lib/util/timeutil.spec.js +35 -1
  287. package/lib/util/timeutil.spec.js.map +1 -1
  288. package/lib/util/tracing.d.ts +53 -7
  289. package/lib/util/tracing.d.ts.map +1 -1
  290. package/lib/util/tracing.js +157 -20
  291. package/lib/util/tracing.js.map +1 -1
  292. package/lib/util/tracing.spec.d.ts +7 -0
  293. package/lib/util/tracing.spec.d.ts.map +1 -0
  294. package/lib/util/tracing.spec.js +121 -0
  295. package/lib/util/tracing.spec.js.map +1 -0
  296. package/lib/util/workspace-port-authentication.d.ts +8 -8
  297. package/lib/util/workspace-port-authentication.d.ts.map +1 -1
  298. package/lib/util/workspace-port-authentication.js +9 -12
  299. package/lib/util/workspace-port-authentication.js.map +1 -1
  300. package/lib/webhook-event.d.ts +44 -0
  301. package/lib/webhook-event.d.ts.map +1 -0
  302. package/lib/webhook-event.js +8 -0
  303. package/lib/webhook-event.js.map +1 -0
  304. package/lib/workspace-class.d.ts +14 -0
  305. package/lib/workspace-class.d.ts.map +1 -0
  306. package/lib/workspace-class.js +8 -0
  307. package/lib/workspace-class.js.map +1 -0
  308. package/lib/workspace-cluster.d.ts +19 -18
  309. package/lib/workspace-cluster.d.ts.map +1 -1
  310. package/lib/workspace-cluster.js +17 -2
  311. package/lib/workspace-cluster.js.map +1 -1
  312. package/lib/workspace-instance.d.ts +41 -4
  313. package/lib/workspace-instance.d.ts.map +1 -1
  314. package/lib/workspace-instance.js +1 -1
  315. package/lib/wsready.d.ts +8 -2
  316. package/lib/wsready.d.ts.map +1 -1
  317. package/lib/wsready.js +3 -3
  318. package/package.json +18 -8
  319. package/pkg-yarn.lock +11 -6
  320. package/provenance-bundle.jsonl +2 -0
  321. package/src/accounting-protocol.ts +67 -52
  322. package/src/admin-protocol.ts +59 -19
  323. package/src/analytics.ts +27 -29
  324. package/src/attribution.ts +63 -0
  325. package/src/auth.ts +3 -3
  326. package/src/billing-mode.ts +84 -0
  327. package/src/blocked-repositories-protocol.ts +13 -0
  328. package/src/context-url.spec.ts +25 -15
  329. package/src/context-url.ts +93 -37
  330. package/src/encryption/container-module.ts +3 -4
  331. package/src/encryption/encryption-engine.spec.ts +10 -9
  332. package/src/encryption/encryption-engine.ts +21 -17
  333. package/src/encryption/encryption-service.ts +5 -6
  334. package/src/encryption/key-provider.ts +17 -20
  335. package/src/env.ts +2 -25
  336. package/src/experiments/always-default.ts +24 -0
  337. package/src/experiments/configcat-server.ts +42 -0
  338. package/src/experiments/configcat.ts +56 -0
  339. package/src/experiments/types.ts +34 -0
  340. package/src/gitpod-file-parser.spec.ts +56 -62
  341. package/src/gitpod-file-parser.ts +17 -18
  342. package/src/gitpod-service.ts +241 -134
  343. package/src/headless-workspace-log.ts +7 -5
  344. package/src/ide-frontend-service.ts +3 -3
  345. package/src/ide-protocol.ts +147 -0
  346. package/src/index.ts +17 -15
  347. package/src/installation-admin-protocol.ts +45 -0
  348. package/src/license-protocol.ts +13 -7
  349. package/src/messaging/browser/connection.ts +45 -47
  350. package/src/messaging/browser/window-connection.ts +40 -30
  351. package/src/messaging/client-call-metrics.ts +79 -82
  352. package/src/messaging/error.ts +33 -8
  353. package/src/messaging/handler.ts +6 -6
  354. package/src/messaging/node/connection.ts +23 -70
  355. package/src/messaging/proxy-factory.ts +23 -30
  356. package/src/oss-allowlist.ts +15 -0
  357. package/src/payment-protocol.ts +3 -3
  358. package/src/permission.ts +41 -33
  359. package/src/plans.ts +241 -190
  360. package/src/protocol.spec.ts +97 -0
  361. package/src/protocol.ts +557 -297
  362. package/src/snapshot-url.spec.ts +10 -8
  363. package/src/snapshot-url.ts +1 -1
  364. package/src/team-subscription-protocol.ts +60 -23
  365. package/src/teams-projects-protocol.ts +51 -12
  366. package/src/typings/globals.ts +5 -5
  367. package/src/usage.ts +85 -0
  368. package/src/util/analytics.ts +47 -25
  369. package/src/util/async-iterator.ts +5 -6
  370. package/src/util/cancelable.ts +4 -4
  371. package/src/util/date-time.ts +9 -9
  372. package/src/util/debug-app.ts +81 -0
  373. package/src/util/deep-partial.ts +1 -1
  374. package/src/util/deferred.ts +7 -7
  375. package/src/util/disposable.ts +3 -6
  376. package/src/util/event.ts +9 -11
  377. package/src/util/garbage-collected-cache.ts +15 -7
  378. package/src/util/generate-workspace-id.spec.ts +35 -8
  379. package/src/util/generate-workspace-id.ts +465 -441
  380. package/src/util/gitpod-cookie.ts +9 -10
  381. package/src/util/gitpod-host-url.spec.ts +41 -14
  382. package/src/util/gitpod-host-url.ts +70 -42
  383. package/src/util/grpc.ts +94 -2
  384. package/src/util/jaeger-client-types.ts +102 -0
  385. package/src/util/logging.spec.ts +23 -0
  386. package/src/util/logging.ts +61 -43
  387. package/src/util/make-link.ts +7 -8
  388. package/src/util/nice-grpc.ts +96 -0
  389. package/src/util/parse-workspace-id.spec.ts +18 -9
  390. package/src/util/parse-workspace-id.ts +7 -8
  391. package/src/util/queue.spec.ts +28 -26
  392. package/src/util/queue.ts +1 -1
  393. package/src/util/repeat.ts +45 -0
  394. package/src/util/semaphore.ts +5 -7
  395. package/src/util/skip-if.ts +10 -7
  396. package/src/util/timeutil.spec.ts +41 -15
  397. package/src/util/timeutil.ts +28 -12
  398. package/src/util/tracing.spec.ts +88 -0
  399. package/src/util/tracing.ts +201 -32
  400. package/src/util/workspace-port-authentication.ts +11 -14
  401. package/src/webhook-event.ts +55 -0
  402. package/src/workspace-class.ts +14 -0
  403. package/src/workspace-cluster.ts +35 -21
  404. package/src/workspace-instance.ts +83 -21
  405. package/src/wsready.ts +11 -4
  406. package/data/builtin-theia-plugins.json +0 -372
  407. package/lib/email-protocol.d.ts +0 -49
  408. package/lib/email-protocol.d.ts.map +0 -1
  409. package/lib/email-protocol.js +0 -28
  410. package/lib/email-protocol.js.map +0 -1
  411. package/lib/messaging/connection-error-handler.d.ts +0 -27
  412. package/lib/messaging/connection-error-handler.d.ts.map +0 -1
  413. package/lib/messaging/connection-error-handler.js +0 -34
  414. package/lib/messaging/connection-error-handler.js.map +0 -1
  415. package/lib/theia-plugins.d.ts +0 -11
  416. package/lib/theia-plugins.d.ts.map +0 -1
  417. package/lib/theia-plugins.js.map +0 -1
  418. package/lib/util/repeater.d.ts +0 -22
  419. package/lib/util/repeater.d.ts.map +0 -1
  420. package/lib/util/repeater.js +0 -65
  421. package/lib/util/repeater.js.map +0 -1
  422. package/lib/util/safe-promise.d.ts +0 -11
  423. package/lib/util/safe-promise.d.ts.map +0 -1
  424. package/lib/util/safe-promise.js +0 -31
  425. package/lib/util/safe-promise.js.map +0 -1
  426. package/src/email-protocol.ts +0 -66
  427. package/src/messaging/connection-error-handler.ts +0 -62
  428. package/src/theia-plugins.ts +0 -11
  429. package/src/util/jaeger-client.d.ts +0 -105
  430. package/src/util/repeater.ts +0 -49
  431. package/src/util/safe-promise.ts +0 -26
@@ -1,372 +0,0 @@
1
- [
2
- {
3
- "loc": "vscode.bat-1.44.2.vsix",
4
- "name": "vscode.bat@1.44.2",
5
- "url": "https://open-vsx.org/api/vscode/bat/1.44.2/file/vscode.bat-1.44.2.vsix"
6
- },
7
- {
8
- "loc": "vscode.clojure-1.44.2.vsix",
9
- "name": "vscode.clojure@1.44.2",
10
- "url": "https://open-vsx.org/api/vscode/clojure/1.44.2/file/vscode.clojure-1.44.2.vsix"
11
- },
12
- {
13
- "loc": "vscode.coffeescript-1.44.2.vsix",
14
- "name": "vscode.coffeescript@1.44.2",
15
- "url": "https://open-vsx.org/api/vscode/coffeescript/1.44.2/file/vscode.coffeescript-1.44.2.vsix"
16
- },
17
- {
18
- "loc": "vscode.cpp-1.44.2.vsix",
19
- "name": "vscode.cpp@1.44.2",
20
- "url": "https://open-vsx.org/api/vscode/cpp/1.44.2/file/vscode.cpp-1.44.2.vsix"
21
- },
22
- {
23
- "loc": "vscode.csharp-1.44.2.vsix",
24
- "name": "vscode.csharp@1.44.2",
25
- "url": "https://open-vsx.org/api/vscode/csharp/1.44.2/file/vscode.csharp-1.44.2.vsix"
26
- },
27
- {
28
- "loc": "llvm-vs-code-extensions.vscode-clangd-0.1.5.vsix",
29
- "name": "llvm-vs-code-extensions.vscode-clangd@0.1.5",
30
- "url": "https://open-vsx.org/api/llvm-vs-code-extensions/vscode-clangd/0.1.5/file/llvm-vs-code-extensions.vscode-clangd-0.1.5.vsix"
31
- },
32
- {
33
- "loc": "vscode.css-1.51.1.vsix",
34
- "name": "vscode.css@1.51.1",
35
- "url": "https://open-vsx.org/api/vscode/css/1.51.1/file/vscode.css-1.51.1.vsix"
36
- },
37
- {
38
- "loc": "vscode.css-language-features-1.51.1.vsix",
39
- "name": "vscode.css-language-features@1.51.1",
40
- "url": "https://open-vsx.org/api/vscode/css-language-features/1.51.1/file/vscode.css-language-features-1.51.1.vsix"
41
- },
42
- {
43
- "loc": "vscode.debug-auto-launch-1.44.2.vsix",
44
- "name": "vscode.debug-auto-launch@1.44.2",
45
- "url": "https://open-vsx.org/api/vscode/debug-auto-launch/1.44.2/file/vscode.debug-auto-launch-1.44.2.vsix"
46
- },
47
- {
48
- "loc": "vscode.emmet-1.44.2.vsix",
49
- "name": "vscode.emmet@1.44.2",
50
- "url": "https://open-vsx.org/api/vscode/emmet/1.44.2/file/vscode.emmet-1.44.2.vsix"
51
- },
52
- {
53
- "loc": "vscode.fsharp-1.44.2.vsix",
54
- "name": "vscode.fsharp@1.44.2",
55
- "url": "https://open-vsx.org/api/vscode/fsharp/1.44.2/file/vscode.fsharp-1.44.2.vsix"
56
- },
57
- {
58
- "loc": "vscode.go-1.44.2.vsix",
59
- "name": "vscode.go@1.44.2",
60
- "url": "https://open-vsx.org/api/vscode/go/1.44.2/file/vscode.go-1.44.2.vsix"
61
- },
62
- {
63
- "loc": "vscode.groovy-1.44.2.vsix",
64
- "name": "vscode.groovy@1.44.2",
65
- "url": "https://open-vsx.org/api/vscode/groovy/1.44.2/file/vscode.groovy-1.44.2.vsix"
66
- },
67
- {
68
- "loc": "vscode.handlebars-1.44.2.vsix",
69
- "name": "vscode.handlebars@1.44.2",
70
- "url": "https://open-vsx.org/api/vscode/handlebars/1.44.2/file/vscode.handlebars-1.44.2.vsix"
71
- },
72
- {
73
- "loc": "vscode.hlsl-1.44.2.vsix",
74
- "name": "vscode.hlsl@1.44.2",
75
- "url": "https://open-vsx.org/api/vscode/hlsl/1.44.2/file/vscode.hlsl-1.44.2.vsix"
76
- },
77
- {
78
- "loc": "vscode.html-1.51.1.vsix",
79
- "name": "vscode.html@1.51.1",
80
- "url": "https://open-vsx.org/api/vscode/html/1.51.1/file/vscode.html-1.51.1.vsix"
81
- },
82
- {
83
- "loc": "vscode.html-language-features-1.51.1.vsix",
84
- "name": "vscode.html-language-features@1.51.1",
85
- "url": "https://open-vsx.org/api/vscode/html-language-features/1.51.1/file/vscode.html-language-features-1.51.1.vsix"
86
- },
87
- {
88
- "loc": "vscode.ini-1.44.2.vsix",
89
- "name": "vscode.ini@1.44.2",
90
- "url": "https://open-vsx.org/api/vscode/ini/1.44.2/file/vscode.ini-1.44.2.vsix"
91
- },
92
- {
93
- "loc": "vscode.java-1.53.2.vsix",
94
- "name": "vscode.java@1.53.2",
95
- "url": "https://open-vsx.org/api/vscode/java/1.53.2/file/vscode.java-1.53.2.vsix"
96
- },
97
- {
98
- "loc": "vscode.javascript-1.44.2.vsix",
99
- "name": "vscode.javascript@1.44.2",
100
- "url": "https://open-vsx.org/api/vscode/javascript/1.44.2/file/vscode.javascript-1.44.2.vsix"
101
- },
102
- {
103
- "loc": "vscode.json-1.44.2.vsix",
104
- "name": "vscode.json@1.44.2",
105
- "url": "https://open-vsx.org/api/vscode/json/1.44.2/file/vscode.json-1.44.2.vsix"
106
- },
107
- {
108
- "loc": "vscode.json-language-features-1.46.1.vsix",
109
- "name": "vscode.json-language-features@1.46.1",
110
- "url": "https://open-vsx.org/api/vscode/json-language-features/1.46.1/file/vscode.json-language-features-1.46.1.vsix"
111
- },
112
- {
113
- "loc": "vscode.less-1.44.2.vsix",
114
- "name": "vscode.less@1.44.2",
115
- "url": "https://open-vsx.org/api/vscode/less/1.44.2/file/vscode.less-1.44.2.vsix"
116
- },
117
- {
118
- "loc": "vscode.log-1.44.2.vsix",
119
- "name": "vscode.log@1.44.2",
120
- "url": "https://open-vsx.org/api/vscode/log/1.44.2/file/vscode.log-1.44.2.vsix"
121
- },
122
- {
123
- "loc": "vscode.lua-1.44.2.vsix",
124
- "name": "vscode.lua@1.44.2",
125
- "url": "https://open-vsx.org/api/vscode/lua/1.44.2/file/vscode.lua-1.44.2.vsix"
126
- },
127
- {
128
- "loc": "vscode.make-1.44.2.vsix",
129
- "name": "vscode.make@1.44.2",
130
- "url": "https://open-vsx.org/api/vscode/make/1.44.2/file/vscode.make-1.44.2.vsix"
131
- },
132
- {
133
- "loc": "vscode.markdown-1.44.2.vsix",
134
- "name": "vscode.markdown@1.44.2",
135
- "url": "https://open-vsx.org/api/vscode/markdown/1.44.2/file/vscode.markdown-1.44.2.vsix"
136
- },
137
- {
138
- "loc": "vscode.npm-1.39.1.vsix",
139
- "name": "vscode.npm@1.39.1",
140
- "url": "https://open-vsx.org/api/vscode/npm/1.39.1/file/vscode.npm-1.39.1.vsix"
141
- },
142
- {
143
- "loc": "vscode.objective-c-1.44.2.vsix",
144
- "name": "vscode.objective-c@1.44.2",
145
- "url": "https://open-vsx.org/api/vscode/objective-c/1.44.2/file/vscode.objective-c-1.44.2.vsix"
146
- },
147
- {
148
- "loc": "vscode.perl-1.44.2.vsix",
149
- "name": "vscode.perl@1.44.2",
150
- "url": "https://open-vsx.org/api/vscode/perl/1.44.2/file/vscode.perl-1.44.2.vsix"
151
- },
152
- {
153
- "loc": "vscode.php-1.44.2.vsix",
154
- "name": "vscode.php@1.44.2",
155
- "url": "https://open-vsx.org/api/vscode/php/1.44.2/file/vscode.php-1.44.2.vsix"
156
- },
157
- {
158
- "loc": "vscode.powershell-1.44.2.vsix",
159
- "name": "vscode.powershell@1.44.2",
160
- "url": "https://open-vsx.org/api/vscode/powershell/1.44.2/file/vscode.powershell-1.44.2.vsix"
161
- },
162
- {
163
- "loc": "vscode.pug-1.44.2.vsix",
164
- "name": "vscode.pug@1.44.2",
165
- "url": "https://open-vsx.org/api/vscode/pug/1.44.2/file/vscode.pug-1.44.2.vsix"
166
- },
167
- {
168
- "loc": "vscode.python-1.47.3.vsix",
169
- "name": "vscode.python@1.47.3",
170
- "url": "https://open-vsx.org/api/vscode/python/1.47.3/file/vscode.python-1.47.3.vsix"
171
- },
172
- {
173
- "loc": "vscode.r-1.44.2.vsix",
174
- "name": "vscode.r@1.44.2",
175
- "url": "https://open-vsx.org/api/vscode/r/1.44.2/file/vscode.r-1.44.2.vsix"
176
- },
177
- {
178
- "loc": "vscode.razor-1.44.2.vsix",
179
- "name": "vscode.razor@1.44.2",
180
- "url": "https://open-vsx.org/api/vscode/razor/1.44.2/file/vscode.razor-1.44.2.vsix"
181
- },
182
- {
183
- "loc": "vscode.ruby-1.44.2.vsix",
184
- "name": "vscode.ruby@1.44.2",
185
- "url": "https://open-vsx.org/api/vscode/ruby/1.44.2/file/vscode.ruby-1.44.2.vsix"
186
- },
187
- {
188
- "loc": "vscode.rust-1.44.2.vsix",
189
- "name": "vscode.rust@1.44.2",
190
- "url": "https://open-vsx.org/api/vscode/rust/1.44.2/file/vscode.rust-1.44.2.vsix"
191
- },
192
- {
193
- "loc": "vscode.scss-1.44.2.vsix",
194
- "name": "vscode.scss@1.44.2",
195
- "url": "https://open-vsx.org/api/vscode/scss/1.44.2/file/vscode.scss-1.44.2.vsix"
196
- },
197
- {
198
- "loc": "vscode.shaderlab-1.44.2.vsix",
199
- "name": "vscode.shaderlab@1.44.2",
200
- "url": "https://open-vsx.org/api/vscode/shaderlab/1.44.2/file/vscode.shaderlab-1.44.2.vsix"
201
- },
202
- {
203
- "loc": "vscode.shellscript-1.44.2.vsix",
204
- "name": "vscode.shellscript@1.44.2",
205
- "url": "https://open-vsx.org/api/vscode/shellscript/1.44.2/file/vscode.shellscript-1.44.2.vsix"
206
- },
207
- {
208
- "loc": "vscode.sql-1.44.2.vsix",
209
- "name": "vscode.sql@1.44.2",
210
- "url": "https://open-vsx.org/api/vscode/sql/1.44.2/file/vscode.sql-1.44.2.vsix"
211
- },
212
- {
213
- "loc": "vscode.swift-1.44.2.vsix",
214
- "name": "vscode.swift@1.44.2",
215
- "url": "https://open-vsx.org/api/vscode/swift/1.44.2/file/vscode.swift-1.44.2.vsix"
216
- },
217
- {
218
- "loc": "vscode.typescript-1.44.2.vsix",
219
- "name": "vscode.typescript@1.44.2",
220
- "url": "https://open-vsx.org/api/vscode/typescript/1.44.2/file/vscode.typescript-1.44.2.vsix"
221
- },
222
- {
223
- "loc": "vscode.typescript-language-features-1.44.2.vsix",
224
- "name": "vscode.typescript-language-features@1.44.2",
225
- "url": "https://open-vsx.org/api/vscode/typescript-language-features/1.44.2/file/vscode.typescript-language-features-1.44.2.vsix"
226
- },
227
- {
228
- "loc": "vscode.vb-1.44.2.vsix",
229
- "name": "vscode.vb@1.44.2",
230
- "url": "https://open-vsx.org/api/vscode/vb/1.44.2/file/vscode.vb-1.44.2.vsix"
231
- },
232
- {
233
- "loc": "vscode.xml-1.44.2.vsix",
234
- "name": "vscode.xml@1.44.2",
235
- "url": "https://open-vsx.org/api/vscode/xml/1.44.2/file/vscode.xml-1.44.2.vsix"
236
- },
237
- {
238
- "loc": "vscode.yaml-1.44.2.vsix",
239
- "name": "vscode.yaml@1.44.2",
240
- "url": "https://open-vsx.org/api/vscode/yaml/1.44.2/file/vscode.yaml-1.44.2.vsix"
241
- },
242
- {
243
- "loc": "redhat.java-0.75.0.vsix",
244
- "name": "redhat.java@0.75.0",
245
- "url": "https://open-vsx.org/api/redhat/java/0.75.0/file/redhat.java-0.75.0.vsix"
246
- },
247
- {
248
- "loc": "vscjava.vscode-java-debug-0.27.1.vsix",
249
- "name": "vscjava.vscode-java-debug@0.27.1",
250
- "url": "https://open-vsx.org/api/vscjava/vscode-java-debug/0.27.1/file/vscjava.vscode-java-debug-0.27.1.vsix"
251
- },
252
- {
253
- "loc": "vscjava.vscode-java-dependency-0.18.0.vsix",
254
- "name": "vscjava.vscode-java-dependency@0.18.0",
255
- "url": "https://open-vsx.org/api/vscjava/vscode-java-dependency/0.18.0/file/vscjava.vscode-java-dependency-0.18.0.vsix"
256
- },
257
- {
258
- "loc": "ms-vscode.node-debug-1.38.4.vsix",
259
- "name": "ms-vscode.node-debug@1.38.4",
260
- "url": "https://open-vsx.org/api/ms-vscode/node-debug/1.38.4/file/ms-vscode.node-debug-1.38.4.vsix"
261
- },
262
- {
263
- "loc": "ms-vscode.node-debug2-1.33.0.vsix",
264
- "name": "ms-vscode.node-debug2@1.33.0",
265
- "url": "https://open-vsx.org/api/ms-vscode/node-debug2/1.33.0/file/ms-vscode.node-debug2-1.33.0.vsix"
266
- },
267
- {
268
- "loc": "ms-python.python-2020.7.96456.vsix",
269
- "name": "ms-python.python@2020.7.96456",
270
- "url": "https://open-vsx.org/api/ms-python/python/2020.7.96456/file/ms-python.python-2020.7.96456.vsix"
271
- },
272
- {
273
- "loc": "golang.Go-0.14.4.vsix",
274
- "name": "golang.Go@0.14.4",
275
- "url": "https://open-vsx.org/api/golang/Go/0.14.4/file/golang.Go-0.14.4.vsix"
276
- },
277
- {
278
- "loc": "redhat.vscode-xml-0.11.0.vsix",
279
- "name": "redhat.vscode-xml@0.11.0",
280
- "url": "https://open-vsx.org/api/redhat/vscode-xml/0.11.0/file/redhat.vscode-xml-0.11.0.vsix"
281
- },
282
- {
283
- "loc": "redhat.vscode-yaml-0.8.0.vsix",
284
- "name": "redhat.vscode-yaml@0.8.0",
285
- "url": "https://open-vsx.org/api/redhat/vscode-yaml/0.8.0/file/redhat.vscode-yaml-0.8.0.vsix"
286
- },
287
- {
288
- "loc": "bmewburn.vscode-intelephense-client-1.4.0.vsix",
289
- "name": "bmewburn.vscode-intelephense-client@1.4.0",
290
- "url": "https://open-vsx.org/api/bmewburn/vscode-intelephense-client/1.4.0/file/bmewburn.vscode-intelephense-client-1.4.0.vsix"
291
- },
292
- {
293
- "loc": "felixfbecker.php-debug-1.13.0.vsix",
294
- "name": "felixfbecker.php-debug@1.13.0",
295
- "url": "https://open-vsx.org/api/felixfbecker/php-debug/1.13.0/file/felixfbecker.php-debug-1.13.0.vsix"
296
- },
297
- {
298
- "loc": "rust-lang.rust-0.7.8.vsix",
299
- "name": "rust-lang.rust@0.7.8",
300
- "url": "https://open-vsx.org/api/rust-lang/rust/0.7.8/file/rust-lang.rust-0.7.8.vsix"
301
- },
302
- {
303
- "loc": "vscode.theme-abyss-1.44.2.vsix",
304
- "name": "vscode.theme-abyss@1.44.2",
305
- "url": "https://open-vsx.org/api/vscode/theme-abyss/1.44.2/file/vscode.theme-abyss-1.44.2.vsix"
306
- },
307
- {
308
- "loc": "vscode.theme-kimbie-dark-1.44.2.vsix",
309
- "name": "vscode.theme-kimbie-dark@1.44.2",
310
- "url": "https://open-vsx.org/api/vscode/theme-kimbie-dark/1.44.2/file/vscode.theme-kimbie-dark-1.44.2.vsix"
311
- },
312
- {
313
- "loc": "vscode.theme-monokai-1.44.2.vsix",
314
- "name": "vscode.theme-monokai@1.44.2",
315
- "url": "https://open-vsx.org/api/vscode/theme-monokai/1.44.2/file/vscode.theme-monokai-1.44.2.vsix"
316
- },
317
- {
318
- "loc": "vscode.theme-monokai-dimmed-1.44.2.vsix",
319
- "name": "vscode.theme-monokai-dimmed@1.44.2",
320
- "url": "https://open-vsx.org/api/vscode/theme-monokai-dimmed/1.44.2/file/vscode.theme-monokai-dimmed-1.44.2.vsix"
321
- },
322
- {
323
- "loc": "vscode.theme-quietlight-1.44.2.vsix",
324
- "name": "vscode.theme-quietlight@1.44.2",
325
- "url": "https://open-vsx.org/api/vscode/theme-quietlight/1.44.2/file/vscode.theme-quietlight-1.44.2.vsix"
326
- },
327
- {
328
- "loc": "vscode.theme-red-1.44.2.vsix",
329
- "name": "vscode.theme-red@1.44.2",
330
- "url": "https://open-vsx.org/api/vscode/theme-red/1.44.2/file/vscode.theme-red-1.44.2.vsix"
331
- },
332
- {
333
- "loc": "vscode.theme-solarized-dark-1.44.2.vsix",
334
- "name": "vscode.theme-solarized-dark@1.44.2",
335
- "url": "https://open-vsx.org/api/vscode/theme-solarized-dark/1.44.2/file/vscode.theme-solarized-dark-1.44.2.vsix"
336
- },
337
- {
338
- "loc": "vscode.theme-solarized-light-1.44.2.vsix",
339
- "name": "vscode.theme-solarized-light@1.44.2",
340
- "url": "https://open-vsx.org/api/vscode/theme-solarized-light/1.44.2/file/vscode.theme-solarized-light-1.44.2.vsix"
341
- },
342
- {
343
- "loc": "vscode.theme-tomorrow-night-blue-1.44.2.vsix",
344
- "name": "vscode.theme-tomorrow-night-blue@1.44.2",
345
- "url": "https://open-vsx.org/api/vscode/theme-tomorrow-night-blue/1.44.2/file/vscode.theme-tomorrow-night-blue-1.44.2.vsix"
346
- },
347
- {
348
- "loc": "vscode.vscode-theme-seti-1.44.2.vsix",
349
- "name": "vscode.vscode-theme-seti@1.44.2",
350
- "url": "https://open-vsx.org/api/vscode/vscode-theme-seti/1.44.2/file/vscode.vscode-theme-seti-1.44.2.vsix"
351
- },
352
- {
353
- "loc": "vscode.merge-conflict-1.44.2.vsix",
354
- "name": "vscode.merge-conflict@1.44.2",
355
- "url": "https://open-vsx.org/api/vscode/merge-conflict/1.44.2/file/vscode.merge-conflict-1.44.2.vsix"
356
- },
357
- {
358
- "loc": "references-view-0.0.47.vsix",
359
- "name": "ms-vscode.references-view@0.0.47",
360
- "url": "https://open-vsx.org/api/ms-vscode/references-view/0.0.47/file/ms-vscode.references-view-0.0.47.vsix"
361
- },
362
- {
363
- "loc": "EditorConfig.EditorConfig-0.15.1.vsix",
364
- "name": "EditorConfig.EditorConfig@0.15.1",
365
- "url": "https://open-vsx.org/api/EditorConfig/EditorConfig/0.15.1/file/EditorConfig.EditorConfig-0.15.1.vsix"
366
- },
367
- {
368
- "loc": "vscode.docker-1.47.3.vsix",
369
- "name": "vscode.docker@1.47.3",
370
- "url": "https://open-vsx.org/api/vscode/docker/1.47.3/file/vscode.docker-1.47.3.vsix"
371
- }
372
- ]
@@ -1,49 +0,0 @@
1
- /**
2
- * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
3
- * Licensed under the GNU Affero General Public License (AGPL).
4
- * See License-AGPL.txt in the project root for license information.
5
- */
6
- export declare type EMailState = "scheduledInternal" | "scheduledSendgrid";
7
- export interface EMailStatus {
8
- /** The time the email entry was inserted into the DB */
9
- scheduledInternalTime: string;
10
- /** The time the email state transitioned to "scheduledSendgrid" */
11
- scheduledSendgridTime?: string;
12
- /** In case of any errors during sending with Sendgrid it gets noted here */
13
- error?: string;
14
- }
15
- export declare namespace EMailStatus {
16
- function getState(status: EMailStatus): EMailState;
17
- }
18
- export interface EmailAddress {
19
- name?: string;
20
- email: string;
21
- }
22
- export interface EMailParameters {
23
- /** undefined means default from template */
24
- subject?: string;
25
- /** The sender address */
26
- senderAddress: string | EmailAddress;
27
- /** The replyTo address */
28
- replyToAddress?: string | EmailAddress;
29
- /** The SendGrid template id */
30
- templateId: string;
31
- /** The parameters for the SendGrid template */
32
- templateParams: {};
33
- }
34
- export declare type EMail = {
35
- /** The unique id of this email (uuid/v4 for now) */
36
- uid: string;
37
- /** The id of the user this email was sent to */
38
- userId: string;
39
- /** The address this email was sent to */
40
- recipientAddress: string;
41
- /** Which campaign scheduled this email */
42
- campaignId: string;
43
- /** The parameters this email was sent with (template id, template params, etc) */
44
- params: EMailParameters;
45
- } & EMailStatus;
46
- export declare namespace EMail {
47
- const create: (ts: Omit<EMail, 'uid'>) => EMail;
48
- }
49
- //# sourceMappingURL=email-protocol.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"email-protocol.d.ts","sourceRoot":"","sources":["../src/email-protocol.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,oBAAY,UAAU,GAAG,mBAAmB,GACtC,mBAAmB,CAAC;AAE1B,MAAM,WAAW,WAAW;IACxB,wDAAwD;IACxD,qBAAqB,EAAE,MAAM,CAAC;IAC9B,mEAAmE;IACnE,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,4EAA4E;IAC5E,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AACD,yBAAiB,WAAW,CAAC;IACzB,SAAgB,QAAQ,CAAC,MAAM,EAAE,WAAW,GAAG,UAAU,CAKxD;CACJ;AAED,MAAM,WAAW,YAAY;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,eAAe;IAC5B,4CAA4C;IAC5C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,yBAAyB;IACzB,aAAa,EAAE,MAAM,GAAG,YAAY,CAAC;IACrC,0BAA0B;IAC1B,cAAc,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC;IACvC,+BAA+B;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,+CAA+C;IAC/C,cAAc,EAAE,EAAE,CAAC;CACtB;AAED,oBAAY,KAAK,GAAG;IAChB,oDAAoD;IACpD,GAAG,EAAE,MAAM,CAAC;IACZ,gDAAgD;IAChD,MAAM,EAAE,MAAM,CAAC;IACf,yCAAyC;IACzC,gBAAgB,EAAE,MAAM,CAAC;IACzB,2CAA2C;IAC3C,UAAU,EAAE,MAAM,CAAC;IACnB,kFAAkF;IAClF,MAAM,EAAE,eAAe,CAAC;CAC3B,GAAG,WAAW,CAAC;AAEhB,yBAAiB,KAAK,CAAC;IACZ,MAAM,MAAM,OAAQ,KAAK,KAAK,EAAE,KAAK,CAAC,KAAG,KAI/C,CAAA;CACJ"}
@@ -1,28 +0,0 @@
1
- "use strict";
2
- /**
3
- * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
4
- * Licensed under the GNU Affero General Public License (AGPL).
5
- * See License-AGPL.txt in the project root for license information.
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.EMail = exports.EMailStatus = void 0;
9
- const uuid_1 = require("uuid");
10
- var EMailStatus;
11
- (function (EMailStatus) {
12
- function getState(status) {
13
- if (status.scheduledSendgridTime) {
14
- return "scheduledSendgrid";
15
- }
16
- return "scheduledInternal";
17
- }
18
- EMailStatus.getState = getState;
19
- })(EMailStatus = exports.EMailStatus || (exports.EMailStatus = {}));
20
- var EMail;
21
- (function (EMail) {
22
- EMail.create = (ts) => {
23
- const withId = ts;
24
- withId.uid = (0, uuid_1.v4)();
25
- return withId;
26
- };
27
- })(EMail = exports.EMail || (exports.EMail = {}));
28
- //# sourceMappingURL=email-protocol.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"email-protocol.js","sourceRoot":"","sources":["../src/email-protocol.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,+BAAoC;AAapC,IAAiB,WAAW,CAO3B;AAPD,WAAiB,WAAW;IACxB,SAAgB,QAAQ,CAAC,MAAmB;QACxC,IAAI,MAAM,CAAC,qBAAqB,EAAE;YAC9B,OAAO,mBAAmB,CAAC;SAC9B;QACD,OAAO,mBAAmB,CAAC;IAC/B,CAAC;IALe,oBAAQ,WAKvB,CAAA;AACL,CAAC,EAPgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAO3B;AAiCD,IAAiB,KAAK,CAMrB;AAND,WAAiB,KAAK;IACL,YAAM,GAAG,CAAC,EAAsB,EAAS,EAAE;QACpD,MAAM,MAAM,GAAG,EAAW,CAAC;QAC3B,MAAM,CAAC,GAAG,GAAG,IAAA,SAAM,GAAE,CAAC;QACtB,OAAO,MAAM,CAAC;IAClB,CAAC,CAAA;AACL,CAAC,EANgB,KAAK,GAAL,aAAK,KAAL,aAAK,QAMrB"}
@@ -1,27 +0,0 @@
1
- import { Message } from "vscode-jsonrpc";
2
- export interface ResolvedConnectionErrorHandlerOptions {
3
- readonly serverName: string;
4
- /**
5
- * The maximum amount of errors allowed before stopping the server.
6
- */
7
- readonly maxErrors: number;
8
- /**
9
- * The maimum amount of restarts allowed in the restart interval.
10
- */
11
- readonly maxRestarts: number;
12
- /**
13
- * In minutes.
14
- */
15
- readonly restartInterval: number;
16
- }
17
- export declare type ConnectionErrorHandlerOptions = Partial<ResolvedConnectionErrorHandlerOptions> & {
18
- readonly serverName: string;
19
- };
20
- export declare class ConnectionErrorHandler {
21
- protected readonly options: ResolvedConnectionErrorHandlerOptions;
22
- constructor(options: ConnectionErrorHandlerOptions);
23
- shouldStop(error: Error, message?: Message, count?: number): boolean;
24
- protected readonly restarts: number[];
25
- shouldRestart(): boolean;
26
- }
27
- //# sourceMappingURL=connection-error-handler.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"connection-error-handler.d.ts","sourceRoot":"","sources":["../../src/messaging/connection-error-handler.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAGzC,MAAM,WAAW,qCAAqC;IAClD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;IAC5B;;OAEG;IACH,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAA;CACnC;AAED,oBAAY,6BAA6B,GAAG,OAAO,CAAC,qCAAqC,CAAC,GAAG;IACzF,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;CAC9B,CAAC;AAEF,qBAAa,sBAAsB;IAE/B,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,qCAAqC,CAAC;gBACtD,OAAO,EAAE,6BAA6B;IASlD,UAAU,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO;IAIpE,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,CAAM;IAC3C,aAAa,IAAI,OAAO;CAc3B"}
@@ -1,34 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright (C) 2017 TypeFox and others.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
7
- */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.ConnectionErrorHandler = void 0;
10
- const logging_1 = require("../util/logging");
11
- class ConnectionErrorHandler {
12
- constructor(options) {
13
- this.restarts = [];
14
- this.options = Object.assign({ maxErrors: 3, maxRestarts: 5, restartInterval: 3 }, options);
15
- }
16
- shouldStop(error, message, count) {
17
- return !count || count > this.options.maxErrors;
18
- }
19
- shouldRestart() {
20
- this.restarts.push(Date.now());
21
- if (this.restarts.length <= this.options.maxRestarts) {
22
- return true;
23
- }
24
- const diff = this.restarts[this.restarts.length - 1] - this.restarts[0];
25
- if (diff <= this.options.restartInterval * 60 * 1000) {
26
- logging_1.log.error(`Server ${this.options.serverName} crashed ${this.options.maxRestarts} times in the last ${this.options.restartInterval} minutes. Will not restart`);
27
- return false;
28
- }
29
- this.restarts.shift();
30
- return true;
31
- }
32
- }
33
- exports.ConnectionErrorHandler = ConnectionErrorHandler;
34
- //# sourceMappingURL=connection-error-handler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"connection-error-handler.js","sourceRoot":"","sources":["../../src/messaging/connection-error-handler.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAGH,6CAAsC;AAsBtC,MAAa,sBAAsB;IAG/B,YAAY,OAAsC;QAa/B,aAAQ,GAAa,EAAE,CAAC;QAZvC,IAAI,CAAC,OAAO,mBACR,SAAS,EAAE,CAAC,EACZ,WAAW,EAAE,CAAC,EACd,eAAe,EAAE,CAAC,IACf,OAAO,CACb,CAAC;IACN,CAAC;IAED,UAAU,CAAC,KAAY,EAAE,OAAiB,EAAE,KAAc;QACtD,OAAO,CAAC,KAAK,IAAI,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC;IACpD,CAAC;IAGD,aAAa;QACT,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;QAC/B,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,IAAI,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE;YAClD,OAAO,IAAI,CAAC;SACf;QACD,MAAM,IAAI,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;QACxE,IAAI,IAAI,IAAI,IAAI,CAAC,OAAO,CAAC,eAAe,GAAG,EAAE,GAAG,IAAI,EAAE;YAClD,aAAG,CAAC,KAAK,CAAC,UAAU,IAAI,CAAC,OAAO,CAAC,UAAU,YAAY,IAAI,CAAC,OAAO,CAAC,WAAW,sBAAsB,IAAI,CAAC,OAAO,CAAC,eAAe,4BAA4B,CAAC,CAAC;YAC/J,OAAO,KAAK,CAAC;SAChB;QACD,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;CAEJ;AA/BD,wDA+BC"}
@@ -1,11 +0,0 @@
1
- /**
2
- * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
3
- * Licensed under the GNU Affero General Public License (AGPL).
4
- * See License-AGPL.txt in the project root for license information.
5
- */
6
- export interface PluginIndexEntry {
7
- loc: string;
8
- name: string;
9
- url: string;
10
- }
11
- //# sourceMappingURL=theia-plugins.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"theia-plugins.d.ts","sourceRoot":"","sources":["../src/theia-plugins.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,gBAAgB;IAC7B,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;CACd"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"theia-plugins.js","sourceRoot":"","sources":["../src/theia-plugins.ts"],"names":[],"mappings":";AAAA;;;;GAIG"}
@@ -1,22 +0,0 @@
1
- /**
2
- * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
3
- * Licensed under the GNU Affero General Public License (AGPL).
4
- * See License-AGPL.txt in the project root for license information.
5
- */
6
- import { Deferred } from "./deferred";
7
- /**
8
- * Repeats a given function until it is stopped
9
- */
10
- export declare class Repeater {
11
- protected readonly fn: () => Promise<void> | void;
12
- protected readonly timeout: number;
13
- protected shouldRun: boolean;
14
- protected finished: Deferred<void>;
15
- protected timer?: any;
16
- constructor(fn: () => Promise<void> | void, timeout: number);
17
- start(): Promise<void>;
18
- run(): Promise<void>;
19
- protected sleep(timeout: number): Promise<unknown>;
20
- stop(): Promise<void>;
21
- }
22
- //# sourceMappingURL=repeater.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"repeater.d.ts","sourceRoot":"","sources":["../../src/util/repeater.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC;;GAEG;AACH,qBAAa,QAAQ;IAKL,SAAS,CAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI;IAAE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,MAAM;IAJjG,SAAS,CAAC,SAAS,EAAE,OAAO,CAAC;IAC7B,SAAS,CAAC,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAA;IAClC,SAAS,CAAC,KAAK,CAAC,EAAE,GAAG,CAAC;gBAES,EAAE,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,EAAqB,OAAO,EAAE,MAAM;IAE3F,KAAK;IAIL,GAAG;cAcO,KAAK,CAAC,OAAO,EAAE,MAAM;IAI/B,IAAI;CAOb"}
@@ -1,65 +0,0 @@
1
- "use strict";
2
- /**
3
- * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
4
- * Licensed under the GNU Affero General Public License (AGPL).
5
- * See License-AGPL.txt in the project root for license information.
6
- */
7
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
8
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
9
- return new (P || (P = Promise))(function (resolve, reject) {
10
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
11
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
12
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
13
- step((generator = generator.apply(thisArg, _arguments || [])).next());
14
- });
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.Repeater = void 0;
18
- const deferred_1 = require("./deferred");
19
- const logging_1 = require("./logging");
20
- /**
21
- * Repeats a given function until it is stopped
22
- */
23
- class Repeater {
24
- constructor(fn, timeout) {
25
- this.fn = fn;
26
- this.timeout = timeout;
27
- }
28
- start() {
29
- return __awaiter(this, void 0, void 0, function* () {
30
- this.run();
31
- });
32
- }
33
- run() {
34
- return __awaiter(this, void 0, void 0, function* () {
35
- this.shouldRun = true;
36
- this.finished = new deferred_1.Deferred();
37
- while (this.shouldRun) {
38
- try {
39
- yield this.fn();
40
- }
41
- catch (err) {
42
- logging_1.log.error(err);
43
- }
44
- yield this.sleep(this.timeout);
45
- }
46
- this.finished.resolve();
47
- });
48
- }
49
- sleep(timeout) {
50
- return __awaiter(this, void 0, void 0, function* () {
51
- return new Promise(resolve => this.timer = setTimeout(resolve, timeout));
52
- });
53
- }
54
- stop() {
55
- return __awaiter(this, void 0, void 0, function* () {
56
- this.shouldRun = false;
57
- if (this.timer) {
58
- clearTimeout(this.timer);
59
- }
60
- return this.finished.promise;
61
- });
62
- }
63
- }
64
- exports.Repeater = Repeater;
65
- //# sourceMappingURL=repeater.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"repeater.js","sourceRoot":"","sources":["../../src/util/repeater.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;AAEH,yCAAsC;AACtC,uCAAgC;AAEhC;;GAEG;AACH,MAAa,QAAQ;IAKjB,YAA+B,EAA8B,EAAqB,OAAe;QAAlE,OAAE,GAAF,EAAE,CAA4B;QAAqB,YAAO,GAAP,OAAO,CAAQ;IAAI,CAAC;IAEhG,KAAK;;YACP,IAAI,CAAC,GAAG,EAAE,CAAC;QACf,CAAC;KAAA;IAEK,GAAG;;YACL,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;YACtB,IAAI,CAAC,QAAQ,GAAG,IAAI,mBAAQ,EAAQ,CAAC;YACrC,OAAO,IAAI,CAAC,SAAS,EAAE;gBACnB,IAAI;oBACA,MAAM,IAAI,CAAC,EAAE,EAAE,CAAC;iBACnB;gBAAC,OAAO,GAAG,EAAE;oBACV,aAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;iBAClB;gBACD,MAAM,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;aAClC;YACD,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC;QAC5B,CAAC;KAAA;IAEe,KAAK,CAAC,OAAe;;YACjC,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;QAC7E,CAAC;KAAA;IAEK,IAAI;;YACN,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;YACvB,IAAI,IAAI,CAAC,KAAK,EAAE;gBACZ,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aAC5B;YACD,OAAO,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC;QACjC,CAAC;KAAA;CACJ;AApCD,4BAoCC"}
@@ -1,11 +0,0 @@
1
- /**
2
- * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
3
- * Licensed under the GNU Affero General Public License (AGPL).
4
- * See License-AGPL.txt in the project root for license information.
5
- */
6
- import { LogContext } from './logging';
7
- export declare class SafePromise {
8
- static catchAndLog<T>(p: Promise<T>, logCtx?: LogContext): Promise<T>;
9
- static catch<T>(p: Promise<T>, handler: (err: any) => void): Promise<T>;
10
- }
11
- //# sourceMappingURL=safe-promise.d.ts.map