refactor: hide extension helper internals

This commit is contained in:
Peter Steinberger
2026-05-02 09:05:22 +01:00
parent daad78701f
commit b8ddb8a494
2 changed files with 1 additions and 8 deletions

View File

@@ -33,7 +33,7 @@ export function mockBlueBubblesPrivateApiStatusOnce(
mock.mockReturnValueOnce(value);
}
export function resolveBlueBubblesAccountFromConfig(params: {
function resolveBlueBubblesAccountFromConfig(params: {
cfg?: { channels?: { bluebubbles?: Record<string, unknown> } };
accountId?: string;
}) {

View File

@@ -61,13 +61,6 @@ function resolveToken(params: { accountId: string; fallbackToken?: string }) {
return fallback;
}
export function resolveDiscordProxyFetch(
opts: Pick<DiscordClientOpts, "cfg" | "accountId">,
runtime?: Pick<RuntimeEnv, "error">,
): typeof fetch | undefined {
return resolveDiscordClientAccountContext(opts, runtime).proxyFetch;
}
function resolveRest(
token: string,
account: ResolvedDiscordAccount,