File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,8 +3,7 @@ import { CodeBlock } from '@/components/code-block';
33import { EditPageLink } from '@/components/edit-page-link' ;
44import { RubyCodeExample } from '@/components/ruby-code-example' ;
55import { HeadingWithAnchor } from '@/components/heading-with-anchor' ;
6- import { LogGenerator } from '@/lib/log-generation' ;
7- import { AllLogTypes , Event } from '@/generated/logstruct' ;
6+ import { AllLogTypes } from '@/generated/logstruct' ;
87import { getCodeExample } from '@/lib/codeExamples' ;
98import {
109 getEventsForLogType ,
@@ -15,15 +14,6 @@ import {
1514import { IntegrationExamples } from '@/components/integration-examples' ;
1615import { FilteringProvider } from '@/components/filtering-context' ;
1716
18- // Helper to format logs as JSON strings for display
19- // eslint-disable-next-line @typescript-eslint/no-explicit-any
20- function formatLog ( log : Record < string , any > ) : string {
21- return JSON . stringify ( log , null , 2 ) ;
22- }
23-
24- // Create a single log generator with a fixed seed for consistent examples (kept for code samples above, not used for examples)
25- const logGenerator = new LogGenerator ( 12345 ) ;
26-
2717export default function IntegrationsPage ( ) {
2818 return (
2919 < div className = "space-y-6" >
Original file line number Diff line number Diff line change @@ -345,7 +345,6 @@ export class LogGenerator extends RandomDataGenerator {
345345 }
346346
347347 // Build realistic request params with sensitive fields to demonstrate filtering
348- // eslint-disable-next-line @typescript-eslint/no-explicit-any
349348 private getRandomRequestParams ( ) : Record < string , any > {
350349 const scenario = this . sample ( [
351350 'login' ,
You can’t perform that action at this time.
0 commit comments