Skip to content

Commit df3bc8e

Browse files
chore: generate
1 parent 3ed9fa4 commit df3bc8e

2 files changed

Lines changed: 6 additions & 17 deletions

File tree

packages/opencode/src/server/routes/instance/tui.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,10 @@ export const TuiRoutes = lazy(() =>
310310
}),
311311
validator("json", zodObject(TuiEvent.ToastShow.properties)),
312312
async (c) => {
313-
await Bus.publish(TuiEvent.ToastShow, c.req.valid("json") as Schema.Schema.Type<typeof TuiEvent.ToastShow.properties>)
313+
await Bus.publish(
314+
TuiEvent.ToastShow,
315+
c.req.valid("json") as Schema.Schema.Type<typeof TuiEvent.ToastShow.properties>,
316+
)
314317
return c.json(true)
315318
},
316319
)

packages/sdk/openapi.json

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6804,7 +6804,6 @@
68046804
},
68056805
"duration": {
68066806
"description": "Duration in milliseconds",
6807-
"default": 5000,
68086807
"type": "number"
68096808
}
68106809
},
@@ -7638,20 +7637,8 @@
76387637
"type": "string"
76397638
},
76407639
"event": {
7641-
"anyOf": [
7642-
{
7643-
"type": "string",
7644-
"const": "add"
7645-
},
7646-
{
7647-
"type": "string",
7648-
"const": "change"
7649-
},
7650-
{
7651-
"type": "string",
7652-
"const": "unlink"
7653-
}
7654-
]
7640+
"type": "string",
7641+
"enum": ["add", "change", "unlink"]
76557642
}
76567643
},
76577644
"required": ["file", "event"]
@@ -8507,7 +8494,6 @@
85078494
},
85088495
"duration": {
85098496
"description": "Duration in milliseconds",
8510-
"default": 5000,
85118497
"type": "number"
85128498
}
85138499
},

0 commit comments

Comments
 (0)