mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Fix Add button height in git settings
This commit is contained in:
8 files changed
+6
-85
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user