@gitpod/gitpod-protocol 0.1.5-mp-usage-list-workspaces-id.0 → 0.1.5-mp-server-experiments.5

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 (53) hide show
  1. package/lib/experiments/always-default.d.ts +8 -0
  2. package/lib/experiments/always-default.d.ts.map +1 -0
  3. package/lib/experiments/always-default.js +20 -0
  4. package/lib/experiments/always-default.js.map +1 -0
  5. package/lib/experiments/configcat-server.d.ts +8 -0
  6. package/lib/experiments/configcat-server.d.ts.map +1 -0
  7. package/lib/experiments/configcat-server.js +33 -0
  8. package/lib/experiments/configcat-server.js.map +1 -0
  9. package/lib/experiments/configcat.d.ts +21 -0
  10. package/lib/experiments/configcat.d.ts.map +1 -0
  11. package/lib/experiments/configcat.js +47 -0
  12. package/lib/experiments/configcat.js.map +1 -0
  13. package/lib/experiments/types.d.ts +19 -0
  14. package/lib/experiments/types.d.ts.map +1 -0
  15. package/lib/experiments/types.js +8 -0
  16. package/lib/experiments/types.js.map +1 -0
  17. package/lib/gitpod-service.d.ts +6 -4
  18. package/lib/gitpod-service.d.ts.map +1 -1
  19. package/lib/gitpod-service.js.map +1 -1
  20. package/lib/messaging/error.d.ts +1 -0
  21. package/lib/messaging/error.d.ts.map +1 -1
  22. package/lib/messaging/error.js +2 -0
  23. package/lib/messaging/error.js.map +1 -1
  24. package/lib/protocol.d.ts +1 -0
  25. package/lib/protocol.d.ts.map +1 -1
  26. package/lib/protocol.js.map +1 -1
  27. package/lib/teams-projects-protocol.d.ts +1 -0
  28. package/lib/teams-projects-protocol.d.ts.map +1 -1
  29. package/lib/teams-projects-protocol.js.map +1 -1
  30. package/lib/util/debug-app.d.ts +25 -0
  31. package/lib/util/debug-app.d.ts.map +1 -0
  32. package/lib/util/debug-app.js +100 -0
  33. package/lib/util/debug-app.js.map +1 -0
  34. package/lib/util/timeutil.d.ts +1 -0
  35. package/lib/util/timeutil.d.ts.map +1 -1
  36. package/lib/util/timeutil.js +7 -1
  37. package/lib/util/timeutil.js.map +1 -1
  38. package/lib/workspace-instance.d.ts +6 -0
  39. package/lib/workspace-instance.d.ts.map +1 -1
  40. package/package.json +9 -6
  41. package/pkg-yarn.lock +7 -5
  42. package/provenance-bundle.jsonl +1 -1
  43. package/src/experiments/always-default.ts +24 -0
  44. package/src/experiments/configcat-server.ts +36 -0
  45. package/src/experiments/configcat.ts +53 -0
  46. package/src/experiments/types.ts +32 -0
  47. package/src/gitpod-service.ts +6 -4
  48. package/src/messaging/error.ts +3 -0
  49. package/src/protocol.ts +1 -0
  50. package/src/teams-projects-protocol.ts +1 -0
  51. package/src/util/debug-app.ts +81 -0
  52. package/src/util/timeutil.ts +6 -0
  53. package/src/workspace-instance.ts +7 -0
@@ -62,6 +62,13 @@ export interface WorkspaceInstance {
62
62
  * resources that are provided to the workspace.
63
63
  */
64
64
  workspaceClass?: string;
65
+
66
+ /**
67
+ * Identifies the team to which this instance's runtime should be attributed to
68
+ * (e.g. for usage analytics or billing purposes).
69
+ * If unset, the usage should be attributed to the workspace's owner (ws.ownerId).
70
+ */
71
+ attributedTeamId?: string;
65
72
  }
66
73
 
67
74
  // WorkspaceInstanceStatus describes the current state of a workspace instance