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>
30 lines
1 KiB
Text
30 lines
1 KiB
Text
/// <reference types="@cloudflare/workers-types" />
|
|
export type CacheControl = {
|
|
browserTTL: number;
|
|
edgeTTL: number;
|
|
bypassCache: boolean;
|
|
};
|
|
export type AssetManifestType = Record<string, string>;
|
|
export type Options = {
|
|
cacheControl: ((req: Request) => Partial<CacheControl>) | Partial<CacheControl>;
|
|
ASSET_NAMESPACE: KVNamespace;
|
|
ASSET_MANIFEST: AssetManifestType | string;
|
|
mapRequestToAsset?: (req: Request, options?: Partial<Options>) => Request;
|
|
defaultMimeType: string;
|
|
defaultDocument: string;
|
|
pathIsEncoded: boolean;
|
|
defaultETag: "strong" | "weak";
|
|
};
|
|
export declare class KVError extends Error {
|
|
constructor(message?: string, status?: number);
|
|
status: number;
|
|
}
|
|
export declare class MethodNotAllowedError extends KVError {
|
|
constructor(message?: string, status?: number);
|
|
}
|
|
export declare class NotFoundError extends KVError {
|
|
constructor(message?: string, status?: number);
|
|
}
|
|
export declare class InternalError extends KVError {
|
|
constructor(message?: string, status?: number);
|
|
}
|