export function parseUrlQuery(url: string): Record<string, string> {
  const { searchParams } = new URL(url, 'http://localhost');
  const query: Record<string, string> = {};
  searchParams.forEach((value, key) => {
    query[key] = value;
  });
  return query;
}
