We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8a52c6 commit e7ae6caCopy full SHA for e7ae6ca
src/renderer/types/electron.d.ts
@@ -12,19 +12,15 @@ declare global {
12
storeApiKey: (apiKey: string) => Promise<string>;
13
retrieveApiKey: (encryptedKey: string) => Promise<string | null>;
14
// OAuth API
15
- oauthStartFlow: (
16
- region: CloudRegion,
17
- ) => Promise<{
+ oauthStartFlow: (region: CloudRegion) => Promise<{
18
success: boolean;
19
data?: OAuthTokenResponse;
20
error?: string;
21
}>;
22
oauthEncryptTokens: (
23
tokens: StoredOAuthTokens,
24
) => Promise<{ success: boolean; encrypted?: string; error?: string }>;
25
- oauthRetrieveTokens: (
26
- encrypted: string,
27
+ oauthRetrieveTokens: (encrypted: string) => Promise<{
28
29
data?: StoredOAuthTokens;
30
0 commit comments