Break up Credential type into two interfaces

This commit is contained in:
Michael B. Gale
2026-02-09 17:35:19 +00:00
parent 93302bc63a
commit 70eae154c6
+8 -5
View File
@@ -1,8 +1,11 @@
export type Credential = {
type: string;
host?: string;
url?: string;
export interface Credential extends Registry {
username?: string;
password?: string;
token?: string;
};
}
export interface Registry {
type: string;
host?: string;
url?: string;
}