Skip to content

Commit f526bb1

Browse files
committed
chore: run prettier fix
1 parent 94c927e commit f526bb1

File tree

2 files changed

+356
-192
lines changed

2 files changed

+356
-192
lines changed

packages/mcp-common/src/tools/r2_bucket.ts

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,11 @@ export function registerR2BucketTools(agent: CloudflareMcpAgent) {
328328
agent.server.tool(
329329
'r2_bucket_domains_get',
330330
'Get details about a specific domain for an R2 bucket',
331-
{ name: BucketNameSchema, domain: CustomDomainNameSchema, params: CustomDomainGetParamsSchema.optional() },
331+
{
332+
name: BucketNameSchema,
333+
domain: CustomDomainNameSchema,
334+
params: CustomDomainGetParamsSchema.optional(),
335+
},
332336
async ({ name, domain, params }) => {
333337
const account_id = agent.getActiveAccountId()
334338
if (!account_id) {
@@ -516,7 +520,11 @@ export function registerR2BucketTools(agent: CloudflareMcpAgent) {
516520
agent.server.tool(
517521
'r2_bucket_event_notifications_update',
518522
'Update event notifications for an R2 bucket',
519-
{ name: BucketNameSchema, queueId: QueueIdSchema, params: EventNotificationUpdateParamsSchema.optional() },
523+
{
524+
name: BucketNameSchema,
525+
queueId: QueueIdSchema,
526+
params: EventNotificationUpdateParamsSchema.optional(),
527+
},
520528
async ({ name, queueId, params }) => {
521529
const account_id = agent.getActiveAccountId()
522530
if (!account_id) {
@@ -552,7 +560,11 @@ export function registerR2BucketTools(agent: CloudflareMcpAgent) {
552560
agent.server.tool(
553561
'r2_bucket_event_notifications_delete',
554562
'Delete event notifications for an R2 bucket',
555-
{ name: BucketNameSchema, queueId: QueueIdSchema, params: EventNotificationDeleteParamsSchema.optional() },
563+
{
564+
name: BucketNameSchema,
565+
queueId: QueueIdSchema,
566+
params: EventNotificationDeleteParamsSchema.optional(),
567+
},
556568
async ({ name, queueId, params }) => {
557569
const account_id = agent.getActiveAccountId()
558570
if (!account_id) {

0 commit comments

Comments
 (0)