refactor(api): collapse src/api into src/lib/api

The seven remaining src/api/ modules (analysis, azuracast, bandsintown,
coverCache, migration, network, runtimeLogs) were the last IPC-layer files
outside src/lib/api/, where the rest of the FE IPC clients already live. Move
them (+ the colocated coverCache test) into lib/api and repoint every consumer;
relative-up imports in the moved files become the depth-independent @/ alias.

Pure move + import updates — no behavior change. The layering baseline is
regenerated in the same commit: the moved files' pre-existing store/cover edges
are only now caught under lib/, and the cover<->coverCache cycles are the same
edges re-keyed to the new path (E4 shrinks the allowlist later).
This commit is contained in:
Psychotoxical
2026-07-01 14:17:56 +02:00
parent 751ad35365
commit f4fa766b20
53 changed files with 5301 additions and 3016 deletions
@@ -2,7 +2,7 @@ import React, { memo, useEffect, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { Calendar, Info } from 'lucide-react';
import { open as shellOpen } from '@tauri-apps/plugin-shell';
import type { BandsintownEvent } from '@/api/bandsintown';
import type { BandsintownEvent } from '@/lib/api/bandsintown';
import { isoToParts } from '@/features/nowPlaying/utils/nowPlayingHelpers';
interface TourCardProps {