@gitpod/gitpod-protocol 0.1.5-vn-jetbrains-backend-plugin-223.6 → 0.1.5-wk-inte-test-20230117000019.1

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 (290) hide show
  1. package/data/gitpod-schema.json +16 -0
  2. package/lib/accounting-protocol.d.ts +1 -1
  3. package/lib/accounting-protocol.js +1 -1
  4. package/lib/admin-protocol.d.ts +11 -2
  5. package/lib/admin-protocol.d.ts.map +1 -1
  6. package/lib/admin-protocol.js +1 -1
  7. package/lib/admin-protocol.js.map +1 -1
  8. package/lib/analytics.d.ts +1 -1
  9. package/lib/analytics.js +1 -1
  10. package/lib/attribution.d.ts +5 -1
  11. package/lib/attribution.d.ts.map +1 -1
  12. package/lib/attribution.js +15 -1
  13. package/lib/attribution.js.map +1 -1
  14. package/lib/auth.d.ts +1 -1
  15. package/lib/auth.js +1 -1
  16. package/lib/billing-mode.d.ts +5 -1
  17. package/lib/billing-mode.d.ts.map +1 -1
  18. package/lib/billing-mode.js +1 -1
  19. package/lib/blocked-repositories-protocol.d.ts +1 -1
  20. package/lib/blocked-repositories-protocol.js +1 -1
  21. package/lib/context-url.d.ts +1 -2
  22. package/lib/context-url.d.ts.map +1 -1
  23. package/lib/context-url.js +1 -3
  24. package/lib/context-url.js.map +1 -1
  25. package/lib/context-url.spec.d.ts +1 -3
  26. package/lib/context-url.spec.d.ts.map +1 -1
  27. package/lib/context-url.spec.js +1 -29
  28. package/lib/context-url.spec.js.map +1 -1
  29. package/lib/encryption/container-module.d.ts +1 -1
  30. package/lib/encryption/container-module.js +1 -1
  31. package/lib/encryption/encryption-engine.d.ts +1 -1
  32. package/lib/encryption/encryption-engine.js +1 -1
  33. package/lib/encryption/encryption-engine.spec.d.ts +1 -1
  34. package/lib/encryption/encryption-engine.spec.js +1 -1
  35. package/lib/encryption/encryption-service.d.ts +1 -1
  36. package/lib/encryption/encryption-service.js +1 -1
  37. package/lib/encryption/key-provider.d.ts +1 -1
  38. package/lib/encryption/key-provider.js +1 -1
  39. package/lib/env.d.ts +1 -1
  40. package/lib/env.d.ts.map +1 -1
  41. package/lib/env.js +1 -1
  42. package/lib/env.js.map +1 -1
  43. package/lib/experiments/always-default.d.ts +1 -1
  44. package/lib/experiments/configcat-server.d.ts +1 -1
  45. package/lib/experiments/configcat-server.d.ts.map +1 -1
  46. package/lib/experiments/configcat-server.js +2 -1
  47. package/lib/experiments/configcat-server.js.map +1 -1
  48. package/lib/experiments/configcat.d.ts +1 -3
  49. package/lib/experiments/configcat.d.ts.map +1 -1
  50. package/lib/experiments/configcat.js +2 -8
  51. package/lib/experiments/configcat.js.map +1 -1
  52. package/lib/experiments/types.d.ts +1 -3
  53. package/lib/experiments/types.d.ts.map +1 -1
  54. package/lib/experiments/types.js +1 -1
  55. package/lib/experiments/types.js.map +1 -1
  56. package/lib/frontend-dashboard-service.d.ts +85 -0
  57. package/lib/frontend-dashboard-service.d.ts.map +1 -0
  58. package/lib/frontend-dashboard-service.js +32 -0
  59. package/lib/frontend-dashboard-service.js.map +1 -0
  60. package/lib/gitpod-file-parser.d.ts +1 -1
  61. package/lib/gitpod-file-parser.js +1 -1
  62. package/lib/gitpod-file-parser.spec.d.ts +1 -1
  63. package/lib/gitpod-file-parser.spec.js +1 -1
  64. package/lib/gitpod-service.d.ts +17 -22
  65. package/lib/gitpod-service.d.ts.map +1 -1
  66. package/lib/gitpod-service.js +1 -1
  67. package/lib/gitpod-service.js.map +1 -1
  68. package/lib/headless-workspace-log.d.ts +1 -1
  69. package/lib/headless-workspace-log.js +1 -1
  70. package/lib/ide-frontend-service.d.ts +1 -1
  71. package/lib/ide-frontend-service.js +1 -1
  72. package/lib/ide-protocol.d.ts +15 -2
  73. package/lib/ide-protocol.d.ts.map +1 -1
  74. package/lib/ide-protocol.js +11 -1
  75. package/lib/ide-protocol.js.map +1 -1
  76. package/lib/index.d.ts +1 -1
  77. package/lib/index.js +1 -1
  78. package/lib/installation-admin-protocol.d.ts +1 -1
  79. package/lib/installation-admin-protocol.js +1 -1
  80. package/lib/license-protocol.d.ts +1 -1
  81. package/lib/license-protocol.js +1 -1
  82. package/lib/messaging/browser/window-connection.d.ts +1 -1
  83. package/lib/messaging/browser/window-connection.js +1 -1
  84. package/lib/messaging/client-call-metrics.d.ts +3 -1
  85. package/lib/messaging/client-call-metrics.d.ts.map +1 -1
  86. package/lib/messaging/client-call-metrics.js +14 -1
  87. package/lib/messaging/client-call-metrics.js.map +1 -1
  88. package/lib/messaging/error.d.ts +3 -1
  89. package/lib/messaging/error.d.ts.map +1 -1
  90. package/lib/messaging/error.js +5 -1
  91. package/lib/messaging/error.js.map +1 -1
  92. package/lib/oss-allowlist.d.ts +1 -1
  93. package/lib/oss-allowlist.js +1 -1
  94. package/lib/payment-protocol.d.ts +1 -1
  95. package/lib/payment-protocol.js +1 -1
  96. package/lib/permission.d.ts +1 -1
  97. package/lib/permission.js +1 -1
  98. package/lib/plans.d.ts +1 -1
  99. package/lib/plans.js +3 -3
  100. package/lib/plans.js.map +1 -1
  101. package/lib/protocol.d.ts +22 -37
  102. package/lib/protocol.d.ts.map +1 -1
  103. package/lib/protocol.js +11 -19
  104. package/lib/protocol.js.map +1 -1
  105. package/lib/protocol.spec.d.ts +1 -1
  106. package/lib/protocol.spec.js +1 -1
  107. package/lib/snapshot-url.d.ts +1 -1
  108. package/lib/snapshot-url.js +1 -1
  109. package/lib/snapshot-url.spec.d.ts +1 -1
  110. package/lib/snapshot-url.spec.js +1 -1
  111. package/lib/team-subscription-protocol.d.ts +1 -1
  112. package/lib/team-subscription-protocol.js +1 -1
  113. package/lib/teams-projects-protocol.d.ts +9 -3
  114. package/lib/teams-projects-protocol.d.ts.map +1 -1
  115. package/lib/teams-projects-protocol.js +9 -2
  116. package/lib/teams-projects-protocol.js.map +1 -1
  117. package/lib/typings/globals.d.ts +2 -1
  118. package/lib/typings/globals.d.ts.map +1 -1
  119. package/lib/typings/globals.js +1 -1
  120. package/lib/usage.d.ts +13 -1
  121. package/lib/usage.d.ts.map +1 -1
  122. package/lib/usage.js +8 -2
  123. package/lib/usage.js.map +1 -1
  124. package/lib/util/analytics.d.ts +1 -1
  125. package/lib/util/analytics.js +1 -1
  126. package/lib/util/async-iterator.d.ts +1 -1
  127. package/lib/util/async-iterator.js +1 -1
  128. package/lib/util/cancelable.d.ts +1 -1
  129. package/lib/util/cancelable.js +1 -1
  130. package/lib/util/date-time.d.ts +1 -1
  131. package/lib/util/date-time.js +1 -1
  132. package/lib/util/debug-app.d.ts +1 -1
  133. package/lib/util/debug-app.js +1 -1
  134. package/lib/util/deep-partial.d.ts +1 -1
  135. package/lib/util/deep-partial.js +1 -1
  136. package/lib/util/deferred.d.ts +1 -1
  137. package/lib/util/deferred.js +1 -1
  138. package/lib/util/garbage-collected-cache.d.ts +1 -1
  139. package/lib/util/garbage-collected-cache.js +1 -1
  140. package/lib/util/generate-workspace-id.d.ts +1 -1
  141. package/lib/util/generate-workspace-id.js +1 -1
  142. package/lib/util/generate-workspace-id.spec.d.ts +1 -1
  143. package/lib/util/generate-workspace-id.spec.js +1 -1
  144. package/lib/util/gitpod-cookie.d.ts +1 -1
  145. package/lib/util/gitpod-cookie.js +1 -1
  146. package/lib/util/gitpod-host-url.d.ts +9 -3
  147. package/lib/util/gitpod-host-url.d.ts.map +1 -1
  148. package/lib/util/gitpod-host-url.js +22 -8
  149. package/lib/util/gitpod-host-url.js.map +1 -1
  150. package/lib/util/gitpod-host-url.spec.d.ts +1 -1
  151. package/lib/util/gitpod-host-url.spec.js +1 -1
  152. package/lib/util/grpc.d.ts +2 -1
  153. package/lib/util/grpc.d.ts.map +1 -1
  154. package/lib/util/grpc.js +1 -1
  155. package/lib/util/grpc.js.map +1 -1
  156. package/lib/util/jaeger-client-types.d.ts +1 -1
  157. package/lib/util/jaeger-client-types.js +1 -1
  158. package/lib/util/logging.d.ts +1 -1
  159. package/lib/util/logging.js +1 -1
  160. package/lib/util/logging.spec.d.ts +1 -1
  161. package/lib/util/logging.spec.js +1 -1
  162. package/lib/util/make-link.d.ts +1 -1
  163. package/lib/util/make-link.js +1 -1
  164. package/lib/util/nice-grpc.d.ts +9 -0
  165. package/lib/util/nice-grpc.d.ts.map +1 -0
  166. package/lib/util/nice-grpc.js +121 -0
  167. package/lib/util/nice-grpc.js.map +1 -0
  168. package/lib/util/parse-workspace-id.d.ts +1 -1
  169. package/lib/util/parse-workspace-id.js +1 -1
  170. package/lib/util/parse-workspace-id.spec.d.ts +1 -1
  171. package/lib/util/parse-workspace-id.spec.js +1 -1
  172. package/lib/util/queue.d.ts +1 -1
  173. package/lib/util/queue.js +1 -1
  174. package/lib/util/queue.spec.d.ts +1 -1
  175. package/lib/util/queue.spec.js +1 -1
  176. package/lib/util/repeat.d.ts +1 -1
  177. package/lib/util/repeat.js +1 -1
  178. package/lib/util/semaphore.d.ts +1 -1
  179. package/lib/util/semaphore.js +1 -1
  180. package/lib/util/skip-if.d.ts +1 -1
  181. package/lib/util/skip-if.js +1 -1
  182. package/lib/util/timeutil.d.ts +1 -1
  183. package/lib/util/timeutil.js +1 -1
  184. package/lib/util/timeutil.spec.d.ts +1 -1
  185. package/lib/util/timeutil.spec.js +1 -1
  186. package/lib/util/tracing.d.ts +1 -1
  187. package/lib/util/tracing.js +1 -1
  188. package/lib/util/tracing.spec.d.ts +1 -1
  189. package/lib/util/tracing.spec.js +1 -1
  190. package/lib/util/workspace-port-authentication.d.ts +1 -1
  191. package/lib/util/workspace-port-authentication.js +1 -1
  192. package/lib/webhook-event.d.ts +1 -1
  193. package/lib/webhook-event.js +1 -1
  194. package/lib/workspace-class.d.ts +2 -2
  195. package/lib/workspace-class.d.ts.map +1 -1
  196. package/lib/workspace-class.js +1 -1
  197. package/lib/workspace-cluster.d.ts +7 -6
  198. package/lib/workspace-cluster.d.ts.map +1 -1
  199. package/lib/workspace-cluster.js +1 -1
  200. package/lib/workspace-cluster.js.map +1 -1
  201. package/lib/workspace-instance.d.ts +2 -1
  202. package/lib/workspace-instance.d.ts.map +1 -1
  203. package/lib/workspace-instance.js +1 -1
  204. package/lib/wsready.d.ts +10 -4
  205. package/lib/wsready.d.ts.map +1 -1
  206. package/lib/wsready.js +3 -1
  207. package/lib/wsready.js.map +1 -1
  208. package/package.json +3 -1
  209. package/pkg-yarn.lock +3 -1
  210. package/provenance-bundle.jsonl +1 -1
  211. package/src/accounting-protocol.ts +1 -1
  212. package/src/admin-protocol.ts +15 -2
  213. package/src/analytics.ts +1 -1
  214. package/src/attribution.ts +16 -1
  215. package/src/auth.ts +1 -1
  216. package/src/billing-mode.ts +8 -1
  217. package/src/blocked-repositories-protocol.ts +1 -1
  218. package/src/context-url.spec.ts +1 -19
  219. package/src/context-url.ts +1 -3
  220. package/src/encryption/container-module.ts +1 -1
  221. package/src/encryption/encryption-engine.spec.ts +1 -1
  222. package/src/encryption/encryption-engine.ts +1 -1
  223. package/src/encryption/encryption-service.ts +1 -1
  224. package/src/encryption/key-provider.ts +1 -1
  225. package/src/env.ts +2 -3
  226. package/src/experiments/always-default.ts +1 -1
  227. package/src/experiments/configcat-server.ts +2 -1
  228. package/src/experiments/configcat.ts +1 -7
  229. package/src/experiments/types.ts +1 -5
  230. package/src/frontend-dashboard-service.ts +109 -0
  231. package/src/gitpod-file-parser.spec.ts +1 -1
  232. package/src/gitpod-file-parser.ts +1 -1
  233. package/src/gitpod-service.ts +20 -26
  234. package/src/headless-workspace-log.ts +1 -1
  235. package/src/ide-frontend-service.ts +1 -1
  236. package/src/ide-protocol.ts +20 -2
  237. package/src/index.ts +1 -1
  238. package/src/installation-admin-protocol.ts +1 -1
  239. package/src/license-protocol.ts +1 -1
  240. package/src/messaging/browser/window-connection.ts +1 -1
  241. package/src/messaging/client-call-metrics.ts +18 -1
  242. package/src/messaging/error.ts +7 -1
  243. package/src/oss-allowlist.ts +1 -1
  244. package/src/payment-protocol.ts +1 -1
  245. package/src/permission.ts +1 -1
  246. package/src/plans.ts +3 -3
  247. package/src/protocol.spec.ts +1 -1
  248. package/src/protocol.ts +30 -49
  249. package/src/snapshot-url.spec.ts +1 -1
  250. package/src/snapshot-url.ts +1 -1
  251. package/src/team-subscription-protocol.ts +1 -1
  252. package/src/teams-projects-protocol.ts +15 -4
  253. package/src/typings/globals.ts +3 -1
  254. package/src/usage.ts +15 -1
  255. package/src/util/analytics.ts +1 -1
  256. package/src/util/async-iterator.ts +1 -1
  257. package/src/util/cancelable.ts +1 -1
  258. package/src/util/date-time.ts +1 -1
  259. package/src/util/debug-app.ts +1 -1
  260. package/src/util/deep-partial.ts +1 -1
  261. package/src/util/deferred.ts +1 -1
  262. package/src/util/garbage-collected-cache.ts +1 -1
  263. package/src/util/generate-workspace-id.spec.ts +1 -1
  264. package/src/util/generate-workspace-id.ts +1 -1
  265. package/src/util/gitpod-cookie.ts +1 -1
  266. package/src/util/gitpod-host-url.spec.ts +1 -1
  267. package/src/util/gitpod-host-url.ts +27 -8
  268. package/src/util/grpc.ts +4 -1
  269. package/src/util/jaeger-client-types.ts +1 -1
  270. package/src/util/logging.spec.ts +1 -1
  271. package/src/util/logging.ts +1 -1
  272. package/src/util/make-link.ts +1 -1
  273. package/src/util/nice-grpc.ts +96 -0
  274. package/src/util/parse-workspace-id.spec.ts +1 -1
  275. package/src/util/parse-workspace-id.ts +1 -1
  276. package/src/util/queue.spec.ts +1 -1
  277. package/src/util/queue.ts +1 -1
  278. package/src/util/repeat.ts +1 -1
  279. package/src/util/semaphore.ts +1 -1
  280. package/src/util/skip-if.ts +1 -1
  281. package/src/util/timeutil.spec.ts +1 -1
  282. package/src/util/timeutil.ts +1 -1
  283. package/src/util/tracing.spec.ts +1 -1
  284. package/src/util/tracing.ts +1 -1
  285. package/src/util/workspace-port-authentication.ts +1 -1
  286. package/src/webhook-event.ts +1 -1
  287. package/src/workspace-class.ts +2 -2
  288. package/src/workspace-cluster.ts +12 -7
  289. package/src/workspace-instance.ts +7 -1
  290. package/src/wsready.ts +12 -6
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
3
3
  * Licensed under the GNU Affero General Public License (AGPL).
4
- * See License-AGPL.txt in the project root for license information.
4
+ * See License.AGPL.txt in the project root for license information.
5
5
  */
6
6
  /**
7
7
  * Hostname may be of the form:
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
4
4
  * Licensed under the GNU Affero General Public License (AGPL).
5
- * See License-AGPL.txt in the project root for license information.
5
+ * See License.AGPL.txt in the project root for license information.
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.matchesNewWorkspaceIdExactly = exports.matchesInstanceIdOrLegacyWorkspaceIdExactly = exports.parseWorkspaceIdFromHostname = void 0;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
3
3
  * Licensed under the GNU Affero General Public License (AGPL).
4
- * See License-AGPL.txt in the project root for license information.
4
+ * See License.AGPL.txt in the project root for license information.
5
5
  */
6
6
  export declare class ParseWorkspaceIdTest {
7
7
  parseWorkspaceIdFromHostname_fromWorkspaceLocation(): void;
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
4
4
  * Licensed under the GNU Affero General Public License (AGPL).
5
- * See License-AGPL.txt in the project root for license information.
5
+ * See License.AGPL.txt in the project root for license information.
6
6
  */
7
7
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
8
8
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
3
3
  * Licensed under the GNU Affero General Public License (AGPL).
4
- * See License-AGPL.txt in the project root for license information.
4
+ * See License.AGPL.txt in the project root for license information.
5
5
  */
6
6
  /**
7
7
  * Queues asynchronous operations in a synchronous context
package/lib/util/queue.js CHANGED
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
4
4
  * Licensed under the GNU Affero General Public License (AGPL).
5
- * See License-AGPL.txt in the project root for license information.
5
+ * See License.AGPL.txt in the project root for license information.
6
6
  */
7
7
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
8
8
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
3
3
  * Licensed under the GNU Affero General Public License (AGPL).
4
- * See License-AGPL.txt in the project root for license information.
4
+ * See License.AGPL.txt in the project root for license information.
5
5
  */
6
6
  export {};
7
7
  //# sourceMappingURL=queue.spec.d.ts.map
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
4
4
  * Licensed under the GNU Affero General Public License (AGPL).
5
- * See License-AGPL.txt in the project root for license information.
5
+ * See License.AGPL.txt in the project root for license information.
6
6
  */
7
7
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
8
8
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Copyright (c) 2021 Gitpod GmbH. All rights reserved.
3
3
  * Licensed under the GNU Affero General Public License (AGPL).
4
- * See License-AGPL.txt in the project root for license information.
4
+ * See License.AGPL.txt in the project root for license information.
5
5
  */
6
6
  import { Disposable } from "..";
7
7
  /**
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * Copyright (c) 2021 Gitpod GmbH. All rights reserved.
4
4
  * Licensed under the GNU Affero General Public License (AGPL).
5
- * See License-AGPL.txt in the project root for license information.
5
+ * See License.AGPL.txt in the project root for license information.
6
6
  */
7
7
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
8
8
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
3
3
  * Licensed under the GNU Affero General Public License (AGPL).
4
- * See License-AGPL.txt in the project root for license information.
4
+ * See License.AGPL.txt in the project root for license information.
5
5
  */
6
6
  export declare class Semaphore {
7
7
  protected readonly capacity: number;
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
4
4
  * Licensed under the GNU Affero General Public License (AGPL).
5
- * See License-AGPL.txt in the project root for license information.
5
+ * See License.AGPL.txt in the project root for license information.
6
6
  */
7
7
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
8
8
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
3
3
  * Licensed under the GNU Affero General Public License (AGPL).
4
- * See License-AGPL.txt in the project root for license information.
4
+ * See License.AGPL.txt in the project root for license information.
5
5
  */
6
6
  /// <reference types="mocha" />
7
7
  /**
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
4
4
  * Licensed under the GNU Affero General Public License (AGPL).
5
- * See License-AGPL.txt in the project root for license information.
5
+ * See License.AGPL.txt in the project root for license information.
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.skipIfEnvVarNotSet = exports.skipIf = void 0;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
3
3
  * Licensed under the GNU Affero General Public License (AGPL).
4
- * See License-AGPL.txt in the project root for license information.
4
+ * See License.AGPL.txt in the project root for license information.
5
5
  */
6
6
  /**
7
7
  * Returns the <code>day</code>th of the next month from <code>formDate</code>.
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
4
4
  * Licensed under the GNU Affero General Public License (AGPL).
5
- * See License-AGPL.txt in the project root for license information.
5
+ * See License.AGPL.txt in the project root for license information.
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.hoursToMilliseconds = exports.millisecondsToHours = exports.rightBefore = exports.rightAfter = exports.secondsBefore = exports.hoursLater = exports.hoursBefore = exports.daysBefore = exports.liftDate = exports.liftDate1 = exports.orderAsc = exports.earliest = exports.oldest = exports.isDateSmaller = exports.isDateSmallerOrEqual = exports.isDateGreaterOrEqual = exports.durationInMillis = exports.durationInHours = exports.addMillis = exports.yearsLater = exports.oneMonthLater = void 0;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
3
3
  * Licensed under the GNU Affero General Public License (AGPL).
4
- * See License-AGPL.txt in the project root for license information.
4
+ * See License.AGPL.txt in the project root for license information.
5
5
  */
6
6
  export declare class TimeutilSpec {
7
7
  testDaysBefore(): void;
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
4
4
  * Licensed under the GNU Affero General Public License (AGPL).
5
- * See License-AGPL.txt in the project root for license information.
5
+ * See License.AGPL.txt in the project root for license information.
6
6
  */
7
7
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
8
8
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
3
3
  * Licensed under the GNU Affero General Public License (AGPL).
4
- * See License-AGPL.txt in the project root for license information.
4
+ * See License.AGPL.txt in the project root for license information.
5
5
  */
6
6
  import * as opentracing from "opentracing";
7
7
  import { Sampler, SamplingDecision } from "./jaeger-client-types";
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
4
4
  * Licensed under the GNU Affero General Public License (AGPL).
5
- * See License-AGPL.txt in the project root for license information.
5
+ * See License.AGPL.txt in the project root for license information.
6
6
  */
7
7
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
8
8
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Copyright (c) 2021 Gitpod GmbH. All rights reserved.
3
3
  * Licensed under the GNU Affero General Public License (AGPL).
4
- * See License-AGPL.txt in the project root for license information.
4
+ * See License.AGPL.txt in the project root for license information.
5
5
  */
6
6
  export {};
7
7
  //# sourceMappingURL=tracing.spec.d.ts.map
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * Copyright (c) 2021 Gitpod GmbH. All rights reserved.
4
4
  * Licensed under the GNU Affero General Public License (AGPL).
5
- * See License-AGPL.txt in the project root for license information.
5
+ * See License.AGPL.txt in the project root for license information.
6
6
  */
7
7
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
8
8
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
3
3
  * Licensed under the GNU Affero General Public License (AGPL).
4
- * See License-AGPL.txt in the project root for license information.
4
+ * See License.AGPL.txt in the project root for license information.
5
5
  */
6
6
  /**
7
7
  * These cookies are set in the Theia frontend. This pattern is relied upon in:
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
4
4
  * Licensed under the GNU Affero General Public License (AGPL).
5
- * See License-AGPL.txt in the project root for license information.
5
+ * See License.AGPL.txt in the project root for license information.
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.worspacePortAuthCookieName = void 0;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Copyright (c) 2022 Gitpod GmbH. All rights reserved.
3
3
  * Licensed under the GNU Affero General Public License (AGPL).
4
- * See License-AGPL.txt in the project root for license information.
4
+ * See License.AGPL.txt in the project root for license information.
5
5
  */
6
6
  export interface WebhookEvent {
7
7
  id: string;
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * Copyright (c) 2022 Gitpod GmbH. All rights reserved.
4
4
  * Licensed under the GNU Affero General Public License (AGPL).
5
- * See License-AGPL.txt in the project root for license information.
5
+ * See License.AGPL.txt in the project root for license information.
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  //# sourceMappingURL=webhook-event.js.map
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Copyright (c) 2022 Gitpod GmbH. All rights reserved.
3
3
  * Licensed under the GNU Affero General Public License (AGPL).
4
- * See License-AGPL.txt in the project root for license information.
4
+ * See License.AGPL.txt in the project root for license information.
5
5
  */
6
6
  export interface SupportedWorkspaceClass {
7
7
  id: string;
@@ -9,6 +9,6 @@ export interface SupportedWorkspaceClass {
9
9
  displayName: string;
10
10
  description: string;
11
11
  powerups: number;
12
- isSelected: boolean;
12
+ isDefault: boolean;
13
13
  }
14
14
  //# sourceMappingURL=workspace-class.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"workspace-class.d.ts","sourceRoot":"","sources":["../src/workspace-class.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,uBAAuB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;CACvB"}
1
+ {"version":3,"file":"workspace-class.d.ts","sourceRoot":"","sources":["../src/workspace-class.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,uBAAuB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;CACtB"}
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * Copyright (c) 2022 Gitpod GmbH. All rights reserved.
4
4
  * Licensed under the GNU Affero General Public License (AGPL).
5
- * See License-AGPL.txt in the project root for license information.
5
+ * See License.AGPL.txt in the project root for license information.
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  //# sourceMappingURL=workspace-class.js.map
@@ -1,12 +1,13 @@
1
1
  /**
2
2
  * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
3
3
  * Licensed under the GNU Affero General Public License (AGPL).
4
- * See License-AGPL.txt in the project root for license information.
4
+ * See License.AGPL.txt in the project root for license information.
5
5
  */
6
6
  import { DeepPartial } from "./util/deep-partial";
7
7
  import { PermissionName } from "./permission";
8
8
  export interface WorkspaceCluster {
9
9
  name: string;
10
+ applicationCluster: string;
10
11
  url: string;
11
12
  tls?: TLSConfig;
12
13
  state: WorkspaceClusterState;
@@ -56,19 +57,19 @@ export interface WorkspaceClusterDB {
56
57
  * Deletes the cluster identified by this name, if any.
57
58
  * @param name
58
59
  */
59
- deleteByName(name: string): Promise<void>;
60
+ deleteByName(name: string, applicationCluster: string): Promise<void>;
60
61
  /**
61
62
  * Finds a WorkspaceCluster with the given name. If there is none, `undefined` is returned.
62
63
  * @param name
63
64
  */
64
- findByName(name: string): Promise<WorkspaceCluster | undefined>;
65
+ findByName(name: string, applicationCluster: string): Promise<WorkspaceCluster | undefined>;
65
66
  /**
66
67
  * Lists all WorkspaceClusterWoTls for which the given predicate is true (does not return TLS for size/speed concerns)
67
68
  * @param predicate
68
69
  */
69
- findFiltered(predicate: DeepPartial<WorkspaceClusterFilter>): Promise<WorkspaceClusterWoTLS[]>;
70
+ findFiltered(predicate: WorkspaceClusterFilter): Promise<WorkspaceClusterWoTLS[]>;
70
71
  }
71
- export interface WorkspaceClusterFilter extends Pick<WorkspaceCluster, "state" | "govern" | "url"> {
72
+ export declare type WorkspaceClusterFilter = Pick<WorkspaceCluster, "applicationCluster"> & DeepPartial<Pick<WorkspaceCluster, "name" | "state" | "govern" | "url">> & Partial<{
72
73
  minScore: number;
73
- }
74
+ }>;
74
75
  //# sourceMappingURL=workspace-cluster.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"workspace-cluster.d.ts","sourceRoot":"","sources":["../src/workspace-cluster.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,WAAW,gBAAgB;IAI7B,IAAI,EAAE,MAAM,CAAC;IAGb,GAAG,EAAE,MAAM,CAAC;IAGZ,GAAG,CAAC,EAAE,SAAS,CAAC;IAGhB,KAAK,EAAE,qBAAqB,CAAC;IAG7B,QAAQ,EAAE,MAAM,CAAC;IAGjB,KAAK,EAAE,MAAM,CAAC;IAGd,MAAM,EAAE,OAAO,CAAC;IAGhB,oBAAoB,CAAC,EAAE,mBAAmB,EAAE,CAAC;CAChD;AAED,oBAAY,qBAAqB,GAAG,WAAW,GAAG,UAAU,GAAG,UAAU,CAAC;AAC1E,MAAM,WAAW,SAAS;IAEtB,EAAE,EAAE,MAAM,CAAC;IAEX,GAAG,EAAE,MAAM,CAAC;IAEZ,GAAG,EAAE,MAAM,CAAC;CACf;AACD,yBAAiB,SAAS,CAAC;IAChB,MAAM,kBAAkB,SAAU,MAAM,KAAG,MACqB,CAAC;CAC3E;AACD,oBAAY,qBAAqB,GAAG,IAAI,CAAC,gBAAgB,EAAE,KAAK,CAAC,CAAC;AAClE,oBAAY,8BAA8B,GAAG,IAAI,CAAC,gBAAgB,EAAE,MAAM,GAAG,KAAK,GAAG,KAAK,CAAC,CAAC;AAE5F,oBAAY,mBAA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ero General Public License (AGPL).
5
- * See License-AGPL.txt in the project root for license information.
5
+ * See License.AGPL.txt in the project root for license information.
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.WorkspaceClusterDB = exports.AdmissionConstraint = exports.TLSConfig = void 0;
@@ -1 +1 @@
1
- {"version":3,"file":"workspace-cluster.js","sourceRoot":"","sources":["../src/workspace-cluster.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,yBAAyB;AACzB,+BAAkD;AAyClD,IAAiB,SAAS,CAGzB;AAHD,WAAiB,SAAS;IACT,4BAAkB,GAAG,CAAC,IAAY,EAAU,EAAE,CACvD,EAAE,CAAC,YAAY,CAAC,IAAA,+BAAyB,EAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;AAC5E,CAAC,EAHgB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGzB;AAYD,IAAiB,mBAAmB,CAUnC;AAVD,WAAiB,mBAAmB;IAChC,SAAgB,EAAE,CAAC,CAAM;QACrB,OAAO,CAAC,CAAC,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC;IAC9B,CAAC;IAFe,sBAAE,KAEjB,CAAA;IACD,SAAgB,yBAAyB,CAAC,CAAM;QAC5C,OAAO,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK,gBAAgB,CAAC;IAChD,CAAC;IAFe,6CAAyB,4BAExC,CAAA;IACD,SAAgB,aAAa,CAAC,EAAuB,EAAE,UAA0B;QAC7E,OAAO,yBAAyB,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,UAAU,KAAK,UAAU,CAAC;IACzE,CAAC;IAFe,iCAAa,gBAE5B,CAAA;AACL,CAAC,EAVgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAUnC;AAEY,QAAA,kBAAkB,GAAG,MAAM,CAAC,oBAAoB,CAAC,CAAC"}
1
+ {"version":3,"file":"workspace-cluster.js","sourceRoot":"","sources":["../src/workspace-cluster.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,yBAAyB;AACzB,+BAAkD;AA6ClD,IAAiB,SAAS,CAGzB;AAHD,WAAiB,SAAS;IACT,4BAAkB,GAAG,CAAC,IAAY,EAAU,EAAE,CACvD,EAAE,CAAC,YAAY,CAAC,IAAA,+BAAyB,EAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;AAC5E,CAAC,EAHgB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGzB;AAYD,IAAiB,mBAAmB,CAUnC;AAVD,WAAiB,mBAAmB;IAChC,SAAgB,EAAE,CAAC,CAAM;QACrB,OAAO,CAAC,CAAC,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC;IAC9B,CAAC;IAFe,sBAAE,KAEjB,CAAA;IACD,SAAgB,yBAAyB,CAAC,CAAM;QAC5C,OAAO,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK,gBAAgB,CAAC;IAChD,CAAC;IAFe,6CAAyB,4BAExC,CAAA;IACD,SAAgB,aAAa,CAAC,EAAuB,EAAE,UAA0B;QAC7E,OAAO,yBAAyB,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,UAAU,KAAK,UAAU,CAAC;IACzE,CAAC;IAFe,iCAAa,gBAE5B,CAAA;AACL,CAAC,EAVgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAUnC;AAEY,QAAA,kBAAkB,GAAG,MAAM,CAAC,oBAAoB,CAAC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
3
3
  * Licensed under the GNU Affero General Public License (AGPL).
4
- * See License-AGPL.txt in the project root for license information.
4
+ * See License.AGPL.txt in the project root for license information.
5
5
  */
6
6
  import { NamedWorkspaceFeatureFlag } from "./protocol";
7
7
  export interface WorkspaceInstance {
@@ -82,6 +82,7 @@ export interface WorkspaceInstanceConfiguration {
82
82
  theiaVersion?: string;
83
83
  featureFlags?: NamedWorkspaceFeatureFlag[];
84
84
  ideImage: string;
85
+ ideImageLayers?: string[];
85
86
  desktopIdeImage?: string;
86
87
  desktopIdePluginImage?: string;
87
88
  supervisorImage?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"workspace-instance.d.ts","sourceRoot":"","sources":["../src/workspace-instance.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAGvD,MAAM,WAAW,iBAAiB;IAE9B,EAAE,EAAE,MAAM,CAAC;IAGX,WAAW,EAAE,MAAM,CAAC;IAGpB,YAAY,EAAE,MAAM,CAAC;IAGrB,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,WAAW,CAAC,EAAE,MAAM,CAAC;IAIrB,MAAM,EAAE,MAAM,CAAC;IAIf,MAAM,EAAE,MAAM,CAAC;IAIf,cAAc,EAAE,MAAM,CAAC;IAGvB,MAAM,EAAE,uBAAuB,CAAC;IAKhC,aAAa,CAAC,EAAE,8BAA8B,CAAC;IAG/C,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAE3B;;OAEG;IACH,cAAc,CAAC,EAAE,cAAc,CAAC;IAEhC;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAGD,MAAM,WAAW,uBAAuB;IAIpC,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,KAAK,EAAE,sBAAsB,CAAC;IAG9B,UAAU,EAAE,2BAA2B,CAAC;IAGxC,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,YAAY,CAAC,EAAE,qBAAqB,EAAE,CAAC;IAGvC,IAAI,CAAC,EAAE,2BAA2B,CAAC;IAGnC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 -2,7 +2,7 @@
2
2
  /**
3
3
  * Copyright (c) 2020 Gitpod GmbH. All rights reserved.
4
4
  * Licensed under the GNU Affero General Public License (AGPL).
5
- * See License-AGPL.txt in the project root for license information.
5
+ * See License.AGPL.txt in the project root for license information.
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  //# sourceMappingURL=workspace-instance.js.map
package/lib/wsready.d.ts CHANGED
@@ -1,14 +1,20 @@
1
1
  /**
2
2
  * Copyright (c) 2022 Gitpod GmbH. All rights reserved.
3
3
  * Licensed under the GNU Affero General Public License (AGPL).
4
- * See License-AGPL.txt in the project root for license information.
4
+ * See License.AGPL.txt in the project root for license information.
5
5
  */
6
- export interface WorkspaceReadyMessage {
7
- source: WorkspaceInitSource;
8
- }
9
6
  export declare enum WorkspaceInitSource {
10
7
  WorkspaceInitFromBackup = "from-backup",
11
8
  WorkspaceInitFromPrebuild = "from-prebuild",
12
9
  WorkspaceInitFromOther = "from-other"
13
10
  }
11
+ export interface WorkspaceReadyMessage {
12
+ source: WorkspaceInitSource;
13
+ metrics: InitializerMetric[];
14
+ }
15
+ export interface InitializerMetric {
16
+ type: string;
17
+ duration: number;
18
+ size: number;
19
+ }
14
20
  //# sourceMappingURL=wsready.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wsready.d.ts","sourceRoot":"","sources":["../src/wsready.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,MAAM,WAAW,qBAAqB;IAClC,MAAM,EAAE,mBAAmB,CAAC;CAC/B;AAED,oBAAY,mBAAmB;IAC3B,uBAAuB,gBAAgB;IACvC,yBAAyB,kBAAkB;IAC3C,sBAAsB,eAAe;CACxC"}
1
+ {"version":3,"file":"wsready.d.ts","sourceRoot":"","sources":["../src/wsready.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,oBAAY,mBAAmB;IAC3B,uBAAuB,gBAAgB;IACvC,yBAAyB,kBAAkB;IAC3C,sBAAsB,eAAe;CACxC;AACD,MAAM,WAAW,qBAAqB;IAClC,MAAM,EAAE,mBAAmB,CAAC;IAC5B,OAAO,EAAE,iBAAiB,EAAE,CAAC;CAChC;AAED,MAAM,WAAW,iBAAiB;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CAChB"}
package/lib/wsready.js CHANGED
@@ -2,10 +2,12 @@
2
2
  /**
3
3
  * Copyright (c) 2022 Gitpod GmbH. All rights reserved.
4
4
  * Licensed under the GNU Affero General Public License (AGPL).
5
- * See License-AGPL.txt in the project root for license information.
5
+ * See License.AGPL.txt in the project root for license information.
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.WorkspaceInitSource = void 0;
9
+ // generated using github.com/32leaves/bel on 2022-11-25 13:39:08.995865257 +0000 UTC m=+0.015035221
10
+ // DO NOT MODIFY
9
11
  var WorkspaceInitSource;
10
12
  (function (WorkspaceInitSource) {
11
13
  WorkspaceInitSource["WorkspaceInitFromBackup"] = "from-backup";
@@ -1 +1 @@
1
- {"version":3,"file":"wsready.js","sourceRoot":"","sources":["../src/wsready.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AASH,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC3B,8DAAuC,CAAA;IACvC,kEAA2C,CAAA;IAC3C,4DAAqC,CAAA;AACzC,CAAC,EAJW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAI9B"}
1
+ {"version":3,"file":"wsready.js","sourceRoot":"","sources":["../src/wsready.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,oGAAoG;AACpG,gBAAgB;AAEhB,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC3B,8DAAuC,CAAA;IACvC,kEAA2C,CAAA;IAC3C,4DAAqC,CAAA;AACzC,CAAC,EAJW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAI9B"}
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "dependencies": {
3
3
  "@types/react": "17.0.32",
4
+ "abort-controller-x": "^0.4.0",
4
5
  "ajv": "^6.5.4",
5
6
  "analytics-node": "^6.0.0",
6
7
  "configcat-node": "^8.0.0",
@@ -10,6 +11,7 @@
10
11
  "inversify": "^5.1.1",
11
12
  "jaeger-client": "^3.18.1",
12
13
  "js-yaml": "^3.10.0",
14
+ "nice-grpc-common": "^2.0.0",
13
15
  "opentracing": "^0.14.5",
14
16
  "prom-client": "^13.2.0",
15
17
  "random-number-csprng": "^1.0.2",
@@ -67,5 +69,5 @@
67
69
  "watch": "leeway exec --package .:lib --transitive-dependencies --filter-type yarn --components --parallel -- tsc -w --preserveWatchOutput"
68
70
  },
69
71
  "types": "./lib/index.d.ts",
70
- "version": "0.1.5-vn-jetbrains-backend-plugin-223.6"
72
+ "version": "0.1.5-wk-inte-test-20230117000019.1"
71
73
  }
package/pkg-yarn.lock CHANGED
@@ -4,9 +4,10 @@
4
4
 
5
5
  "@gitpod/gitpod-protocol@0.1.5":
6
6
  version "0.1.5"
7
- resolved "file:///tmp/cache/b2a20a3c10779a63db3b710a358ff84bfb2af728.tar.gz"
7
+ resolved "file:///var/tmp/cache/2efd841e28d9221442977ada59964488e4e9b7ce.tar.gz"
8
8
  dependencies:
9
9
  "@types/react" "17.0.32"
10
+ abort-controller-x "^0.4.0"
10
11
  ajv "^6.5.4"
11
12
  analytics-node "^6.0.0"
12
13
  configcat-node "^8.0.0"
@@ -16,6 +17,7 @@
16
17
  inversify "^5.1.1"
17
18
  jaeger-client "^3.18.1"
18
19
  js-yaml "^3.10.0"
20
+ nice-grpc-common "^2.0.0"
19
21
  opentracing "^0.14.5"
20
22
  prom-client "^13.2.0"
21
23
  random-number-csprng "^1.0.2"