Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/gitpod-protocol/src/typings/globals.ts
2500 views
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
7
// eslint-disable-next-line @typescript-eslint/no-unused-vars
8
interface Window {
9
// gitpod is used by supervisor/frontend and vscode browser https://github.com/gitpod-io/openvscode-server/blob/dadd40deda5959c0efdaa0c7d02ab64b6f8b5ad0/src/vs/gitpod/browser/workbench/workbench.ts#L7
10
gitpod: {
11
ideService?: import("../ide-frontend-service").IDEFrontendService;
12
loggedUserID?: string;
13
14
openDesktopIDE(url: string): void;
15
16
encrypt(content: string): string;
17
decrypt(content: string): string;
18
isEncryptedData(content: string): boolean;
19
};
20
}
21
22