Fix Add button height in git settings

This commit is contained in:
Alex Gleason committed 2025-12-20 21:25:59 -06:00
1 parent e644d7127c
commit 42b697643f
8 files changed
+6 -85

No files matched your search

-11
View File
@@ -5,16 +5,8 @@ export interface GitCredential {
password: string;
}
export interface GitHostToken {
token: string;
username?: string;
scopes?: string[];
createdAt?: number;
}
export interface GitSettings {
credentials: Record<string, GitCredential>; // keyed by origin
hostTokens: Record<string, GitHostToken>; // keyed by host domain (e.g., 'github.com')
name?: string;
email?: string;
coAuthorEnabled?: boolean;
@@ -26,9 +18,6 @@ export interface GitSettingsContextType {
addCredential: (origin: string, credential: GitCredential) => void;
removeCredential: (origin: string) => void;
updateCredential: (origin: string, credential: Partial<GitCredential>) => void;
addHostToken: (host: string, token: GitHostToken) => void;
removeHostToken: (host: string) => void;
updateHostToken: (host: string, token: Partial<GitHostToken>) => void;
isConfigured: boolean;
isInitialized: boolean;
}