/**
 * FTB API client — stub for future implementation.
 * Task #101 — Modpack Server Installer
 *
 * FTB API: https://api.modpacks.ch/
 * Also covers ATLauncher, Technic, VoidsWrath stubs.
 *
 * These providers are lower priority — CurseForge and Modrinth cover 95%
 * of the packs Firefrost runs. This file exists so the router and UI can
 * reference all 6 providers without crashing.
 */

const STUB_MSG = 'This provider is not yet implemented. Use CurseForge or Modrinth.';

async function searchPacks() {
  return { packs: [], total: 0, stub: true, message: STUB_MSG };
}

async function getPackDetails() {
  return { error: STUB_MSG };
}

async function listVersions() {
  return [];
}

async function getDownloadUrl() {
  return null;
}

module.exports = { searchPacks, getPackDetails, listVersions, getDownloadUrl };
