diff --git a/src/application/SupportedClients.ts b/src/application/SupportedClients.ts index a82fb913793..0cb55d0c823 100644 --- a/src/application/SupportedClients.ts +++ b/src/application/SupportedClients.ts @@ -219,19 +219,12 @@ export interface ClientSystemPaths { * A user-scope location decided by which configuration layers exist, which * only an asynchronous probe can observe. */ -export interface ClientLayeredLocation { - readonly configPath: string; +export interface ClientLayeredLocation extends Pick< + SetupClient, + "configPath" | "inlineConfiguration" | "readUpperLayers" | "readOnlyFiles" +> { /** Every file layer in load order, including `configPath`. */ readonly configPaths: readonly string[]; - readonly inlineConfiguration?: ClientInlineConfiguration; - /** Reads file-backed upper layers again, since they can change after selection. */ - readonly readUpperLayers?: ( - resources?: ArtifactResourceScope, - ) => Promise< - Result - >; - /** Files no write target may reach, whether or not they exist yet. */ - readonly readOnlyFiles?: readonly string[]; } /** One resolved configuration location and its detection evidence. */