studiocms
Version:
Astro Native CMS for AstroDB. Built from the ground up by the Astro community.
13 lines (12 loc) • 345 B
TypeScript
declare const urlGenFactory: (isDashboardRoute: boolean, path: string | undefined, DashboardRouteOverride?: string) => string;
/**
* # urlGenFactory Helper Function
*
* Generate a URL based on the path and route type.
*
* @param isDashboardRoute
* @param path
* @param DashboardRouteOverride
* @returns
*/
export default urlGenFactory;