UNPKG

create-nova-vite-template

Version:

This is a dashboard template built with React and Vite. It provides a modern and responsive user interface for building web applications.

17 lines (14 loc) 345 B
/* eslint-disable @typescript-eslint/no-explicit-any */ export default function getSerializedQueryArgs({ endpointName, queryArgs, }: { endpointName: string; queryArgs: any; }) { let result = endpointName; Object.keys(queryArgs || {}).forEach((key) => { result = `${result}-(${key}=${queryArgs[key]})`; }); return result; }