git-account-switch-ssh
Version:
Git Account Switch (SSH)
29 lines (25 loc) • 595 B
text/typescript
import { GITHUB, GITLAB } from '../types/symbols.js';
interface IHostData {
site: string;
keys: string;
cta: string;
usage: string;
}
interface IHosts {
[]: IHostData;
[]: IHostData;
}
export const HOSTS: IHosts = {
[]: {
site: 'github.com',
keys: 'https://github.com/settings/keys',
cta: 'New SSH key',
usage: 'Set the Key type (Authentication Key)',
},
[]: {
site: 'gitlab.com',
keys: 'https://gitlab.com/-/user_settings/ssh_keys',
cta: 'Add new key',
usage: 'Set the Usage type (Authentication & Signing)',
},
};