From 70eae154c6e0b767eb39c3cc80a5174417632c49 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Mon, 9 Feb 2026 17:35:19 +0000 Subject: [PATCH] Break up `Credential` type into two interfaces --- src/start-proxy/types.ts | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/start-proxy/types.ts b/src/start-proxy/types.ts index 0d4a2d97f..73087d908 100644 --- a/src/start-proxy/types.ts +++ b/src/start-proxy/types.ts @@ -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; +}