Skip to content

Commit 73e20ae

Browse files
committed
chore: add '.app' suffix to Workers entrypoint files
1 parent aea58e7 commit 73e20ae

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+58
-55
lines changed
File renamed without changes.

apps/ai-gateway/src/ai-gateway.context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { UserDetails } from '@repo/mcp-common/src/durable-objects/user_details.do'
2-
import type { AIGatewayMCP } from './index'
2+
import type { AIGatewayMCP } from './ai-gateway.app'
33

44
export interface Env {
55
OAUTH_KV: KVNamespace

apps/ai-gateway/src/tools/ai-gateway.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { getCloudflareClient } from '@repo/mcp-common/src/cloudflare-api'
33
import { GatewayIdParam, ListLogsParams, LogIdParam, pageParam, perPageParam } from '../types'
44

55
import type { LogListParams } from 'cloudflare/resources/ai-gateway'
6-
import type { AIGatewayMCP } from '../index'
6+
import type { AIGatewayMCP } from '../ai-gateway.app'
77

88
export function registerAIGatewayTools(agent: AIGatewayMCP) {
99
agent.server.tool(

apps/ai-gateway/wrangler.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55
{
66
"$schema": "node_modules/wrangler/config-schema.json",
7-
"main": "src/index.ts",
7+
"main": "src/ai-gateway.app.ts",
88
"compatibility_date": "2025-03-10",
99
"compatibility_flags": ["nodejs_compat"],
1010
"name": "mcp-cloudflare-ai-gateway-dev",
File renamed without changes.

apps/auditlogs/src/auditlogs.context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { UserDetails } from '@repo/mcp-common/src/durable-objects/user_details.do'
2-
import type { AuditlogMCP } from './index'
2+
import type { AuditlogMCP } from './auditlogs.app'
33

44
export interface Env {
55
OAUTH_KV: KVNamespace

apps/auditlogs/src/tools/auditlogs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { z } from 'zod'
22

33
import { fetchCloudflareApi } from '@repo/mcp-common/src/cloudflare-api'
44

5-
import type { AuditlogMCP } from '../index'
5+
import type { AuditlogMCP } from '../auditlogs.app'
66

77
export const actionResults = z.enum(['success', 'failure', ''])
88
export const actionTypes = z.enum(['create', 'delete', 'view', 'update', 'login'])

apps/auditlogs/wrangler.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55
{
66
"$schema": "node_modules/wrangler/config-schema.json",
7-
"main": "src/index.ts",
7+
"main": "src/auditlogs.app.ts",
88
"compatibility_date": "2025-03-10",
99
"compatibility_flags": ["nodejs_compat"],
1010
"name": "mcp-cloudflare-auditlogs-dev",
File renamed without changes.

apps/autorag/src/autorag.context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { UserDetails } from '@repo/mcp-common/src/durable-objects/user_details.do'
2-
import type { AutoRAGMCP } from './index'
2+
import type { AutoRAGMCP } from './autorag.app'
33

44
export interface Env {
55
OAUTH_KV: KVNamespace

0 commit comments

Comments
 (0)