@sentry/wizard
Version:
Sentry wizard helping you to configure your project
12 lines (11 loc) • 1.46 kB
TypeScript
export declare const ERROR_BOUNDARY_TEMPLATE: string;
export declare const EXAMPLE_PAGE_TEMPLATE_TSX = "import type { Route } from \"./+types/sentry-example-page\";\n\nexport async function loader() {\n throw new Error(\"some error thrown in a loader\");\n}\n\nexport default function SentryExamplePage() {\n return <div>Loading this page will throw an error</div>;\n}";
export declare const EXAMPLE_PAGE_TEMPLATE_JSX = "export async function loader() {\n throw new Error(\"some error thrown in a loader\");\n}\n\nexport default function SentryExamplePage() {\n return <div>Loading this page will throw an error</div>;\n}";
export declare const getSentryInstrumentationServerContent: (dsn: string, enableTracing: boolean, enableProfiling?: boolean, enableLogs?: boolean) => string;
export declare const getManualClientEntryContent: (dsn: string, enableTracing: boolean, enableReplay: boolean, enableLogs: boolean) => string;
export declare const getManualServerEntryContent: () => string;
export declare const getManualHandleRequestContent: () => string;
export declare const getManualRootContent: (isTs: boolean) => string;
export declare const getManualServerInstrumentContent: (dsn: string, enableTracing: boolean, enableProfiling: boolean, enableLogs?: boolean) => string;
export declare const getManualReactRouterConfigContent: (isTS?: boolean) => string;
export declare const getManualViteConfigContent: (orgSlug: string, projectSlug: string) => string;