mirror of
https://github.com/kilyabin/psysonic.git
synced 2026-07-22 06:25:41 +00:00
e04980626d
Move `apiWithCredentials` + `restBaseFromUrl` from `api/subsonic.ts` into `api/subsonicClient.ts` where the other token-auth primitives already live. They are the credential-bearing variants of `api`, sitting in the same client module is the natural home. `api/subsonic.ts` now holds only the connection-probing domain: `ping`, `pingWithCredentials`, `probeInstantMixWithCredentials`, `scheduleInstantMixProbeForServer`. Clear, cohesive, stable import path for the call sites that still use it. Pure code-move. subsonic.ts: 144 → 119 LOC. Total Phase F journey: 1333 → 119 LOC (~91% reduction).