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; +}