@gitpod/gitpod-protocol 0.1.5-prs-dev-image-dogfood.1 → 0.1.5-prs-dazzlev2-test.3
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/lib/admin-protocol.d.ts +3 -0
- package/lib/admin-protocol.d.ts.map +1 -1
- package/lib/admin-protocol.js.map +1 -1
- package/lib/context-url.d.ts +1 -0
- package/lib/context-url.d.ts.map +1 -1
- package/lib/context-url.js +3 -1
- package/lib/context-url.js.map +1 -1
- package/lib/gitpod-service.d.ts +9 -0
- package/lib/gitpod-service.d.ts.map +1 -1
- package/lib/gitpod-service.js.map +1 -1
- package/lib/ide-protocol.d.ts +20 -0
- package/lib/ide-protocol.d.ts.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/installation-admin-protocol.d.ts +21 -0
- package/lib/installation-admin-protocol.d.ts.map +1 -0
- package/lib/installation-admin-protocol.js +30 -0
- package/lib/installation-admin-protocol.js.map +1 -0
- package/lib/protocol.d.ts +7 -0
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +9 -1
- package/lib/protocol.js.map +1 -1
- package/package.json +1 -1
- package/pkg-yarn.lock +1 -1
- package/provenance-bundle.jsonl +1 -1
- package/src/admin-protocol.ts +7 -3
- package/src/context-url.ts +3 -1
- package/src/gitpod-service.ts +11 -0
- package/src/ide-frontend-service.ts +1 -1
- package/src/ide-protocol.ts +22 -0
- package/src/index.ts +1 -0
- package/src/installation-admin-protocol.ts +35 -0
- package/src/protocol.ts +12 -0
- package/src/util/gitpod-host-url.ts +1 -1
package/src/protocol.ts
CHANGED
|
@@ -891,6 +891,18 @@ export namespace PrebuiltWorkspaceContext {
|
|
|
891
891
|
}
|
|
892
892
|
}
|
|
893
893
|
|
|
894
|
+
export interface WithReferrerContext extends WorkspaceContext {
|
|
895
|
+
referrer: string
|
|
896
|
+
referrerIde?: string
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
export namespace WithReferrerContext {
|
|
900
|
+
export function is(context: any): context is WithReferrerContext {
|
|
901
|
+
return context
|
|
902
|
+
&& 'referrer' in context;
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
|
|
894
906
|
export interface WithEnvvarsContext extends WorkspaceContext {
|
|
895
907
|
envvars: EnvVarWithValue[];
|
|
896
908
|
}
|