File tree Expand file tree Collapse file tree
apps/dns-analytics/src/tools
packages/mcp-common/src/tools Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { z } from 'zod'
22
33import { getCloudflareClient } from '@repo/mcp-common/src/cloudflare-api'
4- import { getEnv } from '@repo/mcp-common/src/env'
54
65import type { AccountGetParams } from 'cloudflare/resources/accounts/accounts.mjs'
76import type { ReportGetParams } from 'cloudflare/resources/dns/analytics.mjs'
87import type { ZoneGetParams } from 'cloudflare/resources/dns/settings.mjs'
98import type { DNSAnalyticsMCP } from '../dns-analytics.app'
10- import type { Env } from '../dns-analytics.context'
11-
12- const env = getEnv < Env > ( )
139
1410function getStartDate ( days : number ) {
1511 const today = new Date ( )
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import {
1313 HyperdriveListParamPerPageSchema ,
1414 HyperdriveOriginDatabaseSchema ,
1515 HyperdriveOriginHostSchema ,
16- HyperdriveOriginPasswordSchema ,
1716 HyperdriveOriginPortSchema ,
1817 HyperdriveOriginSchemeSchema ,
1918 HyperdriveOriginUserSchema ,
You can’t perform that action at this time.
0 commit comments