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>
19 lines
No EOL
737 B
Text
19 lines
No EOL
737 B
Text
interface SentryTrpcMiddlewareOptions {
|
|
/** Whether to include procedure inputs in reported events. Defaults to `false`. */
|
|
attachRpcInput?: boolean;
|
|
forceTransaction?: boolean;
|
|
}
|
|
export interface SentryTrpcMiddlewareArguments<T> {
|
|
path?: unknown;
|
|
type?: unknown;
|
|
next: () => T;
|
|
rawInput?: unknown;
|
|
getRawInput?: () => Promise<unknown>;
|
|
}
|
|
type SentryTrpcMiddleware<T> = T extends Promise<unknown> ? T : Promise<T>;
|
|
/**
|
|
* Sentry tRPC middleware that captures errors and creates spans for tRPC procedures.
|
|
*/
|
|
export declare function trpcMiddleware(options?: SentryTrpcMiddlewareOptions): <T>(opts: SentryTrpcMiddlewareArguments<T>) => SentryTrpcMiddleware<T>;
|
|
export {};
|
|
//# sourceMappingURL=trpc.d.ts.map |