import type {
  ServerContext,
  GetWingbitsStatusRequest,
  GetWingbitsStatusResponse,
} from '../../../../src/generated/server/worldmonitor/military/v1/service_server';

export async function getWingbitsStatus(
  _ctx: ServerContext,
  _req: GetWingbitsStatusRequest,
): Promise<GetWingbitsStatusResponse> {
  const apiKey = process.env.WINGBITS_API_KEY;
  return { configured: !!apiKey };
}
