@gitpod/gitpod-protocol 0.1.5-to-new-image.2 → 0.1.5-to-monitor-delete.18
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.
- package/data/gitpod-schema.json +124 -5
- package/lib/accounting-protocol.d.ts +18 -10
- package/lib/accounting-protocol.d.ts.map +1 -1
- package/lib/accounting-protocol.js +34 -32
- package/lib/accounting-protocol.js.map +1 -1
- package/lib/admin-protocol.d.ts +7 -0
- package/lib/admin-protocol.d.ts.map +1 -1
- package/lib/admin-protocol.js.map +1 -1
- package/lib/analytics.d.ts.map +1 -1
- package/lib/analytics.js.map +1 -1
- package/lib/attribution.d.ts +24 -0
- package/lib/attribution.d.ts.map +1 -0
- package/lib/attribution.js +54 -0
- package/lib/attribution.js.map +1 -0
- package/lib/auth.d.ts.map +1 -1
- package/lib/billing-mode.d.ts +45 -0
- package/lib/billing-mode.d.ts.map +1 -0
- package/lib/billing-mode.js +44 -0
- package/lib/billing-mode.js.map +1 -0
- package/lib/blocked-repositories-protocol.d.ts +13 -0
- package/lib/blocked-repositories-protocol.d.ts.map +1 -0
- package/lib/blocked-repositories-protocol.js +8 -0
- package/lib/blocked-repositories-protocol.js.map +1 -0
- package/lib/context-url.d.ts.map +1 -1
- package/lib/context-url.js +4 -4
- package/lib/context-url.js.map +1 -1
- package/lib/context-url.spec.d.ts.map +1 -1
- package/lib/context-url.spec.js +20 -5
- package/lib/context-url.spec.js.map +1 -1
- package/lib/encryption/container-module.d.ts.map +1 -1
- package/lib/encryption/container-module.js +1 -1
- package/lib/encryption/container-module.js.map +1 -1
- package/lib/encryption/encryption-engine.d.ts.map +1 -1
- package/lib/encryption/encryption-engine.js +9 -9
- package/lib/encryption/encryption-engine.js.map +1 -1
- package/lib/encryption/encryption-engine.spec.d.ts.map +1 -1
- package/lib/encryption/encryption-engine.spec.js +2 -3
- package/lib/encryption/encryption-engine.spec.js.map +1 -1
- package/lib/encryption/encryption-service.d.ts.map +1 -1
- package/lib/encryption/encryption-service.js +1 -1
- package/lib/encryption/encryption-service.js.map +1 -1
- package/lib/encryption/key-provider.d.ts.map +1 -1
- package/lib/encryption/key-provider.js +7 -9
- package/lib/encryption/key-provider.js.map +1 -1
- package/lib/env.d.ts +0 -5
- package/lib/env.d.ts.map +1 -1
- package/lib/env.js +1 -20
- package/lib/env.js.map +1 -1
- package/lib/experiments/always-default.d.ts +8 -0
- package/lib/experiments/always-default.d.ts.map +1 -0
- package/lib/experiments/always-default.js +20 -0
- package/lib/experiments/always-default.js.map +1 -0
- package/lib/experiments/configcat-server.d.ts +10 -0
- package/lib/experiments/configcat-server.d.ts.map +1 -0
- package/lib/experiments/configcat-server.js +36 -0
- package/lib/experiments/configcat-server.js.map +1 -0
- package/lib/experiments/configcat.d.ts +21 -0
- package/lib/experiments/configcat.d.ts.map +1 -0
- package/lib/experiments/configcat.js +51 -0
- package/lib/experiments/configcat.js.map +1 -0
- package/lib/experiments/types.d.ts +22 -0
- package/lib/experiments/types.d.ts.map +1 -0
- package/lib/experiments/types.js +10 -0
- package/lib/experiments/types.js.map +1 -0
- package/lib/gitpod-file-parser.d.ts.map +1 -1
- package/lib/gitpod-file-parser.js +6 -6
- package/lib/gitpod-file-parser.js.map +1 -1
- package/lib/gitpod-file-parser.spec.js +42 -39
- package/lib/gitpod-file-parser.spec.js.map +1 -1
- package/lib/gitpod-service.d.ts +65 -46
- package/lib/gitpod-service.d.ts.map +1 -1
- package/lib/gitpod-service.js +52 -33
- package/lib/gitpod-service.js.map +1 -1
- package/lib/headless-workspace-log.d.ts +1 -0
- package/lib/headless-workspace-log.d.ts.map +1 -1
- package/lib/headless-workspace-log.js +2 -1
- package/lib/headless-workspace-log.js.map +1 -1
- package/lib/ide-frontend-service.d.ts +1 -1
- package/lib/ide-protocol.d.ts +14 -6
- package/lib/ide-protocol.d.ts.map +1 -1
- package/lib/index.d.ts +16 -16
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/installation-admin-protocol.d.ts +3 -0
- package/lib/installation-admin-protocol.d.ts.map +1 -1
- package/lib/installation-admin-protocol.js +3 -2
- package/lib/installation-admin-protocol.js.map +1 -1
- package/lib/license-protocol.d.ts +7 -0
- package/lib/license-protocol.d.ts.map +1 -1
- package/lib/license-protocol.js.map +1 -1
- package/lib/messaging/browser/connection.d.ts +1 -1
- package/lib/messaging/browser/connection.d.ts.map +1 -1
- package/lib/messaging/browser/connection.js +19 -19
- package/lib/messaging/browser/connection.js.map +1 -1
- package/lib/messaging/browser/window-connection.d.ts +4 -4
- package/lib/messaging/browser/window-connection.d.ts.map +1 -1
- package/lib/messaging/browser/window-connection.js +9 -6
- package/lib/messaging/browser/window-connection.js.map +1 -1
- package/lib/messaging/client-call-metrics.d.ts +2 -18
- package/lib/messaging/client-call-metrics.d.ts.map +1 -1
- package/lib/messaging/client-call-metrics.js +21 -22
- package/lib/messaging/client-call-metrics.js.map +1 -1
- package/lib/messaging/error.d.ts +7 -1
- package/lib/messaging/error.d.ts.map +1 -1
- package/lib/messaging/error.js +15 -3
- package/lib/messaging/error.js.map +1 -1
- package/lib/messaging/handler.d.ts.map +1 -1
- package/lib/messaging/handler.js +1 -1
- package/lib/messaging/node/connection.js +8 -8
- package/lib/messaging/node/connection.js.map +1 -1
- package/lib/messaging/proxy-factory.d.ts +1 -1
- package/lib/messaging/proxy-factory.d.ts.map +1 -1
- package/lib/messaging/proxy-factory.js +7 -9
- package/lib/messaging/proxy-factory.js.map +1 -1
- package/lib/payment-protocol.d.ts.map +1 -1
- package/lib/payment-protocol.js +1 -1
- package/lib/payment-protocol.js.map +1 -1
- package/lib/permission.d.ts +2 -2
- package/lib/permission.d.ts.map +1 -1
- package/lib/permission.js +12 -23
- package/lib/permission.js.map +1 -1
- package/lib/plans.d.ts +4 -3
- package/lib/plans.d.ts.map +1 -1
- package/lib/plans.js +210 -171
- package/lib/plans.js.map +1 -1
- package/lib/protocol.d.ts +181 -57
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +285 -105
- package/lib/protocol.js.map +1 -1
- package/{src/theia-plugins.ts → lib/protocol.spec.d.ts} +2 -6
- package/lib/protocol.spec.d.ts.map +1 -0
- package/lib/protocol.spec.js +127 -0
- package/lib/protocol.spec.js.map +1 -0
- package/lib/snapshot-url.spec.js.map +1 -1
- package/lib/team-subscription-protocol.d.ts +22 -3
- package/lib/team-subscription-protocol.d.ts.map +1 -1
- package/lib/team-subscription-protocol.js +20 -5
- package/lib/team-subscription-protocol.js.map +1 -1
- package/lib/teams-projects-protocol.d.ts +26 -5
- package/lib/teams-projects-protocol.d.ts.map +1 -1
- package/lib/teams-projects-protocol.js +1 -1
- package/lib/teams-projects-protocol.js.map +1 -1
- package/lib/typings/globals.d.ts +2 -2
- package/lib/typings/globals.d.ts.map +1 -1
- package/lib/usage.d.ts +61 -0
- package/lib/usage.d.ts.map +1 -0
- package/lib/usage.js +14 -0
- package/lib/usage.js.map +1 -0
- package/lib/util/analytics.d.ts.map +1 -1
- package/lib/util/analytics.js +12 -3
- package/lib/util/analytics.js.map +1 -1
- package/lib/util/async-iterator.d.ts.map +1 -1
- package/lib/util/async-iterator.js +3 -3
- package/lib/util/async-iterator.js.map +1 -1
- package/lib/util/cancelable.js.map +1 -1
- package/lib/util/date-time.js +6 -6
- package/lib/util/date-time.js.map +1 -1
- package/lib/util/debug-app.d.ts +25 -0
- package/lib/util/debug-app.d.ts.map +1 -0
- package/lib/util/debug-app.js +100 -0
- package/lib/util/debug-app.js.map +1 -0
- package/lib/util/deferred.js.map +1 -1
- package/lib/util/disposable.d.ts.map +1 -1
- package/lib/util/disposable.js +2 -2
- package/lib/util/disposable.js.map +1 -1
- package/lib/util/event.d.ts.map +1 -1
- package/lib/util/event.js +5 -3
- package/lib/util/event.js.map +1 -1
- package/lib/util/garbage-collected-cache.d.ts.map +1 -1
- package/lib/util/garbage-collected-cache.js +6 -1
- package/lib/util/garbage-collected-cache.js.map +1 -1
- package/lib/util/generate-workspace-id.d.ts +5 -0
- package/lib/util/generate-workspace-id.d.ts.map +1 -1
- package/lib/util/generate-workspace-id.js +446 -442
- package/lib/util/generate-workspace-id.js.map +1 -1
- package/lib/util/generate-workspace-id.spec.js +18 -7
- package/lib/util/generate-workspace-id.spec.js.map +1 -1
- package/lib/util/gitpod-cookie.d.ts +1 -1
- package/lib/util/gitpod-cookie.d.ts.map +1 -1
- package/lib/util/gitpod-cookie.js +0 -3
- package/lib/util/gitpod-cookie.js.map +1 -1
- package/lib/util/gitpod-host-url.d.ts +3 -0
- package/lib/util/gitpod-host-url.d.ts.map +1 -1
- package/lib/util/gitpod-host-url.js +49 -29
- package/lib/util/gitpod-host-url.js.map +1 -1
- package/lib/util/gitpod-host-url.spec.d.ts.map +1 -1
- package/lib/util/gitpod-host-url.spec.js +15 -5
- package/lib/util/gitpod-host-url.spec.js.map +1 -1
- package/lib/util/grpc.d.ts +19 -0
- package/lib/util/grpc.d.ts.map +1 -1
- package/lib/util/grpc.js +73 -1
- package/lib/util/grpc.js.map +1 -1
- package/lib/util/jaeger-client-types.d.ts.map +1 -1
- package/lib/util/logging.d.ts +1 -1
- package/lib/util/logging.d.ts.map +1 -1
- package/lib/util/logging.js +31 -25
- package/lib/util/logging.js.map +1 -1
- package/lib/util/logging.spec.d.ts +7 -0
- package/lib/util/logging.spec.d.ts.map +1 -0
- package/lib/util/logging.spec.js +52 -0
- package/lib/util/logging.spec.js.map +1 -0
- package/lib/util/make-link.js +5 -5
- package/lib/util/make-link.js.map +1 -1
- package/lib/util/nice-grpc.d.ts +9 -0
- package/lib/util/nice-grpc.d.ts.map +1 -0
- package/lib/util/nice-grpc.js +119 -0
- package/lib/util/nice-grpc.js.map +1 -0
- package/lib/util/parse-workspace-id.d.ts.map +1 -1
- package/lib/util/parse-workspace-id.js +1 -2
- package/lib/util/parse-workspace-id.js.map +1 -1
- package/lib/util/parse-workspace-id.spec.d.ts.map +1 -1
- package/lib/util/parse-workspace-id.spec.js.map +1 -1
- package/lib/util/queue.spec.js +9 -6
- package/lib/util/queue.spec.js.map +1 -1
- package/lib/util/semaphore.d.ts.map +1 -1
- package/lib/util/semaphore.js.map +1 -1
- package/lib/util/skip-if.d.ts.map +1 -1
- package/lib/util/skip-if.js.map +1 -1
- package/lib/util/timeutil.d.ts +2 -0
- package/lib/util/timeutil.d.ts.map +1 -1
- package/lib/util/timeutil.js +15 -3
- package/lib/util/timeutil.js.map +1 -1
- package/lib/util/timeutil.spec.d.ts +2 -0
- package/lib/util/timeutil.spec.d.ts.map +1 -1
- package/lib/util/timeutil.spec.js +34 -0
- package/lib/util/timeutil.spec.js.map +1 -1
- package/lib/util/tracing.d.ts +6 -6
- package/lib/util/tracing.d.ts.map +1 -1
- package/lib/util/tracing.js +14 -16
- package/lib/util/tracing.js.map +1 -1
- package/lib/util/tracing.spec.js +3 -3
- package/lib/util/tracing.spec.js.map +1 -1
- package/lib/util/workspace-port-authentication.d.ts +7 -7
- package/lib/util/workspace-port-authentication.d.ts.map +1 -1
- package/lib/util/workspace-port-authentication.js +8 -11
- package/lib/util/workspace-port-authentication.js.map +1 -1
- package/lib/webhook-event.d.ts +44 -0
- package/lib/webhook-event.d.ts.map +1 -0
- package/lib/{theia-plugins.js → webhook-event.js} +2 -2
- package/lib/webhook-event.js.map +1 -0
- package/lib/workspace-class.d.ts +14 -0
- package/lib/workspace-class.d.ts.map +1 -0
- package/lib/workspace-class.js +8 -0
- package/lib/workspace-class.js.map +1 -0
- package/lib/workspace-cluster.d.ts +12 -13
- package/lib/workspace-cluster.d.ts.map +1 -1
- package/lib/workspace-cluster.js +2 -4
- package/lib/workspace-cluster.js.map +1 -1
- package/lib/workspace-instance.d.ts +20 -3
- package/lib/workspace-instance.d.ts.map +1 -1
- package/lib/wsready.d.ts +1 -1
- package/lib/wsready.d.ts.map +1 -1
- package/lib/wsready.js +2 -2
- package/package.json +14 -6
- package/pkg-yarn.lock +10 -5
- package/provenance-bundle.jsonl +3 -1
- package/src/accounting-protocol.ts +66 -51
- package/src/admin-protocol.ts +32 -20
- package/src/analytics.ts +21 -21
- package/src/attribution.ts +63 -0
- package/src/auth.ts +2 -2
- package/src/billing-mode.ts +84 -0
- package/src/blocked-repositories-protocol.ts +13 -0
- package/src/context-url.spec.ts +25 -11
- package/src/context-url.ts +80 -78
- package/src/encryption/container-module.ts +2 -3
- package/src/encryption/encryption-engine.spec.ts +9 -8
- package/src/encryption/encryption-engine.ts +20 -16
- package/src/encryption/encryption-service.ts +4 -5
- package/src/encryption/key-provider.ts +16 -19
- package/src/env.ts +0 -22
- package/src/experiments/always-default.ts +24 -0
- package/src/experiments/configcat-server.ts +41 -0
- package/src/experiments/configcat.ts +56 -0
- package/src/experiments/types.ts +34 -0
- package/src/gitpod-file-parser.spec.ts +55 -61
- package/src/gitpod-file-parser.ts +16 -17
- package/src/gitpod-service.ts +208 -132
- package/src/headless-workspace-log.ts +6 -4
- package/src/ide-frontend-service.ts +2 -2
- package/src/ide-protocol.ts +18 -8
- package/src/index.ts +16 -16
- package/src/installation-admin-protocol.ts +11 -8
- package/src/license-protocol.ts +12 -6
- package/src/messaging/browser/connection.ts +45 -47
- package/src/messaging/browser/window-connection.ts +39 -29
- package/src/messaging/client-call-metrics.ts +62 -82
- package/src/messaging/error.ts +23 -7
- package/src/messaging/handler.ts +6 -6
- package/src/messaging/node/connection.ts +8 -8
- package/src/messaging/proxy-factory.ts +23 -30
- package/src/oss-allowlist.ts +3 -3
- package/src/payment-protocol.ts +2 -2
- package/src/permission.ts +20 -31
- package/src/plans.ts +240 -189
- package/src/protocol.spec.ts +97 -0
- package/src/protocol.ts +545 -261
- package/src/snapshot-url.spec.ts +9 -7
- package/src/team-subscription-protocol.ts +59 -22
- package/src/teams-projects-protocol.ts +36 -11
- package/src/typings/globals.ts +4 -4
- package/src/usage.ts +71 -0
- package/src/util/analytics.ts +46 -24
- package/src/util/async-iterator.ts +4 -5
- package/src/util/cancelable.ts +3 -3
- package/src/util/date-time.ts +8 -8
- package/src/util/debug-app.ts +81 -0
- package/src/util/deferred.ts +6 -6
- package/src/util/disposable.ts +3 -6
- package/src/util/event.ts +9 -11
- package/src/util/garbage-collected-cache.ts +8 -6
- package/src/util/generate-workspace-id.spec.ts +26 -16
- package/src/util/generate-workspace-id.ts +460 -454
- package/src/util/gitpod-cookie.ts +8 -9
- package/src/util/gitpod-host-url.spec.ts +40 -13
- package/src/util/gitpod-host-url.ts +57 -33
- package/src/util/grpc.ts +90 -1
- package/src/util/jaeger-client-types.ts +2 -2
- package/src/util/logging.spec.ts +23 -0
- package/src/util/logging.ts +60 -42
- package/src/util/make-link.ts +6 -7
- package/src/util/nice-grpc.ts +93 -0
- package/src/util/parse-workspace-id.spec.ts +17 -8
- package/src/util/parse-workspace-id.ts +5 -6
- package/src/util/queue.spec.ts +27 -25
- package/src/util/repeat.ts +1 -1
- package/src/util/semaphore.ts +4 -6
- package/src/util/skip-if.ts +9 -6
- package/src/util/timeutil.spec.ts +40 -14
- package/src/util/timeutil.ts +27 -11
- package/src/util/tracing.spec.ts +28 -23
- package/src/util/tracing.ts +54 -51
- package/src/util/workspace-port-authentication.ts +10 -13
- package/src/webhook-event.ts +55 -0
- package/src/workspace-class.ts +14 -0
- package/src/workspace-cluster.ts +24 -18
- package/src/workspace-instance.ts +60 -24
- package/src/wsready.ts +3 -3
- package/data/builtin-theia-plugins.json +0 -372
- package/lib/email-protocol.d.ts +0 -49
- package/lib/email-protocol.d.ts.map +0 -1
- package/lib/email-protocol.js +0 -28
- package/lib/email-protocol.js.map +0 -1
- package/lib/theia-plugins.d.ts +0 -11
- package/lib/theia-plugins.d.ts.map +0 -1
- package/lib/theia-plugins.js.map +0 -1
- package/src/email-protocol.ts +0 -66
|
@@ -55,11 +55,28 @@ export interface WorkspaceInstance {
|
|
|
55
55
|
/**
|
|
56
56
|
* Contains information about the image build, if there was any
|
|
57
57
|
*/
|
|
58
|
-
|
|
58
|
+
imageBuildInfo?: ImageBuildInfo;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* workspace class, also known as workspace size, determines the type of
|
|
62
|
+
* resources that are provided to the workspace.
|
|
63
|
+
*/
|
|
64
|
+
workspaceClass?: string;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Identifies the team or user to which this instance's runtime should be attributed to
|
|
68
|
+
* (e.g. for usage analytics or billing purposes).
|
|
69
|
+
*/
|
|
70
|
+
usageAttributionId?: string;
|
|
59
71
|
}
|
|
60
72
|
|
|
61
73
|
// WorkspaceInstanceStatus describes the current state of a workspace instance
|
|
62
74
|
export interface WorkspaceInstanceStatus {
|
|
75
|
+
// version is the current version of the workspace instance status
|
|
76
|
+
// Note: consider this value opague. The only guarantee given is that it imposes
|
|
77
|
+
// a partial order on status updates, i.e. a.version > b.version -> a newer than b.
|
|
78
|
+
version?: number;
|
|
79
|
+
|
|
63
80
|
// phase describes a high-level state of the workspace instance
|
|
64
81
|
phase: WorkspaceInstancePhase;
|
|
65
82
|
|
|
@@ -95,49 +112,54 @@ export interface WorkspaceInstanceStatus {
|
|
|
95
112
|
export type WorkspaceInstancePhase =
|
|
96
113
|
// unknown indicates an issue within the system in that it cannot determine the actual phase of
|
|
97
114
|
// a workspace. This phase is usually accompanied by an error.
|
|
98
|
-
"unknown"
|
|
115
|
+
| "unknown"
|
|
99
116
|
|
|
100
117
|
// Preparing means that we haven't actually started the workspace instance just yet, but rather
|
|
101
|
-
// are still preparing for launch.
|
|
102
|
-
"preparing"
|
|
118
|
+
// are still preparing for launch.
|
|
119
|
+
| "preparing"
|
|
120
|
+
|
|
121
|
+
// Building means that we are building the Docker image for the workspace. A workspace will enter this phase only
|
|
122
|
+
// if an image build is required for that workspace.
|
|
123
|
+
| "building"
|
|
103
124
|
|
|
104
125
|
// Pending means the workspace does not yet consume resources in the cluster, but rather is looking for
|
|
105
126
|
// some space within the cluster. If for example the cluster needs to scale up to accomodate the
|
|
106
127
|
// workspace, the workspace will be in Pending state until that happened.
|
|
107
|
-
"pending"
|
|
128
|
+
| "pending"
|
|
108
129
|
|
|
109
130
|
// Creating means the workspace is currently being created. Thati includes downloading the images required
|
|
110
131
|
// to run the workspace over the network. The time spent in this phase varies widely and depends on the current
|
|
111
132
|
// network speed, image size and cache states.
|
|
112
|
-
"creating"
|
|
133
|
+
| "creating"
|
|
113
134
|
|
|
114
135
|
// Initializing is the phase in which the workspace is executing the appropriate workspace initializer (e.g. Git
|
|
115
136
|
// clone or backup download). After this phase one can expect the workspace to either be Running or Failed.
|
|
116
|
-
"initializing"
|
|
137
|
+
| "initializing"
|
|
117
138
|
|
|
118
139
|
// Running means the workspace is able to actively perform work, either by serving a user through Theia,
|
|
119
140
|
// or as a headless workspace.
|
|
120
|
-
"running"
|
|
141
|
+
| "running"
|
|
121
142
|
|
|
122
143
|
// Interrupted is an exceptional state where the container should be running but is temporarily unavailable.
|
|
123
144
|
// When in this state, we expect it to become running or stopping anytime soon.
|
|
124
|
-
"interrupted"
|
|
145
|
+
| "interrupted"
|
|
125
146
|
|
|
126
147
|
// Stopping means that the workspace is currently shutting down. It could go to stopped every moment.
|
|
127
|
-
"stopping"
|
|
148
|
+
| "stopping"
|
|
128
149
|
|
|
129
150
|
// Stopped means the workspace ended regularly because it was shut down.
|
|
130
|
-
"stopped";
|
|
151
|
+
| "stopped";
|
|
131
152
|
|
|
132
153
|
export interface WorkspaceInstanceConditions {
|
|
133
154
|
// Failed contains the reason the workspace failed to operate. If this field is empty, the workspace has not failed.
|
|
134
|
-
failed
|
|
155
|
+
// failed contains technical details for the failure of the workspace.
|
|
156
|
+
failed?: string;
|
|
135
157
|
|
|
136
158
|
// timeout contains the reason the workspace has timed out. If this field is empty, the workspace has not timed out.
|
|
137
|
-
timeout?: string
|
|
159
|
+
timeout?: string;
|
|
138
160
|
|
|
139
161
|
// PullingImages marks if the workspace is currently pulling its images. This condition can only be set during PhaseCreating
|
|
140
|
-
pullingImages?: boolean
|
|
162
|
+
pullingImages?: boolean;
|
|
141
163
|
|
|
142
164
|
// deployed marks that a workspace instance was sent/deployed at a workspace manager
|
|
143
165
|
deployed?: boolean;
|
|
@@ -148,7 +170,10 @@ export interface WorkspaceInstanceConditions {
|
|
|
148
170
|
// ISO8601 timestamp when the first user activity was registered in the frontend. Only set if the workspace is running.
|
|
149
171
|
firstUserActivity?: string;
|
|
150
172
|
|
|
151
|
-
//
|
|
173
|
+
// headlessTaskFailed indicates that a headless workspace task failed
|
|
174
|
+
// headlessTaskFailed is only set if:
|
|
175
|
+
// * this workspace is headless
|
|
176
|
+
// * the task being run returned a non 0 exit status code
|
|
152
177
|
headlessTaskFailed?: string;
|
|
153
178
|
|
|
154
179
|
// stopped_by_request is true if the workspace was stopped using a StopWorkspace call
|
|
@@ -156,10 +181,10 @@ export interface WorkspaceInstanceConditions {
|
|
|
156
181
|
}
|
|
157
182
|
|
|
158
183
|
// AdmissionLevel describes who can access a workspace instance and its ports.
|
|
159
|
-
export type AdmissionLevel =
|
|
184
|
+
export type AdmissionLevel = "owner_only" | "everyone";
|
|
160
185
|
|
|
161
186
|
// PortVisibility describes how a port can be accessed
|
|
162
|
-
export type PortVisibility =
|
|
187
|
+
export type PortVisibility = "public" | "private";
|
|
163
188
|
|
|
164
189
|
// WorkspaceInstancePort describes a port exposed on a workspace instance
|
|
165
190
|
export interface WorkspaceInstancePort {
|
|
@@ -185,19 +210,25 @@ export interface WorkspaceInstanceRepoStatus {
|
|
|
185
210
|
uncommitedFiles?: string[];
|
|
186
211
|
|
|
187
212
|
// the total number of uncommited files
|
|
188
|
-
totalUncommitedFiles?: number
|
|
213
|
+
totalUncommitedFiles?: number;
|
|
189
214
|
|
|
190
215
|
// untrackedFiles is the list of untracked files in the workspace, possibly truncated
|
|
191
216
|
untrackedFiles?: string[];
|
|
192
217
|
|
|
193
218
|
// the total number of untracked files
|
|
194
|
-
totalUntrackedFiles?: number
|
|
219
|
+
totalUntrackedFiles?: number;
|
|
195
220
|
|
|
196
221
|
// unpushedCommits is the list of unpushed changes in the workspace, possibly truncated
|
|
197
222
|
unpushedCommits?: string[];
|
|
198
223
|
|
|
199
224
|
// the total number of unpushed changes
|
|
200
|
-
totalUnpushedCommits?: number
|
|
225
|
+
totalUnpushedCommits?: number;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
// ConfigurationIdeConfig ide config of WorkspaceInstanceConfiguration
|
|
229
|
+
export interface ConfigurationIdeConfig {
|
|
230
|
+
useLatest?: boolean;
|
|
231
|
+
desktopIdeAlias?: string;
|
|
201
232
|
}
|
|
202
233
|
|
|
203
234
|
// WorkspaceInstanceConfiguration contains all per-instance configuration
|
|
@@ -213,23 +244,28 @@ export interface WorkspaceInstanceConfiguration {
|
|
|
213
244
|
ideImage: string;
|
|
214
245
|
|
|
215
246
|
// desktopIdeImage is the ref of the desktop IDE image this instance uses.
|
|
216
|
-
desktopIdeImage?: string
|
|
247
|
+
desktopIdeImage?: string;
|
|
248
|
+
|
|
249
|
+
// desktopIdePluginImage is the ref of the desktop IDE plugin image this instance uses.
|
|
250
|
+
desktopIdePluginImage?: string;
|
|
217
251
|
|
|
218
252
|
// supervisorImage is the ref of the supervisor image this instance uses.
|
|
219
253
|
supervisorImage?: string;
|
|
254
|
+
|
|
255
|
+
ideConfig?: ConfigurationIdeConfig;
|
|
220
256
|
}
|
|
221
257
|
|
|
222
258
|
/**
|
|
223
259
|
* Holds information about the image build (if there was one) for this WorkspaceInstance
|
|
224
260
|
*/
|
|
225
261
|
export interface ImageBuildInfo {
|
|
226
|
-
log?: ImageBuildLogInfo
|
|
262
|
+
log?: ImageBuildLogInfo;
|
|
227
263
|
}
|
|
228
264
|
|
|
229
265
|
/**
|
|
230
266
|
* Holds information about how to access logs for this an image build
|
|
231
267
|
*/
|
|
232
268
|
export interface ImageBuildLogInfo {
|
|
233
|
-
url: string
|
|
234
|
-
headers: { [key: string]: string }
|
|
269
|
+
url: string;
|
|
270
|
+
headers: { [key: string]: string };
|
|
235
271
|
}
|
package/src/wsready.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c)
|
|
2
|
+
* Copyright (c) 2022 Gitpod GmbH. All rights reserved.
|
|
3
3
|
* Licensed under the GNU Affero General Public License (AGPL).
|
|
4
4
|
* See License-AGPL.txt in the project root for license information.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
// generated using github.com/32leaves/bel on
|
|
7
|
+
// generated using github.com/32leaves/bel on 2022-11-08 15:05:18.524451939 +0000 UTC m=+0.007997240
|
|
8
8
|
// DO NOT MODIFY
|
|
9
9
|
|
|
10
10
|
export enum WorkspaceInitSource {
|
|
@@ -13,5 +13,5 @@ export enum WorkspaceInitSource {
|
|
|
13
13
|
WorkspaceInitFromOther = "from-other",
|
|
14
14
|
}
|
|
15
15
|
export interface WorkspaceReadyMessage {
|
|
16
|
-
source: WorkspaceInitSource
|
|
16
|
+
source: WorkspaceInitSource;
|
|
17
17
|
}
|
|
@@ -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
|
-
]
|
package/lib/email-protocol.d.ts
DELETED
|
@@ -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"}
|
package/lib/email-protocol.js
DELETED
|
@@ -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"}
|