Rocky_Mountain_Vending/.pnpm-store/v10/files/42/cc92f68c7cfc2e25571b7ec4548cd463619b42d354cfc813c07af4191fac81d1663ce707185ff2142d2384d3d728420c710c60934b7709c47bfc830dd9d846
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

17 lines
No EOL
578 B
Text

import { NEXT_RSC_UNION_QUERY } from '../client/components/app-router-headers';
const INTERNAL_QUERY_NAMES = [
NEXT_RSC_UNION_QUERY
];
export function stripInternalQueries(query) {
for (const name of INTERNAL_QUERY_NAMES){
delete query[name];
}
}
export function stripInternalSearchParams(url) {
const isStringUrl = typeof url === 'string';
const instance = isStringUrl ? new URL(url) : url;
instance.searchParams.delete(NEXT_RSC_UNION_QUERY);
return isStringUrl ? instance.toString() : instance;
}
//# sourceMappingURL=internal-utils.js.map