Rocky_Mountain_Vending/.pnpm-store/v10/files/7a/6eca0af352a2dfa3cce7a56a79f0ce6cf9817fd0d7611a41216e2684c2ad3e53da9426e64346203bf7bd007a39a3b1e6acc141561208a8271570fbc7e68b19
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

53 lines
No EOL
2.2 KiB
Text

import type { QueryParams } from './request';
/**
* Data extracted from an incoming request to a node server
*/
export interface ExtractedNodeRequestData {
[key: string]: any;
/** Specific headers from the request */
headers?: {
[key: string]: string;
};
/** The request's method */
method?: string;
/** The request's URL, including query string */
url?: string;
/** String representing the cookies sent along with the request */
cookies?: {
[key: string]: string;
};
/** The request's query params */
query_string?: QueryParams;
/** Any data sent in the request's body, as a JSON string */
data?: string;
}
/**
* Location object on a service worker's `self` object.
*
* See https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation.
*/
export interface WorkerLocation {
/** The protocol scheme of the URL of the script executed in the Worker, including the final ':'. */
readonly protocol: string;
/** The host, that is the hostname, a ':', and the port of the URL of the script executed in the Worker. */
readonly host: string;
/** The domain of the URL of the script executed in the Worker. */
readonly hostname: string;
/** The canonical form of the origin of the specific location. */
readonly origin: string;
/** The port number of the URL of the script executed in the Worker. */
readonly port: string;
/** The path of the URL of the script executed in the Worker, beginning with a '/'. */
readonly pathname: string;
/** The parameters (query string) of the URL of the script executed in the Worker, beginning with a '?'. */
readonly search: string;
/** The fragment identifier of the URL of the script executed in the Worker, beginning with a '#'. */
readonly hash: string;
/** Stringifier that returns the whole URL of the script executed in the Worker. */
readonly href: string;
/** Synonym for `href` attribute */
toString(): string;
}
export type Primitive = number | string | boolean | bigint | symbol | null | undefined;
export type HttpHeaderValue = string | string[] | number | null;
//# sourceMappingURL=misc.d.ts.map