Rocky_Mountain_Vending/.pnpm-store/v10/files/c2/18a79c9133861264fba4846eec5fa30a5ef2dfab14df9e153b580cadd6f1cfe9fc5707140499f67bd92a2ef03f10b81323c3ed1181c75ed9c87a4c5da72d80
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

44 lines
1.5 KiB
Text

import type { Brand } from './Brand.js';
/**
* URLs are in DevTools are repsented as encoded URL strings.
*
* @example 'file:///Hello%20World/file/js'
*/
export type UrlString = Brand<string, 'UrlString'>;
export declare const EmptyUrlString: UrlString;
/**
* Tagged template helper to construct `UrlString`s in a more readable form,
* without having to sprinkle casts throughout the codebase. Primarily useful
* for writing unit tests.
*
* Usage:
* ```js
* const url1 = urlString`https://www.example.com/404.html`;
* const url2 = urlString`http://${host}/path/to/file.js`;
* ```
*
* This is implemented as a wrapper around `String.raw` for convenience. This
* function doesn't perform any kind of validation that the returned string is
* really a valid `UrlString`.
*
* @param strings the string parts of the template.
* @param values the dynamic values of the template.
* @returns the string constructed from `strings` and `values` casted to an
* `UrlString`.
*/
export declare const urlString: (strings: ArrayLike<string>, ...values: any[]) => UrlString;
/**
* File paths in DevTools that are represented as unencoded absolute
* or relative paths.
*
* @example '/Hello World/file.js'
*/
export type RawPathString = Brand<string, 'RawPathString'>;
export declare const EmptyRawPathString: RawPathString;
/**
* File paths in DevTools that are represented as encoded paths.
*
* @example '/Hello%20World/file.js'
*/
export type EncodedPathString = Brand<string, 'EncodedPathString'>;
export declare const EmptyEncodedPathString: EncodedPathString;